repo_id stringlengths 6 101 | file_path stringlengths 2 269 | content stringlengths 367 5.14M | size int64 367 5.14M | filename stringlengths 1 248 | ext stringlengths 0 87 | lang stringclasses 88 values | program_lang stringclasses 232 values | doc_type stringclasses 5 values | quality_signal stringlengths 2 1.9k | effective stringclasses 2 values | hit_map stringlengths 2 1.4k |
|---|---|---|---|---|---|---|---|---|---|---|---|
1zilc/fishing-funds | src/renderer/components/Home/StockView/AddStockContent/index.tsx | import React, { useState, useEffect, useRef } from 'react';
import { useDebounceFn, useRequest } from 'ahooks';
import { Input } from 'antd';
import CustomDrawerContent from '@/components/CustomDrawer/Content';
import Empty from '@/components/Empty';
import StockSearch, { stockTypesConfig } from '@/components/Toolbar/AppCenterContent/StockSearch';
import SearchHistory, { type SearchHistoryRef } from '@/components/SearchHistory';
import * as Services from '@/services';
import styles from './index.module.css';
export interface AddStockContentProps {
defaultName?: string;
onEnter: () => void;
onClose: () => void;
}
const { Search } = Input;
const AddStockContent: React.FC<AddStockContentProps> = (props) => {
const { defaultName } = props;
const [keyword, setKeyword] = useState(defaultName);
const [groupList, setGroupList] = useState<Stock.SearchResult[]>([]);
const searchHistoryRef = useRef<SearchHistoryRef>(null);
const { run: runSearch, loading: loadingSearchFromEastmoney } = useRequest(Services.Stock.SearchFromEastmoney, {
manual: true,
onSuccess: (res) => setGroupList(res.filter(({ Type }) => stockTypesConfig.map(({ code }) => code).includes(Type))),
});
const { run: onSearch } = useDebounceFn((_value: string) => {
const value = _value.trim();
if (!value) {
setGroupList([]);
} else {
runSearch(value);
searchHistoryRef.current?.addSearchHistory(value);
}
});
useEffect(() => {
if (defaultName) {
runSearch(defaultName);
}
}, [defaultName]);
return (
<CustomDrawerContent title="添加股票" enterText="确定" onEnter={props.onEnter} onClose={props.onClose}>
<div className={styles.content}>
<section>
<label>关键字:</label>
<Search
value={keyword}
onChange={(e) => setKeyword(e.target.value)}
defaultValue={defaultName}
type="text"
placeholder="股票代码或名称关键字"
enterButton
onSearch={onSearch}
size="small"
loading={loadingSearchFromEastmoney}
/>
<SearchHistory
storageKey="stockSearchHistory"
ref={searchHistoryRef}
onClickRecord={(record) => {
setKeyword(record);
runSearch(record);
}}
/>
</section>
{groupList.length ? <StockSearch groupList={groupList} /> : <Empty text="暂无相关数据~" />}
</div>
</CustomDrawerContent>
);
};
export default AddStockContent;
| 2,534 | index | tsx | en | tsx | code | {"qsc_code_num_words": 206, "qsc_code_num_chars": 2534.0, "qsc_code_mean_word_length": 7.72330097, "qsc_code_frac_words_unique": 0.47087379, "qsc_code_frac_chars_top_2grams": 0.03519799, "qsc_code_frac_chars_top_3grams": 0.0, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.2320442, "qsc_code_size_file_byte": 2534.0, "qsc_code_num_lines": 79.0, "qsc_code_num_chars_line_max": 121.0, "qsc_code_num_chars_line_mean": 32.07594937, "qsc_code_frac_chars_alphabet": 0.81757451, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.05797101, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08642463, "qsc_code_frac_chars_long_word_length": 0.04262036, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/index.module.css | .content {
padding: var(--base-padding) 0;
h3 {
color: var(--main-text-color);
font-size: calc(var(--base-font-size) * 4 / 3);
}
section {
padding: 5px 0;
}
label {
font-size: var(--base-font-size);
margin-bottom: 5px;
display: block;
font-weight: 600;
}
}
.container {
padding: 0 var(--base-padding);
}
.introduce {
}
.detail {
display: flex;
align-items: flex-end;
justify-content: space-between;
width: 100%;
}
.detailItem {
display: flex;
flex-direction: column;
width: calc(100% / 3);
}
.detailItemLabel {
color: var(--inner-text-color);
}
.zdf {
font-size: calc(var(--base-font-size) * 5 / 3);
font-size: 600;
}
.titleRow {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
span {
word-break: break-all;
&:nth-child(2) {
word-break: keep-all;
margin-left: 10px;
}
}
}
.subTitleRow {
display: flex;
align-items: center;
justify-content: space-between;
font-size: calc(var(--base-font-size) * 11 / 12);
margin-bottom: 5px;
}
.selfAdd {
margin-left: var(--base-padding);
}
| 1,129 | index.module | css | en | css | data | {"qsc_code_num_words": 144, "qsc_code_num_chars": 1129.0, "qsc_code_mean_word_length": 4.70833333, "qsc_code_frac_words_unique": 0.40277778, "qsc_code_frac_chars_top_2grams": 0.10619469, "qsc_code_frac_chars_top_3grams": 0.06489676, "qsc_code_frac_chars_top_4grams": 0.08849558, "qsc_code_frac_chars_dupe_5grams": 0.33775811, "qsc_code_frac_chars_dupe_6grams": 0.33775811, "qsc_code_frac_chars_dupe_7grams": 0.27581121, "qsc_code_frac_chars_dupe_8grams": 0.15634218, "qsc_code_frac_chars_dupe_9grams": 0.15634218, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03859251, "qsc_code_frac_chars_whitespace": 0.21966342, "qsc_code_size_file_byte": 1129.0, "qsc_code_num_lines": 72.0, "qsc_code_num_chars_line_max": 52.0, "qsc_code_num_chars_line_mean": 15.68055556, "qsc_code_frac_chars_alphabet": 0.73098751, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.20967742, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/index.tsx | import React from 'react';
import clsx from 'clsx';
import { useRequest } from 'ahooks';
import { message, Tabs } from 'antd';
import Trend from '@/components/Home/StockView/DetailStockContent/Trend';
import ColorfulTags from '@/components/ColorfulTags';
import Estimate from '@/components/Home/StockView/DetailStockContent/Estimate';
import K from '@/components/Home/StockView/DetailStockContent/K';
import Company from '@/components/Home/StockView/DetailStockContent/Company';
import Stocks from '@/components/Home/StockView/DetailStockContent/Stocks';
import HoldFunds from '@/components/Home/StockView/DetailStockContent/HoldFunds';
import Recent from '@/components/Home/NewsList/Recent';
import CycleReturn from '@/components/Home/FundView/DetailFundContent/CycleReturn';
import CustomDrawerContent from '@/components/CustomDrawer/Content';
import GuBa from '@/components/Home/NewsList/GuBa';
import AfterTimeFundFlow from '@/components/Home/QuotationView/DetailQuotationContent/AfterTimeFundFlow';
import RealTimeFundFlow from '@/components/Home/QuotationView/DetailQuotationContent/RealTimeFundFlow';
import { RedirectSearchParams } from '@/containers/InitPage';
import { DetailStockPageParams } from '@/components/Home/StockView/DetailStockPage';
import { addStockAction } from '@/store/features/stock';
import { useAppDispatch, useAppSelector } from '@/utils/hooks';
import * as Services from '@/services';
import * as Utils from '@/utils';
import * as CONST from '@/constants';
import styles from './index.module.css';
export type DetailStockProps = {
secid: string;
type?: string | number;
};
export interface DetailStockContentProps extends DetailStockProps {
onEnter: () => void;
onClose: () => void;
}
const { ipcRenderer } = window.contextModules.electron;
export const DetailStock: React.FC<DetailStockProps> = (props) => {
const { secid, type } = props;
const dispatch = useAppDispatch();
const codeMap = useAppSelector((state) => state.wallet.stockConfigCodeMap);
const { data: stock = {} as any } = useRequest(Services.Stock.GetDetailFromEastmoney, {
pollingInterval: 1000 * 60,
defaultParams: [secid],
cacheKey: Utils.GenerateRequestKey('Stock.GetDetailFromEastmoney', secid),
});
const { data: industrys = [] } = useRequest(Services.Stock.GetIndustryFromEastmoney, {
defaultParams: [secid, 3],
cacheKey: Utils.GenerateRequestKey('Stock.GetIndustryFromEastmoney', secid),
staleTime: CONST.DEFAULT.SWR_STALE_DELAY,
});
const { data: kdata = [], run: runGetKFromEastmoney } = useRequest(() => Services.Stock.GetKFromEastmoney(secid, 101, 3600), {
cacheKey: Utils.GenerateRequestKey('Stock.GetKFromEastmoney', [secid, 101, 3600]),
});
async function onAdd() {
try {
const code = stock.code || secid.split('.').pop();
let stockType = type;
if (!stockType) {
const result = await Services.Stock.SearchFromEastmoney(code);
result.forEach((market) => {
market.Datas.forEach(({ MktNum, Code }) => {
if (secid === `${MktNum}.${Code}`) {
stockType = market.Type;
}
});
});
}
if (!stockType) {
return;
}
dispatch(
addStockAction({
secid,
market: stock.market,
code: stock.code,
name: stock.name,
type: Number(stockType),
cbj: undefined,
cyfe: 0,
})
);
} catch (error) {
message.error('添加失败');
}
}
return (
<div className={styles.content}>
<div className={styles.container}>
<h3 className={styles.titleRow}>
<span className="copify">{stock.name}</span>
<span className={clsx(Utils.GetValueColor(stock.zdd).textClass)}>{stock.zx}</span>
</h3>
<div className={styles.subTitleRow}>
<div>
<span className="copify">{stock.code}</span>
{!codeMap[secid] && (
<a className={styles.selfAdd} onClick={onAdd}>
+加自选
</a>
)}
</div>
<div>
<span className={styles.detailItemLabel}>涨跌点:</span>
<span className={clsx(Utils.GetValueColor(stock.zdd).textClass)}>{Utils.Yang(stock.zdd)}</span>
</div>
</div>
<div className={styles.detail}>
<div className={clsx(styles.detailItem, 'text-left')}>
<div className={clsx(Utils.GetValueColor(stock.zdf).textClass)}>{Utils.Yang(stock.zdf)}%</div>
<div className={styles.detailItemLabel}>涨跌幅</div>
</div>
<div className={clsx(styles.detailItem, 'text-center')}>
<div>{stock.hs}%</div>
<div className={styles.detailItemLabel}>换手率</div>
</div>
<div className={clsx(styles.detailItem, 'text-right')}>
<div>{stock.zss}万</div>
<div className={styles.detailItemLabel}>总手数</div>
</div>
</div>
<div className={styles.detail}>
<div className={clsx(styles.detailItem, 'text-left')}>
<div className={clsx(Utils.GetValueColor(stock.jk - stock.zs).textClass)}>{Utils.Yang(stock.jk)}</div>
<div className={styles.detailItemLabel}>今开</div>
</div>
<div className={clsx(styles.detailItem, 'text-center')}>
<div className={clsx('text-up')}>{stock.zg}</div>
<div className={styles.detailItemLabel}>最高</div>
</div>
<div className={clsx(styles.detailItem, 'text-right')}>
<div className={clsx('text-down')}>{stock.zd}</div>
<div className={styles.detailItemLabel}>最低</div>
</div>
</div>
<div className={styles.detail}>
<div className={clsx(styles.detailItem, 'text-left')}>
<div>{stock.zs}</div>
<div className={styles.detailItemLabel}>昨收</div>
</div>
<div className={clsx(styles.detailItem, 'text-center')}>
<div className={clsx('text-up')}>{stock.zt}</div>
<div className={styles.detailItemLabel}>涨停</div>
</div>
<div className={clsx(styles.detailItem, 'text-right')}>
<div className={clsx('text-down')}>{stock.dt}</div>
<div className={styles.detailItemLabel}>跌停</div>
</div>
</div>
<div className={styles.detail}>
<div className={clsx(styles.detailItem, 'text-left')}>
<div>{stock.wp}万</div>
<div className={styles.detailItemLabel}>外盘</div>
</div>
<div className={clsx(styles.detailItem, 'text-center')}>
<div>{stock.np}万</div>
<div className={styles.detailItemLabel}>内盘</div>
</div>
<div className={clsx(styles.detailItem, 'text-right')}>
<div>{stock.jj}</div>
<div className={styles.detailItemLabel}>均价</div>
</div>
</div>
<ColorfulTags tags={industrys.map((industry) => industry.name)} />
</div>
<div className={styles.container}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: '股票走势',
children: <Trend secid={secid} zs={stock.zs} name={stock.name} />,
},
{
key: String(1),
label: '走势详情',
children: <Estimate secid={secid} />,
},
{
key: String(2),
label: '近期资讯',
children: <Recent keyword={stock.name} />,
},
{
key: String(3),
label: '股吧',
children: <GuBa keyword={stock.name} type="100" />,
},
]}
/>
</div>
<div className={styles.container}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: 'K线',
children: <K secid={secid} name={stock.name} />,
},
{
key: String(1),
label: '实时资金',
children: <RealTimeFundFlow secid={secid} />,
},
{
key: String(2),
label: '盘后资金',
children: <AfterTimeFundFlow secid={secid} />,
},
{
key: String(3),
label: '周期回报',
children: <CycleReturn onFresh={runGetKFromEastmoney} data={kdata.map(({ date: x, sp: y }) => ({ x, y }))} />,
},
]}
/>
</div>
<div className={styles.container}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: '持股基金',
children: <HoldFunds secid={secid} />,
},
{
key: String(1),
label: '公司概况',
children: <Company secid={secid} />,
},
{
key: String(2),
label: '同类股票',
children: <Stocks secid={secid} />,
},
]}
/>
</div>
</div>
);
};
const DetailStockContent: React.FC<DetailStockContentProps> = (props) => {
function onOpenChildWindow() {
const search = Utils.MakeSearchParams('', {
_redirect: Utils.MakeSearchParams(CONST.ROUTES.DETAIL_STOCK, {
secid: props.secid,
type: props.type,
} as DetailStockPageParams),
} as RedirectSearchParams);
ipcRenderer.invoke('open-child-window', { search });
}
return (
<CustomDrawerContent title="股票详情" enterText="多窗" onClose={props.onClose} onEnter={onOpenChildWindow}>
<DetailStock secid={props.secid} type={props.type} />
</CustomDrawerContent>
);
};
export default DetailStockContent;
| 9,929 | index | tsx | en | tsx | code | {"qsc_code_num_words": 902, "qsc_code_num_chars": 9929.0, "qsc_code_mean_word_length": 6.2195122, "qsc_code_frac_words_unique": 0.24722838, "qsc_code_frac_chars_top_2grams": 0.04919786, "qsc_code_frac_chars_top_3grams": 0.07219251, "qsc_code_frac_chars_top_4grams": 0.07112299, "qsc_code_frac_chars_dupe_5grams": 0.41818182, "qsc_code_frac_chars_dupe_6grams": 0.28128342, "qsc_code_frac_chars_dupe_7grams": 0.23814617, "qsc_code_frac_chars_dupe_8grams": 0.22816399, "qsc_code_frac_chars_dupe_9grams": 0.22816399, "qsc_code_frac_chars_dupe_10grams": 0.20819964, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00617111, "qsc_code_frac_chars_whitespace": 0.2819015, "qsc_code_size_file_byte": 9929.0, "qsc_code_num_lines": 274.0, "qsc_code_num_chars_line_max": 129.0, "qsc_code_num_chars_line_mean": 36.23722628, "qsc_code_frac_chars_alphabet": 0.78064516, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.34482759, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11270017, "qsc_code_frac_chars_long_word_length": 0.08117635, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/EconomicCalendarContent/index.tsx | import React from 'react';
import { Tabs } from 'antd';
import CustomDrawerContent from '@/components/CustomDrawer/Content';
import ClosedCalendar from '@/components/Home/StockView/EconomicCalendarContent/ClosedCalendar';
import Metting from '@/components/Home/StockView/EconomicCalendarContent/Metting';
import styles from './index.module.css';
interface EconomicCalendarContentProps {
onEnter: () => void;
onClose: () => void;
}
const EconomicCalendarContent: React.FC<EconomicCalendarContentProps> = (props) => {
return (
<CustomDrawerContent title="财经日历" enterText="确定" onClose={props.onClose} onEnter={props.onEnter}>
<div className={styles.content}>
<div className={styles.container}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: '休市安排',
children: <ClosedCalendar />,
},
]}
/>
</div>
<div className={styles.container}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: '财经会议',
children: <Metting code="1" />,
},
{
key: String(1),
label: '重要经济数据',
children: <Metting code="2" />,
},
{
key: String(2),
label: '其他',
children: <Metting code="3" />,
},
]}
/>
</div>
</div>
</CustomDrawerContent>
);
};
export default EconomicCalendarContent;
| 1,727 | index | tsx | en | tsx | code | {"qsc_code_num_words": 127, "qsc_code_num_chars": 1727.0, "qsc_code_mean_word_length": 6.88976378, "qsc_code_frac_words_unique": 0.43307087, "qsc_code_frac_chars_top_2grams": 0.04114286, "qsc_code_frac_chars_top_3grams": 0.06171429, "qsc_code_frac_chars_top_4grams": 0.06171429, "qsc_code_frac_chars_dupe_5grams": 0.30628571, "qsc_code_frac_chars_dupe_6grams": 0.192, "qsc_code_frac_chars_dupe_7grams": 0.192, "qsc_code_frac_chars_dupe_8grams": 0.192, "qsc_code_frac_chars_dupe_9grams": 0.192, "qsc_code_frac_chars_dupe_10grams": 0.192, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01001821, "qsc_code_frac_chars_whitespace": 0.3642154, "qsc_code_size_file_byte": 1727.0, "qsc_code_num_lines": 60.0, "qsc_code_num_chars_line_max": 102.0, "qsc_code_num_chars_line_mean": 28.78333333, "qsc_code_frac_chars_alphabet": 0.78688525, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.34545455, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.12159815, "qsc_code_frac_chars_long_word_length": 0.09148813, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/УправлениеИтогамиИАгрегатами/Forms/ФормаВыбораПериода/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
ПериодДляРегистровНакопления = КонецПериода(ДобавитьМесяц(ТекущаяДатаСеанса(), -1));
ПериодДляРегистровБухгалтерии = КонецПериода(ТекущаяДатаСеанса());
Элементы.ПериодДляРегистровБухгалтерии.Доступность = Параметры.РегБухгалтерии;
Элементы.ПериодДляРегистровНакопления.Доступность = Параметры.РегНакопления;
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиСобытийЭлементовШапкиФормы
&НаКлиенте
Процедура ПериодДляРегистровНакопленияПриИзменении(Элемент)
ПериодДляРегистровНакопления = КонецПериода(ПериодДляРегистровНакопления);
КонецПроцедуры
&НаКлиенте
Процедура ПериодДляРегистровБухгалтерииПриИзменении(Элемент)
ПериодДляРегистровБухгалтерии = КонецПериода(ПериодДляРегистровБухгалтерии);
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиКомандФормы
&НаКлиенте
Процедура ОК(Команда)
РезультатВыбора = Новый Структура("ПериодДляРегистровНакопления, ПериодДляРегистровБухгалтерии");
ЗаполнитьЗначенияСвойств(РезультатВыбора, ЭтотОбъект);
ОповеститьОВыборе(РезультатВыбора);
КонецПроцедуры
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
&НаКлиентеНаСервереБезКонтекста
Функция КонецПериода(Дата)
Возврат КонецДня(КонецМесяца(Дата));
КонецФункции
#КонецОбласти
| 1,820 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 118, "qsc_code_num_chars": 1820.0, "qsc_code_mean_word_length": 11.51694915, "qsc_code_frac_words_unique": 0.66101695, "qsc_code_frac_chars_top_2grams": 0.00441501, "qsc_code_frac_chars_top_3grams": 0.07284768, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00718133, "qsc_code_frac_chars_whitespace": 0.08186813, "qsc_code_size_file_byte": 1820.0, "qsc_code_num_lines": 65.0, "qsc_code_num_chars_line_max": 105.0, "qsc_code_num_chars_line_mean": 28.0, "qsc_code_frac_chars_alphabet": 0.80550569, "qsc_code_frac_chars_comments": 0.94230769, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/StockRow/index.module.css | .row {
/* display: flex; */
width: 100%;
padding: 8px 8px;
box-sizing: border-box;
border-bottom: 1px solid var(--border-color);
background-color: var(--background-color);
color: var(--main-text-color);
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
cursor: pointer;
&:hover {
.arrow {
svg {
fill: var(--main-text-color);
}
}
.value {
filter: brightness(115%);
}
}
}
.stockName {
font-weight: 600;
font-size: calc(var(--base-font-size) * 1.2);
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
max-width: 100%;
}
.code {
font-size: calc(var(--base-font-size) * 5 / 6);
margin-right: 5px;
}
.rowBar {
font-size: calc(var(--base-font-size) * 5 / 6);
display: flex;
align-items: center;
margin-top: 2px;
}
.value {
display: block;
float: right;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
.zx {
font-size: calc(var(--base-font-size) * 5 / 3);
line-height: 24px;
height: 24px;
width: 100%;
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
font-weight: 600;
}
.zd {
display: flex;
justify-content: flex-end;
width: 100%;
.zdd,
.zdf {
font-size: calc(var(--base-font-size) * 5 / 6);
}
.zdf {
margin-left: 10px;
}
}
.arrow {
margin-right: 5px;
svg {
cursor: pointer;
fill: var(--svg-icon-color);
}
}
.collapseContent {
display: flex;
padding: 5px 15px;
flex-wrap: wrap;
font-size: calc(var(--base-font-size) * 5 / 6);
color: var(--inner-text-color);
background-color: var(--inner-color);
word-wrap: break-word;
section {
width: 50%;
padding: 5px;
box-sizing: border-box;
display: flex;
align-items: center;
flex-wrap: wrap;
}
}
.editor {
margin-left: 5px;
cursor: pointer;
height: 12px;
width: 12px;
fill: var(--svg-icon-color);
}
.view {
padding: 5px;
text-align: center;
width: 100%;
box-sizing: border-box;
}
.tag {
border-radius: 4px;
font-size: 8px;
padding: 0 3px;
text-align: center;
word-break: keep-all;
margin-left: 5px;
transition: 0.2s;
color: var(--tag-text-color);
border: 1px solid var(--block-border-color);
&:hover {
filter: brightness(115%);
}
}
.hold {
color: var(--tag-text-color);
border-radius: 4px;
border: 1px solid var(--block-border-color);
font-size: 8px;
background-color: var(--primary-color);
padding: 0 3px;
text-align: center;
word-break: keep-all;
margin-left: 5px;
transition: 0.2s;
}
.gscysyl {
font-size: 8px;
border-radius: 4px;
padding: 0px 3px;
margin-left: 5px;
white-space: nowrap;
color: var(--tag-text-color);
box-shadow: none;
}
.worth {
margin-left: 10px;
}
| 2,863 | index.module | css | en | css | data | {"qsc_code_num_words": 382, "qsc_code_num_chars": 2863.0, "qsc_code_mean_word_length": 4.56806283, "qsc_code_frac_words_unique": 0.27748691, "qsc_code_frac_chars_top_2grams": 0.06876791, "qsc_code_frac_chars_top_3grams": 0.04126074, "qsc_code_frac_chars_top_4grams": 0.05157593, "qsc_code_frac_chars_dupe_5grams": 0.3512894, "qsc_code_frac_chars_dupe_6grams": 0.28710602, "qsc_code_frac_chars_dupe_7grams": 0.26074499, "qsc_code_frac_chars_dupe_8grams": 0.16045845, "qsc_code_frac_chars_dupe_9grams": 0.14441261, "qsc_code_frac_chars_dupe_10grams": 0.07793696, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.04008909, "qsc_code_frac_chars_whitespace": 0.21585749, "qsc_code_size_file_byte": 2863.0, "qsc_code_num_lines": 170.0, "qsc_code_num_chars_line_max": 52.0, "qsc_code_num_chars_line_mean": 16.84117647, "qsc_code_frac_chars_alphabet": 0.73719376, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.52666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/StockRow/index.tsx | import React from 'react';
import clsx from 'clsx';
import * as echarts from 'echarts/core';
import { useRequest } from 'ahooks';
import { RiArrowDownSLine, RiArrowUpSLine, RiEditLine, RiDeleteBin6Line } from 'react-icons/ri';
import Collapse from '@/components/Collapse';
import ArrowLine from '@/components/ArrowLine';
import MemoNote from '@/components/MemoNote';
import { setIndustryMapAction } from '@/store/features/stock';
import { toggleStockCollapseAction } from '@/store/features/wallet';
import { useResizeEchart, useRenderEcharts, useAppDispatch, useAppSelector } from '@/utils/hooks';
import colorHash from '@/utils/colorHash';
import * as Services from '@/services';
import * as Utils from '@/utils';
import * as Enums from '@/utils/enums';
import * as Helpers from '@/helpers';
import styles from './index.module.css';
export interface RowProps {
stock: Stock.ResponseItem & Stock.ExtraRow;
onEdit?: (fund: Stock.SettingItem) => void;
onDelete?: (fund: Stock.SettingItem) => void;
onDetail: (code: string) => void;
}
const arrowSize = {
width: 12,
height: 12,
};
const TrendChart: React.FC<{
trends: Stock.TrendItem[];
zs: number;
}> = ({ trends = [], zs = 0 }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(0.24);
useRenderEcharts(
() => {
const { color, bgColor } = Utils.GetValueColor(Number(trends[trends.length - 1]?.last) - zs);
chartInstance?.setOption({
title: {
text: '',
},
tooltip: {
show: false,
},
grid: {
left: 0,
right: 0,
bottom: 2,
top: 2,
},
xAxis: {
type: 'category',
data: trends.map(({ datetime, last }) => datetime),
boundaryGap: false,
show: false,
},
yAxis: {
type: 'value',
show: false,
scale: true,
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
min: (value: any) => Math.min(value.min, zs),
max: (value: any) => Math.max(value.max, zs),
},
series: [
{
data: trends.map(({ datetime, last }) => [datetime, last]),
type: 'line',
name: '价格',
showSymbol: false,
symbol: 'none',
smooth: true,
silent: true,
lineStyle: { width: 2, color: color },
areaStyle: {
opacity: 0.8,
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: color,
},
{
offset: 1,
color: bgColor,
},
]),
},
markLine: {
symbol: 'none',
label: {
show: false,
},
data: [
{
name: '昨收',
yAxis: zs,
itemStyle: { color },
},
],
},
},
],
});
},
chartInstance,
[zs, trends]
);
return <div ref={chartRef} style={{ width: 72 }} />;
};
const StockRow: React.FC<RowProps> = (props) => {
const { stock } = props;
const dispatch = useAppDispatch();
const eyeStatus = useAppSelector((state) => state.wallet.eyeStatus);
const conciseSetting = useAppSelector((state) => state.setting.systemSetting.conciseSetting);
const industrys = useAppSelector((state) => state.stock.industryMap[stock.secid]) || [];
const stockViewMode = useAppSelector((state) => state.sort.viewMode.stockViewMode);
const stockConfigCodeMap = useAppSelector((state) => state.wallet.stockConfigCodeMap);
const calcStockResult = Helpers.Stock.CalcStock(stock, stockConfigCodeMap);
const stockConfig = stockConfigCodeMap[stock.secid];
useRequest(() => Services.Stock.GetIndustryFromEastmoney(stock.secid, 1), {
onSuccess: (datas) => {
if (datas.length) {
dispatch(setIndustryMapAction({ secid: stock.secid, industrys: datas }));
}
},
ready: !industrys.length,
});
function onEditClick() {
props.onEdit?.(stockConfig);
}
function onDeleteClick() {
props.onDelete?.(stockConfig);
}
return (
<>
<div className={clsx(styles.row)} onClick={() => dispatch(toggleStockCollapseAction(stock))}>
<div className={styles.arrow}>
{stock.collapse ? <RiArrowUpSLine style={{ ...arrowSize }} /> : <RiArrowDownSLine style={{ ...arrowSize }} />}
</div>
<div style={{ flex: 1, width: 0 }}>
<div style={{ display: 'flex', alignItems: 'center' }}>
<span className={styles.stockName}>{stock.name}</span>
{industrys.map((industry) => {
const color = colorHash.hex(industry.name);
return (
<span key={industry.code} className={styles.tag} style={{ backgroundColor: color }}>
{industry.name}
</span>
);
})}
{!!calcStockResult.cyfe && <span className={styles.hold}>持有</span>}
{!!calcStockResult.cbj && eyeStatus && (
<span className={clsx(Utils.GetValueColor(calcStockResult.gscysyl).blockClass, styles.gscysyl)}>
{calcStockResult.gscysyl === '' ? `0.00%` : `${Utils.Yang(calcStockResult.gscysyl)}%`}
</span>
)}
</div>
{!conciseSetting && (
<div className={styles.rowBar}>
<div>
<span className={styles.code}>{stock.code}</span>
<span>{stock.time}</span>
{eyeStatus && (
<span className={clsx(Utils.GetValueColor(calcStockResult.jrsygz).textClass, styles.worth)}>
{Utils.Yang(calcStockResult.jrsygz.toFixed(2))}
</span>
)}
</div>
</div>
)}
</div>
<div className={clsx(styles.value)}>
<div className={clsx(styles.zx, Utils.GetValueColor(stock.zdf).textClass)}>
{stockViewMode.type === Enums.StockViewType.Chart ? (
<TrendChart trends={stock.trends} zs={stock.zs} />
) : (
<>
{stock.zx}
<ArrowLine value={stock.zdf} />
</>
)}
</div>
{!conciseSetting && (
<div className={styles.zd}>
{stockViewMode.type === Enums.StockViewType.Chart ? (
<div className={clsx(styles.zdd)}>{stock.zx}</div>
) : (
<div className={clsx(styles.zdd, Utils.GetValueColor(stock.zdd).textClass)}>{Utils.Yang(stock.zdd)}</div>
)}
<div className={clsx(styles.zdf, Utils.GetValueColor(stock.zdf).textClass)}>{Utils.Yang(stock.zdf)} %</div>
</div>
)}
</div>
</div>
<Collapse isOpened={!!stock.collapse}>
<div className={styles.collapseContent}>
{conciseSetting && (
<section>
<span>涨跌点:</span>
<span className={clsx(Utils.GetValueColor(stock.zdd).textClass)}>{Utils.Yang(stock.zdd)}</span>
</section>
)}
{conciseSetting && (
<section>
<span>涨跌幅:</span>
<span className={clsx(Utils.GetValueColor(stock.zdf).textClass)}>{Utils.Yang(stock.zdf)} %</span>
</section>
)}
<section>
<span>昨收:</span>
<span>{stock.zs}</span>
</section>
<section>
<span>今开:</span>
<span>{stock.jk}</span>
</section>
<section>
<span>最高:</span>
<span className="text-up">{stock.zg}</span>
</section>
<section>
<span>最低:</span>
<span className="text-down">{stock.zd}</span>
</section>
<section>
<span>持股数:</span>
<span>{stockConfig.cyfe || 0}</span>
<RiEditLine className={styles.editor} onClick={onEditClick} />
<RiDeleteBin6Line className={styles.editor} onClick={onDeleteClick} />
</section>
<section>
<span>成本金额:</span>
<span>{calcStockResult.cbje !== undefined ? `¥ ${calcStockResult.cbje.toFixed(2)}` : '暂无'}</span>
</section>
<section>
<span>持有收益率:</span>
<span className={clsx(Utils.GetValueColor(calcStockResult.cysyl).textClass)}>
{calcStockResult.cysyl !== undefined ? `${Utils.Yang(calcStockResult.cysyl.toFixed(2))}%` : '暂无'}
</span>
</section>
<section>
<span>今日收益:</span>
<span className={clsx(Utils.GetValueColor(calcStockResult.jrsygz).textClass)}>
¥ {Utils.Yang(calcStockResult.jrsygz.toFixed(2))}
</span>
</section>
<section>
<span>持有收益:</span>
<span className={clsx(Utils.GetValueColor(calcStockResult.cysy).textClass)}>
{calcStockResult.cysy !== undefined ? `¥ ${Utils.Yang(calcStockResult.cysy.toFixed(2))}` : '暂无'}
</span>
</section>
<section>
<span>今日总额:</span>
<span>¥ {calcStockResult.gszz.toFixed(2)}</span>
</section>
<section>
<span>成本价:</span>
{calcStockResult.cbj !== undefined ? <span>{calcStockResult.cbj}</span> : <a onClick={onEditClick}>录入</a>}
</section>
{stockConfig.memo && <MemoNote text={stockConfig.memo} />}
<div className={styles.view}>
<a onClick={() => props.onDetail(stock.secid)}>{'查看详情 >'}</a>
</div>
</div>
</Collapse>
</>
);
};
export default StockRow;
| 9,946 | index | tsx | en | tsx | code | {"qsc_code_num_words": 844, "qsc_code_num_chars": 9946.0, "qsc_code_mean_word_length": 6.11611374, "qsc_code_frac_words_unique": 0.26421801, "qsc_code_frac_chars_top_2grams": 0.03273925, "qsc_code_frac_chars_top_3grams": 0.03835723, "qsc_code_frac_chars_top_4grams": 0.04261914, "qsc_code_frac_chars_dupe_5grams": 0.22123208, "qsc_code_frac_chars_dupe_6grams": 0.16543975, "qsc_code_frac_chars_dupe_7grams": 0.14335529, "qsc_code_frac_chars_dupe_8grams": 0.0654785, "qsc_code_frac_chars_dupe_9grams": 0.04029446, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00581309, "qsc_code_frac_chars_whitespace": 0.32545747, "qsc_code_size_file_byte": 9946.0, "qsc_code_num_lines": 283.0, "qsc_code_num_chars_line_max": 122.0, "qsc_code_num_chars_line_mean": 35.14487633, "qsc_code_frac_chars_alphabet": 0.76300492, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.29779412, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03247537, "qsc_code_frac_chars_long_word_length": 0.01095918, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Ext/ObjectModule.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Если Сервер Или ТолстыйКлиентОбычноеПриложение Или ВнешнееСоединение Тогда
#Область ОписаниеПеременных
Перем СообщениеОбмена Экспорт; // При получении - имя полученного файла во ВременныйКаталог. При отправке - имя файла, который необходимо отправить
Перем ВременныйКаталог Экспорт; // Временный каталог для сообщений обмена.
Перем ИдентификаторКаталога Экспорт;
Перем Корреспондент Экспорт;
Перем ИмяПланаОбмена Экспорт;
Перем ИмяПланаОбменаКорреспондента Экспорт;
Перем СообщениеОбОшибке Экспорт;
Перем СообщениеОбОшибкеЖР Экспорт;
Перем ШаблоныИменДляПолученияСообщения Экспорт;
Перем ИмяСообщенияДляОтправки Экспорт;
Перем Таймаут;
Перем ТаймаутОтправкаПолучение;
#КонецОбласти
#Область ПрограммныйИнтерфейс
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.ОтправитьДанные
Функция ОтправитьДанные(СообщениеДляСопоставленияДанных = Ложь) Экспорт
Попытка
Результат = ОтправитьСообщение();
Исключение
ТранспортСообщенийОбмена.ИнформацияОбОшибкеВСообщения(ЭтотОбъект, ИнформацияОбОшибке());
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ВыгрузкаДанных");
Результат = Ложь;
КонецПопытки;
Возврат Результат;
КонецФункции
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.ПолучитьДанные
Функция ПолучитьДанные() Экспорт
Попытка
Для Каждого Шаблон Из ШаблоныИменДляПолученияСообщения Цикл
Результат = ПолучитьСообщение(Шаблон);
Если Результат Тогда
Прервать;
КонецЕсли;
КонецЦикла;
Исключение
ТранспортСообщенийОбмена.ИнформацияОбОшибкеВСообщения(ЭтотОбъект, ИнформацияОбОшибке());
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ЗагрузкаДанных");
Результат = Ложь;
КонецПопытки;
Возврат Результат;
КонецФункции
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.ПередВыгрузкойДанных
Функция ПередВыгрузкойДанных(СообщениеДляСопоставленияДанных = Ложь) Экспорт
Возврат Истина;
КонецФункции
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.ПараметрыКорреспондента
Функция ПараметрыКорреспондента(НастройкиПодключения) Экспорт
Результат = ТранспортСообщенийОбмена.СтруктураРезультатаПолученияПараметровКорреспондента();
Результат.ПодключениеУстановлено = Истина;
Результат.ПодключениеРазрешено = Истина;
Возврат Результат;
КонецФункции
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.СохранитьНастройкиВКорреспонденте
Функция СохранитьНастройкиВКорреспонденте(НастройкиПодключения) Экспорт
Возврат Истина;
КонецФункции
// См. ОбработкаОбъект.ТранспортСообщенийОбменаFILE.ТребуетсяАутентификация
Функция ТребуетсяАутентификация() Экспорт
Возврат Ложь;
КонецФункции
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
Функция ПолучитьСообщение(ШаблонИмениСообщения)
ОбновитьТокен();
Заголовки = Новый Соответствие();
Заголовки.Вставить("Authorization","Bearer " + AccessToken);
ИдентификаторКаталогаВОблаке = ИдентификаторКаталогаВОблаке();
АдресРесурса = "/drive/v3/files?q='%1' in parents and trashed = false and name contains '%2'&orderBy=modifiedTime desc";
АдресРесурса = СтрШаблон(АдресРесурса, ИдентификаторКаталогаВОблаке, ШаблонИмениСообщения);
HTTPСоединение = HTTPСоединение("www.googleapis.com", Таймаут);
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Ответ = HTTPСоединение.Получить(Запрос);
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ЗагрузкаДанных");
Возврат Ложь;
КонецЕсли;
ФайлыВОблаке = РезультатЗапроса["files"];
ТаблицаФайлов = Новый ТаблицаЗначений;
ТаблицаФайлов.Колонки.Добавить("ИмяФайла", Новый ОписаниеТипов("Строка",,,, Новый КвалификаторыСтроки(200)));
ТаблицаФайлов.Колонки.Добавить("Идентификатор", Новый ОписаниеТипов("Строка",,,, Новый КвалификаторыСтроки(200)));
Для Каждого Файл Из ФайлыВОблаке Цикл
НовСтрока = ТаблицаФайлов.Добавить();
НовСтрока.ИмяФайла = Файл["name"];
НовСтрока.Идентификатор = Файл["id"];
КонецЦикла;
Запрос = Новый Запрос;
Запрос.Текст =
"ВЫБРАТЬ
| Т.ИмяФайла КАК ИмяФайла,
| Т.Идентификатор КАК Идентификатор
|ПОМЕСТИТЬ ВТ
|ИЗ
| &ТаблицаФайлов КАК Т
|;
|
|////////////////////////////////////////////////////////////////////////////////
|ВЫБРАТЬ
| ВТ.ИмяФайла КАК ИмяФайла,
| ВТ.Идентификатор КАК Идентификатор
|ИЗ
| ВТ КАК ВТ
|ГДЕ
| ВТ.ИмяФайла ПОДОБНО &Шаблон";
ШаблонИмениСообщенияДляПоиска = СтрЗаменить(ШаблонИмениСообщения, "*", "%");
Запрос.УстановитьПараметр("Шаблон", ШаблонИмениСообщенияДляПоиска);
Запрос.УстановитьПараметр("ТаблицаФайлов", ТаблицаФайлов);
РезультатПоискаФайлов = Запрос.Выполнить().Выгрузить();
Если РезультатПоискаФайлов.Количество() = 0 Тогда
СообщениеОбОшибке = НСтр("ru = 'В каталоге обмена информацией не был обнаружен файл сообщения с данными.
|Идентификатор каталога на сервере на сервере: ""%1""
|Имя файла сообщения обмена: ""%2""'");
СообщениеОбОшибке = СтрШаблон(СообщениеОбОшибке, ИдентификаторКаталогаВОблаке, ШаблонИмениСообщения);
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ЗагрузкаДанных");
Возврат Ложь;
КонецЕсли;
// загрузка файла с диска
Файл = РезультатПоискаФайлов[0];
HTTPСоединение = HTTPСоединение("www.googleapis.com", ТаймаутОтправкаПолучение);
Заголовки = Новый Соответствие();
Заголовки.Вставить("Authorization","Bearer " + AccessToken);
АдресРесурса = "/drive/v3/files/%1?alt=media";
АдресРесурса = СтрШаблон(АдресРесурса, Файл["Идентификатор"]);
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Ответ = HTTPСоединение.Получить(Запрос);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = ТранспортСообщенийОбмена.JSONВЗначение(Тело)["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ЗагрузкаДанных");
Возврат Ложь;
КонецЕсли;
ФайлЗапакован = ВРег(Прав(Файл["ИмяФайла"], 3)) = "ZIP";
Если ФайлЗапакован Тогда
// Получаем имя для временного файла архива.
ИмяВременногоФайлаАрхива = ОбщегоНазначенияКлиентСервер.ПолучитьПолноеИмяФайла(
ВременныйКаталог, Строка(Новый УникальныйИдентификатор) + ".zip");
ДвоичныеДанные = Ответ.ПолучитьТелоКакДвоичныеДанные();
ДвоичныеДанные.Записать(ИмяВременногоФайлаАрхива);
Если Не ТранспортСообщенийОбмена.РаспаковатьСообщениеОбменаИзZipФайла(
ЭтотОбъект, ИмяВременногоФайлаАрхива, ПарольАрхиваСообщенияОбмена) Тогда
Возврат Ложь;
КонецЕсли;
Иначе
ДвоичныеДанные = Ответ.ПолучитьТелоКакДвоичныеДанные();
ДвоичныеДанные.Записать(СообщениеОбмена);
КонецЕсли;
Возврат Истина;
КонецФункции
Функция ОтправитьСообщение()
ОбновитьТокен();
Если СжиматьФайлИсходящегоСообщения Тогда
Тип = "application/zip";
Если Не ТранспортСообщенийОбмена.ЗапаковатьСообщениеОбменаВZipФайл(ЭтотОбъект, ПарольАрхиваСообщенияОбмена) Тогда
Возврат Ложь;
КонецЕсли;
Файл = Новый Файл(ИмяСообщенияДляОтправки);
ИмяСообщения = Файл.ИмяБезРасширения + ".zip";
Иначе
ИмяСообщения = ИмяСообщенияДляОтправки;
Тип = "application/xml";
КонецЕсли;
ИдентификаторФайла = "";
Если Не ПоискФайла(ИмяСообщения, ИдентификаторФайла, "ВыгрузкаДанных") Тогда
Возврат Ложь;
КонецЕсли;
Разделитель = "v8exchange_cloud";
// Метаданные файла
Свойства = Новый Соответствие();
Свойства.Вставить("name", ИмяСообщения);
Свойства.Вставить("mimeType", Тип);
ИдентификаторКаталогаВОблаке = ИдентификаторКаталогаВОблаке();
Если Не ЗначениеЗаполнено(ИдентификаторФайла) Тогда
МассивКаталогов = Новый Массив;
МассивКаталогов.Добавить(ИдентификаторКаталогаВОблаке);
Свойства.Вставить("parents", МассивКаталогов);
КонецЕсли;
МетаданныеФайла = ТранспортСообщенийОбмена.ЗначениеВJSON(Свойства);
Поток = Новый ПотокВПамяти();
ЗаписьДанных = Новый ЗаписьДанных(Поток);
ЗаписьДанных.ЗаписатьСтроку("Content-Type: application/json; charset=UTF-8");
ЗаписьДанных.ЗаписатьСтроку("");
ЗаписьДанных.ЗаписатьСтроку(МетаданныеФайла);
ЗаписьДанных.Закрыть();
ДвоичныеДанныеМетаданные = Поток.ЗакрытьИПолучитьДвоичныеДанные();
// Данные файла
ДвоичныеДанные = Новый ДвоичныеДанные(СообщениеОбмена);
Поток = Новый ПотокВПамяти();
ЗаписьДанных = Новый ЗаписьДанных(Поток);
ЗаписьДанных.ЗаписатьСтроку("Content-Type:" + Тип);
ЗаписьДанных.ЗаписатьСтроку("");
ЗаписьДанных.Записать(ДвоичныеДанные);
ЗаписьДанных.Закрыть();
ДвоичныеДанныеФайл = Поток.ЗакрытьИПолучитьДвоичныеДанные();
// Тело запроса
ПотокТело = Новый ПотокВПамяти();
ЗаписьДанных = Новый ЗаписьДанных(ПотокТело);
ЗаписьДанных.ЗаписатьСтроку("--" + Разделитель);
ЗаписьДанных.Записать(ДвоичныеДанныеМетаданные);
ЗаписьДанных.ЗаписатьСтроку("--" + Разделитель);
ЗаписьДанных.Записать(ДвоичныеДанныеФайл);
ЗаписьДанных.ЗаписатьСтроку("");
ЗаписьДанных.ЗаписатьСтроку("--" + Разделитель + "--");
ЗаписьДанных.ЗаписатьСтроку("--" + Разделитель + "--");
ЗаписьДанных.Закрыть();
ДвоичныеДанныеТело = ПотокТело.ЗакрытьИПолучитьДвоичныеДанные();
Заголовки = Новый Соответствие;
Заголовки.Вставить("Authorization", "Bearer " + AccessToken);
Заголовки.Вставить("Content-Type", "Multipart/Related; boundary=" + Разделитель);
Заголовки.Вставить("Content-Length", Формат(ДвоичныеДанныеТело.Размер(), "ЧГ="));
Соединение = HTTPСоединение("www.googleapis.com", ТаймаутОтправкаПолучение);
Если ЗначениеЗаполнено(ИдентификаторФайла) Тогда
Запрос = Новый HTTPЗапрос("/upload/drive/v3/files/" + ИдентификаторФайла + "?uploadType=multipart", Заголовки);
Запрос.УстановитьТелоИзДвоичныхДанных(ДвоичныеДанныеТело);
Ответ = Соединение.Изменить(Запрос);
Иначе
Запрос = Новый HTTPЗапрос("/upload/drive/v3/files?uploadType=multipart", Заголовки);
Запрос.УстановитьТелоИзДвоичныхДанных(ДвоичныеДанныеТело);
Ответ = Соединение.ОтправитьДляОбработки(Запрос);
КонецЕсли;
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ВыгрузкаДанных");
Возврат Ложь;
КонецЕсли;
Возврат Истина;
КонецФункции
Функция ПодключениеУстановлено() Экспорт
ОбновитьТокен();
Заголовки = Новый Соответствие();
Заголовки.Вставить("Authorization","Bearer " + AccessToken);
АдресРесурса = "/drive/v3/files?pageSize=1";
HTTPСоединение = HTTPСоединение("www.googleapis.com", Таймаут);
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Ответ = HTTPСоединение.Получить(Запрос);
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект);
Возврат Ложь;
КонецЕсли;
Возврат Истина;
КонецФункции
Функция ОбновитьТокен()
Если ЗначениеЗаполнено(ExpiresIn) И ТекущаяДатаСеанса() < ExpiresIn Тогда
Возврат Истина;
КонецЕсли;
АдресРесурса = "client_id=%1&client_secret=%2&grant_type=refresh_token&refresh_token=%3";
АдресРесурса = СтрШаблон(АдресРесурса, ClientID, ClientSecret, RefreshToken);
Соединение = HTTPСоединение("accounts.google.com", Таймаут);
Заголовки = Новый Соответствие;
Заголовки.Вставить("Content-Type","application/x-www-form-urlencoded");
Запрос = Новый HTTPЗапрос("/o/oauth2/token", Заголовки);
Запрос.УстановитьТелоИзСтроки(АдресРесурса);
Ответ = Соединение.ВызватьHTTPМетод("POST", Запрос);
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error_description"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, "ЗагрузкаДанных");
Возврат Ложь;
КонецЕсли;
access_token = РезультатЗапроса["access_token"];
expires_in = ТекущаяДатаСеанса() + РезультатЗапроса["expires_in"] - 25;
Если ЗначениеЗаполнено(Корреспондент) Тогда
НастройкиТранспорта = ТранспортСообщенийОбмена.НастройкиТранспорта(Корреспондент, "GoogleDrive");
Если НастройкиТранспорта <> Неопределено Тогда
НастройкиТранспорта.Вставить("Google_access_token", access_token);
НастройкиТранспорта.Вставить("Google_expires_in", expires_in);
ТранспортСообщенийОбмена.СохранитьНастройкиТранспорта(Корреспондент, "GoogleDrive", НастройкиТранспорта);
КонецЕсли;
КонецЕсли;
Возврат Истина;
КонецФункции
Функция ИдентификаторКаталогаВОблаке()
Если ЗначениеЗаполнено(КаталогВОблаке) Тогда
Заголовки = Новый Соответствие();
Заголовки.Вставить("Authorization","Bearer " + AccessToken);
АдресРесурса = "/drive/v3/files?q=trashed = false and name='%1'";
АдресРесурса = СтрШаблон(АдресРесурса, КаталогВОблаке);
HTTPСоединение = HTTPСоединение("www.googleapis.com", Таймаут);
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Ответ = HTTPСоединение.Получить(Запрос);
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект,"ЗагрузкаДанных");
Возврат "";
КонецЕсли;
ФайлыВОблаке = РезультатЗапроса["files"];
Если ФайлыВОблаке.Количество() = 0 Тогда
Возврат "";
Иначе
Возврат ФайлыВОблаке[0]["id"];
КонецЕсли;
Иначе
Возврат "root";
КонецЕсли;
КонецФункции
Функция ПоискФайла(ИмяФайла, ИдентификаторФайла, ДействиеПриОбмене)
Заголовки = Новый Соответствие();
Заголовки.Вставить("Authorization","Bearer " + AccessToken);
ИдентификаторКаталогаВОблаке = ИдентификаторКаталогаВОблаке();
АдресРесурса = "/drive/v3/files?q='%1' in parents and trashed = false and name='%2'";
АдресРесурса = СтрШаблон(АдресРесурса, ИдентификаторКаталогаВОблаке, ИмяФайла);
HTTPСоединение = HTTPСоединение("www.googleapis.com", Таймаут);
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Ответ = HTTPСоединение.Получить(Запрос);
Тело = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(Тело);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ТранспортСообщенийОбмена.ЗаписатьСообщениеВЖурналРегистрации(ЭтотОбъект, ДействиеПриОбмене);
Возврат Ложь;
КонецЕсли;
ФайлыВОблаке = РезультатЗапроса["files"];
Если ФайлыВОблаке.Количество() = 0 Тогда
ИдентификаторФайла = "";
Иначе
ИдентификаторФайла = ФайлыВОблаке[0]["id"];
КонецЕсли;
Возврат Истина;
КонецФункции
Функция HTTPСоединение(Сервер, Таймаут)
ЗащищенноеСоединение = ОбщегоНазначенияКлиентСервер.НовоеЗащищенноеСоединение();
Прокси = Неопределено;
Если ОбщегоНазначения.ПодсистемаСуществует("СтандартныеПодсистемы.ПолучениеФайловИзИнтернета") Тогда
МодульПолучениеФайловИзИнтернета = ОбщегоНазначения.ОбщийМодуль("ПолучениеФайловИзИнтернета");
Прокси = МодульПолучениеФайловИзИнтернета.ПолучитьПрокси("https");
КонецЕсли;
Возврат Новый HTTPСоединение(Сервер,,,, Прокси, Таймаут, ЗащищенноеСоединение);
КонецФункции
#КонецОбласти
#Область Инициализация
ВременныйКаталог = Неопределено;
СообщениеОбмена = Неопределено;
Таймаут = 20;
ТаймаутОтправкаПолучение = 43200;
#КонецОбласти
#Иначе
ВызватьИсключение НСтр("ru = 'Недопустимый вызов объекта на клиенте.'");
#КонецЕсли | 16,366 | ObjectModule | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 1258, "qsc_code_num_chars": 16366.0, "qsc_code_mean_word_length": 9.96263911, "qsc_code_frac_words_unique": 0.25675676, "qsc_code_frac_chars_top_2grams": 0.00965451, "qsc_code_frac_chars_top_3grams": 0.05505466, "qsc_code_frac_chars_top_4grams": 0.01954839, "qsc_code_frac_chars_dupe_5grams": 0.43660736, "qsc_code_frac_chars_dupe_6grams": 0.38131333, "qsc_code_frac_chars_dupe_7grams": 0.36016915, "qsc_code_frac_chars_dupe_8grams": 0.31692332, "qsc_code_frac_chars_dupe_9grams": 0.26043246, "qsc_code_frac_chars_dupe_10grams": 0.22492619, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00572066, "qsc_code_frac_chars_whitespace": 0.12415984, "qsc_code_size_file_byte": 16366.0, "qsc_code_num_lines": 559.0, "qsc_code_num_chars_line_max": 148.0, "qsc_code_num_chars_line_mean": 29.27728086, "qsc_code_frac_chars_alphabet": 0.86856425, "qsc_code_frac_chars_comments": 0.99358426, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/StockRankingContent/index.tsx | import React, { useState } from 'react';
import { Tabs } from 'antd';
import PureCard from '@/components/Card/PureCard';
import SelfRank from '@/components/Home/StockView/StockRankingContent/SelfRank';
import MainRank from '@/components/Home/StockView/StockRankingContent/MainRank';
import NorthRank from '@/components/Home/StockView/StockRankingContent/NorthRank';
import StockRank from '@/components/Home/StockView/StockRankingContent/StockRank';
import CustomDrawerContent from '@/components/CustomDrawer/Content';
import styles from './index.module.css';
export interface StockRankingContentProps {
onEnter: () => void;
onClose: () => void;
}
const StockRankingContent: React.FC<StockRankingContentProps> = (props) => {
return (
<CustomDrawerContent title="股票榜" enterText="确定" onEnter={props.onEnter} onClose={props.onClose}>
<div className={styles.content}>
<Tabs
animated={{ tabPane: true }}
tabBarGutter={15}
items={[
{
key: String(0),
label: '沪深京',
children: (
<PureCard>
<StockRank fsCode="m:0+t:6,m:0+t:80,m:1+t:2,m:1+t:23,m:0+t:81+s:2048" />
</PureCard>
),
},
{
key: String(1),
label: '创业',
children: (
<PureCard>
<StockRank fsCode="m:0+t:80" />
</PureCard>
),
},
{
key: String(2),
label: '科创',
children: (
<PureCard>
<StockRank fsCode="m:1+t:23" />
</PureCard>
),
},
{
key: String(3),
label: '新股',
children: (
<PureCard>
<StockRank fsCode="m:0+f:8,m:1+f:8" />
</PureCard>
),
},
{
key: String(4),
label: '上证',
children: (
<PureCard>
<StockRank fsCode="m:1+t:2,m:1+t:23" />
</PureCard>
),
},
{
key: String(5),
label: '深证',
children: (
<PureCard>
<StockRank fsCode="m:0+t:6,m:0+t:80" />
</PureCard>
),
},
{
key: String(6),
label: '北证',
children: (
<PureCard>
<StockRank fsCode="m:0+t:81+s:2048" />
</PureCard>
),
},
{
key: String(-1),
label: '个股',
children: (
<PureCard>
<SelfRank />
</PureCard>
),
},
{
key: String(-2),
label: '北向',
children: (
<PureCard>
<NorthRank />
</PureCard>
),
},
{
key: String(-3),
label: '主力',
children: (
<PureCard>
<MainRank />
</PureCard>
),
},
]}
/>
</div>
</CustomDrawerContent>
);
};
export default StockRankingContent;
| 3,450 | index | tsx | en | tsx | code | {"qsc_code_num_words": 257, "qsc_code_num_chars": 3450.0, "qsc_code_mean_word_length": 5.40466926, "qsc_code_frac_words_unique": 0.29961089, "qsc_code_frac_chars_top_2grams": 0.06479482, "qsc_code_frac_chars_top_3grams": 0.11015119, "qsc_code_frac_chars_top_4grams": 0.1562275, "qsc_code_frac_chars_dupe_5grams": 0.46148308, "qsc_code_frac_chars_dupe_6grams": 0.28725702, "qsc_code_frac_chars_dupe_7grams": 0.26349892, "qsc_code_frac_chars_dupe_8grams": 0.11807055, "qsc_code_frac_chars_dupe_9grams": 0.10511159, "qsc_code_frac_chars_dupe_10grams": 0.10511159, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03045133, "qsc_code_frac_chars_whitespace": 0.46695652, "qsc_code_size_file_byte": 3450.0, "qsc_code_num_lines": 122.0, "qsc_code_num_chars_line_max": 101.0, "qsc_code_num_chars_line_mean": 28.27868852, "qsc_code_frac_chars_alphabet": 0.72485046, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.33898305, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.00847458, "qsc_code_frac_chars_string_length": 0.13478261, "qsc_code_frac_chars_long_word_length": 0.09681159, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/ManageStockContent/Optional/index.module.css | .content {
position: relative;
box-sizing: border-box;
padding-bottom: 80px;
min-height: calc(100vh - 110px);
}
.row {
padding: var(--base-padding);
box-sizing: border-box;
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
.function {
justify-self: flex-end;
fill: var(--svg-icon-color);
height: 12px;
width: 12px;
margin-left: var(--base-padding);
&:hover {
cursor: pointer;
}
}
.remove {
fill: red;
&:hover {
cursor: pointer;
}
}
}
.name {
flex: 1;
flex-direction: column;
margin-left: var(--base-padding);
font-size: calc(var(--base-font-size) * 1.2);
font-weight: 600;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
max-width: 100%;
}
.dragItem {
background-color: var(--inner-color) !important;
}
.editor {
margin-left: 10px;
cursor: pointer;
height: 12px;
width: 12px;
fill: var(--svg-icon-color);
}
.cyfe {
display: flex;
align-items: center;
}
.wallet {
display: flex;
flex-direction: column;
align-items: center;
padding-top: calc(var(--base-padding) * 2);
padding-bottom: var(--base-padding);
img {
width: 40px;
height: 40px;
margin-bottom: var(--base-padding);
}
}
.walletName {
font-size: var(--base-font-size);
font-weight: 600;
position: relative;
}
.editWallet {
position: absolute;
right: -20px;
fill: var(--svg-icon-color);
cursor: pointer;
height: 12px;
width: 12px;
top: 50%;
transform: translateY(-50%);
}
| 1,570 | index.module | css | en | css | data | {"qsc_code_num_words": 193, "qsc_code_num_chars": 1570.0, "qsc_code_mean_word_length": 5.02590674, "qsc_code_frac_words_unique": 0.41450777, "qsc_code_frac_chars_top_2grams": 0.05773196, "qsc_code_frac_chars_top_3grams": 0.08659794, "qsc_code_frac_chars_top_4grams": 0.04329897, "qsc_code_frac_chars_dupe_5grams": 0.1742268, "qsc_code_frac_chars_dupe_6grams": 0.06597938, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03877221, "qsc_code_frac_chars_whitespace": 0.21146497, "qsc_code_size_file_byte": 1570.0, "qsc_code_num_lines": 92.0, "qsc_code_num_chars_line_max": 51.0, "qsc_code_num_chars_line_mean": 17.06521739, "qsc_code_frac_chars_alphabet": 0.7447496, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.37349398, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Ext/ManagerModule.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Если Сервер Или ТолстыйКлиентОбычноеПриложение Или ВнешнееСоединение Тогда
#Область ПрограммныйИнтерфейс
// См. ОбработкаМенеджер.ТранспортСообщенийОбменаFILE.ПараметрыТранспорта
Функция ПараметрыТранспорта() Экспорт
Описание = НСтр("ru = 'Для подключения необходимо параметры авторизации на облачном сервисе.'");
Параметры = ТранспортСообщенийОбмена.СтруктураПараметровТранспорта();
Параметры.Псевдоним = НСтр("ru = 'Google Drive'");
Параметры.ИдентификаторТранспорта = "GoogleDrive";
Параметры.Описание = Описание;
Параметры.Картинка = БиблиотекаКартинок.GooggleDrive;
Реквизиты = Новый Массив;
Реквизиты.Добавить("ПарольАрхиваСообщенияОбмена");
Параметры.РеквизитыДляБезопасногоХранилища = Реквизиты;
Возврат Параметры;
КонецФункции
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
Функция НастройкиПодключенияВXML(НастройкиПодключения) Экспорт
Возврат "";
КонецФункции
Функция НастройкиПодключенияИзXML(ТекстXML) Экспорт
Настройки = Новый Структура;
Возврат Настройки;
КонецФункции
Функция НастройкиТранспортаВJSON(НастройкиТранспорта) Экспорт
НастройкиТранспортаJSON = Новый Структура;
ПарольАрхиваСообщенияОбмена = ОбщегоНазначения.ПрочитатьДанныеИзБезопасногоХранилища(НастройкиТранспорта.ПарольАрхиваСообщенияОбмена);
НастройкиТранспортаJSON.Вставить("CompressOutgoingMessageFile", НастройкиТранспорта.СжиматьФайлИсходящегоСообщения);
НастройкиТранспортаJSON.Вставить("ArchivePasswordExchangeMessages", ПарольАрхиваСообщенияОбмена);
НастройкиТранспортаJSON.Вставить("TransliterateExchangeMessageFileNames", НастройкиТранспорта.Транслитерация);
// Google
НастройкиТранспортаJSON.Вставить("AccessToken",НастройкиТранспорта.AccessToken);
НастройкиТранспортаJSON.Вставить("ClientID",НастройкиТранспорта.ClientID);
НастройкиТранспортаJSON.Вставить("ClientSecret",НастройкиТранспорта.ClientSecret);
НастройкиТранспортаJSON.Вставить("ExpiresIn",НастройкиТранспорта.ExpiresIn);
НастройкиТранспортаJSON.Вставить("RefreshToken",НастройкиТранспорта.RefreshToken);
НастройкиТранспортаJSON.Вставить("CloudDirectory",НастройкиТранспорта.КаталогВОблаке);
Возврат НастройкиТранспортаJSON;
КонецФункции
Функция НастройкиТранспортаИзJSON(НастройкиТранспортаJSON) Экспорт
НастройкиТранспорта = Новый Структура;
НастройкиТранспорта.Вставить("СжиматьФайлИсходящегоСообщения", НастройкиТранспортаJSON.CompressOutgoingMessageFile);
НастройкиТранспорта.Вставить("ПарольАрхиваСообщенияОбмена", НастройкиТранспортаJSON.ArchivePasswordExchangeMessages);
НастройкиТранспорта.Вставить("Транслитерация", НастройкиТранспортаJSON.TransliterateExchangeMessageFileNames);
// Google
НастройкиТранспорта.Вставить("AccessToken", НастройкиТранспортаJSON.AccessToken);
НастройкиТранспорта.Вставить("ClientID", НастройкиТранспортаJSON.ClientID);
НастройкиТранспорта.Вставить("ClientSecret", НастройкиТранспортаJSON.ClientSecret);
НастройкиТранспорта.Вставить("ExpiresIn", НастройкиТранспортаJSON.ExpiresIn);
НастройкиТранспорта.Вставить("RefreshToken", НастройкиТранспортаJSON.RefreshToken);
НастройкиТранспорта.Вставить("КаталогВОблаке", НастройкиТранспортаJSON.CloudDirectory);
Возврат НастройкиТранспорта;
КонецФункции
Функция ИмяКаталогаСохраненияНастроек(НастройкиПодключения) Экспорт
Возврат "";
КонецФункции
#КонецОбласти
#КонецЕсли | 3,812 | ManagerModule | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 243, "qsc_code_num_chars": 3812.0, "qsc_code_mean_word_length": 12.58847737, "qsc_code_frac_words_unique": 0.44444444, "qsc_code_frac_chars_top_2grams": 0.09120628, "qsc_code_frac_chars_top_3grams": 0.00261523, "qsc_code_frac_chars_top_4grams": 0.03007519, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00311262, "qsc_code_frac_chars_whitespace": 0.0729276, "qsc_code_size_file_byte": 3812.0, "qsc_code_num_lines": 101.0, "qsc_code_num_chars_line_max": 136.0, "qsc_code_num_chars_line_mean": 37.74257426, "qsc_code_frac_chars_alphabet": 0.86219581, "qsc_code_frac_chars_comments": 0.9724554, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/ManageStockContent/Optional/index.tsx | import React from 'react';
import { ReactSortable } from 'react-sortablejs';
import clsx from 'clsx';
import { Button } from 'antd';
import {
RiAddLine,
RiMenuLine,
RiIndeterminateCircleFill,
RiNotification2Line,
RiNotification2Fill,
RiEditLine,
} from 'react-icons/ri';
import PureCard from '@/components/Card/PureCard';
import CustomDrawer from '@/components/CustomDrawer';
import Empty from '@/components/Empty';
import { deleteStockAction, setStockConfigAction, updateStockAction } from '@/store/features/stock';
import { useDrawer, useAutoDestroySortableRef, useAppDispatch, useAppSelector } from '@/utils/hooks';
import * as Utils from '@/utils';
import styles from './index.module.css';
const AddStockContent = React.lazy(() => import('@/components/Home/StockView/AddStockContent'));
const EditStockContent = React.lazy(() => import('@/components/Home/StockView/EditStockContent'));
export interface OptionalProps {}
const { dialog } = window.contextModules.electron;
const Optional: React.FC<OptionalProps> = () => {
const dispatch = useAppDispatch();
const sortableRef = useAutoDestroySortableRef();
const currentWalletCode = useAppSelector((state) => state.wallet.currentWalletCode);
const stockConfig = useAppSelector((state) => state.wallet.stockConfig);
const codeMap = useAppSelector((state) => state.wallet.stockConfigCodeMap);
const sortStockConfig = stockConfig.map((_) => ({ ..._, id: _.secid }));
const { show: showAddDrawer, set: setAddDrawer, close: closeAddDrawer } = useDrawer(null);
const { data: editData, show: showEditDrawer, set: setEditDrawer, close: closeEditDrawer } = useDrawer({} as Stock.SettingItem);
function onSortStockConfig(sortList: Stock.SettingItem[]) {
const hasChanged = Utils.CheckListOrderHasChanged(stockConfig, sortList, 'secid');
if (hasChanged) {
const sortConfig = sortList.map((item) => codeMap[item.secid]);
dispatch(setStockConfigAction({ config: sortConfig, walletCode: currentWalletCode }));
}
}
async function onRemoveStock(stock: Stock.SettingItem) {
const { response } = await dialog.showMessageBox({
title: '删除股票',
type: 'info',
message: `确认删除 ${stock.name || ''} ${stock.code}`,
buttons: ['确定', '取消'],
});
if (response === 0) {
dispatch(deleteStockAction(stock.secid));
}
}
async function onCancleRiskNotice(stock: Stock.SettingItem) {
const { response } = await dialog.showMessageBox({
title: '取消涨跌通知',
type: 'info',
message: `确认取消 ${stock.name || ''} 涨跌范围、基金净值通知`,
buttons: ['确定', '取消'],
});
if (response === 0) {
dispatch(
updateStockAction({
secid: stock.secid,
zdfRange: undefined,
jzNotice: undefined,
})
);
}
}
return (
<div className={styles.content}>
{sortStockConfig.length ? (
<ReactSortable
ref={sortableRef}
animation={200}
delay={2}
list={sortStockConfig}
setList={onSortStockConfig}
dragClass={styles.dragItem}
swap
>
{sortStockConfig.map((stock) => (
<PureCard key={stock.secid} className={clsx(styles.row, 'hoverable')}>
<RiIndeterminateCircleFill className={styles.remove} onClick={() => onRemoveStock(stock)} />
<div className={styles.name}>{stock.name}</div>
<RiEditLine className={styles.function} onClick={() => setEditDrawer(stock)} />
{stock.zdfRange || stock.jzNotice ? (
<RiNotification2Fill className={styles.function} onClick={() => onCancleRiskNotice(stock)} />
) : (
<RiNotification2Line className={styles.function} onClick={() => setEditDrawer(stock)} />
)}
<RiMenuLine className={styles.function} />
</PureCard>
))}
</ReactSortable>
) : (
<Empty text="暂未自选股票~" />
)}
<Button
className="bottom-button"
shape="circle"
type="primary"
size="large"
icon={<RiAddLine />}
onClick={(e) => {
setAddDrawer(null);
e.stopPropagation();
}}
/>
<CustomDrawer show={showAddDrawer}>
<AddStockContent onClose={closeAddDrawer} onEnter={closeAddDrawer} />
</CustomDrawer>
<CustomDrawer show={showEditDrawer}>
<EditStockContent onClose={closeEditDrawer} onEnter={closeEditDrawer} stock={editData} />
</CustomDrawer>
</div>
);
};
export default Optional;
| 4,580 | index | tsx | en | tsx | code | {"qsc_code_num_words": 376, "qsc_code_num_chars": 4580.0, "qsc_code_mean_word_length": 7.7287234, "qsc_code_frac_words_unique": 0.39095745, "qsc_code_frac_chars_top_2grams": 0.03613214, "qsc_code_frac_chars_top_3grams": 0.03165864, "qsc_code_frac_chars_top_4grams": 0.03097041, "qsc_code_frac_chars_dupe_5grams": 0.12388162, "qsc_code_frac_chars_dupe_6grams": 0.12388162, "qsc_code_frac_chars_dupe_7grams": 0.06469374, "qsc_code_frac_chars_dupe_8grams": 0.0440468, "qsc_code_frac_chars_dupe_9grams": 0.0440468, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00281294, "qsc_code_frac_chars_whitespace": 0.22379913, "qsc_code_size_file_byte": 4580.0, "qsc_code_num_lines": 129.0, "qsc_code_num_chars_line_max": 131.0, "qsc_code_num_chars_line_mean": 35.50387597, "qsc_code_frac_chars_alphabet": 0.81462729, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.15384615, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07358079, "qsc_code_frac_chars_long_word_length": 0.0349345, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Templates/ПолучениеТокена_ru.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Template uuid="05fbb101-b84d-476f-9f26-0c546f630050">
<Properties>
<Name>ПолучениеТокена_ru</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получение токена</v8:content>
</v8:item>
</Synonym>
<Comment/>
<TemplateType>HTMLDocument</TemplateType>
</Properties>
</Template>
</MetaDataObject> | 1,250 | ПолучениеТокена_ru | xml | ru | xml | data | {"qsc_code_num_words": 225, "qsc_code_num_chars": 1250.0, "qsc_code_mean_word_length": 3.85777778, "qsc_code_frac_words_unique": 0.33333333, "qsc_code_frac_chars_top_2grams": 0.10368664, "qsc_code_frac_chars_top_3grams": 0.13824885, "qsc_code_frac_chars_top_4grams": 0.17281106, "qsc_code_frac_chars_dupe_5grams": 0.42281106, "qsc_code_frac_chars_dupe_6grams": 0.42281106, "qsc_code_frac_chars_dupe_7grams": 0.35138249, "qsc_code_frac_chars_dupe_8grams": 0.28110599, "qsc_code_frac_chars_dupe_9grams": 0.05529954, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0911414, "qsc_code_frac_chars_whitespace": 0.0608, "qsc_code_size_file_byte": 1250.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 78.125, "qsc_code_frac_chars_alphabet": 0.64735945, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.5352, "qsc_code_frac_chars_long_word_length": 0.0288, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/Estimate/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import * as Services from '@/services';
import * as CONST from '@/constants';
import * as Utils from '@/utils';
import styles from './index.module.css';
export interface EstimateProps {
secid: string;
}
const Estimate: React.FC<EstimateProps> = ({ secid }) => {
const [estimate, setEstimate] = useState<string | undefined>('');
const { run: runGetPicTrendFromEastmoney } = useRequest(() => Services.Stock.GetPicTrendFromEastmoney(secid), {
pollingInterval: CONST.DEFAULT.ESTIMATE_FUND_DELAY,
onSuccess: setEstimate,
refreshDeps: [secid],
});
return (
<ChartCard onFresh={runGetPicTrendFromEastmoney}>
<div className={styles.estimate}>
{estimate === '' ? (
<img src="img/picture.svg" />
) : estimate === undefined ? (
<img src="img/picture-failed.svg" />
) : (
<img src={estimate} onError={() => setEstimate(undefined)} />
)}
</div>
</ChartCard>
);
};
export default Estimate;
| 1,116 | index | tsx | en | tsx | code | {"qsc_code_num_words": 104, "qsc_code_num_chars": 1116.0, "qsc_code_mean_word_length": 6.83653846, "qsc_code_frac_words_unique": 0.45192308, "qsc_code_frac_chars_top_2grams": 0.03375527, "qsc_code_frac_chars_top_3grams": 0.02531646, "qsc_code_frac_chars_top_4grams": 0.04500703, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.20519713, "qsc_code_size_file_byte": 1116.0, "qsc_code_num_lines": 35.0, "qsc_code_num_chars_line_max": 114.0, "qsc_code_num_chars_line_mean": 31.88571429, "qsc_code_frac_chars_alphabet": 0.80157835, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10842294, "qsc_code_frac_chars_long_word_length": 0.04390681, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/K/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import { IndicatorFormula } from 'hxc3-indicator-formula';
import ChartCard from '@/components/Card/ChartCard';
import ExportTitleBar from '@/components/ExportTitleBar';
import TypeSelection from '@/components/TypeSelection';
import { useResizeEchart, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
export interface PerformanceProps {
secid: string;
name?: string;
}
const kTypeList = [
{ name: '日K', type: 101, code: 101 },
{ name: '周K', type: 102, code: 102 },
{ name: '月K', type: 103, code: 103 },
{ name: '5分钟', type: 5, code: 5 },
{ name: '15分钟', type: 15, code: 15 },
{ name: '30分钟', type: 30, code: 30 },
{ name: '60分钟', type: 60, code: 60 },
];
const chartTypeList = [
{ name: 'MACD', type: 1, code: 1 },
{ name: 'KDJ', type: 2, code: 2 },
{ name: 'RSI', type: 3, code: 3 },
{ name: 'BIAS', type: 4, code: 4 },
{ name: 'BOLL', type: 5, code: 5 },
];
const timeTypeList = [
{ name: '一年', type: 2, code: 360 },
{ name: '三年', type: 3, code: 1080 },
{ name: '五年', type: 4, code: 1800 },
{ name: '十年', type: 5, code: 3600 },
{ name: '最大', type: 6, code: 10000 },
];
const K: React.FC<PerformanceProps> = ({ secid = '', name }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE * 1.5, true);
const [k, setKType] = useState(kTypeList[0]);
const [chart, setChartType] = useState(chartTypeList[0]);
const [time, setTimeType] = useState(timeTypeList[0]);
const { data: result = [], run: runGetKFromEastmoney } = useRequest(
() => Services.Stock.GetKFromEastmoney(secid, k.code, time.code),
{
refreshDeps: [secid, k.code, time.code],
ready: !!chartInstance,
cacheKey: Utils.GenerateRequestKey('Stock.GetKFromEastmoney', [secid, k.code, time.code]),
}
);
useRenderEcharts(
({ varibleColors }) => {
// 数据意义:开盘(open),收盘(close),最低(lowest),最高(highest)
const values = result.map((_) => [_.kp, _.sp, _.zd, _.zg]);
const times = result.map((_) => _.date);
const chartConfig: any[] = [];
const standData = Utils.ConvertKData(result);
if (chart.type === 1) {
const MACD = IndicatorFormula.getClass('macd');
const macdIndicator = new MACD();
const macdData: any[] = macdIndicator.calculate(standData);
Array.prototype.push.apply(chartConfig, [
{
name: 'MACD',
type: 'bar',
xAxisIndex: 2,
yAxisIndex: 2,
data: macdData.map((_) => _.MACD),
itemStyle: {
normal: {
color: function (params: any) {
return params.data >= 0 ? varibleColors['--increase-color'] : varibleColors['--reduce-color'];
},
},
},
symbol: 'none',
},
{
name: 'DIF',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: macdData.map((_) => _.DIFF),
symbol: 'none',
},
{
name: 'DEA',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: macdData.map((_) => _.DEA),
symbol: 'none',
},
]);
}
if (chart.type === 2) {
const KDJ = IndicatorFormula.getClass('kdj');
const kdjIndicator = new KDJ();
const kdjData: any[] = kdjIndicator.calculate(standData);
Array.prototype.push.apply(chartConfig, [
{
name: 'K',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: kdjData.map((_) => _.K),
symbol: 'none',
},
{
name: 'D',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: kdjData.map((_) => _.D),
symbol: 'none',
},
{
name: 'J',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: kdjData.map((_) => _.J),
symbol: 'none',
},
]);
}
if (chart.type === 3) {
const RSI = IndicatorFormula.getClass('rsi');
const rsiIndicator = new RSI();
const rsiData: any[] = rsiIndicator.calculate(standData);
Array.prototype.push.apply(chartConfig, [
{
name: 'RSI6',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: rsiData.map((_) => _.RSI6),
symbol: 'none',
},
{
name: 'RSI12',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: rsiData.map((_) => _.RSI12),
symbol: 'none',
},
{
name: 'RSI24',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: rsiData.map((_) => _.RSI24),
symbol: 'none',
},
]);
}
if (chart.type === 4) {
const BIAS = IndicatorFormula.getClass('bias');
const biasIndicator = new BIAS();
const biasData: any[] = biasIndicator.calculate(standData);
Array.prototype.push.apply(chartConfig, [
{
name: 'BIAS',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: biasData.map((_) => _.BIAS),
symbol: 'none',
},
{
name: 'BIAS2',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: biasData.map((_) => _.BIAS2),
symbol: 'none',
},
{
name: 'BIAS3',
type: 'line',
xAxisIndex: 2,
yAxisIndex: 2,
data: biasData.map((_) => _.BIAS3),
symbol: 'none',
},
]);
}
if (chart.type === 5) {
const BOLL = IndicatorFormula.getClass('boll');
const bollIndicator = new BOLL();
const bollData: any[] = bollIndicator.calculate(standData);
Array.prototype.push.apply(chartConfig, [
{
name: 'UPPER',
type: 'line',
xAxisIndex: 0,
yAxisIndex: 0,
data: bollData.map((_) => _.UPPER),
symbol: 'none',
},
{
name: 'MID',
type: 'line',
xAxisIndex: 0,
yAxisIndex: 0,
data: bollData.map((_) => _.MID),
symbol: 'none',
},
{
name: 'LOWER',
type: 'line',
xAxisIndex: 0,
yAxisIndex: 0,
data: bollData.map((_) => _.LOWER),
symbol: 'none',
},
]);
}
chartInstance?.setOption({
title: {
text: '',
left: 0,
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'cross',
},
},
legend: {
data: ['MA5', 'MA10', 'MA20', 'MA30', 'MA60', 'MA120', 'MA250'],
textStyle: {
color: 'var(--main-text-color)',
fontSize: 10,
},
selected: {
MA60: false,
MA120: false,
MA250: false,
},
top: 0,
padding: [5, 0, 5, 0],
itemGap: 5,
},
grid: [
{
left: 40,
right: 5,
top: 42,
height: '50%',
},
{
left: 40,
right: 5,
top: '66%',
height: '15%',
},
{
left: 40,
right: 5,
top: '84%',
height: '15%',
},
],
axisPointer: {
link: [
{
xAxisIndex: [0, 1],
},
],
},
xAxis: [
{
data: times,
scale: true,
boundaryGap: false,
axisLine: { onZero: false },
splitLine: { show: false },
splitNumber: 20,
axisLabel: { show: true, fontSize: 10 },
axisPointer: {
label: { show: false },
},
},
{
type: 'category',
gridIndex: 1,
data: times,
axisLabel: { show: false },
},
{
type: 'category',
gridIndex: 2,
data: times,
axisLabel: { show: false },
},
],
yAxis: [
{
scale: true,
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
axisLabel: {
show: true,
fontSize: 10,
},
},
{
gridIndex: 1,
splitNumber: 3,
axisLine: { onZero: false },
axisTick: { show: false },
splitLine: { show: false },
axisLabel: {
show: true,
formatter: Utils.ConvertBigNum,
fontSize: 10,
},
},
{
scale: true,
gridIndex: 2,
splitNumber: 4,
axisLine: { onZero: false },
axisTick: { show: false },
splitLine: { show: false },
axisLabel: {
show: true,
fontSize: 10,
},
},
],
dataZoom: [
{
type: 'inside',
start: 80,
end: 100,
},
{
xAxisIndex: [0, 1],
type: 'inside',
start: 80,
end: 100,
},
{
xAxisIndex: [0, 2],
type: 'inside',
start: 80,
end: 100,
},
],
series: [
{
name: '日K',
type: 'candlestick',
data: values,
itemStyle: {
color: varibleColors['--increase-color'],
color0: varibleColors['--reduce-color'],
},
markPoint: {
symbolSize: 30,
data: [
{
name: '最高值',
type: 'max',
valueDim: 'highest',
},
{
name: '最低值',
type: 'min',
valueDim: 'lowest',
},
],
},
},
{
name: 'MA5',
type: 'line',
data: Utils.CalculateMA(5, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA10',
type: 'line',
data: Utils.CalculateMA(10, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA20',
type: 'line',
data: Utils.CalculateMA(20, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA30',
type: 'line',
data: Utils.CalculateMA(30, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA60',
type: 'line',
data: Utils.CalculateMA(60, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA120',
type: 'line',
data: Utils.CalculateMA(120, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA250',
type: 'line',
data: Utils.CalculateMA(250, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: '成交量',
type: 'bar',
xAxisIndex: 1,
yAxisIndex: 1,
data: result.map((_) => _.cjl),
itemStyle: {
normal: {
color: function (params: any) {
const { zdf } = result[params.dataIndex];
return Number(zdf) > 0 ? varibleColors['--increase-color'] : varibleColors['--reduce-color'];
},
},
},
},
...chartConfig,
],
});
},
chartInstance,
[result, chart.type]
);
return (
<ChartCard onFresh={runGetKFromEastmoney} TitleBar={<ExportTitleBar name={name} data={result} />}>
<div className={styles.content}>
<TypeSelection types={kTypeList} activeType={k.type} onSelected={setKType} colspan={6} />
<div ref={chartRef} style={{ width: '100%' }} />
<TypeSelection types={chartTypeList} activeType={chart.type} onSelected={setChartType} flex />
<TypeSelection types={timeTypeList} activeType={time.type} onSelected={setTimeType} flex />
</div>
</ChartCard>
);
};
export default K;
| 13,892 | index | tsx | en | tsx | code | {"qsc_code_num_words": 1073, "qsc_code_num_chars": 13892.0, "qsc_code_mean_word_length": 5.34016775, "qsc_code_frac_words_unique": 0.23951538, "qsc_code_frac_chars_top_2grams": 0.03839442, "qsc_code_frac_chars_top_3grams": 0.04397906, "qsc_code_frac_chars_top_4grams": 0.0460733, "qsc_code_frac_chars_dupe_5grams": 0.41588133, "qsc_code_frac_chars_dupe_6grams": 0.32652705, "qsc_code_frac_chars_dupe_7grams": 0.3095986, "qsc_code_frac_chars_dupe_8grams": 0.27137871, "qsc_code_frac_chars_dupe_9grams": 0.21064572, "qsc_code_frac_chars_dupe_10grams": 0.1017452, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03552905, "qsc_code_frac_chars_whitespace": 0.44486035, "qsc_code_size_file_byte": 13892.0, "qsc_code_num_lines": 503.0, "qsc_code_num_chars_line_max": 113.0, "qsc_code_num_chars_line_mean": 27.61829026, "qsc_code_frac_chars_alphabet": 0.70746888, "qsc_code_frac_chars_comments": 0.00352721, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.38289206, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0567796, "qsc_code_frac_chars_long_word_length": 0.01061909, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/Форма.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="13e25baf-1855-469a-95a3-2db880220e76">
<Properties>
<Name>Форма</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Форма</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,493 | Форма | xml | ru | xml | data | {"qsc_code_num_words": 247, "qsc_code_num_chars": 1493.0, "qsc_code_mean_word_length": 4.24291498, "qsc_code_frac_words_unique": 0.32793522, "qsc_code_frac_chars_top_2grams": 0.08587786, "qsc_code_frac_chars_top_3grams": 0.11450382, "qsc_code_frac_chars_top_4grams": 0.14312977, "qsc_code_frac_chars_dupe_5grams": 0.42270992, "qsc_code_frac_chars_dupe_6grams": 0.42270992, "qsc_code_frac_chars_dupe_7grams": 0.29103053, "qsc_code_frac_chars_dupe_8grams": 0.23282443, "qsc_code_frac_chars_dupe_9grams": 0.04580153, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07985612, "qsc_code_frac_chars_whitespace": 0.06898861, "qsc_code_size_file_byte": 1493.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 67.86363636, "qsc_code_frac_chars_alphabet": 0.67338129, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.48158071, "qsc_code_frac_chars_long_word_length": 0.05760214, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/Trend/index.tsx | import React from 'react';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import ExportTitleBar from '@/components/ExportTitleBar';
import { useResizeEchart, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
export interface PerformanceProps {
secid: string;
zs: number;
name?: string;
}
const Trend: React.FC<PerformanceProps> = ({ secid, zs = 0, name }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
const { data: result = { trends: [] }, run: runGetTrendFromEastmoney } = useRequest(
() => Services.Stock.GetTrendFromEastmoney(secid),
{
pollingInterval: CONST.DEFAULT.ESTIMATE_FUND_DELAY,
refreshDeps: [secid, zs],
ready: !!chartInstance,
cacheKey: Utils.GenerateRequestKey('Stock.GetTrendFromEastmoney', secid),
}
);
useRenderEcharts(
() => {
const { trends } = result;
chartInstance?.setOption({
title: {
text: '',
},
tooltip: {
trigger: 'axis',
position: 'inside',
},
grid: {
left: 0,
right: 0,
bottom: 0,
top: 25,
containLabel: true,
},
xAxis: {
type: 'category',
data: trends.map(({ datetime, last }) => datetime),
boundaryGap: false,
axisLabel: {
fontSize: 10,
},
},
yAxis: {
type: 'value',
axisLabel: {
formatter: `{value}`,
fontSize: 10,
},
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
scale: true,
min: (value: any) => Math.min(value.min, zs),
max: (value: any) => Math.max(value.max, zs),
},
series: [
{
data: trends.map(({ datetime, last }) => [datetime, last]),
type: 'line',
name: '价格',
showSymbol: false,
symbol: 'none',
smooth: true,
lineStyle: {
width: 1,
color: Utils.GetValueColor(Number(trends[trends.length - 1]?.last) - zs).color,
},
markPoint: {
symbol: 'pin',
symbolSize: 30,
data: [
{ type: 'max', label: { fontSize: 10 } },
{ type: 'min', label: { fontSize: 10 } },
],
},
markLine: {
symbol: 'none',
label: {
position: 'insideEndBottom',
fontSize: 10,
},
data: [
{
name: '昨收',
yAxis: zs,
},
],
},
},
],
});
},
chartInstance,
[result]
);
return (
<ChartCard onFresh={runGetTrendFromEastmoney} TitleBar={<ExportTitleBar name={name} data={result.trends} />}>
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
</div>
</ChartCard>
);
};
export default Trend;
| 3,317 | index | tsx | en | tsx | code | {"qsc_code_num_words": 260, "qsc_code_num_chars": 3317.0, "qsc_code_mean_word_length": 6.10769231, "qsc_code_frac_words_unique": 0.45769231, "qsc_code_frac_chars_top_2grams": 0.03148615, "qsc_code_frac_chars_top_3grams": 0.02015113, "qsc_code_frac_chars_top_4grams": 0.02644836, "qsc_code_frac_chars_dupe_5grams": 0.04156171, "qsc_code_frac_chars_dupe_6grams": 0.04156171, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01119766, "qsc_code_frac_chars_whitespace": 0.38076575, "qsc_code_size_file_byte": 3317.0, "qsc_code_num_lines": 120.0, "qsc_code_num_chars_line_max": 114.0, "qsc_code_num_chars_line_mean": 27.64166667, "qsc_code_frac_chars_alphabet": 0.76192795, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.14782609, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07145011, "qsc_code_frac_chars_long_word_length": 0.02441966, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/ФормаНастройки.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="ed0f4f30-22b6-47c6-bd94-999c10a5c172">
<Properties>
<Name>ФормаНастройки</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Форма настройки</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,512 | ФормаНастройки | xml | ru | xml | data | {"qsc_code_num_words": 248, "qsc_code_num_chars": 1512.0, "qsc_code_mean_word_length": 4.2983871, "qsc_code_frac_words_unique": 0.33467742, "qsc_code_frac_chars_top_2grams": 0.08442777, "qsc_code_frac_chars_top_3grams": 0.11257036, "qsc_code_frac_chars_top_4grams": 0.14071295, "qsc_code_frac_chars_dupe_5grams": 0.41557223, "qsc_code_frac_chars_dupe_6grams": 0.41557223, "qsc_code_frac_chars_dupe_7grams": 0.28611632, "qsc_code_frac_chars_dupe_8grams": 0.22889306, "qsc_code_frac_chars_dupe_9grams": 0.04502814, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07741477, "qsc_code_frac_chars_whitespace": 0.06878307, "qsc_code_size_file_byte": 1512.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 68.72727273, "qsc_code_frac_chars_alphabet": 0.67897727, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.4755291, "qsc_code_frac_chars_long_word_length": 0.05687831, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/Stocks/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import { Table } from 'antd';
import ChartCard from '@/components/Card/ChartCard';
import CustomDrawer from '@/components/CustomDrawer';
import { useDrawer } from '@/utils/hooks';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
const DetailStockContent = React.lazy(() => import('@/components/Home/StockView/DetailStockContent'));
export interface StocksProps {
secid: string;
}
const Stocks: React.FC<StocksProps> = ({ secid }) => {
const { data: detailSecid, show: showDetailDrawer, set: setDetailDrawer, close: closeDetailDrawer } = useDrawer('');
const {
data: stockList = [],
loading,
run: runGetIndustryFromEastmoney,
} = useRequest(() => Services.Stock.GetIndustryFromEastmoney(secid, 2), {
pollingInterval: 1000 * 60,
refreshDeps: [secid],
});
const columns = [
{
title: '代码',
dataIndex: 'code',
},
{
title: '名称',
dataIndex: 'name',
render: (text: string) => <a>{text}</a>,
},
];
return (
<ChartCard auto onFresh={runGetIndustryFromEastmoney}>
<div className={styles.content}>
<Table
loading={loading}
rowKey="code"
size="small"
columns={columns}
dataSource={stockList}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
onRow={(record) => ({
onClick: () => setDetailDrawer(record.secid),
})}
/>
<CustomDrawer show={showDetailDrawer}>
<DetailStockContent onClose={closeDetailDrawer} onEnter={closeDetailDrawer} secid={detailSecid} />
</CustomDrawer>
</div>
</ChartCard>
);
};
export default Stocks;
| 1,882 | index | tsx | en | tsx | code | {"qsc_code_num_words": 157, "qsc_code_num_chars": 1882.0, "qsc_code_mean_word_length": 7.28025478, "qsc_code_frac_words_unique": 0.54140127, "qsc_code_frac_chars_top_2grams": 0.02449694, "qsc_code_frac_chars_top_3grams": 0.0, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00635145, "qsc_code_frac_chars_whitespace": 0.24707758, "qsc_code_size_file_byte": 1882.0, "qsc_code_num_lines": 67.0, "qsc_code_num_chars_line_max": 119.0, "qsc_code_num_chars_line_mean": 28.08955224, "qsc_code_frac_chars_alphabet": 0.80028229, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10308183, "qsc_code_frac_chars_long_word_length": 0.05207226, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/ФормаАвторизации.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="cca3e7a0-3691-4e1e-a362-3d29d237c196">
<Properties>
<Name>ФормаАвторизации</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Форма авторизации</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,516 | ФормаАвторизации | xml | ru | xml | data | {"qsc_code_num_words": 248, "qsc_code_num_chars": 1516.0, "qsc_code_mean_word_length": 4.31451613, "qsc_code_frac_words_unique": 0.33467742, "qsc_code_frac_chars_top_2grams": 0.08411215, "qsc_code_frac_chars_top_3grams": 0.11214953, "qsc_code_frac_chars_top_4grams": 0.14018692, "qsc_code_frac_chars_dupe_5grams": 0.41401869, "qsc_code_frac_chars_dupe_6grams": 0.41401869, "qsc_code_frac_chars_dupe_7grams": 0.28504673, "qsc_code_frac_chars_dupe_8grams": 0.22803738, "qsc_code_frac_chars_dupe_9grams": 0.04485981, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07719547, "qsc_code_frac_chars_whitespace": 0.06860158, "qsc_code_size_file_byte": 1516.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 68.90909091, "qsc_code_frac_chars_alphabet": 0.67988669, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.47427441, "qsc_code_frac_chars_long_word_length": 0.05672823, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zimu-com/1zimu | edge-mv3-prod/InlineSubtitleMask.c008b216.js | var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,r,n,a,o){var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof i[a]&&i[a],s=l.cache||{},u="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(e,r){if(!s[e]){if(!t[e]){var n="function"==typeof i[a]&&i[a];if(!r&&n)return n(e,!0);if(l)return l(e,!0);if(u&&"string"==typeof e)return u(e);var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}f.resolve=function(r){var n=t[e][1][r];return null!=n?n:r},f.cache={};var d=s[e]=new c.Module(e);t[e][0].call(d.exports,f,d,d.exports,this)}return s[e].exports;function f(e){var t=f.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=t,c.cache=s,c.parent=l,c.register=function(e,r){t[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return i[a]}}),i[a]=c;for(var d=0;d<r.length;d++)c(r[d]);if(n){var f=c(n);"object"==typeof exports&&"undefined"!=typeof module?module.exports=f:"function"==typeof e&&e.amd?e(function(){return f}):o&&(this[o]=f)}}({arQdC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js"),a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("react-dom/client"),l=e("@plasmo-static-common/csui"),s=e("@plasmo-static-common/csui-container-react"),u=e("@plasmo-static-common/react"),c=e("~contents/InlineSubtitleMask");let d=(0,l.createAnchorObserver)(c),f=(0,l.createRender)(c,[s.InlineCSUIContainer,s.OverlayCSUIContainer],d?.mountState,async(e,t)=>{let r=(0,i.createRoot)(t);e.root=r;let n=(0,u.getLayout)(c);switch(e.type){case"inline":r.render((0,a.jsx)(n,{children:(0,a.jsx)(s.InlineCSUIContainer,{anchor:e,children:(0,a.jsx)(c.default,{anchor:e})})}));break;case"overlay":{let t=d?.mountState.overlayTargetList||[e.element];r.render((0,a.jsx)(n,{children:t.map((e,t)=>{let r=`plasmo-overlay-${t}`,n={element:e,type:"overlay"};return(0,a.jsx)(s.OverlayCSUIContainer,{id:r,anchor:n,watchOverlayAnchor:c.watchOverlayAnchor,children:(0,a.jsx)(c.default,{anchor:n})},r)})}))}}});d?d.start(f):f({element:document.documentElement,type:"overlay"}),"function"==typeof c.watch&&c.watch({observer:d,render:f})},{"react/jsx-runtime":"8iOxN",react:"329PG","react-dom/client":"blMEL","@plasmo-static-common/csui":"gcN4J","@plasmo-static-common/csui-container-react":"e8dRS","@plasmo-static-common/react":"4kz0G","~contents/InlineSubtitleMask":"8YGb6","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"8iOxN":[function(e,t,r){t.exports=e("ba80e5a03a461355")},{ba80e5a03a461355:"hIfNu"}],hIfNu:[function(e,t,r){var n=e("61e3cf0e9433c992"),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}r.Fragment=o,r.jsx=u,r.jsxs=u},{"61e3cf0e9433c992":"329PG"}],"329PG":[function(e,t,r){t.exports=e("ae0ab14aecd941d7")},{ae0ab14aecd941d7:"5ejwk"}],"5ejwk":[function(e,t,r){var n=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function y(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function v(){}function w(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var x=w.prototype=new v;x.constructor=w,m(x,y.prototype),x.isPureReactComponent=!0;var S=Array.isArray,E=Object.prototype.hasOwnProperty,_={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)E.call(t,a)&&!k.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function I(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var o=[],i=0;return function e(t,r,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case a:f=!0}}if(f)return l=l(f=t),t=""===i?"."+I(f,0):i,S(l)?(o="",null!=t&&(o=t.replace(R,"$&/")+"/"),e(l,r,o,"",function(e){return e})):null!=l&&(O(l)&&(s=l,u=o+(!l.key||f&&f.key===l.key?"":(""+l.key).replace(R,"$&/")+"/")+t,l={$$typeof:n,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),r.push(l)),1;if(f=0,i=""===i?".":i+":",S(t))for(var p=0;p<t.length;p++){var g=i+I(d=t[p],p);f+=e(d,r,o,g,l)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=h&&c[h]||c["@@iterator"])?c:null))for(t=g.call(t),p=0;!(d=t.next()).done;)g=i+I(d=d.value,p++),f+=e(d,r,o,g,l);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return f}(e,o,"","",function(e){return t.call(r,e,i++)}),o}function C(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},j={transition:null};r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=y,r.Fragment=o,r.Profiler=l,r.PureComponent=w,r.StrictMode=i,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:j,ReactCurrentOwner:_},r.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)E.call(t,u)&&!k.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},r.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},r.createElement=T,r.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=O,r.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:C}},r.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return L.current.useCallback(e,t)},r.useContext=function(e){return L.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return L.current.useDeferredValue(e)},r.useEffect=function(e,t){return L.current.useEffect(e,t)},r.useId=function(){return L.current.useId()},r.useImperativeHandle=function(e,t,r){return L.current.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return L.current.useMemo(e,t)},r.useReducer=function(e,t,r){return L.current.useReducer(e,t,r)},r.useRef=function(e){return L.current.useRef(e)},r.useState=function(e){return L.current.useState(e)},r.useSyncExternalStore=function(e,t,r){return L.current.useSyncExternalStore(e,t,r)},r.useTransition=function(){return L.current.useTransition()},r.version="18.2.0"},{}],blMEL:[function(e,t,r){var n=e("87ad33dd8ef612b1");r.createRoot=n.createRoot,r.hydrateRoot=n.hydrateRoot},{"87ad33dd8ef612b1":"f20Gy"}],f20Gy:[function(e,t,r){(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}})(),t.exports=e("6a4f0a32037af21")},{"6a4f0a32037af21":"glUXj"}],glUXj:[function(e,t,r){var n,a,o,i,l,s,u=e("c293e9ed31165f07"),c=e("fabf034282b0d218");function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),b=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},w={};function x(e,t,r,n,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new x(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function k(e,t,r,n){var a,o=S.hasOwnProperty(t)?S[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?(a=t,(!!b.call(w,a)||!b.call(v,a)&&(y.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r))):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var T=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),R=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),j=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var F=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}var H,W=Object.assign;function G(e){if(void 0===H)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+e}var V=!1;function $(e,t){if(!e||V)return"";V=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=n.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l)break}}}finally{V=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?G(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Y(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var r=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function J(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=q(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function et(e,t){ee(e,t);var r=q(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n){e.removeAttribute("value");return}t.hasOwnProperty("value")?en(e,t.type,r):t.hasOwnProperty("defaultValue")&&en(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function er(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function en(e,t,r){("number"!==t||Z(e.ownerDocument)!==e)&&(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ea=Array.isArray;function eo(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(a=0,r=""+q(r),t=null;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ei(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function el(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(d(92));if(ea(r)){if(1<r.length)throw Error(d(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:q(r)}}function es(e,t){var r=q(t.value),n=q(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ef,ep,eh=(ef=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return ef(e,t,r,n)})}:ef);function eg(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eb=["Webkit","ms","Moz","O"];function ey(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),a=ey(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}Object.keys(em).forEach(function(e){eb.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ew=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ex(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function eS(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eE=null;function e_(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ek=null,eT=null,eO=null;function eR(e){if(e=nN(e)){if("function"!=typeof ek)throw Error(d(280));var t=e.stateNode;t&&(t=nz(t),ek(e.stateNode,e.type,t))}}function eI(e){eT?eO?eO.push(e):eO=[e]:eT=e}function eP(){if(eT){var e=eT,t=eO;if(eO=eT=null,eR(e),t)for(e=0;e<t.length;e++)eR(t[e])}}function eC(e,t){return e(t)}function eL(){}var ej=!1;function eD(e,t,r){if(ej)return e(t,r);ej=!0;try{return eC(e,t,r)}finally{ej=!1,(null!==eT||null!==eO)&&(eL(),eP())}}function eA(e,t){var r=e.stateNode;if(null===r)return null;var n=nz(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(d(231,t,typeof r));return r}var eN=!1;if(m)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){eN=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){eN=!1}function ez(e,t,r,n,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var eU=!1,eF=null,eB=!1,eH=null,eW={onError:function(e){eU=!0,eF=e}};function eG(e,t,r,n,a,o,i,l,s){eU=!1,eF=null,ez.apply(eW,arguments)}function eV(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function e$(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function eq(e){if(eV(e)!==e)throw Error(d(188))}function eY(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eV(e)))throw Error(d(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(n=a.return)){r=n;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===r)return eq(a),e;if(o===n)return eq(a),t;o=o.sibling}throw Error(d(188))}if(r.return!==n.return)r=a,n=o;else{for(var i=!1,l=a.child;l;){if(l===r){i=!0,r=a,n=o;break}if(l===n){i=!0,n=a,r=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===r){i=!0,r=o,n=a;break}if(l===n){i=!0,n=o,r=a;break}l=l.sibling}if(!i)throw Error(d(189))}}if(r.alternate!==n)throw Error(d(190))}if(3!==r.tag)throw Error(d(188));return r.stateNode.current===r?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var r=e(t);if(null!==r)return r;t=t.sibling}return null}(e):null}var eK=c.unstable_scheduleCallback,eX=c.unstable_cancelCallback,eZ=c.unstable_shouldYield,eQ=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e5=c.unstable_IdlePriority,e8=null,e6=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tr=4194304;function tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ta(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&r;if(0!==i){var l=i&~a;0!==l?n=tn(l):0!=(o&=i)&&(n=tn(o))}else 0!=(i=r&~a)?n=tn(i):0!==o&&(n=tn(o));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&a)&&((a=n&-n)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)a=1<<(r=31-e9(t)),n|=e[r],t&=~a;return n}function to(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ti(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function tl(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function ts(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-e9(t)]=r}function tu(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-e9(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}var tc=0;function td(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tf,tp,th,tg,tm,tb=!1,ty=[],tv=null,tw=null,tx=null,tS=new Map,tE=new Map,t_=[],tk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tT(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tE.delete(t.pointerId)}}function tO(e,t,r,n,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=nN(t))&&tp(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function tR(e){var t=nA(e.target);if(null!==t){var r=eV(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=e$(r))){e.blockedOn=t,tm(e.priority,function(){th(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tI(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=tF(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=nN(r))&&tp(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);eE=n,r.target.dispatchEvent(n),eE=null,t.shift()}return!0}function tP(e,t,r){tI(e)&&r.delete(t)}function tC(){tb=!1,null!==tv&&tI(tv)&&(tv=null),null!==tw&&tI(tw)&&(tw=null),null!==tx&&tI(tx)&&(tx=null),tS.forEach(tP),tE.forEach(tP)}function tL(e,t){e.blockedOn===t&&(e.blockedOn=null,tb||(tb=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tC)))}function tj(e){function t(t){return tL(t,e)}if(0<ty.length){tL(ty[0],e);for(var r=1;r<ty.length;r++){var n=ty[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==tv&&tL(tv,e),null!==tw&&tL(tw,e),null!==tx&&tL(tx,e),tS.forEach(t),tE.forEach(t),r=0;r<t_.length;r++)(n=t_[r]).blockedOn===e&&(n.blockedOn=null);for(;0<t_.length&&null===(r=t_[0]).blockedOn;)tR(r),null===r.blockedOn&&t_.shift()}var tD=T.ReactCurrentBatchConfig,tA=!0;function tN(e,t,r,n){var a=tc,o=tD.transition;tD.transition=null;try{tc=1,tz(e,t,r,n)}finally{tc=a,tD.transition=o}}function tM(e,t,r,n){var a=tc,o=tD.transition;tD.transition=null;try{tc=4,tz(e,t,r,n)}finally{tc=a,tD.transition=o}}function tz(e,t,r,n){if(tA){var a=tF(e,t,r,n);if(null===a)nl(e,t,n,tU,r),tT(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return tv=tO(tv,e,t,r,n,a),!0;case"dragenter":return tw=tO(tw,e,t,r,n,a),!0;case"mouseover":return tx=tO(tx,e,t,r,n,a),!0;case"pointerover":var o=a.pointerId;return tS.set(o,tO(tS.get(o)||null,e,t,r,n,a)),!0;case"gotpointercapture":return o=a.pointerId,tE.set(o,tO(tE.get(o)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(tT(e,n),4&t&&-1<tk.indexOf(e)){for(;null!==a;){var o=nN(a);if(null!==o&&tf(o),null===(o=tF(e,t,r,n))&&nl(e,t,n,tU,r),o===a)break;a=o}null!==a&&n.stopPropagation()}else nl(e,t,n,null,r)}}var tU=null;function tF(e,t,r,n){if(tU=null,null!==(e=nA(e=e_(n)))){if(null===(t=eV(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=e$(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tU=e,null}function tB(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e5:return 536870912;default:return 16}default:return 16}}var tH=null,tW=null,tG=null;function tV(){if(tG)return tG;var e,t,r=tW,n=r.length,a="value"in tH?tH.value:tH.textContent,o=a.length;for(e=0;e<n&&r[e]===a[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===a[o-t];t++);return tG=a.slice(e,1<t?1-t:void 0)}function t$(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tq(){return!0}function tY(){return!1}function tK(e){function t(t,r,n,a,o){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tq:tY,this.isPropagationStopped=tY,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tq)},persist:function(){},isPersistent:tq}),t}var tX,tZ,tQ,tJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tK(tJ),t1=W({},tJ,{view:0,detail:0}),t2=tK(t1),t3=W({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ra,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tQ&&(tQ&&"mousemove"===e.type?(tX=e.screenX-tQ.screenX,tZ=e.screenY-tQ.screenY):tZ=tX=0,tQ=e),tX)},movementY:function(e){return"movementY"in e?e.movementY:tZ}}),t4=tK(t3),t5=tK(W({},t3,{dataTransfer:0})),t8=tK(W({},t1,{relatedTarget:0})),t6=tK(W({},tJ,{animationName:0,elapsedTime:0,pseudoElement:0})),t9=tK(W({},tJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tK(W({},tJ,{data:0})),re={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rr[e])&&!!t[e]}function ra(){return rn}var ro=tK(W({},t1,{key:function(e){if(e.key){var t=re[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t$(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ra,charCode:function(e){return"keypress"===e.type?t$(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t$(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ri=tK(W({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rl=tK(W({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ra})),rs=tK(W({},tJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),ru=tK(W({},t3,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rc=[9,13,27,32],rd=m&&"CompositionEvent"in window,rf=null;m&&"documentMode"in document&&(rf=document.documentMode);var rp=m&&"TextEvent"in window&&!rf,rh=m&&(!rd||rf&&8<rf&&11>=rf),rg=!1;function rm(e,t){switch(e){case"keyup":return -1!==rc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ry=!1,rv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rv[e.type]:"textarea"===t}function rx(e,t,r,n){eI(n),0<(t=nu(t,"onChange")).length&&(r=new t0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rS=null,rE=null;function r_(e){nt(e,0)}function rk(e){if(X(nM(e)))return e}function rT(e,t){if("change"===e)return t}var rO=!1;if(m){if(m){var rR="oninput"in document;if(!rR){var rI=document.createElement("div");rI.setAttribute("oninput","return;"),rR="function"==typeof rI.oninput}n=rR}else n=!1;rO=n&&(!document.documentMode||9<document.documentMode)}function rP(){rS&&(rS.detachEvent("onpropertychange",rC),rE=rS=null)}function rC(e){if("value"===e.propertyName&&rk(rE)){var t=[];rx(t,rE,e,e_(e)),eD(r_,t)}}function rL(e,t,r){"focusin"===e?(rP(),rS=t,rE=r,rS.attachEvent("onpropertychange",rC)):"focusout"===e&&rP()}function rj(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rk(rE)}function rD(e,t){if("click"===e)return rk(t)}function rA(e,t){if("input"===e||"change"===e)return rk(t)}var rN="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rM(e,t){if(rN(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!b.call(t,a)||!rN(e[a],t[a]))return!1}return!0}function rz(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rU(e,t){var r,n=rz(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rz(n)}}function rF(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=Z(e.document)}return t}function rB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rH=m&&"documentMode"in document&&11>=document.documentMode,rW=null,rG=null,rV=null,r$=!1;function rq(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;r$||null==rW||rW!==Z(n)||(n="selectionStart"in(n=rW)&&rB(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rV&&rM(rV,n)||(rV=n,0<(n=nu(rG,"onSelect")).length&&(t=new t0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=rW)))}function rY(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rK={animationend:rY("Animation","AnimationEnd"),animationiteration:rY("Animation","AnimationIteration"),animationstart:rY("Animation","AnimationStart"),transitionend:rY("Transition","TransitionEnd")},rX={},rZ={};function rQ(e){if(rX[e])return rX[e];if(!rK[e])return e;var t,r=rK[e];for(t in r)if(r.hasOwnProperty(t)&&t in rZ)return rX[e]=r[t];return e}m&&(rZ=document.createElement("div").style,"AnimationEvent"in window||(delete rK.animationend.animation,delete rK.animationiteration.animation,delete rK.animationstart.animation),"TransitionEvent"in window||delete rK.transitionend.transition);var rJ=rQ("animationend"),r0=rQ("animationiteration"),r1=rQ("animationstart"),r2=rQ("transitionend"),r3=new Map,r4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function r5(e,t){r3.set(e,t),h(t,[e])}for(var r8=0;r8<r4.length;r8++){var r6=r4[r8];r5(r6.toLowerCase(),"on"+(r6[0].toUpperCase()+r6.slice(1)))}r5(rJ,"onAnimationEnd"),r5(r0,"onAnimationIteration"),r5(r1,"onAnimationStart"),r5("dblclick","onDoubleClick"),r5("focusin","onFocus"),r5("focusout","onBlur"),r5(r2,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var r9="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),r7=new Set("cancel close invalid load scroll toggle".split(" ").concat(r9));function ne(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,a,o,i,l,s){if(eG.apply(this,arguments),eU){if(eU){var u=eF;eU=!1,eF=null}else throw Error(d(198));eB||(eB=!0,eH=u)}}(n,t,void 0,e),e.currentTarget=null}function nt(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;ne(a,l,u),o=s}else for(i=0;i<n.length;i++){if(s=(l=n[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;ne(a,l,u),o=s}}}if(eB)throw e=eH,eB=!1,eH=null,e}function nr(e,t){var r=t[nL];void 0===r&&(r=t[nL]=new Set);var n=e+"__bubble";r.has(n)||(ni(t,e,2,!1),r.add(n))}function nn(e,t,r){var n=0;t&&(n|=4),ni(r,e,n,t)}var na="_reactListening"+Math.random().toString(36).slice(2);function no(e){if(!e[na]){e[na]=!0,f.forEach(function(t){"selectionchange"!==t&&(r7.has(t)||nn(t,!1,e),nn(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[na]||(t[na]=!0,nn("selectionchange",!1,t))}}function ni(e,t,r,n){switch(tB(t)){case 1:var a=tN;break;case 4:a=tM;break;default:a=tz}r=a.bind(null,t,r,e),a=void 0,eN&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function nl(e,t,r,n,a){var o=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var l=n.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=n.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=nA(l)))return;if(5===(s=i.tag)||6===s){n=o=i;continue e}l=l.parentNode}}n=n.return}eD(function(){var n=o,a=e_(r),i=[];e:{var l=r3.get(e);if(void 0!==l){var s=t0,u=e;switch(e){case"keypress":if(0===t$(r))break e;case"keydown":case"keyup":s=ro;break;case"focusin":u="focus",s=t8;break;case"focusout":u="blur",s=t8;break;case"beforeblur":case"afterblur":s=t8;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=rl;break;case rJ:case r0:case r1:s=t6;break;case r2:s=rs;break;case"scroll":s=t2;break;case"wheel":s=ru;break;case"copy":case"cut":case"paste":s=t9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ri}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=n;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=eA(h,f))&&c.push(ns(h,g,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,r,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&r!==eE&&(u=r.relatedTarget||r.fromElement)&&(nA(u)||u[nC]))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(u=r.relatedTarget||r.toElement,s=n,null!==(u=u?nA(u):null)&&(d=eV(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=n),s!==u)){if(c=t4,g="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=ri,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:nM(s),p=null==u?l:nM(u),(l=new c(g,h+"leave",s,r,a)).target=d,l.relatedTarget=p,g=null,nA(a)===n&&((c=new c(f,h+"enter",u,r,a)).target=p,c.relatedTarget=d,g=c),d=g,s&&u)t:{for(c=s,f=u,h=0,p=c;p;p=nc(p))h++;for(p=0,g=f;g;g=nc(g))p++;for(;0<h-p;)c=nc(c),h--;for(;0<p-h;)f=nc(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break t;c=nc(c),f=nc(f)}c=null}else c=null;null!==s&&nd(i,l,s,c,!1),null!==u&&null!==d&&nd(i,d,u,c,!0)}e:{if("select"===(s=(l=n?nM(n):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m,b=rT;else if(rw(l)){if(rO)b=rA;else{b=rj;var y=rL}}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(b=rD);if(b&&(b=b(e,n))){rx(i,b,r,a);break e}y&&y(e,l,n),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&en(l,"number",l.value)}switch(y=n?nM(n):window,e){case"focusin":(rw(y)||"true"===y.contentEditable)&&(rW=y,rG=n,rV=null);break;case"focusout":rV=rG=rW=null;break;case"mousedown":r$=!0;break;case"contextmenu":case"mouseup":case"dragend":r$=!1,rq(i,r,a);break;case"selectionchange":if(rH)break;case"keydown":case"keyup":rq(i,r,a)}if(rd)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else ry?rm(e,r)&&(v="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(v="onCompositionStart");v&&(rh&&"ko"!==r.locale&&(ry||"onCompositionStart"!==v?"onCompositionEnd"===v&&ry&&(m=tV()):(tW="value"in(tH=a)?tH.value:tH.textContent,ry=!0)),0<(y=nu(n,v)).length&&(v=new t7(v,e,null,r,a),i.push({event:v,listeners:y}),m?v.data=m:null!==(m=rb(r))&&(v.data=m))),(m=rp?function(e,t){switch(e){case"compositionend":return rb(t);case"keypress":if(32!==t.which)return null;return rg=!0," ";case"textInput":return" "===(e=t.data)&&rg?null:e;default:return null}}(e,r):function(e,t){if(ry)return"compositionend"===e||!rd&&rm(e,t)?(e=tV(),tG=tW=tH=null,ry=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rh&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=nu(n,"onBeforeInput")).length&&(a=new t7("onBeforeInput","beforeinput",null,r,a),i.push({event:a,listeners:n}),a.data=m)}nt(i,t)})}function ns(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nu(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=eA(e,r))&&n.unshift(ns(e,o,a)),null!=(o=eA(e,t))&&n.push(ns(e,o,a))),e=e.return}return n}function nc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function nd(e,t,r,n,a){for(var o=t._reactName,i=[];null!==r&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(null!==s&&s===n)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=eA(r,o))&&i.unshift(ns(r,s,l)):a||null!=(s=eA(r,o))&&i.push(ns(r,s,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var nf=/\r\n?/g,np=/\u0000|\uFFFD/g;function nh(e){return("string"==typeof e?e:""+e).replace(nf,"\n").replace(np,"")}function ng(e,t,r){if(t=nh(t),nh(e)!==t&&r)throw Error(d(425))}function nm(){}var nb=null,ny=null;function nv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var nw="function"==typeof setTimeout?setTimeout:void 0,nx="function"==typeof clearTimeout?clearTimeout:void 0,nS="function"==typeof Promise?Promise:void 0,nE="function"==typeof queueMicrotask?queueMicrotask:void 0!==nS?function(e){return nS.resolve(null).then(e).catch(n_)}:nw;function n_(e){setTimeout(function(){throw e})}function nk(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType){if("/$"===(r=a.data)){if(0===n){e.removeChild(a),tj(t);return}n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}r=a}while(r)tj(t)}function nT(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function nO(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var nR=Math.random().toString(36).slice(2),nI="__reactFiber$"+nR,nP="__reactProps$"+nR,nC="__reactContainer$"+nR,nL="__reactEvents$"+nR,nj="__reactListeners$"+nR,nD="__reactHandles$"+nR;function nA(e){var t=e[nI];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nC]||r[nI]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=nO(e);null!==e;){if(r=e[nI])return r;e=nO(e)}return t}r=(e=r).parentNode}return null}function nN(e){return(e=e[nI]||e[nC])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function nM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function nz(e){return e[nP]||null}var nU=[],nF=-1;function nB(e){return{current:e}}function nH(e){0>nF||(e.current=nU[nF],nU[nF]=null,nF--)}function nW(e,t){nU[++nF]=e.current,e.current=t}var nG={},nV=nB(nG),n$=nB(!1),nq=nG;function nY(e,t){var r=e.type.contextTypes;if(!r)return nG;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in r)o[a]=t[a];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function nK(e){return null!=(e=e.childContextTypes)}function nX(){nH(n$),nH(nV)}function nZ(e,t,r){if(nV.current!==nG)throw Error(d(168));nW(nV,t),nW(n$,r)}function nQ(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var a in n=n.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case I:return"Fragment";case R:return"Portal";case C:return"Profiler";case P:return"StrictMode";case A:return"Suspense";case N:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case j:return(t.displayName||"Context")+".Consumer";case L:return(t._context.displayName||"Context")+".Provider";case D:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case z:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(t);case 8:return t===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return W({},r,n)}function nJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nG,nq=nV.current,nW(nV,e),nW(n$,n$.current),!0}function n0(e,t,r){var n=e.stateNode;if(!n)throw Error(d(169));r?(e=nQ(e,t,nq),n.__reactInternalMemoizedMergedChildContext=e,nH(n$),nH(nV),nW(nV,e)):nH(n$),nW(n$,r)}var n1=null,n2=!1,n3=!1;function n4(e){null===n1?n1=[e]:n1.push(e)}function n5(){if(!n3&&null!==n1){n3=!0;var e=0,t=tc;try{var r=n1;for(tc=1;e<r.length;e++){var n=r[e];do n=n(!0);while(null!==n)}n1=null,n2=!1}catch(t){throw null!==n1&&(n1=n1.slice(e+1)),eK(e1,n5),t}finally{tc=t,n3=!1}}return null}var n8=[],n6=0,n9=null,n7=0,ae=[],at=0,ar=null,an=1,aa="";function ao(e,t){n8[n6++]=n7,n8[n6++]=n9,n9=e,n7=t}function ai(e,t,r){ae[at++]=an,ae[at++]=aa,ae[at++]=ar,ar=e;var n=an;e=aa;var a=32-e9(n)-1;n&=~(1<<a),r+=1;var o=32-e9(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,an=1<<32-e9(t)+a|r<<a|n,aa=o+e}else an=1<<o|r<<a|n,aa=e}function al(e){null!==e.return&&(ao(e,1),ai(e,1,0))}function as(e){for(;e===n9;)n9=n8[--n6],n8[n6]=null,n7=n8[--n6],n8[n6]=null;for(;e===ar;)ar=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,an=ae[--at],ae[at]=null}var au=null,ac=null,ad=!1,af=null;function ap(e,t){var r=lK(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function ah(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,au=e,ac=nT(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,ac=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==ar?{id:an,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=lK(18,null,null,0)).stateNode=t,r.return=e,e.child=r,au=e,ac=null,!0);default:return!1}}function ag(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(ad){var t=ac;if(t){var r=t;if(!ah(e,t)){if(ag(e))throw Error(d(418));t=nT(r.nextSibling);var n=au;t&&ah(e,t)?ap(n,r):(e.flags=-4097&e.flags|2,ad=!1,au=e)}}else{if(ag(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,au=e}}}function ab(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ay(e){if(e!==au)return!1;if(!ad)return ab(e),ad=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!nv(e.type,e.memoizedProps)),t&&(t=ac)){if(ag(e))throw av(),Error(d(418));for(;t;)ap(e,t),t=nT(t.nextSibling)}if(ab(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,r=e.data;if("/$"===r){if(0===t){ac=nT(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ac=null}}else ac=au?nT(e.stateNode.nextSibling):null;return!0}function av(){for(var e=ac;e;)e=nT(e.nextSibling)}function aw(){ac=au=null,ad=!1}function ax(e){null===af?af=[e]:af.push(e)}var aS=T.ReactCurrentBatchConfig;function aE(e,t){if(e&&e.defaultProps)for(var r in t=W({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var a_=nB(null),ak=null,aT=null,aO=null;function aR(){aO=aT=ak=null}function aI(e){var t=a_.current;nH(a_),e._currentValue=t}function aP(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function aC(e,t){ak=e,aO=aT=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(il=!0),e.firstContext=null)}function aL(e){var t=e._currentValue;if(aO!==e){if(e={context:e,memoizedValue:t,next:null},null===aT){if(null===ak)throw Error(d(308));aT=e,ak.dependencies={lanes:0,firstContext:e}}else aT=aT.next=e}return t}var aj=null;function aD(e){null===aj?aj=[e]:aj.push(e)}function aA(e,t,r,n){var a=t.interleaved;return null===a?(r.next=r,aD(t)):(r.next=a.next,a.next=r),t.interleaved=r,aN(e,n)}function aN(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var aM=!1;function az(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aU(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aF(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function aB(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&i5)){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,aN(e,r)}return null===(a=n.interleaved)?(t.next=t,aD(n)):(t.next=a.next,a.next=t),n.interleaved=t,aN(e,r)}function aH(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}function aW(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?a=o=i:o=o.next=i,r=r.next}while(null!==r)null===o?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function aG(e,t,r,n){var a=e.updateQueue;aM=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=r,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=W({},d,f);break e;case 2:aM=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);ln|=i,e.lanes=i,e.memoizedState=d}}function aV(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],a=n.callback;if(null!==a){if(n.callback=null,n=r,"function"!=typeof a)throw Error(d(191,a));a.call(n)}}}var a$=(new u.Component).refs;function aq(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:W({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var aY={isMounted:function(e){return!!(e=e._reactInternals)&&eV(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=lx(),a=lS(e),o=aF(n,a);o.payload=t,null!=r&&(o.callback=r),null!==(t=aB(e,o,a))&&(lE(t,e,a,n),aH(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=lx(),a=lS(e),o=aF(n,a);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=aB(e,o,a))&&(lE(t,e,a,n),aH(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=lx(),n=lS(e),a=aF(r,n);a.tag=2,null!=t&&(a.callback=t),null!==(t=aB(e,a,n))&&(lE(t,e,n,r),aH(t,e,n))}};function aK(e,t,r,n,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!t.prototype||!t.prototype.isPureReactComponent||!rM(r,n)||!rM(a,o)}function aX(e,t,r){var n=!1,a=nG,o=t.contextType;return"object"==typeof o&&null!==o?o=aL(o):(a=nK(t)?nq:nV.current,o=(n=null!=(n=t.contextTypes))?nY(e,a):nG),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=aY,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function aZ(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&aY.enqueueReplaceState(t,t.state,null)}function aQ(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs=a$,az(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=aL(o):(o=nK(t)?nq:nV.current,a.context=nY(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(aq(e,t,o,r),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&aY.enqueueReplaceState(a,a.state,null),aG(e,r,a,n),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function aJ(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(d(309));var n=r.stateNode}if(!n)throw Error(d(147,e));var a=n,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;t===a$&&(t=a.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!r._owner)throw Error(d(290,e))}return e}function a0(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function a1(e){return(0,e._init)(e._payload)}function a2(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=lZ(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?(t=l1(r,e.mode,n)).return=e:(t=a(t,r)).return=e,t}function s(e,t,r,n){var o=r.type;return o===I?c(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===z&&a1(o)===t.type)?(n=a(t,r.props)).ref=aJ(e,t,r):(n=lQ(r.type,r.key,r.props,null,e.mode,n)).ref=aJ(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=l2(r,e.mode,n)).return=e:(t=a(t,r.children||[])).return=e,t}function c(e,t,r,n,o){return null===t||7!==t.tag?(t=lJ(r,e.mode,n,o)).return=e:(t=a(t,r)).return=e,t}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=l1(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return(r=lQ(t.type,t.key,t.props,null,e.mode,r)).ref=aJ(e,null,t),r.return=e,r;case R:return(t=l2(t,e.mode,r)).return=e,t;case z:return f(e,(0,t._init)(t._payload),r)}if(ea(t)||B(t))return(t=lJ(t,e.mode,r,null)).return=e,t;a0(e,t)}return null}function p(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return r.key===a?s(e,t,r,n):null;case R:return r.key===a?u(e,t,r,n):null;case z:return p(e,t,(a=r._init)(r._payload),n)}if(ea(r)||B(r))return null!==a?null:c(e,t,r,n,null);a0(e,r)}return null}function h(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return s(t,e=e.get(null===n.key?r:n.key)||null,n,a);case R:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case z:return h(e,t,r,(0,n._init)(n._payload),a)}if(ea(n)||B(n))return c(t,e=e.get(r)||null,n,a,null);a0(t,n)}return null}return function l(s,u,c,g){if("object"==typeof c&&null!==c&&c.type===I&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case O:e:{for(var m=c.key,b=u;null!==b;){if(b.key===m){if((m=c.type)===I){if(7===b.tag){r(s,b.sibling),(u=a(b,c.props.children)).return=s,s=u;break e}}else if(b.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===z&&a1(m)===b.type){r(s,b.sibling),(u=a(b,c.props)).ref=aJ(s,b,c),u.return=s,s=u;break e}r(s,b);break}t(s,b),b=b.sibling}c.type===I?((u=lJ(c.props.children,s.mode,g,c.key)).return=s,s=u):((g=lQ(c.type,c.key,c.props,null,s.mode,g)).ref=aJ(s,u,c),g.return=s,s=g)}return i(s);case R:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){r(s,u.sibling),(u=a(u,c.children||[])).return=s,s=u;break e}r(s,u);break}t(s,u),u=u.sibling}(u=l2(c,s.mode,g)).return=s,s=u}return i(s);case z:return l(s,u,(b=c._init)(c._payload),g)}if(ea(c))return function(a,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var b=p(a,d,l[g],s);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,g),null===c?u=b:c.sibling=b,c=b,d=m}if(g===l.length)return r(a,d),ad&&ao(a,g),u;if(null===d){for(;g<l.length;g++)null!==(d=f(a,l[g],s))&&(i=o(d,i,g),null===c?u=d:c.sibling=d,c=d);return ad&&ao(a,g),u}for(d=n(a,d);g<l.length;g++)null!==(m=h(d,a,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=o(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(a,e)}),ad&&ao(a,g),u}(s,u,c,g);if(B(c))return function(a,i,l,s){var u=B(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,g=i,m=i=0,b=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var v=p(a,g,y.value,s);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(a,g),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,g=b}if(y.done)return r(a,g),ad&&ao(a,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=f(a,y.value,s))&&(i=o(y,i,m),null===c?u=y:c.sibling=y,c=y);return ad&&ao(a,m),u}for(g=n(a,g);!y.done;m++,y=l.next())null!==(y=h(g,a,m,y.value,s))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),i=o(y,i,m),null===c?u=y:c.sibling=y,c=y);return e&&g.forEach(function(e){return t(a,e)}),ad&&ao(a,m),u}(s,u,c,g);a0(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(r(s,u.sibling),(u=a(u,c)).return=s):(r(s,u),(u=l1(c,s.mode,g)).return=s),i(s=u)):r(s,u)}}var a3=a2(!0),a4=a2(!1),a5={},a8=nB(a5),a6=nB(a5),a9=nB(a5);function a7(e){if(e===a5)throw Error(d(174));return e}function oe(e,t){switch(nW(a9,t),nW(a6,e),nW(a8,a5),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=ed(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}nH(a8),nW(a8,t)}function ot(){nH(a8),nH(a6),nH(a9)}function or(e){a7(a9.current);var t=a7(a8.current),r=ed(t,e.type);t!==r&&(nW(a6,e),nW(a8,r))}function on(e){a6.current===e&&(nH(a8),nH(a6))}var oa=nB(0);function oo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=[];function ol(){for(var e=0;e<oi.length;e++)oi[e]._workInProgressVersionPrimary=null;oi.length=0}var os=T.ReactCurrentDispatcher,ou=T.ReactCurrentBatchConfig,oc=0,od=null,of=null,op=null,oh=!1,og=!1,om=0,ob=0;function oy(){throw Error(d(321))}function ov(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!rN(e[r],t[r]))return!1;return!0}function ow(e,t,r,n,a,o){if(oc=o,od=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,os.current=null===e||null===e.memoizedState?o3:o4,e=r(n,a),og){o=0;do{if(og=!1,om=0,25<=o)throw Error(d(301));o+=1,op=of=null,t.updateQueue=null,os.current=o5,e=r(n,a)}while(og)}if(os.current=o2,t=null!==of&&null!==of.next,oc=0,op=of=od=null,oh=!1,t)throw Error(d(300));return e}function ox(){var e=0!==om;return om=0,e}function oS(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===op?od.memoizedState=op=e:op=op.next=e,op}function oE(){if(null===of){var e=od.alternate;e=null!==e?e.memoizedState:null}else e=of.next;var t=null===op?od.memoizedState:op.next;if(null!==t)op=t,of=e;else{if(null===e)throw Error(d(310));e={memoizedState:(of=e).memoizedState,baseState:of.baseState,baseQueue:of.baseQueue,queue:of.queue,next:null},null===op?od.memoizedState=op=e:op=op.next=e}return op}function o_(e,t){return"function"==typeof t?t(e):t}function ok(e){var t=oE(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=of,a=n.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(null!==a){o=a.next,n=n.baseState;var l=i=null,s=null,u=o;do{var c=u.lane;if((oc&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=n):s=s.next=f,od.lanes|=c,ln|=c}u=u.next}while(null!==u&&u!==o)null===s?i=n:s.next=l,rN(n,t.memoizedState)||(il=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=s,r.lastRenderedState=n}if(null!==(e=r.interleaved)){a=e;do o=a.lane,od.lanes|=o,ln|=o,a=a.next;while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function oT(e){var t=oE(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(null!==a){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)rN(o,t.memoizedState)||(il=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function oO(){}function oR(e,t){var r=od,n=oE(),a=t(),o=!rN(n.memoizedState,a);if(o&&(n.memoizedState=a,il=!0),n=n.queue,oF(oC.bind(null,r,n,e),[e]),n.getSnapshot!==t||o||null!==op&&1&op.memoizedState.tag){if(r.flags|=2048,oA(9,oP.bind(null,r,n,a,t),void 0,null),null===i8)throw Error(d(349));0!=(30&oc)||oI(r,t,a)}return a}function oI(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=od.updateQueue)?(t={lastEffect:null,stores:null},od.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function oP(e,t,r,n){t.value=r,t.getSnapshot=n,oL(t)&&oj(e)}function oC(e,t,r){return r(function(){oL(t)&&oj(e)})}function oL(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!rN(e,r)}catch(e){return!0}}function oj(e){var t=aN(e,1);null!==t&&lE(t,e,1,-1)}function oD(e){var t=oS();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o_,lastRenderedState:e},t.queue=e,e=e.dispatch=oQ.bind(null,od,e),[t.memoizedState,e]}function oA(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=od.updateQueue)?(t={lastEffect:null,stores:null},od.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function oN(){return oE().memoizedState}function oM(e,t,r,n){var a=oS();od.flags|=e,a.memoizedState=oA(1|t,r,void 0,void 0===n?null:n)}function oz(e,t,r,n){var a=oE();n=void 0===n?null:n;var o=void 0;if(null!==of){var i=of.memoizedState;if(o=i.destroy,null!==n&&ov(n,i.deps)){a.memoizedState=oA(t,r,o,n);return}}od.flags|=e,a.memoizedState=oA(1|t,r,o,n)}function oU(e,t){return oM(8390656,8,e,t)}function oF(e,t){return oz(2048,8,e,t)}function oB(e,t){return oz(4,2,e,t)}function oH(e,t){return oz(4,4,e,t)}function oW(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oG(e,t,r){return r=null!=r?r.concat([e]):null,oz(4,4,oW.bind(null,t,e),r)}function oV(){}function o$(e,t){var r=oE();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ov(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function oq(e,t){var r=oE();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ov(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function oY(e,t,r){return 0==(21&oc)?(e.baseState&&(e.baseState=!1,il=!0),e.memoizedState=r):(rN(r,t)||(r=ti(),od.lanes|=r,ln|=r,e.baseState=!0),t)}function oK(e,t){var r=tc;tc=0!==r&&4>r?r:4,e(!0);var n=ou.transition;ou.transition={};try{e(!1),t()}finally{tc=r,ou.transition=n}}function oX(){return oE().memoizedState}function oZ(e,t,r){var n=lS(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},oJ(e)?o0(t,r):null!==(r=aA(e,t,r,n))&&(lE(r,e,n,lx()),o1(r,t,n))}function oQ(e,t,r){var n=lS(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(oJ(e))o0(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,r);if(a.hasEagerState=!0,a.eagerState=l,rN(l,i)){var s=t.interleaved;null===s?(a.next=a,aD(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(r=aA(e,t,a,n))&&(lE(r,e,n,a=lx()),o1(r,t,n))}}function oJ(e){var t=e.alternate;return e===od||null!==t&&t===od}function o0(e,t){og=oh=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function o1(e,t,r){if(0!=(4194240&r)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}var o2={readContext:aL,useCallback:oy,useContext:oy,useEffect:oy,useImperativeHandle:oy,useInsertionEffect:oy,useLayoutEffect:oy,useMemo:oy,useReducer:oy,useRef:oy,useState:oy,useDebugValue:oy,useDeferredValue:oy,useTransition:oy,useMutableSource:oy,useSyncExternalStore:oy,useId:oy,unstable_isNewReconciler:!1},o3={readContext:aL,useCallback:function(e,t){return oS().memoizedState=[e,void 0===t?null:t],e},useContext:aL,useEffect:oU,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,oM(4194308,4,oW.bind(null,t,e),r)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){return oM(4,2,e,t)},useMemo:function(e,t){var r=oS();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=oS();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=oZ.bind(null,od,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},oS().memoizedState=e},useState:oD,useDebugValue:oV,useDeferredValue:function(e){return oS().memoizedState=e},useTransition:function(){var e=oD(!1),t=e[0];return e=oK.bind(null,e[1]),oS().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=od,a=oS();if(ad){if(void 0===r)throw Error(d(407));r=r()}else{if(r=t(),null===i8)throw Error(d(349));0!=(30&oc)||oI(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,oU(oC.bind(null,n,o,e),[e]),n.flags|=2048,oA(9,oP.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=oS(),t=i8.identifierPrefix;if(ad){var r=aa,n=an;t=":"+t+"R"+(r=(n&~(1<<32-e9(n)-1)).toString(32)+r),0<(r=om++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=ob++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o4={readContext:aL,useCallback:o$,useContext:aL,useEffect:oF,useImperativeHandle:oG,useInsertionEffect:oB,useLayoutEffect:oH,useMemo:oq,useReducer:ok,useRef:oN,useState:function(){return ok(o_)},useDebugValue:oV,useDeferredValue:function(e){return oY(oE(),of.memoizedState,e)},useTransition:function(){return[ok(o_)[0],oE().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1},o5={readContext:aL,useCallback:o$,useContext:aL,useEffect:oF,useImperativeHandle:oG,useInsertionEffect:oB,useLayoutEffect:oH,useMemo:oq,useReducer:oT,useRef:oN,useState:function(){return oT(o_)},useDebugValue:oV,useDeferredValue:function(e){var t=oE();return null===of?t.memoizedState=e:oY(t,of.memoizedState,e)},useTransition:function(){return[oT(o_)[0],oE().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1};function o8(e,t){try{var r="",n=t;do r+=function(e){switch(e.tag){case 5:return G(e.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 1:return e=$(e.type,!0);default:return""}}(n),n=n.return;while(n)var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o6(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function o9(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o7="function"==typeof WeakMap?WeakMap:Map;function ie(e,t,r){(r=aF(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ld||(ld=!0,lf=n),o9(e,t)},r}function it(e,t,r){(r=aF(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){o9(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){o9(e,t),"function"!=typeof n&&(null===lp?lp=new Set([this]):lp.add(this));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}function ir(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new o7;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=lG.bind(null,e,t,r),t.then(e,e))}function ia(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e)return null}function io(e,t,r,n,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=aF(-1,1)).tag=2,aB(r,t,1))),r.lanes|=1):(e.flags|=65536,e.lanes=a),e}var ii=T.ReactCurrentOwner,il=!1;function is(e,t,r,n){t.child=null===e?a4(t,null,r,n):a3(t,e.child,r,n)}function iu(e,t,r,n,a){r=r.render;var o=t.ref;return(aC(t,a),n=ow(e,t,r,n,o,a),r=ox(),null===e||il)?(ad&&r&&al(t),t.flags|=1,is(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iI(e,t,a))}function ic(e,t,r,n,a){if(null===e){var o=r.type;return"function"!=typeof o||lX(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=lQ(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,id(e,t,o,n,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:rM)(i,n)&&e.ref===t.ref)return iI(e,t,a)}return t.flags|=1,(e=lZ(o,n)).ref=t.ref,e.return=t,t.child=e}function id(e,t,r,n,a){if(null!==e){var o=e.memoizedProps;if(rM(o,n)&&e.ref===t.ref){if(il=!1,t.pendingProps=n=o,0==(e.lanes&a))return t.lanes=e.lanes,iI(e,t,a);0!=(131072&e.flags)&&(il=!0)}}return ig(e,t,r,n,a)}function ip(e,t,r){var n=t.pendingProps,a=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nW(le,i7),i7|=r;else{if(0==(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nW(le,i7),i7|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,nW(le,i7),i7|=n}}else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,nW(le,i7),i7|=n;return is(e,t,a,r),t.child}function ih(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ig(e,t,r,n,a){var o=nK(r)?nq:nV.current;return(o=nY(t,o),aC(t,a),r=ow(e,t,r,n,o,a),n=ox(),null===e||il)?(ad&&n&&al(t),t.flags|=1,is(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iI(e,t,a))}function im(e,t,r,n,a){if(nK(r)){var o=!0;nJ(t)}else o=!1;if(aC(t,a),null===t.stateNode)iR(e,t),aX(t,r,n),aQ(t,r,n,a),n=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=r.contextType;u="object"==typeof u&&null!==u?aL(u):nY(t,u=nK(r)?nq:nV.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==n||s!==u)&&aZ(t,i,n,u),aM=!1;var f=t.memoizedState;i.state=f,aG(t,n,i,a),s=t.memoizedState,l!==n||f!==s||n$.current||aM?("function"==typeof c&&(aq(t,r,c,n),s=t.memoizedState),(l=aM||aK(t,r,l,n,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=s),i.props=n,i.state=s,i.context=u,n=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,aU(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:aE(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=r.contextType)&&null!==s?aL(s):nY(t,s=nK(r)?nq:nV.current);var p=r.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&aZ(t,i,n,s),aM=!1,f=t.memoizedState,i.state=f,aG(t,n,i,a);var h=t.memoizedState;l!==d||f!==h||n$.current||aM?("function"==typeof p&&(aq(t,r,p,n),h=t.memoizedState),(u=aM||aK(t,r,u,n,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=s,n=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return ib(e,t,r,n,o,a)}function ib(e,t,r,n,a,o){ih(e,t);var i=0!=(128&t.flags);if(!n&&!i)return a&&n0(t,r,!1),iI(e,t,o);n=t.stateNode,ii.current=t;var l=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=a3(t,e.child,null,o),t.child=a3(t,null,l,o)):is(e,t,l,o),t.memoizedState=n.state,a&&n0(t,r,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?nZ(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nZ(e,t.context,!1),oe(e,t.containerInfo)}function iv(e,t,r,n,a){return aw(),ax(a),t.flags|=256,is(e,t,r,n),t.child}var iw={dehydrated:null,treeContext:null,retryLane:0};function ix(e){return{baseLanes:e,cachePool:null,transitions:null}}function iS(e,t,r){var n,a=t.pendingProps,o=oa.current,i=!1,l=0!=(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&0!=(2&o)),n?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),nW(oa,1&o),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l0(l,a,0,null),e=lJ(e,a,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ix(r),t.memoizedState=iw,e):iE(t,l));if(null!==(o=e.memoizedState)&&null!==(n=o.dehydrated))return function(e,t,r,n,a,o,i){if(r)return 256&t.flags?(t.flags&=-257,i_(e,t,i,n=o6(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=n.fallback,a=t.mode,n=l0({mode:"visible",children:n.children},a,0,null),o=lJ(o,a,i,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,0!=(1&t.mode)&&a3(t,e.child,null,i),t.child.memoizedState=ix(i),t.memoizedState=iw,o);if(0==(1&t.mode))return i_(e,t,i,null);if("$!"===a.data){if(n=a.nextSibling&&a.nextSibling.dataset)var l=n.dgst;return n=l,i_(e,t,i,n=o6(o=Error(d(419)),n,void 0))}if(l=0!=(i&e.childLanes),il||l){if(null!==(n=i8)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(n.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aN(e,a),lE(n,e,a,-1))}return lN(),i_(e,t,i,n=o6(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=l$.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=nT(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=an,ae[at++]=aa,ae[at++]=ar,an=e.id,aa=e.overflow,ar=t),t=iE(t,n.children),t.flags|=4096,t)}(e,t,l,a,n,o,r);if(i){i=a.fallback,l=t.mode,n=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lZ(o,s)).subtreeFlags=14680064&o.subtreeFlags,null!==n?i=lZ(n,i):(i=lJ(i,l,r,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?ix(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=iw,a}return e=(i=e.child).sibling,a=lZ(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function iE(e,t){return(t=l0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function i_(e,t,r,n){return null!==n&&ax(n),a3(t,e.child,null,r),e=iE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ik(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),aP(e.return,t,r)}function iT(e,t,r,n,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=a)}function iO(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;if(is(e,t,n.children,r),0!=(2&(n=oa.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ik(e,r,t);else if(19===e.tag)ik(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(nW(oa,n),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===oo(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),iT(t,!1,a,r,o);break;case"backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oo(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}iT(t,!0,r,null,o);break;case"together":iT(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iR(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iI(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),ln|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(r=lZ(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=lZ(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function iP(e,t){if(!ad)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function iC(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=14680064&a.subtreeFlags,n|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}a=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},o=function(){},i=function(e,t,r,n){var a=e.memoizedProps;if(a!==n){e=t.stateNode,a7(a8.current);var o,i=null;switch(r){case"input":a=Q(e,a),n=Q(e,n),i=[];break;case"select":a=W({},a,{value:void 0}),n=W({},n,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),n=ei(e,n),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(e.onclick=nm)}for(u in ex(r,n),r=null,a)if(!n.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in n){var s=n[u];if(l=null!=a?a[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(i||(i=[]),i.push(u,r)),r=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&nr("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,r,n){r!==n&&(t.flags|=4)};var iL=!1,ij=!1,iD="function"==typeof WeakSet?WeakSet:Set,iA=null;function iN(e,t){var r=e.ref;if(null!==r){if("function"==typeof r)try{r(null)}catch(r){lW(e,t,r)}else r.current=null}}function iM(e,t,r){try{r()}catch(r){lW(e,t,r)}}var iz=!1;function iU(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iM(t,r,o)}a=a.next}while(a!==n)}}function iF(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function iB(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function iH(e){return 5===e.tag||3===e.tag||4===e.tag}function iW(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iG=null,iV=!1;function i$(e,t,r){for(r=r.child;null!==r;)iq(e,t,r),r=r.sibling}function iq(e,t,r){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e8,r)}catch(e){}switch(r.tag){case 5:ij||iN(r,t);case 6:var n=iG,a=iV;iG=null,i$(e,t,r),iG=n,iV=a,null!==iG&&(iV?(e=iG,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):iG.removeChild(r.stateNode));break;case 18:null!==iG&&(iV?(e=iG,r=r.stateNode,8===e.nodeType?nk(e.parentNode,r):1===e.nodeType&&nk(e,r),tj(e)):nk(iG,r.stateNode));break;case 4:n=iG,a=iV,iG=r.stateNode.containerInfo,iV=!0,i$(e,t,r),iG=n,iV=a;break;case 0:case 11:case 14:case 15:if(!ij&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iM(r,t,i):0!=(4&o)&&iM(r,t,i)),a=a.next}while(a!==n)}i$(e,t,r);break;case 1:if(!ij&&(iN(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){lW(r,t,e)}i$(e,t,r);break;case 21:default:i$(e,t,r);break;case 22:1&r.mode?(ij=(n=ij)||null!==r.memoizedState,i$(e,t,r),ij=n):i$(e,t,r)}}function iY(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new iD),t.forEach(function(t){var n=lq.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function iK(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var a=r[n];try{var o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:iG=i.stateNode,iV=!1;break e;case 3:case 4:iG=i.stateNode.containerInfo,iV=!0;break e}i=i.return}if(null===iG)throw Error(d(160));iq(e,o,a),iG=null,iV=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(e){lW(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)iX(t,e),t=t.sibling}function iX(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iK(t,e),iZ(e),4&n){try{iU(3,e,e.return),iF(3,e)}catch(t){lW(e,e.return,t)}try{iU(5,e,e.return)}catch(t){lW(e,e.return,t)}}break;case 1:iK(t,e),iZ(e),512&n&&null!==r&&iN(r,r.return);break;case 5:if(iK(t,e),iZ(e),512&n&&null!==r&&iN(r,r.return),32&e.flags){var a=e.stateNode;try{eg(a,"")}catch(t){lW(e,e.return,t)}}if(4&n&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==r?r.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===o.type&&null!=o.name&&ee(a,o),eS(l,i);var u=eS(l,o);for(i=0;i<s.length;i+=2){var c=s[i],f=s[i+1];"style"===c?ev(a,f):"dangerouslySetInnerHTML"===c?eh(a,f):"children"===c?eg(a,f):k(a,c,f,u)}switch(l){case"input":et(a,o);break;case"textarea":es(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?eo(a,!!o.multiple,h,!1):!!o.multiple!==p&&(null!=o.defaultValue?eo(a,!!o.multiple,o.defaultValue,!0):eo(a,!!o.multiple,o.multiple?[]:"",!1))}a[nP]=o}catch(t){lW(e,e.return,t)}}break;case 6:if(iK(t,e),iZ(e),4&n){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){lW(e,e.return,t)}}break;case 3:if(iK(t,e),iZ(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{tj(t.containerInfo)}catch(t){lW(e,e.return,t)}break;case 4:default:iK(t,e),iZ(e);break;case 13:iK(t,e),iZ(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,o&&(null===a.alternate||null===a.alternate.memoizedState)&&(ls=eJ())),4&n&&iY(e);break;case 22:if(c=null!==r&&null!==r.memoizedState,1&e.mode?(ij=(u=ij)||c,iK(t,e),ij=u):iK(t,e),iZ(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(iA=e,c=e.child;null!==c;){for(f=iA=c;null!==iA;){switch(h=(p=iA).child,p.tag){case 0:case 11:case 14:case 15:iU(4,p,p.return);break;case 1:iN(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){lW(n,r,e)}}break;case 5:iN(p,p.return);break;case 22:if(null!==p.memoizedState){iJ(f);continue}}null!==h?(h.return=p,iA=h):iJ(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{a=f.stateNode,u?(o=a.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,i=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=ey("display",i))}catch(t){lW(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){lW(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:iK(t,e),iZ(e),4&n&&iY(e);case 21:}}function iZ(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(iH(r)){var n=r;break e}r=r.return}throw Error(d(160))}switch(n.tag){case 5:var a=n.stateNode;32&n.flags&&(eg(a,""),n.flags&=-33);var o=iW(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,o,a);break;case 3:case 4:var i=n.stateNode.containerInfo,l=iW(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?8===n.nodeType?n.parentNode.insertBefore(t,r):n.insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=nm));else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,l,i);break;default:throw Error(d(161))}}catch(t){lW(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iQ(e){for(;null!==iA;){var t=iA;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:ij||iF(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!ij){if(null===r)n.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:aE(t.type,r.memoizedProps);n.componentDidUpdate(a,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&aV(t,o,n);break;case 3:var i=t.updateQueue;if(null!==i){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}aV(t,i,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tj(f)}}}break;default:throw Error(d(163))}ij||512&t.flags&&iB(t)}catch(e){lW(t,t.return,e)}}if(t===e){iA=null;break}if(null!==(r=t.sibling)){r.return=t.return,iA=r;break}iA=t.return}}function iJ(e){for(;null!==iA;){var t=iA;if(t===e){iA=null;break}var r=t.sibling;if(null!==r){r.return=t.return,iA=r;break}iA=t.return}}function i0(e){for(;null!==iA;){var t=iA;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{iF(4,t)}catch(e){lW(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var a=t.return;try{n.componentDidMount()}catch(e){lW(t,a,e)}}var o=t.return;try{iB(t)}catch(e){lW(t,o,e)}break;case 5:var i=t.return;try{iB(t)}catch(e){lW(t,i,e)}}}catch(e){lW(t,t.return,e)}if(t===e){iA=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iA=l;break}iA=t.return}}var i1=Math.ceil,i2=T.ReactCurrentDispatcher,i3=T.ReactCurrentOwner,i4=T.ReactCurrentBatchConfig,i5=0,i8=null,i6=null,i9=0,i7=0,le=nB(0),lt=0,lr=null,ln=0,la=0,lo=0,li=null,ll=null,ls=0,lu=1/0,lc=null,ld=!1,lf=null,lp=null,lh=!1,lg=null,lm=0,lb=0,ly=null,lv=-1,lw=0;function lx(){return 0!=(6&i5)?eJ():-1!==lv?lv:lv=eJ()}function lS(e){return 0==(1&e.mode)?1:0!=(2&i5)&&0!==i9?i9&-i9:null!==aS.transition?(0===lw&&(lw=ti()),lw):0!==(e=tc)?e:e=void 0===(e=window.event)?16:tB(e.type)}function lE(e,t,r,n){if(50<lb)throw lb=0,ly=null,Error(d(185));ts(e,r,n),(0==(2&i5)||e!==i8)&&(e===i8&&(0==(2&i5)&&(la|=r),4===lt&&lR(e,i9)),l_(e,n),1===r&&0===i5&&0==(1&t.mode)&&(lu=eJ()+500,n2&&n5()))}function l_(e,t){var r,n,a,o=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-e9(o),l=1<<i,s=a[i];-1===s?(0==(l&r)||0!=(l&n))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var i=ta(e,e===i8?i9:0);if(0===i)null!==o&&eX(o),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=o&&eX(o),1===t)0===e.tag?(a=lI.bind(null,e),n2=!0,n4(a)):n4(lI.bind(null,e)),nE(function(){0==(6&i5)&&n5()}),o=null;else{switch(td(i)){case 1:o=e1;break;case 4:o=e2;break;case 16:default:o=e3;break;case 536870912:o=e5}o=eK(o,lk.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function lk(e,t){if(lv=-1,lw=0,0!=(6&i5))throw Error(d(327));var r=e.callbackNode;if(lB()&&e.callbackNode!==r)return null;var n=ta(e,e===i8?i9:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=lM(e,n);else{t=n;var a=i5;i5|=2;var o=lA();for((i8!==e||i9!==t)&&(lc=null,lu=eJ()+500,lj(e,t));;)try{(function(){for(;null!==i6&&!eZ();)lz(i6)})();break}catch(t){lD(e,t)}aR(),i2.current=o,i5=a,null!==i6?t=0:(i8=null,i9=0,t=lt)}if(0!==t){if(2===t&&0!==(a=to(e))&&(n=a,t=lT(e,a)),1===t)throw r=lr,lj(e,0),lR(e,n),l_(e,eJ()),r;if(6===t)lR(e,n);else{if(a=e.current.alternate,0==(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],o=a.getSnapshot;a=a.value;try{if(!rN(o(),a))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=lM(e,n))&&0!==(o=to(e))&&(n=o,t=lT(e,o)),1===t))throw r=lr,lj(e,0),lR(e,n),l_(e,eJ()),r;switch(e.finishedWork=a,e.finishedLanes=n,t){case 0:case 1:throw Error(d(345));case 2:case 5:lF(e,ll,lc);break;case 3:if(lR(e,n),(130023424&n)===n&&10<(t=ls+500-eJ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&n)!==n){lx(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=nw(lF.bind(null,e,ll,lc),t);break}lF(e,ll,lc);break;case 4:if(lR(e,n),(4194240&n)===n)break;for(a=-1,t=e.eventTimes;0<n;){var i=31-e9(n);o=1<<i,(i=t[i])>a&&(a=i),n&=~o}if(n=a,10<(n=(120>(n=eJ()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*i1(n/1960))-n)){e.timeoutHandle=nw(lF.bind(null,e,ll,lc),n);break}lF(e,ll,lc);break;default:throw Error(d(329))}}}return l_(e,eJ()),e.callbackNode===r?lk.bind(null,e):null}function lT(e,t){var r=li;return e.current.memoizedState.isDehydrated&&(lj(e,t).flags|=256),2!==(e=lM(e,t))&&(t=ll,ll=r,null!==t&&lO(t)),e}function lO(e){null===ll?ll=e:ll.push.apply(ll,e)}function lR(e,t){for(t&=~lo,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-e9(t),n=1<<r;e[r]=-1,t&=~n}}function lI(e){if(0!=(6&i5))throw Error(d(327));lB();var t=ta(e,0);if(0==(1&t))return l_(e,eJ()),null;var r=lM(e,t);if(0!==e.tag&&2===r){var n=to(e);0!==n&&(t=n,r=lT(e,n))}if(1===r)throw r=lr,lj(e,0),lR(e,t),l_(e,eJ()),r;if(6===r)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lF(e,ll,lc),l_(e,eJ()),null}function lP(e,t){var r=i5;i5|=1;try{return e(t)}finally{0===(i5=r)&&(lu=eJ()+500,n2&&n5())}}function lC(e){null!==lg&&0===lg.tag&&0==(6&i5)&&lB();var t=i5;i5|=1;var r=i4.transition,n=tc;try{if(i4.transition=null,tc=1,e)return e()}finally{tc=n,i4.transition=r,0==(6&(i5=t))&&n5()}}function lL(){i7=le.current,nH(le)}function lj(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nx(r)),null!==i6)for(r=i6.return;null!==r;){var n=r;switch(as(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&nX();break;case 3:ot(),nH(n$),nH(nV),ol();break;case 5:on(n);break;case 4:ot();break;case 13:case 19:nH(oa);break;case 10:aI(n.type._context);break;case 22:case 23:lL()}r=r.return}if(i8=e,i6=e=lZ(e.current,null),i9=i7=t,lt=0,lr=null,lo=la=ln=0,ll=li=null,null!==aj){for(t=0;t<aj.length;t++)if(null!==(n=(r=aj[t]).interleaved)){r.interleaved=null;var a=n.next,o=r.pending;if(null!==o){var i=o.next;o.next=a,n.next=i}r.pending=n}aj=null}return e}function lD(e,t){for(;;){var r=i6;try{if(aR(),os.current=o2,oh){for(var n=od.memoizedState;null!==n;){var a=n.queue;null!==a&&(a.pending=null),n=n.next}oh=!1}if(oc=0,op=of=od=null,og=!1,om=0,i3.current=null,null===r||null===r.return){lt=1,lr=t,i6=null;break}e:{var o=e,i=r.return,l=r,s=t;if(t=i9,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ia(i);if(null!==h){h.flags&=-257,io(h,i,l,o,t),1&h.mode&&ir(o,u,t),t=h,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){ir(o,u,t),lN();break e}s=Error(d(426))}else if(ad&&1&l.mode){var b=ia(i);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),io(b,i,l,o,t),ax(o8(s,l));break e}}o=s=o8(s,l),4!==lt&&(lt=2),null===li?li=[o]:li.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=ie(o,s,t);aW(o,y);break e;case 1:l=s;var v=o.type,w=o.stateNode;if(0==(128&o.flags)&&("function"==typeof v.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===lp||!lp.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=it(o,l,t);aW(o,x);break e}}o=o.return}while(null!==o)}lU(r)}catch(e){t=e,i6===r&&null!==r&&(i6=r=r.return);continue}break}}function lA(){var e=i2.current;return i2.current=o2,null===e?o2:e}function lN(){(0===lt||3===lt||2===lt)&&(lt=4),null===i8||0==(268435455&ln)&&0==(268435455&la)||lR(i8,i9)}function lM(e,t){var r=i5;i5|=2;var n=lA();for((i8!==e||i9!==t)&&(lc=null,lj(e,t));;)try{(function(){for(;null!==i6;)lz(i6)})();break}catch(t){lD(e,t)}if(aR(),i5=r,i2.current=n,null!==i6)throw Error(d(261));return i8=null,i9=0,lt}function lz(e){var t=s(e.alternate,e,i7);e.memoizedProps=e.pendingProps,null===t?lU(e):i6=t,i3.current=null}function lU(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=function(e,t,r){var n=t.pendingProps;switch(as(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iC(t),null;case 1:case 17:return nK(t.type)&&nX(),iC(t),null;case 3:return n=t.stateNode,ot(),nH(n$),nH(nV),ol(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(ay(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==af&&(lO(af),af=null))),o(e,t),iC(t),null;case 5:on(t);var s=a7(a9.current);if(r=t.type,null!==e&&null!=t.stateNode)i(e,t,r,n,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(d(166));return iC(t),null}if(e=a7(a8.current),ay(t)){n=t.stateNode,r=t.type;var u=t.memoizedProps;switch(n[nI]=t,n[nP]=u,e=0!=(1&t.mode),r){case"dialog":nr("cancel",n),nr("close",n);break;case"iframe":case"object":case"embed":nr("load",n);break;case"video":case"audio":for(s=0;s<r9.length;s++)nr(r9[s],n);break;case"source":nr("error",n);break;case"img":case"image":case"link":nr("error",n),nr("load",n);break;case"details":nr("toggle",n);break;case"input":J(n,u),nr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!u.multiple},nr("invalid",n);break;case"textarea":el(n,u),nr("invalid",n)}for(var c in ex(r,u),s=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?n.textContent!==f&&(!0!==u.suppressHydrationWarning&&ng(n.textContent,f,e),s=["children",f]):"number"==typeof f&&n.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&ng(n.textContent,f,e),s=["children",""+f]):p.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&nr("scroll",n)}switch(r){case"input":K(n),er(n,u,!0);break;case"textarea":K(n),eu(n);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(n.onclick=nm)}n=s,t.updateQueue=n,null!==n&&(t.flags|=4)}else{c=9===s.nodeType?s:s.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[nI]=t,e[nP]=n,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=eS(r,n),r){case"dialog":nr("cancel",e),nr("close",e),s=n;break;case"iframe":case"object":case"embed":nr("load",e),s=n;break;case"video":case"audio":for(s=0;s<r9.length;s++)nr(r9[s],e);s=n;break;case"source":nr("error",e),s=n;break;case"img":case"image":case"link":nr("error",e),nr("load",e),s=n;break;case"details":nr("toggle",e),s=n;break;case"input":J(e,n),s=Q(e,n),nr("invalid",e);break;case"option":default:s=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},s=W({},n,{value:void 0}),nr("invalid",e);break;case"textarea":el(e,n),s=ei(e,n),nr("invalid",e)}for(u in ex(r,s),f=s)if(f.hasOwnProperty(u)){var h=f[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===u?"string"==typeof h?("textarea"!==r||""!==h)&&eg(e,h):"number"==typeof h&&eg(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?null!=h&&"onScroll"===u&&nr("scroll",e):null!=h&&k(e,u,h,c))}switch(r){case"input":K(e),er(e,n,!1);break;case"textarea":K(e),eu(e);break;case"option":null!=n.value&&e.setAttribute("value",""+q(n.value));break;case"select":e.multiple=!!n.multiple,null!=(u=n.value)?eo(e,!!n.multiple,u,!1):null!=n.defaultValue&&eo(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=nm)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iC(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(d(166));if(r=a7(a9.current),a7(a8.current),ay(t)){if(n=t.stateNode,r=t.memoizedProps,n[nI]=t,(u=n.nodeValue!==r)&&null!==(e=au))switch(e.tag){case 3:ng(n.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&ng(n.nodeValue,r,0!=(1&e.mode))}u&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[nI]=t,t.stateNode=n}return iC(t),null;case 13:if(nH(oa),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==ac&&0!=(1&t.mode)&&0==(128&t.flags))av(),aw(),t.flags|=98560,u=!1;else if(u=ay(t),null!==n&&null!==n.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[nI]=t}else aw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iC(t),u=!1}else null!==af&&(lO(af),af=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=r,t;return(n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&oa.current)?0===lt&&(lt=3):lN())),null!==t.updateQueue&&(t.flags|=4),iC(t),null;case 4:return ot(),o(e,t),null===e&&no(t.stateNode.containerInfo),iC(t),null;case 10:return aI(t.type._context),iC(t),null;case 19:if(nH(oa),null===(u=t.memoizedState))return iC(t),null;if(n=0!=(128&t.flags),null===(c=u.rendering)){if(n)iP(u,!1);else{if(0!==lt||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=oo(e))){for(t.flags|=128,iP(u,!1),null!==(n=c.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)u=r,e=n,u.flags&=14680066,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return nW(oa,1&oa.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>lu&&(t.flags|=128,n=!0,iP(u,!1),t.lanes=4194304)}}else{if(!n){if(null!==(e=oo(c))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),iP(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iC(t),null}else 2*eJ()-u.renderingStartTime>lu&&1073741824!==r&&(t.flags|=128,n=!0,iP(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=u.last)?r.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,r=oa.current,nW(oa,n?1&r|2:1&r),t;return iC(t),null;case 22:case 23:return lL(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&i7)&&(iC(t),6&t.subtreeFlags&&(t.flags|=8192)):iC(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(r,t,i7))){i6=r;return}}else{if(null!==(r=function(e,t){switch(as(t),t.tag){case 1:return nK(t.type)&&nX(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ot(),nH(n$),nH(nV),ol(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return on(t),null;case 13:if(nH(oa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return nH(oa),null;case 4:return ot(),null;case 10:return aI(t.type._context),null;case 22:case 23:return lL(),null;default:return null}}(r,t))){r.flags&=32767,i6=r;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lt=6,i6=null;return}}if(null!==(t=t.sibling)){i6=t;return}i6=t=e}while(null!==t)0===lt&&(lt=5)}function lF(e,t,r){var n=tc,a=i4.transition;try{i4.transition=null,tc=1,function(e,t,r,n){do lB();while(null!==lg)if(0!=(6&i5))throw Error(d(327));r=e.finishedWork;var a=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-e9(r),o=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~o}}(e,o),e===i8&&(i6=i8=null,i9=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||lh||(lh=!0,eK(e3,function(){return lB(),null})),o=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||o){o=i4.transition,i4.transition=null;var i,l,s,u=tc;tc=1;var c=i5;i5|=4,i3.current=null,function(e,t){if(nb=tA,rB(e=rF())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var a,o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==n&&3!==p.nodeType||(u=l+n),3===p.nodeType&&(l+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===r&&++c===o&&(s=l),h===i&&++f===n&&(u=l),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(ny={focusedElem:e,selectionRange:r},tA=!1,iA=t;null!==iA;)if(e=(t=iA).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iA=e;else for(;null!==iA;){t=iA;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:aE(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){lW(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iA=e;break}iA=t.return}g=iz,iz=!1}(e,r),iX(r,e),function(e){var t=rF(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(r.ownerDocument.documentElement,r)){if(null!==n&&rB(r)){if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=void 0===n.end?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=rU(r,o);var i=rU(r,n);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(ny),tA=!!nb,ny=nb=null,e.current=r,i=r,l=e,s=a,iA=i,function e(t,r,n){for(var a=0!=(1&t.mode);null!==iA;){var o=iA,i=o.child;if(22===o.tag&&a){var l=null!==o.memoizedState||iL;if(!l){var s=o.alternate,u=null!==s&&null!==s.memoizedState||ij;s=iL;var c=ij;if(iL=l,(ij=u)&&!c)for(iA=o;null!==iA;)u=(l=iA).child,22===l.tag&&null!==l.memoizedState?i0(o):null!==u?(u.return=l,iA=u):i0(o);for(;null!==i;)iA=i,e(i,r,n),i=i.sibling;iA=o,iL=s,ij=c}iQ(t,r,n)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,iA=i):iQ(t,r,n)}}(i,l,s),eQ(),i5=c,tc=u,i4.transition=o}else e.current=r;if(lh&&(lh=!1,lg=e,lm=a),0===(o=e.pendingLanes)&&(lp=null),function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e8,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),l_(e,eJ()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((a=t[r]).value,{componentStack:a.stack,digest:a.digest});if(ld)throw ld=!1,e=lf,lf=null,e;0!=(1&lm)&&0!==e.tag&&lB(),0!=(1&(o=e.pendingLanes))?e===ly?lb++:(lb=0,ly=e):lb=0,n5()}}(e,t,r,n)}finally{i4.transition=a,tc=n}return null}function lB(){if(null!==lg){var e=td(lm),t=i4.transition,r=tc;try{if(i4.transition=null,tc=16>e?16:e,null===lg)var n=!1;else{if(e=lg,lg=null,lm=0,0!=(6&i5))throw Error(d(331));var a=i5;for(i5|=4,iA=e.current;null!==iA;){var o=iA,i=o.child;if(0!=(16&iA.flags)){var l=o.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iA=u;null!==iA;){var c=iA;switch(c.tag){case 0:case 11:case 15:iU(8,c,o)}var f=c.child;if(null!==f)f.return=c,iA=f;else for(;null!==iA;){var p=(c=iA).sibling,h=c.return;if(function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&(delete r[nI],delete r[nP],delete r[nL],delete r[nj],delete r[nD]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iA=null;break}if(null!==p){p.return=h,iA=p;break}iA=h}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}iA=o}}if(0!=(2064&o.subtreeFlags)&&null!==i)i.return=o,iA=i;else for(;null!==iA;){if(o=iA,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iU(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,iA=y;break}iA=o.return}}var v=e.current;for(iA=v;null!==iA;){var w=(i=iA).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iA=w;else for(i=v;null!==iA;){if(l=iA,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iF(9,l)}}catch(e){lW(l,l.return,e)}if(l===i){iA=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iA=x;break}iA=l.return}}if(i5=a,n5(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e8,e)}catch(e){}n=!0}return n}finally{tc=r,i4.transition=t}}return!1}function lH(e,t,r){t=ie(e,t=o8(r,t),1),e=aB(e,t,1),t=lx(),null!==e&&(ts(e,1,t),l_(e,t))}function lW(e,t,r){if(3===e.tag)lH(e,e,r);else for(;null!==t;){if(3===t.tag){lH(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===lp||!lp.has(n))){e=it(t,e=o8(r,e),1),t=aB(t,e,1),e=lx(),null!==t&&(ts(t,1,e),l_(t,e));break}}t=t.return}}function lG(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=lx(),e.pingedLanes|=e.suspendedLanes&r,i8===e&&(i9&r)===r&&(4===lt||3===lt&&(130023424&i9)===i9&&500>eJ()-ls?lj(e,0):lo|=r),l_(e,t)}function lV(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tr,0==(130023424&(tr<<=1))&&(tr=4194304)));var r=lx();null!==(e=aN(e,t))&&(ts(e,t,r),l_(e,r))}function l$(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),lV(e,r)}function lq(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(d(314))}null!==n&&n.delete(t),lV(e,r)}function lY(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lK(e,t,r,n){return new lY(e,t,r,n)}function lX(e){return!(!(e=e.prototype)||!e.isReactComponent)}function lZ(e,t){var r=e.alternate;return null===r?((r=lK(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lQ(e,t,r,n,a,o){var i=2;if(n=e,"function"==typeof e)lX(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case I:return lJ(r.children,a,o,t);case P:i=8,a|=8;break;case C:return(e=lK(12,r,t,2|a)).elementType=C,e.lanes=o,e;case A:return(e=lK(13,r,t,a)).elementType=A,e.lanes=o,e;case N:return(e=lK(19,r,t,a)).elementType=N,e.lanes=o,e;case U:return l0(r,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:i=10;break e;case j:i=9;break e;case D:i=11;break e;case M:i=14;break e;case z:i=16,n=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lK(i,r,t,a)).elementType=e,t.type=n,t.lanes=o,t}function lJ(e,t,r,n){return(e=lK(7,e,n,t)).lanes=r,e}function l0(e,t,r,n){return(e=lK(22,e,n,t)).elementType=U,e.lanes=r,e.stateNode={isHidden:!1},e}function l1(e,t,r){return(e=lK(6,e,null,t)).lanes=r,e}function l2(e,t,r){return(t=lK(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l3(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l4(e,t,r,n,a,o,i,l,s){return e=new l3(e,t,r,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lK(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},az(o),e}function l5(e){if(!e)return nG;e=e._reactInternals;e:{if(eV(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nK(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t)throw Error(d(171))}if(1===e.tag){var r=e.type;if(nK(r))return nQ(e,r,t)}return t}function l8(e,t,r,n,a,o,i,l,s){return(e=l4(r,n,!0,e,a,o,i,l,s)).context=l5(null),r=e.current,(o=aF(n=lx(),a=lS(r))).callback=null!=t?t:null,aB(r,o,a),e.current.lanes=a,ts(e,a,n),l_(e,n),e}function l6(e,t,r,n){var a=t.current,o=lx(),i=lS(a);return r=l5(r),null===t.context?t.context=r:t.pendingContext=r,(t=aF(o,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=aB(a,t,i))&&(lE(e,a,i,o),aH(e,a,i)),i}function l9(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function l7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function se(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}s=function(e,t,r){if(null!==e){if(e.memoizedProps!==t.pendingProps||n$.current)il=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return il=!1,function(e,t,r){switch(t.tag){case 3:iy(t),aw();break;case 5:or(t);break;case 1:nK(t.type)&&nJ(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;nW(a_,n._currentValue),n._currentValue=a;break;case 13:if(null!==(n=t.memoizedState)){if(null!==n.dehydrated)return nW(oa,1&oa.current),t.flags|=128,null;if(0!=(r&t.child.childLanes))return iS(e,t,r);return nW(oa,1&oa.current),null!==(e=iI(e,t,r))?e.sibling:null}nW(oa,1&oa.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return iO(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),nW(oa,oa.current),!n)return null;break;case 22:case 23:return t.lanes=0,ip(e,t,r)}return iI(e,t,r)}(e,t,r);il=0!=(131072&e.flags)}}else il=!1,ad&&0!=(1048576&t.flags)&&ai(t,n7,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;iR(e,t),e=t.pendingProps;var a=nY(t,nV.current);aC(t,r),a=ow(null,t,n,e,a,r);var o=ox();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nK(n)?(o=!0,nJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,az(t),a.updater=aY,t.stateNode=a,a._reactInternals=t,aQ(t,n,e,r),t=ib(null,t,n,!0,o,r)):(t.tag=0,ad&&o&&al(t),is(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(iR(e,t),e=t.pendingProps,n=(a=n._init)(n._payload),t.type=n,a=t.tag=function(e){if("function"==typeof e)return lX(e)?1:0;if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===M)return 14}return 2}(n),e=aE(n,e),a){case 0:t=ig(null,t,n,e,r);break e;case 1:t=im(null,t,n,e,r);break e;case 11:t=iu(null,t,n,e,r);break e;case 14:t=ic(null,t,n,aE(n.type,e),r);break e}throw Error(d(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),ig(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),im(e,t,n,a,r);case 3:e:{if(iy(t),null===e)throw Error(d(387));n=t.pendingProps,a=(o=t.memoizedState).element,aU(e,t),aG(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated){if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o8(Error(d(423)),t),t=iv(e,t,n,r,a);break e}if(n!==a){a=o8(Error(d(424)),t),t=iv(e,t,n,r,a);break e}for(ac=nT(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,r=a4(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(aw(),n===a){t=iI(e,t,r);break e}is(e,t,n,r)}t=t.child}return t;case 5:return or(t),null===e&&am(t),n=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,nv(n,a)?i=null:null!==o&&nv(n,o)&&(t.flags|=32),ih(e,t),is(e,t,i,r),t.child;case 6:return null===e&&am(t),null;case 13:return iS(e,t,r);case 4:return oe(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=a3(t,null,n,r):is(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),iu(e,t,n,a,r);case 7:return is(e,t,t.pendingProps,r),t.child;case 8:case 12:return is(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,nW(a_,n._currentValue),n._currentValue=i,null!==o){if(rN(o.value,i)){if(o.children===a.children&&!n$.current){t=iI(e,t,r);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===n){if(1===o.tag){(s=aF(-1,r&-r)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=r,null!==(s=o.alternate)&&(s.lanes|=r),aP(o.return,r,t),l.lanes|=r;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=r,null!==(l=i.alternate)&&(l.lanes|=r),aP(i,r,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}is(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,aC(t,r),n=n(a=aL(a)),t.flags|=1,is(e,t,n,r),t.child;case 14:return a=aE(n=t.type,t.pendingProps),a=aE(n.type,a),ic(e,t,n,a,r);case 15:return id(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),iR(e,t),t.tag=1,nK(n)?(e=!0,nJ(t)):e=!1,aC(t,r),aX(t,n,a),aQ(t,n,a,r),ib(null,t,n,!0,e,r);case 19:return iO(e,t,r);case 22:return ip(e,t,r)}throw Error(d(156,t.tag))};var st="function"==typeof reportError?reportError:function(e){console.error(e)};function sr(e){this._internalRoot=e}function sn(e){this._internalRoot=e}function sa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function so(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function si(){}function sl(e,t,r,n,a){var o=r._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=l9(i);l.call(e)}}l6(t,i,e,a)}else i=function(e,t,r,n,a){if(a){if("function"==typeof n){var o=n;n=function(){var e=l9(i);o.call(e)}}var i=l8(t,n,e,0,null,!1,!1,"",si);return e._reactRootContainer=i,e[nC]=i.current,no(8===e.nodeType?e.parentNode:e),lC(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof n){var l=n;n=function(){var e=l9(s);l.call(e)}}var s=l4(e,0,!1,null,null,!1,!1,"",si);return e._reactRootContainer=s,e[nC]=s.current,no(8===e.nodeType?e.parentNode:e),lC(function(){l6(t,s,r,n)}),s}(r,t,e,a,n);return l9(i)}sn.prototype.render=sr.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));l6(e,t,null,null)},sn.prototype.unmount=sr.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lC(function(){l6(null,e,null,null)}),t[nC]=null}},sn.prototype.unstable_scheduleHydration=function(e){if(e){var t=tg();e={blockedOn:null,target:e,priority:t};for(var r=0;r<t_.length&&0!==t&&t<t_[r].priority;r++);t_.splice(r,0,e),0===r&&tR(e)}},tf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=tn(t.pendingLanes);0!==r&&(tu(t,1|r),l_(t,eJ()),0==(6&i5)&&(lu=eJ()+500,n5()))}break;case 13:lC(function(){var t=aN(e,1);null!==t&&lE(t,e,1,lx())}),se(e,1)}},tp=function(e){if(13===e.tag){var t=aN(e,134217728);null!==t&&lE(t,e,134217728,lx()),se(e,134217728)}},th=function(e){if(13===e.tag){var t=lS(e),r=aN(e,t);null!==r&&lE(r,e,t,lx()),se(e,t)}},tg=function(){return tc},tm=function(e,t){var r=tc;try{return tc=e,t()}finally{tc=r}},ek=function(e,t,r){switch(t){case"input":if(et(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=nz(n);if(!a)throw Error(d(90));X(n),et(n,a)}}}break;case"textarea":es(e,r);break;case"select":null!=(t=r.value)&&eo(e,!!r.multiple,t,!1)}},eC=lP,eL=lC;var ss={findFiberByHostInstance:nA,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},su={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eY(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{e8=sc.inject(su),e6=sc}catch(e){}}r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[nN,nM,nz,eI,eP,lP]},r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!sa(t))throw Error(d(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:R,key:null==n?null:""+n,children:e,containerInfo:t,implementation:null}}(e,t,null,r)},r.createRoot=function(e,t){if(!sa(e))throw Error(d(299));var r=!1,n="",a=st;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=l4(e,1,!1,null,null,r,!1,n,a),e[nC]=t.current,no(8===e.nodeType?e.parentNode:e),new sr(t)},r.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eY(t))?null:e.stateNode},r.flushSync=function(e){return lC(e)},r.hydrate=function(e,t,r){if(!so(t))throw Error(d(200));return sl(null,e,t,!0,r)},r.hydrateRoot=function(e,t,r){if(!sa(e))throw Error(d(405));var n=null!=r&&r.hydratedSources||null,a=!1,o="",i=st;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(o=r.identifierPrefix),void 0!==r.onRecoverableError&&(i=r.onRecoverableError)),t=l8(t,null,e,1,null!=r?r:null,a,!1,o,i),e[nC]=t.current,no(e),n)for(e=0;e<n.length;e++)a=(a=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new sn(t)},r.render=function(e,t,r){if(!so(t))throw Error(d(200));return sl(null,e,t,!1,r)},r.unmountComponentAtNode=function(e){if(!so(e))throw Error(d(40));return!!e._reactRootContainer&&(lC(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[nC]=null})}),!0)},r.unstable_batchedUpdates=lP,r.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!so(r))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return sl(e,t,r,!1,n)},r.version="18.2.0-next-9e3b772b8-20220608"},{c293e9ed31165f07:"329PG",fabf034282b0d218:"27BDD"}],"27BDD":[function(e,t,r){t.exports=e("13524e09db3ad441")},{"13524e09db3ad441":"jX71I"}],jX71I:[function(e,t,r){function n(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,a=e[n];if(0<i(a,t))e[n]=t,e[r]=a,r=n;else break}}function a(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,a=e.length,o=a>>>1;n<o;){var l=2*(n+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,r))u<a&&0>i(c,s)?(e[n]=c,e[u]=r,n=u):(e[n]=s,e[l]=r,n=l);else if(u<a&&0>i(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function i(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l,s=performance;r.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();r.unstable_now=function(){return u.now()-c}}var d=[],f=[],p=1,h=null,g=3,m=!1,b=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=a(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,n(d,t);else break;t=a(f)}}function E(e){if(y=!1,S(e),!b){if(null!==a(d))b=!0,D(_);else{var t=a(f);null!==t&&A(E,t.startTime-e)}}}function _(e,t){b=!1,y&&(y=!1,w(O),O=-1),m=!0;var n=g;try{for(S(t),h=a(d);null!==h&&(!(h.expirationTime>t)||e&&!P());){var i=h.callback;if("function"==typeof i){h.callback=null,g=h.priorityLevel;var l=i(h.expirationTime<=t);t=r.unstable_now(),"function"==typeof l?h.callback=l:h===a(d)&&o(d),S(t)}else o(d);h=a(d)}if(null!==h)var s=!0;else{var u=a(f);null!==u&&A(E,u.startTime-t),s=!1}return s}finally{h=null,g=n,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,T=null,O=-1,R=5,I=-1;function P(){return!(r.unstable_now()-I<R)}function C(){if(null!==T){var e=r.unstable_now();I=e;var t=!0;try{t=T(!0,e)}finally{t?l():(k=!1,T=null)}}else k=!1}if("function"==typeof x)l=function(){x(C)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,j=L.port2;L.port1.onmessage=C,l=function(){j.postMessage(null)}}else l=function(){v(C,0)};function D(e){T=e,k||(k=!0,l())}function A(e,t){O=v(function(){e(r.unstable_now())},t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_continueExecution=function(){b||m||(b=!0,D(_))},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return g},r.unstable_getFirstCallbackNode=function(){return a(d)},r.unstable_next=function(e){switch(g){case 1:case 2:case 3:var t=3;break;default:t=g}var r=g;g=t;try{return e()}finally{g=r}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=g;g=e;try{return t()}finally{g=r}},r.unstable_scheduleCallback=function(e,t,o){var i=r.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:p++,callback:t,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,n(f,e),null===a(d)&&e===a(f)&&(y?(w(O),O=-1):y=!0,A(E,o-i))):(e.sortIndex=l,n(d,e),b||m||(b=!0,D(_))),e},r.unstable_shouldYield=P,r.unstable_wrapCallback=function(e){var t=g;return function(){var r=g;g=t;try{return e.apply(this,arguments)}finally{g=r}}}},{}],gcN4J:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");async function a(e){let t=document.createElement("plasmo-csui"),r="function"==typeof e.createShadowRoot?await e.createShadowRoot(t):t.attachShadow({mode:"open"}),n=document.createElement("div");return n.id="plasmo-shadow-container",n.style.zIndex="2147483647",n.style.position="relative",r.appendChild(n),{shadowHost:t,shadowRoot:r,shadowContainer:n}}async function o(e,t,{shadowHost:r,shadowRoot:n},a){if("function"==typeof e.getStyle){let r="function"==typeof e.getSfcStyleContent?await e.getSfcStyleContent():"";n.prepend(await e.getStyle({...t,sfcStyleContent:r}))}"function"==typeof e.getShadowHostId&&(r.id=await e.getShadowHostId(t)),"function"==typeof e.mountShadowHost?await e.mountShadowHost({shadowHost:r,anchor:t,mountState:a}):"inline"===t.type?t.element.insertAdjacentElement(t.insertPosition||"afterend",r):document.documentElement.prepend(r)}async function i(e,t,r){let n=await a(e);return r?.hostSet.add(n.shadowHost),r?.hostMap.set(n.shadowHost,t),await o(e,t,n,r),n.shadowContainer}n.defineInteropFlag(r),n.export(r,"createShadowContainer",()=>i),n.export(r,"createAnchorObserver",()=>s),n.export(r,"createRender",()=>u);let l=e=>{if(!e)return!1;let t=e.getBoundingClientRect(),r=globalThis.getComputedStyle(e);return"none"!==r.display&&"hidden"!==r.visibility&&"0"!==r.opacity&&(0!==t.width||0!==t.height||"hidden"===r.overflow)&&!(t.x+t.width<0)&&!(t.y+t.height<0)};function s(e){let t={document:document||window.document,observer:null,mountInterval:null,isMounting:!1,isMutated:!1,hostSet:new Set,hostMap:new WeakMap,overlayTargetList:[]},r=e=>e?.id?!!document.getElementById(e.id):e?.getRootNode({composed:!0})===t.document,n="function"==typeof e.getInlineAnchor,a="function"==typeof e.getOverlayAnchor,o="function"==typeof e.getInlineAnchorList,i="function"==typeof e.getOverlayAnchorList;if(!(n||a||o||i))return null;async function s(u){t.isMounting=!0;let c=new WeakSet,d=null;for(let e of t.hostSet){let n=t.hostMap.get(e),a=document.contains(n?.element);r(e)&&a?"inline"===n.type?c.add(n.element):"overlay"===n.type&&(d=e):(n.root?.unmount(),e.remove(),t.hostSet.delete(e))}let[f,p,h,g]=await Promise.all([n?e.getInlineAnchor():null,o?e.getInlineAnchorList():null,a?e.getOverlayAnchor():null,i?e.getOverlayAnchorList():null]),m=[];f&&(f instanceof Element?c.has(f)||m.push({element:f,type:"inline"}):f.element instanceof Element&&!c.has(f.element)&&m.push({element:f.element,type:"inline",insertPosition:f.insertPosition})),(p?.length||0)>0&&p.forEach(e=>{e instanceof Element&&!c.has(e)?m.push({element:e,type:"inline"}):e.element instanceof Element&&!c.has(e.element)&&m.push({element:e.element,type:"inline",insertPosition:e.insertPosition})});let b=[];h&&l(h)&&b.push(h),(g?.length||0)>0&&g.forEach(e=>{e instanceof Element&&l(e)&&b.push(e)}),b.length>0?(t.overlayTargetList=b,d||m.push({element:document.documentElement,type:"overlay"})):(d?.remove(),t.hostSet.delete(d)),await Promise.all(m.map(u)),t.isMutated&&(t.isMutated=!1,await s(u)),t.isMounting=!1}return{start:e=>{t.observer=new MutationObserver(()=>{if(t.isMounting){t.isMutated=!0;return}s(e)}),t.observer.observe(document.documentElement,{childList:!0,subtree:!0}),t.mountInterval=setInterval(()=>{if(t.isMounting){t.isMutated=!0;return}s(e)},142)},mountState:t}}let u=(e,t,r,n)=>{let a=t=>"function"==typeof e.getRootContainer?e.getRootContainer({anchor:t,mountState:r}):i(e,t,r);return"function"==typeof e.render?r=>e.render({anchor:r,createRootContainer:a},...t):async e=>{let t=await a(e);return n(e,t)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,t,r){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(e,t){return Object.keys(e).forEach(function(r){"default"===r||"__esModule"===r||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),t},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],e8dRS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"OverlayCSUIContainer",()=>l),n.export(r,"InlineCSUIContainer",()=>s);var a=e("react/jsx-runtime"),o=e("react"),i=n.interopDefault(o);let l=e=>{let[t,r]=(0,i.default).useState(0),[n,o]=(0,i.default).useState(0);return(0,i.default).useEffect(()=>{if("overlay"!==e.anchor.type)return;let t=async()=>{let t=e.anchor.element?.getBoundingClientRect();if(!t)return;let n={left:t.left+window.scrollX,top:t.top+window.scrollY};o(n.left),r(n.top)};t();let n=e.watchOverlayAnchor?.(t);return window.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{"function"==typeof n&&n(),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e.anchor.element]),(0,a.jsx)("div",{id:e.id,className:"plasmo-csui-container",style:{display:"flex",position:"absolute",top:t,left:n},children:e.children})},s=e=>(0,a.jsx)("div",{id:"plasmo-inline",className:"plasmo-csui-container",style:{display:"flex",position:"relative",top:0,left:0},children:e.children})},{"react/jsx-runtime":"8iOxN",react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4kz0G":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getLayout",()=>o);var a=e("react");let o=e=>"function"==typeof e.Layout?e.Layout:"function"==typeof e.getGlobalProvider?e.getGlobalProvider():a.Fragment},{react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"8YGb6":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"config",()=>R),n.export(r,"getShadowHostId",()=>I),n.export(r,"getInlineAnchor",()=>P),n.export(r,"mountShadowHost",()=>C),n.export(r,"getStyle",()=>L),n.export(r,"VideoContext",()=>j);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("data-text:~css/style.css"),l=n.interopDefault(i),s=e("~tools/queryVideo"),u=e("../components/InlineSubtitleMaskChild"),c=n.interopDefault(u),d=e("~components/ErrorBoundaryHandle"),f=n.interopDefault(d),p=e("~redux/storeNoStorage"),h=e("~redux/store"),g=e("react-redux"),m=e("data-text:react-grid-layout/css/styles.css"),b=n.interopDefault(m),y=e("data-text:react-resizable/css/styles.css"),v=n.interopDefault(y),w=e("~tools/logger"),x=e("~tools/constants");let S=document,E=null,_=0,k=document.URL,T=null,O="",R={matches:["*://*.bilibili.com/*","*://bilibili.com/*","*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/player*","*://www.1zimu.com/player*","*://*.youtube.com/watch*","*://youtube.com/watch*","*://pan.baidu.com/pfile/video*","*://*.youtube.com/*","*://youtube.com/*"],run_at:"document_end",all_frames:!1},I=()=>"InlineSubtitleMask",P=async()=>(k===O&&T&&document.contains(T)||(O=k,T=null,(0,w.logger).log("in InlineSubtitleMask getInlineAnchor"),k.includes(x.PAN_BAIDU_COM_VIDEO)?(T=(0,s.queryBaiduPanVideo)())&&(_=T.clientWidth,(0,w.logger).log("videoWidth is ",_)):T=(0,s.queryVideoElementWithBlob)("InlineSubtitleMask")),T),C=({anchor:e,shadowHost:t})=>{let r=I();if((0,w.logger).log("hostId is ",r),document.querySelector(`#${r}`))(0,w.logger).info(`\u9632\u6b62\u91cd\u590d\u6ce8\u5165\u6709\u6548\uff01in ${r}`);else if(E=e?.element){if(k.includes(x.PAN_BAIDU_COM_VIDEO)){let e=E?.parentNode;e?.parentNode?.insertBefore(t,e.nextSibling)}else E.parentNode.insertBefore(t,E.nextSibling)}},L=()=>{let e=S.createElement("style");return e.textContent=l.default,0!==_?e.textContent+=`
#plasmo-shadow-container{
z-index: 1400 !important;
width: ${_}px !important;
}
`:e.textContent+=`
#plasmo-shadow-container{
z-index: 10 !important;
}
`,e.textContent+=b.default,e.textContent+=v.default,e},j=(0,o.createContext)(null);r.default=function(){return(0,a.jsx)(f.default,{info:"InlineSubtitleMask",children:(0,a.jsx)(j.Provider,{value:E,children:(0,a.jsx)(g.Provider,{store:p.store,context:p.MyContext,children:(0,a.jsx)(g.Provider,{store:h.store,children:(0,a.jsx)(c.default,{})})})})})}},{"react/jsx-runtime":"8iOxN",react:"329PG","data-text:~css/style.css":"5IvF0","~tools/queryVideo":"cTLmP","../components/InlineSubtitleMaskChild":"7s1m0","~components/ErrorBoundaryHandle":"cGKyn","~redux/storeNoStorage":"20ikG","~redux/store":"gaugC","react-redux":"lWScv","data-text:react-grid-layout/css/styles.css":"lTRcy","data-text:react-resizable/css/styles.css":"82Svl","~tools/logger":"1qe3F","~tools/constants":"DgB7r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"5IvF0":[function(e,t,r){t.exports='html,:host{all:initial;font-size:16px!important}@layer tailwind-base{*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}}@layer antd;.container{width:100%}@media (width>=640px){.container{max-width:640px}}@media (width>=768px){.container{max-width:768px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-x-0{left:0;right:0}.-bottom-1{bottom:-.25rem}.-right-1{right:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-2{margin:.5rem}.m-4{margin:1rem}.mx-1\\.5{margin-left:.375rem;margin-right:.375rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-\\[16px\\]{margin-left:16px;margin-right:16px}.mx-\\[6px\\]{margin-left:6px;margin-right:6px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\\[16px\\]{margin-bottom:16px}.mb-\\[24px\\]{margin-bottom:24px}.mb-\\[8px\\]{margin-bottom:8px}.ml-2{margin-left:.5rem}.ml-\\[8px\\]{margin-left:8px}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-\\[4px\\]{margin-top:4px}.box-border{box-sizing:border-box}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1\\/2{height:50%}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[30rem\\]{height:30rem}.h-\\[52px\\]{height:52px}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:0}.min-h-\\[40px\\]{min-height:40px}.w-1\\/2{width:50%}.w-11\\/12{width:91.6667%}.w-14{width:3.5rem}.w-8{width:2rem}.w-96{width:24rem}.w-\\[300px\\]{width:300px}.w-\\[65rem\\]{width:65rem}.w-\\[93px\\]{width:93px}.w-full{width:100%}.min-w-\\[1000px\\]{min-width:1000px}.min-w-\\[20\\%\\]{min-width:20%}.max-w-4xl{max-width:56rem}.max-w-\\[20\\%\\]{max-width:20%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.basis-6\\/12{flex-basis:50%}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0)rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}@keyframes pulse0{0%,to{box-shadow:0 0 #374151b3}50%{box-shadow:0 0 0 6px #37415100}}.animate-glow0{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse0}@keyframes pulse1{0%,to{box-shadow:0 0 #f59e0be6}50%{box-shadow:0 0 0 6px #f59e0b4d}}.animate-glow1{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse1}@keyframes pulse2{0%,to{box-shadow:0 0 #93c5fde6}50%{box-shadow:0 0 0 6px #93c5fd4d}}.animate-glow2{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse2}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-0{row-gap:0}.gap-y-1{row-gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem*var(--tw-space-x-reverse));margin-left:calc(.5rem*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[4px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px*var(--tw-space-x-reverse));margin-left:calc(4px*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[6px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(6px*var(--tw-space-x-reverse));margin-left:calc(6px*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[8px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(8px*var(--tw-space-x-reverse));margin-left:calc(8px*calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}.divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(203 213 225/var(--tw-divide-opacity,1))}.place-self-center{place-self:center}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-nowrap{text-wrap:nowrap}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[5px\\]{border-radius:5px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[8px\\]{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.rounded-t-\\[6px\\]{border-top-left-radius:6px;border-top-right-radius:6px}.rounded-bl-\\[12px\\]{border-bottom-left-radius:12px}.rounded-br-\\[12px\\]{border-bottom-right-radius:12px}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tr-\\[12px\\]{border-top-right-radius:12px}.border{border-width:1px}.border-0{border-width:0}.border-b,.border-b-\\[1px\\]{border-bottom-width:1px}.border-l-\\[1px\\]{border-left-width:1px}.border-r-\\[1px\\]{border-right-width:1px}.border-t,.border-t-\\[1px\\]{border-top-width:1px}.border-solid{border-style:solid}.border-amber-400{--tw-border-opacity:1;border-color:rgb(251 191 36/var(--tw-border-opacity,1))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-yellow-300\\/70{border-color:#fde047b3}.border-b-indigo-500{--tw-border-opacity:1;border-bottom-color:rgb(99 102 241/var(--tw-border-opacity,1))}.border-b-slate-300{--tw-border-opacity:1;border-bottom-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-b-white{--tw-border-opacity:1;border-bottom-color:rgb(255 255 255/var(--tw-border-opacity,1))}.border-t-slate-300{--tw-border-opacity:1;border-top-color:rgb(203 213 225/var(--tw-border-opacity,1))}.bg-\\[\\#16a34a\\]{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity,1))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity,1))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-blue-500\\/50{background-color:#3b82f680}.bg-cyan-100{--tw-bg-opacity:1;background-color:rgb(207 250 254/var(--tw-bg-opacity,1))}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity,1))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity,1))}.bg-lime-100{--tw-bg-opacity:1;background-color:rgb(236 252 203/var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.bg-slate-300{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\\/30{background-color:#ffffff4d}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity,1))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71/var(--tw-bg-opacity,1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#8054f2\\]{--tw-gradient-from:#8054f2 var(--tw-gradient-from-position);--tw-gradient-to:#8054f200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-\\[\\#ff6b23\\]{--tw-gradient-from:#ff6b23 var(--tw-gradient-from-position);--tw-gradient-to:#ff6b2300 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-amber-200{--tw-gradient-from:#fde68a var(--tw-gradient-from-position);--tw-gradient-to:#fde68a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-blue-50{--tw-gradient-from:#eff6ff var(--tw-gradient-from-position);--tw-gradient-to:#eff6ff00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-gray-100{--tw-gradient-from:#f3f4f6 var(--tw-gradient-from-position);--tw-gradient-to:#f3f4f600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-\\[\\#af3cb8\\]{--tw-gradient-to:#af3cb800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#af3cb8 var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-amber-300{--tw-gradient-to:#fcd34d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#fcd34d var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-blue-100{--tw-gradient-to:#dbeafe00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#dbeafe var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-gray-200{--tw-gradient-to:#e5e7eb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#e5e7eb var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-\\[\\#3895da\\]{--tw-gradient-to:#3895da var(--tw-gradient-to-position)}.to-\\[\\#53b6ff\\]{--tw-gradient-to:#53b6ff var(--tw-gradient-to-position)}.to-amber-500{--tw-gradient-to:#f59e0b var(--tw-gradient-to-position)}.to-blue-300{--tw-gradient-to:#93c5fd var(--tw-gradient-to-position)}.to-gray-300{--tw-gradient-to:#d1d5db var(--tw-gradient-to-position)}.bg-\\[length\\:100\\%_2px\\]{background-size:100% 2px}.bg-bottom{background-position:bottom}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.stroke-\\[\\#c6c6c6\\]{stroke:#c6c6c6}.stroke-1{stroke-width:1px}.p-0\\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[20px\\]{padding:20px}.p-\\[24px\\]{padding:24px}.p-\\[4px\\]{padding:4px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[2px\\]{padding-left:2px;padding-right:2px}.px-\\[48px\\]{padding-left:48px;padding-right:48px}.px-\\[4px\\]{padding-left:4px;padding-right:4px}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[8px\\]{padding-top:8px;padding-bottom:8px}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pb-\\[16px\\]{padding-bottom:16px}.pb-\\[4px\\]{padding-bottom:4px}.pl-\\[16px\\]{padding-left:16px}.pl-\\[28px\\]{padding-left:28px}.pr-2\\.5{padding-right:.625rem}.pr-\\[10px\\]{padding-right:10px}.pt-3{padding-top:.75rem}.pt-\\[36px\\]{padding-top:36px}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[18px\\]{font-size:18px}.text-\\[21px\\]{font-size:21px}.text-\\[9px\\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-\\[16px\\]{line-height:16px}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-blue-100{--tw-text-opacity:1;color:rgb(219 234 254/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-300\\/90{color:#fde047e6}.underline{text-decoration-line:underline}.underline-offset-1{text-underline-offset:1px}.underline-offset-2{text-underline-offset:2px}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-100{opacity:1}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-blue-500\\/30{--tw-shadow-color:#3b82f64d;--tw-shadow:var(--tw-shadow-colored)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.drop-shadow-2xl{--tw-drop-shadow:drop-shadow(0 25px 25px #00000026);filter:var(--tw-blur)var(--tw-brightness)var(--tw-contrast)var(--tw-grayscale)var(--tw-hue-rotate)var(--tw-invert)var(--tw-saturate)var(--tw-sepia)var(--tw-drop-shadow)}.filter{filter:var(--tw-blur)var(--tw-brightness)var(--tw-contrast)var(--tw-grayscale)var(--tw-hue-rotate)var(--tw-invert)var(--tw-saturate)var(--tw-sepia)var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia)}.backdrop-blur-3xl{--tw-backdrop-blur:blur(64px);backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-75{transition-delay:75ms}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (backdrop-filter:blur(1px)){.backdrop-blur{backdrop-filter:blur(10px)}}@-moz-document url-prefix(){.firefox\\:backdrop-filter-none{backdrop-filter:none!important}.firefox\\:bg-opacity-50{background-color:#ffffff80!important}.dark .firefox\\:bg-opacity-50{background-color:#00000080!important}}.word-item{word-break:keep-all;display:inline-block;position:relative}.word-item:after{content:" ";white-space:pre;position:relative}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (prefers-color-scheme:dark){::-webkit-scrollbar-track{background:#2d2d2d}::-webkit-scrollbar-thumb{background:#555}::-webkit-scrollbar-thumb:hover{background:#777}}*{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}@media (prefers-color-scheme:dark){*{scrollbar-color:#555 #2d2d2d}}.visited\\:text-blue-600:visited{color:#2563eb}.hover\\:scale-150:hover{--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:stroke-\\[\\#565656\\]:hover{stroke:#565656}.hover\\:font-bold:hover{font-weight:700}.hover\\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.hover\\:text-green-500:hover{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.hover\\:text-yellow-300:hover{--tw-text-opacity:1;color:rgb(253 224 71/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:underline-offset-1:hover{text-underline-offset:1px}.hover\\:opacity-80:hover{opacity:.8}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (prefers-color-scheme:dark){.dark\\:border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:border-b-gray-700{--tw-border-opacity:1;border-bottom-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:border-t-gray-700{--tw-border-opacity:1;border-top-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:bg-\\[\\#1e1e1e\\]{--tw-bg-opacity:1;background-color:rgb(30 30 30/var(--tw-bg-opacity,1))}.dark\\:bg-amber-900\\/50{background-color:#78350f80}.dark\\:bg-black\\/30{background-color:#0000004d}.dark\\:bg-blue-900\\/50{background-color:#1e3a8a80}.dark\\:bg-cyan-700{--tw-bg-opacity:1;background-color:rgb(14 116 144/var(--tw-bg-opacity,1))}.dark\\:bg-cyan-900\\/50{background-color:#164e6380}.dark\\:bg-emerald-900\\/50{background-color:#064e3b80}.dark\\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-900\\/50{background-color:#14532d80}.dark\\:bg-indigo-900\\/50{background-color:#312e8180}.dark\\:bg-lime-900\\/50{background-color:#36531480}.dark\\:bg-orange-900\\/50{background-color:#7c2d1280}.dark\\:bg-red-900\\/50{background-color:#7f1d1d80}.dark\\:bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\\:bg-teal-900\\/50{background-color:#134e4a80}.dark\\:bg-yellow-900\\/50{background-color:#713f1280}.dark\\:text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.dark\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\\:text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\\:text-slate-50{--tw-text-opacity:1;color:rgb(248 250 252/var(--tw-text-opacity,1))}.dark\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}}.\\[\\&_\\.ant-conversations-list\\]\\:pl-0 .ant-conversations-list{padding-left:0}'},{}],cTLmP:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getBrowserInfo",()=>s),n.export(r,"queryVideoElementWithBlob2",()=>u),n.export(r,"queryVideoElementWithBlob",()=>c),n.export(r,"queryDanmukuBoxInBilibili",()=>d),n.export(r,"queryRightContainerInner",()=>f),n.export(r,"queryTedCurTime",()=>p),n.export(r,"queryUpPanelContainer",()=>h),n.export(r,"queryBaiduPanVideo",()=>g),n.export(r,"queryAliyundriveVideoPreviewer",()=>m),n.export(r,"queryAliyundriveVideoPreviewerContainer",()=>b),n.export(r,"queryBaidupanVideoControl",()=>y),n.export(r,"queryBilibiliVideoControl",()=>v),n.export(r,"queryYoutubeVideoControl",()=>w),n.export(r,"queryBpxPlayerControlBottomLeft",()=>x),n.export(r,"queryYoutubeYtp_left_controls",()=>S),n.export(r,"queryYoutubeItems",()=>E),n.export(r,"queryYoutubeItemsWidth",()=>_),n.export(r,"queryBaiduPanRightSubtitleListContainer",()=>k),n.export(r,"queryBaiduPanRightSubtitleListContainerWidth",()=>T),n.export(r,"queryRightSubtitleListContainer",()=>O),n.export(r,"queryRightSubtitleListContainerWidth",()=>R),n.export(r,"getBilibiliVideoPageRightContainerInnerWidth",()=>I),n.export(r,"getWindow1rem",()=>P);var a=e("ua-parser-js"),o=e("~tools/constants"),i=e("~tools/subtitle"),l=e("~tools/types");function s(){return new a.UAParser().getResult()}function u(e){return document.querySelector(o.BWP_VIDEO)}function c(e){try{let e,t;let r=window,n=document;if(r.browserType,r.OSType,(0,i.checkBwpVideo)()?(e=n.querySelectorAll(o.BWP_VIDEO),t=l.BROWSER_TYPE.EDGE):(e=n.querySelectorAll("video"),t=l.BROWSER_TYPE.CHROME),e?.length>0)for(let r=0;r<e.length;r++){let n=e[r];if(t===l.BROWSER_TYPE.CHROME){if(n?.src.includes("blob:")||n?.src.includes("https:"))return n}else if(t===l.BROWSER_TYPE.EDGE&&(n?.attributes[0]?.value.includes("blob:")||n?.attributes[0]?.value.includes("https:")))return n}return null}catch(e){console.error("catched error in tools.queryVideo :>> ",e)}}function d(){let e=document.querySelector("#danmukuBox");return e}function f(){let e=document.querySelector(".right-container-inner.scroll-sticky");return e}function p(){let e=document.querySelector("#oldfanfollowEntry");return e}function h(){let e=document.querySelector("#oldfanfollowEntry");return e}function g(){let e=document.querySelectorAll('video[id^="vjs_video_"][id$="_html5_api"]');if(e.length>0)for(let t=0;t<e.length;t++){let r=e[t];if(!r.id.includes("vjs_video_3_html5_api"))return r}return null}function m(){let e=document.querySelector('div[class^="video-previewer"]');return e}function b(){let e=document.querySelector('div[class^="video-previewer-container"]');return e}function y(){let e=document.querySelector(".vp-video__control-bar--setup");return e}function v(){let e=document.querySelector(".bpx-player-control-bottom-right");return e}function w(){let e=document.querySelector(".ytp-right-controls");return e}function x(){let e=document.querySelector(".bpx-player-ctrl-btn.bpx-player-ctrl-time");return e}function S(){let e=document.querySelector(".ytp-left-controls");return e}function E(){let e=document.querySelector("#secondary-inner");return e}function _(){let e=document.querySelector("#secondary-inner");return e?.clientWidth}function k(){let e=document.querySelector(".vp-tabs");return e}function T(){let e=document.querySelector(".vp-tabs");return e?.clientWidth}function O(){let e=document.querySelector("#subtitleListContainer");return e}function R(){let e=document.querySelector("#subtitleListContainer");return e?.clientWidth}function I(){let e=document.querySelector("#danmukuBox");return e?.clientWidth}function P(){try{let e=parseInt(getComputedStyle(document.documentElement).fontSize);if(!e)return 16;return e}catch(e){console.error("catched error in tools.queryVideo.getWindow1rem :>> ",e)}}},{"ua-parser-js":"4Dlbs","~tools/constants":"DgB7r","~tools/subtitle":"88X4r","~tools/types":"1v1MT","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4Dlbs":[function(t,r,n){!function(t,a){var o="function",i="undefined",l="object",s="string",u="major",c="model",d="name",f="type",p="vendor",h="version",g="architecture",m="console",b="mobile",y="tablet",v="smarttv",w="wearable",x="embedded",S="Amazon",E="Apple",_="ASUS",k="BlackBerry",T="Browser",O="Chrome",R="Firefox",I="Google",P="Honor",C="Huawei",L="Microsoft",j="Motorola",D="Nvidia",A="OnePlus",N="Opera",M="OPPO",z="Samsung",U="Sharp",F="Sony",B="Xiaomi",H="Zebra",W="Facebook",G="Chromium OS",V="Mac OS",$=" Browser",q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},Y=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},K=function(e,t){return typeof e===s&&-1!==X(t).indexOf(X(e))},X=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,500)},Q=function(e,t){for(var r,n,i,s,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!u&&f[r];)if(u=f[r++].exec(e))for(i=0;i<p.length;i++)c=u[++n],typeof(s=p[i])===l&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):a:this[s[0]]=c?s[1].call(this,c,s[2]):a:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):a):this[s]=c||a;d+=2}},J=function(e,t){for(var r in t)if(typeof t[r]===l&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(K(t[r][n],e))return"?"===r?a:r}else if(K(t[r],e))return"?"===r?a:r;return t.hasOwnProperty("*")?t["*"]:e},ee={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,h],[/opios[\/ ]+([\w\.]+)/i],[h,[d,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[d,N+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[d,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[d,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[d,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[d,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[d,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[d,"Smart Lenovo "+T]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+T],h],[/\bfocus\/([\w\.]+)/i],[h,[d,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[d,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[d,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[d,"MIUI"+$]],[/fxios\/([\w\.-]+)/i],[h,[d,R]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[d,"360"]],[/\b(qq)\/([\w\.]+)/i],[[d,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1"+$],h],[/samsungbrowser\/([\w\.]+)/i],[h,[d,z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[d,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[d],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,W],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[d,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,O+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[d,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[h,J,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[d,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[d,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[d,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[d,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[g,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[g,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[g,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[g,/ower/,"",X]],[/ sun4\w[;\)]/i],[[g,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[g,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,z],[f,y]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,z],[f,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,E],[f,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,E],[f,y]],[/(macintosh);/i],[c,[p,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,U],[f,b]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[p,P],[f,y]],[/honor([-\w ]+)[;\)]/i],[c,[p,P],[f,b]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[c,[p,C],[f,y]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,C],[f,b]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[p,B],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[p,B],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,M],[f,b]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[p,J,{OnePlus:["304","403","203"],"*":M}],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[f,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[f,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,j],[f,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,j],[f,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,"LG"],[f,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,"LG"],[f,b]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[p,"Lenovo"],[f,y]],[/(nokia) (t[12][01])/i],[p,c,[f,y]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[c,/_/g," "],[f,b],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[p,I],[f,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,I],[f,b]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,F],[f,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,F],[f,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,A],[f,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,S],[f,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,S],[f,b]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[f,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,k],[f,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,_],[f,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,_],[f,b]],[/(nexus 9)/i],[c,[p,"HTC"],[f,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[f,b]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[p,"TCL"],[f,y]],[/(itel) ((\w+))/i],[[p,X],c,[f,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[f,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[f,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[p,"Ulefone"],[f,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[p,"Energizer"],[f,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[p,"Cat"],[f,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[p,"Smartfren"],[f,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[p,"Nothing"],[f,b]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[p,"Archos"],[f,y]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[p,"Archos"],[f,b]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,c,[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[f,b]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[f,y]],[/(surface duo)/i],[c,[p,L],[f,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[f,b]],[/(u304aa)/i],[c,[p,"AT&T"],[f,b]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[f,b]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[f,y]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[f,y]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[f,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[f,y]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[f,y]],[/\b(k88) b/i],[c,[p,"ZTE"],[f,y]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[f,b]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[f,b]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[f,y]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[f,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[f,y]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[f,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[f,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[f,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[f,b]],[/\b(ph-1) /i],[c,[p,"Essential"],[f,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[f,y]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[f,y]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[f,y]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[p,D],[f,y]],[/(sprint) (\w+)/i],[p,c,[f,b]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,L],[f,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,H],[f,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,H],[f,b]],[/smart-tv.+(samsung)/i],[p,[f,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,z],[f,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[f,v]],[/(apple) ?tv/i],[p,[c,E+" TV"],[f,v]],[/crkey/i],[[c,O+"cast"],[p,I],[f,v]],[/droid.+aft(\w+)( bui|\))/i],[c,[p,S],[f,v]],[/(shield \w+ tv)/i],[c,[p,D],[f,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,U],[f,v]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,F],[f,v]],[/(mi(tv|box)-?\w+) bui/i],[c,[p,B],[f,v]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[f,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Z],[c,Z],[f,v]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[c,[f,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[f,m]],[/droid.+; (shield)( bui|\))/i],[c,[p,D],[f,m]],[/(playstation \w+)/i],[c,[p,F],[f,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,L],[f,m]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[p,z],[f,w]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,c,[f,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[p,M],[f,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,E],[f,w]],[/(opwwe\d{3})/i],[c,[p,A],[f,w]],[/(moto 360)/i],[c,[p,j],[f,w]],[/(smartwatch 3)/i],[c,[p,F],[f,w]],[/(g watch r)/i],[c,[p,"LG"],[f,w]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,H],[f,w]],[/droid.+; (glass) \d/i],[c,[p,I],[f,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,c,[f,w]],[/; (quest( \d| pro)?)/i],[c,[p,W],[f,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,x]],[/(aeobc)\b/i],[c,[p,S],[f,x]],[/(homepod).+mac os/i],[c,[p,E],[f,x]],[/windows iot/i],[[f,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,b]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[d,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[d,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,h],[/ladybird\//i],[[d,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[d,[h,J,ee]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,J,ee],[d,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,V],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,d],[/(ubuntu) ([\w\.]+) like android/i],[[d,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[d,h],[/\(bb(10);/i],[h,[d,k]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[d,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[d,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,G],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,h],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,h]]},er=function(e,r){if(typeof e===l&&(r=e,e=a),!(this instanceof er))return new er(e,r).getResult();var n=typeof t!==i&&t.navigator?t.navigator:a,m=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:a,w=r?q(et,r):et,x=n&&n.userAgent==m;return this.getBrowser=function(){var e,t={};return t[d]=a,t[h]=a,Q.call(t,m,w.browser),t[u]=typeof(e=t[h])===s?e.replace(/[^\d\.]/g,"").split(".")[0]:a,x&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[d]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,Q.call(e,m,w.cpu),e},this.getDevice=function(){var e={};return e[p]=a,e[c]=a,e[f]=a,Q.call(e,m,w.device),x&&!e[f]&&v&&v.mobile&&(e[f]=b),x&&"Macintosh"==e[c]&&n&&typeof n.standalone!==i&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[c]="iPad",e[f]=y),e},this.getEngine=function(){var e={};return e[d]=a,e[h]=a,Q.call(e,m,w.engine),e},this.getOS=function(){var e={};return e[d]=a,e[h]=a,Q.call(e,m,w.os),x&&!e[d]&&v&&v.platform&&"Unknown"!=v.platform&&(e[d]=v.platform.replace(/chrome os/i,G).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===s&&e.length>500?Z(e,500):e,this},this.setUA(m),this};er.VERSION="1.0.41",er.BROWSER=Y([d,h,u]),er.CPU=Y([g]),er.DEVICE=Y([c,p,f,m,b,v,y,w,x]),er.ENGINE=er.OS=Y([d,h]),typeof n!==i?(r.exports&&(n=r.exports=er),n.UAParser=er):typeof e===o&&e.amd?e(function(){return er}):typeof t!==i&&(t.UAParser=er);var en=typeof t!==i&&(t.jQuery||t.Zepto);if(en&&!en.ua){var ea=new er;en.ua=ea.getResult(),en.ua.get=function(){return ea.getUA()},en.ua.set=function(e){ea.setUA(e);var t=ea.getResult();for(var r in t)en.ua[r]=t[r]}}}("object"==typeof window?window:this)},{}],DgB7r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"SUBTITLE_LIST_PADDING_SIZE",()=>a),n.export(r,"SUBTITLE_LIST_WIDTH",()=>o),n.export(r,"DEFAULT_ROW_HEIGHT",()=>i),n.export(r,"SUBTITLE_LIST_TTS_TEXT_WIDTH",()=>l),n.export(r,"SUBTITLE_LIST_HEIGHT",()=>s),n.export(r,"DRAGGABLE_HANDLE_HEIGHT",()=>u),n.export(r,"CLOSE_SVG_REM_COUNT",()=>c),n.export(r,"SUBTITLE_LIST_ROW_HEIGHT",()=>d),n.export(r,"BWP_VIDEO",()=>f),n.export(r,"VIDEO_PAUSE",()=>p),n.export(r,"KEY_DOWN",()=>h),n.export(r,"CLICK_SUBTITLE",()=>g),n.export(r,"SENT_BILIBILI_AI_SUBTITLE_URL",()=>m),n.export(r,"SENT_YOUTUBE_SUBTITLE_API_URL",()=>b),n.export(r,"SENT_BAIDUPAN_SUBTITLE_API_URL",()=>y),n.export(r,"INIT_SUBTITLENODES",()=>v),n.export(r,"NO_SUBTITLENODES_DATA",()=>w),n.export(r,"FILTER_SUBTITLE_IN_WEBREQUEST",()=>x),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_1",()=>S),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_2",()=>E),n.export(r,"FILTER_SUBTITLE_IN_YOUTUBE_URL",()=>_),n.export(r,"NEXT",()=>k),n.export(r,"PRE",()=>T),n.export(r,"ADD",()=>O),n.export(r,"SUB",()=>R),n.export(r,"VIDEO_MASK",()=>I),n.export(r,"SUB_MASK",()=>P),n.export(r,"REPEAT",()=>C),n.export(r,"VARIABLE_REPEAT",()=>L),n.export(r,"FOLLOW_READ",()=>j),n.export(r,"FULL_MASK",()=>D),n.export(r,"SUBTITLE_LIST",()=>A),n.export(r,"SUBTITLE",()=>N),n.export(r,"ZHSUBTITLE",()=>M),n.export(r,"DEFAULT_MAX_PAUSE_TIME",()=>z),n.export(r,"STORAGE_RANDOMUUID",()=>U),n.export(r,"STORAGE_ALWAY_REPEAT_PLAY",()=>F),n.export(r,"STORAGE_PLAYED_THEN_PAUSE",()=>B),n.export(r,"STORAGE_SHOW_EN_DEFINITION",()=>H),n.export(r,"STORAGE_REPLAY_TIMES",()=>W),n.export(r,"STORAGE_MAX_PAUSE_TIME",()=>G),n.export(r,"STORAGE_SUBTITLELIST_TABS_KEY",()=>V),n.export(r,"STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW",()=>$),n.export(r,"STORAGE_SUBTITLELIST_TABS_SCROLL",()=>q),n.export(r,"STORAGE_SHOWSUBTITLE",()=>Y),n.export(r,"STORAGE_SHOWZHSUBTITLE",()=>K),n.export(r,"STORAGE_SHOWSUBTITLELIST",()=>X),n.export(r,"STORAGE_SHOWTTSSUBTITLELIST",()=>Z),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTX",()=>Q),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTY",()=>J),n.export(r,"STORAGE_BILIBILI_TRANSLATE_SELECT_LANG",()=>ee),n.export(r,"STORAGE_SHOWVIDEOMASK",()=>et),n.export(r,"STORAGE_SHOWSUBTITLELISTMASK",()=>er),n.export(r,"STORAGE_SHOWFLOATBALL",()=>en),n.export(r,"STORAGE_DISABLESHORTCUTS",()=>ea),n.export(r,"STORAGE_ALL_SHORTCUTS",()=>eo),n.export(r,"STORAGE_VIDEO_MASK_HEIGHT",()=>ei),n.export(r,"STORAGE_DEFAULT_VIDEO_MASK_HEIGHT",()=>el),n.export(r,"STORAGE_FOLLOW_READ_TIMES",()=>es),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_TIMES",()=>eu),n.export(r,"STORAGE_FOLLOW_READ_LENGTH",()=>ec),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_LENGTH",()=>ed),n.export(r,"STORAGE_POST_IDLETIME_ACTIVETIME_LOCK",()=>ef),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME",()=>ep),n.export(r,"STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME",()=>eh),n.export(r,"STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME",()=>eg),n.export(r,"STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME",()=>em),n.export(r,"STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME",()=>eb),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER",()=>ey),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE",()=>ev),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI",()=>ew),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU",()=>ex),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN",()=>eS),n.export(r,"STORAGE_AZURE_KEY_CODE",()=>eE),n.export(r,"STORAGE_AZURE_KEY_AREA",()=>e_),n.export(r,"STORAGE_FAVORITES_DICTS",()=>ek),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_SHOW",()=>eT),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW",()=>eO),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_COLOR",()=>eR),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR",()=>eI),n.export(r,"STORAGE_USER_INFO",()=>eP),n.export(r,"IDLETIME_STORAGE_DEFAULT_VALUE",()=>eC),n.export(r,"FAVORITES_DICTS_DEFAULT_VALUE",()=>eL),n.export(r,"ALL_SHORT_CUTS",()=>ej),n.export(r,"COLOR_PRIMARY",()=>eD),n.export(r,"FONT_SIZE",()=>eA),n.export(r,"FONT_SANS",()=>eN),n.export(r,"FONT_SERIF",()=>eM),n.export(r,"FONT_MONO",()=>ez),n.export(r,"SUBTITLE_FONT_FAMILY",()=>eU),n.export(r,"FONT_WEIGHT",()=>eF),n.export(r,"LINE_HEIGHT",()=>eB),n.export(r,"ZIMU1_USESTORAGE_SYNC_JWT",()=>eH),n.export(r,"ZIMU1_USESTORAGE_SYNC_HEADIMGURL",()=>eW),n.export(r,"ZIMU1_USESTORAGE_SYNC_NICKNAME",()=>eG),n.export(r,"ZIMU1_USESTORAGE_SYNC_PAID",()=>eV),n.export(r,"DRAGGABLE_NODE_CONTAINER_WIDTH",()=>e$),n.export(r,"DRAGGABLE_NODE_CONTAINER_HEIGHT",()=>eq),n.export(r,"DRAGGABLE_NODE_CONTAINER_X",()=>eY),n.export(r,"DRAGGABLE_NODE_CONTAINER_Y",()=>eK),n.export(r,"IDLE_TIME_OUT",()=>eX),n.export(r,"DARK_BG_COLOR",()=>eZ),n.export(r,"REPEAT_INIT_TIMES",()=>eQ),n.export(r,"REPEAT_UI_INIT_TIMES",()=>eJ),n.export(r,"VARIABLE_REPEAT_INIT_TIMES",()=>e0),n.export(r,"VARIABLE_REPEAT_UI_INIT_TIMES",()=>e1),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL",()=>e2),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL_EMBED",()=>e3),n.export(r,"ZIMU1_SUBTITLELIST_WATCH_URL",()=>e4),n.export(r,"CASCADER_OPTION_MIX",()=>e5),n.export(r,"CASCADER_OPTION_ZH",()=>e8),n.export(r,"CASCADER_OPTION_FOREIGN",()=>e6),n.export(r,"STORAGE_SUBTITLE_FOREIGN_FONTSIZE",()=>e9),n.export(r,"STORAGE_SUBTITLE_ZH_FONTSIZE",()=>e7),n.export(r,"SUBTITLE_FOREIGN_FONT_SIZE",()=>te),n.export(r,"STORAGE_SUBTITLELIST_FOREIGN_FONTSIZE",()=>tt),n.export(r,"STORAGE_SUBTITLELIST_ZH_FONTSIZE",()=>tr),n.export(r,"STORAGE_ARTICLE_FONTSIZE",()=>tn),n.export(r,"STORAGE_SUBTITLE_FONT_FAMILY",()=>ta),n.export(r,"STORAGE_SUBTITLE_NO",()=>to),n.export(r,"STORAGE_SUBTITLE_NO_CURRENT_TIME",()=>ti),n.export(r,"BILIBILI_COM",()=>tl),n.export(r,"YOUTUBE_COM",()=>ts),n.export(r,"ZIMU1_COM",()=>tu),n.export(r,"PAN_BAIDU_COM",()=>tc),n.export(r,"PAN_BAIDU_COM_VIDEO",()=>td),n.export(r,"YOUTUBESUBTITLELIST",()=>tf),n.export(r,"NEXTJSSUBTITLELIST",()=>tp),n.export(r,"BILIBILISUBTITLESWITCH",()=>th),n.export(r,"YOUTUBESUBTITLESWITCH",()=>tg),n.export(r,"BAIDUPANSUBTITLESWITCH",()=>tm),n.export(r,"DRAGGABLESUBTITLELIST",()=>tb),n.export(r,"YOUTUBE_VALID_ORIGINS",()=>ty),n.export(r,"BILIBILI_VALID_ORIGINS",()=>tv),n.export(r,"ZIMU1_VALID_ORIGINS",()=>tw),n.export(r,"BAIDUPAN_VALID_ORIGINS",()=>tx),n.export(r,"JWT_IS_FALSE",()=>tS);let a=1,o=300,i=80,l=600,s=500,u=16,c=2,d=36,f="bwp-video",p="VIDEO_PAUSE",h="KEY_DOWN",g="CLICK_SUBTITLE",m="SENT_BILIBILI_AI_SUBTITLE_URL",b="SENT_YOUTUBE_SUBTITLE_API_URL",y="SENT_BAIDUPAN_SUBTITLE_API_URL",v="INIT_SUBTITLENODES",w="NO_SUBTITLENODES_DATA",x="api.bilibili.com/x/player/wbi/v2",S="/api/streaming",E="M3U8_SUBTITLE_SRT",_=".com/api/timedtext",k="K",T="J",O="I",R="U",I="H",P="L",C="R",L="Q",j="F",D="A",A="V",N="S",M="C",z=20,U="storage_randomUUID",F="alwaysRepeatPlay",B="playedThenPause",H="showEnDefinition",W="storage_replay_times",G="storage_max_pause_time",V="subtitlelistTabsKey",$="subtitlelistLanguageModeToShow",q="subtitlelistTabsScroll",Y="showSubtitle",K="showZhSubtitle",X="showSubtitleList",Z="showTTSSubtitleList",Q="draggableSubtitleListX",J="draggableSubtitleListY",ee="bilibiliTranslateSelectLang",et="showVideoMask",er="showSubtitleListMask",en="showFloatBall",ea="disableShortcuts",eo="allShortcuts",ei="videoMaskHeight",el=80,es="followReadTimes",eu=3,ec="followReadLength",ed=1.5,ef="storage_post_idletime_activetime_lock",ep="idleTimeVideoActivetime",eh="idleTimeDraggableSubListActivetime",eg="idleTimeNextjsSubListActivetime",em="idleTimeDraggableDictActivetime",eb="idleTimeYoutubeSubListActivetime",ey="idleTimeVideoActivetimeOther",ev="idleTimeVideoActivetimeYoutube",ew="idleTimeVideoActivetimeBilibili",ex="idleTimeVideoActivetime1zimu",eS="idleTimeVideoActivetimeBaidupan",eE="storage_azure_key_code",e_="storage_azure_key_area",ek="storage_favorites_dicts",eT="maskBackdropBlurPxValue",eO=!0,eR="maskBackdropBlurColor",eI="rgba(255, 255, 255, 0.3)",eP="storage_user_info",eC={default:""},eL=[],ej={next:k,pre:T,add:O,sub:R,videoMask:I,subMask:P,repeat:C,variableRepeat:L,followRead:j,fullMask:D,subtitleList:A,subtitle:N,zhSubtitle:M},eD="#16a34a",eA="21px",eN='ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',eM='ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',ez='ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',eU=[{value:1,label:"font-sans",origin:eN},{value:2,label:"font-serif",origin:eM},{value:3,label:"font-mono",origin:ez}],eF="700",eB="1.25",eH="zimu1_useStorage_sync_jwt",eW="zimu1_useStorage_sync_headimgurl",eG="zimu1_useStorage_sync_nickname",eV="zimu1_useStorage_sync_paid",e$=1e3,eq=480,eY=150,eK=150,eX=30,eZ="#1e1e1e",eQ=5,eJ=eQ+1,e0=10,e1=e0+1,e2="youtube.com/watch",e3="youtube.com/embed",e4="1zimu.com/player",e5="mix",e8="zh",e6="foreign",e9="storageSubtitleForeignFontsize",e7="storageSubtitleZhFontsize",te=16,tt="storageSubtitlelistForeignFontsize",tr="storageSubtitlelistZhFontsize",tn="storageArticleFontsize",ta="storage_subtitle_font_family",to="storage_subtitle_no",ti="storage_subtitle_no_current_time",tl="bilibili.com",ts="youtube.com",tu="1zimu.com",tc="pan.baidu.com",td="pan.baidu.com/pfile/video",tf="YoutubeSubtitleList",tp="NextjsSubtitleList",th="BilibiliSubtitleSwitch",tg="YoutubeSubtitleSwitch",tm="BaidupanSubtitleSwitch",tb="DraggableSubtitleList",ty=["https://www.youtube.com","https://youtube.com"],tv=["https://www.bilibili.com","https://bilibili.com"],tw=["https://www.1zimu.com","https://1zimu.com"],tx=["https://pan.baidu.com/pfile/video","https://pan.baidu.com"],tS="jwt is false"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"88X4r":[function(e,t,r){let n,a,o;var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"getVideojsNextjsSrtUrl",()=>E),i.export(r,"opYoutubeSubtitleContainer",()=>k),i.export(r,"loadeddata",()=>T),i.export(r,"timeUpdate",()=>O),i.export(r,"checkBwpVideo",()=>R),i.export(r,"keyDown",()=>I),i.export(r,"clearIntervalAndTimeOut",()=>P),i.export(r,"preSentence",()=>C),i.export(r,"nextSentence",()=>L),i.export(r,"addPlayRate",()=>j),i.export(r,"subPlayRate",()=>D),i.export(r,"http2https",()=>A),i.export(r,"json2subtitleList",()=>N),i.export(r,"getNodeStartOrEndTimeBTree",()=>M),i.export(r,"getNodeStartOrEndTime",()=>z),i.export(r,"followReadCall",()=>U),i.export(r,"variableRepeatCall",()=>F),i.export(r,"repeatCall",()=>H),i.export(r,"repeatPlay",()=>W),i.export(r,"isLikelyChinese",()=>G),i.export(r,"extractTextFromHtml",()=>V),i.export(r,"getTextWidth",()=>$),i.export(r,"getWidthPerChar",()=>q),i.export(r,"checkMSEdgeJwt",()=>Y),i.export(r,"sortByStart",()=>K),i.export(r,"sortByStartInData",()=>X),i.export(r,"findCueInRange",()=>Z),i.export(r,"findCueInArrayOn",()=>Q),i.export(r,"MSEdgeTranslateToSubtitleNodesText",()=>J),i.export(r,"formatDuration",()=>ee),i.export(r,"getFontFamilyByValue",()=>et),i.export(r,"stopPropagation",()=>er),i.export(r,"ecdictFav",()=>en),i.export(r,"ecdictFavDel",()=>ea),i.export(r,"getEcdictredInfoWithPermission",()=>eo),i.export(r,"getAzureTranslate",()=>el),i.export(r,"convertToOptions",()=>es),i.export(r,"getLangChineseName",()=>eu),i.export(r,"formSubtitleNodesFromPayload",()=>ec),i.export(r,"removeRangeInPlace",()=>ed),i.export(r,"controlPlayThenPause",()=>ef),i.export(r,"getAbsoluteTop",()=>ep),i.export(r,"biliHandleScroll",()=>eh),i.export(r,"youtubeHandleScroll",()=>eg),i.export(r,"baiduPanHandleScroll",()=>em),i.export(r,"zimu1HandleScroll",()=>eb),i.export(r,"cleanWord",()=>ey);var l=e("react-toastify"),s=e("~tools/constants"),u=e("~tools/queryVideo"),c=e("../redux/storeNoStorage"),d=e("~redux/store"),f=e("~redux/no-storage-slice"),p=e("jwt-decode"),h=e("@plasmohq/messaging"),g=e("./error"),m=e("~tools/logger"),b=e("./storages"),y=e("./sleep"),v=e("./permission"),w=e("./constants/lang");let x=(0,v.withPermissionCheck)(B,"true",chrome.i18n.getMessage("pleasePayItThenUse")),S=(0,v.withPermissionCheck)(function({nodes:e,times:t=s.VARIABLE_REPEAT_INIT_TIMES,playbackRate:r=.5,video:a,wavesurfer:o,isInlineSublist:i}){let u=0,d=0;P({video:a,wavesurfer:o,isInlineSublist:i});let p=0;p=i?a.currentTime:o.getCurrentTime();let h=W(e,p);if(void 0===h)return;u=h.start,d=h.end,i?(a.currentTime=u,a.playbackRate=r,a?.paused&&a.play()):(o.setTime(u),o.setPlaybackRate(r),o.play());let g=0;(0,l.toast).dismiss(),i?(g=a.playbackRate,(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t))):(g=o.getPlaybackRate(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t))),n=setInterval(()=>{i?a.currentTime>=d&&(a.currentTime=u,a.playbackRate=Number((r+=.1).toFixed(1)),t>0&&((0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${a.playbackRate}`,{autoClose:(d-u)*1e3/a.playbackRate}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t)))):o.getCurrentTime()>=d&&(o.setTime(u),o.setPlaybackRate(Number((r+=.1).toFixed(1))),t>0&&((0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${o.getPlaybackRate()}`,{autoClose:(d-u)*1e3/o.getPlaybackRate()}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t)))),t<=1&&(g=i?a.playbackRate:o.getPlaybackRate(),P({video:a,wavesurfer:o,isInlineSublist:i}),(0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\u7ed3\u675f\uff0c\u5f53\u524d\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}))},500)},"true",chrome.i18n.getMessage("pleasePayItThenUse"));function E(){try{let e=document.querySelector("#testId"),t=null;return e&&(t=e.getAttribute("data-srt-url")),t}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.getVideojsNextjsSrtUrl()"})}}async function _(e){try{let t=e?.target?.attributes["aria-pressed"]?.value;t&&("true"===t?await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!0):await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!1))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.youtubeSubtitleBtnListener()"})}}function k(e=!0){try{let t=document.getElementById("ytp-caption-window-container");t&&(t.style.display=e?"none":"")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.opYoutubeSubtitleContainer()"})}}async function T(){try{if(this?.src?.includes("youtube")){await c.storeReady,(0,c.store).dispatch((0,f.initSubtitleNodes)()),function(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");e&&(e.removeEventListener("click",_),e.addEventListener("click",_))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.addEventListener2YoutubeSubtitleBtn()"})}}(),await (0,y.sleep)(2e3),(0,y.clickYoutubeSubtitleBtn)(),k();let e=this.clientWidth,t=this.clientHeight;(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,c.store).dispatch((0,f.setClientHeight)(t))}}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.loadeddata()"})}}async function O(){try{if(R())return;let e=this.currentTime,t=this.clientWidth,r=this.clientHeight,n=this.paused,a=this.playbackRate;e!==(0,c.store).getState().noStorager.currentT&&(0,c.store).dispatch((0,f.setCurrentTime)(e)),t!==(0,c.store).getState().noStorager.clientWidth&&(0,c.store).dispatch((0,f.setClientWidth)(t)),r!==(0,c.store).getState().noStorager.clientHeight&&(0,c.store).dispatch((0,f.setClientHeight)(r)),n!==(0,c.store).getState().noStorager.paused&&(0,c.store).dispatch((0,f.setPaused)(n)),a!==(0,c.store).getState().noStorager.mediaPlaybackRate&&(0,c.store).dispatch((0,f.setMediaPlaybackRate)(a));let i=await (0,b.storage).get(s.STORAGE_PLAYED_THEN_PAUSE);if(i&&(0,c.store).getState().noStorager.playThenPause){this.pause();let e=await (0,b.storage).get(s.STORAGE_MAX_PAUSE_TIME);o=setTimeout(()=>{this instanceof HTMLVideoElement?this.play():console.error('Invalid context: "this" is not an HTMLVideoElement'),clearTimeout(o)},1e3*parseInt(e))}(0,m.logger).log("current time is :>> ",e);let l=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELIST);l!==(0,c.store).getState().noStorager.showSubtitleList&&(0,c.store).dispatch((0,f.setShowSubtitleList)(l))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.timeUpdate()"})}}function R(){try{let e=window,t=document,r=t.querySelector(s.BWP_VIDEO);if(r?e.videoOrNot=!1:e.videoOrNot=!0,e?.browserType?.includes("edge")&&t?.baseURI?.includes("bilibili.com")&&e?.OSType?.includes("windows")&&!e?.videoOrNot)return!0;return!1}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.checkBwpVideo()"})}}async function I(e){try{let t=window,r=document,n=(0,c.store).getState().noStorager.subtitleNodes;if(n?.length<1){(0,m.logger).error("\u6ca1\u6709\u5b57\u5e55\u6570\u636e\u65f6\uff0ckeyDown() return.");return}if(e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"){(0,m.logger).error("\u6b63\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\uff0c\u5c31\u4e0d\u548c keyDown \u4e8b\u4ef6\u51b2\u7a81\u4e86\uff01");return}if(!d.store?.getState()?.odd?.popupShow||e?.ctrlKey||e?.shiftKey||e?.altKey)return;if(e?.target&&e?.target?.id==="DraggableDict"||e?.target&&e?.target?.id===s.DRAGGABLESUBTITLELIST||e?.target&&e?.target?.id===s.NEXTJSSUBTITLELIST||e?.target&&e?.target?.id===s.YOUTUBESUBTITLELIST){e.stopPropagation();return}let a=(0,u.queryVideoElementWithBlob)("keyDown");if(!a)return;e?.code?.toLocaleLowerCase()==="pageup"&&C({nodes:n,video:a,currentTime:a.currentTime}),e?.code?.toLocaleLowerCase()==="pagedown"&&L({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleLowerCase()==="enter"&&(a.paused?a.play():a.pause());let o=await (0,b.storage).get(s.STORAGE_DISABLESHORTCUTS);if(o)return;let i=await (0,b.storage).get(s.STORAGE_ALL_SHORTCUTS),{next:p,pre:h,add:g,sub:y,videoMask:v,subMask:w,repeat:x,variableRepeat:S,followRead:E,fullMask:_,subtitle:k,zhSubtitle:T,subtitleList:O}=i;if(e?.repeat)(0,m.logger).log(`\u91cd\u590d "${e?.key?.toLocaleUpperCase()}" \u952e [\u4e8b\u4ef6\uff1akeydown]`);else{if(R()){let n=e.key;n>"0"&&n<="10"&&(n=parseInt(n));let a={id:e.target.id},o=e.repeat;t.postMessage({key:n,target:a,repeatKeyDown:o,postMsgType:s.KEY_DOWN},r.baseURI);return}if("Escape"===e.key&&(P({video:a}),await (0,b.storage).set(s.STORAGE_ALWAY_REPEAT_PLAY,!1)),e?.key?.toLocaleUpperCase()===_){let e=a.clientWidth,t=(0,c.store).getState().noStorager.maskFull;(0,c.store).dispatch((0,f.setMaskFull)(!t)),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u53d6\u6d88\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321"):(0,l.toast)("\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321")}if(e?.key?.toLocaleUpperCase()===v){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWVIDEOMASK);await (0,b.storage).set(s.STORAGE_SHOWVIDEOMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u906e\u7f69\u5c42"):(0,l.toast)("\u663e\u793a\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===w){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELISTMASK);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLELISTMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42"):(0,l.toast)("\u663e\u793a\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===O){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELIST);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLELIST,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55List"):(0,l.toast)("\u663e\u793a\u5b57\u5e55List")}if(e?.key?.toLocaleUpperCase()===k){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLE);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55"):(0,l.toast)("\u663e\u793a\u5b57\u5e55")}if(e?.key?.toLocaleUpperCase()===T){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWZHSUBTITLE);await (0,b.storage).set(s.STORAGE_SHOWZHSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,l.toast)("\u9690\u85cf\u4e2d\u6587\u5b57\u5e55"):(0,l.toast)("\u663e\u793a\u4e2d\u6587\u5b57\u5e55")}e?.key?.toLocaleUpperCase()===S&&F({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===x&&H({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===E&&U(n,a),e?.key?.toLocaleUpperCase()===g&&j({video:a}),e?.key?.toLocaleUpperCase()===y&&D({video:a}),e?.key?.toLocaleUpperCase()===h&&C({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleUpperCase()===p&&L({nodes:n,video:a,currentTime:a.currentTime})}}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.keyDown()"})}}function P({video:e,wavesurfer:t,isInlineSublist:r=!0}){try{(n||a||o)&&((0,l.toast)(`\u53d6\u6d88 \u91cd\u590d\u64ad\u653e \u6216 \u53d8\u901f\u64ad\u653e`),n&&clearInterval(n),a&&clearTimeout(a),o&&clearTimeout(o),r?(e.playbackRate=1,e.paused&&e.play(),(0,c.store).dispatch((0,f.setRepeatTimes)(s.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(s.VARIABLE_REPEAT_UI_INIT_TIMES))):(t&&t.setPlaybackRate(1),t&&t.play(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(s.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(s.VARIABLE_REPEAT_UI_INIT_TIMES))),n=void 0,a=void 0)}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.clearIntervalAndTimeOut()"})}}function C({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{preNodeStartTime:o}=M(e,r);P({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,l.toast).dismiss(),(0,l.toast)("\u4e0a\u4e00\u53e5")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.preSentence()"})}}function L({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{nextNodeStartTime:o}=M(e,r);P({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,l.toast).dismiss(),(0,l.toast)("\u4e0b\u4e00\u53e5")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.nextSentence()"})}}function j({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate<10?(e.playbackRate=Number((e.playbackRate+.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,l.toast).dismiss(),e&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`)):r&&r?.getPlaybackRate()<10?(r.setPlaybackRate(Number((r.getPlaybackRate()+.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,l.toast).dismiss(),r&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function D({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate>.2?(e.playbackRate=Number((e.playbackRate-.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,l.toast).dismiss(),e&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u51cf\u4e86\uff01`)):r&&r?.getPlaybackRate()>.2?(r.setPlaybackRate(Number((r.getPlaybackRate()-.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,l.toast).dismiss(),r&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function A(e){if(!e.includes("https")){let t=new URL(e);return`https://${t.host}${t.pathname}${t.search}`}return e}function N(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r],a=n.content.replace(/\n/g," "),o={type:"cue",data:{start:1e3*n.from,end:1e3*n.to,text:a}};t.push(o)}return t}function M(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],l=a.data.start/1e3,s=o.data.start/1e3,u=i.data.start/1e3,c=0,d=e.length-1,f=0;for(;c<=d;){f++;let i=c+Math.floor((d-c)/2),p=i-1,h=i+1,g=p<0?a:e[p],b=h>=e.length?o:e[h],y=e[i],v=g.data.start/1e3,w=b.data.start/1e3,x=y.data.start/1e3;if(x<=t&&t<=w)return r=v,n=w,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(t<=x?d=i-1:t>=w&&(c=i+1),t<=l)return r=l,n=l,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(s<=t)return r=u,n=s,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}return(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}function z(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],l=a.data.start/1e3,s=o.data.start/1e3,u=i.data.start/1e3;for(let i=0;i<e.length;i++){let c=i-1,d=i+1,f=c<0?a:e[c],p=d>=e.length?o:e[d],h=e[i],g=f.data.start/1e3,m=p.data.start/1e3,b=h.data.start/1e3;if(b<=t&&t<=m){r=g,n=m;break}if(t<=l)return{preNodeStartTime:r=l,nextNodeStartTime:n=l};if(s<=t){r=u,n=s;break}}return{preNodeStartTime:r,nextNodeStartTime:n}}async function U(e,t){P({video:t});let r=await (0,b.storage).get(s.STORAGE_FOLLOW_READ_TIMES),o=await (0,b.storage).get(s.STORAGE_FOLLOW_READ_LENGTH),i=W(e,t.currentTime);if(void 0===i)return;let{start:u,end:c}=i;t.currentTime=u,t?.paused&&t.play();let d=parseInt(r),f=parseFloat(o);(0,l.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u5171${d}\u6b21`,{autoClose:(c-u)*1e3/t.playbackRate}),n=setInterval(()=>{t.currentTime>=c&&(t.currentTime=u,t.pause(),(0,l.toast)(`\u8bf7\u8ddf\u8bfb\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3*f/t.playbackRate}),a=setTimeout(()=>{t.play(),d--,clearTimeout(a),d>0&&(0,l.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3/t.playbackRate})},(c-u)*1e3*f/t.playbackRate)),d<=0&&P({video:t})},500)}function F({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){S({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}async function B({nodes:e,times:t=s.REPEAT_INIT_TIMES,video:r,wavesurfer:a,isInlineSublist:o}){let i=0,u=0;P({video:r,wavesurfer:a,isInlineSublist:o}),t=await (0,b.storage).get(s.STORAGE_REPLAY_TIMES)||s.REPEAT_INIT_TIMES;let d=await (0,b.storage).get(s.STORAGE_ALWAY_REPEAT_PLAY)||!1,p=0;p=o?r.currentTime:a.getCurrentTime();let h=W(e,p);if(void 0===h)return;i=h.start,u=h.end,o?(r.currentTime=i,r?.paused&&r.play()):(a.setTime(i),a.play());let g=0;(0,l.toast).dismiss(),o?(g=r.playbackRate,(0,c.store).dispatch((0,f.setRepeatTimes)(t))):(g=a.getPlaybackRate(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t))),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u5171${t}\u6b21`,{autoClose:(u-i)*1e3/g}),n=setInterval(()=>{if(t<=1&&d&&r.currentTime>=u){P({video:r,wavesurfer:a,isInlineSublist:o});return}o?r.currentTime>=u&&((0,l.toast).dismiss(),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/r.playbackRate}),(0,c.store).dispatch((0,f.setRepeatTimes)(t)),r.currentTime=i):a.getCurrentTime()>=u&&((0,l.toast).dismiss(),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/a.getPlaybackRate()}),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t)),a.setTime(i)),t<=1&&!d&&P({video:r,wavesurfer:a,isInlineSublist:o})},500)}async function H({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){await x({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}function W(e,t){let{cue:r,index:n}=Z(e,t);if(-1!==n)return{start:r.data.start/1e3,end:r.data.end/1e3}}function G(e){let t=(e.match(/[\u4e00-\u9fff]/g)||[]).length,r=(e.match(/[a-zA-Z]/g)||[]).length;return t>r}function V(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function $(e,t,r,n){let a=document.createElement("span");a.style.lineHeight=s.LINE_HEIGHT,a.style.fontSize=t,a.style.fontWeight=n,a.style.fontFamily=r,a.style.whiteSpace="nowrap",a.style.visibility="hidden",a.style.position="absolute",a.textContent=e,document.body.appendChild(a);let o=a.offsetWidth,i=a.offsetHeight;return document.body.removeChild(a),{widthText:o,heightText:i}}function q(e="21px",t="21px",r=s.FONT_SANS){let n,a;let o="abcdefghijklmnopqrstuvwxyz",i="\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341";n=$(o,e,r,s.FONT_WEIGHT);let l=n.widthText/o.length,u=n.heightText;a=$(i,t,r,s.FONT_WEIGHT);let c=a.widthText/i.length,d=a.heightText;return{widthPerEnChar:l,widthPerZhChar:c,heightPerEnChar:u,heightPerZhChar:d}}function Y(e){if(!e)return!1;let t={region:"","subscription-id":"","product-id":"","cognitive-services-endpoint":"","azure-resource-id":"",scope:"",aud:"",exp:0,iss:""};return e.length>1?t=(0,p.jwtDecode)(e):t.exp=0,!(t?.exp<Date.now()/1e3)}function K(e){return e.sort((e,t)=>e.start<t.start?-1:e.start>t.start?1:0)}function X(e){return e.sort((e,t)=>e.data.start<t.data.start?-1:e.data.start>t.data.start?1:0)}function Z(e,t){let r=0,n=e.length-1,a=null,o=-1,i=0;for(;r<=n;){i++;let l=r+Math.floor((n-r)/2),s=e[l],u=s.data.start/1e3,c=s.data.end/1e3;u<=t&&c>=t?(a=s,o=l,n=l-1):u>t?n=l-1:r=l+1}return a&&a.data&&a.data.text?((0,m.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:o}):((0,m.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:-1})}function Q(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(n.data.start/1e3<=t&&n.data.end/1e3>=t)return{cue:n,index:r}}return{cue:null,index:-1}}function J(e,t){if(t.length!==e.length)return!1;let r=[];for(let n=0;n<t.length;n++){let a=t[n],o=e[n].translations[0].text,i=a.data.text,l={type:"cue",data:{start:0,end:0,index:0,text:"",zh_text:""}};l.data.start=a.data.start,l.data.end=a.data.end,l.data.index=a.data.index,a.data?.words?.length>0&&(l.data.words=[...a.data.words]),G(i)?(l.data.text=o,l.data.zh_text=i):(l.data.text=i,l.data.zh_text=o),r.push(l)}return r}function ee(e){let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.round(e%60);return t>99?[t,r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":"):[t.toString().padStart(2,"0"),r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function et(e){let t=s.SUBTITLE_FONT_FAMILY;for(let r=0;r<t.length;r++){let n=t[r];if(n.value===e)return n}}function er(e){d.store?.getState()?.odd?.popupShow&&(document?.URL?.includes("youtube.com")&&(37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&e.stopPropagation(),I(e),32!==e.keyCode||e?.target?.id===s.YOUTUBESUBTITLELIST||e?.target?.id==="DraggableDict"||e?.target?.id===s.DRAGGABLESUBTITLELIST||e?.target?.id===s.NEXTJSSUBTITLELIST||e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"||e.preventDefault()),(33===e.keyCode||34===e.keyCode)&&e.preventDefault())}async function en({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavMsg",word:e}});return t?.result?t.result:void 0}async function ea({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavDelMsg",word:e}});return t?.result?t.result:void 0}let eo=(0,v.withPermissionCheck)(ei,"true","\u8bf7\u5f00\u901a\u4f1a\u5458\u540e\u4f7f\u7528\u5212\u8bcd\u8bcd\u5178\u529f\u80fd");async function ei({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"getEcdictredInfo",word:e}});return t?.result?t.result:void 0}async function el(e,t,r,n){try{let a=[];for(let r=0;r<e.length;r+=400){let n=e.slice(r,r+400),o=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"azureTranslate",q:n,target:t}});if(o?.translations&&Array.isArray(o.translations))a.push(...o.translations);else throw console.error("Invalid response format:",o.error),Error(o.error)}if(a?.length>0){let e=J(a,r);e?(await (0,y.sleep)(300),n?(0,c.store).dispatch((0,f.setSubtitleNodes)(e)):(0,c.store).dispatch((0,f.setTTSSubtitleNodes)(e))):((0,l.toast).dismiss(),(0,l.toast).error(chrome.i18n.getMessage("translateDataIsNotPairedContactAdministrator"),{autoClose:18e4}))}else throw Error("Error in getAzureTranslate\uff0ctranslations is empty")}catch(e){(0,l.toast).dismiss(),(0,l.toast).error(`code:${e?.code},message:${e?.message}`,{autoClose:18e4})}}function es(e){let t=e.reduce((e,t)=>{let r=t.locale;return e.has(r)||e.set(r,{value:r,label:r,children:[]}),e.get(r)?.children?.push({value:t.shortName,label:`${t.localName} ${t.localeName} ${1!==t.gender?"Male":"Female"} ${t.wordsPerMinute}`}),e},new Map);return Array.from(t.values())}function eu(e){return w.LANG_MAP[e]||"\u672a\u77e5\u8bed\u79cd"}function ec(e){let t=[],r=X(e),n=0;return r.forEach(e=>{if(e?.data?.text&&e?.data?.text.includes("\n")){let r=e.data.text;e.data.text="";let a=r.split("\n"),o={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};a.forEach(t=>{let r=V(t);G(r)?(o=e).data.zh_text=r:(o=e).data.text=r}),o.data.index=n,t.push(o)}else e.data.index=n,t.push(e);n+=1}),t}function ed(e,t,r){if(t<0||r>=e.length||t>r)throw Error("\u65e0\u6548\u7684\u7d22\u5f15\u8303\u56f4");return e.splice(t,r-t+1),e}function ef({setStoreIndex:e,indexFromFind:t,indexFromStore:r,setPlayThenPauseOrNot:n=!0}){try{t!==r&&-1!==t?(t>=0&&-1===r?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0)),(0,c.store).dispatch(e(t))):t===r&&!1!==(0,c.store).getState().noStorager.playThenPause?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):-1===t&&r>=0?((0,c.store).dispatch(e(-1)),n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0))):-1===t&&t===r&&n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1))}catch(e){(0,g.handleError)({error:e,msgToShow:"contents.storeCore.controlPlayThenPause"})}}function ep(e){let t=e.getBoundingClientRect(),r=document?.documentElement?.scrollTop||document?.body?.scrollTop;return t.top+r}function eh(){let e,t;let r=document.querySelector("#danmukuBox .danmaku-wrap");if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eg(){let e,t;let r=(0,u.queryYoutubeItems)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function em(){let e,t;let r=(0,u.queryBaiduPanRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eb(){let e,t;let r=(0,u.queryRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function ey(e){return"string"!=typeof e?e:e.replace(/^[^a-zA-Z]*(.*?)[^a-zA-Z]*$/,"$1")}},{"react-toastify":"7cUZK","~tools/constants":"DgB7r","~tools/queryVideo":"cTLmP","../redux/storeNoStorage":"20ikG","~redux/store":"gaugC","~redux/no-storage-slice":"jZFan","jwt-decode":"ftkuD","@plasmohq/messaging":"92GyB","./error":"82aS0","~tools/logger":"1qe3F","./storages":"hpDvz","./sleep":"1N71i","./permission":"9ypWX","./constants/lang":"3ofev","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7cUZK":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Bounce",()=>z),n.export(r,"Flip",()=>B),n.export(r,"Icons",()=>A),n.export(r,"Slide",()=>U),n.export(r,"ToastContainer",()=>W),n.export(r,"Zoom",()=>F),n.export(r,"collapseToast",()=>p),n.export(r,"cssTransition",()=>h),n.export(r,"toast",()=>L),n.export(r,"useToast",()=>k),n.export(r,"useToastContainer",()=>_);var a=e("react"),o=n.interopDefault(a),i=e("clsx"),l=n.interopDefault(i);let s=e=>"number"==typeof e&&!isNaN(e),u=e=>"string"==typeof e,c=e=>"function"==typeof e,d=e=>u(e)||c(e)?e:null,f=e=>(0,a.isValidElement)(e)||u(e)||c(e)||s(e);function p(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=n+"px",a.transition=`all ${r}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,r)})})}function h(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(e){let{children:s,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:h,playToast:g}=e,m=n?`${t}--${u}`:t,b=n?`${r}--${u}`:r,y=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let e=f.current,t=m.split(" "),r=n=>{n.target===f.current&&(g(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===y.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,a.useEffect)(()=>{let e=f.current,t=()=>{e.removeEventListener("animationend",t),i?p(e,d,l):d()};h||(c?t():(y.current=1,e.className+=` ${b}`,e.addEventListener("animationend",t)))},[h]),(0,o.default).createElement(o.default.Fragment,null,s)}}function g(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let m=new Map,b=[],y=new Set,v=e=>y.forEach(t=>t(e)),w=()=>m.size>0;function x(e,t){var r;if(t)return!(null==(r=m.get(t))||!r.isToastActive(e));let n=!1;return m.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function S(e,t){f(e)&&(w()||b.push({content:e,options:t}),m.forEach(r=>{r.buildToast(e,t)}))}function E(e,t){m.forEach(r=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===r.id&&r.toggle(e,null==t?void 0:t.id):r.toggle(e,null==t?void 0:t.id)})}function _(e){let{subscribe:t,getSnapshot:r,setProps:n}=(0,a.useRef)(function(e){let t=e.containerId||1;return{subscribe(r){let n=function(e,t,r){let n=1,o=0,i=[],l=[],p=[],h=t,m=new Map,b=new Set,y=()=>{p=Array.from(m.values()),b.forEach(e=>e())},v=e=>{l=null==e?[]:l.filter(t=>t!==e),y()},w=e=>{let{toastId:t,onOpen:n,updateId:o,children:i}=e.props,s=null==o;e.staleId&&m.delete(e.staleId),m.set(t,e),l=[...l,e.props.toastId].filter(t=>t!==e.staleId),y(),r(g(e,s?"added":"updated")),s&&c(n)&&n((0,a.isValidElement)(i)&&i.props)};return{id:e,props:h,observe:e=>(b.add(e),()=>b.delete(e)),toggle:(e,t)=>{m.forEach(r=>{null!=t&&t!==r.props.toastId||c(r.toggle)&&r.toggle(e)})},removeToast:v,toasts:m,clearQueue:()=>{o-=i.length,i=[]},buildToast:(t,l)=>{var p,b;if((t=>{let{containerId:r,toastId:n,updateId:a}=t,o=m.has(n)&&null==a;return(r?r!==e:1!==e)||o})(l))return;let{toastId:x,updateId:S,data:E,staleId:_,delay:k}=l,T=()=>{v(x)},O=null==S;O&&o++;let R={...h,style:h.toastStyle,key:n++,...Object.fromEntries(Object.entries(l).filter(e=>{let[t,r]=e;return null!=r})),toastId:x,updateId:S,data:E,closeToast:T,isIn:!1,className:d(l.className||h.toastClassName),bodyClassName:d(l.bodyClassName||h.bodyClassName),progressClassName:d(l.progressClassName||h.progressClassName),autoClose:!l.isLoading&&(p=l.autoClose,b=h.autoClose,!1===p||s(p)&&p>0?p:b),deleteToast(){let e=m.get(x),{onClose:t,children:n}=e.props;c(t)&&t((0,a.isValidElement)(n)&&n.props),r(g(e,"removed")),m.delete(x),--o<0&&(o=0),i.length>0?w(i.shift()):y()}};R.closeButton=h.closeButton,!1===l.closeButton||f(l.closeButton)?R.closeButton=l.closeButton:!0===l.closeButton&&(R.closeButton=!f(h.closeButton)||h.closeButton);let I=t;(0,a.isValidElement)(t)&&!u(t.type)?I=(0,a.cloneElement)(t,{closeToast:T,toastProps:R,data:E}):c(t)&&(I=t({closeToast:T,toastProps:R,data:E}));let P={content:I,props:R,staleId:_};h.limit&&h.limit>0&&o>h.limit&&O?i.push(P):s(k)?setTimeout(()=>{w(P)},k):w(P)},setProps(e){h=e},setToggle:(e,t)=>{m.get(e).toggle=t},isToastActive:e=>l.some(t=>t===e),getSnapshot:()=>p}}(t,e,v);m.set(t,n);let o=n.observe(r);return b.forEach(e=>S(e.content,e.options)),b=[],()=>{o(),m.delete(t)}},setProps(e){var r;null==(r=m.get(t))||r.setProps(e)},getSnapshot(){var e;return null==(e=m.get(t))?void 0:e.getSnapshot()}}}(e)).current;n(e);let o=(0,a.useSyncExternalStore)(t,r,r);return{getToastToRender:function(t){if(!o)return[];let r=new Map;return e.newestOnTop&&o.reverse(),o.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},isToastActive:x,count:null==o?void 0:o.length}}function k(e){var t,r;let[n,o]=(0,a.useState)(!1),[i,l]=(0,a.useState)(!1),s=(0,a.useRef)(null),u=(0,a.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:h}=e;function g(){o(!0)}function b(){o(!1)}function y(t){let r=s.current;u.canDrag&&r&&(u.didMove=!0,n&&b(),u.delta="x"===e.draggableDirection?t.clientX-u.start:t.clientY-u.start,u.start!==t.clientX&&(u.canCloseOnClick=!1),r.style.transform=`translate3d(${"x"===e.draggableDirection?`${u.delta}px, var(--y)`:`0, calc(${u.delta}px + var(--y))`},0)`,r.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function v(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",v);let t=s.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return l(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(r=m.get((t={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))||r.setToggle(t.id,t.fn),(0,a.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||b(),window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e.pauseOnFocusLoss]);let w={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",v);let r=s.current;u.canCloseOnClick=!0,u.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(u.start=t.clientX,u.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(u.start=t.clientY,u.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:r,bottom:n,left:a,right:o}=s.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=a&&t.clientX<=o&&t.clientY>=r&&t.clientY<=n?b():g()}};return c&&d&&(w.onMouseEnter=b,e.stacked||(w.onMouseLeave=g)),h&&(w.onClick=e=>{p&&p(e),u.canCloseOnClick&&f()}),{playToast:g,pauseToast:b,isRunning:n,preventExitTransition:i,toastRef:s,eventHandlers:w}}function T(e){let{delay:t,isRunning:r,closeToast:n,type:a="default",hide:i,className:s,style:u,controlledProgress:d,progress:f,rtl:p,isIn:h,theme:g}=e,m=i||d&&0===f,b={...u,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};d&&(b.transform=`scaleX(${f})`);let y=(0,l.default)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":p}),v=c(s)?s({rtl:p,type:a,defaultClassName:y}):(0,l.default)(y,s);return(0,o.default).createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},(0,o.default).createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${a}`}),(0,o.default).createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:v,style:b,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{h&&n()}}))}let O=1,R=()=>""+O++;function I(e,t){return S(e,t),t.toastId}function P(e,t){return{...t,type:t&&t.type||e,toastId:t&&(u(t.toastId)||s(t.toastId))?t.toastId:R()}}function C(e){return(t,r)=>I(t,P(e,r))}function L(e,t){return I(e,P("default",t))}L.loading=(e,t)=>I(e,P("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),L.promise=function(e,t,r){let n,{pending:a,error:o,success:i}=t;a&&(n=u(a)?L.loading(a,r):L.loading(a.render,{...r,...a}));let l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(e,t,a)=>{if(null==t)return void L.dismiss(n);let o={type:e,...l,...r,data:a},i=u(t)?{render:t}:t;return n?L.update(n,{...o,...i}):L(i.render,{...o,...i}),a},d=c(e)?e():e;return d.then(e=>s("success",i,e)).catch(e=>s("error",o,e)),d},L.success=C("success"),L.info=C("info"),L.error=C("error"),L.warning=C("warning"),L.warn=L.warning,L.dark=(e,t)=>I(e,P("default",{theme:"dark",...t})),L.dismiss=function(e){!function(e){var t;if(w()){if(null==e||u(t=e)||s(t))m.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=m.get(e.containerId);t?t.removeToast(e.id):m.forEach(t=>{t.removeToast(e.id)})}}else b=b.filter(t=>null!=e&&t.options.toastId!==e)}(e)},L.clearWaitingQueue=function(e){void 0===e&&(e={}),m.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},L.isActive=x,L.update=function(e,t){void 0===t&&(t={});let r=((e,t)=>{var r;let{containerId:n}=t;return null==(r=m.get(n||1))?void 0:r.toasts.get(e)})(e,t);if(r){let{props:n,content:a}=r,o={delay:100,...n,...t,toastId:t.toastId||e,updateId:R()};o.toastId!==e&&(o.staleId=e);let i=o.render||a;delete o.render,I(i,o)}},L.done=e=>{L.update(e,{progress:1})},L.onChange=function(e){return y.add(e),()=>{y.delete(e)}},L.play=e=>E(!0,e),L.pause=e=>E(!1,e);let j="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,D=e=>{let{theme:t,type:r,isLoading:n,...a}=e;return(0,o.default).createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...a})},A={info:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,o.default).createElement("div",{className:"Toastify__spinner"})}},N=e=>{let{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:i,playToast:s}=k(e),{closeButton:u,children:d,autoClose:f,onClick:p,type:h,hideProgressBar:g,closeToast:m,transition:b,position:y,className:v,style:w,bodyClassName:x,bodyStyle:S,progressClassName:E,progressStyle:_,updateId:O,role:R,progress:I,rtl:P,toastId:C,deleteToast:L,isIn:j,isLoading:D,closeOnClick:N,theme:M}=e,z=(0,l.default)("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":N}),U=c(v)?v({rtl:P,position:y,type:h,defaultClassName:z}):(0,l.default)(z,v),F=function(e){let{theme:t,type:r,isLoading:n,icon:o}=e,i=null,l={theme:t,type:r};return!1===o||(c(o)?i=o({...l,isLoading:n}):(0,a.isValidElement)(o)?i=(0,a.cloneElement)(o,l):n?i=A.spinner():r in A&&(i=A[r](l))),i}(e),B=!!I||!f,H={closeToast:m,type:h,theme:M},W=null;return!1===u||(W=c(u)?u(H):(0,a.isValidElement)(u)?(0,a.cloneElement)(u,H):function(e){let{closeToast:t,theme:r,ariaLabel:n="close"}=e;return(0,o.default).createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":n},(0,o.default).createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,o.default).createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(H)),(0,o.default).createElement(b,{isIn:j,done:L,position:y,preventExitTransition:r,nodeRef:n,playToast:s},(0,o.default).createElement("div",{id:C,onClick:p,"data-in":j,className:U,...i,style:w,ref:n},(0,o.default).createElement("div",{...j&&{role:R},className:c(x)?x({type:h}):(0,l.default)("Toastify__toast-body",x),style:S},null!=F&&(0,o.default).createElement("div",{className:(0,l.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!D})},F),(0,o.default).createElement("div",null,d)),W,(0,o.default).createElement(T,{...O&&!B?{key:`pb-${O}`}:{},rtl:P,theme:M,delay:f,isRunning:t,isIn:j,closeToast:m,hide:g,type:h,style:_,className:E,controlledProgress:B,progress:I||0})))},M=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},z=h(M("bounce",!0)),U=h(M("slide",!0)),F=h(M("zoom")),B=h(M("flip")),H={position:"top-right",transition:z,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function W(e){let t={...H,...e},r=e.stacked,[n,i]=(0,a.useState)(!0),s=(0,a.useRef)(null),{getToastToRender:u,isToastActive:f,count:p}=_(t),{className:h,style:g,rtl:m,containerId:b}=t;function y(){r&&(i(!0),L.play())}return j(()=>{if(r){var e;let r=s.current.querySelectorAll('[data-in="true"]'),a=null==(e=t.position)?void 0:e.includes("top"),o=0,i=0;Array.from(r).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${n}`),e.dataset.pos||(e.dataset.pos=a?"top":"bot");let r=o*(n?.2:1)+(n?0:12*t);e.style.setProperty("--y",`${a?r:-1*r}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",""+(1-(n?i:0))),o+=e.offsetHeight,i+=.025})}},[n,p,r]),(0,o.default).createElement("div",{ref:s,className:"Toastify",id:b,onMouseEnter:()=>{r&&(i(!1),L.pause())},onMouseLeave:y},u((e,t)=>{let n=t.length?{...g}:{...g,pointerEvents:"none"};return(0,o.default).createElement("div",{className:function(e){let t=(0,l.default)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return c(h)?h({position:e,rtl:m,defaultClassName:t}):(0,l.default)(t,d(h))}(e),style:n,key:`container-${e}`},t.map(e=>{let{content:t,props:n}=e;return(0,o.default).createElement(N,{...n,stacked:r,collapseAll:y,isIn:f(n.toastId,n.containerId),style:n.style,key:`toast-${n.key}`},t)}))}))}},{react:"329PG",clsx:"jgTfo","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jgTfo:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(n&&(n+=" "),n+=t);return n}n.defineInteropFlag(r),n.export(r,"clsx",()=>a),r.default=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"20ikG":[function(e,t,r){let n;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"store",()=>n),a.export(r,"isStoreReady",()=>f),a.export(r,"storeReady",()=>p),a.export(r,"MyContext",()=>h),a.export(r,"useAppDispatch",()=>b),a.export(r,"useAppSelector",()=>y);var o=e("@reduxjs/toolkit"),i=e("./no-storage-slice"),l=a.interopDefault(i),s=e("react"),u=a.interopDefault(s),c=e("react-redux");let d={isReady:!1};try{(n=(0,o.configureStore)({reducer:{noStorager:l.default,readiness:(e=d,t)=>"STORE_READY"===t.type?{...e,isReady:!0}:e},middleware:e=>e({thunk:!1})})).dispatch({type:"STORE_READY"})}catch(e){console.error("Critical: Store initialization failed",e)}let f=e=>e.readiness.isReady,p=new Promise(e=>{if(n?.getState()?.readiness?.isReady){e();return}let t=n.subscribe(()=>{f(n.getState())&&(t(),e())})}),h=(0,u.default).createContext(null),g=(0,c.createDispatchHook)(h),m=(0,c.createSelectorHook)(h),b=g,y=m},{"@reduxjs/toolkit":"59iT9","./no-storage-slice":"jZFan",react:"329PG","react-redux":"lWScv","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"59iT9":[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"ReducerType",()=>el),a.export(r,"SHOULD_AUTOBATCH",()=>M),a.export(r,"TaskAbortError",()=>eT),a.export(r,"Tuple",()=>I),a.export(r,"addListener",()=>eY),a.export(r,"asyncThunkCreator",()=>ei),a.export(r,"autoBatchEnhancer",()=>F),a.export(r,"buildCreateSlice",()=>es),a.export(r,"clearAllListeners",()=>eK),a.export(r,"combineSlices",()=>tt),a.export(r,"configureStore",()=>H),a.export(r,"createAction",()=>_),a.export(r,"createActionCreatorInvariantMiddleware",()=>R),a.export(r,"createAsyncThunk",()=>en),a.export(r,"createDraftSafeSelector",()=>x),a.export(r,"createDraftSafeSelectorCreator",()=>w),a.export(r,"createDynamicMiddleware",()=>e1),a.export(r,"createEntityAdapter",()=>ey),a.export(r,"createImmutableStateInvariantMiddleware",()=>j),a.export(r,"createListenerMiddleware",()=>eQ),a.export(r,"createNextState",()=>i.produce),a.export(r,"createReducer",()=>G),a.export(r,"createSelector",()=>l.createSelector),a.export(r,"createSelectorCreator",()=>l.createSelectorCreator),a.export(r,"createSerializableStateInvariantMiddleware",()=>A),a.export(r,"createSlice",()=>eu),a.export(r,"current",()=>i.current),a.export(r,"findNonSerializableValue",()=>function e(t,r="",n=D,a,o=[],i){let l;if(!n(t))return{keyPath:r||"<root>",value:t};if("object"!=typeof t||null===t||(null==i?void 0:i.has(t)))return!1;let s=null!=a?a(t):Object.entries(t),u=o.length>0;for(let[t,c]of s){let s=r?r+"."+t:t;if(u){let e=o.some(e=>e instanceof RegExp?e.test(s):s===e);if(e)continue}if(!n(c))return{keyPath:s,value:c};if("object"==typeof c&&(l=e(c,s,n,a,o,i)))return l}return i&&function e(t){if(!Object.isFrozen(t))return!1;for(let r of Object.values(t))if("object"==typeof r&&null!==r&&!e(r))return!1;return!0}(t)&&i.add(t),!1}),a.export(r,"formatProdErrorMessage",()=>tr),a.export(r,"freeze",()=>i.freeze),a.export(r,"isActionCreator",()=>k),a.export(r,"isAllOf",()=>q),a.export(r,"isAnyOf",()=>$),a.export(r,"isAsyncThunkAction",()=>function e(...t){return 0===t.length?e=>Y(e,["pending","fulfilled","rejected"]):K(t)?$(...t.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):e()(t[0])}),a.export(r,"isDraft",()=>i.isDraft),a.export(r,"isFluxStandardAction",()=>T),a.export(r,"isFulfilled",()=>function e(...t){return 0===t.length?e=>Y(e,["fulfilled"]):K(t)?$(...t.map(e=>e.fulfilled)):e()(t[0])}),a.export(r,"isImmutableDefault",()=>L),a.export(r,"isPending",()=>function e(...t){return 0===t.length?e=>Y(e,["pending"]):K(t)?$(...t.map(e=>e.pending)):e()(t[0])}),a.export(r,"isPlain",()=>D),a.export(r,"isRejected",()=>X),a.export(r,"isRejectedWithValue",()=>function e(...t){let r=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===t.length?q(X(...t),r):K(t)?q(X(...t),r):e()(t[0])}),a.export(r,"lruMemoize",()=>l.lruMemoize),a.export(r,"miniSerializeError",()=>et),a.export(r,"nanoid",()=>Z),a.export(r,"original",()=>i.original),a.export(r,"prepareAutoBatched",()=>z),a.export(r,"removeListener",()=>eX),a.export(r,"unwrapResult",()=>ea),a.export(r,"weakMapMemoize",()=>l.weakMapMemoize);var o=e("redux");a.exportAll(o,r);var i=e("immer"),l=e("reselect"),s=e("redux-thunk");e("d6c2ce6df8bac3b7");var u=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&g(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&g(e,r,t[r]);return e},b=(e,t)=>c(e,d(t)),y=(e,t)=>{var r={};for(var n in e)p.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&f)for(var n of f(e))0>t.indexOf(n)&&h.call(e,n)&&(r[n]=e[n]);return r},v=(e,t,r)=>g(e,"symbol"!=typeof t?t+"":t,r),w=(...e)=>{let t=(0,l.createSelectorCreator)(...e),r=Object.assign((...e)=>{let r=t(...e),n=(e,...t)=>r((0,i.isDraft)(e)?(0,i.current)(e):e,...t);return Object.assign(n,r),n},{withTypes:()=>r});return r},x=w(l.weakMapMemoize),S="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?o.compose:(0,o.compose).apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var E=e=>e&&"function"==typeof e.match;function _(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(tr(0));return m(m({type:e,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>(0,o.isAction)(t)&&t.type===e,r}function k(e){return"function"==typeof e&&"type"in e&&E(e)}function T(e){return(0,o.isAction)(e)&&Object.keys(e).every(O)}function O(e){return["type","payload","error","meta"].indexOf(e)>-1}function R(e={}){return()=>e=>t=>e(t)}var I=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function P(e){return(0,i.isDraftable)(e)?(0,i.produce)(e,()=>{}):e}function C(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function L(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function j(e={}){return()=>e=>t=>e(t)}function D(e){let t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||(0,o.isPlainObject)(e)}function A(e={}){return()=>e=>t=>e(t)}var N=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:a=!0}=null!=e?e:{},o=new I;return t&&("boolean"==typeof t?o.push(s.thunk):o.push((0,s.withExtraArgument)(t.extraArgument))),o},M="RTK_autoBatch",z=()=>e=>({payload:e,meta:{[M]:!0}}),U=e=>t=>{setTimeout(t,e)},F=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),a=!0,o=!1,i=!1,l=new Set,s="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:U(10):"callback"===e.type?e.queueNotification:U(e.timeout),u=()=>{i=!1,o&&(o=!1,l.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>a&&e());return l.add(e),()=>{t(),l.delete(e)}},dispatch(e){var t;try{return(o=!(a=!(null==(t=null==e?void 0:e.meta)?void 0:t[M])))&&!i&&(i=!0,s(u)),n.dispatch(e)}finally{a=!0}}})},B=e=>function(t){let{autoBatch:r=!0}=null!=t?t:{},n=new I(e);return r&&n.push(F("object"==typeof r?r:void 0)),n};function H(e){let t,r;let n=N(),{reducer:a,middleware:i,devTools:l=!0,duplicateMiddlewareCheck:s=!0,preloadedState:u,enhancers:c}=e||{};if("function"==typeof a)t=a;else if((0,o.isPlainObject)(a))t=(0,o.combineReducers)(a);else throw Error(tr(1));r="function"==typeof i?i(n):n();let d=o.compose;l&&(d=S(m({trace:!1},"object"==typeof l&&l)));let f=(0,o.applyMiddleware)(...r),p=B(f),h="function"==typeof c?c(p):p(),g=d(...h);return(0,o.createStore)(t,u,g)}function W(e){let t;let r={},n=[],a={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(tr(28));if(n in r)throw Error(tr(29));return r[n]=t,a},addAsyncThunk:(e,t)=>(t.pending&&(r[e.pending.type]=t.pending),t.rejected&&(r[e.rejected.type]=t.rejected),t.fulfilled&&(r[e.fulfilled.type]=t.fulfilled),t.settled&&n.push({matcher:e.settled,reducer:t.settled}),a),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),a),addDefaultCase:e=>(t=e,a)};return e(a),[r,n,t]}function G(e,t){let r,[n,a,o]=W(t);if("function"==typeof e)r=()=>P(e());else{let t=P(e);r=()=>t}function l(e=r(),t){let l=[n[t.type],...a.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===l.filter(e=>!!e).length&&(l=[o]),l.reduce((e,r)=>{if(r){if((0,i.isDraft)(e)){let n=r(e,t);return void 0===n?e:n}if((0,i.isDraftable)(e))return(0,i.produce)(e,e=>r(e,t));{let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return l.getInitialState=r,l}var V=(e,t)=>E(e)?e.match(t):e(t);function $(...e){return t=>e.some(e=>V(e,t))}function q(...e){return t=>e.every(e=>V(e,t))}function Y(e,t){if(!e||!e.meta)return!1;let r="string"==typeof e.meta.requestId,n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function K(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function X(...e){return 0===e.length?e=>Y(e,["rejected"]):K(e)?$(...e.map(e=>e.rejected)):X()(e[0])}var Z=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Q=["name","message","stack","code"],J=class{constructor(e,t){this.payload=e,this.meta=t,v(this,"_type")}},ee=class{constructor(e,t){this.payload=e,this.meta=t,v(this,"_type")}},et=e=>{if("object"==typeof e&&null!==e){let t={};for(let r of Q)"string"==typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},er="External signal was aborted",en=(()=>{function e(e,t,r){let n=_(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:b(m({},n||{}),{arg:r,requestId:t,requestStatus:"fulfilled"})})),a=_(e+"/pending",(e,t,r)=>({payload:void 0,meta:b(m({},r||{}),{arg:t,requestId:e,requestStatus:"pending"})})),o=_(e+"/rejected",(e,t,n,a,o)=>({payload:a,error:(r&&r.serializeError||et)(e||"Rejected"),meta:b(m({},o||{}),{arg:n,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:(null==e?void 0:e.name)==="AbortError",condition:(null==e?void 0:e.name)==="ConditionError"})}));return Object.assign(function(e,{signal:i}={}){return(l,s,u)=>{let c,d;let f=(null==r?void 0:r.idGenerator)?r.idGenerator(e):Z(),p=new AbortController;function h(e){d=e,p.abort()}i&&(i.aborted?h(er):i.addEventListener("abort",()=>h(er),{once:!0}));let g=async function(){var i,g,m;let b;try{let o=null==(i=null==r?void 0:r.condition)?void 0:i.call(r,e,{getState:s,extra:u});if(m=o,null!==m&&"object"==typeof m&&"function"==typeof m.then&&(o=await o),!1===o||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let y=new Promise((e,t)=>{c=()=>{t({name:"AbortError",message:d||"Aborted"})},p.signal.addEventListener("abort",c)});l(a(f,e,null==(g=null==r?void 0:r.getPendingMeta)?void 0:g.call(r,{requestId:f,arg:e},{getState:s,extra:u}))),b=await Promise.race([y,Promise.resolve(t(e,{dispatch:l,getState:s,extra:u,requestId:f,signal:p.signal,abort:h,rejectWithValue:(e,t)=>new J(e,t),fulfillWithValue:(e,t)=>new ee(e,t)})).then(t=>{if(t instanceof J)throw t;return t instanceof ee?n(t.payload,f,e,t.meta):n(t,f,e)})])}catch(t){b=t instanceof J?o(null,f,e,t.payload,t.meta):o(t,f,e)}finally{c&&p.signal.removeEventListener("abort",c)}let y=r&&!r.dispatchConditionRejection&&o.match(b)&&b.meta.condition;return y||l(b),b}();return Object.assign(g,{abort:h,requestId:f,arg:e,unwrap:()=>g.then(ea)})}},{pending:a,rejected:o,fulfilled:n,settled:$(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function ea(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var eo=Symbol.for("rtk-slice-createasyncthunk"),ei={[eo]:en},el=((n=el||{}).reducer="reducer",n.reducerWithPrepare="reducerWithPrepare",n.asyncThunk="asyncThunk",n);function es({creators:e}={}){var t;let r=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[eo];return function(e){let t;let{name:n,reducerPath:a=n}=e;if(!n)throw Error(tr(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return m({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(tr(12));if(r in l.sliceCaseReducersByType)throw Error(tr(13));return l.sliceCaseReducersByType[r]=t,s},addMatcher:(e,t)=>(l.sliceMatchers.push({matcher:e,reducer:t}),s),exposeAction:(e,t)=>(l.actionCreators[e]=t,s),exposeCaseReducer:(e,t)=>(l.sliceCaseReducersByName[e]=t,s)};function u(){let[t={},r=[],n]="function"==typeof e.extraReducers?W(e.extraReducers):[e.extraReducers],a=m(m({},t),l.sliceCaseReducersByType);return G(e.initialState,e=>{for(let t in a)e.addCase(t,a[t]);for(let t of l.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}i.forEach(t=>{let a=o[t],i={reducerName:t,type:`${n}/${t}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===a._reducerDefinitionType?function({type:e,reducerName:t},r,n,a){if(!a)throw Error(tr(18));let{payloadCreator:o,fulfilled:i,pending:l,rejected:s,settled:u,options:c}=r,d=a(e,o,c);n.exposeAction(t,d),i&&n.addCase(d.fulfilled,i),l&&n.addCase(d.pending,l),s&&n.addCase(d.rejected,s),u&&n.addMatcher(d.settled,u),n.exposeCaseReducer(t,{fulfilled:i||ec,pending:l||ec,rejected:s||ec,settled:u||ec})}(i,a,s,r):function({type:e,reducerName:t,createNotation:r},n,a){let o,i;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(tr(17));o=n.reducer,i=n.prepare}else o=n;a.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,i?_(e,i):_(e))}(i,a,s)});let c=e=>e,d=new Map,f=new WeakMap;function p(e,r){return t||(t=u()),t(e,r)}function h(){return t||(t=u()),t.getInitialState()}function g(t,r=!1){function n(e){let a=e[t];return void 0===a&&r&&(a=C(f,n,h)),a}function a(t=c){let n=C(d,r,()=>new WeakMap);return C(n,t,()=>{var n;let a={};for(let[o,i]of Object.entries(null!=(n=e.selectors)?n:{}))a[o]=function(e,t,r,n){function a(o,...i){let l=t(o);return void 0===l&&n&&(l=r()),e(l,...i)}return a.unwrapped=e,a}(i,t,()=>C(f,t,h),r);return a})}return{reducerPath:t,getSelectors:a,get selectors(){return a(n)},selectSlice:n}}let v=b(m({name:n,reducer:p,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:h},g(a)),{injectInto(e,t={}){var{reducerPath:r}=t,n=y(t,["reducerPath"]);let o=null!=r?r:a;return e.inject({reducerPath:o,reducer:p},n),m(m({},v),g(o,!0))}});return v}}var eu=es();function ec(){}var ed=i.isDraft;function ef(e){return function(t,r){let n=t=>{T(r)?e(r.payload,t):e(r,t)};return ed(t)?(n(t),t):(0,i.produce)(t,n)}}function ep(e,t){let r=t(e);return r}function eh(e){return Array.isArray(e)||(e=Object.values(e)),e}function eg(e){return(0,i.isDraft)(e)?(0,i.current)(e):e}function em(e,t,r){e=eh(e);let n=eg(r.ids),a=new Set(n),o=[],i=new Set([]),l=[];for(let r of e){let e=ep(r,t);a.has(e)||i.has(e)?l.push({id:e,changes:r}):(i.add(e),o.push(r))}return[o,l,n]}function eb(e){function t(t,r){let n=ep(t,e);n in r.entities||(r.ids.push(n),r.entities[n]=t)}function r(e,r){for(let n of e=eh(e))t(n,r)}function n(t,r){let n=ep(t,e);n in r.entities||r.ids.push(n),r.entities[n]=t}function a(e,t){let r=!1;e.forEach(e=>{e in t.entities&&(delete t.entities[e],r=!0)}),r&&(t.ids=t.ids.filter(e=>e in t.entities))}function o(t,r){let n={},a={};t.forEach(e=>{var t;e.id in r.entities&&(a[e.id]={id:e.id,changes:m(m({},null==(t=a[e.id])?void 0:t.changes),e.changes)})}),t=Object.values(a);let o=t.length>0;if(o){let a=t.filter(t=>(function(t,r,n){let a=n.entities[r.id];if(void 0===a)return!1;let o=Object.assign({},a,r.changes),i=ep(o,e),l=i!==r.id;return l&&(t[r.id]=i,delete n.entities[r.id]),n.entities[i]=o,l})(n,t,r)).length>0;a&&(r.ids=Object.values(r.entities).map(t=>ep(t,e)))}}function i(t,n){let[a,i]=em(t,e,n);r(a,n),o(i,n)}return{removeAll:function(e){let t=ef((t,r)=>e(r));return function(e){return t(e,void 0)}}(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:ef(t),addMany:ef(r),setOne:ef(n),setMany:ef(function(e,t){for(let r of e=eh(e))n(r,t)}),setAll:ef(function(e,t){e=eh(e),t.ids=[],t.entities={},r(e,t)}),updateOne:ef(function(e,t){return o([e],t)}),updateMany:ef(o),upsertOne:ef(function(e,t){return i([e],t)}),upsertMany:ef(i),removeOne:ef(function(e,t){return a([e],t)}),removeMany:ef(a)}}function ey(e={}){let{selectId:t,sortComparer:r}=m({sortComparer:!1,selectId:e=>e.id},e),n=r?function(e,t){let{removeOne:r,removeMany:n,removeAll:a}=eb(e);function o(t,r,n){t=eh(t);let a=new Set(null!=n?n:eg(r.ids)),o=t.filter(t=>!a.has(ep(t,e)));0!==o.length&&u(r,o)}function i(t,r){if(0!==(t=eh(t)).length){for(let n of t)delete r.entities[e(n)];u(r,t)}}function l(t,r){let n=!1,a=!1;for(let o of t){let t=r.entities[o.id];if(!t)continue;n=!0,Object.assign(t,o.changes);let i=e(t);if(o.id!==i){a=!0,delete r.entities[o.id];let e=r.ids.indexOf(o.id);r.ids[e]=i,r.entities[i]=t}}n&&u(r,[],n,a)}function s(t,r){let[n,a,i]=em(t,e,r);n.length&&o(n,r,i),a.length&&l(a,r)}let u=(r,n,a,o)=>{let i=eg(r.entities),l=eg(r.ids),s=r.entities,u=l;o&&(u=new Set(l));let c=[];for(let e of u){let t=i[e];t&&c.push(t)}let d=0===c.length;for(let r of n)s[e(r)]=r,d||function(e,t,r){let n=function(e,t,r){let n=0,a=e.length;for(;n<a;){let o=n+a>>>1,i=e[o],l=r(t,i);l>=0?n=o+1:a=o}return n}(e,t,r);e.splice(n,0,t)}(c,r,t);d?c=n.slice().sort(t):a&&c.sort(t);let f=c.map(e);!function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(l,f)&&(r.ids=f)};return{removeOne:r,removeMany:n,removeAll:a,addOne:ef(function(e,t){return o([e],t)}),updateOne:ef(function(e,t){return l([e],t)}),upsertOne:ef(function(e,t){return s([e],t)}),setOne:ef(function(e,t){return i([e],t)}),setMany:ef(i),setAll:ef(function(e,t){e=eh(e),t.entities={},t.ids=[],o(e,t,[])}),addMany:ef(o),updateMany:ef(l),upsertMany:ef(s)}}(t,r):eb(t);return m(m(m({selectId:t,sortComparer:r},{getInitialState:function(e={},t){let r=Object.assign({ids:[],entities:{}},e);return t?n.setAll(r,t):r}}),{getSelectors:function(e,t={}){let{createSelector:r=x}=t,n=e=>e.ids,a=e=>e.entities,o=r(n,a,(e,t)=>e.map(e=>t[e])),i=(e,t)=>t,l=(e,t)=>e[t],s=r(n,e=>e.length);if(!e)return{selectIds:n,selectEntities:a,selectAll:o,selectTotal:s,selectById:r(a,i,l)};let u=r(e,a);return{selectIds:r(e,n),selectEntities:u,selectAll:r(e,o),selectTotal:r(e,s),selectById:r(u,i,l)}}}),n)}var ev="listener",ew="completed",ex="cancelled",eS=`task-${ex}`,eE=`task-${ew}`,e_=`${ev}-${ex}`,ek=`${ev}-${ew}`,eT=class{constructor(e){this.code=e,v(this,"name","TaskAbortError"),v(this,"message"),this.message=`task ${ex} (reason: ${e})`}},eO=(e,t)=>{if("function"!=typeof e)throw TypeError(tr(32))},eR=()=>{},eI=(e,t=eR)=>(e.catch(t),e),eP=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),eC=(e,t)=>{let r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},eL=e=>{if(e.aborted){let{reason:t}=e;throw new eT(t)}};function ej(e,t){let r=eR;return new Promise((n,a)=>{let o=()=>a(new eT(e.reason));if(e.aborted){o();return}r=eP(e,o),t.finally(()=>r()).then(n,a)}).finally(()=>{r=eR})}var eD=async(e,t)=>{try{await Promise.resolve();let t=await e();return{status:"ok",value:t}}catch(e){return{status:e instanceof eT?"cancelled":"rejected",error:e}}finally{null==t||t()}},eA=e=>t=>eI(ej(e,t).then(t=>(eL(e),t))),eN=e=>{let t=eA(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:eM}=Object,ez={},eU="listenerMiddleware",eF=(e,t)=>{let r=t=>eP(e,()=>eC(t,e.reason));return(n,a)=>{eO(n,"taskExecutor");let o=new AbortController;r(o);let i=eD(async()=>{eL(e),eL(o.signal);let t=await n({pause:eA(o.signal),delay:eN(o.signal),signal:o.signal});return eL(o.signal),t},()=>eC(o,eE));return(null==a?void 0:a.autoJoin)&&t.push(i.catch(eR)),{result:eA(e)(i),cancel(){eC(o,eS)}}}},eB=(e,t)=>{let r=async(r,n)=>{eL(t);let a=()=>{},o=new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});a=()=>{o(),n()}}),i=[o];null!=n&&i.push(new Promise(e=>setTimeout(e,n,null)));try{let e=await ej(t,Promise.race(i));return eL(t),e}finally{a()}};return(e,t)=>eI(r(e,t))},eH=e=>{let{type:t,actionCreator:r,matcher:n,predicate:a,effect:o}=e;if(t)a=_(t).match;else if(r)t=r.type,a=r.match;else if(n)a=n;else if(a);else throw Error(tr(21));return eO(o,"options.listener"),{predicate:a,type:t,effect:o}},eW=eM(e=>{let{type:t,predicate:r,effect:n}=eH(e),a={id:Z(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(tr(22))}};return a},{withTypes:()=>eW}),eG=(e,t)=>{let{type:r,effect:n,predicate:a}=eH(t);return Array.from(e.values()).find(e=>{let t="string"==typeof r?e.type===r:e.predicate===a;return t&&e.effect===n})},eV=e=>{e.pending.forEach(e=>{eC(e,e_)})},e$=e=>()=>{e.forEach(eV),e.clear()},eq=(e,t,r)=>{try{e(t,r)}catch(e){setTimeout(()=>{throw e},0)}},eY=eM(_(`${eU}/add`),{withTypes:()=>eY}),eK=_(`${eU}/removeAll`),eX=eM(_(`${eU}/remove`),{withTypes:()=>eX}),eZ=(...e)=>{console.error(`${eU}/error`,...e)},eQ=(e={})=>{let t=new Map,{extra:r,onError:n=eZ}=e;eO(n,"onError");let a=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),(null==t?void 0:t.cancelActive)&&eV(e)}),i=e=>{var r;let n=null!=(r=eG(t,e))?r:eW(e);return a(n)};eM(i,{withTypes:()=>i});let l=e=>{let r=eG(t,e);return r&&(r.unsubscribe(),e.cancelActive&&eV(r)),!!r};eM(l,{withTypes:()=>l});let s=async(e,a,o,l)=>{let s=new AbortController,u=eB(i,s.signal),c=[];try{e.pending.add(s),await Promise.resolve(e.effect(a,eM({},o,{getOriginalState:l,condition:(e,t)=>u(e,t).then(Boolean),take:u,delay:eN(s.signal),pause:eA(s.signal),extra:r,signal:s.signal,fork:eF(s.signal,c),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==s&&(eC(e,e_),r.delete(e))})},cancel:()=>{eC(s,e_),e.pending.delete(s)},throwIfCancelled:()=>{eL(s.signal)}})))}catch(e){e instanceof eT||eq(n,e,{raisedBy:"effect"})}finally{await Promise.all(c),eC(s,ek),e.pending.delete(s)}},u=e$(t);return{middleware:e=>r=>a=>{let c;if(!(0,o.isAction)(a))return r(a);if(eY.match(a))return i(a.payload);if(eK.match(a)){u();return}if(eX.match(a))return l(a.payload);let d=e.getState(),f=()=>{if(d===ez)throw Error(tr(23));return d};try{if(c=r(a),t.size>0){let r=e.getState(),o=Array.from(t.values());for(let t of o){let o=!1;try{o=t.predicate(a,r,d)}catch(e){o=!1,eq(n,e,{raisedBy:"predicate"})}o&&s(t,a,e,f)}}}finally{d=ez}return c},startListening:i,stopListening:l,clearListeners:u}},eJ=e=>({middleware:e,applied:new Map}),e0=e=>t=>{var r;return(null==(r=null==t?void 0:t.meta)?void 0:r.instanceId)===e},e1=()=>{let e=Z(),t=new Map,r=Object.assign(_("dynamicMiddleware/add",(...t)=>({payload:t,meta:{instanceId:e}})),{withTypes:()=>r}),n=Object.assign(function(...e){e.forEach(e=>{C(t,e,eJ)})},{withTypes:()=>n}),a=e=>{let r=Array.from(t.values()).map(t=>C(t.applied,e,t.middleware));return(0,o.compose)(...r)},i=q(r,e0(e));return{middleware:e=>t=>r=>i(r)?(n(...r.payload),e.dispatch):a(e)(t)(r),addMiddleware:n,withMiddleware:r,instanceId:e}},e2=e=>"reducerPath"in e&&"string"==typeof e.reducerPath,e3=e=>e.flatMap(e=>e2(e)?[[e.reducerPath,e.reducer]]:Object.entries(e)),e4=Symbol.for("rtk-state-proxy-original"),e5=e=>!!e&&!!e[e4],e8=new WeakMap,e6=(e,t,r)=>C(e8,e,()=>new Proxy(e,{get:(e,n,a)=>{if(n===e4)return e;let o=Reflect.get(e,n,a);if(void 0===o){let e=r[n];if(void 0!==e)return e;let a=t[n];if(a){let e=a(void 0,{type:Z()});if(void 0===e)throw Error(tr(24));return r[n]=e,e}}return o}})),e9=e=>{if(!e5(e))throw Error(tr(25));return e[e4]},e7={},te=(e=e7)=>e;function tt(...e){let t=Object.fromEntries(e3(e)),r=()=>Object.keys(t).length?(0,o.combineReducers)(t):te,n=r();function a(e,t){return n(e,t)}a.withLazyLoadedSlices=()=>a;let i={},l=Object.assign(function(e,r){return function(n,...a){return e(e6(r?r(n,...a):n,t,i),...a)}},{original:e9});return Object.assign(a,{inject:(e,o={})=>{let{reducerPath:l,reducer:s}=e,u=t[l];return!o.overrideExisting&&u&&u!==s||(o.overrideExisting&&u!==s&&delete i[l],t[l]=s,n=r()),a},selector:l})}function tr(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},{d6c2ce6df8bac3b7:"7bs1J",redux:"6SUHM",immer:"cTbM8",reselect:"25ILf","redux-thunk":"1xIC4","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7bs1J":[function(e,t,r){var n,a,o,i,l=Object.create,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))f.call(e,a)||a===r||s(e,a,{get:()=>t[a],enumerable:!(n=u(t,a))||n.enumerable});return e},h=(e,t,r)=>(r=null!=e?l(d(e)):{},p(!t&&e&&e.__esModule?r:s(r,"default",{value:e,enumerable:!0}),e)),g=(n=(e,t)=>{var r,n,a=t.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,u=[],c=!1,d=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=l(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++d<t;)s&&s[d].run();d=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},()=>(a||n((a={exports:{}}).exports,a),a.exports)),m={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(m,{default:()=>y}),t.exports=p(s({},"__esModule",{value:!0}),m);var b=h(g());o=h(g()),i=t.exports,p(m,o,"default"),i&&p(i,o,"default");var y=b.default},{}],"6SUHM":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.defineInteropFlag(r),n.export(r,"__DO_NOT_USE__ActionTypes",()=>l),n.export(r,"applyMiddleware",()=>g),n.export(r,"bindActionCreators",()=>p),n.export(r,"combineReducers",()=>d),n.export(r,"compose",()=>h),n.export(r,"createStore",()=>u),n.export(r,"isAction",()=>m),n.export(r,"isPlainObject",()=>s),n.export(r,"legacy_createStore",()=>c);var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=()=>Math.random().toString(36).substring(7).split("").join("."),l={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function s(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function u(e,t,r){if("function"!=typeof e)throw Error(a(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(a(1));return r(u)(e,t)}let n=e,i=t,c=new Map,d=c,f=0,p=!1;function h(){d===c&&(d=new Map,c.forEach((e,t)=>{d.set(t,e)}))}function g(){if(p)throw Error(a(3));return i}function m(e){if("function"!=typeof e)throw Error(a(4));if(p)throw Error(a(5));let t=!0;h();let r=f++;return d.set(r,e),function(){if(t){if(p)throw Error(a(6));t=!1,h(),d.delete(r),c=null}}}function b(e){if(!s(e))throw Error(a(7));if(void 0===e.type)throw Error(a(8));if("string"!=typeof e.type)throw Error(a(17));if(p)throw Error(a(9));try{p=!0,i=n(i,e)}finally{p=!1}let t=c=d;return t.forEach(e=>{e()}),e}return b({type:l.INIT}),{dispatch:b,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));n=e,b({type:l.REPLACE})},[o]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(g())}t();let r=m(t);return{unsubscribe:r}},[o](){return this}}}}}function c(e,t,r){return u(e,t,r)}function d(e){let t;let r=Object.keys(e),n={};for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof e[a]&&(n[a]=e[a])}let o=Object.keys(n);try{!function(e){Object.keys(e).forEach(t=>{let r=e[t],n=r(void 0,{type:l.INIT});if(void 0===n)throw Error(a(12));if(void 0===r(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw Error(a(13))})}(n)}catch(e){t=e}return function(e={},r){if(t)throw t;let i=!1,l={};for(let t=0;t<o.length;t++){let s=o[t],u=n[s],c=e[s],d=u(c,r);if(void 0===d)throw r&&r.type,Error(a(14));l[s]=d,i=i||d!==c}return(i=i||o.length!==Object.keys(e).length)?l:e}}function f(e,t){return function(...r){return t(e.apply(this,r))}}function p(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw Error(a(16));let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=f(a,t))}return r}function h(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function g(...e){return t=>(r,n)=>{let o=t(r,n),i=()=>{throw Error(a(15))},l={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(l));return i=h(...s)(o.dispatch),{...o,dispatch:i}}}function m(e){return s(e)&&"type"in e&&"string"==typeof e.type}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cTbM8:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"Immer",()=>X),a.export(r,"applyPatches",()=>ei),a.export(r,"castDraft",()=>eu),a.export(r,"castImmutable",()=>ec),a.export(r,"createDraft",()=>el),a.export(r,"current",()=>Q),a.export(r,"enableMapSet",()=>ee),a.export(r,"enablePatches",()=>J),a.export(r,"finishDraft",()=>es),a.export(r,"freeze",()=>P),a.export(r,"immerable",()=>f),a.export(r,"isDraft",()=>m),a.export(r,"isDraftable",()=>b),a.export(r,"nothing",()=>d),a.export(r,"original",()=>w),a.export(r,"produce",()=>er),a.export(r,"produceWithPatches",()=>en),a.export(r,"setAutoFreeze",()=>ea),a.export(r,"setUseStrictShallowCopy",()=>eo);var o=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&u(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&u(e,r,t[r]);return e},d=Symbol.for("immer-nothing"),f=Symbol.for("immer-draftable"),p=Symbol.for("immer-state");function h(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var g=Object.getPrototypeOf;function m(e){return!!e&&!!e[p]}function b(e){var t;return!!e&&(v(e)||Array.isArray(e)||!!e[f]||!!(null==(t=e.constructor)?void 0:t[f])||T(e)||O(e))}var y=Object.prototype.constructor.toString();function v(e){if(!e||"object"!=typeof e)return!1;let t=g(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===y}function w(e){return m(e)||h(15,e),e[p].base_}function x(e,t){0===S(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function S(e){let t=e[p];return t?t.type_:Array.isArray(e)?1:T(e)?2:O(e)?3:0}function E(e,t){return 2===S(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){return 2===S(e)?e.get(t):e[t]}function k(e,t,r){let n=S(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function T(e){return e instanceof Map}function O(e){return e instanceof Set}function R(e){return e.copy_||e.base_}function I(e,t){if(T(e))return new Map(e);if(O(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=v(e);if(!0!==t&&("class_only"!==t||r)){let t=g(e);if(null!==t&&r)return c({},e);let n=Object.create(t);return Object.assign(n,e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[p];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let a=r[n],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(g(e),t)}}function P(e,t=!1){return L(e)||m(e)||!b(e)||(S(e)>1&&Object.defineProperties(e,{set:{value:C},add:{value:C},clear:{value:C},delete:{value:C}}),Object.freeze(e),t&&Object.values(e).forEach(e=>P(e,!0))),e}function C(){h(2)}function L(e){return Object.isFrozen(e)}var j={};function D(e){let t=j[e];return t||h(0,e),t}function A(e,t){t&&(D("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function N(e){M(e),e.drafts_.forEach(U),e.drafts_=null}function M(e){e===n&&(n=e.parent_)}function z(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function U(e){let t=e[p];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function F(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0],n=void 0!==e&&e!==r;return n?(r[p].modified_&&(N(t),h(4)),b(e)&&(e=B(t,e),t.parent_||W(t,e)),t.patches_&&D("Patches").generateReplacementPatches_(r[p].base_,e,t.patches_,t.inversePatches_)):e=B(t,r,[]),N(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==d?e:void 0}function B(e,t,r){if(L(t))return t;let n=t[p];if(!n)return x(t,(a,o)=>H(e,n,t,a,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return W(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,a=t,o=!1;3===n.type_&&(a=new Set(t),t.clear(),o=!0),x(a,(a,i)=>H(e,n,t,a,i,r,o)),W(e,t,!1),r&&e.patches_&&D("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function H(e,t,r,n,a,o,i){if(m(a)){let i=o&&t&&3!==t.type_&&!E(t.assigned_,n)?o.concat(n):void 0,l=B(e,a,i);if(k(r,n,l),!m(l))return;e.canAutoFreeze_=!1}else i&&r.add(a);if(b(a)&&!L(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;B(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(T(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&W(e,a)}}function W(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&P(t,r)}var G={get(e,t){if(t===p)return e;let r=R(e);if(!E(r,t))return function(e,t,r){var n;let a=q(t,r);return a?"value"in a?a.value:null==(n=a.get)?void 0:n.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!b(n)?n:n===$(e.base_,t)?(K(e),e.copy_[t]=Z(n,e)):n},has:(e,t)=>t in R(e),ownKeys:e=>Reflect.ownKeys(R(e)),set(e,t,r){let n=q(R(e),t);if(null==n?void 0:n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=$(R(e),t),a=null==n?void 0:n[p];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||E(e.base_,t)))return!0;K(e),Y(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==$(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,K(e),Y(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=R(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){h(11)},getPrototypeOf:e=>g(e.base_),setPrototypeOf(){h(12)}},V={};function $(e,t){let r=e[p],n=r?R(r):e;return n[t]}function q(e,t){if(!(t in e))return;let r=g(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=g(r)}}function Y(e){!e.modified_&&(e.modified_=!0,e.parent_&&Y(e.parent_))}function K(e){e.copy_||(e.copy_=I(e.base_,e.scope_.immer_.useStrictShallowCopy_))}x(G,(e,t)=>{V[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),V.deleteProperty=function(e,t){return V.set.call(this,e,t,void 0)},V.set=function(e,t,r){return G.set.call(this,e[0],t,r,e[0])};var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&h(6),void 0!==r&&"function"!=typeof r&&h(7),b(e)){let a=z(this),o=Z(e,void 0),i=!0;try{n=t(o),i=!1}finally{i?N(a):M(a)}return A(a,r),F(n,a)}if(e&&"object"==typeof e)h(1,e);else{if(void 0===(n=t(e))&&(n=e),n===d&&(n=void 0),this.autoFreeze_&&P(n,!0),r){let t=[],a=[];D("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,t=>e(t,...r));let a=this.produce(e,t,(e,t)=>{r=e,n=t});return[a,r,n]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){b(e)||h(8),m(e)&&(e=Q(e));let t=z(this),r=Z(e,void 0);return r[p].isManual_=!0,M(t),r}finishDraft(e,t){let r=e&&e[p];r&&r.isManual_||h(9);let{scope_:n}=r;return A(n,t),F(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=D("Patches").applyPatches_;return m(e)?n(e,t):this.produce(e,e=>n(e,t))}};function Z(e,t){let r=T(e)?D("MapSet").proxyMap_(e,t):O(e)?D("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:r?1:0,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=a,i=G;r&&(o=[a],i=V);let{revoke:l,proxy:s}=Proxy.revocable(o,i);return a.draft_=s,a.revoke_=l,s}(e,t),a=t?t.scope_:n;return a.drafts_.push(r),r}function Q(e){return m(e)||h(10,e),function e(t){let r;if(!b(t)||L(t))return t;let n=t[p];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=I(t,n.scope_.immer_.useStrictShallowCopy_)}else r=I(t,!0);return x(r,(t,n)=>{k(r,t,e(n))}),n&&(n.finalized_=!1),r}(e)}function J(){var e;let t="replace",r="remove";function n(e){if(!b(e))return e;if(Array.isArray(e))return e.map(n);if(T(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,n(t)]));if(O(e))return new Set(Array.from(e).map(n));let t=Object.create(g(e));for(let r in e)t[r]=n(e[r]);return E(e,f)&&(t[f]=e[f]),t}function a(e){return m(e)?n(e):e}j[e="Patches"]||(j[e]={applyPatches_:function(e,a){return a.forEach(a=>{let{path:o,op:i}=a,l=e;for(let e=0;e<o.length-1;e++){let t=S(l),r=o[e];"string"!=typeof r&&"number"!=typeof r&&(r=""+r),(0===t||1===t)&&("__proto__"===r||"constructor"===r)&&h(19),"function"==typeof l&&"prototype"===r&&h(19),"object"!=typeof(l=_(l,r))&&h(18,o.join("/"))}let s=S(l),u=n(a.value),c=o[o.length-1];switch(i){case t:switch(s){case 2:return l.set(c,u);case 3:h(16);default:return l[c]=u}case"add":switch(s){case 1:return"-"===c?l.push(u):l.splice(c,0,u);case 2:return l.set(c,u);case 3:return l.add(u);default:return l[c]=u}case r:switch(s){case 1:return l.splice(c,1);case 2:return l.delete(c);case 3:return l.delete(a.value);default:return delete l[c]}default:h(17,i)}}),e},generatePatches_:function(e,n,o,i){switch(e.type_){case 0:case 2:return function(e,n,o,i){let{base_:l,copy_:s}=e;x(e.assigned_,(e,u)=>{let c=_(l,e),d=_(s,e),f=u?E(l,e)?t:"add":r;if(c===d&&f===t)return;let p=n.concat(e);o.push(f===r?{op:f,path:p}:{op:f,path:p,value:d}),i.push("add"===f?{op:r,path:p}:f===r?{op:"add",path:p,value:a(c)}:{op:t,path:p,value:a(c)})})}(e,n,o,i);case 1:return function(e,n,o,i){let{base_:l,assigned_:s}=e,u=e.copy_;u.length<l.length&&([l,u]=[u,l],[o,i]=[i,o]);for(let e=0;e<l.length;e++)if(s[e]&&u[e]!==l[e]){let r=n.concat([e]);o.push({op:t,path:r,value:a(u[e])}),i.push({op:t,path:r,value:a(l[e])})}for(let e=l.length;e<u.length;e++){let t=n.concat([e]);o.push({op:"add",path:t,value:a(u[e])})}for(let e=u.length-1;l.length<=e;--e){let t=n.concat([e]);i.push({op:r,path:t})}}(e,n,o,i);case 3:return function(e,t,n,a){let{base_:o,copy_:i}=e,l=0;o.forEach(e=>{if(!i.has(e)){let o=t.concat([l]);n.push({op:r,path:o,value:e}),a.unshift({op:"add",path:o,value:e})}l++}),l=0,i.forEach(e=>{if(!o.has(e)){let o=t.concat([l]);n.push({op:"add",path:o,value:e}),a.unshift({op:r,path:o,value:e})}l++})}(e,n,o,i)}},generateReplacementPatches_:function(e,r,n,a){n.push({op:t,path:[],value:r===d?void 0:r}),a.push({op:t,path:[],value:e})}})}function ee(){var e;class t extends Map{constructor(e,t){super(),this[p]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return R(this[p]).size}has(e){return R(this[p]).has(e)}set(e,t){let n=this[p];return i(n),R(n).has(e)&&R(n).get(e)===t||(r(n),Y(n),n.assigned_.set(e,!0),n.copy_.set(e,t),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),r(t),Y(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0}clear(){let e=this[p];i(e),R(e).size&&(r(e),Y(e),e.assigned_=new Map,x(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){let r=this[p];R(r).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let t=this[p];i(t);let n=R(t).get(e);if(t.finalized_||!b(n)||n!==t.base_.get(e))return n;let a=Z(n,t);return r(t),t.copy_.set(e,a),a}keys(){return R(this[p]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:r}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function r(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class a extends Set{constructor(e,t){super(),this[p]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return R(this[p]).size}has(e){let t=this[p];return(i(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[p];return i(t),this.has(e)||(o(t),Y(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),o(t),Y(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[p];i(e),R(e).size&&(o(e),Y(e),e.copy_.clear())}values(){let e=this[p];return i(e),o(e),e.copy_.values()}entries(){let e=this[p];return i(e),o(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function o(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(b(t)){let r=Z(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function i(e){e.revoked_&&h(3,JSON.stringify(R(e)))}j[e="MapSet"]||(j[e]={proxyMap_:function(e,r){return new t(e,r)},proxySet_:function(e,t){return new a(e,t)}})}var et=new X,er=et.produce,en=et.produceWithPatches.bind(et),ea=et.setAutoFreeze.bind(et),eo=et.setUseStrictShallowCopy.bind(et),ei=et.applyPatches.bind(et),el=et.createDraft.bind(et),es=et.finishDraft.bind(et);function eu(e){return e}function ec(e){return e}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"25ILf":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"createSelector",()=>H),n.export(r,"createSelectorCreator",()=>B),n.export(r,"createStructuredSelector",()=>W),n.export(r,"lruMemoize",()=>N),n.export(r,"referenceEqualityCheck",()=>D),n.export(r,"setGlobalDevModeChecks",()=>f),n.export(r,"unstable_autotrackMemoize",()=>M),n.export(r,"weakMapMemoize",()=>F);var a=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&s(e,r,t[r]);if(o)for(var r of o(t))l.call(t,r)&&s(e,r,t[r]);return e},c=(e,t,r)=>(s(e,"symbol"!=typeof t?t+"":t,r),r),d={inputStabilityCheck:"once",identityFunctionCheck:"once"},f=e=>{Object.assign(d,e)},p=Symbol("NOT_FOUND");function h(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}var g=e=>Array.isArray(e)?e:[e],m=0,b=null,y=class{constructor(e,t=v){c(this,"revision",m),c(this,"_value"),c(this,"_lastValue"),c(this,"_isEqual",v),this._value=this._lastValue=e,this._isEqual=t}get value(){return null==b||b.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++m)}};function v(e,t){return e===t}var w=class{constructor(e){c(this,"_cachedValue"),c(this,"_cachedRevision",-1),c(this,"_deps",[]),c(this,"hits",0),c(this,"fn"),this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){let{fn:e}=this,t=new Set,r=b;b=t,this._cachedValue=e(),b=r,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return null==b||b.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function x(e){return e instanceof y||console.warn("Not a valid cell! ",e),e.value}var S=(e,t)=>!1;function E(){return function(e,t=v){return new y(null,t)}(0,S)}function _(e,t){!function(e,t){if(!(e instanceof y))throw TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var k=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=E()),x(t)},T=e=>{let t=e.collectionTag;null!==t&&_(t,null)};Symbol();var O=0,R=Object.getPrototypeOf({}),I=class{constructor(e){this.value=e,c(this,"proxy",new Proxy(this,P)),c(this,"tag",E()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},P={get(e,t){let r=function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in R)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=j(n)),r.tag&&x(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=E()).value=n),x(r),n}}();return r},ownKeys:e=>(k(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},C=class{constructor(e){this.value=e,c(this,"proxy",new Proxy([this],L)),c(this,"tag",E()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},L={get:([e],t)=>("length"===t&&k(e),P.get(e,t)),ownKeys:([e])=>P.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>P.getOwnPropertyDescriptor(e,t),has:([e],t)=>P.has(e,t)};function j(e){return Array.isArray(e)?new C(e):new I(e)}var D=(e,t)=>e===t;function A(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;let{length:n}=t;for(let a=0;a<n;a++)if(!e(t[a],r[a]))return!1;return!0}}function N(e,t){let r;let{equalityCheck:n=D,maxSize:a=1,resultEqualityCheck:o}="object"==typeof t?t:{equalityCheck:t},i=A(n),l=0,s=a<=1?{get:e=>r&&i(r.key,e)?r.value:p,put(e,t){r={key:e,value:t}},getEntries:()=>r?[r]:[],clear(){r=void 0}}:function(e,t){let r=[];function n(e){let n=r.findIndex(r=>t(e,r.key));if(n>-1){let e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return p}return{get:n,put:function(t,a){n(t)===p&&(r.unshift({key:t,value:a}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(a,i);function u(){let t=s.get(arguments);if(t===p){if(t=e.apply(null,arguments),l++,o){let e=s.getEntries(),r=e.find(e=>o(e.value,t));r&&(t=r.value,0!==l&&l--)}s.put(arguments,t)}return t}return u.clearCache=()=>{s.clear(),u.resetResultsCount()},u.resultsCount=()=>l,u.resetResultsCount=()=>{l=0},u}function M(e){var t;let r=j([]),n=null,a=A(D),o=(h(t=()=>{let t=e.apply(null,r.proxy);return t},"the first parameter to `createCache` must be a function"),new w(t));function i(){return a(n,arguments)||(function e(t,r){let{value:n,tags:a,children:o}=t;if(t.value=r,Array.isArray(n)&&Array.isArray(r)&&n.length!==r.length)T(t);else if(n!==r){let e=0,a=0,o=!1;for(let t in n)e++;for(let e in r)if(a++,!(e in n)){o=!0;break}let i=o||e!==a;i&&T(t)}for(let e in a){let o=n[e],i=r[e];o!==i&&(T(t),_(a[e],i)),"object"==typeof i&&null!==i&&delete a[e]}for(let t in o){let n=o[t],a=r[t],i=n.value;i!==a&&("object"==typeof a&&null!==a?e(n,a):(function e(t){for(let e in t.tag&&_(t.tag,null),T(t),t.tags)_(t.tags[e],null);for(let r in t.children)e(t.children[r])}(n),delete o[t]))}}(r,arguments),n=arguments),o.value}return i.clearCache=()=>o.clear(),i}var z="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function U(){return{s:0,v:void 0,o:null,p:null}}function F(e,t={}){let r,n=U(),{resultEqualityCheck:a}=t,o=0;function i(){var t,i;let l;let s=n,{length:u}=arguments;for(let e=0;e<u;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=s.o;null===e&&(s.o=e=new WeakMap);let r=e.get(t);void 0===r?(s=U(),e.set(t,s)):s=r}else{let e=s.p;null===e&&(s.p=e=new Map);let r=e.get(t);void 0===r?(s=U(),e.set(t,s)):s=r}}let c=s;if(1===s.s)l=s.v;else if(l=e.apply(null,arguments),o++,a){let e=null!=(i=null==(t=null==r?void 0:r.deref)?void 0:t.call(r))?i:r;null!=e&&a(e,l)&&(l=e,0!==o&&o--);let n="object"==typeof l&&null!==l||"function"==typeof l;r=n?new z(l):l}return c.s=1,c.v=l,l}return i.clearCache=()=>{n=U(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function B(e,...t){let r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,a=0,o={},i=e.pop();"object"==typeof i&&(o=i,i=e.pop()),h(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);let l=u(u({},r),o),{memoize:s,memoizeOptions:c=[],argsMemoize:d=F,argsMemoizeOptions:f=[],devModeChecks:p={}}=l,m=g(c),b=g(f),y=function(e){let t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),v=s(function(){return n++,i.apply(null,arguments)},...m),w=d(function(){a++;let e=function(e,t){let r=[],{length:n}=e;for(let a=0;a<n;a++)r.push(e[a].apply(null,t));return r}(y,arguments);return t=v.apply(null,e)},...b);return Object.assign(w,{resultFunc:i,memoizedResultFunc:v,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:s,argsMemoize:d})};return Object.assign(n,{withTypes:()=>n}),n}var H=B(F),W=Object.assign((e,t=H)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e),n=r.map(t=>e[t]),a=t(n,(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}));return a},{withTypes:()=>W})},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1xIC4":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return({dispatch:t,getState:r})=>n=>a=>"function"==typeof a?a(t,r,e):n(a)}n.defineInteropFlag(r),n.export(r,"thunk",()=>o),n.export(r,"withExtraArgument",()=>i);var o=a(),i=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jZFan:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"noStorageSlice",()=>s),n.export(r,"initSubtitleNodes",()=>u),n.export(r,"initTTSSubtitleNodes",()=>c),n.export(r,"initTTSWordsSubtitleNodes",()=>d),n.export(r,"setTTSWordsSubtitleNodes",()=>f),n.export(r,"setTTSSubtitleNodes",()=>p),n.export(r,"setSubtitleNodes",()=>h),n.export(r,"setSubtitleNodesAsObj",()=>g),n.export(r,"setSubtitleText",()=>m),n.export(r,"setSubtitleZhText",()=>b),n.export(r,"setPaused",()=>y),n.export(r,"setPausedForWavesurfer",()=>v),n.export(r,"setCurrentTime",()=>w),n.export(r,"setCurrentTForWavesurfer",()=>x),n.export(r,"setClientWidth",()=>S),n.export(r,"setClientHeight",()=>E),n.export(r,"setIndex",()=>_),n.export(r,"setIndexForWavesurfer",()=>k),n.export(r,"setIndexForWavesurferWords",()=>T),n.export(r,"setMediaIsAudio",()=>O),n.export(r,"setMaskClickPlay",()=>R),n.export(r,"setMaskFull",()=>I),n.export(r,"setNickname",()=>P),n.export(r,"setSubtitleUrl",()=>C),n.export(r,"setWavesurferAudioBlobUrl",()=>L),n.export(r,"setWavesurferAudioUrl",()=>j),n.export(r,"setYoudaoAudioUrl",()=>D),n.export(r,"setDict1ZimuApiUrl",()=>A),n.export(r,"setNowTime",()=>N),n.export(r,"setBiliRightContainerWidth",()=>M),n.export(r,"setMouseX",()=>z),n.export(r,"setMouseY",()=>U),n.export(r,"setDraggableDictX",()=>F),n.export(r,"setDraggableDictY",()=>B),n.export(r,"setDraggableSubtitleListXInStore",()=>H),n.export(r,"setDraggableSubtitleListYInStore",()=>W),n.export(r,"setTextSelectionPopup",()=>G),n.export(r,"setSelectionText",()=>V),n.export(r,"setSelectionTextLanguage",()=>$),n.export(r,"setFilterSubtitleListText",()=>q),n.export(r,"setTargetLang",()=>Y),n.export(r,"setSourceLang",()=>K),n.export(r,"setRepeatTimes",()=>X),n.export(r,"setRepeatTimesForWavesurfer",()=>Z),n.export(r,"setVariableRepeatTimes",()=>Q),n.export(r,"setVariableRepeatTimesForWavesurfer",()=>J),n.export(r,"setMediaPlaybackRate",()=>ee),n.export(r,"setMediaPlaybackRateForWavesurfer",()=>et),n.export(r,"setYoutubeSourceLang",()=>er),n.export(r,"setYoutubeSubUrl",()=>en),n.export(r,"setPlayThenPause",()=>ea),n.export(r,"setPlayThenPausedStartTime",()=>eo),n.export(r,"setShowSubtitleList",()=>ei),n.export(r,"setFavoritesDicts",()=>el),n.export(r,"setNoStorageJwt",()=>es),n.export(r,"setJwtId",()=>eu),n.export(r,"setBaiduPanVideo",()=>ec),n.export(r,"setSubtitleTextEnOrNot",()=>ed),n.export(r,"setToOpenFileUI",()=>ef),n.export(r,"setUserInfo",()=>ep);var a=e("@reduxjs/toolkit"),o=e("~tools/constants"),i=e("~tools/subtitle");let l={currentT:0,currentTForWavesurfer:0,subtitleNodes:[],subtitleTTSNodes:[],subtitleTTSWordsNodes:[],subtitleText:"",subtitleZhText:"",paused:!0,pausedForWavesurfer:!0,clientWidth:0,clientHeight:0,index:0,indexForWavesurfer:0,indexForWavesurferWords:0,mediaIsAudio:!1,maskClickPlay:!0,maskFull:!1,nickname:"",subtitleurl:"",dict1ZimuApiUrl:"",youdaoAudioUrl:"",wavesurferAudioUrl:void 0,wavesurferAudioBlobUrl:void 0,nowTime:0,biliRightContainerWidth:o.SUBTITLE_LIST_WIDTH,mouseX:0,mouseY:0,textSelectionPopup:!1,selectionText:"",selectionTextLanguage:"",filterSubtitleListText:"",draggableDictX:o.DRAGGABLE_NODE_CONTAINER_X,draggableDictY:o.DRAGGABLE_NODE_CONTAINER_Y,draggableSubtitleListXInStore:void 0,draggableSubtitleListYInStore:void 0,targetLang:"",sourceLang:"",repeatTimes:o.REPEAT_UI_INIT_TIMES,variableRepeatTimes:o.VARIABLE_REPEAT_UI_INIT_TIMES,repeatTimesForWavesurfer:o.REPEAT_UI_INIT_TIMES,variableRepeatTimesForWavesurfer:o.VARIABLE_REPEAT_UI_INIT_TIMES,mediaPlaybackRate:1,mediaPlaybackRateForWavesurfer:1,youtubeSourceLang:void 0,youtubeSubUrl:void 0,playThenPause:!1,playThenPausedStartTime:void 0,showSubtitleList:!0,favoritesDicts:void 0,jwt:void 0,jwtId:void 0,baiduPanVideo:!1,subtitleTextEnOrNot:!1,toOpenFileUI:!1,userInfo:void 0},s=(0,a.createSlice)({name:"noStorager",initialState:l,reducers:{setNickname:(e,t)=>{e.nickname!==t.payload&&(e.nickname=t.payload)},setCurrentTime:(e,t)=>{e.currentT!==t.payload&&(e.currentT=t.payload)},setCurrentTForWavesurfer:(e,t)=>{e.currentTForWavesurfer!==t.payload&&(e.currentTForWavesurfer=t.payload)},initSubtitleNodes:e=>{e.subtitleNodes=[],e.subtitleText=""},initTTSSubtitleNodes:e=>{e.subtitleTTSNodes=[]},initTTSWordsSubtitleNodes:e=>{e.subtitleTTSWordsNodes=[]},setTTSWordsSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSWordsNodes=[...r]},setTTSSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSNodes=[...r]},setSubtitleNodesAsObj:(e,t)=>{let r=[],n=(0,i.sortByStart)(t.payload),a=0;n.forEach(e=>{if(e.text){let t={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};t.data=e,t.data.index=a,a+=1,r.push(t)}}),e.subtitleNodes=[...r]},setSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleNodes=[...r]},setSubtitleText:(e,t)=>{e.subtitleText!==t.payload&&(e.subtitleText=t.payload)},setSubtitleZhText:(e,t)=>{e.subtitleZhText!==t.payload&&(e.subtitleZhText=t.payload)},setPaused:(e,t)=>{e.paused!==t.payload&&(e.paused=t.payload)},setPausedForWavesurfer:(e,t)=>{e.pausedForWavesurfer!==t.payload&&(e.pausedForWavesurfer=t.payload)},setClientHeight:(e,t)=>{e.clientHeight!==t.payload&&(e.clientHeight=t.payload)},setClientWidth:(e,t)=>{e.clientWidth!==t.payload&&(e.clientWidth=t.payload)},setMouseX:(e,t)=>{e.mouseX!==t.payload&&(e.mouseX=t.payload)},setMouseY:(e,t)=>{e.mouseY!==t.payload&&(e.mouseY=t.payload)},setTextSelectionPopup:(e,t)=>{e.textSelectionPopup!==t.payload&&(e.textSelectionPopup=t.payload)},setTargetLang:(e,t)=>{e.targetLang!==t.payload&&(e.targetLang=t.payload)},setSourceLang:(e,t)=>{e.sourceLang!==t.payload&&(e.sourceLang=t.payload)},setRepeatTimes:(e,t)=>{e.repeatTimes!==t.payload&&(e.repeatTimes=t.payload)},setRepeatTimesForWavesurfer:(e,t)=>{e.repeatTimesForWavesurfer!==t.payload&&(e.repeatTimesForWavesurfer=t.payload)},setVariableRepeatTimes:(e,t)=>{e.variableRepeatTimes!==t.payload&&(e.variableRepeatTimes=t.payload)},setVariableRepeatTimesForWavesurfer:(e,t)=>{e.variableRepeatTimesForWavesurfer!==t.payload&&(e.variableRepeatTimesForWavesurfer=t.payload)},setMediaPlaybackRate:(e,t)=>{e.mediaPlaybackRate!==t.payload&&(e.mediaPlaybackRate=t.payload)},setMediaPlaybackRateForWavesurfer:(e,t)=>{e.mediaPlaybackRateForWavesurfer!==t.payload&&(e.mediaPlaybackRateForWavesurfer=t.payload)},setYoutubeSourceLang:(e,t)=>{e.youtubeSourceLang!==t.payload&&(e.youtubeSourceLang=t.payload)},setYoutubeSubUrl:(e,t)=>{e.youtubeSubUrl!==t.payload&&(e.youtubeSubUrl=t.payload)},setPlayThenPause:(e,t)=>{e.playThenPause!==t.payload&&(e.playThenPause=t.payload)},setPlayThenPausedStartTime:(e,t)=>{e.playThenPausedStartTime!==t.payload&&(e.playThenPausedStartTime=t.payload)},setShowSubtitleList:(e,t)=>{e.showSubtitleList!==t.payload&&(e.showSubtitleList=t.payload)},setFavoritesDicts:(e,t)=>{e.favoritesDicts=[...t.payload]},setNoStorageJwt:(e,t)=>{e.jwt!==t.payload&&(e.jwt=t.payload)},setJwtId:(e,t)=>{e.jwtId!==t.payload&&(e.jwtId=t.payload)},setBaiduPanVideo:(e,t)=>{e.baiduPanVideo!==t.payload&&(e.baiduPanVideo=t.payload)},setSubtitleTextEnOrNot:(e,t)=>{e.subtitleTextEnOrNot!==t.payload&&(e.subtitleTextEnOrNot=t.payload)},setToOpenFileUI:(e,t)=>{e.toOpenFileUI!==t.payload&&(e.toOpenFileUI=t.payload)},setUserInfo:(e,t)=>{e.userInfo=t.payload},setSelectionText:(e,t)=>{e.selectionText!==t.payload&&(e.selectionText=t.payload)},setSelectionTextLanguage:(e,t)=>{e.selectionTextLanguage!==t.payload&&(e.selectionTextLanguage=t.payload)},setFilterSubtitleListText:(e,t)=>{e.filterSubtitleListText!==t.payload&&(e.filterSubtitleListText=t.payload)},setDraggableDictX:(e,t)=>{e.draggableDictX!==t.payload&&(e.draggableDictX=t.payload)},setDraggableDictY:(e,t)=>{e.draggableDictY!==t.payload&&(e.draggableDictY=t.payload)},setDraggableSubtitleListXInStore:(e,t)=>{e.draggableSubtitleListXInStore!==t.payload&&(e.draggableSubtitleListXInStore=t.payload)},setDraggableSubtitleListYInStore:(e,t)=>{e.draggableSubtitleListYInStore!==t.payload&&(e.draggableSubtitleListYInStore=t.payload)},setIndex:(e,t)=>{e.index!==t.payload&&(e.index=t.payload)},setIndexForWavesurfer:(e,t)=>{e.indexForWavesurfer!==t.payload&&(e.indexForWavesurfer=t.payload)},setIndexForWavesurferWords:(e,t)=>{e.indexForWavesurferWords!==t.payload&&(e.indexForWavesurferWords=t.payload)},setMediaIsAudio:(e,t)=>{e.mediaIsAudio!==t.payload&&(e.mediaIsAudio=t.payload)},setMaskFull:(e,t)=>{e.maskFull!==t.payload&&(e.maskFull=t.payload)},setMaskClickPlay:(e,t)=>{e.maskClickPlay!==t.payload&&(e.maskClickPlay=t.payload)},setSubtitleUrl:(e,t)=>{e.subtitleurl!==t.payload&&(e.subtitleurl=t.payload)},setWavesurferAudioBlobUrl:(e,t)=>{e.wavesurferAudioBlobUrl!==t.payload&&(e.wavesurferAudioBlobUrl=t.payload)},setWavesurferAudioUrl:(e,t)=>{e.wavesurferAudioUrl!==t.payload&&(e.wavesurferAudioUrl=t.payload)},setDict1ZimuApiUrl:(e,t)=>{if(t?.payload?.length>0){let r="en";r="ja"===e.selectionTextLanguage?"ja":"ko"===e.selectionTextLanguage?"ko":"fr"===e.selectionTextLanguage?"fr":"en";let n=`https://${o.ZIMU1_COM}/subtitle/api/dict/${t.payload}/${r}`;e.dict1ZimuApiUrl!==n&&(e.dict1ZimuApiUrl=n)}else null!==e.dict1ZimuApiUrl&&(e.dict1ZimuApiUrl=null)},setYoudaoAudioUrl:(e,t)=>{let r="";"ja"===e.selectionTextLanguage?r="&le=jap":"ko"===e.selectionTextLanguage?r="&le=ko":"fr"===e.selectionTextLanguage&&(r="&le=fr"),t?.payload?.length>0?e.youdaoAudioUrl!==`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`&&(e.youdaoAudioUrl=`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`):null!==e.youdaoAudioUrl&&(e.youdaoAudioUrl=null)},setNowTime:(e,t)=>{e.nowTime!==t.payload&&(e.nowTime=t.payload)},setBiliRightContainerWidth:(e,t)=>{e.biliRightContainerWidth!==t.payload&&(e.biliRightContainerWidth=t.payload)}}}),{initSubtitleNodes:u,initTTSSubtitleNodes:c,initTTSWordsSubtitleNodes:d,setTTSWordsSubtitleNodes:f,setTTSSubtitleNodes:p,setSubtitleNodes:h,setSubtitleNodesAsObj:g,setSubtitleText:m,setSubtitleZhText:b,setPaused:y,setPausedForWavesurfer:v,setCurrentTime:w,setCurrentTForWavesurfer:x,setClientWidth:S,setClientHeight:E,setIndex:_,setIndexForWavesurfer:k,setIndexForWavesurferWords:T,setMediaIsAudio:O,setMaskClickPlay:R,setMaskFull:I,setNickname:P,setSubtitleUrl:C,setWavesurferAudioBlobUrl:L,setWavesurferAudioUrl:j,setYoudaoAudioUrl:D,setDict1ZimuApiUrl:A,setNowTime:N,setBiliRightContainerWidth:M,setMouseX:z,setMouseY:U,setDraggableDictX:F,setDraggableDictY:B,setDraggableSubtitleListXInStore:H,setDraggableSubtitleListYInStore:W,setTextSelectionPopup:G,setSelectionText:V,setSelectionTextLanguage:$,setFilterSubtitleListText:q,setTargetLang:Y,setSourceLang:K,setRepeatTimes:X,setRepeatTimesForWavesurfer:Z,setVariableRepeatTimes:Q,setVariableRepeatTimesForWavesurfer:J,setMediaPlaybackRate:ee,setMediaPlaybackRateForWavesurfer:et,setYoutubeSourceLang:er,setYoutubeSubUrl:en,setPlayThenPause:ea,setPlayThenPausedStartTime:eo,setShowSubtitleList:ei,setFavoritesDicts:el,setNoStorageJwt:es,setJwtId:eu,setBaiduPanVideo:ec,setSubtitleTextEnOrNot:ed,setToOpenFileUI:ef,setUserInfo:ep}=s.actions;r.default=s.reducer},{"@reduxjs/toolkit":"59iT9","~tools/constants":"DgB7r","~tools/subtitle":"88X4r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lWScv:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Provider",()=>ea),n.export(r,"ReactReduxContext",()=>ee),n.export(r,"batch",()=>eh),n.export(r,"connect",()=>en),n.export(r,"createDispatchHook",()=>eu),n.export(r,"createSelectorHook",()=>ef),n.export(r,"createStoreHook",()=>el),n.export(r,"shallowEqual",()=>U),n.export(r,"useDispatch",()=>ec),n.export(r,"useSelector",()=>ep),n.export(r,"useStore",()=>es);var a=e("react"),o=e("use-sync-external-store/with-selector.js"),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))d.call(t,r)&&f(e,r,t[r]);return e},h=(e,t)=>l(e,s(t)),g=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&d.call(e,n)&&(r[n]=e[n]);return r},m=Symbol.for(a.version.startsWith("19")?"react.transitional.element":"react.element"),b=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),O=Symbol.for("react.lazy");function R(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function I(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function P(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=I(e);let a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=I(a),a=n(t,r)),a},n}}function C(e,t){return(r,n)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function L(e,t,r){return p(p(p({},r),e),t)}var j={notify(){},get:()=>[]};function D(e,t){let r;let n=j,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function l(){if(a++,!r){let a,o;r=t?t.addNestedSub(i):e.subscribe(i),a=null,o=null,n={clear(){a=null,o=null},notify(){(()=>{let e=a;for(;e;)e.callback(),e=e.next})()},get(){let e=[],t=a;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,r=o={callback:e,next:null,prev:o};return r.prev?r.prev.next=r:a=r,function(){t&&null!==a&&(t=!1,r.next?r.next.prev=r.prev:o=r.prev,r.prev?r.prev.next=r.next:a=r.next)}}}}}function s(){a--,r&&0===a&&(r(),r=void 0,n.clear(),n=j)}let u={addNestedSub:function(e){l();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),s())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,s())},getListeners:()=>n};return u}var A=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),N="undefined"!=typeof navigator&&"ReactNative"===navigator.product,M=A||N?a.useLayoutEffect:a.useEffect;function z(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function U(e,t){if(z(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!z(e[r[n]],t[r[n]]))return!1;return!0}var F={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},B={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},W={[E]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[T]:H};function G(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case m:switch(e=e.type){case y:case w:case v:case _:case k:return e;default:switch(e=e&&e.$$typeof){case S:case E:case O:case T:case x:return e;default:return t}}case b:return t}}}(e)===T?H:W[e.$$typeof]||F}var V=Object.defineProperty,$=Object.getOwnPropertyNames,q=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,K=Object.getPrototypeOf,X=Object.prototype;function Z(e,t){if("string"!=typeof t){if(X){let r=K(t);r&&r!==X&&Z(e,r)}let r=$(t);q&&(r=r.concat(q(t)));let n=G(e),a=G(t);for(let o=0;o<r.length;++o){let i=r[o];if(!B[i]&&!(a&&a[i])&&!(n&&n[i])){let r=Y(t,i);try{V(e,i,r)}catch(e){}}}}return e}var Q=Symbol.for("react-redux-context"),J="undefined"!=typeof globalThis?globalThis:{},ee=function(){var e;if(!a.createContext)return{};let t=null!=(e=J[Q])?e:J[Q]=new Map,r=t.get(a.createContext);return r||(r=a.createContext(null),t.set(a.createContext,r)),r}(),et=[null,null];function er(e,t){return e===t}var en=function(e,t,r,{pure:n,areStatesEqual:o=er,areOwnPropsEqual:i=U,areStatePropsEqual:l=U,areMergedPropsEqual:s=U,forwardRef:u=!1,context:c=ee}={}){let d=e?"function"==typeof e?P(e,"mapStateToProps"):C(e,"mapStateToProps"):R(()=>({})),f=t&&"object"==typeof t?R(e=>(function(e,t){let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=(...e)=>t(a(...e)))}return r})(t,e)):t?"function"==typeof t?P(t,"mapDispatchToProps"):C(t,"mapDispatchToProps"):R(e=>({dispatch:e})),m=r?"function"==typeof r?function(e,{displayName:t,areMergedPropsEqual:n}){let a,o=!1;return function(e,t,i){let l=r(e,t,i);return o?n(l,a)||(a=l):(o=!0,a=l),a}}:C(r,"mergeProps"):()=>L,b=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:b,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:l,areOwnPropsEqual:i,areMergedPropsEqual:s};function y(t){var r;let o;let[i,l,s]=a.useMemo(()=>{let{reactReduxForwardedRef:e}=t,r=g(t,["reactReduxForwardedRef"]);return[t.context,e,r]},[t]),u=a.useMemo(()=>(null==i||i.Consumer,c),[i,c]),d=a.useContext(u),f=!!t.store&&!!t.store.getState&&!!t.store.dispatch,m=!!d&&!!d.store,y=f?t.store:d.store,v=m?d.getServerState:y.getState,w=a.useMemo(()=>(function(e,t){var{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:a}=t,o=g(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);let i=r(e,o),l=n(e,o),s=a(e,o);return function(e,t,r,n,{areStatesEqual:a,areOwnPropsEqual:o,areStatePropsEqual:i}){let l,s,u,c,d,f=!1;return function(p,h){return f?function(f,p){let h=!o(p,s),g=!a(f,l,p,s);return(l=f,s=p,h&&g)?(u=e(l,s),t.dependsOnOwnProps&&(c=t(n,s)),d=r(u,c,s)):h?(e.dependsOnOwnProps&&(u=e(l,s)),t.dependsOnOwnProps&&(c=t(n,s)),d=r(u,c,s)):g?function(){let t=e(l,s),n=!i(t,u);return u=t,n&&(d=r(u,c,s)),d}():d}(p,h):(u=e(l=p,s=h),c=t(n,s),d=r(u,c,s),f=!0,d)}}(i,l,s,e,o)})(y.dispatch,n),[y]),[x,S]=a.useMemo(()=>{if(!b)return et;let e=D(y,f?void 0:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[y,f,d]),E=a.useMemo(()=>f?d:h(p({},d),{subscription:x}),[f,d,x]),_=a.useRef(void 0),k=a.useRef(s),T=a.useRef(void 0),O=a.useRef(!1),R=a.useRef(!1),I=a.useRef(void 0);M(()=>(R.current=!0,()=>{R.current=!1}),[]);let P=a.useMemo(()=>()=>T.current&&s===k.current?T.current:w(y.getState(),s),[y,s]),C=a.useMemo(()=>e=>x?function(e,t,r,n,a,o,i,l,s,u,c){if(!e)return()=>{};let d=!1,f=null,p=()=>{let e,r;if(d||!l.current)return;let p=t.getState();try{e=n(p,a.current)}catch(e){r=e,f=e}r||(f=null),e===o.current?i.current||u():(o.current=e,s.current=e,i.current=!0,c())};return r.onStateChange=p,r.trySubscribe(),p(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(b,y,x,w,k,_,O,R,T,S,e):()=>{},[x]);r=[k,_,O,s,T,S],M(()=>(function(e,t,r,n,a,o){e.current=n,r.current=!1,a.current&&(a.current=null,o())})(...r),void 0);try{o=a.useSyncExternalStore(C,P,v?()=>w(v(),s):P)}catch(e){throw I.current&&(e.message+=`
The error may be correlated with this previous error:
${I.current.stack}
`),e}M(()=>{I.current=void 0,T.current=void 0,_.current=o});let L=a.useMemo(()=>a.createElement(e,h(p({},o),{ref:l})),[l,e,o]),j=a.useMemo(()=>b?a.createElement(u.Provider,{value:E},L):L,[u,L,E]);return j}let v=a.memo(y);if(v.WrappedComponent=e,v.displayName=y.displayName=r,u){let t=a.forwardRef(function(e,t){return a.createElement(v,h(p({},e),{reactReduxForwardedRef:t}))});return t.displayName=r,t.WrappedComponent=e,Z(t,e)}return Z(v,e)}},ea=function(e){let{children:t,context:r,serverState:n,store:o}=e,i=a.useMemo(()=>{let e=D(o);return{store:o,subscription:e,getServerState:n?()=>n:void 0}},[o,n]),l=a.useMemo(()=>o.getState(),[o]);return M(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,l]),a.createElement((r||ee).Provider,{value:i},t)};function eo(e=ee){return function(){let t=a.useContext(e);return t}}var ei=eo();function el(e=ee){let t=e===ee?ei:eo(e),r=()=>{let{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var es=el();function eu(e=ee){let t=e===ee?es:el(e),r=()=>{let e=t();return e.dispatch};return Object.assign(r,{withTypes:()=>r}),r}var ec=eu(),ed=(e,t)=>e===t;function ef(e=ee){let t=e===ee?ei:eo(e),r=(e,r={})=>{let{equalityFn:n=ed}="function"==typeof r?{equalityFn:r}:r,i=t(),{store:l,subscription:s,getServerState:u}=i;a.useRef(!0);let c=a.useCallback({[e.name](t){let r=e(t);return r}}[e.name],[e]),d=(0,o.useSyncExternalStoreWithSelector)(s.addNestedSub,l.getState,u||l.getState,c,n);return a.useDebugValue(d),d};return Object.assign(r,{withTypes:()=>r}),r}var ep=ef(),eh=function(e){e()}},{react:"329PG","use-sync-external-store/with-selector.js":"4Tbgj","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4Tbgj":[function(e,t,r){t.exports=e("44db3591982713b9")},{"44db3591982713b9":"dKlR2"}],dKlR2:[function(e,t,r){var n=e("6d34fa13a6b19654"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,i=n.useRef,l=n.useEffect,s=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=o(e,(d=s(function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return i=t}return i=e}if(t=i,a(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,i=r)}var o,i,l=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,n,c]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},{"6d34fa13a6b19654":"329PG"}],gaugC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"store",()=>h),n.export(r,"persistor",()=>g),n.export(r,"useAppDispatch",()=>m),n.export(r,"useAppSelector",()=>b);var a=e("@reduxjs/toolkit"),o=e("react-redux"),i=e("redux-persist-webextension-storage"),l=e("@plasmohq/redux-persist"),s=e("@plasmohq/storage"),u=e("./storage-slice"),c=n.interopDefault(u);let d=(0,a.combineReducers)({odd:c.default}),f={key:"root",version:1,storage:i.localStorage},p=(0,l.persistReducer)(f,d);(0,a.configureStore)({reducer:d});let h=(0,a.configureStore)({reducer:p,middleware:e=>e({serializableCheck:{ignoredActions:[l.FLUSH,l.REHYDRATE,l.PAUSE,l.PERSIST,l.PURGE,l.REGISTER,l.RESYNC]}})}),g=(0,l.persistStore)(h);new(0,s.Storage)({area:"local"}).watch({[`persist:${f.key}`]:e=>{let{oldValue:t,newValue:r}=e,n=[];for(let e in t)t[e]!==r?.[e]&&n.push(e);for(let e in r)t?.[e]!==r[e]&&n.push(e);n.length>0&&g.resync()}});let m=o.useDispatch,b=o.useSelector},{"@reduxjs/toolkit":"59iT9","react-redux":"lWScv","redux-persist-webextension-storage":"jixDK","@plasmohq/redux-persist":"ilqfc","@plasmohq/storage":"loHJm","./storage-slice":"kUwPb","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jixDK:[function(e,t,r){var n=o(e("5d4f71de55428f87")),a=o(e("19680ef65d313b"));function o(e){return e&&e.__esModule?e:{default:e}}t.exports={localStorage:n.default,syncStorage:a.default}},{"5d4f71de55428f87":"5WzxA","19680ef65d313b":"jNPIy"}],"5WzxA":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("4ad5e0f4e633ccb5"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("local")},{"4ad5e0f4e633ccb5":"jm6eD"}],jm6eD:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return{getItem:function(t){return new Promise(function(r,n){chrome.storage[e].get(t,function(e){null==chrome.runtime.lastError?r(e[t]):n()})})},removeItem:function(t){return new Promise(function(r,n){chrome.storage[e].remove(t,function(){null==chrome.runtime.lastError?r():n()})})},setItem:function(t,r){return new Promise(function(n,a){var o;chrome.storage[e].set((t in(o={})?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o),function(){null==chrome.runtime.lastError?n():a()})})}}}},{}],jNPIy:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("d6e6ff7339f123c9"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("sync")},{d6e6ff7339f123c9:"jm6eD"}],ilqfc:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"persistReducer",()=>o.default),n.export(r,"persistCombineReducers",()=>l.default),n.export(r,"persistStore",()=>u.default),n.export(r,"createMigrate",()=>d.default),n.export(r,"createTransform",()=>p.default),n.export(r,"getStoredState",()=>g.default),n.export(r,"createPersistoid",()=>b.default),n.export(r,"purgeStoredState",()=>v.default);var a=e("./persistReducer"),o=n.interopDefault(a),i=e("./persistCombineReducers"),l=n.interopDefault(i),s=e("./persistStore"),u=n.interopDefault(s),c=e("./createMigrate"),d=n.interopDefault(c),f=e("./createTransform"),p=n.interopDefault(f),h=e("./getStoredState"),g=n.interopDefault(h),m=e("./createPersistoid"),b=n.interopDefault(m),y=e("./purgeStoredState"),v=n.interopDefault(y),w=e("./constants");n.exportAll(w,r)},{"./persistReducer":"d1KP6","./persistCombineReducers":"d1wD4","./persistStore":"c2S7r","./createMigrate":"epj2V","./createTransform":"lxpRa","./getStoredState":"9U9OG","./createPersistoid":"bclqy","./purgeStoredState":"9MOOt","./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],d1KP6:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>h);var a=e("./constants"),o=e("./stateReconciler/autoMergeLevel1"),i=n.interopDefault(o),l=e("./createPersistoid"),s=n.interopDefault(l),u=e("./getStoredState"),c=n.interopDefault(u),d=e("./purgeStoredState"),f=n.interopDefault(d),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function h(e,t){let r=void 0!==e.version?e.version:a.DEFAULT_VERSION,n=void 0===e.stateReconciler?i.default:e.stateReconciler,o=e.getStoredState||c.default,l=void 0!==e.timeout?e.timeout:5e3,u=null,d=!1,h=!0,g=e=>(e._persist.rehydrated&&u&&!h&&u.update(e),e);return(i,c)=>{let m=i||{},{_persist:b}=m,y=p(m,["_persist"]);if(c.type===a.PERSIST){let n=!1,a=(t,r)=>{n||(c.rehydrate(e.key,t,r),n=!0)};if(l&&setTimeout(()=>{n||a(void 0,Error(`redux-persist: persist timed out for persist key "${e.key}"`))},l),h=!1,u||(u=(0,s.default)(e)),b)return Object.assign(Object.assign({},t(y,c)),{_persist:b});if("function"!=typeof c.rehydrate||"function"!=typeof c.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return c.register(e.key),o(e).then(t=>{if(t){let n=e.migrate||((e,t)=>Promise.resolve(e));n(t,r).then(e=>{a(e)},e=>{a(void 0,e)})}},e=>{a(void 0,e)}),Object.assign(Object.assign({},t(y,c)),{_persist:{version:r,rehydrated:!1}})}if(c.type===a.PURGE)return d=!0,c.result((0,f.default)(e)),Object.assign(Object.assign({},t(y,c)),{_persist:b});if(c.type===a.RESYNC)return o(e).then(t=>c.rehydrate(e.key,t,void 0),t=>c.rehydrate(e.key,void 0,t)).then(()=>c.result()),Object.assign(Object.assign({},t(y,c)),{_persist:{version:r,rehydrated:!1}});if(c.type===a.FLUSH)return c.result(u&&u.flush()),Object.assign(Object.assign({},t(y,c)),{_persist:b});if(c.type===a.PAUSE)h=!0;else if(c.type===a.REHYDRATE){if(d)return Object.assign(Object.assign({},y),{_persist:Object.assign(Object.assign({},b),{rehydrated:!0})});if(c.key===e.key){let r=t(y,c),a=c.payload,o=!1!==n&&void 0!==a?n(a,i,r,e):r,l=Object.assign(Object.assign({},o),{_persist:Object.assign(Object.assign({},b),{rehydrated:!0})});return g(l)}}if(!b)return t(i,c);let v=t(y,c);return v===y?i:g(Object.assign(Object.assign({},v),{_persist:b}))}}},{"./constants":"2S8AY","./stateReconciler/autoMergeLevel1":"lm0ey","./createPersistoid":"bclqy","./getStoredState":"9U9OG","./purgeStoredState":"9MOOt","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"2S8AY":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"KEY_PREFIX",()=>a),n.export(r,"FLUSH",()=>o),n.export(r,"REHYDRATE",()=>i),n.export(r,"RESYNC",()=>l),n.export(r,"PAUSE",()=>s),n.export(r,"PERSIST",()=>u),n.export(r,"PURGE",()=>c),n.export(r,"REGISTER",()=>d),n.export(r,"DEFAULT_VERSION",()=>f);let a="persist:",o="persist/FLUSH",i="persist/REHYDRATE",l="persist/RESYNC",s="persist/PAUSE",u="persist/PERSIST",c="persist/PURGE",d="persist/REGISTER",f=-1},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lm0ey:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{"_persist"!==n&&t[n]===r[n]&&(a[n]=e[n])})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],bclqy:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.blacklist||null,n=e.whitelist||null,o=e.transforms||[],l=e.throttle||0,s=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,u=e.storage;t=!1===e.serialize?e=>e:"function"==typeof e.serialize?e.serialize:i;let c=e.writeFailHandler||null,d={},f={},p=[],h=null,g=null;function m(){if(0===p.length){h&&clearInterval(h),h=null;return}let e=p.shift();if(void 0===e)return;let r=o.reduce((t,r)=>r.in(t,e,d),d[e]);if(void 0!==r)try{f[e]=t(r)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete f[e];0===p.length&&(Object.keys(f).forEach(e=>{void 0===d[e]&&delete f[e]}),g=u.setItem(s,t(f)).catch(y))}function b(e){return(!n||-1!==n.indexOf(e)||"_persist"===e)&&(!r||-1===r.indexOf(e))}function y(e){c&&c(e)}return{update:e=>{Object.keys(e).forEach(t=>{b(t)&&d[t]!==e[t]&&-1===p.indexOf(t)&&p.push(t)}),Object.keys(d).forEach(t=>{void 0===e[t]&&b(t)&&-1===p.indexOf(t)&&void 0!==d[t]&&p.push(t)}),null===h&&(h=setInterval(m,l)),d=e},flush:()=>{for(;0!==p.length;)m();return g||Promise.resolve()}}}function i(e){return JSON.stringify(e)}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9U9OG":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.transforms||[],n=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,o=e.storage;return e.debug,t=!1===e.deserialize?e=>e:"function"==typeof e.deserialize?e.deserialize:i,o.getItem(n).then(e=>{if(e)try{let n={},a=t(e);return Object.keys(a).forEach(e=>{n[e]=r.reduceRight((t,r)=>r.out(t,e,a),t(a[e]))}),n}catch(e){throw e}})}function i(e){return JSON.parse(e)}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9MOOt":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t=e.storage,r=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`;return t.removeItem(r,i)}function i(e){}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],d1wD4:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>u);var a=e("redux"),o=e("./persistReducer"),i=n.interopDefault(o),l=e("./stateReconciler/autoMergeLevel2"),s=n.interopDefault(l);function u(e,t){return e.stateReconciler=void 0===e.stateReconciler?s.default:e.stateReconciler,(0,i.default)(e,(0,a.combineReducers)(t))}},{redux:"6SUHM","./persistReducer":"d1KP6","./stateReconciler/autoMergeLevel2":"gVnNc","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],gVnNc:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{if("_persist"!==n&&t[n]===r[n]){var o;if(null!==(o=r[n])&&!Array.isArray(o)&&"object"==typeof o){a[n]=Object.assign(Object.assign({},a[n]),e[n]);return}a[n]=e[n]}})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],c2S7r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>s);var a=e("redux"),o=e("./constants");let i={registry:[],bootstrapped:!1},l=(e=i,t)=>{let r=e.registry.indexOf(t.key),n=[...e.registry];switch(t.type){case o.REGISTER:return Object.assign(Object.assign({},e),{registry:[...e.registry,t.key]});case o.REHYDRATE:return n.splice(r,1),Object.assign(Object.assign({},e),{registry:n,bootstrapped:0===n.length});default:return e}};function s(e,t,r){let n=r||!1,s=(0,a.createStore)(l,i,t&&t.enhancer?t.enhancer:void 0),u=e=>{s.dispatch({type:o.REGISTER,key:e})},c=(t,r,a)=>{let i={type:o.REHYDRATE,payload:r,err:a,key:t};e.dispatch(i),s.dispatch(i),"function"==typeof n&&d.getState().bootstrapped&&(n(),n=!1)},d=Object.assign(Object.assign({},s),{purge:()=>{let t=[];return e.dispatch({type:o.PURGE,result:e=>{t.push(e)}}),Promise.all(t)},flush:()=>{let t=[];return e.dispatch({type:o.FLUSH,result:e=>{t.push(e)}}),Promise.all(t)},pause:()=>{e.dispatch({type:o.PAUSE})},persist:()=>{e.dispatch({type:o.PERSIST,register:u,rehydrate:c})},resync:()=>new Promise(t=>{e.dispatch({type:o.RESYNC,rehydrate:c,result:()=>t()})})});return t&&t.manualPersist||d.persist(),d}},{redux:"6SUHM","./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],epj2V:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e,t){let{debug:r}=t||{};return function(t,r){if(!t)return Promise.resolve(void 0);let n=t._persist&&void 0!==t._persist.version?t._persist.version:a.DEFAULT_VERSION;if(n===r||n>r)return Promise.resolve(t);let o=Object.keys(e).map(e=>parseInt(e)).filter(e=>r>=e&&e>n).sort((e,t)=>e-t);try{let r=o.reduce((t,r)=>e[r](t),t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lxpRa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r={}){let n=r.whitelist||null,a=r.blacklist||null;function o(e){return!!n&&-1===n.indexOf(e)||!!a&&-1!==a.indexOf(e)}return{in:(t,r,n)=>!o(r)&&e?e(t,r,n):t,out:(e,r,n)=>!o(r)&&t?t(e,r,n):e}}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],loHJm:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"BaseStorage",()=>l),n.export(r,"Storage",()=>s);var a=e("pify"),o=n.interopDefault(a),i=()=>{try{let e=globalThis.navigator?.userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if("Chrome"===e[1])return 100>parseInt(e[2])||globalThis.chrome.runtime?.getManifest()?.manifest_version===2}catch{}return!1},l=class{#e;#t;get primaryClient(){return this.#t}#r;get secondaryClient(){return this.#r}#n;get area(){return this.#n}get hasWebApi(){try{return"u">typeof window&&!!window.localStorage}catch(e){return console.error(e),!1}}#a=new Map;#o;get copiedKeySet(){return this.#o}isCopied=e=>this.hasWebApi&&(this.allCopied||this.copiedKeySet.has(e));#i=!1;get allCopied(){return this.#i}getExtStorageApi=()=>globalThis.browser?.storage||globalThis.chrome?.storage;get hasExtensionApi(){try{return!!this.getExtStorageApi()}catch(e){return console.error(e),!1}}isWatchSupported=()=>this.hasExtensionApi;keyNamespace="";isValidKey=e=>e.startsWith(this.keyNamespace);getNamespacedKey=e=>`${this.keyNamespace}${e}`;getUnnamespacedKey=e=>e.slice(this.keyNamespace.length);constructor({area:e="sync",allCopied:t=!1,copiedKeyList:r=[]}={}){this.setCopiedKeySet(r),this.#n=e,this.#i=t;try{this.hasWebApi&&(t||r.length>0)&&(this.#r=window.localStorage)}catch{}try{this.hasExtensionApi&&(this.#e=this.getExtStorageApi(),i()?this.#t=(0,o.default)(this.#e[this.area],{exclude:["getBytesInUse"],errorFirst:!1}):this.#t=this.#e[this.area])}catch{}}setCopiedKeySet(e){this.#o=new Set(e)}rawGetAll=()=>this.#t?.get();getAll=async()=>Object.entries(await this.rawGetAll()).filter(([e])=>this.isValidKey(e)).reduce((e,[t,r])=>(e[this.getUnnamespacedKey(t)]=r,e),{});copy=async e=>{let t=void 0===e;if(!t&&!this.copiedKeySet.has(e)||!this.allCopied||!this.hasExtensionApi)return!1;let r=this.allCopied?await this.rawGetAll():await this.#t.get((t?[...this.copiedKeySet]:[e]).map(this.getNamespacedKey));if(!r)return!1;let n=!1;for(let e in r){let t=r[e],a=this.#r?.getItem(e);this.#r?.setItem(e,t),n||=t!==a}return n};rawGet=async e=>this.hasExtensionApi?(await this.#t.get(e))[e]:this.isCopied(e)?this.#r?.getItem(e):null;rawSet=async(e,t)=>(this.isCopied(e)&&this.#r?.setItem(e,t),this.hasExtensionApi&&await this.#t.set({[e]:t}),null);clear=async(e=!1)=>{e&&this.#r?.clear(),await this.#t.clear()};rawRemove=async e=>{this.isCopied(e)&&this.#r?.removeItem(e),this.hasExtensionApi&&await this.#t.remove(e)};removeAll=async()=>{let e=Object.keys(await this.getAll());await Promise.all(e.map(this.remove))};watch=e=>{let t=this.isWatchSupported();return t&&this.#l(e),t};#l=e=>{for(let t in e){let r=this.getNamespacedKey(t),n=this.#a.get(r)?.callbackSet||new Set;if(n.add(e[t]),n.size>1)continue;let a=(e,t)=>{if(t!==this.area||!e[r])return;let n=this.#a.get(r);if(!n)throw Error(`Storage comms does not exist for nsKey: ${r}`);Promise.all([this.parseValue(e[r].newValue),this.parseValue(e[r].oldValue)]).then(([e,r])=>{for(let a of n.callbackSet)a({newValue:e,oldValue:r},t)})};this.#e.onChanged.addListener(a),this.#a.set(r,{callbackSet:n,listener:a})}};unwatch=e=>{let t=this.isWatchSupported();return t&&this.#s(e),t};#s(e){for(let t in e){let r=this.getNamespacedKey(t),n=e[t],a=this.#a.get(r);a&&(a.callbackSet.delete(n),0===a.callbackSet.size&&(this.#a.delete(r),this.#e.onChanged.removeListener(a.listener)))}}unwatchAll=()=>this.#u();#u(){this.#a.forEach(({listener:e})=>this.#e.onChanged.removeListener(e)),this.#a.clear()}async getItem(e){return this.get(e)}async setItem(e,t){await this.set(e,t)}async removeItem(e){return this.remove(e)}},s=class extends l{get=async e=>{let t=this.getNamespacedKey(e),r=await this.rawGet(t);return this.parseValue(r)};set=async(e,t)=>{let r=this.getNamespacedKey(e),n=JSON.stringify(t);return this.rawSet(r,n)};remove=async e=>{let t=this.getNamespacedKey(e);return this.rawRemove(t)};setNamespace=e=>{this.keyNamespace=e};parseValue=async e=>{try{if(void 0!==e)return JSON.parse(e)}catch(e){console.error(e)}}}},{pify:"e8SYa","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],e8SYa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>i);let a=(e,t,r,n)=>function(...a){let o=t.promiseModule;return new o((o,i)=>{t.multiArgs?a.push((...e)=>{t.errorFirst?e[0]?i(e):(e.shift(),o(e)):o(e)}):t.errorFirst?a.push((e,t)=>{e?i(e):o(t)}):a.push(o),Reflect.apply(e,this===r?n:this,a)})},o=new WeakMap;function i(e,t){t={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...t};let r=typeof e;if(!(null!==e&&("object"===r||"function"===r)))throw TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":r}\``);let n=(e,r)=>{let n=o.get(e);if(n||(n={},o.set(e,n)),r in n)return n[r];let a=e=>"string"==typeof e||"symbol"==typeof r?r===e:e.test(r),i=Reflect.getOwnPropertyDescriptor(e,r),l=void 0===i||i.writable||i.configurable,s=t.include?t.include.some(e=>a(e)):!t.exclude.some(e=>a(e)),u=s&&l;return n[r]=u,u},i=new WeakMap,l=new Proxy(e,{apply(e,r,n){let o=i.get(e);if(o)return Reflect.apply(o,r,n);let s=t.excludeMain?e:a(e,t,l,e);return i.set(e,s),Reflect.apply(s,r,n)},get(e,r){let o=e[r];if(!n(e,r)||o===Function.prototype[r])return o;let s=i.get(o);if(s)return s;if("function"==typeof o){let r=a(o,t,l,e);return i.set(o,r),r}return o}});return l}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],kUwPb:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"setJwt",()=>i),n.export(r,"setHeadimgurl",()=>l),n.export(r,"setNickname",()=>s),n.export(r,"setPopupShow",()=>u);var a=e("@reduxjs/toolkit");let o=(0,a.createSlice)({name:"odd",initialState:{jwt:"",headimgurl:"",nickname:"",popupShow:!0},reducers:{setJwt:(e,t)=>{e.jwt=t.payload},setHeadimgurl:(e,t)=>{e.headimgurl=`${t.payload}`},setNickname:(e,t)=>{e.nickname=t.payload},setPopupShow:(e,t)=>{e.popupShow=t.payload}}}),{setJwt:i,setHeadimgurl:l,setNickname:s,setPopupShow:u}=o.actions;r.default=o.reducer},{"@reduxjs/toolkit":"59iT9","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],ftkuD:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"InvalidTokenError",()=>a),n.export(r,"jwtDecode",()=>o);class a extends Error{}function o(e,t){let r;if("string"!=typeof e)throw new a("Invalid token specified: must be a string");t||(t={});let n=!0===t.header?0:1,o=e.split(".")[n];if("string"!=typeof o)throw new a(`Invalid token specified: missing part #${n+1}`);try{r=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(o)}catch(e){throw new a(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new a(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}a.prototype.name="InvalidTokenError"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"92GyB":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"relay",()=>g),n.export(r,"relayMessage",()=>h),n.export(r,"sendToActiveContentScript",()=>p),n.export(r,"sendToBackground",()=>d),n.export(r,"sendToBackgroundViaRelay",()=>m),n.export(r,"sendToContentScript",()=>f),n.export(r,"sendViaRelay",()=>b);var a=e("nanoid"),o=globalThis.browser?.tabs||globalThis.chrome?.tabs,i=()=>{let e=globalThis.browser?.runtime||globalThis.chrome?.runtime;if(!e)throw Error("Extension runtime is not available");return e},l=()=>{if(!o)throw Error("Extension tabs API is not available");return o},s=async()=>{let e=l(),[t]=await e.query({active:!0,currentWindow:!0});return t},u=(e,t)=>!t.__internal&&e.source===globalThis.window&&e.data.name===t.name&&(void 0===t.relayId||e.data.relayId===t.relayId),c=(e,t,r=globalThis.window)=>{let n=async n=>{if(u(n,e)&&!n.data.relayed){let a={name:e.name,relayId:e.relayId,body:n.data.body},o=await t?.(a);r.postMessage({name:e.name,relayId:e.relayId,instanceId:n.data.instanceId,body:o,relayed:!0},{targetOrigin:e.targetOrigin||"/"})}};return r.addEventListener("message",n),()=>r.removeEventListener("message",n)},d=async e=>i().sendMessage(e.extensionId??null,e),f=async e=>{let t="number"==typeof e.tabId?e.tabId:(await s())?.id;if(!t)throw Error("No active tab found to send message to.");return l().sendMessage(t,e)},p=f,h=e=>c(e,d),g=h,m=(e,t=globalThis.window)=>new Promise((r,n)=>{let o=(0,a.nanoid)(),i=new AbortController;t.addEventListener("message",t=>{u(t,e)&&t.data.relayed&&t.data.instanceId===o&&(r(t.data.body),i.abort())},{signal:i.signal}),t.postMessage({...e,instanceId:o},{targetOrigin:e.targetOrigin||"/"})}),b=m},{nanoid:"g2QpR","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],g2QpR:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"urlAlphabet",()=>a.urlAlphabet),n.export(r,"random",()=>o),n.export(r,"customRandom",()=>i),n.export(r,"customAlphabet",()=>l),n.export(r,"nanoid",()=>s);var a=e("./url-alphabet/index.js");let o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,a=-~(1.6*n*t/e.length);return (o=t)=>{let i="";for(;;){let t=r(a),l=a;for(;l--;)if((i+=e[t[l]&n]||"").length===o)return i}}},l=(e,t=21)=>i(e,t,o),s=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},{"./url-alphabet/index.js":"iZI4R","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],iZI4R:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"urlAlphabet",()=>a);let a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"82aS0":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"handleError",()=>o);var a=e("react-toastify");function o({error:e,msgToShow:t,autoClose:r=5e3,silence:n=!0}){try{console.error(`Catched ERROR in ${t} :>> `,e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in ${t}.`,{autoClose:r}))}catch(e){console.error("Catched ERROR in tools.error.handleError() :>> ",e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in tools.error.handleError()`,{autoClose:r}))}}},{"react-toastify":"7cUZK","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1qe3F":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"logger",()=>a);let a=new class{constructor(){this.isProduction=!0}log(...e){this.isProduction||console.log(...e)}info(...e){this.isProduction||console.info(...e)}error(...e){this.isProduction||console.error(...e)}warn(...e){this.isProduction||console.warn(...e)}debug(...e){this.isProduction||console.debug(...e)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],hpDvz:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"storage",()=>o),n.export(r,"storageSync",()=>i);var a=e("@plasmohq/storage");let o=new a.Storage({area:"local"}),i=new a.Storage({area:"sync"})},{"@plasmohq/storage":"loHJm","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1N71i":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"sleep",()=>o),n.export(r,"clickYoutubeSubtitleBtn",()=>i);var a=e("./error");function o(e){return new Promise(t=>setTimeout(t,e))}function i(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");if(e){let t=e.getAttribute("aria-pressed"),r=e.querySelector("svg");"false"===t&&"1"===r.getAttribute("fill-opacity")&&e.click()}}catch(e){(0,a.handleError)({error:e,msgToShow:"tools.subtitle.clickYoutubeSubtitleBtn()"})}}},{"./error":"82aS0","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9ypWX":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"haveNoPermission",()=>i),n.export(r,"withPermissionCheck",()=>l);var a=e("react-toastify"),o=e("../redux/storeNoStorage");function i(e){let{userInfo:t}=(0,o.store).getState().noStorager,r=t?.zm1_expired_or_not;return r&&"true"!==e}function l(e,t,r,n){return function(...o){if(i(t)){(0,a.toast).warning(r,{autoClose:5e3}),n&&n.open({duration:6e3,type:"error",content:`${r}`});return}return e(...o)}}},{"react-toastify":"7cUZK","../redux/storeNoStorage":"20ikG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"3ofev":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"AZURE_LANGUAGES_TRANS",()=>a),n.export(r,"LANG_MAP",()=>o);let a=[{value:"af",label:"\u5357\u975e\u8377\u5170\u8bed Afrikaans"},{value:"am",label:"\u963f\u59c6\u54c8\u62c9\u8bed \u12a0\u121b\u122d\u129b"},{value:"ar",label:"\u963f\u62c9\u4f2f\u8bed \u0627\u0644\u0639\u0631\u0628\u064a\u0629"},{value:"as",label:"\u963f\u8428\u59c6\u8bed \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be"},{value:"az",label:"\u963f\u585e\u62dc\u7586\u8bed Az\u0259rbaycan"},{value:"ba",label:"\u5df4\u4ec0\u57fa\u5c14\u8bed Bashkir"},{value:"bg",label:"\u4fdd\u52a0\u5229\u4e9a\u8bed \u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},{value:"bho",label:"Bhojpuri \u092d\u094b\u091c\u092a\u0941\u0930\u0940"},{value:"bn",label:"\u5b5f\u52a0\u62c9\u8bed \u09ac\u09be\u0982\u09b2\u09be"},{value:"bo",label:"\u85cf\u8bed \u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b"},{value:"brx",label:"Bodo \u092c\u0921\u093c\u094b"},{value:"bs",label:"\u6ce2\u65af\u5c3c\u4e9a\u8bed Bosanski"},{value:"ca",label:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed Catal\xe0"},{value:"cs",label:"\u6377\u514b\u8bed \u010ce\u0161tina"},{value:"cy",label:"\u5a01\u5c14\u58eb\u8bed Cymraeg"},{value:"da",label:"\u4e39\u9ea6\u8bed Dansk"},{value:"de",label:"\u5fb7\u8bed Deutsch"},{value:"doi",label:"Dogri \u0921\u094b\u0917\u0930\u0940"},{value:"dsb",label:"\u4e0b\u7d22\u5e03\u8bed Dolnoserb\u0161\u0107ina"},{value:"dv",label:"\u8fea\u7ef4\u5e0c\u8bed \u078b\u07a8\u0788\u07ac\u0780\u07a8\u0784\u07a6\u0790\u07b0"},{value:"el",label:"\u5e0c\u814a\u8bed \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},{value:"en",label:"\u82f1\u8bed English"},{value:"es",label:"\u897f\u73ed\u7259\u8bed Espa\xf1ol"},{value:"et",label:"\u7231\u6c99\u5c3c\u4e9a\u8bed Eesti"},{value:"eu",label:"\u5df4\u65af\u514b\u8bed Euskara"},{value:"fa",label:"\u6ce2\u65af\u8bed \u0641\u0627\u0631\u0633\u06cc"},{value:"fi",label:"\u82ac\u5170\u8bed Suomi"},{value:"fil",label:"\u83f2\u5f8b\u5bbe\u8bed Filipino"},{value:"fj",label:"\u6590\u6d4e\u8bed Na Vosa Vakaviti"},{value:"fo",label:"\u6cd5\u7f57\u8bed F\xf8royskt"},{value:"fr",label:"\u6cd5\u8bed Fran\xe7ais"},{value:"fr-CA",label:"\u6cd5\u8bed (\u52a0\u62ff\u5927) Fran\xe7ais (Canada)"},{value:"ga",label:"\u7231\u5c14\u5170\u8bed Gaeilge"},{value:"gl",label:"\u52a0\u5229\u897f\u4e9a\u8bed Galego"},{value:"gom",label:"Konkani \u0915\u094b\u0902\u0915\u0923\u0940"},{value:"gu",label:"\u53e4\u5409\u62c9\u7279\u8bed \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0"},{value:"ha",label:"\u8c6a\u8428\u8bed Hausa"},{value:"he",label:"\u5e0c\u4f2f\u6765\u8bed \u05e2\u05d1\u05e8\u05d9\u05ea"},{value:"hi",label:"\u5370\u5730\u8bed \u0939\u093f\u0928\u094d\u0926\u0940"},{value:"hne",label:"Chhattisgarhi \u091b\u0924\u094d\u0924\u0940\u0938\u0917\u0922\u093c\u0940"},{value:"hr",label:"\u514b\u7f57\u5730\u4e9a\u8bed Hrvatski"},{value:"hsb",label:"\u4e0a\u7d22\u5e03\u8bed Hornjoserb\u0161\u0107ina"},{value:"ht",label:"\u6d77\u5730\u514b\u91cc\u5965\u5c14\u8bed Haitian Creole"},{value:"hu",label:"\u5308\u7259\u5229\u8bed Magyar"},{value:"hy",label:"\u4e9a\u7f8e\u5c3c\u4e9a\u8bed \u0540\u0561\u0575\u0565\u0580\u0565\u0576"},{value:"id",label:"\u5370\u5ea6\u5c3c\u897f\u4e9a\u8bed Indonesia"},{value:"ig",label:"\u4f0a\u535a\u8bed \xc1s\u1ee5\u0300s\u1ee5\u0301 \xccgb\xf2"},{value:"ikt",label:"Inuinnaqtun Inuinnaqtun"},{value:"is",label:"\u51b0\u5c9b\u8bed \xcdslenska"},{value:"it",label:"\u610f\u5927\u5229\u8bed Italiano"},{value:"iu",label:"\u56e0\u7ebd\u7279\u8bed \u1403\u14c4\u1483\u144e\u1450\u1466"},{value:"iu-Latn",label:"Inuktitut (Latin) Inuktitut (Latin)"},{value:"ja",label:"\u65e5\u8bed \u65e5\u672c\u8a9e"},{value:"ka",label:"\u683c\u9c81\u5409\u4e9a\u8bed \u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},{value:"kk",label:"\u54c8\u8428\u514b\u8bed \u049a\u0430\u0437\u0430\u049b \u0422\u0456\u043b\u0456"},{value:"km",label:"\u9ad8\u68c9\u8bed \u1781\u17d2\u1798\u17c2\u179a"},{value:"kmr",label:"\u5e93\u5c14\u5fb7\u8bed (\u5317) Kurd\xee (Bakur)"},{value:"kn",label:"\u5361\u7eb3\u8fbe\u8bed \u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},{value:"ko",label:"\u97e9\u8bed \ud55c\uad6d\uc5b4"},{value:"ks",label:"Kashmiri \u06a9\u0672\u0634\u064f\u0631"},{value:"ku",label:"\u5e93\u5c14\u5fb7\u8bed (\u4e2d) Kurd\xee (Nav\xeen)"},{value:"ky",label:"\u67ef\u5c14\u514b\u5b5c\u8bed \u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},{value:"ln",label:"\u6797\u52a0\u62c9\u8bed Ling\xe1la"},{value:"lo",label:"\u8001\u631d\u8bed \u0ea5\u0eb2\u0ea7"},{value:"lt",label:"\u7acb\u9676\u5b9b\u8bed Lietuvi\u0173"},{value:"lug",label:"Ganda Ganda"},{value:"lv",label:"\u62c9\u8131\u7ef4\u4e9a\u8bed Latvie\u0161u"},{value:"lzh",label:"Chinese (Literary) \u4e2d\u6587 (\u6587\u8a00\u6587)"},{value:"mai",label:"\u8fc8\u8482\u5229\u8bed \u092e\u0948\u0925\u093f\u0932\u0940"},{value:"mg",label:"\u9a6c\u62c9\u52a0\u65af\u8bed Malagasy"},{value:"mi",label:"\u6bdb\u5229\u8bed Te Reo M\u0101ori"},{value:"mk",label:"\u9a6c\u5176\u987f\u8bed \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},{value:"ml",label:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02"},{value:"mn-Cyrl",label:"Mongolian (Cyrillic) \u041c\u043e\u043d\u0433\u043e\u043b"},{value:"mn-Mong",label:"Mongolian (Traditional) \u182e\u1823\u1829\u182d\u1823\u182f \u182c\u1821\u182f\u1821"},{value:"mni",label:"Manipuri \uabc3\uabe9\uabc7\uabe9\uabc2\uabe3\uabdf"},{value:"mr",label:"\u9a6c\u62c9\u5730\u8bed \u092e\u0930\u093e\u0920\u0940"},{value:"ms",label:"\u9a6c\u6765\u8bed Melayu"},{value:"mt",label:"\u9a6c\u8033\u4ed6\u8bed Malti"},{value:"mww",label:"\u82d7\u8bed Hmong Daw"},{value:"my",label:"\u7f05\u7538\u8bed \u1019\u103c\u1014\u103a\u1019\u102c"},{value:"nb",label:"\u4e66\u9762\u632a\u5a01\u8bed Norsk Bokm\xe5l"},{value:"ne",label:"\u5c3c\u6cca\u5c14\u8bed \u0928\u0947\u092a\u093e\u0932\u0940"},{value:"nl",label:"\u8377\u5170\u8bed Nederlands"},{value:"nso",label:"Sesotho sa Leboa Sesotho sa Leboa"},{value:"nya",label:"Nyanja Nyanja"},{value:"or",label:"\u5965\u91cc\u4e9a\u8bed \u0b13\u0b21\u0b3c\u0b3f\u0b06"},{value:"otq",label:"\u514b\u96f7\u5854\u7f57\u5965\u6258\u7c73\u8bed H\xf1\xe4h\xf1u"},{value:"pa",label:"\u65c1\u906e\u666e\u8bed \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40"},{value:"pl",label:"\u6ce2\u5170\u8bed Polski"},{value:"prs",label:"\u8fbe\u91cc\u8bed \u062f\u0631\u06cc"},{value:"ps",label:"\u666e\u4ec0\u56fe\u8bed \u067e\u069a\u062a\u0648"},{value:"pt",label:"\u8461\u8404\u7259\u8bed (\u5df4\u897f) Portugu\xeas (Brasil)"},{value:"pt-PT",label:"\u8461\u8404\u7259\u8bed (\u8461\u8404\u7259) Portugu\xeas (Portugal)"},{value:"ro",label:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed Rom\xe2n\u0103"},{value:"ru",label:"\u4fc4\u8bed \u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{value:"run",label:"Rundi Rundi"},{value:"rw",label:"\u5362\u65fa\u8fbe\u8bed Kinyarwanda"},{value:"sd",label:"\u4fe1\u5fb7\u8bed \u0633\u0646\u068c\u064a"},{value:"si",label:"\u50e7\u4f3d\u7f57\u8bed \u0dc3\u0dd2\u0d82\u0dc4\u0dbd"},{value:"sk",label:"\u65af\u6d1b\u4f10\u514b\u8bed Sloven\u010dina"},{value:"sl",label:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed Sloven\u0161\u010dina"},{value:"sm",label:"\u8428\u6469\u4e9a\u8bed Gagana S\u0101moa"},{value:"sn",label:"\u7ecd\u7eb3\u8bed chiShona"},{value:"so",label:"\u7d22\u9a6c\u91cc\u8bed Soomaali"},{value:"sq",label:"\u963f\u5c14\u5df4\u5c3c\u4e9a\u8bed Shqip"},{value:"sr-Cyrl",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u897f\u91cc\u5c14\u6587) \u0421\u0440\u043f\u0441\u043a\u0438 (\u045b\u0438\u0440\u0438\u043b\u0438\u0446\u0430)"},{value:"sr-Latn",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u62c9\u4e01\u6587) Srpski (latinica)"},{value:"st",label:"Sesotho Sesotho"},{value:"sv",label:"\u745e\u5178\u8bed Svenska"},{value:"sw",label:"\u65af\u74e6\u5e0c\u91cc\u8bed Kiswahili"},{value:"ta",label:"\u6cf0\u7c73\u5c14\u8bed \u0ba4\u0bae\u0bbf\u0bb4\u0bcd"},{value:"te",label:"\u6cf0\u5362\u56fa\u8bed \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41"},{value:"th",label:"\u6cf0\u8bed \u0e44\u0e17\u0e22"},{value:"ti",label:"\u63d0\u683c\u5229\u5c3c\u4e9a\u8bed \u1275\u130d\u122d"},{value:"tk",label:"\u571f\u5e93\u66fc\u8bed T\xfcrkmen Dili"},{value:"tlh-Latn",label:"\u514b\u6797\u8d21\u8bed (\u62c9\u4e01\u6587) Klingon (Latin)"},{value:"tlh-Piqd",label:"\u514b\u6797\u8d21\u8bed (pIqaD) Klingon (pIqaD)"},{value:"tn",label:"Setswana Setswana"},{value:"to",label:"\u6c64\u52a0\u8bed Lea Fakatonga"},{value:"tr",label:"\u571f\u8033\u5176\u8bed T\xfcrk\xe7e"},{value:"tt",label:"\u9791\u977c\u8bed \u0422\u0430\u0442\u0430\u0440"},{value:"ty",label:"\u5854\u5e0c\u63d0\u8bed Reo Tahiti"},{value:"ug",label:"\u7ef4\u543e\u5c14\u8bed \u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\u06d5"},{value:"uk",label:"\u4e4c\u514b\u5170\u8bed \u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},{value:"ur",label:"\u4e4c\u5c14\u90fd\u8bed \u0627\u0631\u062f\u0648"},{value:"uz",label:"\u4e4c\u5179\u522b\u514b\u8bed O\u2018Zbek"},{value:"vi",label:"\u8d8a\u5357\u8bed Ti\u1ebfng Vi\u1ec7t"},{value:"xh",label:"\u79d1\u8428\u8bed isiXhosa"},{value:"yo",label:"\u7ea6\u9c81\u5df4\u8bed \xc8d\xe8 Yor\xf9b\xe1"},{value:"yua",label:"\u5c24\u5361\u7279\u514b\u739b\u96c5\u8bed Yucatec Maya"},{value:"yue",label:"\u7ca4\u8bed (\u7e41\u4f53) \u7cb5\u8a9e (\u7e41\u9ad4)"},{value:"zh-Hans",label:"\u4e2d\u6587 (\u7b80\u4f53) \u4e2d\u6587 (\u7b80\u4f53)"},{value:"zh-Hant",label:"\u4e2d\u6587 (\u7e41\u4f53) \u7e41\u9ad4\u4e2d\u6587 (\u7e41\u9ad4)"},{value:"zu",label:"\u7956\u9c81\u8bed Isi-Zulu"}],o={ar:"\u963f\u62c9\u4f2f\u8bed",am:"\u963f\u59c6\u54c8\u62c9\u8bed",bg:"\u4fdd\u52a0\u5229\u4e9a\u8bed",bn:"\u5b5f\u52a0\u62c9\u8bed",ca:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed",cs:"\u6377\u514b\u8bed",da:"\u4e39\u9ea6\u8bed",de:"\u5fb7\u8bed",el:"\u5e0c\u814a\u8bed",en:"\u82f1\u8bed",en_AU:"\u82f1\u8bed\uff08\u6fb3\u5927\u5229\u4e9a\uff09",en_GB:"\u82f1\u8bed\uff08\u82f1\u56fd\uff09",en_US:"\u82f1\u8bed\uff08\u7f8e\u56fd\uff09",es:"\u897f\u73ed\u7259\u8bed",es_419:"\u897f\u73ed\u7259\u8bed\uff08\u62c9\u4e01\u7f8e\u6d32\u548c\u52a0\u52d2\u6bd4\u5730\u533a\uff09",et:"\u7231\u6c99\u5c3c\u4e9a\u8bed",fa:"\u6ce2\u65af\u8bed",fi:"\u82ac\u5170\u8bed",fil:"\u83f2\u5f8b\u5bbe\u8bed",fr:"\u6cd5\u8bed",gu:"\u53e4\u5409\u62c9\u7279\u8bed",he:"\u5e0c\u4f2f\u6765\u8bed",hi:"\u5370\u5730\u8bed",hr:"\u514b\u7f57\u5730\u4e9a\u8bed",hu:"\u5308\u7259\u5229\u8bed",id:"\u5370\u5c3c\u8bed",it:"\u610f\u5927\u5229\u8bed",ja:"\u65e5\u8bed",kn:"\u5361\u7eb3\u8fbe\u8bed",ko:"\u97e9\u8bed",lt:"\u7acb\u9676\u5b9b\u8bed",lv:"\u62c9\u8131\u7ef4\u4e9a\u8bed",ml:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed",mr:"\u9a6c\u62c9\u5730\u8bed",ms:"\u9a6c\u6765\u8bed",nl:"\u8377\u5170\u8bed",no:"\u632a\u5a01\u8bed",pl:"\u6ce2\u5170\u8bed",pt:"\u8461\u8404\u7259\u8bed",pt_BR:"\u8461\u8404\u7259\u8bed\uff08\u5df4\u897f\uff09",pt_PT:"\u8461\u8404\u7259\u8bed\uff08\u8461\u8404\u7259\uff09",ro:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed",ru:"\u4fc4\u8bed",sk:"\u65af\u6d1b\u4f10\u514b\u8bed",sl:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed",sr:"\u585e\u5c14\u7ef4\u4e9a\u8bed",sv:"\u745e\u5178\u8bed",sw:"\u65af\u74e6\u5e0c\u91cc\u8bed",ta:"\u6cf0\u7c73\u5c14\u8bed",te:"\u6cf0\u5362\u56fa\u8bed",th:"\u6cf0\u8bed ",tr:"\u571f\u8033\u5176\u8bed",uk:"\u4e4c\u514b\u5170\u8bed",vi:"\u8d8a\u5357\u8bed",zh:"\u4e2d\u6587",zh_CN:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09",zh_TW:"\u4e2d\u6587\uff08\u53f0\u6e7e\uff09"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1v1MT":[function(e,t,r){var n,a,o,i,l=e("@parcel/transformer-js/src/esmodule-helpers.js");l.defineInteropFlag(r),l.export(r,"BROWSER_TYPE",()=>o),l.export(r,"OS_TYPE",()=>i),(n=o||(o={}))[n.IE=0]="IE",n[n.EDGE=1]="EDGE",n[n.CHROME=2]="CHROME",n[n.OTHER=3]="OTHER",(a=i||(i={}))[a.MACOS=0]="MACOS",a[a.WINDOWS=1]="WINDOWS",a[a.OTHER=2]="OTHER"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7s1m0":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("../redux/storeNoStorage"),l=e("../redux/store"),s=e("../redux/no-storage-slice"),u=e("../contents/InlineSubtitleMask"),c=e("@plasmohq/storage/hook"),d=e("~tools/storages"),f=e("~tools/constants"),p=e("./GridLayoutMask"),h=n.interopDefault(p);let g=document,m=0,b=0,y=100;r.default=function(){let[e,t]=(0,c.useStorage)({key:f.STORAGE_VIDEO_MASK_HEIGHT,instance:d.storage},e=>void 0===e?80:e),[r,n]=(0,c.useStorage)({key:f.STORAGE_MASK_BACKDROP_BLUR_SHOW,instance:d.storage},e=>void 0===e?f.STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW:e),[p,v]=(0,c.useStorage)({key:f.STORAGE_MASK_BACKDROP_BLUR_COLOR,instance:d.storage},e=>void 0===e?f.STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR:e),w=(0,o.useContext)(u.VideoContext),[x,S]=(0,o.useState)("100%"),[E,_]=(0,o.useState)(0),[k,T]=(0,o.useState)("absolute"),[O,R]=(0,o.useState)(y),[I,P]=(0,o.useState)(1*e),[C,L]=(0,o.useState)(m),[j,D]=(0,o.useState)(1*e),A=(0,i.useAppSelector)(e=>e?.noStorager?.clientHeight?e.noStorager.clientHeight:0),N=(0,i.useAppSelector)(e=>e?.noStorager?.clientWidth?e.noStorager.clientWidth:0),[M]=(0,c.useStorage)({key:f.STORAGE_SHOWVIDEOMASK,instance:d.storage},e=>void 0!==e&&e),z=(0,i.useAppSelector)(e=>!!e?.noStorager?.maskFull&&e.noStorager.maskFull),U=(0,l.useAppSelector)(e=>e.odd.popupShow),F=(0,i.useAppSelector)(e=>!!e?.noStorager?.maskClickPlay),B=(0,i.useAppDispatch)();return(0,o.useEffect)(()=>{try{A&&(S(`${A/1}px`),D(A-I)),N&&_(N)}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[A,N]),(0,o.useEffect)(()=>{try{F?w?.play():w?.pause()}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[F]),(0,o.useEffect)(()=>{try{z?(D(0),P(A),R(100)):(D(A-1*e),P(1*e))}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[z]),(0,o.useEffect)(()=>{try{b=1*e,(g.baseURI?.includes("youtube")||g.baseURI?.includes("aliyundrive")||g.baseURI?.includes("ted.com")||g.baseURI?.includes("dami10.me"))&&T("")}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[]),(0,o.useEffect)(()=>{L(m),D(b),P(e),R(y)},[e]),U&&M&&(0,a.jsx)("div",{id:"gridLayoutParent",className:`w-full ${k} inset-x-0 bottom-0 text-black`,style:{height:x},onClick:e=>{e?.target?.id==="gridLayoutParent"&&B((0,s.setMaskClickPlay)(!F))},children:(0,a.jsx)(h.default,{showSubtitleListMask:M,gridLayoutRowHeight:1,maskBackdropBlur:r,maskBackdropColor:p,gridLayoutY:j,gridLayoutWidth:O,height:I,width:E,onResizeStop:function(e,r,n,a,o,i){let{h:l,w:s,x:u,y:c}=n;t(l),m=u,b=c,y=s},clickable:!0,gridLayoutX:C,isSubtitleList:!1})})}},{"react/jsx-runtime":"8iOxN",react:"329PG","../redux/storeNoStorage":"20ikG","../redux/store":"gaugC","../redux/no-storage-slice":"jZFan","../contents/InlineSubtitleMask":"8YGb6","@plasmohq/storage/hook":"3njIY","~tools/storages":"hpDvz","~tools/constants":"DgB7r","./GridLayoutMask":"hKWwx","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"3njIY":[function(e,t,r){var n,a=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===r||o(e,a,{get:()=>t[a],enumerable:!(n=i(t,a))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(d,{useStorage:()=>b}),t.exports=c(o({},"__esModule",{value:!0}),d);var f=e("2a9ee5c064504ff5"),p=c(o(null!=(n=e("bb2de3e518963376"))?a(s(n)):{},"default",{value:n,enumerable:!0}),n),h=()=>{try{let e=globalThis.navigator?.userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if("Chrome"===e[1])return 100>parseInt(e[2])||globalThis.chrome.runtime?.getManifest()?.manifest_version===2}catch{}return!1},g=class{#e;#t;get primaryClient(){return this.#t}#r;get secondaryClient(){return this.#r}#a;get area(){return this.#a}get hasWebApi(){try{return"u">typeof window&&!!window.localStorage}catch(e){return console.error(e),!1}}#n=new Map;#i;get copiedKeySet(){return this.#i}isCopied=e=>this.hasWebApi&&(this.allCopied||this.copiedKeySet.has(e));#o=!1;get allCopied(){return this.#o}getExtStorageApi=()=>globalThis.browser?.storage||globalThis.chrome?.storage;get hasExtensionApi(){try{return!!this.getExtStorageApi()}catch(e){return console.error(e),!1}}isWatchSupported=()=>this.hasExtensionApi;keyNamespace="";isValidKey=e=>e.startsWith(this.keyNamespace);getNamespacedKey=e=>`${this.keyNamespace}${e}`;getUnnamespacedKey=e=>e.slice(this.keyNamespace.length);constructor({area:e="sync",allCopied:t=!1,copiedKeyList:r=[]}={}){this.setCopiedKeySet(r),this.#a=e,this.#o=t;try{this.hasWebApi&&(t||r.length>0)&&(this.#r=window.localStorage)}catch{}try{this.hasExtensionApi&&(this.#e=this.getExtStorageApi(),h()?this.#t=(0,p.default)(this.#e[this.area],{exclude:["getBytesInUse"],errorFirst:!1}):this.#t=this.#e[this.area])}catch{}}setCopiedKeySet(e){this.#i=new Set(e)}rawGetAll=()=>this.#t?.get();getAll=async()=>Object.entries(await this.rawGetAll()).filter(([e])=>this.isValidKey(e)).reduce((e,[t,r])=>(e[this.getUnnamespacedKey(t)]=r,e),{});copy=async e=>{let t=void 0===e;if(!t&&!this.copiedKeySet.has(e)||!this.allCopied||!this.hasExtensionApi)return!1;let r=this.allCopied?await this.rawGetAll():await this.#t.get((t?[...this.copiedKeySet]:[e]).map(this.getNamespacedKey));if(!r)return!1;let n=!1;for(let e in r){let t=r[e],a=this.#r?.getItem(e);this.#r?.setItem(e,t),n||=t!==a}return n};rawGet=async e=>this.hasExtensionApi?(await this.#t.get(e))[e]:this.isCopied(e)?this.#r?.getItem(e):null;rawSet=async(e,t)=>(this.isCopied(e)&&this.#r?.setItem(e,t),this.hasExtensionApi&&await this.#t.set({[e]:t}),null);clear=async(e=!1)=>{e&&this.#r?.clear(),await this.#t.clear()};rawRemove=async e=>{this.isCopied(e)&&this.#r?.removeItem(e),this.hasExtensionApi&&await this.#t.remove(e)};removeAll=async()=>{let e=Object.keys(await this.getAll());await Promise.all(e.map(this.remove))};watch=e=>{let t=this.isWatchSupported();return t&&this.#l(e),t};#l=e=>{for(let t in e){let r=this.getNamespacedKey(t),n=this.#n.get(r)?.callbackSet||new Set;if(n.add(e[t]),n.size>1)continue;let a=(e,t)=>{if(t!==this.area||!e[r])return;let n=this.#n.get(r);if(!n)throw Error(`Storage comms does not exist for nsKey: ${r}`);Promise.all([this.parseValue(e[r].newValue),this.parseValue(e[r].oldValue)]).then(([e,r])=>{for(let a of n.callbackSet)a({newValue:e,oldValue:r},t)})};this.#e.onChanged.addListener(a),this.#n.set(r,{callbackSet:n,listener:a})}};unwatch=e=>{let t=this.isWatchSupported();return t&&this.#s(e),t};#s(e){for(let t in e){let r=this.getNamespacedKey(t),n=e[t],a=this.#n.get(r);a&&(a.callbackSet.delete(n),0===a.callbackSet.size&&(this.#n.delete(r),this.#e.onChanged.removeListener(a.listener)))}}unwatchAll=()=>this.#c();#c(){this.#n.forEach(({listener:e})=>this.#e.onChanged.removeListener(e)),this.#n.clear()}async getItem(e){return this.get(e)}async setItem(e,t){await this.set(e,t)}async removeItem(e){return this.remove(e)}},m=class extends g{get=async e=>{let t=this.getNamespacedKey(e),r=await this.rawGet(t);return this.parseValue(r)};set=async(e,t)=>{let r=this.getNamespacedKey(e),n=JSON.stringify(t);return this.rawSet(r,n)};remove=async e=>{let t=this.getNamespacedKey(e);return this.rawRemove(t)};setNamespace=e=>{this.keyNamespace=e};parseValue=async e=>{try{if(void 0!==e)return JSON.parse(e)}catch(e){console.error(e)}}};function b(e,t){let r="object"==typeof e,n=r?e.key:e,[a,o]=(0,f.useState)(t),i=(0,f.useRef)(!1),l=(0,f.useRef)(t instanceof Function?t():t);(0,f.useEffect)(()=>{l.current=a},[a]);let s=(0,f.useRef)(r?e.instance:new m),u=(0,f.useCallback)(e=>s.current.set(n,void 0!==e?e:l.current),[n]),c=(0,f.useCallback)(async e=>{let t=e instanceof Function?e(l.current):e;await u(t),i.current&&o(t)},[u]);(0,f.useEffect)(()=>{i.current=!0;let e={[n]:e=>{i.current&&o(e.newValue)}};return s.current.watch(e),s.current.get(n)?.then(e=>{if(t instanceof Function){let r=t?.(e,!0);void 0!==r&&c(r)}else o(void 0!==e?e:t)}),()=>{i.current=!1,s.current.unwatch(e),t instanceof Function&&o(t)}},[n,c]);let d=(0,f.useCallback)(()=>{s.current.remove(n),o(void 0)},[n]);return[a,c,{setRenderValue:o,setStoreValue:u,remove:d}]}},{"2a9ee5c064504ff5":"329PG",bb2de3e518963376:"e8SYa"}],hKWwx:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react"),i=n.interopDefault(o),l=e("react-grid-layout"),s=n.interopDefault(l);r.default=(0,i.default).memo(function({showSubtitleListMask:e,gridLayoutRowHeight:t,maskBackdropBlur:r,maskBackdropColor:n,gridLayoutY:o,gridLayoutWidth:i,height:l,width:u,onResizeStop:c=(e,t,r,n,a,o)=>{},clickable:d=!1,gridLayoutX:f=0,isSubtitleList:p=!0}){return e?(0,a.jsx)(s.default,{className:"layout",margin:[0,0],containerPadding:[0,0],autoSize:!1,allowOverlap:!0,cols:100,onResizeStop:c,rowHeight:t,width:u,children:(0,a.jsx)("div",{id:"gridItem",onClick:e=>{d&&e?.target?.id==="gridItem"&&e.stopPropagation()},className:p?`${r?"backdrop-blur-3xl bg-white/30":"bg-white/30"} firefox:backdrop-filter-none /* \u9488\u5bf9 Firefox \u7684\u964d\u7ea7\u5904\u7406 */`:`${r?"backdrop-blur-3xl rounded-[10px]":"rounded-[10px]"}`,style:p?{zIndex:"1",backgroundColor:`${n}`}:{backgroundColor:`${n}`},"data-grid":{x:f,y:o,w:i,h:l*t,resizeHandles:["s","w","e","n","se","ne","nw","sw"]}},"c")}):null})},{"react/jsx-runtime":"8iOxN",react:"329PG","react-grid-layout":"4fH8F","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4fH8F":[function(e,t,r){t.exports=e("3764a6390c4a3c4d").default,t.exports.utils=e("afea141ded1338da"),t.exports.calculateUtils=e("53b6b68f160b8f13"),t.exports.Responsive=e("18507ee561baa353").default,t.exports.Responsive.utils=e("75c8003ad9c242fa"),t.exports.WidthProvider=e("5284753ca6682565").default},{"3764a6390c4a3c4d":"gLOkI",afea141ded1338da:"2O0hd","53b6b68f160b8f13":"5QU81","18507ee561baa353":"j8di3","75c8003ad9c242fa":"lIcka","5284753ca6682565":"fzl2W"}],gLOkI:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=d(e("36ce9ad027695120")),a=e("c7834e206d831a0c"),o=c(e("7c04e604f145fd9a")),i=e("484d6c00a3515ca1"),l=e("7a41030ef768ee44"),s=c(e("c83074a52663a9f1")),u=c(e("4106d865aed6ffbc"));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p="react-grid-layout",h=!1;try{h=/firefox/i.test(navigator.userAgent)}catch(e){}class g extends n.Component{constructor(){super(...arguments),f(this,"state",{activeDrag:null,layout:(0,i.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,i.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),f(this,"dragEnterCounter",0),f(this,"onDragStart",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l}=this.state,s=(0,i.getLayoutItem)(l,e);if(!s)return;let u={w:s.w,h:s.h,x:s.x,y:s.y,placeholder:!0,i:e};return this.setState({oldDragItem:(0,i.cloneLayoutItem)(s),oldLayout:l,activeDrag:u}),this.props.onDragStart(l,s,s,null,a,o)}),f(this,"onDrag",(e,t,r,n)=>{let{e:a,node:o}=n,{oldDragItem:l}=this.state,{layout:s}=this.state,{cols:u,allowOverlap:c,preventCollision:d}=this.props,f=(0,i.getLayoutItem)(s,e);if(!f)return;let p={w:f.w,h:f.h,x:f.x,y:f.y,placeholder:!0,i:e};s=(0,i.moveElement)(s,f,t,r,!0,d,(0,i.compactType)(this.props),u,c),this.props.onDrag(s,l,f,p,a,o),this.setState({layout:c?s:(0,i.compact)(s,(0,i.compactType)(this.props),u),activeDrag:p})}),f(this,"onDragStop",(e,t,r,n)=>{let{e:a,node:o}=n;if(!this.state.activeDrag)return;let{oldDragItem:l}=this.state,{layout:s}=this.state,{cols:u,preventCollision:c,allowOverlap:d}=this.props,f=(0,i.getLayoutItem)(s,e);if(!f)return;s=(0,i.moveElement)(s,f,t,r,!0,c,(0,i.compactType)(this.props),u,d);let p=d?s:(0,i.compact)(s,(0,i.compactType)(this.props),u);this.props.onDragStop(p,l,f,null,a,o);let{oldLayout:h}=this.state;this.setState({activeDrag:null,layout:p,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(p,h)}),f(this,"onResizeStart",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l}=this.state,s=(0,i.getLayoutItem)(l,e);s&&(this.setState({oldResizeItem:(0,i.cloneLayoutItem)(s),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(l,s,s,null,a,o))}),f(this,"onResize",(e,t,r,n)=>{let a,o,l,{e:s,node:u,size:c,handle:d}=n,{oldResizeItem:f}=this.state,{layout:p}=this.state,{cols:h,preventCollision:g,allowOverlap:m}=this.props,b=!1,[y,v]=(0,i.withLayoutItem)(p,e,e=>{if(o=e.x,l=e.y,-1!==["sw","w","nw","n","ne"].indexOf(d)&&(-1!==["sw","nw","w"].indexOf(d)&&(o=e.x+(e.w-t),t=e.x!==o&&o<0?e.w:t,o=o<0?0:o),-1!==["ne","n","nw"].indexOf(d)&&(l=e.y+(e.h-r),r=e.y!==l&&l<0?e.h:r,l=l<0?0:l),b=!0),g&&!m){let n=(0,i.getAllCollisions)(p,{...e,w:t,h:r,x:o,y:l}).filter(t=>t.i!==e.i);n.length>0&&(l=e.y,r=e.h,o=e.x,t=e.w,b=!1)}return e.w=t,e.h=r,e});if(!v)return;a=y,b&&(a=(0,i.moveElement)(y,v,o,l,!0,this.props.preventCollision,(0,i.compactType)(this.props),h,m));let w={w:v.w,h:v.h,x:v.x,y:v.y,static:!0,i:e};this.props.onResize(a,f,v,w,s,u),this.setState({layout:m?a:(0,i.compact)(a,(0,i.compactType)(this.props),h),activeDrag:w})}),f(this,"onResizeStop",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l,oldResizeItem:s}=this.state,{cols:u,allowOverlap:c}=this.props,d=(0,i.getLayoutItem)(l,e),f=c?l:(0,i.compact)(l,(0,i.compactType)(this.props),u);this.props.onResizeStop(f,s,d,null,a,o);let{oldLayout:p}=this.state;this.setState({activeDrag:null,layout:f,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(f,p)}),f(this,"onDragOver",e=>{if(e.preventDefault(),e.stopPropagation(),h&&!e.nativeEvent.target?.classList.contains(p))return!1;let{droppingItem:t,onDropDragOver:r,margin:a,cols:o,rowHeight:i,maxRows:s,width:u,containerPadding:c,transformScale:d}=this.props,f=r?.(e);if(!1===f)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;let g={...t,...f},{layout:m}=this.state,b=e.currentTarget.getBoundingClientRect(),y=e.clientX-b.left,v=e.clientY-b.top,w={left:y/d,top:v/d,e};if(this.state.droppingDOMNode){if(this.state.droppingPosition){let{left:e,top:t}=this.state.droppingPosition,r=e!=y||t!=v;r&&this.setState({droppingPosition:w})}}else{let e=(0,l.calcXY)({cols:o,margin:a,maxRows:s,rowHeight:i,containerWidth:u,containerPadding:c||a},v,y,g.w,g.h);this.setState({droppingDOMNode:n.createElement("div",{key:g.i}),droppingPosition:w,layout:[...m,{...g,x:e.x,y:e.y,static:!1,isDraggable:!0}]})}}),f(this,"removeDroppingPlaceholder",()=>{let{droppingItem:e,cols:t}=this.props,{layout:r}=this.state,n=(0,i.compact)(r.filter(t=>t.i!==e.i),(0,i.compactType)(this.props),t,this.props.allowOverlap);this.setState({layout:n,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),f(this,"onDragLeave",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter--,0===this.dragEnterCounter&&this.removeDroppingPlaceholder()}),f(this,"onDragEnter",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter++}),f(this,"onDrop",e=>{e.preventDefault(),e.stopPropagation();let{droppingItem:t}=this.props,{layout:r}=this.state,n=r.find(e=>e.i===t.i);this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(r,n,e)})}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(e,t){let r;if(t.activeDrag)return null;if((0,a.deepEqual)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,i.childrenEqual)(e.children,t.children)||(r=t.layout):r=e.layout,r){let t=(0,i.synchronizeLayoutWithChildren)(r,e.children,e.cols,(0,i.compactType)(e),e.allowOverlap);return{layout:t,compactType:e.compactType,children:e.children,propsLayout:e.layout}}return null}shouldComponentUpdate(e,t){return this.props.children!==e.children||!(0,i.fastRGLPropsEqual)(this.props,e,a.deepEqual)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}componentDidUpdate(e,t){if(!this.state.activeDrag){let e=this.state.layout,r=t.layout;this.onLayoutMaybeChanged(e,r)}}containerHeight(){if(!this.props.autoSize)return;let e=(0,i.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}onLayoutMaybeChanged(e,t){t||(t=this.state.layout),(0,a.deepEqual)(t,e)||this.props.onLayoutChange(e)}placeholder(){let{activeDrag:e}=this.state;if(!e)return null;let{width:t,cols:r,margin:a,containerPadding:o,rowHeight:i,maxRows:l,useCSSTransforms:u,transformScale:c}=this.props;return n.createElement(s.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:`react-grid-placeholder ${this.state.resizing?"placeholder-resizing":""}`,containerWidth:t,cols:r,margin:a,containerPadding:o||a,maxRows:l,rowHeight:i,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:u,transformScale:c},n.createElement("div",null))}processGridItem(e,t){if(!e||!e.key)return;let r=(0,i.getLayoutItem)(this.state.layout,String(e.key));if(!r)return null;let{width:a,cols:o,margin:l,containerPadding:u,rowHeight:c,maxRows:d,isDraggable:f,isResizable:p,isBounded:h,useCSSTransforms:g,transformScale:m,draggableCancel:b,draggableHandle:y,resizeHandles:v,resizeHandle:w}=this.props,{mounted:x,droppingPosition:S}=this.state,E="boolean"==typeof r.isDraggable?r.isDraggable:!r.static&&f,_="boolean"==typeof r.isResizable?r.isResizable:!r.static&&p,k=r.resizeHandles||v,T=E&&h&&!1!==r.isBounded;return n.createElement(s.default,{containerWidth:a,cols:o,margin:l,containerPadding:u||l,maxRows:d,rowHeight:c,cancel:b,handle:y,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:E,isResizable:_,isBounded:T,useCSSTransforms:g&&x,usePercentages:!x,transformScale:m,w:r.w,h:r.h,x:r.x,y:r.y,i:r.i,minH:r.minH,minW:r.minW,maxH:r.maxH,maxW:r.maxW,static:r.static,droppingPosition:t?S:void 0,resizeHandles:k,resizeHandle:w},e)}render(){let{className:e,style:t,isDroppable:r,innerRef:a}=this.props,l=(0,o.default)(p,e),s={height:this.containerHeight(),...t};return n.createElement("div",{ref:a,className:l,style:s,onDrop:r?this.onDrop:i.noop,onDragLeave:r?this.onDragLeave:i.noop,onDragEnter:r?this.onDragEnter:i.noop,onDragOver:r?this.onDragOver:i.noop},n.Children.map(this.props.children,e=>this.processGridItem(e)),r&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}r.default=g,f(g,"displayName","ReactGridLayout"),f(g,"propTypes",u.default),f(g,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:i.noop,onDragStart:i.noop,onDrag:i.noop,onDragStop:i.noop,onResizeStart:i.noop,onResize:i.noop,onResizeStop:i.noop,onDrop:i.noop,onDropDragOver:i.noop})},{"36ce9ad027695120":"329PG",c7834e206d831a0c:"49DAY","7c04e604f145fd9a":"jgTfo","484d6c00a3515ca1":"2O0hd","7a41030ef768ee44":"5QU81",c83074a52663a9f1:"ih0q5","4106d865aed6ffbc":"asecu"}],"49DAY":[function(e,t,r){(function(e){function t(e){return function(t,r,n,a,o,i,l){return e(t,r,l)}}function r(e){return function(t,r,n,a){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n,a);var o=a.get(t),i=a.get(r);if(o&&i)return o===r&&i===t;a.set(t,r),a.set(r,t);var l=e(t,r,n,a);return a.delete(t),a.delete(r),l}}function n(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r}function a(e){return e.constructor===Object||null==e.constructor}function o(e){return"function"==typeof e.then}function i(e,t){return e===t||e!=e&&t!=t}var l=Object.prototype.toString;function s(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,s=e.areObjectsEqual,u=e.areRegExpsEqual,c=e.areSetsEqual,d=(0,e.createIsNestedEqual)(f);function f(e,f,p){if(e===f)return!0;if(!e||!f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;if(a(e)&&a(f))return s(e,f,d,p);var h=Array.isArray(e),g=Array.isArray(f);if(h||g)return h===g&&t(e,f,d,p);var m=l.call(e);return m===l.call(f)&&("[object Date]"===m?r(e,f,d,p):"[object RegExp]"===m?u(e,f,d,p):"[object Map]"===m?n(e,f,d,p):"[object Set]"===m?c(e,f,d,p):"[object Object]"===m||"[object Arguments]"===m?!(o(e)||o(f))&&s(e,f,d,p):("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)&&i(e.valueOf(),f.valueOf()))}return f}function u(e,t,r,n){var a=e.length;if(t.length!==a)return!1;for(;a-- >0;)if(!r(e[a],t[a],a,a,e,t,n))return!1;return!0}var c=r(u);function d(e,t){return i(e.valueOf(),t.valueOf())}function f(e,t,r,n){var a=e.size===t.size;if(!a)return!1;if(!e.size)return!0;var o={},i=0;return e.forEach(function(l,s){if(a){var u=!1,c=0;t.forEach(function(a,d){!u&&!o[c]&&(u=r(s,d,i,c,e,t,n)&&r(l,a,s,d,e,t,n))&&(o[c]=!0),c++}),i++,a=u}}),a}var p=r(f),h=Object.prototype.hasOwnProperty;function g(e,t,r,n){var a,o=Object.keys(e),i=o.length;if(Object.keys(t).length!==i)return!1;for(;i-- >0;){if("_owner"===(a=o[i])){var l=!!e.$$typeof,s=!!t.$$typeof;if((l||s)&&l!==s)return!1}if(!h.call(t,a)||!r(e[a],t[a],a,a,e,t,n))return!1}return!0}var m=r(g);function b(e,t){return e.source===t.source&&e.flags===t.flags}function y(e,t,r,n){var a=e.size===t.size;if(!a)return!1;if(!e.size)return!0;var o={};return e.forEach(function(i,l){if(a){var s=!1,u=0;t.forEach(function(a,c){!s&&!o[u]&&(s=r(i,a,l,c,e,t,n))&&(o[u]=!0),u++}),a=s}}),a}var v=r(y),w=Object.freeze({areArraysEqual:u,areDatesEqual:d,areMapsEqual:f,areObjectsEqual:g,areRegExpsEqual:b,areSetsEqual:y,createIsNestedEqual:t}),x=Object.freeze({areArraysEqual:c,areDatesEqual:d,areMapsEqual:p,areObjectsEqual:m,areRegExpsEqual:b,areSetsEqual:v,createIsNestedEqual:t}),S=s(w),E=s(n(w,{createIsNestedEqual:function(){return i}})),_=s(x),k=s(n(x,{createIsNestedEqual:function(){return i}}));e.circularDeepEqual=function(e,t){return _(e,t,new WeakMap)},e.circularShallowEqual=function(e,t){return k(e,t,new WeakMap)},e.createCustomCircularEqual=function(e){var t=s(n(x,e(x)));return function(e,r,n){return void 0===n&&(n=new WeakMap),t(e,r,n)}},e.createCustomEqual=function(e){return s(n(w,e(w)))},e.deepEqual=function(e,t){return S(e,t,void 0)},e.sameValueZeroEqual=i,e.shallowEqual=function(e,t){return E(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})})(r)},{}],"2O0hd":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bottom=i,r.childrenEqual=function(e,t){return(0,a.deepEqual)(o.default.Children.map(e,e=>e?.key),o.default.Children.map(t,e=>e?.key))&&(0,a.deepEqual)(o.default.Children.map(e,e=>e?.props["data-grid"]),o.default.Children.map(t,e=>e?.props["data-grid"]))},r.cloneLayout=l,r.cloneLayoutItem=u,r.collides=c,r.compact=d,r.compactItem=h,r.compactType=function(e){let{verticalCompact:t,compactType:r}=e||{};return!1===t?null:r},r.correctBounds=g,r.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},r.fastRGLPropsEqual=void 0,r.getAllCollisions=y,r.getFirstCollision=b,r.getLayoutItem=m,r.getStatics=v,r.modifyLayout=s,r.moveElement=w,r.moveElementAwayFromCollision=x,r.noop=void 0,r.perc=function(e){return 100*e+"%"},r.resizeItemInDirection=function(e,t,r,n){let a=P[e];return a?a(t,{...t,...r},n):r},r.setTopLeft=function(e){let{top:t,left:r,width:n,height:a}=e;return{top:`${t}px`,left:`${r}px`,width:`${n}px`,height:`${a}px`,position:"absolute"}},r.setTransform=function(e){let{top:t,left:r,width:n,height:a}=e,o=`translate(${r}px,${t}px)`;return{transform:o,WebkitTransform:o,MozTransform:o,msTransform:o,OTransform:o,width:`${n}px`,height:`${a}px`,position:"absolute"}},r.sortLayoutItems=C,r.sortLayoutItemsByColRow=j,r.sortLayoutItemsByRowCol=L,r.synchronizeLayoutWithChildren=function(e,t,r,n,a){e=e||[];let l=[];o.default.Children.forEach(t,t=>{if(t?.key==null)return;let r=m(e,String(t.key)),n=t.props["data-grid"];r&&null==n?l.push(u(r)):n?l.push(u({...n,i:t.key})):l.push(u({w:1,h:1,x:0,y:i(l),i:String(t.key)}))});let s=g(l,{cols:r});return a?s:d(s,n,r)},r.validateLayout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",r=["x","y","w","h"];if(!Array.isArray(e))throw Error(t+" must be an array!");for(let n=0,a=e.length;n<a;n++){let a=e[n];for(let e=0;e<r.length;e++){let o=r[e],i=a[o];if("number"!=typeof i||Number.isNaN(i))throw Error(`ReactGridLayout: ${t}[${n}].${o} must be a number! Received: ${i} (${typeof i})`)}if(void 0!==a.i&&"string"!=typeof a.i)throw Error(`ReactGridLayout: ${t}[${n}].i must be a string! Received: ${a.i} (${typeof a.i})`)}},r.withLayoutItem=function(e,t,r){let n=m(e,t);return n?[e=s(e,n=r(u(n))),n]:[e,null]};var n,a=e("eaaffb3c9d832397"),o=(n=e("d32ce1a889c15875"))&&n.__esModule?n:{default:n};function i(e){let t=0,r;for(let n=0,a=e.length;n<a;n++)(r=e[n].y+e[n].h)>t&&(t=r);return t}function l(e){let t=Array(e.length);for(let r=0,n=e.length;r<n;r++)t[r]=u(e[r]);return t}function s(e,t){let r=Array(e.length);for(let n=0,a=e.length;n<a;n++)t.i===e[n].i?r[n]=t:r[n]=e[n];return r}function u(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:!!e.moved,static:!!e.static,isDraggable:e.isDraggable,isResizable:e.isResizable,resizeHandles:e.resizeHandles,isBounded:e.isBounded}}function c(e,t){return e.i!==t.i&&!(e.x+e.w<=t.x)&&!(e.x>=t.x+t.w)&&!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h)}function d(e,t,r,n){let a=v(e),o=C(e,t),i=Array(e.length);for(let l=0,s=o.length;l<s;l++){let s=u(o[l]);s.static||(s=h(a,s,t,r,o,n),a.push(s)),i[e.indexOf(o[l])]=s,s.moved=!1}return i}r.fastRGLPropsEqual=e("10aafba4c9d77144");let f={x:"w",y:"h"};function p(e,t,r,n){let a=f[n];t[n]+=1;let o=e.map(e=>e.i).indexOf(t.i);for(let i=o+1;i<e.length;i++){let o=e[i];if(!o.static){if(o.y>t.y+t.h)break;c(t,o)&&p(e,o,r+t[a],n)}}t[n]=r}function h(e,t,r,n,a,o){let l;let s="horizontal"===r;if("vertical"===r)for(t.y=Math.min(i(e),t.y);t.y>0&&!b(e,t);)t.y--;else if(s)for(;t.x>0&&!b(e,t);)t.x--;for(;(l=b(e,t))&&!(null===r&&o);)if(s?p(a,t,l.x+l.w,"x"):p(a,t,l.y+l.h,"y"),s&&t.x+t.w>n)for(t.x=n-t.w,t.y++;t.x>0&&!b(e,t);)t.x--;return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function g(e,t){let r=v(e);for(let n=0,a=e.length;n<a;n++){let a=e[n];if(a.x+a.w>t.cols&&(a.x=t.cols-a.w),a.x<0&&(a.x=0,a.w=t.cols),a.static)for(;b(r,a);)a.y++;else r.push(a)}return e}function m(e,t){for(let r=0,n=e.length;r<n;r++)if(e[r].i===t)return e[r]}function b(e,t){for(let r=0,n=e.length;r<n;r++)if(c(e[r],t))return e[r]}function y(e,t){return e.filter(e=>c(e,t))}function v(e){return e.filter(e=>e.static)}function w(e,t,r,n,a,o,i,s,u){if(t.static&&!0!==t.isDraggable||t.y===n&&t.x===r)return e;t.i,String(r),String(n),t.x,t.y;let c=t.x,d=t.y;"number"==typeof r&&(t.x=r),"number"==typeof n&&(t.y=n),t.moved=!0;let f=C(e,i),p="vertical"===i&&"number"==typeof n?d>=n:"horizontal"===i&&"number"==typeof r&&c>=r;p&&(f=f.reverse());let h=y(f,t),g=h.length>0;if(g&&u)return l(e);if(g&&o)return t.i,t.x=c,t.y=d,t.moved=!1,e;for(let r=0,n=h.length;r<n;r++){let n=h[r];t.i,t.x,t.y,n.i,n.x,n.y,n.moved||(e=n.static?x(e,n,t,a,i,s):x(e,t,n,a,i,s))}return e}function x(e,t,r,n,a,o){let i="horizontal"===a,l="vertical"===a,s=t.static;if(n){n=!1;let u={x:i?Math.max(t.x-r.w,0):r.x,y:l?Math.max(t.y-r.h,0):r.y,w:r.w,h:r.h,i:"-1"},c=b(e,u),d=c&&c.y+c.h>t.y,f=c&&t.x+t.w>c.x;if(!c)return r.i,u.x,u.y,w(e,r,i?u.x:void 0,l?u.y:void 0,n,s,a,o);if(d&&l)return w(e,r,void 0,t.y+1,n,s,a,o);if(d&&null==a)return t.y=r.y,r.y=r.y+r.h,e;if(f&&i)return w(e,t,r.x,void 0,n,s,a,o)}let u=i?r.x+1:void 0,c=l?r.y+1:void 0;return null==u&&null==c?e:w(e,r,i?r.x+1:void 0,l?r.y+1:void 0,n,s,a,o)}let S=(e,t,r,n)=>e+r>n?t:r,E=(e,t,r)=>e<0?t:r,_=e=>Math.max(0,e),k=e=>Math.max(0,e),T=(e,t,r)=>{let{left:n,height:a,width:o}=t,i=e.top-(a-e.height);return{left:n,width:o,height:E(i,e.height,a),top:k(i)}},O=(e,t,r)=>{let{top:n,left:a,height:o,width:i}=t;return{top:n,height:o,width:S(e.left,e.width,i,r),left:_(a)}},R=(e,t,r)=>{let{top:n,height:a,width:o}=t,i=e.left-(o-e.width);return{height:a,width:i<0?e.width:S(e.left,e.width,o,r),top:k(n),left:_(i)}},I=(e,t,r)=>{let{top:n,left:a,height:o,width:i}=t;return{width:i,left:a,height:E(n,e.height,o),top:k(n)}},P={n:T,ne:function(){return T(arguments.length<=0?void 0:arguments[0],O(...arguments),arguments.length<=2?void 0:arguments[2])},e:O,se:function(){return I(arguments.length<=0?void 0:arguments[0],O(...arguments),arguments.length<=2?void 0:arguments[2])},s:I,sw:function(){return I(arguments.length<=0?void 0:arguments[0],R(...arguments),arguments.length<=2?void 0:arguments[2])},w:R,nw:function(){return T(arguments.length<=0?void 0:arguments[0],R(...arguments),arguments.length<=2?void 0:arguments[2])}};function C(e,t){return"horizontal"===t?j(e):"vertical"===t?L(e):e}function L(e){return e.slice(0).sort(function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function j(e){return e.slice(0).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}r.noop=()=>{}},{eaaffb3c9d832397:"49DAY",d32ce1a889c15875:"329PG","10aafba4c9d77144":"iZZlW"}],iZZlW:[function(e,t,r){t.exports=function(e,t,r){return e===t||e.className===t.className&&r(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&r(e.verticalCompact,t.verticalCompact)&&r(e.compactType,t.compactType)&&r(e.layout,t.layout)&&r(e.margin,t.margin)&&r(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&r(e.resizeHandles,t.resizeHandles)&&r(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&r(e.droppingItem,t.droppingItem)&&r(e.innerRef,t.innerRef)}},{}],"5QU81":[function(e,t,r){function n(e){let{margin:t,containerPadding:r,containerWidth:n,cols:a}=e;return(n-t[0]*(a-1)-2*r[0])/a}function a(e,t,r){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*r):e}function o(e,t,r){return Math.max(Math.min(e,r),t)}Object.defineProperty(r,"__esModule",{value:!0}),r.calcGridColWidth=n,r.calcGridItemPosition=function(e,t,r,o,i,l){let{margin:s,containerPadding:u,rowHeight:c}=e,d=n(e),f={};return l&&l.resizing?(f.width=Math.round(l.resizing.width),f.height=Math.round(l.resizing.height)):(f.width=a(o,d,s[0]),f.height=a(i,c,s[1])),l&&l.dragging?(f.top=Math.round(l.dragging.top),f.left=Math.round(l.dragging.left)):l&&l.resizing&&"number"==typeof l.resizing.top&&"number"==typeof l.resizing.left?(f.top=Math.round(l.resizing.top),f.left=Math.round(l.resizing.left)):(f.top=Math.round((c+s[1])*r+u[1]),f.left=Math.round((d+s[0])*t+u[0])),f},r.calcGridItemWHPx=a,r.calcWH=function(e,t,r,a,i,l){let{margin:s,maxRows:u,cols:c,rowHeight:d}=e,f=n(e),p=Math.round((t+s[0])/(f+s[0])),h=Math.round((r+s[1])/(d+s[1])),g=o(p,0,c-a),m=o(h,0,u-i);return -1!==["sw","w","nw"].indexOf(l)&&(g=o(p,0,c)),-1!==["nw","n","ne"].indexOf(l)&&(m=o(h,0,u)),{w:g,h:m}},r.calcXY=function(e,t,r,a,i){let{margin:l,containerPadding:s,cols:u,rowHeight:c,maxRows:d}=e,f=n(e),p=Math.round((r-s[0])/(f+l[0])),h=Math.round((t-s[1])/(c+l[1]));return{x:p=o(p,0,u-a),y:h=o(h,0,d-i)}},r.clamp=o},{}],ih0q5:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=f(e("568d4a95cf372ffd")),a=e("e01ce95a272dfde9"),o=f(e("55d43943fc04043c")),i=e("60ee1a0c210fb1ab"),l=e("39cd3dddf4915540"),s=e("f73079afde28dec7"),u=e("17a9f3443b14c64c"),c=e("9be022ae5a4626c6"),d=f(e("fc34745959754cee"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends n.default.Component{constructor(){super(...arguments),p(this,"state",{resizing:null,dragging:null,className:""}),p(this,"elementRef",n.default.createRef()),p(this,"onDragStart",(e,t)=>{let{node:r}=t,{onDragStart:n,transformScale:a}=this.props;if(!n)return;let o={top:0,left:0},{offsetParent:i}=r;if(!i)return;let l=i.getBoundingClientRect(),s=r.getBoundingClientRect(),c=s.left/a,d=l.left/a,f=s.top/a,p=l.top/a;o.left=c-d+i.scrollLeft,o.top=f-p+i.scrollTop,this.setState({dragging:o});let{x:h,y:g}=(0,u.calcXY)(this.getPositionParams(),o.top,o.left,this.props.w,this.props.h);return n.call(this,this.props.i,h,g,{e,node:r,newPosition:o})}),p(this,"onDrag",(e,t,r)=>{let{node:n,deltaX:o,deltaY:i}=t,{onDrag:l}=this.props;if(!l)return;if(!this.state.dragging)throw Error("onDrag called before onDragStart.");let s=this.state.dragging.top+i,c=this.state.dragging.left+o,{isBounded:d,i:f,w:p,h,containerWidth:g}=this.props,m=this.getPositionParams();if(d){let{offsetParent:e}=n;if(e){let{margin:t,rowHeight:r}=this.props,n=e.clientHeight-(0,u.calcGridItemWHPx)(h,r,t[1]);s=(0,u.clamp)(s,0,n);let a=(0,u.calcGridColWidth)(m),o=g-(0,u.calcGridItemWHPx)(p,a,t[0]);c=(0,u.clamp)(c,0,o)}}let b={top:s,left:c};r?this.setState({dragging:b}):(0,a.flushSync)(()=>{this.setState({dragging:b})});let{x:y,y:v}=(0,u.calcXY)(m,s,c,p,h);return l.call(this,f,y,v,{e,node:n,newPosition:b})}),p(this,"onDragStop",(e,t)=>{let{node:r}=t,{onDragStop:n}=this.props;if(!n)return;if(!this.state.dragging)throw Error("onDragEnd called before onDragStart.");let{w:a,h:o,i}=this.props,{left:l,top:s}=this.state.dragging;this.setState({dragging:null});let{x:c,y:d}=(0,u.calcXY)(this.getPositionParams(),s,l,a,o);return n.call(this,i,c,d,{e,node:r,newPosition:{top:s,left:l}})}),p(this,"onResizeStop",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStop")),p(this,"onResizeStart",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStart")),p(this,"onResize",(e,t,r)=>this.onResizeHandler(e,t,r,"onResize"))}shouldComponentUpdate(e,t){if(this.props.children!==e.children||this.props.droppingPosition!==e.droppingPosition)return!0;let r=(0,u.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),n=(0,u.calcGridItemPosition)(this.getPositionParams(e),e.x,e.y,e.w,e.h,t);return!(0,s.fastPositionEqual)(r,n)||this.props.useCSSTransforms!==e.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(e){this.moveDroppingItem(e)}moveDroppingItem(e){let{droppingPosition:t}=this.props;if(!t)return;let r=this.elementRef.current;if(!r)return;let n=e.droppingPosition||{left:0,top:0},{dragging:a}=this.state,o=a&&t.left!==n.left||t.top!==n.top;if(a){if(o){let e=t.left-a.left,n=t.top-a.top;this.onDrag(t.e,{node:r,deltaX:e,deltaY:n},!0)}}else this.onDragStart(t.e,{node:r,deltaX:t.left,deltaY:t.top})}getPositionParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}createStyle(e){let t;let{usePercentages:r,containerWidth:n,useCSSTransforms:a}=this.props;return a?t=(0,s.setTransform)(e):(t=(0,s.setTopLeft)(e),r&&(t.left=(0,s.perc)(e.left/n),t.width=(0,s.perc)(e.width/n))),t}mixinDraggable(e,t){return n.default.createElement(i.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}curryResizeHandler(e,t){return(r,n)=>t(r,n,e)}mixinResizable(e,t,r){let{cols:a,minW:o,minH:i,maxW:s,maxH:c,transformScale:d,resizeHandles:f,resizeHandle:p}=this.props,h=this.getPositionParams(),g=(0,u.calcGridItemPosition)(h,0,0,a,0).width,m=(0,u.calcGridItemPosition)(h,0,0,o,i),b=(0,u.calcGridItemPosition)(h,0,0,s,c),y=[m.width,m.height],v=[Math.min(b.width,g),Math.min(b.height,1/0)];return n.default.createElement(l.Resizable,{draggableOpts:{disabled:!r},className:r?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:y,maxConstraints:v,onResizeStop:this.curryResizeHandler(t,this.onResizeStop),onResizeStart:this.curryResizeHandler(t,this.onResizeStart),onResize:this.curryResizeHandler(t,this.onResize),transformScale:d,resizeHandles:f,handle:p},e)}onResizeHandler(e,t,r,n){let{node:o,size:i,handle:l}=t,c=this.props[n];if(!c)return;let{x:d,y:f,i:p,maxH:h,minH:g,containerWidth:m}=this.props,{minW:b,maxW:y}=this.props,v=i;o&&(v=(0,s.resizeItemInDirection)(l,r,i,m),(0,a.flushSync)(()=>{this.setState({resizing:"onResizeStop"===n?null:v})}));let{w,h:x}=(0,u.calcWH)(this.getPositionParams(),v.width,v.height,d,f,l);w=(0,u.clamp)(w,Math.max(b,1),y),x=(0,u.clamp)(x,g,h),c.call(this,p,w,x,{e,node:o,size:v,handle:l})}render(){let{x:e,y:t,w:r,h:a,isDraggable:o,isResizable:i,droppingPosition:l,useCSSTransforms:s}=this.props,c=(0,u.calcGridItemPosition)(this.getPositionParams(),e,t,r,a,this.state),f=n.default.Children.only(this.props.children),p=n.default.cloneElement(f,{ref:this.elementRef,className:(0,d.default)("react-grid-item",f.props.className,this.props.className,{static:this.props.static,resizing:!!this.state.resizing,"react-draggable":o,"react-draggable-dragging":!!this.state.dragging,dropping:!!l,cssTransforms:s}),style:{...this.props.style,...f.props.style,...this.createStyle(c)}});return p=this.mixinResizable(p,c,i),p=this.mixinDraggable(p,o)}}r.default=h,p(h,"propTypes",{children:o.default.element,cols:o.default.number.isRequired,containerWidth:o.default.number.isRequired,rowHeight:o.default.number.isRequired,margin:o.default.array.isRequired,maxRows:o.default.number.isRequired,containerPadding:o.default.array.isRequired,x:o.default.number.isRequired,y:o.default.number.isRequired,w:o.default.number.isRequired,h:o.default.number.isRequired,minW:function(e,t){let r=e[t];return"number"!=typeof r?Error("minWidth not Number"):r>e.w||r>e.maxW?Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){let r=e[t];return"number"!=typeof r?Error("maxWidth not Number"):r<e.w||r<e.minW?Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(e,t){let r=e[t];return"number"!=typeof r?Error("minHeight not Number"):r>e.h||r>e.maxH?Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){let r=e[t];return"number"!=typeof r?Error("maxHeight not Number"):r<e.h||r<e.minH?Error("maxHeight smaller than item height/minHeight"):void 0},i:o.default.string.isRequired,resizeHandles:c.resizeHandleAxesType,resizeHandle:c.resizeHandleType,onDragStop:o.default.func,onDragStart:o.default.func,onDrag:o.default.func,onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,isDraggable:o.default.bool.isRequired,isResizable:o.default.bool.isRequired,isBounded:o.default.bool.isRequired,static:o.default.bool,useCSSTransforms:o.default.bool.isRequired,transformScale:o.default.number,className:o.default.string,handle:o.default.string,cancel:o.default.string,droppingPosition:o.default.shape({e:o.default.object.isRequired,left:o.default.number.isRequired,top:o.default.number.isRequired})}),p(h,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},{"568d4a95cf372ffd":"329PG",e01ce95a272dfde9:"f20Gy","55d43943fc04043c":"9DVzE","60ee1a0c210fb1ab":"hwPHo","39cd3dddf4915540":"l981v",f73079afde28dec7:"2O0hd","17a9f3443b14c64c":"5QU81","9be022ae5a4626c6":"asecu",fc34745959754cee:"jgTfo"}],"9DVzE":[function(e,t,r){t.exports=e("ec56c2c14d36aeb0")()},{ec56c2c14d36aeb0:"5iB3Z"}],"5iB3Z":[function(e,t,r){var n=e("5378f1047c18e058");function a(){}function o(){}o.resetWarningCache=a,t.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},{"5378f1047c18e058":"eL5Jx"}],eL5Jx:[function(e,t,r){t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},{}],hwPHo:[function(e,t,r){let{default:n,DraggableCore:a}=e("9e69e1b628dbb8ad");t.exports=n,t.exports.default=n,t.exports.DraggableCore=a},{"9e69e1b628dbb8ad":"b1kVA"}],b1kVA:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),r.default=void 0;var n=p(e("2fd136b1d54347bd")),a=f(e("f459877ede2a2452")),o=f(e("1328bc33f720ee5c")),i=e("d491a87854f8c525"),l=e("c9ea8eafcdfecc3f"),s=e("b12f0a0968637b3a"),u=e("8b32a18021b29085"),c=f(e("189b94408570a48")),d=f(e("1f0defa721ebb1ce"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(p=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function g(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends n.Component{static getDerivedStateFromProps(e,t){let{position:r}=e,{prevPropsPosition:n}=t;return r&&(!n||r.x!==n.x||r.y!==n.y)?((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:{...r}}):null}constructor(e){super(e),g(this,"onDragStart",(e,t)=>{(0,d.default)("Draggable: onDragStart: %j",t);let r=this.props.onStart(e,(0,s.createDraggableData)(this,t));if(!1===r)return!1;this.setState({dragging:!0,dragged:!0})}),g(this,"onDrag",(e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);let r=(0,s.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){let{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;let[a,o]=(0,s.getBoundPosition)(this,n.x,n.y);n.x=a,n.y=o,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}let a=this.props.onDrag(e,r);if(!1===a)return!1;this.setState(n)}),g(this,"onDragStop",(e,t)=>{if(!this.state.dragging)return!1;let r=this.props.onStop(e,(0,s.createDraggableData)(this,t));if(!1===r)return!1;(0,d.default)("Draggable: onDragStop: %j",t);let n={dragging:!1,slackX:0,slackY:0},a=!!this.props.position;if(a){let{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},e.position&&!(e.onDrag||e.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode() instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??o.default.findDOMNode(this)}render(){let{axis:e,bounds:t,children:r,defaultPosition:a,defaultClassName:o,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:p,scale:g,...m}=this.props,b={},y=null,v=!f||this.state.dragging,w=f||a,x={x:(0,s.canDragX)(this)&&v?this.state.x:w.x,y:(0,s.canDragY)(this)&&v?this.state.y:w.y};this.state.isElementSVG?y=(0,l.createSVGTransform)(x,p):b=(0,l.createCSSTransform)(x,p);let S=(0,i.clsx)(r.props.className||"",o,{[u]:this.state.dragging,[d]:this.state.dragged});return n.createElement(c.default,h({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:S,style:{...r.props.style,...b},transform:y}))}}r.default=m,g(m,"displayName","Draggable"),g(m,"propTypes",{...c.default.propTypes,axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},{"2fd136b1d54347bd":"329PG",f459877ede2a2452:"9DVzE","1328bc33f720ee5c":"f20Gy",d491a87854f8c525:"jgTfo",c9ea8eafcdfecc3f:"iZxgN",b12f0a0968637b3a:"dEF0b","8b32a18021b29085":"5motf","189b94408570a48":"cDNiE","1f0defa721ebb1ce":"2yTX8"}],iZxgN:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addClassName=c,r.addEvent=function(e,t,r,n){if(!e)return;let a={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,a):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},r.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&c(e.body,"react-draggable-transparent-selection")},r.createCSSTransform=function(e,t){let r=s(e,t,"px");return{[(0,a.browserPrefixToKey)("transform",a.default)]:r}},r.createSVGTransform=function(e,t){let r=s(e,t,"");return r},r.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,e=>t===e.identifier)||e.changedTouches&&(0,n.findInArray)(e.changedTouches,e=>t===e.identifier)},r.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},r.getTranslation=s,r.innerHeight=function(e){let t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom)},r.innerWidth=function(e){let t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight)},r.matchesSelector=l,r.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(l(n,t))return!0;if(n===r)break;n=n.parentNode}while(n)return!1},r.offsetXYFromParent=function(e,t,r){let n=t===t.ownerDocument.body,a=n?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-a.left)/r,i=(e.clientY+t.scrollTop-a.top)/r;return{x:o,y:i}},r.outerHeight=function(e){let t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+((0,n.int)(r.borderTopWidth)+(0,n.int)(r.borderBottomWidth))},r.outerWidth=function(e){let t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+((0,n.int)(r.borderLeftWidth)+(0,n.int)(r.borderRightWidth))},r.removeClassName=d,r.removeEvent=function(e,t,r,n){if(!e)return;let a={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,a):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},r.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{u(e)}):u(e)};var n=e("128ec9d48d171bff"),a=o(e("f3fd631b4878df20"));function o(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(o=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}let i="";function l(e,t){return i||(i=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return(0,n.isFunction)(e[t])})),!!(0,n.isFunction)(e[i])&&e[i](t)}function s(e,t,r){let{x:n,y:a}=e,o=`translate(${n}${r},${a}${r})`;if(t){let e=`${"string"==typeof t.x?t.x:t.x+r}`,n=`${"string"==typeof t.y?t.y:t.y+r}`;o=`translate(${e}, ${n})`+o}return o}function u(e){if(e)try{if(e.body&&d(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{let t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function c(e,t){e.classList?e.classList.add(t):e.className.match(RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function d(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}},{"128ec9d48d171bff":"5motf",f3fd631b4878df20:"3YZSI"}],"5motf":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dontSetMe=function(e,t,r){if(e[t])return Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`)},r.findInArray=function(e,t){for(let r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},r.int=function(e){return parseInt(e,10)},r.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},r.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},{}],"3YZSI":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.browserPrefixToKey=o,r.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},r.default=void 0,r.getPrefix=a;let n=["Moz","Webkit","O","ms"];function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";let t=window.document?.documentElement?.style;if(!t||e in t)return"";for(let r=0;r<n.length;r++)if(o(e,n[r]) in t)return n[r];return""}function o(e,t){return t?`${t}${function(e){let t="",r=!0;for(let n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)}`:e}r.default=a()},{}],dEF0b:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},r.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},r.createCoreData=function(e,t,r){let a=!(0,n.isNum)(e.lastX),i=o(e);return a?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:i,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},r.createDraggableData=function(e,t){let r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},r.getBoundPosition=function(e,t,r){var i;if(!e.props.bounds)return[t,r];let{bounds:l}=e.props;l="string"==typeof l?l:{left:(i=l).left,top:i.top,right:i.right,bottom:i.bottom};let s=o(e);if("string"==typeof l){let e;let{ownerDocument:t}=s,r=t.defaultView;if("parent"===l)e=s.parentNode;else{let t=s.getRootNode();e=t.querySelector(l)}if(!(e instanceof r.HTMLElement))throw Error('Bounds selector "'+l+'" could not find an element.');let o=e,i=r.getComputedStyle(s),u=r.getComputedStyle(o);l={left:-s.offsetLeft+(0,n.int)(u.paddingLeft)+(0,n.int)(i.marginLeft),top:-s.offsetTop+(0,n.int)(u.paddingTop)+(0,n.int)(i.marginTop),right:(0,a.innerWidth)(o)-(0,a.outerWidth)(s)-s.offsetLeft+(0,n.int)(u.paddingRight)-(0,n.int)(i.marginRight),bottom:(0,a.innerHeight)(o)-(0,a.outerHeight)(s)-s.offsetTop+(0,n.int)(u.paddingBottom)-(0,n.int)(i.marginBottom)}}return(0,n.isNum)(l.right)&&(t=Math.min(t,l.right)),(0,n.isNum)(l.bottom)&&(r=Math.min(r,l.bottom)),(0,n.isNum)(l.left)&&(t=Math.max(t,l.left)),(0,n.isNum)(l.top)&&(r=Math.max(r,l.top)),[t,r]},r.getControlPosition=function(e,t,r){let n="number"==typeof t?(0,a.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;let i=o(r),l=r.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,a.offsetXYFromParent)(n||e,l,r.props.scale)},r.snapToGrid=function(e,t,r){let n=Math.round(t/e[0])*e[0],a=Math.round(r/e[1])*e[1];return[n,a]};var n=e("92c38512856de68e"),a=e("6098f9bad823f2df");function o(e){let t=e.findDOMNode();if(!t)throw Error("<DraggableCore>: Unmounted during event!");return t}},{"92c38512856de68e":"5motf","6098f9bad823f2df":"iZxgN"}],cDNiE:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=d(e("dd588a8c273ad1b5")),a=c(e("768d02d2daf34fc2")),o=c(e("836a0780c587b4fa")),i=e("9810f134d19813d9"),l=e("dca2b3ae5b1137ad"),s=e("73b1be9efd8eefb0"),u=c(e("6edae8a175dde4b8"));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},h=p.mouse;class g extends n.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;let t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw Error("<DraggableCore> not mounted on DragStart!");let{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();let n=(0,i.getTouchIdentifier)(e);this.touchIdentifier=n;let a=(0,l.getControlPosition)(e,n,this);if(null==a)return;let{x:o,y:s}=a,c=(0,l.createCoreData)(this,o,s);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart);let d=this.props.onStart(e,c);!1!==d&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(r),this.dragging=!0,this.lastX=o,this.lastY=s,(0,i.addEvent)(r,h.move,this.handleDrag),(0,i.addEvent)(r,h.stop,this.handleDragStop))}),f(this,"handleDrag",e=>{let t=(0,l.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,l.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}let a=(0,l.createCoreData)(this,r,n);(0,u.default)("DraggableCore: handleDrag: %j",a);let o=this.props.onDrag(e,a);if(!1===o||!1===this.mounted){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(t){let e=document.createEvent("MouseEvents");e.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(e)}return}this.lastX=r,this.lastY=n}),f(this,"handleDragStop",e=>{if(!this.dragging)return;let t=(0,l.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,l.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}let a=(0,l.createCoreData)(this,r,n),o=this.props.onStop(e,a);if(!1===o||!1===this.mounted)return!1;let s=this.findDOMNode();s&&this.props.enableUserSelectHack&&(0,i.scheduleRemoveUserSelectStyles)(s.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",a),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,s&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(s.ownerDocument,h.move,this.handleDrag),(0,i.removeEvent)(s.ownerDocument,h.stop,this.handleDragStop))}),f(this,"onMouseDown",e=>(h=p.mouse,this.handleDragStart(e))),f(this,"onMouseUp",e=>(h=p.mouse,this.handleDragStop(e))),f(this,"onTouchStart",e=>(h=p.touch,this.handleDragStart(e))),f(this,"onTouchEnd",e=>(h=p.touch,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;let e=this.findDOMNode();e&&(0,i.addEvent)(e,p.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;let e=this.findDOMNode();if(e){let{ownerDocument:t}=e;(0,i.removeEvent)(t,p.mouse.move,this.handleDrag),(0,i.removeEvent)(t,p.touch.move,this.handleDrag),(0,i.removeEvent)(t,p.mouse.stop,this.handleDragStop),(0,i.removeEvent)(t,p.touch.stop,this.handleDragStop),(0,i.removeEvent)(e,p.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:o.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}r.default=g,f(g,"displayName","DraggableCore"),f(g,"propTypes",{allowAnyClick:a.default.bool,allowMobileScroll:a.default.bool,children:a.default.node.isRequired,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),f(g,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},{dd588a8c273ad1b5:"329PG","768d02d2daf34fc2":"9DVzE","836a0780c587b4fa":"f20Gy","9810f134d19813d9":"iZxgN",dca2b3ae5b1137ad:"dEF0b","73b1be9efd8eefb0":"5motf","6edae8a175dde4b8":"2yTX8"}],"2yTX8":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){}},{}],l981v:[function(e,t,r){t.exports=function(){throw Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},t.exports.Resizable=e("7bde5426d7db7bf9").default,t.exports.ResizableBox=e("fa78efa4d71fc9cf").default},{"7bde5426d7db7bf9":"lsa77",fa78efa4d71fc9cf:"bfdTj"}],lsa77:[function(e,t,r){r.__esModule=!0,r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(e("9731f85e5eac3bdf")),a=e("5e9eed5440c7927b"),o=e("1a8d16742d51e35c"),i=e("608855201264dc32"),l=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){for(var t,r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).handleRefs={},t.lastHandleRect=null,t.slack=null,t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f(t,e);var r=t.prototype;return r.componentWillUnmount=function(){this.resetData()},r.resetData=function(){this.lastHandleRect=this.slack=null},r.runConstraints=function(e,t){var r=this.props,n=r.minConstraints,a=r.maxConstraints,o=r.lockAspectRatio;if(!n&&!a&&!o)return[e,t];if(o){var i=this.props.width/this.props.height;Math.abs(e-this.props.width)>Math.abs((t-this.props.height)*i)?t=e/i:e=t*i}var l=e,s=t,u=this.slack||[0,0],c=u[0],d=u[1];return e+=c,t+=d,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),a&&(e=Math.min(a[0],e),t=Math.min(a[1],t)),this.slack=[c+(l-e),d+(s-t)],[e,t]},r.resizeHandler=function(e,t){var r=this;return function(n,a){var o=a.node,i=a.deltaX,l=a.deltaY;"onResizeStart"===e&&r.resetData();var s=("both"===r.props.axis||"x"===r.props.axis)&&"n"!==t&&"s"!==t,u=("both"===r.props.axis||"y"===r.props.axis)&&"e"!==t&&"w"!==t;if(s||u){var c=t[0],d=t[t.length-1],f=o.getBoundingClientRect();null!=r.lastHandleRect&&("w"===d&&(i+=f.left-r.lastHandleRect.left),"n"===c&&(l+=f.top-r.lastHandleRect.top)),r.lastHandleRect=f,"w"===d&&(i=-i),"n"===c&&(l=-l);var p=r.props.width+(s?i/r.props.transformScale:0),h=r.props.height+(u?l/r.props.transformScale:0),g=r.runConstraints(p,h);p=g[0],h=g[1];var m=p!==r.props.width||h!==r.props.height,b="function"==typeof r.props[e]?r.props[e]:null;b&&!("onResize"===e&&!m)&&(null==n.persist||n.persist(),b(n,{node:o,size:{width:p,height:h},handle:t})),"onResizeStop"===e&&r.resetData()}}},r.renderResizeHandle=function(e,t){var r=this.props.handle;if(!r)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof r)return r(e,t);var a=d({ref:t},"string"==typeof r.type?{}:{handleAxis:e});return n.cloneElement(r,a)},r.render=function(){var e=this,t=this.props,r=t.children,i=t.className,s=t.draggableOpts,c=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),f=(t.transformScale,function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,l));return(0,o.cloneElement)(r,d(d({},f),{},{className:(i?i+" ":"")+"react-resizable",children:[].concat(r.props.children,c.map(function(t){var r,o=null!=(r=e.handleRefs[t])?r:e.handleRefs[t]=n.createRef();return n.createElement(a.DraggableCore,u({},s,{nodeRef:o,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,o))}))}))},t}(n.Component);r.default=p,p.propTypes=i.resizableProps,p.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},{"9731f85e5eac3bdf":"329PG","5e9eed5440c7927b":"hwPHo","1a8d16742d51e35c":"hlzUh","608855201264dc32":"ghWCE"}],hlzUh:[function(e,t,r){r.__esModule=!0,r.cloneElement=function(e,t){return t.style&&e.props.style&&(t.style=i(i({},e.props.style),t.style)),t.className&&e.props.className&&(t.className=e.props.className+" "+t.className),a.default.cloneElement(e,t)};var n,a=(n=e("7afd8ecc3da9a20f"))&&n.__esModule?n:{default:n};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}},{"7afd8ecc3da9a20f":"329PG"}],ghWCE:[function(e,t,r){r.__esModule=!0,r.resizableProps=void 0;var n,a=(n=e("d823b304258fa560"))&&n.__esModule?n:{default:n};e("36127bdc4e3078d2");var o={axis:a.default.oneOf(["both","x","y","none"]),className:a.default.string,children:a.default.element.isRequired,draggableOpts:a.default.shape({allowAnyClick:a.default.bool,cancel:a.default.string,children:a.default.node,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:a.default.node,grid:a.default.arrayOf(a.default.number),handle:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number}),height:function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r[0];return"both"===o.axis||"y"===o.axis?(e=a.default.number).isRequired.apply(e,r):a.default.number.apply(a.default,r)},handle:a.default.oneOfType([a.default.node,a.default.func]),handleSize:a.default.arrayOf(a.default.number),lockAspectRatio:a.default.bool,maxConstraints:a.default.arrayOf(a.default.number),minConstraints:a.default.arrayOf(a.default.number),onResizeStop:a.default.func,onResizeStart:a.default.func,onResize:a.default.func,resizeHandles:a.default.arrayOf(a.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:a.default.number,width:function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r[0];return"both"===o.axis||"x"===o.axis?(e=a.default.number).isRequired.apply(e,r):a.default.number.apply(a.default,r)}};r.resizableProps=o},{d823b304258fa560:"9DVzE","36127bdc4e3078d2":"hwPHo"}],bfdTj:[function(e,t,r){r.__esModule=!0,r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(e("8882cf0831275ed6")),a=s(e("8e51cecd2de47d2e")),o=s(e("5a5567ee264b31d1")),i=e("9b1dbc10b4919e14"),l=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(){for(var t,r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).state={width:t.props.width,height:t.props.height,propsWidth:t.props.width,propsHeight:t.props.height},t.onResize=function(e,r){var n=r.size;t.props.onResize?(null==e.persist||e.persist(),t.setState(n,function(){return t.props.onResize&&t.props.onResize(e,r)})):t.setState(n)},t}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e),t.getDerivedStateFromProps=function(e,t){return t.propsWidth!==e.width||t.propsHeight!==e.height?{width:e.width,height:e.height,propsWidth:e.width,propsHeight:e.height}:null},t.prototype.render=function(){var e=this.props,t=e.handle,r=e.handleSize,a=(e.onResize,e.onResizeStart),i=e.onResizeStop,s=e.draggableOpts,u=e.minConstraints,d=e.maxConstraints,p=e.lockAspectRatio,h=e.axis,g=(e.width,e.height,e.resizeHandles),m=e.style,b=e.transformScale,y=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,l);return n.createElement(o.default,{axis:h,draggableOpts:s,handle:t,handleSize:r,height:this.state.height,lockAspectRatio:p,maxConstraints:d,minConstraints:u,onResizeStart:a,onResize:this.onResize,onResizeStop:i,resizeHandles:g,transformScale:b,width:this.state.width},n.createElement("div",c({},y,{style:f(f({},m),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},t}(n.Component);r.default=h,h.propTypes=f(f({},i.resizableProps),{},{children:a.default.element})},{"8882cf0831275ed6":"329PG","8e51cecd2de47d2e":"9DVzE","5a5567ee264b31d1":"lsa77","9b1dbc10b4919e14":"ghWCE"}],asecu:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.resizeHandleType=r.resizeHandleAxesType=r.default=void 0;var n=o(e("13c0c91cdf1abec4")),a=o(e("513953dfe22b8b61"));function o(e){return e&&e.__esModule?e:{default:e}}let i=r.resizeHandleAxesType=n.default.arrayOf(n.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),l=r.resizeHandleType=n.default.oneOfType([n.default.node,n.default.func]);r.default={className:n.default.string,style:n.default.object,width:n.default.number,autoSize:n.default.bool,cols:n.default.number,draggableCancel:n.default.string,draggableHandle:n.default.string,verticalCompact:function(e){e.verticalCompact},compactType:n.default.oneOf(["vertical","horizontal"]),layout:function(t){var r=t.layout;void 0!==r&&e("b12953baf5b27d1d").validateLayout(r,"layout")},margin:n.default.arrayOf(n.default.number),containerPadding:n.default.arrayOf(n.default.number),rowHeight:n.default.number,maxRows:n.default.number,isBounded:n.default.bool,isDraggable:n.default.bool,isResizable:n.default.bool,allowOverlap:n.default.bool,preventCollision:n.default.bool,useCSSTransforms:n.default.bool,transformScale:n.default.number,isDroppable:n.default.bool,resizeHandles:i,resizeHandle:l,onLayoutChange:n.default.func,onDragStart:n.default.func,onDrag:n.default.func,onDragStop:n.default.func,onResizeStart:n.default.func,onResize:n.default.func,onResizeStop:n.default.func,onDrop:n.default.func,droppingItem:n.default.shape({i:n.default.string.isRequired,w:n.default.number.isRequired,h:n.default.number.isRequired}),children:function(e,t){let r=e[t],n={};a.default.Children.forEach(r,function(e){if(e?.key!=null){if(n[e.key])throw Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');n[e.key]=!0}})},innerRef:n.default.any}},{"13c0c91cdf1abec4":"9DVzE","513953dfe22b8b61":"329PG",b12953baf5b27d1d:"2O0hd"}],j8di3:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=c(e("df779a4174b5ec64")),a=u(e("bcdc4eadbc6acccd")),o=e("f14448e3af456338"),i=e("c7ced4202325c7f"),l=e("8ff12c02a9ae12df"),s=u(e("16b72731888a0242"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(c=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p=e=>Object.prototype.toString.call(e);function h(e,t){return null==e?null:Array.isArray(e)?e:e[t]}class g extends n.Component{constructor(){super(...arguments),f(this,"state",this.generateInitialState()),f(this,"onLayoutChange",e=>{this.props.onLayoutChange(e,{...this.props.layouts,[this.state.breakpoint]:e})})}generateInitialState(){let{width:e,breakpoints:t,layouts:r,cols:n}=this.props,a=(0,l.getBreakpointFromWidth)(t,e),o=(0,l.getColsFromBreakpoint)(a,n),i=!1===this.props.verticalCompact?null:this.props.compactType,s=(0,l.findOrGenerateResponsiveLayout)(r,t,a,a,o,i);return{layout:s,breakpoint:a,cols:o}}static getDerivedStateFromProps(e,t){if(!(0,o.deepEqual)(e.layouts,t.layouts)){let{breakpoint:r,cols:n}=t,a=(0,l.findOrGenerateResponsiveLayout)(e.layouts,e.breakpoints,r,r,n,e.compactType);return{layout:a,layouts:e.layouts}}return null}componentDidUpdate(e){this.props.width==e.width&&this.props.breakpoint===e.breakpoint&&(0,o.deepEqual)(this.props.breakpoints,e.breakpoints)&&(0,o.deepEqual)(this.props.cols,e.cols)||this.onWidthChange(e)}onWidthChange(e){let{breakpoints:t,cols:r,layouts:n,compactType:a}=this.props,o=this.props.breakpoint||(0,l.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),s=this.state.breakpoint,u=(0,l.getColsFromBreakpoint)(o,r),c={...n};if(s!==o||e.breakpoints!==t||e.cols!==r){s in c||(c[s]=(0,i.cloneLayout)(this.state.layout));let e=(0,l.findOrGenerateResponsiveLayout)(c,t,o,s,u,a);e=(0,i.synchronizeLayoutWithChildren)(e,this.props.children,u,a,this.props.allowOverlap),c[o]=e,this.props.onBreakpointChange(o,u),this.props.onLayoutChange(e,c),this.setState({breakpoint:o,layout:e,cols:u})}let d=h(this.props.margin,o),f=h(this.props.containerPadding,o);this.props.onWidthChange(this.props.width,d,u,f)}render(){let{breakpoint:e,breakpoints:t,cols:r,layouts:a,margin:o,containerPadding:i,onBreakpointChange:l,onLayoutChange:u,onWidthChange:c,...f}=this.props;return n.createElement(s.default,d({},f,{margin:h(o,this.state.breakpoint),containerPadding:h(i,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}r.default=g,f(g,"propTypes",{breakpoint:a.default.string,breakpoints:a.default.object,allowOverlap:a.default.bool,cols:a.default.object,margin:a.default.oneOfType([a.default.array,a.default.object]),containerPadding:a.default.oneOfType([a.default.array,a.default.object]),layouts(e,t){if("[object Object]"!==p(e[t]))throw Error("Layout property must be an object. Received: "+p(e[t]));Object.keys(e[t]).forEach(t=>{if(!(t in e.breakpoints))throw Error("Each key in layouts must align with a key in breakpoints.");(0,i.validateLayout)(e.layouts[t],"layouts."+t)})},width:a.default.number.isRequired,onBreakpointChange:a.default.func,onLayoutChange:a.default.func,onWidthChange:a.default.func}),f(g,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:i.noop,onLayoutChange:i.noop,onWidthChange:i.noop})},{df779a4174b5ec64:"329PG",bcdc4eadbc6acccd:"9DVzE",f14448e3af456338:"49DAY",c7ced4202325c7f:"2O0hd","8ff12c02a9ae12df":"lIcka","16b72731888a0242":"gLOkI"}],lIcka:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.findOrGenerateResponsiveLayout=function(e,t,r,o,i,l){if(e[r])return(0,n.cloneLayout)(e[r]);let s=e[o],u=a(t),c=u.slice(u.indexOf(r));for(let t=0,r=c.length;t<r;t++){let r=c[t];if(e[r]){s=e[r];break}}return s=(0,n.cloneLayout)(s||[]),(0,n.compact)((0,n.correctBounds)(s,{cols:i}),l,i)},r.getBreakpointFromWidth=function(e,t){let r=a(e),n=r[0];for(let a=1,o=r.length;a<o;a++){let o=r[a];t>e[o]&&(n=o)}return n},r.getColsFromBreakpoint=function(e,t){if(!t[e])throw Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},r.sortBreakpoints=a;var n=e("83485abae39c426d");function a(e){let t=Object.keys(e);return t.sort(function(t,r){return e[t]-e[r]})}},{"83485abae39c426d":"2O0hd"}],fzl2W:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t;return t=class extends n.Component{constructor(){super(...arguments),c(this,"state",{width:1280}),c(this,"elementRef",n.createRef()),c(this,"mounted",!1),c(this,"resizeObserver",void 0)}componentDidMount(){this.mounted=!0,this.resizeObserver=new o.default(e=>{let t=this.elementRef.current;if(t instanceof HTMLElement){let t=e[0].contentRect.width;this.setState({width:t})}});let e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.observe(e)}componentWillUnmount(){this.mounted=!1;let e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.unobserve(e),this.resizeObserver.disconnect()}render(){let{measureBeforeMount:t,...r}=this.props;return t&&!this.mounted?n.createElement("div",{className:(0,i.default)(this.props.className,"react-grid-layout"),style:this.props.style,ref:this.elementRef}):n.createElement(e,u({innerRef:this.elementRef},r,this.state))}},c(t,"defaultProps",{measureBeforeMount:!1}),c(t,"propTypes",{measureBeforeMount:a.default.bool}),t};var n=s(e("5ca444fee59b2007")),a=l(e("4a45b41d3cda0bf3")),o=l(e("d2cd1f0273a3f0d4")),i=l(e("21896f43cdd47455"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(s=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function c(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},{"5ca444fee59b2007":"329PG","4a45b41d3cda0bf3":"9DVzE",d2cd1f0273a3f0d4:"2tgC0","21896f43cdd47455":"jgTfo"}],"2tgC0":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=arguments[3],a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var a=n[r];e.call(t,a[1],a[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n&&n.Math===Math?n:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,a=0;function o(){r&&(r=!1,e()),n&&s()}function i(){l(o)}function s(){var e=Date.now();if(r){if(e-a<2)return;n=!0}else r=!0,n=!1,setTimeout(i,20);a=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var a=n[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=b(0,0,0,0);function h(e){return parseFloat(e)||0}function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+h(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function b(e,t,r,n){return{x:e,y:t,width:r,height:n}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!o)return p;if(m(e)){var t;return b(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return p;var n=f(e).getComputedStyle(e),a=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var a=n[r],o=e["padding-"+a];t[a]=h(o)}return t}(n),o=a.left+a.right,i=a.top+a.bottom,l=h(n.width),s=h(n.height);if("border-box"===n.boxSizing&&(Math.round(l+o)!==t&&(l-=g(n,"left","right")+o),Math.round(s+i)!==r&&(s-=g(n,"top","bottom")+i)),e!==f(e).document.documentElement){var u=Math.round(l+o)-t,c=Math.round(s+i)-r;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return b(a.left,a.top,l,s)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ResizeObserverEntry=function(e,t){var r,n,a,o,i,l=(r=t.x,n=t.y,a=t.width,o=t.height,d(i=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:a,height:o,top:n,right:r+a,bottom:o+n,left:r}),i);d(this,{target:e,contentRect:l})},v=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new a,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ResizeObserverEntry(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new a,ResizeObserver=function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var t=new v(e,c.getInstance(),this);w.set(this,t)};["observe","unobserve","disconnect"].forEach(function(e){ResizeObserver.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var x=void 0!==i.ResizeObserver?i.ResizeObserver:ResizeObserver;r.default=x},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cGKyn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("react-toastify"),l=e("react-error-boundary"),s=e("~tools/constants");let u="\u51fa\u73b0\u4e86\u4e00\u4e9b\u9519\u8bef\uff0c\u6765\u81ea (\u4e00\u5b57\u5e55)\uff0c\u53ef\u5c1d\u8bd5\u5237\u65b0\u9875\u9762\uff0c\u6216\u8054\u7cfb\u7ba1\u7406\u5458\uff1a",c="\u6765\u81ea\uff1a";r.default=function(e){return(0,a.jsx)(l.ErrorBoundary,{fallbackRender:function({error:t,resetErrorBoundary:r}){let n=!1,o=!1;return o=!1,(n=!!e?.show)||o?(0,i.toast).error(`${u}
${t.message}\uff0c${c}${e.info}`,{autoClose:99999}):console.error(`${u}
${t.message}\uff0c${c}${e.info}`),(0,a.jsx)(a.Fragment,{children:(n||o)&&(0,a.jsxs)("div",{role:"alert",children:[(0,a.jsx)("p",{children:`\u51fa\u73b0\u4e86\u4e00\u4e9b\u9519\u8bef\uff0c\u6765\u81ea ${s.ZIMU1_COM} (\u4e00\u5b57\u5e55):`}),(0,a.jsx)("pre",{style:{color:"red"},children:t.message})]})})},children:e.children})}},{"react/jsx-runtime":"8iOxN",react:"329PG","react-toastify":"7cUZK","react-error-boundary":"hvqCf","~tools/constants":"DgB7r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],hvqCf:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ErrorBoundary",()=>l),n.export(r,"ErrorBoundaryContext",()=>o),n.export(r,"useErrorBoundary",()=>s),n.export(r,"withErrorBoundary",()=>u);var a=e("react");let o=(0,a.createContext)(null),i={didCatch:!1,error:null};class l extends a.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=i}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:a,reason:"imperative-api"}),this.setState(i)}}componentDidCatch(e,t){var r,n;null===(r=(n=this.props).onError)||void 0===r||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)){var a,o;null===(a=(o=this.props).onReset)||void 0===a||a.call(o,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(i)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:n}=this.props,{didCatch:i,error:l}=this.state,s=e;if(i){let e={error:l,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)s=t(e);else if(r)s=(0,a.createElement)(r,e);else if(void 0!==n)s=n;else throw l}return(0,a.createElement)(o.Provider,{value:{didCatch:i,error:l,resetErrorBoundary:this.resetErrorBoundary}},s)}}function s(){let e=(0,a.useContext)(o);!function(e){if(null==e||"boolean"!=typeof e.didCatch||"function"!=typeof e.resetErrorBoundary)throw Error("ErrorBoundaryContext not found")}(e);let[t,r]=(0,a.useState)({error:null,hasError:!1}),n=(0,a.useMemo)(()=>({resetBoundary:()=>{e.resetErrorBoundary(),r({error:null,hasError:!1})},showBoundary:e=>r({error:e,hasError:!0})}),[e.resetErrorBoundary]);if(t.hasError)throw t.error;return n}function u(e,t){let r=(0,a.forwardRef)((r,n)=>(0,a.createElement)(l,t,(0,a.createElement)(e,{...r,ref:n}))),n=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary(".concat(n,")"),r}},{react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lTRcy:[function(e,t,r){t.exports='.react-grid-layout{transition:height .2s;position:relative}.react-grid-item{transition:left .2s,top .2s,width .2s,height .2s}.react-grid-item img{pointer-events:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{z-index:1;will-change:width,height;transition:none}.react-grid-item.react-draggable-dragging{z-index:3;will-change:transform;transition:none}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{opacity:.2;z-index:2;user-select:none;-o-user-select:none;background:red;transition-duration:.1s}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{width:20px;height:20px;position:absolute}.react-grid-item>.react-resizable-handle:after{content:"";border-bottom:2px solid #0006;border-right:2px solid #0006;width:5px;height:5px;position:absolute;bottom:3px;right:3px}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}'},{}],"82Svl":[function(e,t,r){t.exports=".react-resizable{position:relative}.react-resizable-handle{box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:100% 100%;background-repeat:no-repeat;background-origin:content-box;width:20px;height:20px;padding:0 3px 3px 0;position:absolute}.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}"},{}]},["arQdC"],"arQdC","parcelRequiree1df"),globalThis.define=t; | 468,613 | InlineSubtitleMask.c008b216 | js | en | javascript | code | {"qsc_code_num_words": 87892, "qsc_code_num_chars": 468613.0, "qsc_code_mean_word_length": 3.68234879, "qsc_code_frac_words_unique": 0.06108633, "qsc_code_frac_chars_top_2grams": 0.0089974, "qsc_code_frac_chars_top_3grams": 0.00438438, "qsc_code_frac_chars_top_4grams": 0.00560793, "qsc_code_frac_chars_dupe_5grams": 0.3280282, "qsc_code_frac_chars_dupe_6grams": 0.25993592, "qsc_code_frac_chars_dupe_7grams": 0.21734966, "qsc_code_frac_chars_dupe_8grams": 0.18437258, "qsc_code_frac_chars_dupe_9grams": 0.15731549, "qsc_code_frac_chars_dupe_10grams": 0.14259893, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03786605, "qsc_code_frac_chars_whitespace": 0.01783775, "qsc_code_size_file_byte": 468613.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 177720.0, "qsc_code_num_chars_line_mean": 29288.3125, "qsc_code_frac_chars_alphabet": 0.66533045, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.13333333, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 2.93333333, "qsc_code_frac_chars_string_length": 0.19397841, "qsc_code_frac_chars_long_word_length": 0.10737835, "qsc_code_frac_lines_string_concat": 0.06666667, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejavascript_cate_ast": 0.0, "qsc_codejavascript_cate_var_zero": null, "qsc_codejavascript_frac_lines_func_ratio": null, "qsc_codejavascript_num_statement_line": null, "qsc_codejavascript_score_lines_no_logic": null, "qsc_codejavascript_frac_words_legal_var_name": null, "qsc_codejavascript_frac_words_legal_func_name": null, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.06666667} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 1, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 0, "qsc_codejavascript_score_lines_no_logic": 0, "qsc_codejavascript_frac_lines_print": 0} |
1Panel-dev/MaxKB-docs | docs/faq/MaxKB VS.Dify.md | !!! Abstract ""
MaxKB 和 Dify 都是基于大语言模型技术的开源项目,两者在产品定位以及能力上存在差异:
- 产品定位不同:Dify 定位于大模型应用的开发平台,属于中间件范畴;MaxKB 定位于基于大模型和 RAG 的智能问答助手,属于开箱即用的最终应用。
- 产品能力对比:以下表格是 Dify 官方提供的与 LangChain、Flowise 等产品的能力对比;MaxKB 是基于 LangChain 构建的应用,并补齐了 LangChain 在 Workflow 和 SSO 等企业级功能上面的空白。
<table style="width: 100%;height: 80%;">
<tr>
<th align="center">功能</th>
<th align="center">Dify.AI</th>
<th align="center">LangChain</th>
<th align="center">Flowise</th>
<th align="center">OpenAI Assistant API</th>
<th align="center">MaxKB(Built on LangChain)</th>
</tr>
<tr>
<td align="center">编程方法</td>
<td align="center">API + 应用程序导向</td>
<td align="center">Python 代码</td>
<td align="center">应用程序导向</td>
<td align="center">API 导向</td>
<td align="center">API + 应用程序导向</td>
</tr>
<tr>
<td align="center">支持的 LLMs</td>
<td align="center">丰富多样</td>
<td align="center">丰富多样</td>
<td align="center">丰富多样</td>
<td align="center">仅限 OpenAI</td>
<td align="center">丰富多样</td>
</tr>
<tr>
<td align="center">RAG引擎</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">Agent</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">工作流</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">可观测性</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">企业功能(SSO/访问控制)</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">❌</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
<tr>
<td align="center">本地部署</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">✅</td>
<td align="center">❌</td>
<td align="center">✅</td>
</tr>
</table> | 2,544 | MaxKB VS.Dify | md | zh | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 4.0, "qsc_doc_num_words": 419, "qsc_doc_num_chars": 2544.0, "qsc_doc_num_lines": 81.0, "qsc_doc_mean_word_length": 3.08591885, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.23627685, "qsc_doc_entropy_unigram": 3.29925568, "qsc_doc_frac_words_all_caps": 0.00962567, "qsc_doc_frac_lines_dupe_lines": 0.69230769, "qsc_doc_frac_chars_dupe_lines": 0.53308824, "qsc_doc_frac_chars_top_2grams": 0.45939675, "qsc_doc_frac_chars_top_3grams": 0.48259861, "qsc_doc_frac_chars_top_4grams": 0.46403712, "qsc_doc_frac_chars_dupe_5grams": 0.6295437, "qsc_doc_frac_chars_dupe_6grams": 0.61639598, "qsc_doc_frac_chars_dupe_7grams": 0.55993813, "qsc_doc_frac_chars_dupe_8grams": 0.54369683, "qsc_doc_frac_chars_dupe_9grams": 0.50348028, "qsc_doc_frac_chars_dupe_10grams": 0.50348028, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 28.94117647, "qsc_doc_frac_chars_hyperlink_html_tag": 0.56014151, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.00276091, "qsc_doc_frac_chars_whitespace": 0.28812893, "qsc_doc_frac_chars_hex_words": 0.0} | 0 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 1, "qsc_doc_frac_chars_top_3grams": 1, "qsc_doc_frac_chars_top_4grams": 1, "qsc_doc_frac_chars_dupe_5grams": 1, "qsc_doc_frac_chars_dupe_6grams": 1, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 1, "qsc_doc_frac_lines_dupe_lines": 1, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 1, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ВводКонтактнойИнформации/Forms/ВводАдреса/Ext/Help/ru.html | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html;charset=utf-8" http-equiv="content-type"></meta><link rel="stylesheet" type="text/css" href="v8help://service_book/service_style"></link><style>P {
TEXT-INDENT: 3em
}
</style><meta name="GENERATOR" content="MSHTML 11.00.10570.1001"></meta></head><body>
<p>Предназначена для ввода адреса. При заполнении возможно использование шаблона и адресного классификатора. </p>
<p>Открывается по кнопке <img src="StdPicture.InputFieldSelect" width="12" height="12"></img><strong>Выбрать</strong> из поля <strong>Адрес</strong> в элементах списков.</p>
<h3>Автоподбор российского адреса</h3>
<ul><li>Предусмотрен автоподбор всего адреса при вводе (только при использовании веб-сервиса. Наберите в поле <strong>Город, населенный пункт</strong> поисковое слово или его часть.
</li>
<li>Обратите внимание на цветовое различие адресов:
<ul><li>по муниципальному делению - стандартный цвет текста;
</li>
<li>по административно-территориальному делению - серый цвет.</li></ul></li></ul><h3>Ввод адреса</h3>
<ul><li>В поле <strong>Страна</strong> выберите страну адреса. Редактирование адресов за пределами Евразийского экономического союза (ЕАЭС) производится в общем поле, без учета частей адреса. <strong>Страна</strong> "Россия" выбрана приложением по умолчанию, при этом поле может быть недоступным в зависимости от <a href="Catalog.ВидыКонтактнойИнформации.Form.ФормаЭлемента/Help">настроек</a>. Для того чтобы изменить страну, нажмите <img src="StdPicture.InputFieldSelect"></img><strong>Выбрать</strong>. Выбор осуществляется из списка <a href="Catalog.СтраныМира.Form.Классификатор/Help">Классификатор стран мира (ОКСМ)</a>.
</li>
<li>Поле <strong>Индекс</strong> предназначено для ввода почтового индекса, соответствующего данному адресу. Если адрес найден в адресном классификаторе, то индекс может быть проставлен автоматически. Также по индексу, если адресный классификатор по соответствующему региону загружен, можно <a href="#1">заполнить адрес</a>.
</li>
<li>Поле <strong>Город, населенный пункт</strong> предназначено для ввода региона, города и т. п. При необходимости можно ввести части адреса детально, нажав <img src="StdPicture.InputFieldSelect" width="12" height="12"></img><strong>Выбрать</strong>. В открывшемся шаблоне введите данные <a href="DataProcessor.РасширенныйВводКонтактнойИнформации.Form.НаселенныйПунктАдреса/Help">населенного пункта</a>.
</li>
<li>Поле <strong>Улица</strong> предназначено для выбора (нажмите кнопку <img src="StdPicture.InputFieldSelect" width="12" height="12"></img><strong>Выбрать</strong>, в списке улиц найдите нужную) или ввода улицы адреса.
</li>
<li>Поля <strong>Дом</strong>, <strong>Корпус</strong>, <strong>Квартира</strong> позволяют ввести соответствующие части адреса. Можно изменить эти варианты, выбрав дополнительные значения из выпадающего списка.
</li>
<li>Также можно <img src="StdPicture.CreateListItem"></img><strong>Добавить</strong> дополнительные поля для ввода других предопределенных частей адреса, таких как <strong>Строение</strong>, <strong>Литера</strong>, <strong>Сооружение</strong>, <strong>Участок</strong>, <strong>Офис</strong>, <strong>Бокс</strong>, <strong>Помещение</strong>, <strong>Комната, А/я</strong>.
</li>
<li>для ввода номера дома нажмите кнопку <img src="StdPicture.InputFieldSelect" width="12" height="12"></img>, в окне <strong>Выбор дома</strong> выводится список всех возможных домов и строений для введенного адреса. Дополнительные части адреса, например, корпус, также выбираются из списка.
</li>
<li>Поле <strong>Представление адреса</strong> при заполнении адреса по шаблону недоступно, заполняется приложением автоматически по мере заполнения полей адреса.</li></ul><h3>Примеры заполнения адреса</h3>
Примеры даются по административно-территориальному делению.<br><ul><li>Для ввода адреса <b>"Санкт-Петербург, Пискаревский проспект, дом 2, корпус 2, литера Щ, офис 12345"</b> необходимо:
<ul><li>В поле <strong>Город, населенный пункт</strong> выбрать "<b>Санкт-Петербург г</b><strong>"</strong>.
</li>
<li>В поле <strong>Улица</strong> выбрать "<b>пр-кт Пискаревский</b>".
</li>
<li>В поле <strong>Дом</strong> написать "2".
</li>
<li>В поле <strong>Корпус</strong> написать "2".
</li>
<li>Для ввода литеры необходимо <img src="StdPicture.CreateListItem" width="16" height="16"></img><strong>Добавить</strong> поле, выбрать из выпадающего списка значение <b>Литера</b> и проставить в поле значение "Щ".
</li>
<li>Вместо поля <strong>Квартира</strong> выбрать из выпадающего списка поле <b>Офис</b> и ввести значение "12345". </li></ul></li>
<li>Для ввода адреса, содержащего другие значения полей, например <b>"Москва, улица Адмирала Лазарева, домовладение 89, корпус 16, строение 1"</b> необходимо:
<ul><li>В поле <strong>Город, населенный пункт</strong> выбрать "Москва г".
</li>
<li>В поле <strong>Улица</strong> выбрать " <b>ул. Адмирала Лазарева</b>".
</li>
<li>Вместо поля <strong>Дом</strong> выбрать из выпадающего списка поле <b>Домовладение</b>, введите значение "<b>89</b>".
</li>
<li>В поле <strong>Корпус</strong> написать "<b>16</b>".
</li>
<li>Нажмите <img src="StdPicture.CreateListItem" width="16" height="16"></img><strong>Добавить</strong>, выберите из выпадающего списка поле <b>Строение</b>, проставьте в поле "<b>1</b>". </li></ul></li></ul><h3>Проверка заполнения адреса</h3>
<p>Нажмите <strong>Проверить заполнение</strong>, для того чтобы проанализировать корректность заполнения адреса. Приложение производит проверку: </p>
<ul><li>проверка актуальности версии адресного классификатора с предложением обновить данные;
</li>
<li>на заполненность адреса;
</li>
<li>на наличие недопустимых символов;
</li>
<li>длины наименований реквизитов адреса;
</li>
<li>на соответствие классификатору. В клиент-серверной базе проверка адреса на соответствие классификатору производится на сервере. После проверки правильности заполнения адреса приложение выдает сообщение "Адрес введен корректно" или список ошибок. Проверка правильности невозможна для иностранных адресов, они не проверяются. Также команда становится недоступной, если адрес введен в свободной форме.
</li>
<li>Если адрес некорректный, то в приложении производится перебор вариантов нумерации (не дом, а владение; наличие корпусов, строений; буквы в номере дома).
</li>
<li>Производится поиск в исторических данных адреса, например, улица была переименована.</li></ul><h3>История изменений</h3>
<ul><li>
<div>В некоторых списках можно просмотреть историю изменения адреса с помощью команды <strong>Еще - История изменений</strong>.</div></li></ul><h3>Адрес на Яндекс.Картах, Адрес на Google Maps</h3>
<ul><li>
<div>С помощью этих команд любой адрес, введенный в приложение, можно посмотреть на картах.</div></li></ul><h3>Выбор вида территориального деления</h3>
<ul><li>
<div>Перед заполнением адреса с помощью флажка можно выбрать:</div>
<ul><li>
<div><strong>Муниципальное деление</strong>;</div>
</li>
<li>
<div><strong>Административно-территориальное деление.</strong></div></li></ul></li></ul><h3>Ввод адреса в свободной форме</h3>
<ul><li>Включите флажок <strong>Адрес в свободной форме</strong> меню <strong>Еще</strong>, для того чтобы при вводе адреса по шаблону ввести заведомо некорректный адрес (например, с товаром на накладной неправильный адрес поставщика, его надо временно зафиксировать для печати, но в дальнейшем его использовать нельзя). Такой адрес используется для хранения, поэтому можно рекомендовать использовать его только для единичных случаев.
</li>
<li>Напишите адрес. Проверка заполнения адреса в данном случае отключена.
</li>
<li>Для подтверждения адреса нажмите <strong>ОК</strong>. Приложением будет зафиксировано, что адрес заполнен в свободной форме и на просмотр адрес будет выводиться в таком виде.</li></ul><h3><a name="#1">Заполнение адреса по почтовому индексу</a></h3>
<ul><li>Если известен индекс адреса и адресный классификатор по соответствующему региону загружен, то с помощью команды <strong>Еще</strong> <strong>- Заполнить по почтовому индексу</strong> имеется возможность по индексу <a href="DataProcessor.РасширенныйВводКонтактнойИнформации.Form.ВыборАдресаПоПочтовомуИндексу/Help">найти адрес</a>. Для выбора выводятся только те адреса, которые соответствуют введенному индексу. Выберите нужную часть адреса, дозаполните оставшиеся поля.
</li>
<li>Если указан почтовый индекс, сведения о котором отсутствует в приложении, приложение выводит сообщение. </li></ul><h3>Очистка адреса</h3>
<ul><li>С помощью команды меню <strong>Еще</strong> <strong>- Очистить адрес </strong>можно стереть неправильно введенный адрес.</li></ul><h3>Загрузка классификатора</h3>
<ul><li>Выполните команду <strong>Еще</strong> <strong>- Загрузить классификатор</strong>. После проведения обновления адресного классификатора по выбранному региону можно продолжить редактирование адреса.</li></ul><h3>См. также:</h3>
<ul><li><a href="Catalog.ВидыКонтактнойИнформации/Help">Виды контактной информации</a>;
</li>
<li><a href="DataProcessor.РасширенныйВводКонтактнойИнформации/Help">Ввод контактной информации</a>;
</li>
<li><a href="v8help://frame/form_common">Работа с формами</a>.</li></ul></body></html> | 9,239 | ru | html | ru | html | code | {"qsc_code_num_words": 1270, "qsc_code_num_chars": 9239.0, "qsc_code_mean_word_length": 5.59527559, "qsc_code_frac_words_unique": 0.34645669, "qsc_code_frac_chars_top_2grams": 0.01745004, "qsc_code_frac_chars_top_3grams": 0.00928793, "qsc_code_frac_chars_top_4grams": 0.01463552, "qsc_code_frac_chars_dupe_5grams": 0.19068393, "qsc_code_frac_chars_dupe_6grams": 0.14762173, "qsc_code_frac_chars_dupe_7grams": 0.12496482, "qsc_code_frac_chars_dupe_8grams": 0.0952716, "qsc_code_frac_chars_dupe_9grams": 0.08542077, "qsc_code_frac_chars_dupe_10grams": 0.07585139, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0112791, "qsc_code_frac_chars_whitespace": 0.09795432, "qsc_code_size_file_byte": 9239.0, "qsc_code_num_lines": 90.0, "qsc_code_num_chars_line_max": 627.0, "qsc_code_num_chars_line_mean": 102.65555556, "qsc_code_frac_chars_alphabet": 0.8412527, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.37777778, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11732872, "qsc_code_frac_chars_long_word_length": 0.07067864, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codehtml_cate_ast": 1.0, "qsc_codehtml_frac_words_text": 0.66760472, "qsc_codehtml_num_chars_text": 6168.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_codehtml_cate_ast": 0, "qsc_codehtml_frac_words_text": 0, "qsc_codehtml_num_chars_text": 0} |
20000s/android-detector | detector/app/src/main/res/drawable/ic_launcher_background.xml | <?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
| 5,606 | ic_launcher_background | xml | en | xml | data | {"qsc_code_num_words": 551, "qsc_code_num_chars": 5606.0, "qsc_code_mean_word_length": 6.14337568, "qsc_code_frac_words_unique": 0.15245009, "qsc_code_frac_chars_top_2grams": 0.10723781, "qsc_code_frac_chars_top_3grams": 0.19497784, "qsc_code_frac_chars_top_4grams": 0.26469719, "qsc_code_frac_chars_dupe_5grams": 0.88419498, "qsc_code_frac_chars_dupe_6grams": 0.88419498, "qsc_code_frac_chars_dupe_7grams": 0.87149188, "qsc_code_frac_chars_dupe_8grams": 0.87149188, "qsc_code_frac_chars_dupe_9grams": 0.85731167, "qsc_code_frac_chars_dupe_10grams": 0.85731167, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.15788224, "qsc_code_frac_chars_whitespace": 0.24866215, "qsc_code_size_file_byte": 5606.0, "qsc_code_num_lines": 170.0, "qsc_code_num_chars_line_max": 67.0, "qsc_code_num_chars_line_mean": 32.97647059, "qsc_code_frac_chars_alphabet": 0.64577398, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.75882353, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.20388869, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 1, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
20000s/android-detector | detector/app/src/main/res/drawable-v24/ic_launcher_foreground.xml | <vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector> | 1,702 | ic_launcher_foreground | xml | en | xml | data | {"qsc_code_num_words": 336, "qsc_code_num_chars": 1702.0, "qsc_code_mean_word_length": 2.7797619, "qsc_code_frac_words_unique": 0.32440476, "qsc_code_frac_chars_top_2grams": 0.01498929, "qsc_code_frac_chars_top_3grams": 0.01605996, "qsc_code_frac_chars_top_4grams": 0.01713062, "qsc_code_frac_chars_dupe_5grams": 0.10278373, "qsc_code_frac_chars_dupe_6grams": 0.10278373, "qsc_code_frac_chars_dupe_7grams": 0.10278373, "qsc_code_frac_chars_dupe_8grams": 0.10278373, "qsc_code_frac_chars_dupe_9grams": 0.10278373, "qsc_code_frac_chars_dupe_10grams": 0.10278373, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.32956259, "qsc_code_frac_chars_whitespace": 0.22091657, "qsc_code_size_file_byte": 1702.0, "qsc_code_num_lines": 30.0, "qsc_code_num_chars_line_max": 624.0, "qsc_code_num_chars_line_mean": 56.73333333, "qsc_code_frac_chars_alphabet": 0.37481146, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.06666667, "qsc_code_frac_chars_string_length": 0.51908397, "qsc_code_frac_chars_long_word_length": 0.17909571, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 1, "qsc_code_frac_chars_digital": 1, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1Panel-dev/MaxKB-docs | docs/faq/install_configuration.md | # 安装部署以及启动问题
## 1 安装 MaxKB 过程报错 docker-compose--X.XX.X 无法启动或者访问服务
!!! Abstract ""
Docker 版本太老可能会导致安装失败,建议环境建议使用安装包内的 Docker。安装包所使用的 Docker 版本为 27.2.0、Compose 版本为 v2.29.2。
## 2 如何将内置的 pgsql 通过指定的主机端口提供对外访问?
!!! Abstract ""
默认配置进行安装时,为了安全性,pgsql 容器只对宿主机提供 5432 的访问端口,其它地址都无法访问。

!!! Abstract ""
如果需要将 pgsql 暴露给其它服务器访问,可在 /opt/maxkb/.env 中配置,然后执行`mkctl reload`,重新加载配置即可。


## 3 升级过程提示 ModuleNotFoundError: No module named 'XXX'
!!! Abstract ""
某些旧版本的依赖包与新版本不兼容,导致系统无法正常运行。进入依赖包的存储目录:
执行以下命令,创建模型:
```
cd /opt/maxkb/python-packages
```
找到导致依赖冲突的包,通常通过查看错误日志来确定具体冲突的包名。完成依赖包的清理后,重启服务 `mkctl restart` 以确保更改生效。
## 4 PostgreSQL 超过最大客户端连接数,提示 too many clients already 的错误
!!! Abstract ""
这表明当前配置的客户端连接数已达到上限,需要调整配置以允许更多的连接。进入 PostgreSQL 配置文件所在的目录:
```
cd /opt/maxkb/data/postgresql/pgdata/
```
在 postgresql.conf 文件中找到 max_connections 参数,将其值设置为所需的连接数。例如,将最大连接数设置为 200
```
max_connections = 200
```
停止当前运行的 MaxKB 服务,删除 PostgreSQL 容器:
```
docker stop maxkb
docker rm maxkb
```
执行 `mkctl reload` 重新加载服务配置并启动服务。
## 5 迁移常见问题
### 5.1 无法执行 PowerShell 脚本

!!! Abstract ""
如果无法执行 PowerShell 脚本,可能需要修改执行策略:
- 临时修改(推荐)
```
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
```
- 永久修改(需管理员权限)
```
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
```
### 5.2 执行脚本后出现乱码报错

!!! Abstract ""
用记事本打开文件,将文件另存为 ANSI 格式的文本。

!!! Abstract ""
重新执行 PowerShell 即可正常执行迁移命令。

### 5.3 Docker Desktop 安装的 MaxKB 迁移后目录路径内容为空,但 MaxKB 能正常运行
!!! Abstract ""
Docker Desktop 安装的 MaxKB 迁移后挂载路径内容为空,但 MaxKB 能正常运行。

!!! Abstract ""
安装 MaxKB V2 时,容器数据的挂载目录为 /opt/maxkb,修改挂载目录即可。
```
V1:/var/lib/postgresql/data
V2:/opt/maxkb
```
 | 2,183 | install_configuration | md | zh | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 58.0, "qsc_doc_num_words": 480, "qsc_doc_num_chars": 2183.0, "qsc_doc_num_lines": 88.0, "qsc_doc_mean_word_length": 3.01041667, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.46458333, "qsc_doc_entropy_unigram": 5.06241743, "qsc_doc_frac_words_all_caps": 0.0216285, "qsc_doc_frac_lines_dupe_lines": 0.35294118, "qsc_doc_frac_chars_dupe_lines": 0.1, "qsc_doc_frac_chars_top_2grams": 0.03737024, "qsc_doc_frac_chars_top_3grams": 0.03875433, "qsc_doc_frac_chars_top_4grams": 0.02768166, "qsc_doc_frac_chars_dupe_5grams": 0.12871972, "qsc_doc_frac_chars_dupe_6grams": 0.10519031, "qsc_doc_frac_chars_dupe_7grams": 0.09411765, "qsc_doc_frac_chars_dupe_8grams": 0.06089965, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 10.93442623, "qsc_doc_frac_chars_hyperlink_html_tag": 0.0, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.02065885, "qsc_doc_frac_chars_whitespace": 0.1795694, "qsc_doc_frac_chars_hex_words": 0.0} | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
1zimu-com/1zimu | edge-mv3-prod/injectBilibili.b2565a8c.js | var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,o,T,_,r){var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},I="function"==typeof E[_]&&E[_],i=I.cache||{},s="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function S(e,o){if(!i[e]){if(!t[e]){var T="function"==typeof E[_]&&E[_];if(!o&&T)return T(e,!0);if(I)return I(e,!0);if(s&&"string"==typeof e)return s(e);var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}l.resolve=function(o){var T=t[e][1][o];return null!=T?T:o},l.cache={};var p=i[e]=new S.Module(e);t[e][0].call(p.exports,l,p,p.exports,this)}return i[e].exports;function l(e){var t=l.resolve(e);return!1===t?{}:S(t)}}S.isParcelRequire=!0,S.Module=function(e){this.id=e,this.bundle=S,this.exports={}},S.modules=t,S.cache=i,S.parent=I,S.register=function(e,o){t[e]=[function(e,t){t.exports=o},{}]},Object.defineProperty(S,"root",{get:function(){return E[_]}}),E[_]=S;for(var p=0;p<o.length;p++)S(o[p]);if(T){var l=S(T);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof e&&e.amd?e(function(){return l}):r&&(this[r]=l)}}({"903XX":[function(e,t,o){var T=e("~tools/constants");let _=window,r=document;!function(e){let t=XMLHttpRequest.prototype,o=t.open,E=t.send,I=t.setRequestHeader;t.open=function(e,t){return this._method=e,this._url=t,this._requestHeaders={},this._startTime=new Date().toISOString(),o.apply(this,arguments)},t.setRequestHeader=function(e,t){return this._requestHeaders[e]=t,I.apply(this,arguments)},t.send=function(e){return this.addEventListener("load",function(){if("string"!=typeof this?._url)return;let t=(this?._url,this._url.toLowerCase());if(t&&t.includes(T.FILTER_SUBTITLE_IN_WEBREQUEST)){if(e&&"string"==typeof e)try{this._requestHeaders=e}catch(e){console.error("ERROR from inject.ts\u3002Request Header JSON decode failed, transfer_encoding field could be base64",e)}if(this.getAllResponseHeaders(),!this?.responseType.toLowerCase().includes("blob")&&!this?.responseType.toLowerCase().includes("arraybuffer")&&!this?.responseType.toLowerCase().includes("json")&&this?.responseText)try{let e=this.responseText;if("object"!=typeof e&&"ok"!==e&&e){let t=JSON.parse(e);if(t?.data?.subtitle?.subtitles){let e=t.data.subtitle.subtitles,o="",E="",I="",i="";_.postMessage({postMsgType:T.INIT_SUBTITLENODES},r.baseURI);for(let t=0;t<e.length;t++){let T=e[t];if(1===T.type){if(T.lan.includes("en")){let e=`https:${T.subtitle_url}`;o=e}else if(T.lan.includes("zh")){let e=`https:${T.subtitle_url}`;E=e}}if(0===T.type){if(T.lan.includes("en")){let e=`https:${T.subtitle_url}`;I=e}else if(T.lan.includes("zh")){let e=`https:${T.subtitle_url}`;i=e}}}o?.length>0&&E?.length>0&&I?.length>0&&i?.length>0?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:I,zhStrUrl:i},r.baseURI):o?.length>0&&E?.length>0&&(!(I?.length>0)||!(i?.length>0))?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:o,zhStrUrl:E},r.baseURI):I?.length>0&&i?.length>0&&(!(o?.length>0)||!(E?.length>0))?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:I,zhStrUrl:i},r.baseURI):E?.length>0&&!(o?.length>0)?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:"",zhStrUrl:E},r.baseURI):!(E?.length>0)&&o?.length>0?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:o,zhStrUrl:""},r.baseURI):i?.length>0&&!(I?.length>0)?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:"",zhStrUrl:i},r.baseURI):!(i?.length>0)&&I?.length>0?_.postMessage({postMsgType:T.SENT_BILIBILI_AI_SUBTITLE_URL,srtUrl:I,zhStrUrl:""},r.baseURI):_.postMessage({postMsgType:T.NO_SUBTITLENODES_DATA},r.baseURI)}}}catch(e){console.error("Error in responseType try catch"),console.error(e)}}}),E.apply(this,arguments)}}(XMLHttpRequest)},{"~tools/constants":"DgB7r"}],DgB7r:[function(e,t,o){var T=e("@parcel/transformer-js/src/esmodule-helpers.js");T.defineInteropFlag(o),T.export(o,"SUBTITLE_LIST_PADDING_SIZE",()=>_),T.export(o,"SUBTITLE_LIST_WIDTH",()=>r),T.export(o,"DEFAULT_ROW_HEIGHT",()=>E),T.export(o,"SUBTITLE_LIST_TTS_TEXT_WIDTH",()=>I),T.export(o,"SUBTITLE_LIST_HEIGHT",()=>i),T.export(o,"DRAGGABLE_HANDLE_HEIGHT",()=>s),T.export(o,"CLOSE_SVG_REM_COUNT",()=>S),T.export(o,"SUBTITLE_LIST_ROW_HEIGHT",()=>p),T.export(o,"BWP_VIDEO",()=>l),T.export(o,"VIDEO_PAUSE",()=>L),T.export(o,"KEY_DOWN",()=>A),T.export(o,"CLICK_SUBTITLE",()=>n),T.export(o,"SENT_BILIBILI_AI_SUBTITLE_URL",()=>a),T.export(o,"SENT_YOUTUBE_SUBTITLE_API_URL",()=>O),T.export(o,"SENT_BAIDUPAN_SUBTITLE_API_URL",()=>u),T.export(o,"INIT_SUBTITLENODES",()=>U),T.export(o,"NO_SUBTITLENODES_DATA",()=>R),T.export(o,"FILTER_SUBTITLE_IN_WEBREQUEST",()=>x),T.export(o,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_1",()=>B),T.export(o,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_2",()=>c),T.export(o,"FILTER_SUBTITLE_IN_YOUTUBE_URL",()=>d),T.export(o,"NEXT",()=>D),T.export(o,"PRE",()=>N),T.export(o,"ADD",()=>b),T.export(o,"SUB",()=>f),T.export(o,"VIDEO_MASK",()=>M),T.export(o,"SUB_MASK",()=>g),T.export(o,"REPEAT",()=>h),T.export(o,"VARIABLE_REPEAT",()=>G),T.export(o,"FOLLOW_READ",()=>m),T.export(o,"FULL_MASK",()=>C),T.export(o,"SUBTITLE_LIST",()=>y),T.export(o,"SUBTITLE",()=>H),T.export(o,"ZHSUBTITLE",()=>F),T.export(o,"DEFAULT_MAX_PAUSE_TIME",()=>P),T.export(o,"STORAGE_RANDOMUUID",()=>w),T.export(o,"STORAGE_ALWAY_REPEAT_PLAY",()=>V),T.export(o,"STORAGE_PLAYED_THEN_PAUSE",()=>v),T.export(o,"STORAGE_SHOW_EN_DEFINITION",()=>W),T.export(o,"STORAGE_REPLAY_TIMES",()=>Y),T.export(o,"STORAGE_MAX_PAUSE_TIME",()=>z),T.export(o,"STORAGE_SUBTITLELIST_TABS_KEY",()=>K),T.export(o,"STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW",()=>Z),T.export(o,"STORAGE_SUBTITLELIST_TABS_SCROLL",()=>j),T.export(o,"STORAGE_SHOWSUBTITLE",()=>X),T.export(o,"STORAGE_SHOWZHSUBTITLE",()=>k),T.export(o,"STORAGE_SHOWSUBTITLELIST",()=>q),T.export(o,"STORAGE_SHOWTTSSUBTITLELIST",()=>J),T.export(o,"STORAGE_DRAGGABLESUBTITLELISTX",()=>$),T.export(o,"STORAGE_DRAGGABLESUBTITLELISTY",()=>Q),T.export(o,"STORAGE_BILIBILI_TRANSLATE_SELECT_LANG",()=>ee),T.export(o,"STORAGE_SHOWVIDEOMASK",()=>et),T.export(o,"STORAGE_SHOWSUBTITLELISTMASK",()=>eo),T.export(o,"STORAGE_SHOWFLOATBALL",()=>eT),T.export(o,"STORAGE_DISABLESHORTCUTS",()=>e_),T.export(o,"STORAGE_ALL_SHORTCUTS",()=>er),T.export(o,"STORAGE_VIDEO_MASK_HEIGHT",()=>eE),T.export(o,"STORAGE_DEFAULT_VIDEO_MASK_HEIGHT",()=>eI),T.export(o,"STORAGE_FOLLOW_READ_TIMES",()=>ei),T.export(o,"STORAGE_DEFAULT_FOLLOW_READ_TIMES",()=>es),T.export(o,"STORAGE_FOLLOW_READ_LENGTH",()=>eS),T.export(o,"STORAGE_DEFAULT_FOLLOW_READ_LENGTH",()=>ep),T.export(o,"STORAGE_POST_IDLETIME_ACTIVETIME_LOCK",()=>el),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME",()=>eL),T.export(o,"STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME",()=>eA),T.export(o,"STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME",()=>en),T.export(o,"STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME",()=>ea),T.export(o,"STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME",()=>eO),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER",()=>eu),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE",()=>eU),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI",()=>eR),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU",()=>ex),T.export(o,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN",()=>eB),T.export(o,"STORAGE_AZURE_KEY_CODE",()=>ec),T.export(o,"STORAGE_AZURE_KEY_AREA",()=>ed),T.export(o,"STORAGE_FAVORITES_DICTS",()=>eD),T.export(o,"STORAGE_MASK_BACKDROP_BLUR_SHOW",()=>eN),T.export(o,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW",()=>eb),T.export(o,"STORAGE_MASK_BACKDROP_BLUR_COLOR",()=>ef),T.export(o,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR",()=>eM),T.export(o,"STORAGE_USER_INFO",()=>eg),T.export(o,"IDLETIME_STORAGE_DEFAULT_VALUE",()=>eh),T.export(o,"FAVORITES_DICTS_DEFAULT_VALUE",()=>eG),T.export(o,"ALL_SHORT_CUTS",()=>em),T.export(o,"COLOR_PRIMARY",()=>eC),T.export(o,"FONT_SIZE",()=>ey),T.export(o,"FONT_SANS",()=>eH),T.export(o,"FONT_SERIF",()=>eF),T.export(o,"FONT_MONO",()=>eP),T.export(o,"SUBTITLE_FONT_FAMILY",()=>ew),T.export(o,"FONT_WEIGHT",()=>eV),T.export(o,"LINE_HEIGHT",()=>ev),T.export(o,"ZIMU1_USESTORAGE_SYNC_JWT",()=>eW),T.export(o,"ZIMU1_USESTORAGE_SYNC_HEADIMGURL",()=>eY),T.export(o,"ZIMU1_USESTORAGE_SYNC_NICKNAME",()=>ez),T.export(o,"ZIMU1_USESTORAGE_SYNC_PAID",()=>eK),T.export(o,"DRAGGABLE_NODE_CONTAINER_WIDTH",()=>eZ),T.export(o,"DRAGGABLE_NODE_CONTAINER_HEIGHT",()=>ej),T.export(o,"DRAGGABLE_NODE_CONTAINER_X",()=>eX),T.export(o,"DRAGGABLE_NODE_CONTAINER_Y",()=>ek),T.export(o,"IDLE_TIME_OUT",()=>eq),T.export(o,"DARK_BG_COLOR",()=>eJ),T.export(o,"REPEAT_INIT_TIMES",()=>e$),T.export(o,"REPEAT_UI_INIT_TIMES",()=>eQ),T.export(o,"VARIABLE_REPEAT_INIT_TIMES",()=>e0),T.export(o,"VARIABLE_REPEAT_UI_INIT_TIMES",()=>e1),T.export(o,"YOUTUBE_SUBTITLELIST_WATCH_URL",()=>e3),T.export(o,"YOUTUBE_SUBTITLELIST_WATCH_URL_EMBED",()=>e5),T.export(o,"ZIMU1_SUBTITLELIST_WATCH_URL",()=>e2),T.export(o,"CASCADER_OPTION_MIX",()=>e6),T.export(o,"CASCADER_OPTION_ZH",()=>e8),T.export(o,"CASCADER_OPTION_FOREIGN",()=>e4),T.export(o,"STORAGE_SUBTITLE_FOREIGN_FONTSIZE",()=>e7),T.export(o,"STORAGE_SUBTITLE_ZH_FONTSIZE",()=>e9),T.export(o,"SUBTITLE_FOREIGN_FONT_SIZE",()=>te),T.export(o,"STORAGE_SUBTITLELIST_FOREIGN_FONTSIZE",()=>tt),T.export(o,"STORAGE_SUBTITLELIST_ZH_FONTSIZE",()=>to),T.export(o,"STORAGE_ARTICLE_FONTSIZE",()=>tT),T.export(o,"STORAGE_SUBTITLE_FONT_FAMILY",()=>t_),T.export(o,"STORAGE_SUBTITLE_NO",()=>tr),T.export(o,"STORAGE_SUBTITLE_NO_CURRENT_TIME",()=>tE),T.export(o,"BILIBILI_COM",()=>tI),T.export(o,"YOUTUBE_COM",()=>ti),T.export(o,"ZIMU1_COM",()=>ts),T.export(o,"PAN_BAIDU_COM",()=>tS),T.export(o,"PAN_BAIDU_COM_VIDEO",()=>tp),T.export(o,"YOUTUBESUBTITLELIST",()=>tl),T.export(o,"NEXTJSSUBTITLELIST",()=>tL),T.export(o,"BILIBILISUBTITLESWITCH",()=>tA),T.export(o,"YOUTUBESUBTITLESWITCH",()=>tn),T.export(o,"BAIDUPANSUBTITLESWITCH",()=>ta),T.export(o,"DRAGGABLESUBTITLELIST",()=>tO),T.export(o,"YOUTUBE_VALID_ORIGINS",()=>tu),T.export(o,"BILIBILI_VALID_ORIGINS",()=>tU),T.export(o,"ZIMU1_VALID_ORIGINS",()=>tR),T.export(o,"BAIDUPAN_VALID_ORIGINS",()=>tx),T.export(o,"JWT_IS_FALSE",()=>tB);let _=1,r=300,E=80,I=600,i=500,s=16,S=2,p=36,l="bwp-video",L="VIDEO_PAUSE",A="KEY_DOWN",n="CLICK_SUBTITLE",a="SENT_BILIBILI_AI_SUBTITLE_URL",O="SENT_YOUTUBE_SUBTITLE_API_URL",u="SENT_BAIDUPAN_SUBTITLE_API_URL",U="INIT_SUBTITLENODES",R="NO_SUBTITLENODES_DATA",x="api.bilibili.com/x/player/wbi/v2",B="/api/streaming",c="M3U8_SUBTITLE_SRT",d=".com/api/timedtext",D="K",N="J",b="I",f="U",M="H",g="L",h="R",G="Q",m="F",C="A",y="V",H="S",F="C",P=20,w="storage_randomUUID",V="alwaysRepeatPlay",v="playedThenPause",W="showEnDefinition",Y="storage_replay_times",z="storage_max_pause_time",K="subtitlelistTabsKey",Z="subtitlelistLanguageModeToShow",j="subtitlelistTabsScroll",X="showSubtitle",k="showZhSubtitle",q="showSubtitleList",J="showTTSSubtitleList",$="draggableSubtitleListX",Q="draggableSubtitleListY",ee="bilibiliTranslateSelectLang",et="showVideoMask",eo="showSubtitleListMask",eT="showFloatBall",e_="disableShortcuts",er="allShortcuts",eE="videoMaskHeight",eI=80,ei="followReadTimes",es=3,eS="followReadLength",ep=1.5,el="storage_post_idletime_activetime_lock",eL="idleTimeVideoActivetime",eA="idleTimeDraggableSubListActivetime",en="idleTimeNextjsSubListActivetime",ea="idleTimeDraggableDictActivetime",eO="idleTimeYoutubeSubListActivetime",eu="idleTimeVideoActivetimeOther",eU="idleTimeVideoActivetimeYoutube",eR="idleTimeVideoActivetimeBilibili",ex="idleTimeVideoActivetime1zimu",eB="idleTimeVideoActivetimeBaidupan",ec="storage_azure_key_code",ed="storage_azure_key_area",eD="storage_favorites_dicts",eN="maskBackdropBlurPxValue",eb=!0,ef="maskBackdropBlurColor",eM="rgba(255, 255, 255, 0.3)",eg="storage_user_info",eh={default:""},eG=[],em={next:D,pre:N,add:b,sub:f,videoMask:M,subMask:g,repeat:h,variableRepeat:G,followRead:m,fullMask:C,subtitleList:y,subtitle:H,zhSubtitle:F},eC="#16a34a",ey="21px",eH='ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',eF='ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',eP='ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',ew=[{value:1,label:"font-sans",origin:eH},{value:2,label:"font-serif",origin:eF},{value:3,label:"font-mono",origin:eP}],eV="700",ev="1.25",eW="zimu1_useStorage_sync_jwt",eY="zimu1_useStorage_sync_headimgurl",ez="zimu1_useStorage_sync_nickname",eK="zimu1_useStorage_sync_paid",eZ=1e3,ej=480,eX=150,ek=150,eq=30,eJ="#1e1e1e",e$=5,eQ=e$+1,e0=10,e1=e0+1,e3="youtube.com/watch",e5="youtube.com/embed",e2="1zimu.com/player",e6="mix",e8="zh",e4="foreign",e7="storageSubtitleForeignFontsize",e9="storageSubtitleZhFontsize",te=16,tt="storageSubtitlelistForeignFontsize",to="storageSubtitlelistZhFontsize",tT="storageArticleFontsize",t_="storage_subtitle_font_family",tr="storage_subtitle_no",tE="storage_subtitle_no_current_time",tI="bilibili.com",ti="youtube.com",ts="1zimu.com",tS="pan.baidu.com",tp="pan.baidu.com/pfile/video",tl="YoutubeSubtitleList",tL="NextjsSubtitleList",tA="BilibiliSubtitleSwitch",tn="YoutubeSubtitleSwitch",ta="BaidupanSubtitleSwitch",tO="DraggableSubtitleList",tu=["https://www.youtube.com","https://youtube.com"],tU=["https://www.bilibili.com","https://bilibili.com"],tR=["https://www.1zimu.com","https://1zimu.com"],tx=["https://pan.baidu.com/pfile/video","https://pan.baidu.com"],tB="jwt is false"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,t,o){o.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},o.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.exportAll=function(e,t){return Object.keys(e).forEach(function(o){"default"===o||"__esModule"===o||t.hasOwnProperty(o)||Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[o]}})}),t},o.export=function(e,t,o){Object.defineProperty(e,t,{enumerable:!0,get:o})}},{}]},["903XX"],"903XX","parcelRequiree1df"),globalThis.define=t; | 14,098 | injectBilibili.b2565a8c | js | en | javascript | code | {"qsc_code_num_words": 2263, "qsc_code_num_chars": 14098.0, "qsc_code_mean_word_length": 4.41184269, "qsc_code_frac_words_unique": 0.18382678, "qsc_code_frac_chars_top_2grams": 0.09605369, "qsc_code_frac_chars_top_3grams": 0.10977564, "qsc_code_frac_chars_top_4grams": 0.08112981, "qsc_code_frac_chars_dupe_5grams": 0.33613782, "qsc_code_frac_chars_dupe_6grams": 0.24038462, "qsc_code_frac_chars_dupe_7grams": 0.16766827, "qsc_code_frac_chars_dupe_8grams": 0.1083734, "qsc_code_frac_chars_dupe_9grams": 0.07852564, "qsc_code_frac_chars_dupe_10grams": 0.07852564, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01201201, "qsc_code_frac_chars_whitespace": 0.00794439, "qsc_code_size_file_byte": 14098.0, "qsc_code_num_lines": 1.0, "qsc_code_num_chars_line_max": 14098.0, "qsc_code_num_chars_line_mean": 14098.0, "qsc_code_frac_chars_alphabet": 0.7018447, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 2.0, "qsc_code_frac_chars_string_length": 0.42620044, "qsc_code_frac_chars_long_word_length": 0.26980637, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejavascript_cate_ast": 0.0, "qsc_codejavascript_cate_var_zero": null, "qsc_codejavascript_frac_lines_func_ratio": null, "qsc_codejavascript_num_statement_line": null, "qsc_codejavascript_score_lines_no_logic": null, "qsc_codejavascript_frac_words_legal_var_name": null, "qsc_codejavascript_frac_words_legal_func_name": null, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 1, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 1, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 0, "qsc_codejavascript_score_lines_no_logic": 0, "qsc_codejavascript_frac_lines_print": 0} |
1zilc/fishing-funds | src/renderer/components/TypeSelection/index.tsx | import React, { useState } from 'react';
import { Row, Col } from 'antd';
import clsx from 'clsx';
import styles from './index.module.css';
export interface TypeOption {
name: string;
type: any;
code: any;
}
interface TypeSelectionProps {
activeType: any;
types: TypeOption[];
style?: Record<string, any>;
onSelected: (option: TypeOption) => void;
colspan?: number;
flex?: boolean;
}
const TypeSelection: React.FC<TypeSelectionProps> = ({
activeType,
types = [],
style = {},
onSelected,
colspan = Math.ceil(24 / types.length),
flex,
}) => {
return (
<div className={styles.selections} style={style}>
<Row gutter={[10, 10]}>
{types.map((item) => (
<Col key={item.type} span={colspan} flex={flex ? colspan : undefined} style={{ textAlign: 'center' }}>
<span
className={clsx(styles.selection, {
[styles.active]: activeType === item.type,
})}
onClick={() => onSelected(item)}
>
{item.name}
</span>
</Col>
))}
</Row>
</div>
);
};
export default TypeSelection;
| 1,158 | index | tsx | en | tsx | code | {"qsc_code_num_words": 112, "qsc_code_num_chars": 1158.0, "qsc_code_mean_word_length": 5.77678571, "qsc_code_frac_words_unique": 0.5, "qsc_code_frac_chars_top_2grams": 0.08655332, "qsc_code_frac_chars_top_3grams": 0.0, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00719424, "qsc_code_frac_chars_whitespace": 0.27979275, "qsc_code_size_file_byte": 1158.0, "qsc_code_num_lines": 50.0, "qsc_code_num_chars_line_max": 113.0, "qsc_code_num_chars_line_mean": 23.16, "qsc_code_frac_chars_alphabet": 0.76858513, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03195164, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/Company/index.tsx | import React, { useEffect, useState } from 'react';
import ChartCard from '@/components/Card/ChartCard';
import { useAppSelector } from '@/utils/hooks';
import * as Services from '@/services';
import * as Enums from '@/utils/enums';
import styles from './index.module.css';
export const defaultCompany: Stock.Company = {
gsjs: '',
sshy: '', // 所属行业
dsz: '', // 董事长
zcdz: '', // 注册地址
clrq: '', // 成立日期
ssrq: '', // 上市日期
};
export interface CompanyProps {
secid: string;
}
const Company: React.FC<CompanyProps> = ({ secid }) => {
const [company, setCompany] = useState<Stock.Company>(defaultCompany);
const codeMap = useAppSelector((state) => state.wallet.stockConfigCodeMap);
const stock = codeMap[secid];
async function getCompany(type: Enums.StockMarketType) {
let company = defaultCompany;
switch (type) {
case Enums.StockMarketType.AB:
company = await Services.Stock.GetABCompany(secid);
break;
case Enums.StockMarketType.HK:
company = await Services.Stock.GetHKCompany(secid);
break;
case Enums.StockMarketType.US:
company = await Services.Stock.GetUSCompany(secid);
break;
case Enums.StockMarketType.XSB:
company = await Services.Stock.GetXSBCompany(secid);
break;
default:
break;
}
setCompany(company);
}
useEffect(() => {
getCompany(stock?.type);
}, []);
return (
<ChartCard auto onFresh={() => getCompany(stock?.type)}>
<div className={styles.content}>
<div>
<label>董事长/法人代表:</label>
<span>{company.dsz || '暂无~'}</span>
</div>
<div>
<label>所属行业:</label>
<span>{company.sshy || '暂无~'}</span>
</div>
<div>
<label>注册地址:</label>
<span>{company.zcdz || '暂无~'}</span>
</div>
<div>
<label>成立日期:</label>
<span>{company.clrq || '暂无~'}</span>
</div>
<div>
<label>上市日期:</label>
<span>{company.ssrq || '暂无~'}</span>
</div>
<div>
<span>{company.gsjs || '暂无公司简介~'}</span>
</div>
</div>
</ChartCard>
);
};
export default Company;
| 2,210 | index | tsx | en | tsx | code | {"qsc_code_num_words": 216, "qsc_code_num_chars": 2210.0, "qsc_code_mean_word_length": 5.83796296, "qsc_code_frac_words_unique": 0.34259259, "qsc_code_frac_chars_top_2grams": 0.05233941, "qsc_code_frac_chars_top_3grams": 0.04758128, "qsc_code_frac_chars_top_4grams": 0.04758128, "qsc_code_frac_chars_dupe_5grams": 0.13481364, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.2638009, "qsc_code_size_file_byte": 2210.0, "qsc_code_num_lines": 82.0, "qsc_code_num_chars_line_max": 78.0, "qsc_code_num_chars_line_mean": 26.95121951, "qsc_code_frac_chars_alphabet": 0.7750461, "qsc_code_frac_chars_comments": 0.01538462, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.26666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04963235, "qsc_code_frac_chars_long_word_length": 0.01240809, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/ФормаПолученияТокена.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="7c97287d-bf6c-44dc-b05a-5f950a6fbf7b">
<Properties>
<Name>ФормаПолученияТокена</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Форма получения токена</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,525 | ФормаПолученияТокена | xml | ru | xml | data | {"qsc_code_num_words": 249, "qsc_code_num_chars": 1525.0, "qsc_code_mean_word_length": 4.32931727, "qsc_code_frac_words_unique": 0.3373494, "qsc_code_frac_chars_top_2grams": 0.08348794, "qsc_code_frac_chars_top_3grams": 0.11131725, "qsc_code_frac_chars_top_4grams": 0.13914657, "qsc_code_frac_chars_dupe_5grams": 0.4109462, "qsc_code_frac_chars_dupe_6grams": 0.4109462, "qsc_code_frac_chars_dupe_7grams": 0.28293135, "qsc_code_frac_chars_dupe_8grams": 0.22634508, "qsc_code_frac_chars_dupe_9grams": 0.0445269, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07394366, "qsc_code_frac_chars_whitespace": 0.06885246, "qsc_code_size_file_byte": 1525.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 69.31818182, "qsc_code_frac_chars_alphabet": 0.68450704, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.47147541, "qsc_code_frac_chars_long_word_length": 0.05639344, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/DetailStockContent/HoldFunds/index.tsx | import React, { PropsWithChildren, useState, useEffect } from 'react';
import { Table } from 'antd';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import CustomDrawer from '@/components/CustomDrawer';
import { useDrawer, useAppSelector } from '@/utils/hooks';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
const AddFundContent = React.lazy(() => import('@/components/Home/FundView/AddFundContent'));
const DetailFundContent = React.lazy(() => import('@/components/Home/FundView/DetailFundContent'));
interface HoldFundsProps {
secid: string;
}
const HoldFunds: React.FC<PropsWithChildren<HoldFundsProps>> = ({ secid }) => {
const codeMap = useAppSelector((state) => state.wallet.fundConfigCodeMap);
const [dateIndex, setDateIndex] = useState(0);
const { data: detailCode, show: showDetailDrawer, set: setDetailDrawer, close: closeDetailDrawer } = useDrawer('');
const { data: addCode, show: showAddDrawer, set: setAddDrawer, close: closeAddDrawer } = useDrawer('');
const columns = [
{
title: '名称',
dataIndex: 'HOLDER_NAME',
ellipsis: true,
render: (text: string) => <a>{text}</a>,
},
{
title: '总股数(万)',
dataIndex: 'TOTAL_SHARES',
render: (text: number) => <div>{(text / 10 ** 4).toFixed(2)}</div>,
sorter: (a: any, b: any) => Number(a.TOTAL_SHARES) - Number(b.TOTAL_SHARES),
},
{
title: '总市值(亿)',
dataIndex: 'HOLD_MARKET_CAP',
render: (text: number) => <div>{(text / 10 ** 8).toFixed(2)}</div>,
sorter: (a: any, b: any) => Number(a.HOLD_MARKET_CAP) - Number(b.HOLD_MARKET_CAP),
},
{
title: '操作',
render: (text: string, record: any) => {
return !codeMap[record.HOLDER_CODE] ? (
<a
onClick={(e) => {
setAddDrawer(record.HOLDER_CODE);
e.stopPropagation();
}}
>
自选
</a>
) : (
<div>已添加</div>
);
},
},
];
const { data: date = [], loading: dateLoading } = useRequest(Services.Stock.GetReportDate);
const {
data = [],
run: runStockGetStockHoldFunds,
loading,
} = useRequest(() => Services.Stock.GetStockHoldFunds(secid, date[dateIndex]), {
refreshDeps: [dateIndex],
ready: !!date[dateIndex],
});
useEffect(() => {
if (!data.length) {
setDateIndex(1);
}
}, [data]);
return (
<ChartCard auto onFresh={runStockGetStockHoldFunds} TitleBar={<div className={styles.titleBar}>{date[dateIndex]}</div>}>
<div className={styles.content}>
<Table
rowKey="HOLDER_CODE"
size="small"
columns={columns}
dataSource={data}
loading={loading || dateLoading}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
onRow={(record) => ({
onClick: () => setDetailDrawer(record.HOLDER_CODE),
})}
/>
<CustomDrawer show={showDetailDrawer}>
<DetailFundContent onEnter={closeDetailDrawer} onClose={closeDetailDrawer} code={detailCode} />
</CustomDrawer>
<CustomDrawer show={showAddDrawer}>
<AddFundContent defaultCode={addCode} onClose={closeAddDrawer} onEnter={closeAddDrawer} />
</CustomDrawer>
</div>
</ChartCard>
);
};
export default HoldFunds;
| 3,509 | index | tsx | en | tsx | code | {"qsc_code_num_words": 315, "qsc_code_num_chars": 3509.0, "qsc_code_mean_word_length": 6.60634921, "qsc_code_frac_words_unique": 0.40634921, "qsc_code_frac_chars_top_2grams": 0.01729938, "qsc_code_frac_chars_top_3grams": 0.01874099, "qsc_code_frac_chars_top_4grams": 0.02402691, "qsc_code_frac_chars_dupe_5grams": 0.09034118, "qsc_code_frac_chars_dupe_6grams": 0.09034118, "qsc_code_frac_chars_dupe_7grams": 0.03075444, "qsc_code_frac_chars_dupe_8grams": 0.03075444, "qsc_code_frac_chars_dupe_9grams": 0.03075444, "qsc_code_frac_chars_dupe_10grams": 0.03075444, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0045283, "qsc_code_frac_chars_whitespace": 0.24479909, "qsc_code_size_file_byte": 3509.0, "qsc_code_num_lines": 107.0, "qsc_code_num_chars_line_max": 125.0, "qsc_code_num_chars_line_mean": 32.79439252, "qsc_code_frac_chars_alphabet": 0.78075472, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06060606, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08036478, "qsc_code_frac_chars_long_word_length": 0.03904246, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Ext/Help/ru.html | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html;charset=utf-8" http-equiv="content-type"></meta><link rel="stylesheet" type="text/css" href="v8help://service_book/service_style"></link><meta name="GENERATOR" content="MSHTML 11.00.10570.1001"></meta></head><body>
<p>В случае если к другому приложению нет возможности прямого подключения по локальной сети или через Интернет (веб-сервисы), рекомендуется использовать другие каналы связи, например <strong>Google Drive</strong>. При этом приложения, между которыми настроена синхронизация данных, могут работать полностью автономно друг от друга и в разное время. Такой вариант подходит не только для синхронизации данных с приложениями, расположенными в других сетях (офисах), но и для приложений в одной сети.</p>
<p>При настройке синхронизации будет сформирован файл(ы) с настройками подключения (*.xml и *.json). В приложении-корреспонденте при выборе типа подключения, необходимо выбрать опцию <strong>Продолжение настройки</strong>, выбрать необходимый тип подключения и загрузить файл с настройками подключения</p>
<ul><li>Введите параметры доступа к сервису: <strong>Client ID</strong>, <strong>Client Secret</strong>, <strong>Access Token</strong> и <strong>Refresh Token</strong>. По нажатию кнопки Получить токен, откроется инструкцию по настройке сервиса и получению параметров доступа.</li>
<li>Включите флажок <strong>Сжимать отправляемые данные в архив</strong> , для того чтобы ограничить размер отправляемого сообщения.</li>
<li>Введите <strong>Пароль</strong> архива для сжатия и распаковки архива сообщения обмена. Подразумевается, что пароль сжатия в приложении-источнике и пароль распаковки в приложении-приемнике должны быть одинаковыми для пары обменивающихся приложений.</li>
</ul></body></html> | 1,820 | ru | html | ru | html | code | {"qsc_code_num_words": 254, "qsc_code_num_chars": 1820.0, "qsc_code_mean_word_length": 5.68897638, "qsc_code_frac_words_unique": 0.65354331, "qsc_code_frac_chars_top_2grams": 0.02283737, "qsc_code_frac_chars_top_3grams": 0.03183391, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01101591, "qsc_code_frac_chars_whitespace": 0.1021978, "qsc_code_size_file_byte": 1820.0, "qsc_code_num_lines": 7.0, "qsc_code_num_chars_line_max": 501.0, "qsc_code_num_chars_line_mean": 260.0, "qsc_code_frac_chars_alphabet": 0.87270502, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08626374, "qsc_code_frac_chars_long_word_length": 0.03186813, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codehtml_cate_ast": 1.0, "qsc_codehtml_frac_words_text": 0.71813187, "qsc_codehtml_num_chars_text": 1307.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 1, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_codehtml_cate_ast": 0, "qsc_codehtml_frac_words_text": 0, "qsc_codehtml_num_chars_text": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/EconomicCalendarContent/Metting/index.tsx | import React, { PropsWithChildren, useState } from 'react';
import dayjs from 'dayjs';
import { Table } from 'antd';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import * as Services from '@/services';
import styles from './index.module.css';
interface MettingProps {
code: string;
}
const today = dayjs();
const Metting: React.FC<PropsWithChildren<MettingProps>> = (props) => {
const { code } = props;
const {
data = [],
loading,
run: runStockGetMeetingData,
} = useRequest(() =>
Services.Stock.GetMeetingData({
code,
startTime: today.format('YYYY-MM-DD'),
endTime: today.add(1, 'month').format('YYYY-MM-DD'),
})
);
return (
<ChartCard auto onFresh={runStockGetMeetingData}>
<div className={styles.content}>
<Table
rowKey="id"
size="small"
columns={[
{
title: '时间',
dataIndex: 'START_DATE',
width: 100,
render: (text: string, record) => {
const isSingle = record.START_DATE === record.END_DATE;
return (
<span className="text-center">
{isSingle
? dayjs(record.START_DATE).format('MM-DD')
: `${dayjs(record.START_DATE).format('MM-DD')} 至 ${dayjs(record.END_DATE).format('MM-DD')}`}
</span>
);
},
},
{
title: '内容',
dataIndex: 'FE_NAME',
ellipsis: true,
},
]}
dataSource={data}
loading={loading}
pagination={{
defaultPageSize: 10,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
/>
</div>
</ChartCard>
);
};
export default Metting;
| 1,900 | index | tsx | en | tsx | code | {"qsc_code_num_words": 163, "qsc_code_num_chars": 1900.0, "qsc_code_mean_word_length": 5.87116564, "qsc_code_frac_words_unique": 0.50920245, "qsc_code_frac_chars_top_2grams": 0.02089864, "qsc_code_frac_chars_top_3grams": 0.04702194, "qsc_code_frac_chars_top_4grams": 0.04388715, "qsc_code_frac_chars_dupe_5grams": 0.06269592, "qsc_code_frac_chars_dupe_6grams": 0.06269592, "qsc_code_frac_chars_dupe_7grams": 0.06269592, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00488599, "qsc_code_frac_chars_whitespace": 0.35368421, "qsc_code_size_file_byte": 1900.0, "qsc_code_num_lines": 71.0, "qsc_code_num_chars_line_max": 115.0, "qsc_code_num_chars_line_mean": 26.76056338, "qsc_code_frac_chars_alphabet": 0.77442997, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.07692308, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08736842, "qsc_code_frac_chars_long_word_length": 0.01421053, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/EconomicCalendarContent/ClosedCalendar/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import { Calendar } from 'antd';
import clsx from 'clsx';
import dayjs from 'dayjs';
import ChartCard from '@/components/Card/ChartCard';
import TypeSelection from '@/components/TypeSelection';
import * as Services from '@/services';
import styles from './index.module.css';
const marketTypeList = [
{ name: 'A股', type: 0, code: '0' },
{ name: '港股', type: 1, code: '1' },
{ name: '港股通(沪)、港股通(深)', type: 2, code: '2' },
{ name: '沪股通、深股通', type: 3, code: '3' },
];
const today = dayjs();
interface ClosedCalendarProps {}
const ClosedCalendar: React.FC<ClosedCalendarProps> = () => {
const [marketType, setMarketType] = useState(marketTypeList[0]);
const { data: closeDates = [], run: runStockGetCloseDayDates } = useRequest(Services.Stock.GetCloseDayDates);
const currentCloseDates = closeDates.filter(({ MKT }) => marketType.name === MKT);
return (
<ChartCard TitleBar={<div className={styles.titleBar}>仅展示节假日、特殊工作日</div>} onFresh={runStockGetCloseDayDates}>
<div className={clsx(styles.content)}>
<Calendar
fullscreen={false}
validRange={[today.subtract(1, 'year'), today.add(1, 'year')]}
fullCellRender={(d) => {
const date = dayjs(d.format('YYYY/M/D'));
const day = currentCloseDates.find(({ SDATE, EDATE }) => date.isSameOrAfter(SDATE) && date.isSameOrBefore(EDATE));
const isToday = date.isSame(today.format('YYYY/M/D'));
return (
<div className={styles.filed}>
{day ? (
<div className="flex flex-column f-a-i-c">
<span className={styles.closed}>{isToday ? '今' : '休'}</span>
<div className={styles.holiday}>{day.HOLIDAY.slice(0, 2)}</div>
</div>
) : isToday ? (
'今'
) : (
d.date()
)}
</div>
);
}}
/>
</div>
<TypeSelection
types={marketTypeList}
activeType={marketType.type}
onSelected={setMarketType}
style={{ marginTop: 10, marginBottom: 10 }}
colspan={12}
/>
</ChartCard>
);
};
export default ClosedCalendar;
| 2,310 | index | tsx | en | tsx | code | {"qsc_code_num_words": 225, "qsc_code_num_chars": 2310.0, "qsc_code_mean_word_length": 5.81333333, "qsc_code_frac_words_unique": 0.46222222, "qsc_code_frac_chars_top_2grams": 0.04587156, "qsc_code_frac_chars_top_3grams": 0.0412844, "qsc_code_frac_chars_top_4grams": 0.01834862, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01130952, "qsc_code_frac_chars_whitespace": 0.27272727, "qsc_code_size_file_byte": 2310.0, "qsc_code_num_lines": 66.0, "qsc_code_num_chars_line_max": 127.0, "qsc_code_num_chars_line_mean": 35.0, "qsc_code_frac_chars_alphabet": 0.7672619, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.15254237, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07965368, "qsc_code_frac_chars_long_word_length": 0.02294372, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/StockRankingContent/NorthRank/index.tsx | import React, { PropsWithChildren, useState, useEffect } from 'react';
import { Table } from 'antd';
import { useRequest } from 'ahooks';
import CustomDrawer from '@/components/CustomDrawer';
import TypeSelection from '@/components/TypeSelection';
import ColorfulTags from '@/components/ColorfulTags';
import { useDrawer, useAppSelector } from '@/utils/hooks';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
const AddStockContent = React.lazy(() => import('@/components/Home/StockView/AddStockContent'));
interface NorthRankProps {}
const dayTypeList = [
{ name: '今日', type: '1', code: '1' },
{ name: '3日', type: '3', code: '3' },
{ name: '5日', type: '5', code: '5' },
{ name: '10日', type: '10', code: '10' },
{ name: '季度', type: 'Q', code: 'Q' },
{ name: '1年', type: 'Y', code: 'Y' },
];
const NorthRank: React.FC<PropsWithChildren<NorthRankProps>> = () => {
const [dayType, setDayType] = useState(dayTypeList[0]);
const { data: addName, show: showAddDrawer, set: setAddDrawer, close: closeAddDrawer } = useDrawer('');
const columns = [
{
title: '名称',
dataIndex: 'SECURITY_NAME',
ellipsis: true,
render: (text: string, record: any) => <a>{text}</a>,
},
{
title: `涨跌`,
dataIndex: 'CHANGE_RATE',
render: (text: string) => <div className={Utils.GetValueColor(text).textClass}>{text}%</div>,
sorter: (a: any, b: any) => a.CHANGE_RATE - b.CHANGE_RATE,
},
{
title: `增持`,
dataIndex: 'ADD_MARKET_CAP',
render: (text: string) => <div>{text}亿</div>,
sorter: (a: any, b: any) => a.ADD_MARKET_CAP - b.ADD_MARKET_CAP,
},
{
title: `板块`,
dataIndex: 'INDUSTRY_NAME',
render: (text: string) => (
<div className={styles.tag}>
<ColorfulTags tags={[text]} />
</div>
),
},
];
const { data = [], loading } = useRequest(() => Services.Stock.GetNorthRankFromEastmoney(dayType.code), {
refreshDeps: [dayType.code],
cacheKey: Utils.GenerateRequestKey('Stock.GetNorthRankFromEastmoney', dayType.code),
});
return (
<div className={styles.content}>
<TypeSelection
types={dayTypeList}
activeType={dayType.type}
onSelected={setDayType}
style={{ marginTop: 10, marginBottom: 10 }}
/>
<Table
rowKey="code"
size="small"
columns={columns}
dataSource={data}
loading={loading}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
onRow={(record) => ({
onClick: () => setAddDrawer(record.SECURITY_NAME),
})}
/>
<CustomDrawer show={showAddDrawer}>
<AddStockContent defaultName={addName} onClose={closeAddDrawer} onEnter={closeAddDrawer} />
</CustomDrawer>
</div>
);
};
export default NorthRank;
| 2,959 | index | tsx | en | tsx | code | {"qsc_code_num_words": 286, "qsc_code_num_chars": 2959.0, "qsc_code_mean_word_length": 6.12937063, "qsc_code_frac_words_unique": 0.42657343, "qsc_code_frac_chars_top_2grams": 0.02281803, "qsc_code_frac_chars_top_3grams": 0.03650884, "qsc_code_frac_chars_top_4grams": 0.03251569, "qsc_code_frac_chars_dupe_5grams": 0.05248146, "qsc_code_frac_chars_dupe_6grams": 0.02053622, "qsc_code_frac_chars_dupe_7grams": 0.02053622, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00968736, "qsc_code_frac_chars_whitespace": 0.23251098, "qsc_code_size_file_byte": 2959.0, "qsc_code_num_lines": 96.0, "qsc_code_num_chars_line_max": 108.0, "qsc_code_num_chars_line_mean": 30.82291667, "qsc_code_frac_chars_alphabet": 0.76221929, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06976744, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10611693, "qsc_code_frac_chars_long_word_length": 0.0506928, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/StockView/StockRankingContent/StockRank/index.tsx | import React, { PropsWithChildren } from 'react';
import { Table } from 'antd';
import { useRequest } from 'ahooks';
import CustomDrawer from '@/components/CustomDrawer';
import { useDrawer, useAppSelector } from '@/utils/hooks';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
const DetailStockContent = React.lazy(() => import('@/components/Home/StockView/DetailStockContent'));
const AddStockContent = React.lazy(() => import('@/components/Home/StockView/AddStockContent'));
interface StockRankProps {
fsCode: string;
}
const StockRank: React.FC<PropsWithChildren<StockRankProps>> = (props) => {
const codeMap = useAppSelector((state) => state.wallet.stockConfigCodeMap);
const { data: detailSecid, show: showDetailDrawer, set: setDetailDrawer, close: closeDetailDrawer } = useDrawer('');
const { data: addName, show: showAddDrawer, set: setAddDrawer, close: closeAddDrawer } = useDrawer('');
const columns = [
{
title: '名称',
dataIndex: 'name',
ellipsis: true,
render: (text: string) => <a>{text}</a>,
},
{
title: `涨跌`,
dataIndex: 'zdf',
render: (text: string) => <div className={Utils.GetValueColor(text).textClass}>{text}%</div>,
sorter: (a: any, b: any) => a.zdf - b.zdf,
},
{
title: '操作',
render: (text: string, record: any) => {
return !codeMap[record.secid] ? (
<a
onClick={(e) => {
setAddDrawer(record.name);
e.stopPropagation();
}}
>
自选
</a>
) : (
<div>已添加</div>
);
},
},
];
const { data = [], loading } = useRequest(() => Services.Stock.GetStockRank(props.fsCode), {
cacheKey: Utils.GenerateRequestKey('Services.Stock.GetStockRank', props.fsCode),
});
return (
<div className={styles.content}>
<Table
rowKey="code"
size="small"
columns={columns}
dataSource={data}
loading={loading}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
onRow={(record) => ({
onClick: () => setDetailDrawer(record.secid),
})}
/>
<CustomDrawer show={showDetailDrawer}>
<DetailStockContent onEnter={closeDetailDrawer} onClose={closeDetailDrawer} secid={detailSecid} />
</CustomDrawer>
<CustomDrawer show={showAddDrawer}>
<AddStockContent defaultName={addName} onClose={closeAddDrawer} onEnter={closeAddDrawer} />
</CustomDrawer>
</div>
);
};
export default StockRank;
| 2,686 | index | tsx | en | tsx | code | {"qsc_code_num_words": 230, "qsc_code_num_chars": 2686.0, "qsc_code_mean_word_length": 7.0, "qsc_code_frac_words_unique": 0.43478261, "qsc_code_frac_chars_top_2grams": 0.01677019, "qsc_code_frac_chars_top_3grams": 0.02981366, "qsc_code_frac_chars_top_4grams": 0.0310559, "qsc_code_frac_chars_dupe_5grams": 0.09192547, "qsc_code_frac_chars_dupe_6grams": 0.04720497, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00098765, "qsc_code_frac_chars_whitespace": 0.24609084, "qsc_code_size_file_byte": 2686.0, "qsc_code_num_lines": 87.0, "qsc_code_num_chars_line_max": 119.0, "qsc_code_num_chars_line_mean": 30.87356322, "qsc_code_frac_chars_alphabet": 0.79407407, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.07692308, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.08786299, "qsc_code_frac_chars_long_word_length": 0.05249442, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1diot9/MyJavaSecStudy | CodeAudit/RuoYi/RuoYi-4.7.5/ruoyi-admin/src/main/resources/static/js/jquery.min.js | /*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document){throw Error("jQuery requires a window with a document")}return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t,n){n=n||Te;var r,i,o=n.createElement("script");if(o.text=e,t){for(r in Ce){i=t[r]||t.getAttribute&&t.getAttribute(r),i&&o.setAttribute(r,i)}}n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?he[ge.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length" in e&&e.length,n=r(e);return be(e)||we(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t,n){return be(t)?Se.grep(e,function(e,r){return !!t.call(e,r,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return de.call(t,e)>-1!==n}):Se.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;){}return e}function u(e){var t={};return Se.each(e.match(Re)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function c(e){throw e}function f(e,t,n,r){var i;try{e&&be(i=e.promise)?i.call(e).done(t).fail(n):e&&be(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){Te.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),Se.ready()}function d(e,t){return t.toUpperCase()}function h(e){return e.replace(Fe,"ms-").replace($e,d)}function g(){this.expando=Se.expando+g.uid++}function m(e){return"true"===e?!0:"false"===e?!1:"null"===e?null:e===+e+""?+e:Ue.test(e)?JSON.parse(e):e}function v(e,t,n){var r;if(void 0===n&&1===e.nodeType){if(r="data-"+t.replace(Xe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=m(n)}catch(i){}ze.set(e,t,n)}else{n=void 0}}return n}function y(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return Se.css(e,t,"")},u=s(),l=n&&n[3]||(Se.cssNumber[t]?"":"px"),c=e.nodeType&&(Se.cssNumber[t]||"px"!==l&&+u)&&Ge.exec(Se.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;){Se.style(e,t,c+l),(1-o)*(1-(o=s()/u||0.5))<=0&&(a=0),c/=o}c=2*c,Se.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function x(e){var t,n=e.ownerDocument,r=e.nodeName,i=et[r];return i?i:(t=n.body.appendChild(n.createElement(r)),i=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),et[r]=i,i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++){r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=_e.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ze(r)&&(i[o]=x(r))):"none"!==n&&(i[o]="none",_e.set(r,"display",n)))}for(o=0;a>o;o++){null!=i[o]&&(e[o].style.display=i[o])}return e}function w(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?Se.merge([e],n):n}function T(e,t){for(var n=0,r=e.length;r>n;n++){_e.set(e[n],"globalEval",!t||_e.get(t[n],"globalEval"))}}function C(e,t,n,i,o){for(var a,s,u,l,c,f,p=t.createDocumentFragment(),d=[],h=0,g=e.length;g>h;h++){if(a=e[h],a||0===a){if("object"===r(a)){Se.merge(d,a.nodeType?[a]:a)}else{if(ot.test(a)){for(s=s||p.appendChild(t.createElement("div")),u=(nt.exec(a)||["",""])[1].toLowerCase(),l=it[u]||it._default,s.innerHTML=l[1]+Se.htmlPrefilter(a)+l[2],f=l[0];f--;){s=s.lastChild}Se.merge(d,s.childNodes),s=p.firstChild,s.textContent=""}else{d.push(t.createTextNode(a))}}}}for(p.textContent="",h=0;a=d[h++];){if(i&&Se.inArray(a,i)>-1){o&&o.push(a)}else{if(c=Je(a),s=w(p.appendChild(a),"script"),c&&T(s),n){for(f=0;a=s[f++];){rt.test(a.type||"")&&n.push(a)}}}}return p}function E(){return !0}function S(){return !1}function k(e,t){return e===A()==("focus"===t)}function A(){try{return Te.activeElement}catch(e){}}function N(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t){N(e,s,n,r,t[s],o)}return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1){i=S}else{if(!i){return e}}return 1===o&&(a=i,i=function(e){return Se().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=Se.guid++)),e.each(function(){Se.event.add(this,t,i,r,n)})}function j(e,t,n){return n?(_e.set(e,t,!1),void Se.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=_e.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length){(Se.event.special[t]||{}).delegateType&&e.stopPropagation()}else{if(o=ce.call(arguments),_e.set(this,t,o),r=n(this,t),this[t](),i=_e.get(this,t),o!==i||r?_e.set(this,t,!1):i={},o!==i){return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}}}else{o.length&&(_e.set(this,t,{value:Se.event.trigger(Se.extend(o[0],Se.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}}})):void (void 0===_e.get(e,t)&&Se.event.add(e,t,E))}function D(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?Se(e).children("tbody")[0]||e:e}function q(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function L(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function H(e,t){var n,r,i,o,a,s,u;if(1===t.nodeType){if(_e.hasData(e)&&(o=_e.get(e),u=o.events)){_e.remove(t,"handle events");for(i in u){for(n=0,r=u[i].length;r>n;n++){Se.event.add(t,i,u[i][n])}}}ze.hasData(e)&&(a=ze.access(e),s=Se.extend({},a),ze.set(t,s))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&tt.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function P(e,t,r,i){t=fe(t);var o,a,s,u,l,c,f=0,p=e.length,d=p-1,h=t[0],g=be(h);if(g||p>1&&"string"==typeof h&&!xe.checkClone&&ut.test(h)){return e.each(function(n){var o=e.eq(n);g&&(t[0]=h.call(this,n,o.html())),P(o,t,r,i)})}if(p&&(o=C(t,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(s=Se.map(w(o,"script"),q),u=s.length;p>f;f++){l=o,f!==d&&(l=Se.clone(l,!0,!0),u&&Se.merge(s,w(l,"script"))),r.call(e[f],l,f)}if(u){for(c=s[s.length-1].ownerDocument,Se.map(s,L),f=0;u>f;f++){l=s[f],rt.test(l.type||"")&&!_e.access(l,"globalEval")&&Se.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?Se._evalUrl&&!l.noModule&&Se._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):n(l.textContent.replace(lt,""),l,c))}}}return e}function R(e,t,n){for(var r,i=t?Se.filter(t,e):e,o=0;null!=(r=i[o]);o++){n||1!==r.nodeType||Se.cleanData(w(r)),r.parentNode&&(n&&Je(r)&&T(w(r,"script")),r.parentNode.removeChild(r))}return e}function M(e,t,n){var r,i,o,a,s=ft.test(t),u=e.style;return n=n||pt(e),n&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(mt,"$1")),""!==a||Je(e)||(a=Se.style(e,t)),!xe.pixelBoxStyles()&&ct.test(a)&&ht.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function I(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function W(e){for(var t=e[0].toUpperCase()+e.slice(1),n=vt.length;n--;){if(e=vt[n]+t,e in yt){return e}}}function F(e){var t=Se.cssProps[e]||xt[e];return t?t:e in yt?e:xt[e]=W(e)||e}function B(e,t,n){var r=Ge.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function _(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content")){return 0}for(;4>a;a+=2){"margin"===n&&(u+=Se.css(e,n+Ye[a],!0,i)),r?("content"===n&&(u-=Se.css(e,"padding"+Ye[a],!0,i)),"margin"!==n&&(u-=Se.css(e,"border"+Ye[a]+"Width",!0,i))):(u+=Se.css(e,"padding"+Ye[a],!0,i),"padding"!==n?u+=Se.css(e,"border"+Ye[a]+"Width",!0,i):s+=Se.css(e,"border"+Ye[a]+"Width",!0,i))}return !r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-0.5))||0),u}function z(e,t,n){var r=pt(e),i=!xe.boxSizingReliable()||n,a=i&&"border-box"===Se.css(e,"boxSizing",!1,r),s=a,u=M(e,t,r),l="offset"+t[0].toUpperCase()+t.slice(1);if(ct.test(u)){if(!n){return u}u="auto"}return(!xe.boxSizingReliable()&&a||!xe.reliableTrDimensions()&&o(e,"tr")||"auto"===u||!parseFloat(u)&&"inline"===Se.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===Se.css(e,"boxSizing",!1,r),s=l in e,s&&(u=e[l])),u=parseFloat(u)||0,u+_(e,t,n||(a?"border":"content"),s,r,u)+"px"}function U(e,t,n,r,i){return new U.prototype.init(e,t,n,r,i)}function X(){Et&&(Te.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(X):e.setTimeout(X,Se.fx.interval),Se.fx.tick())}function V(){return e.setTimeout(function(){Ct=void 0}),Ct=Date.now()}function G(e,t){var n,r=0,i={height:e};for(t=t?1:0;4>r;r+=2-t){n=Ye[r],i["margin"+n]=i["padding"+n]=e}return t&&(i.opacity=i.width=e),i}function Y(e,t,n){for(var r,i=(K.tweeners[t]||[]).concat(K.tweeners["*"]),o=0,a=i.length;a>o;o++){if(r=i[o].call(n,t,e)){return r}}}function Q(e,t,n){var r,i,o,a,s,u,l,c,f="width" in t||"height" in t,p=this,d={},h=e.style,g=e.nodeType&&Ze(e),m=_e.get(e,"fxshow");n.queue||(a=Se._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,Se.queue(e,"fx").length||a.empty.fire()})}));for(r in t){if(i=t[r],St.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r]){continue}g=!0}d[r]=m&&m[r]||Se.style(e,r)}}if(u=!Se.isEmptyObject(t),u||!Se.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=m&&m.display,null==l&&(l=_e.get(e,"display")),c=Se.css(e,"display"),"none"===c&&(l?c=l:(b([e],!0),l=e.style.display||l,c=Se.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Se.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d){u||(m?"hidden" in m&&(g=m.hidden):m=_e.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&b([e],!0),p.done(function(){g||b([e]),_e.remove(e,"fxshow");for(r in d){Se.style(e,r,d[r])}})),u=Y(g?m[r]:0,r,p),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}}}function J(e,t){var n,r,i,o,a;for(n in e){if(r=h(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Se.cssHooks[r],a&&"expand" in a){o=a.expand(o),delete e[r];for(n in o){n in e||(e[n]=o[n],t[n]=i)}}else{t[r]=i}}}function K(e,t,n){var r,i,o=0,a=K.prefilters.length,s=Se.Deferred().always(function(){delete u.elem}),u=function(){if(i){return !1}for(var t=Ct||V(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;u>a;a++){l.tweens[a].run(o)}return s.notifyWith(e,[l,o,n]),1>o&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:Se.extend({},t),opts:Se.extend(!0,{specialEasing:{},easing:Se.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ct||V(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Se.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i){return this}for(i=!0;r>n;n++){l.tweens[n].run(1)}return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(J(c,l.opts.specialEasing);a>o;o++){if(r=K.prefilters[o].call(l,e,c,l.opts)){return be(r.stop)&&(Se._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r}}return Se.map(c,Y,l),be(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Se.fx.timer(Se.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function Z(e){var t=e.match(Re)||[];return t.join(" ")}function ee(e){return e.getAttribute&&e.getAttribute("class")||""}function te(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Re)||[]:[]}function ne(e,t,n,i){var o;if(Array.isArray(t)){Se.each(t,function(t,r){n||Mt.test(e)?i(e,r):ne(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)})}else{if(n||"object"!==r(t)){i(e,t)}else{for(o in t){ne(e+"["+o+"]",t[o],n,i)}}}}function re(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Re)||[];if(be(n)){for(;r=o[i++];){"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}}}function ie(e,t,n,r){function i(s){var u;return o[s]=!0,Se.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Yt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function oe(e,t){var n,r,i=Se.ajaxSettings.flatOptions||{};for(n in t){void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n])}return r&&Se.extend(!0,e,r),e}function ae(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];){u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"))}if(r){for(i in s){if(s[i]&&s[i].test(r)){u.unshift(i);break}}}if(u[0] in n){o=u[0]}else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function se(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1]){for(a in e.converters){l[a.toLowerCase()]=e.converters[a]}}for(o=c.shift();o;){if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift()){if("*"===o){o=u}else{if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a){for(i in l){if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}}}if(a!==!0){if(a&&e["throws"]){t=a(t)}else{try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}}}}}}return{state:"success",data:t}}var ue=[],le=Object.getPrototypeOf,ce=ue.slice,fe=ue.flat?function(e){return ue.flat.call(e)}:function(e){return ue.concat.apply([],e)},pe=ue.push,de=ue.indexOf,he={},ge=he.toString,me=he.hasOwnProperty,ve=me.toString,ye=ve.call(Object),xe={},be=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},we=function(e){return null!=e&&e===e.window},Te=e.document,Ce={type:!0,src:!0,nonce:!0,noModule:!0},Ee="3.6.1",Se=function(e,t){return new Se.fn.init(e,t)};Se.fn=Se.prototype={jquery:Ee,constructor:Se,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):0>e?this[e+this.length]:this[e]},pushStack:function(e){var t=Se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Se.each(this,e)},map:function(e){return this.pushStack(Se.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Se.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(Se.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:pe,sort:ue.sort,splice:ue.splice},Se.extend=Se.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||be(a)||(a={}),s===u&&(a=this,s--);u>s;s++){if(null!=(e=arguments[s])){for(t in e){r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(Se.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||Se.isPlainObject(n)?n:{},i=!1,a[t]=Se.extend(l,o,r)):void 0!==r&&(a[t]=r))}}}return a},Se.extend({expando:"jQuery"+(Ee+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return e&&"[object Object]"===ge.call(e)?(t=le(e))?(n=me.call(t,"constructor")&&t.constructor,"function"==typeof n&&ve.call(n)===ye):!0:!1},isEmptyObject:function(e){var t;for(t in e){return !1}return !0},globalEval:function(e,t,r){n(e,{nonce:t&&t.nonce},r)},each:function(e,t){var n,r=0;if(i(e)){for(n=e.length;n>r&&t.call(e[r],r,e[r])!==!1;r++){}}else{for(r in e){if(t.call(e[r],r,e[r])===!1){break}}}return e},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Se.merge(n,"string"==typeof e?[e]:e):pe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;r++){e[i++]=t[r]}return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++){r=!t(e[o],o),r!==s&&i.push(e[o])}return i},map:function(e,t,n){var r,o,a=0,s=[];if(i(e)){for(r=e.length;r>a;a++){o=t(e[a],a,n),null!=o&&s.push(o)}}else{for(a in e){o=t(e[a],a,n),null!=o&&s.push(o)}}return fe(s)},guid:1,support:xe}),"function"==typeof Symbol&&(Se.fn[Symbol.iterator]=ue[Symbol.iterator]),Se.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()});var ke=function(e){function t(e,t,n,r){var i,o,a,s,u,l,c,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h){return n}if(!r&&(L(t),t=t||H,P)){if(11!==h&&(u=xe.exec(e))){if(i=u[1]){if(9===h){if(!(a=t.getElementById(i))){return n}if(a.id===i){return n.push(a),n}}else{if(p&&(a=p.getElementById(i))&&W(t,a)&&a.id===i){return n.push(a),n}}}else{if(u[2]){return Z.apply(n,t.getElementsByTagName(e)),n}if((i=u[3])&&T.getElementsByClassName&&t.getElementsByClassName){return Z.apply(n,t.getElementsByClassName(i)),n}}}if(T.qsa&&!V[e+" "]&&(!R||!R.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(c=e,p=t,1===h&&(fe.test(e)||ce.test(e))){for(p=be.test(e)&&f(t.parentNode)||t,p===t&&T.scope||((s=t.getAttribute("id"))?s=s.replace(Ce,Ee):t.setAttribute("id",s=F)),l=k(e),o=l.length;o--;){l[o]=(s?"#"+s:":scope")+" "+d(l[o])}c=l.join(",")}try{return Z.apply(n,p.querySelectorAll(c)),n}catch(g){V(e,!0)}finally{s===F&&t.removeAttribute("id")}}}return N(e.replace(ue,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=H.createElement("fieldset");try{return !!e(t)}catch(n){return !1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;){C.attrHandle[n[r]]=t}}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r){return r}if(n){for(;n=n.nextSibling;){if(n===t){return -1}}}return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return function(t){return"form" in t?t.parentNode&&t.disabled===!1?"label" in t?"label" in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label" in t?t.disabled===e:!1}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;){n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}})})}function f(e){return e&&void 0!==e.getElementsByTagName&&e}function p(){}function d(e){for(var t=0,n=e.length,r="";n>t;t++){r+=e[t].value}return r}function h(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=_++;return t.first?function(t,n,i){for(;t=t[r];){if(1===t.nodeType||a){return e(t,n,i)}}return !1}:function(t,n,u){var l,c,f,p=[B,s];if(u){for(;t=t[r];){if((1===t.nodeType||a)&&e(t,n,u)){return !0}}}else{for(;t=t[r];){if(1===t.nodeType||a){if(f=t[F]||(t[F]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase()){t=t[r]||t}else{if((l=c[o])&&l[0]===B&&l[1]===s){return p[2]=l[2]}if(c[o]=p,p[2]=e(t,n,u)){return !0}}}}}return !1}}function g(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;){if(!e[i](t,n,r)){return !1}}return !0}:e[0]}function m(e,n,r){for(var i=0,o=n.length;o>i;i++){t(e,n[i],r)}return r}function v(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;u>s;s++){(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s))}return a}function y(e,t,n,i,o,a){return i&&!i[F]&&(i=y(i)),o&&!o[F]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:v(g,p,e,s,u),x=n?o||(r?e:h||i)?[]:a:y;if(n&&n(y,x,s,u),i){for(l=v(x,d),i(l,[],s,u),c=l.length;c--;){(f=l[c])&&(x[d[c]]=!(y[d[c]]=f))}}if(r){if(o||e){if(o){for(l=[],c=x.length;c--;){(f=x[c])&&l.push(y[c]=f)}o(null,x=[],l,u)}for(c=x.length;c--;){(f=x[c])&&(l=o?te(r,f):p[c])>-1&&(r[l]=!(a[l]=f))}}}else{x=v(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):Z.apply(a,x)}})}function x(e){for(var t,n,r,i=e.length,o=C.relative[e[0].type],a=o||C.relative[" "],s=o?1:0,u=h(function(e){return e===t},a,!0),l=h(function(e){return te(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==j)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];i>s;s++){if(n=C.relative[e[s].type]){c=[h(g(c),n)]}else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;i>r&&!C.relative[e[r].type];r++){}return y(s>1&&g(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,r>s&&x(e.slice(s,r)),i>r&&x(e=e.slice(r)),i>r&&d(e))}c.push(n)}}return g(c)}function b(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,p,d=0,h="0",g=r&&[],m=[],y=j,x=r||o&&C.find.TAG("*",l),b=B+=null==y?1:Math.random()||0.1,w=x.length;for(l&&(j=a==H||a||l);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument==H||(L(c),s=!P);p=e[f++];){if(p(c,a||H,s)){u.push(c);break}}l&&(B=b)}i&&((c=!p&&c)&&d--,r&&g.push(c))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];){p(g,m,a,s)}if(r){if(d>0){for(;h--;){g[h]||m[h]||(m[h]=J.call(u))}}m=v(m)}Z.apply(u,m),l&&!r&&m.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&(B=b,j=y),g};return i?r(a):a}var w,T,C,E,S,k,A,N,j,D,q,L,H,O,P,R,M,I,W,F="sizzle"+1*new Date,$=e.document,B=0,_=0,z=n(),U=n(),X=n(),V=n(),G=function(e,t){return e===t&&(q=!0),0},Y={}.hasOwnProperty,Q=[],J=Q.pop,K=Q.push,Z=Q.push,ee=Q.slice,te=function(e,t){for(var n=0,r=e.length;r>n;n++){if(e[n]===t){return n}}return -1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+",oe="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=RegExp(re+"+","g"),ue=RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),le=RegExp("^"+re+"*,"+re+"*"),ce=RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),fe=RegExp(re+"|>"),pe=RegExp(ae),de=RegExp("^"+ie+"$"),he={ID:RegExp("^#("+ie+")"),CLASS:RegExp("^\\.("+ie+")"),TAG:RegExp("^("+ie+"|[*])"),ATTR:RegExp("^"+oe),PSEUDO:RegExp("^"+ae),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:RegExp("^(?:"+ne+")$","i"),needsContext:RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ge=/HTML$/i,me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,xe=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,we=RegExp("\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\([^\\r\\n\\f])","g"),Te=function(e,t){var n="0x"+e.slice(1)-65536;return t?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ee=function(e,t){return t?"\x00"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){L()},ke=h(function(e){return e.disabled===!0&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(Q=ee.call($.childNodes),$.childNodes),Q[$.childNodes.length].nodeType}catch(Ae){Z={apply:Q.length?function(e,t){K.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];){}e.length=n-1}}}T=t.support={},S=t.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return !ge.test(t||n&&n.nodeName||"HTML")},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:$;return r!=H&&9===r.nodeType&&r.documentElement?(H=r,O=H.documentElement,P=!S(H),$!=H&&(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),T.scope=i(function(e){return O.appendChild(e).appendChild(H.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),T.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=ye.test(H.getElementsByClassName),T.getById=i(function(e){return O.appendChild(e).id=F,!H.getElementsByName||!H.getElementsByName(F).length}),T.getById?(C.filter.ID=function(e){var t=e.replace(we,Te);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(C.filter.ID=function(e){var t=e.replace(we,Te);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&P){var n,r,i,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e){return[o]}for(i=t.getElementsByName(e),r=0;o=i[r++];){if(n=o.getAttributeNode("id"),n&&n.value===e){return[o]}}}return[]}}),C.find.TAG=T.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):T.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];){1===n.nodeType&&r.push(n)}return r}return o},C.find.CLASS=T.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&P?t.getElementsByClassName(e):void 0},M=[],R=[],(T.qsa=ye.test(H.querySelectorAll))&&(i(function(e){var t;O.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+F+"-]").length||R.push("~="),t=H.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||R.push("\\["+re+"*name"+re+"*="+re+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||R.push(".#.+[+~]"),e.querySelectorAll("\\\f"),R.push("[\\r\\n\\f]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+re+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(T.matchesSelector=ye.test(I=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){T.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),M.push("!=",ae)}),R=R.length&&RegExp(R.join("|")),M=M.length&&RegExp(M.join("|")),t=ye.test(O.compareDocumentPosition),W=t||ye.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t){for(;t=t.parentNode;){if(t===e){return !0}}}return !1},G=t?function(e,t){if(e===t){return q=!0,0}var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!T.sortDetached&&t.compareDocumentPosition(e)===n?e==H||e.ownerDocument==$&&W($,e)?-1:t==H||t.ownerDocument==$&&W($,t)?1:D?te(D,e)-te(D,t):0:4&n?-1:1)}:function(e,t){if(e===t){return q=!0,0}var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o){return e==H?-1:t==H?1:i?-1:o?1:D?te(D,e)-te(D,t):0}if(i===o){return a(e,t)}for(n=e;n=n.parentNode;){s.unshift(n)}for(n=t;n=n.parentNode;){u.unshift(n)}for(;s[r]===u[r];){r++}return r?a(s[r],u[r]):s[r]==$?-1:u[r]==$?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if(L(e),T.matchesSelector&&P&&!V[n+" "]&&(!M||!M.test(n))&&(!R||!R.test(n))){try{var r=I.call(e,n);if(r||T.disconnectedMatch||e.document&&11!==e.document.nodeType){return r}}catch(i){V(n,!0)}}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!=H&&L(e),W(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!=H&&L(e);var n=C.attrHandle[t.toLowerCase()],r=n&&Y.call(C.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:T.attributes||!P?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(Ce,Ee)},t.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(q=!T.detectDuplicates,D=!T.sortStable&&e.slice(0),e.sort(G),q){for(;t=e[i++];){t===e[i]&&(r=n.push(i))}for(;r--;){e.splice(n[r],1)}}return D=null,e},E=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent){return e.textContent}for(e=e.firstChild;e;e=e.nextSibling){n+=E(e)}}else{if(3===i||4===i){return e.nodeValue}}}else{for(;t=e[r++];){n+=E(t)}}return n},C=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(we,Te),e[3]=(e[3]||e[4]||e[5]||"").replace(we,Te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(we,Te).toLowerCase();return"*"===e?function(){return !0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(se," ")+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return !!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];){if(s?p.nodeName.toLowerCase()===v:1===p.nodeType){return !1}}h=g="only"===e&&!h&&"nextSibling"}return !0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(p=m,f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===B&&l[1],x=d&&l[2],p=d&&m.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();){if(1===p.nodeType&&++x&&p===t){c[e]=[B,d,x];break}}}else{if(y&&(p=t,f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===B&&l[1],x=d),x===!1){for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++x||(y&&(f=p[F]||(p[F]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[e]=[B,x]),p!==t));){}}}return x-=i,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(i=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;){r=te(e,i[a]),e[r]=!(t[r]=i[a])}}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=A(e.replace(ue,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;){(o=a[s])&&(e[s]=!(t[s]=o))}}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(we,Te),function(t){return(t.textContent||E(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(we,Te).toLowerCase(),function(t){var n;do{if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}}while((t=t.parentNode)&&1===t.nodeType);return !1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return !1}}return !0},parent:function(e){return !C.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2){e.push(n)}return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2){e.push(n)}return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n>t?t:n;--r>=0;){e.push(r)}return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r<t;){e.push(r)}return e})}},C.pseudos.nth=C.pseudos.eq;for(w in {radio:!0,checkbox:!0,file:!0,password:!0,image:!0}){C.pseudos[w]=s(w)}for(w in {submit:!0,reset:!0}){C.pseudos[w]=u(w)}return p.prototype=C.filters=C.pseudos,C.setFilters=new p,k=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=U[e+" "];if(c){return n?0:c.slice(0)}for(s=e,u=[],l=C.preFilter;s;){(!r||(i=le.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=ce.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ue," ")}),s=s.slice(r.length));for(a in C.filter){!(i=he[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length))}if(!r){break}}return n?s.length:s?t.error(e):U(e,u).slice(0)},A=t.compile=function(e,t){var n,r=[],i=[],o=X[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;){o=x(t[n]),o[F]?r.push(o):i.push(o)}o=X(e,b(i,r)),o.selector=e}return o},N=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&k(e=l.selector||e);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&P&&C.relative[o[1].type]){if(t=(C.find.ID(a.matches[0].replace(we,Te),t)||[])[0],!t){return n}l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!C.relative[s=a.type]);){if((u=C.find[s])&&(r=u(a.matches[0].replace(we,Te),be.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e){return Z.apply(n,r),n}break}}}return(l||A(e,c))(r,t,!P,n,!t||be.test(e)&&f(t.parentNode)||t),n},T.sortStable=F.split("").sort(G).join("")===F,T.detectDuplicates=!!q,L(),T.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);Se.find=ke,Se.expr=ke.selectors,Se.expr[":"]=Se.expr.pseudos,Se.uniqueSort=Se.unique=ke.uniqueSort,Se.text=ke.getText,Se.isXMLDoc=ke.isXML,Se.contains=ke.contains,Se.escapeSelector=ke.escape;var Ae=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;){if(1===e.nodeType){if(i&&Se(e).is(n)){break}r.push(e)}}return r},Ne=function(e,t){for(var n=[];e;e=e.nextSibling){1===e.nodeType&&e!==t&&n.push(e)}return n},je=Se.expr.match.needsContext,De=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Se.find.matchesSelector(r,e)?[r]:[]:Se.find.matches(e,Se.grep(t,function(e){return 1===e.nodeType}))},Se.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e){return this.pushStack(Se(e).filter(function(){for(t=0;r>t;t++){if(Se.contains(i[t],this)){return !0}}}))}for(n=this.pushStack([]),t=0;r>t;t++){Se.find(e,i[t],n)}return r>1?Se.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return !!a(this,"string"==typeof e&&je.test(e)?Se(e):e||[],!1).length}});var qe,Le=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,He=Se.fn.init=function(e,t,n){var r,i;if(!e){return this}if(n=n||qe,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Le.exec(e),!r||!r[1]&&t){return !t||t.jquery?(t||n).find(e):this.constructor(t).find(e)}if(r[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Te,!0)),De.test(r[1])&&Se.isPlainObject(t)){for(r in t){be(this[r])?this[r](t[r]):this.attr(r,t[r])}}return this}return i=Te.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):be(e)?void 0!==n.ready?n.ready(e):e(Se):Se.makeArray(e,this)};He.prototype=Se.fn,qe=Se(Te);var Oe=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++){if(Se.contains(this,t[e])){return !0}}})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&Se(e);if(!je.test(e)){for(;i>r;r++){for(n=this[r];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){o.push(n);break}}}}return this.pushStack(o.length>1?Se.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?de.call(Se(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ae(e,"parentNode")},parentsUntil:function(e,t,n){return Ae(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return Ae(e,"nextSibling")},prevAll:function(e){return Ae(e,"previousSibling")},nextUntil:function(e,t,n){return Ae(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ae(e,"previousSibling",n)},siblings:function(e){return Ne((e.parentNode||{}).firstChild,e)},children:function(e){return Ne(e.firstChild)},contents:function(e){return null!=e.contentDocument&&le(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},function(e,t){Se.fn[e]=function(n,r){var i=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Se.filter(r,i)),this.length>1&&(Pe[e]||Se.uniqueSort(i),Oe.test(e)&&i.reverse()),this.pushStack(i)}});var Re=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?u(e):Se.extend({},e);var t,n,i,o,a=[],s=[],l=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;l=-1){for(n=s.shift();++l<a.length;){a[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=a.length,n=!1)}}e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},f={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function i(t){Se.each(t,function(t,n){be(n)?e.unique&&f.has(n)||a.push(n):n&&n.length&&"string"!==r(n)&&i(n)})}(arguments),n&&!t&&c()),this},remove:function(){return Se.each(arguments,function(e,t){for(var n;(n=Se.inArray(t,a,n))>-1;){a.splice(n,1),l>=n&&l--}}),this},has:function(e){return e?Se.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return !a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return !!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return !!i}};return f},Se.extend({Deferred:function(t){var n=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred(function(t){Se.each(n,function(n,r){var i=be(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&be(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,f=function(){var e,f;if(!(a>t)){if(e=r.apply(s,u),e===n.promise()){throw new TypeError("Thenable self-resolution")}f=e&&("object"==typeof e||"function"==typeof e)&&e.then,be(f)?i?f.call(e,o(a,n,l,i),o(a,n,c,i)):(a++,f.call(e,o(a,n,l,i),o(a,n,c,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},p=i?f:function(){try{f()}catch(e){Se.Deferred.exceptionHook&&Se.Deferred.exceptionHook(e,p.stackTrace),t+1>=a&&(r!==c&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?p():(Se.Deferred.getStackHook&&(p.stackTrace=Se.Deferred.getStackHook()),e.setTimeout(p))}}var a=0;return Se.Deferred(function(e){n[0][3].add(o(0,e,be(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,be(t)?t:l)),n[2][3].add(o(0,e,be(r)?r:c))}).promise()},promise:function(e){return null!=e?Se.extend(e,i):i}},o={};return Se.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ce.call(arguments),o=Se.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ce.call(arguments):n,--t||o.resolveWith(r,i)}};if(1>=t&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||be(i[n]&&i[n].then))){return o.then()}for(;n--;){f(i[n],a(n),o.reject)}return o.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Me.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Se.readyException=function(t){e.setTimeout(function(){throw t})};var Ie=Se.Deferred();Se.fn.ready=function(e){return Ie.then(e)["catch"](function(e){Se.readyException(e)}),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--Se.readyWait:Se.isReady)||(Se.isReady=!0,e!==!0&&--Se.readyWait>0||Ie.resolveWith(Te,[Se]))}}),Se.ready.then=Ie.then,"complete"===Te.readyState||"loading"!==Te.readyState&&!Te.documentElement.doScroll?e.setTimeout(Se.ready):(Te.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var We=function(e,t,n,i,o,a,s){var u=0,l=e.length,c=null==n;if("object"===r(n)){o=!0;for(u in n){We(e,t,u,n[u],!0,a,s)}}else{if(void 0!==i&&(o=!0,be(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(Se(e),n)})),t)){for(;l>u;u++){t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)))}}}return o?e:c?t.call(e):l?t(e[0],n):a},Fe=/^-ms-/,$e=/-([a-z])/g,Be=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Be(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t){i[h(t)]=n}else{for(r in t){i[h(r)]=t[r]}}return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(h):(t=h(t),t=t in r?[t]:t.match(Re)||[]),n=t.length;for(;n--;){delete r[t[n]]}}(void 0===t||Se.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Se.isEmptyObject(t)}};var _e=new g,ze=new g,Ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Xe=/[A-Z]/g;Se.extend({hasData:function(e){return ze.hasData(e)||_e.hasData(e)},data:function(e,t,n){return ze.access(e,t,n)},removeData:function(e,t){ze.remove(e,t)},_data:function(e,t,n){return _e.access(e,t,n)},_removeData:function(e,t){_e.remove(e,t)}}),Se.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ze.get(o),1===o.nodeType&&!_e.get(o,"hasDataAttrs"))){for(n=a.length;n--;){a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=h(r.slice(5)),v(o,r,i[r])))}_e.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ze.set(this,e)}):We(this,function(t){var n;if(o&&void 0===t){if(n=ze.get(o,e),void 0!==n){return n}if(n=v(o,e),void 0!==n){return n}}else{this.each(function(){ze.set(this,e,t)})}},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ze.remove(this,e)})}}),Se.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=_e.get(e,t),n&&(!r||Array.isArray(n)?r=_e.access(e,t,Se.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),r=n.length,i=n.shift(),o=Se._queueHooks(e,t),a=function(){Se.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _e.get(e,n)||_e.access(e,n,{empty:Se.Callbacks("once memory").add(function(){_e.remove(e,[t+"queue",n])})})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Se.queue(this[0],e):void 0===t?this:this.each(function(){var n=Se.queue(this,e,t);Se._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Se.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Se.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Se.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;){n=_e.get(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s))}return s(),i.promise(t)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],Qe=Te.documentElement,Je=function(e){return Se.contains(e.ownerDocument,e)},Ke={composed:!0};Qe.getRootNode&&(Je=function(e){return Se.contains(e.ownerDocument,e)||e.getRootNode(Ke)===e.ownerDocument});var Ze=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&Je(e)&&"none"===Se.css(e,"display")},et={};Se.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ze(this)?Se(this).show():Se(this).hide()})}});var tt=/^(?:checkbox|radio)$/i,nt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,rt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=Te.createDocumentFragment(),t=e.appendChild(Te.createElement("div")),n=Te.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),xe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",xe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",xe.option=!!t.lastChild}();var it={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td,xe.option||(it.optgroup=it.option=[1,"<select multiple='multiple'>","</select>"]);var ot=/<|&#?\w+;/,at=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=_e.get(e);if(Be(e)){for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&Se.find.matchesSelector(Qe,i),n.guid||(n.guid=Se.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Re)||[""],l=t.length;l--;){s=at.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d&&(f=Se.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=Se.event.special[d]||{},c=Se.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Se.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),Se.event.global[d]=!0)}}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,m=_e.hasData(e)&&_e.get(e);if(m&&(u=m.events)){for(t=(t||"").match(Re)||[""],l=t.length;l--;){if(s=at.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){for(f=Se.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;){c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c))}a&&!p.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||Se.removeEvent(e,d,m.handle),delete u[d])}else{for(d in u){Se.event.remove(e,d+t[l],n,r,!0)}}}Se.isEmptyObject(u)&&_e.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=Array(arguments.length),u=Se.event.fix(e),l=(_e.get(this,"events")||Object.create(null))[u.type]||[],c=Se.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++){s[t]=arguments[t]}if(u.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,u)!==!1){for(a=Se.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();){for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();){(!u.rnamespace||o.namespace===!1||u.rnamespace.test(o.namespace))&&(u.handleObj=o,u.data=o.data,r=((Se.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(u.result=r)===!1&&(u.preventDefault(),u.stopPropagation()))}}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1)){for(;l!==this;l=l.parentNode||this){if(1===l.nodeType&&("click"!==e.type||l.disabled!==!0)){for(o=[],a={},n=0;u>n;n++){r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?Se(i,this).index(l)>-1:Se.find(i,this,null,[l]).length),a[i]&&o.push(r)}o.length&&s.push({elem:l,handlers:o})}}}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Se.Event.prototype,e,{enumerable:!0,configurable:!0,get:be(t)?function(){return this.originalEvent?t(this.originalEvent):void 0}:function(){return this.originalEvent?this.originalEvent[e]:void 0},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Se.expando]?e:new Se.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&o(t,"input")&&j(t,"click",E),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&o(t,"input")&&j(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&o(t,"input")&&_e.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Se.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Se.Event=function(e,t){return this instanceof Se.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?E:S,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Se.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),void (this[Se.expando]=!0)):new Se.Event(e,t)},Se.Event.prototype={constructor:Se.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Se.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Se.event.addProp),Se.each({focus:"focusin",blur:"focusout"},function(e,t){Se.event.special[e]={setup:function(){return j(this,e,k),!1},trigger:function(){return j(this,e),!0},_default:function(t){return _e.get(t.target,e)},delegateType:t}}),Se.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Se.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!Se.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Se.fn.extend({on:function(e,t,n,r){return N(this,e,t,n,r)},one:function(e,t,n,r){return N(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj){return r=e.handleObj,Se(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this}if("object"==typeof e){for(i in e){this.off(i,t,e[i])}return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=S),this.each(function(){Se.event.remove(this,e,n,t)})}});var st=/<script|<style|<link/i,ut=/checked\s*(?:[^=]|=\s*.checked.)/i,lt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Se.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Je(e);if(!(xe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e))){for(a=w(s),o=w(e),r=0,i=o.length;i>r;r++){O(o[r],a[r])}}if(t){if(n){for(o=o||w(e),a=a||w(s),r=0,i=o.length;i>r;r++){H(o[r],a[r])}}else{H(e,s)}}return a=w(s,"script"),a.length>0&&T(a,!u&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,i=Se.event.special,o=0;void 0!==(n=e[o]);o++){if(Be(n)){if(t=n[_e.expando]){if(t.events){for(r in t.events){i[r]?Se.event.remove(n,r):Se.removeEvent(n,r,t.handle)}}n[_e.expando]=void 0}n[ze.expando]&&(n[ze.expando]=void 0)}}}}),Se.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return We(this,function(e){return void 0===e?Se.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){1===e.nodeType&&(Se.cleanData(w(e,!1)),e.textContent="")}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Se.clone(this,e,t)})},html:function(e){return We(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType){return t.innerHTML}if("string"==typeof e&&!st.test(e)&&!it[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;r>n;n++){t=this[n]||{},1===t.nodeType&&(Se.cleanData(w(t,!1)),t.innerHTML=e)}t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){var n=this.parentNode;Se.inArray(this,e)<0&&(Se.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),Se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Se.fn[e]=function(e){for(var n,r=[],i=Se(e),o=i.length-1,a=0;o>=a;a++){n=a===o?this:this.clone(!0),Se(i[a])[t](n),pe.apply(r,n.get())}return this.pushStack(r)}});var ct=RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),ft=/^--/,pt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},dt=function(e,t,n){var r,i,o={};for(i in t){o[i]=e.style[i],e.style[i]=t[i]}r=n.call(e);for(i in t){e.style[i]=o[i]}return r},ht=RegExp(Ye.join("|"),"i"),gt="[\\x20\\t\\r\\n\\f]",mt=RegExp("^"+gt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+gt+"+$","g");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Qe.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),Qe.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=Te.createElement("div"),c=Te.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",xe.clearCloneStyle="content-box"===c.style.backgroundClip,Se.extend(xe,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=Te.createElement("table"),n=Te.createElement("tr"),r=Te.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",Qe.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,Qe.removeChild(t)),s}}))}();var vt=["Webkit","Moz","ms"],yt=Te.createElement("div").style,xt={},bt=/^(none|table(?!-c[ea]).+)/,wt={position:"absolute",visibility:"hidden",display:"block"},Tt={letterSpacing:"0",fontWeight:"400"};Se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=M(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=ft.test(t),l=e.style;return u||(t=F(s)),a=Se.cssHooks[t]||Se.cssHooks[s],void 0===n?a&&"get" in a&&void 0!==(i=a.get(e,!1,r))?i:l[t]:(o=typeof n,"string"===o&&(i=Ge.exec(n))&&i[1]&&(n=y(e,t,i),o="number"),null!=n&&n===n&&("number"!==o||u||(n+=i&&i[3]||(Se.cssNumber[s]?"":"px")),xe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set" in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n)),void 0)}},css:function(e,t,n,r){var i,o,a,s=h(t),u=ft.test(t);return u||(t=F(s)),a=Se.cssHooks[t]||Se.cssHooks[s],a&&"get" in a&&(i=a.get(e,!0,n)),void 0===i&&(i=M(e,t,r)),"normal"===i&&t in Tt&&(i=Tt[t]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),Se.each(["height","width"],function(e,t){Se.cssHooks[t]={get:function(e,n,r){return n?!bt.test(Se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?z(e,t,r):dt(e,wt,function(){return z(e,t,r)}):void 0},set:function(e,n,r){var i,o=pt(e),a=!xe.scrollboxSize()&&"absolute"===o.position,s=a||r,u=s&&"border-box"===Se.css(e,"boxSizing",!1,o),l=r?_(e,t,r,u,o):0;return u&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-_(e,t,"border",!1,o)-0.5)),l&&(i=Ge.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Se.css(e,t)),B(e,n,l)}}}),Se.cssHooks.marginLeft=I(xe.reliableMarginLeft,function(e,t){return t?(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),Se.each({margin:"",padding:"",border:"Width"},function(e,t){Se.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++){i[e+Ye[r]+t]=o[r]||o[r-2]||o[0]}return i}},"margin"!==e&&(Se.cssHooks[e+t].set=B)}),Se.fn.extend({css:function(e,t){return We(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=pt(e),i=t.length;i>a;a++){o[t[a]]=Se.css(e,t[a],!1,r)}return o}return void 0!==n?Se.style(e,t,n):Se.css(e,t)},e,t,arguments.length>1)}}),Se.Tween=U,U.prototype={constructor:U,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Se.cssNumber[n]?"":"px")},cur:function(){var e=U.propHooks[this.prop];return e&&e.get?e.get(this):U.propHooks._default.get(this)},run:function(e){var t,n=U.propHooks[this.prop];return this.options.duration?this.pos=t=Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):U.propHooks._default.set(this),this}},U.prototype.init.prototype=U.prototype,U.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||!Se.cssHooks[e.prop]&&null==e.elem.style[F(e.prop)]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},U.propHooks.scrollTop=U.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=U.prototype.init,Se.fx.step={};var Ct,Et,St=/^(?:toggle|show|hide)$/,kt=/queueHooks$/;Se.Animation=Se.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return y(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){be(e)?(t=e,e=["*"]):e=e.match(Re);for(var n,r=0,i=e.length;i>r;r++){n=e[r],K.tweeners[n]=K.tweeners[n]||[],K.tweeners[n].unshift(t)}},prefilters:[Q],prefilter:function(e,t){t?K.prefilters.unshift(e):K.prefilters.push(e)}}),Se.speed=function(e,t,n){var r=e&&"object"==typeof e?Se.extend({},e):{complete:n||!n&&t||be(e)&&e,duration:e,easing:n&&t||t&&!be(t)&&t};return Se.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Se.fx.speeds?r.duration=Se.fx.speeds[r.duration]:r.duration=Se.fx.speeds._default),(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){be(r.old)&&r.old.call(this),r.queue&&Se.dequeue(this,r.queue)},r},Se.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ze).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Se.isEmptyObject(e),o=Se.speed(t,n,r),a=function(){var t=K(this,Se.extend({},e),o);(i||_e.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Se.timers,a=_e.get(this);if(i){a[i]&&a[i].stop&&r(a[i])}else{for(i in a){a[i]&&a[i].stop&&kt.test(i)&&r(a[i])}}for(i=o.length;i--;){o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1))}(t||!n)&&Se.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=_e.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Se.timers,a=r?r.length:0;for(n.finish=!0,Se.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;){o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1))}for(t=0;a>t;t++){r[t]&&r[t].finish&&r[t].finish.call(this)}delete n.finish})}}),Se.each(["toggle","show","hide"],function(e,t){var n=Se.fn[t];Se.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(G(t,!0),e,r,i)}}),Se.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Se.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Se.timers=[],Se.fx.tick=function(){var e,t=0,n=Se.timers;for(Ct=Date.now();t<n.length;t++){e=n[t],e()||n[t]!==e||n.splice(t--,1)}n.length||Se.fx.stop(),Ct=void 0},Se.fx.timer=function(e){Se.timers.push(e),Se.fx.start()},Se.fx.interval=13,Se.fx.start=function(){Et||(Et=!0,X())},Se.fx.stop=function(){Et=null},Se.fx.speeds={slow:600,fast:200,_default:400},Se.fn.delay=function(t,n){return t=Se.fx?Se.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=Te.createElement("input"),t=Te.createElement("select"),n=t.appendChild(Te.createElement("option"));e.type="checkbox",xe.checkOn=""!==e.value,xe.optSelected=n.selected,e=Te.createElement("input"),e.value="t",e.type="radio",xe.radioValue="t"===e.value}();var At,Nt=Se.expr.attrHandle;Se.fn.extend({attr:function(e,t){return We(this,Se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Se.removeAttr(this,e)})}}),Se.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o){return void 0===e.getAttribute?Se.prop(e,t,n):(1===o&&Se.isXMLDoc(e)||(i=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?At:void 0)),void 0!==n?null===n?void Se.removeAttr(e,t):i&&"set" in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get" in i&&null!==(r=i.get(e,t))?r:(r=Se.find.attr(e,t),null==r?void 0:r))}},attrHooks:{type:{set:function(e,t){if(!xe.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Re);if(i&&1===e.nodeType){for(;n=i[r++];){e.removeAttribute(n)}}}}),At={set:function(e,t,n){return t===!1?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Nt[t]||Se.find.attr;Nt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Nt[a],Nt[a]=i,i=null!=n(e,t,r)?a:null,Nt[a]=o),i}});var jt=/^(?:input|select|textarea|button)$/i,Dt=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return We(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Se.propFix[e]||e]})}}),Se.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o){return 1===o&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,i=Se.propHooks[t]),void 0!==n?i&&"set" in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get" in i&&null!==(r=i.get(e,t))?r:e[t]}},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||Dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),xe.optSelected||(Se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Se.propFix[this.toLowerCase()]=this}),Se.fn.extend({addClass:function(e){var t,n,r,i,o,a;return be(e)?this.each(function(t){Se(this).addClass(e.call(this,t,ee(this)))}):(t=te(e),t.length?this.each(function(){if(r=ee(this),n=1===this.nodeType&&" "+Z(r)+" "){for(o=0;o<t.length;o++){i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ")}a=Z(n),r!==a&&this.setAttribute("class",a)}}):this)},removeClass:function(e){var t,n,r,i,o,a;return be(e)?this.each(function(t){Se(this).removeClass(e.call(this,t,ee(this)))}):arguments.length?(t=te(e),t.length?this.each(function(){if(r=ee(this),n=1===this.nodeType&&" "+Z(r)+" "){for(o=0;o<t.length;o++){for(i=t[o];n.indexOf(" "+i+" ")>-1;){n=n.replace(" "+i+" "," ")}}a=Z(n),r!==a&&this.setAttribute("class",a)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return be(e)?this.each(function(n){Se(this).toggleClass(e.call(this,n,ee(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=te(e),this.each(function(){if(s){for(o=Se(this),i=0;i<n.length;i++){r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r)}}else{(void 0===e||"boolean"===a)&&(r=ee(this),r&&_e.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":_e.get(this,"__className__")||""))}}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];){if(1===n.nodeType&&(" "+Z(ee(n))+" ").indexOf(t)>-1){return !0}}return !1}});var qt=/\r/g;Se.fn.extend({val:function(e){var t,n,r,i=this[0];if(arguments.length){return r=be(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,Se(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Se.map(i,function(e){return null==e?"":e+""})),t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()],t&&"set" in t&&void 0!==t.set(this,i,"value")||(this.value=i))})}if(i){return t=Se.valHooks[i.type]||Se.valHooks[i.nodeName.toLowerCase()],t&&"get" in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(qt,""):null==n?"":n)}}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:Z(Se.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],l=s?a+1:i.length;for(r=0>a?l:s?a:0;l>r;r++){if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Se(n).val(),s){return t}u.push(t)}}return u},set:function(e,t){for(var n,r,i=e.options,o=Se.makeArray(t),a=i.length;a--;){r=i[a],(r.selected=Se.inArray(Se.valHooks.option.get(r),o)>-1)&&(n=!0)}return n||(e.selectedIndex=-1),o}}}}),Se.each(["radio","checkbox"],function(){Se.valHooks[this]={set:function(e,t){return Array.isArray(t)?e.checked=Se.inArray(Se(e).val(),t)>-1:void 0}},xe.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),xe.focusin="onfocusin" in e;var Lt=/^(?:focusinfocus|focusoutblur)$/,Ht=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,f,p,d=[r||Te],h=me.call(t,"type")?t.type:t,g=me.call(t,"namespace")?t.namespace.split("."):[];if(a=p=s=r=r||Te,3!==r.nodeType&&8!==r.nodeType&&!Lt.test(h+Se.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),l=h.indexOf(":")<0&&"on"+h,t=t[Se.expando]?t:new Se.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:Se.makeArray(n,[t]),f=Se.event.special[h]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!we(r)){for(u=f.delegateType||h,Lt.test(u+h)||(a=a.parentNode);a;a=a.parentNode){d.push(a),s=a}s===(r.ownerDocument||Te)&&d.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=d[o++])&&!t.isPropagationStopped();){p=a,t.type=o>1?u:f.bindType||h,c=(_e.get(a,"events")||Object.create(null))[t.type]&&_e.get(a,"handle"),c&&c.apply(a,n),c=l&&a[l],c&&c.apply&&Be(a)&&(t.result=c.apply(a,n),t.result===!1&&t.preventDefault())}return t.type=h,i||t.isDefaultPrevented()||f._default&&f._default.apply(d.pop(),n)!==!1||!Be(r)||l&&be(r[h])&&!we(r)&&(s=r[l],s&&(r[l]=null),Se.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,Ht),r[h](),t.isPropagationStopped()&&p.removeEventListener(h,Ht),Se.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(r,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each(function(){Se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?Se.event.trigger(e,t,n,!0):void 0}}),xe.focusin||Se.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Se.event.simulate(t,e.target,Se.event.fix(e))};Se.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=_e.access(r,t);i||r.addEventListener(e,n,!0),_e.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=_e.access(r,t)-1;i?_e.access(r,t,i):(r.removeEventListener(e,n,!0),_e.remove(r,t))}}});var Ot=e.location,Pt={guid:Date.now()},Rt=/\?/;Se.parseXML=function(t){var n,r;if(!t||"string"!=typeof t){return null}try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){}return r=n&&n.getElementsByTagName("parsererror")[0],(!n||r)&&Se.error("Invalid XML: "+(r?Se.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Mt=/\[\]$/,It=/\r?\n/g,Wt=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,r=[],i=function(e,t){var n=be(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e){return""}if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e)){Se.each(e,function(){i(this.name,this.value)})}else{for(n in e){ne(n,e[n],t,i)}}return r.join("&")},Se.fn.extend({serialize:function(){var e=this.serializeArray(),t=$("input[type=radio],input[type=checkbox]",this),n={};return $.each(t,function(){n.hasOwnProperty(this.name)||0==$("input[name='"+this.name+"']:checked").length&&(n[this.name]="",e.push({name:this.name,value:""}))}),Se.param(e)},serializeArray:function(){return this.map(function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ft.test(this.nodeName)&&!Wt.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:n.replace(It,"\r\n")}}).get()}});var $t=/%20/g,Bt=/#.*$/,_t=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Gt={},Yt={},Qt="*/".concat("*"),Jt=Te.createElement("a");Jt.href=Ot.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Ut.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?oe(oe(e,Se.ajaxSettings),t):oe(Se.ajaxSettings,e)},ajaxPrefilter:re(Gt),ajaxTransport:re(Yt),ajax:function(t,n){function r(t,n,r,s){var l,p,d,b,w,T=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",C.readyState=t>0?4:0,l=t>=200&&300>t||304===t,r&&(b=ae(h,C,r)),!l&&Se.inArray("script",h.dataTypes)>-1&&Se.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=se(h,b,C,l),l?(h.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(Se.lastModified[o]=w),w=C.getResponseHeader("etag"),w&&(Se.etag[o]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=b.state,p=b.data,d=b.error,l=!d)):(d=T,(t||!T)&&(T="error",0>t&&(t=0))),C.status=t,C.statusText=(n||T)+"",l?v.resolveWith(g,[p,T,C]):v.rejectWith(g,[C,T,d]),C.statusCode(x),x=void 0,f&&m.trigger(l?"ajaxSuccess":"ajaxError",[C,h,l?p:d]),y.fireWith(g,[C,T]),f&&(m.trigger("ajaxComplete",[C,h]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=Se.ajaxSetup({},n),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?Se(g):Se.event,v=Se.Deferred(),y=Se.Callbacks("once memory"),x=h.statusCode||{},b={},w={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){for(s={};t=zt.exec(a);){s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2])}}t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e){if(c){C.always(e[C.status])}else{for(t in e){x[t]=[x[t],e[t]]}}}return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(v.promise(C),h.url=((t||h.url||Ot.href)+"").replace(Vt,Ot.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Re)||[""],null==h.crossDomain){l=Te.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Jt.protocol+"//"+Jt.host!=l.protocol+"//"+l.host}catch(E){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Se.param(h.data,h.traditional)),ie(Gt,h,n,C),c){return C}f=Se.event&&h.global,f&&0===Se.active++&&Se.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Xt.test(h.type),o=h.url.replace(Bt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace($t,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Rt.test(o)?"&":"?")+h.data,delete h.data),h.cache===!1&&(o=o.replace(_t,"$1"),d=(Rt.test(o)?"&":"?")+"_="+Pt.guid+++d),h.url=o+d),h.ifModified&&(Se.lastModified[o]&&C.setRequestHeader("If-Modified-Since",Se.lastModified[o]),Se.etag[o]&&C.setRequestHeader("If-None-Match",Se.etag[o])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Qt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers){C.setRequestHeader(p,h.headers[p])}if(h.beforeSend&&(h.beforeSend.call(g,C,h)===!1||c)){return C.abort()}if(T="abort",y.add(h.complete),C.done(h.success),C.fail(h.error),i=ie(Yt,h,n,C)){if(C.readyState=1,f&&m.trigger("ajaxSend",[C,h]),c){return C}h.async&&h.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,i.send(b,r)}catch(E){if(c){throw E}r(-1,E)}}else{r(-1,"No Transport")}return C},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,void 0,t,"script")}}),Se.each(["get","post"],function(e,t){Se[t]=function(e,n,r,i){return be(n)&&(i=i||r,r=n,n=void 0),Se.ajax(Se.extend({url:e,type:t,dataType:i,data:n,success:r},Se.isPlainObject(e)&&e))}}),Se.ajaxPrefilter(function(e){var t;for(t in e.headers){"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}}),Se._evalUrl=function(e,t,n){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Se.globalEval(e,t,n)}})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(be(e)&&(e=e.call(this[0])),t=Se(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;){e=e.firstElementChild}return e}).append(this)),this},wrapInner:function(e){return be(e)?this.each(function(t){Se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=be(e);return this.each(function(n){Se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Se(this).replaceWith(this.childNodes)}),this}}),Se.expr.pseudos.hidden=function(e){return !Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return !!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Kt={0:200,1223:204},Zt=Se.ajaxSettings.xhr();xe.cors=!!Zt&&"withCredentials" in Zt,xe.ajax=Zt=!!Zt,Se.ajaxTransport(function(t){var n,r;return xe.cors||Zt&&!t.crossDomain?{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields){for(a in t.xhrFields){s[a]=t.xhrFields[a]}}t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i){s.setRequestHeader(a,i[a])}n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Kt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(n){throw u}}},abort:function(){n&&n()}}:void 0}),Se.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Se.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(r,i){t=Se("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),Te.head.appendChild(t[0])},abort:function(){n&&n()}}}});var en=[],tn=/(=)\?(?=&|$)|\?\?/;Se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=en.pop()||Se.expando+"_"+Pt.guid++;return this[e]=!0,e}}),Se.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(tn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tn.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=be(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(tn,"$1"+i):t.jsonp!==!1&&(t.url+=(Rt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||Se.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?Se(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,en.push(i)),a&&be(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),xe.createHTMLDocument=function(){var e=Te.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),Se.parseHTML=function(e,t,n){if("string"!=typeof e){return[]}"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(xe.createHTMLDocument?(t=Te.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=Te.location.href,t.head.appendChild(r)):t=Te),i=De.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&Se(o).remove(),Se.merge([],i.childNodes))},Se.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Z(e.slice(s)),e=e.slice(0,s)),be(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&Se.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Se("<div>").append(Se.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Se.expr.pseudos.animated=function(e){return Se.grep(Se.timers,function(t){return e===t.elem}).length},Se.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=Se.css(e,"position"),f=Se(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=Se.css(e,"top"),u=Se.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),be(t)&&(t=t.call(e,n,Se.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using" in t?t.using.call(e,p):f.css(p)}},Se.fn.extend({offset:function(e){if(arguments.length){return void 0===e?this:this.each(function(t){Se.offset.setOffset(this,e,t)})}var t,n,r=this[0];if(r){return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Se.css(r,"position")){t=r.getBoundingClientRect()}else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Se.css(e,"position");){e=e.parentNode}e&&e!==r&&1===e.nodeType&&(i=Se(e).offset(),i.top+=Se.css(e,"borderTopWidth",!0),i.left+=Se.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Se.css(r,"marginTop",!0),left:t.left-i.left-Se.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Se.css(e,"position");){e=e.offsetParent}return e||Qe})}}),Se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Se.fn[e]=function(r){return We(this,function(e,r,i){var o;return we(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i?o?o[t]:e[r]:void (o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i)},e,r,arguments.length)}}),Se.each(["top","left"],function(e,t){Se.cssHooks[t]=I(xe.pixelPosition,function(e,n){return n?(n=M(e,t),ct.test(n)?Se(e).position()[t]+"px":n):void 0})}),Se.each({Height:"height",Width:"width"},function(e,t){Se.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Se.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return We(this,function(t,n,i){var o;return we(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?Se.css(t,n,s):Se.style(t,n,i,s)},t,a?i:void 0,a)}})}),Se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Se.fn[t]=function(e){return this.on(t,e)}}),Se.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Se.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){Se.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var nn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Se.proxy=function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),be(e)?(r=ce.call(arguments,2),i=function(){return e.apply(t||this,r.concat(ce.call(arguments)))},i.guid=e.guid=e.guid||Se.guid++,i):void 0},Se.holdReady=function(e){e?Se.readyWait++:Se.ready(!0)},Se.isArray=Array.isArray,Se.parseJSON=JSON.parse,Se.nodeName=o,Se.isFunction=be,Se.isWindow=we,Se.camelCase=h,Se.type=r,Se.now=Date.now,Se.isNumeric=function(e){var t=Se.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Se.trim=function(e){return null==e?"":(e+"").replace(nn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Se});var rn=e.jQuery,on=e.$;return Se.noConflict=function(t){return e.$===Se&&(e.$=on),t&&e.jQuery===Se&&(e.jQuery=rn),Se},void 0===t&&(e.jQuery=e.$=Se),Se}); | 91,103 | jquery.min | js | en | javascript | code | {"qsc_code_num_words": 18448, "qsc_code_num_chars": 91103.0, "qsc_code_mean_word_length": 3.18798786, "qsc_code_frac_words_unique": 0.05279705, "qsc_code_frac_chars_top_2grams": 0.05248929, "qsc_code_frac_chars_top_3grams": 0.02533497, "qsc_code_frac_chars_top_4grams": 0.01009998, "qsc_code_frac_chars_dupe_5grams": 0.21128341, "qsc_code_frac_chars_dupe_6grams": 0.14515745, "qsc_code_frac_chars_dupe_7grams": 0.1066109, "qsc_code_frac_chars_dupe_8grams": 0.07891247, "qsc_code_frac_chars_dupe_9grams": 0.0586955, "qsc_code_frac_chars_dupe_10grams": 0.04584098, "qsc_code_frac_chars_replacement_symbols": 1.098e-05, "qsc_code_frac_chars_digital": 0.01353911, "qsc_code_frac_chars_whitespace": 0.01496109, "qsc_code_size_file_byte": 91103.0, "qsc_code_num_lines": 2.0, "qsc_code_num_chars_line_max": 91014.0, "qsc_code_num_chars_line_mean": 45551.5, "qsc_code_frac_chars_alphabet": 0.64180967, "qsc_code_frac_chars_comments": 0.00096594, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 82.0, "qsc_code_frac_chars_string_length": 0.74301222, "qsc_code_frac_chars_long_word_length": 0.68834051, "qsc_code_frac_lines_string_concat": 1.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejavascript_cate_ast": 1.0, "qsc_codejavascript_cate_var_zero": 0.0, "qsc_codejavascript_frac_lines_func_ratio": 113.0, "qsc_codejavascript_num_statement_line": 1.0, "qsc_codejavascript_score_lines_no_logic": 671.0, "qsc_codejavascript_frac_words_legal_var_name": 0.91611479, "qsc_codejavascript_frac_words_legal_func_name": 0.99115044, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 1, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 1, "qsc_code_frac_chars_long_word_length": 1, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 0, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 1, "qsc_codejavascript_score_lines_no_logic": 1, "qsc_codejavascript_frac_lines_print": 0} |
1c-syntax/ssl_3_1 | src/cf/Reports/ПродлениеСрокаДействияЭлектронныхПодписей/Ext/ManagerModule.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Если Сервер Или ТолстыйКлиентОбычноеПриложение Или ВнешнееСоединение Тогда
#Область ПрограммныйИнтерфейс
#Область ДляВызоваИзДругихПодсистем
// СтандартныеПодсистемы.ВариантыОтчетов
// Параметры:
// Настройки - см. ВариантыОтчетовПереопределяемый.НастроитьВариантыОтчетов.Настройки.
// НастройкиОтчета - см. ВариантыОтчетов.ОписаниеОтчета.
//
Процедура НастроитьВариантыОтчета(Настройки, НастройкиОтчета) Экспорт
Если ОбщегоНазначения.ПодсистемаСуществует("СтандартныеПодсистемы.ВариантыОтчетов") Тогда
МодульВариантыОтчетов = ОбщегоНазначения.ОбщийМодуль("ВариантыОтчетов");
Иначе
Возврат;
КонецЕсли;
Если Не ОбщегоНазначения.РазделениеВключено()
Или ОбщегоНазначения.ДоступноИспользованиеРазделенныхДанных() Тогда
УсовершенствоватьПодписиАвтоматически = Константы.УсовершенствоватьПодписиАвтоматически.Получить();
ДобавлятьМеткиВремениАвтоматически = Константы.ДобавлятьМеткиВремениАвтоматически.Получить();
Иначе
УсовершенствоватьПодписиАвтоматически = 0;
ДобавлятьМеткиВремениАвтоматически = Ложь;
КонецЕсли;
МодульВариантыОтчетов.УстановитьРежимВыводаВПанеляхОтчетов(Настройки, НастройкиОтчета, Истина);
НастройкиОтчета.ОпределитьНастройкиФормы = Истина;
НастройкиОтчета.Описание = НСтр("ru = 'Подписи, срок действия которых должен быть продлен.'");
НастройкиВарианта = МодульВариантыОтчетов.ОписаниеВарианта(Настройки, НастройкиОтчета, "НеобработанныеПодписи");
НастройкиВарианта.Описание = НСтр("ru = 'Выводит подписи, у которых нужно определить тип и усовершенствовать согласно настройкам.'");
НастройкиВарианта.Включен = УсовершенствоватьПодписиАвтоматически <> 0;
НастройкиВарианта = МодульВариантыОтчетов.ОписаниеВарианта(Настройки, НастройкиОтчета, "ТребуетсяУсовершенствоватьПодписи");
НастройкиВарианта.Описание = НСтр("ru = 'Выводит подписи, которые требуется усовершенствовать.'");
НастройкиВарианта.Включен = УсовершенствоватьПодписиАвтоматически <> 0;
НастройкиВарианта = МодульВариантыОтчетов.ОписаниеВарианта(Настройки, НастройкиОтчета, "ТребуетсяДобавитьАрхивныеМетки");
НастройкиВарианта.Описание = НСтр("ru = 'Выводит подписи, в которые пора добавить архивные метки.'");
НастройкиВарианта.Включен = ДобавлятьМеткиВремениАвтоматически;
НастройкиВарианта = МодульВариантыОтчетов.ОписаниеВарианта(Настройки, НастройкиОтчета, "ОшибкиПриАвтоматическомПродлении");
НастройкиВарианта.Описание = НСтр("ru = 'Выводит подписи, которые не удалось продлить автоматически.'");
НастройкиВарианта.Включен = ДобавлятьМеткиВремениАвтоматически Или УсовершенствоватьПодписиАвтоматически = 1;
КонецПроцедуры
// Конец СтандартныеПодсистемы.ВариантыОтчетов
#КонецОбласти
#КонецОбласти
#КонецЕсли | 3,164 | ManagerModule | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 219, "qsc_code_num_chars": 3164.0, "qsc_code_mean_word_length": 11.25570776, "qsc_code_frac_words_unique": 0.51598174, "qsc_code_frac_chars_top_2grams": 0.06815416, "qsc_code_frac_chars_top_3grams": 0.02839757, "qsc_code_frac_chars_top_4grams": 0.10223124, "qsc_code_frac_chars_dupe_5grams": 0.25557809, "qsc_code_frac_chars_dupe_6grams": 0.19229209, "qsc_code_frac_chars_dupe_7grams": 0.15578093, "qsc_code_frac_chars_dupe_8grams": 0.11359026, "qsc_code_frac_chars_dupe_9grams": 0.11359026, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00518493, "qsc_code_frac_chars_whitespace": 0.08565107, "qsc_code_size_file_byte": 3164.0, "qsc_code_num_lines": 66.0, "qsc_code_num_chars_line_max": 135.0, "qsc_code_num_chars_line_mean": 47.93939394, "qsc_code_frac_chars_alphabet": 0.8465261, "qsc_code_frac_chars_comments": 0.96681416, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1xinghuan/usdNodeGraph | lib/python/usdNodeGraph/api.py | # -*- coding: utf-8 -*-
from .core.node import Node, UsdNode, MetadataNode
from .core.parameter import Parameter
from .core.state import GraphState
from .ui.nodeGraph import UsdNodeGraph
from .ui.plugin import PluginContainer
def setUsdFile(usdFile):
graph = UsdNodeGraph.getInstance()
if graph is not None:
graph.setUsdFile(usdFile)
def addUsdFile(usdFile):
graph = UsdNodeGraph.getInstance()
if graph is not None:
graph.addUsdFile(usdFile)
def addStage(stage, layer=None):
graph = UsdNodeGraph.getInstance()
if graph is not None:
graph.addStage(stage, layer)
def setStage(stage, layer=None):
graph = UsdNodeGraph.getInstance()
if graph is not None:
graph.setStage(stage, layer)
def createNode(nodeType):
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.createNode(nodeType)
def allNodes(nodeType=None):
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.currentScene.getNodes(nodeType)
def selectedNodes():
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.currentScene.getSelectedNodes()
def getNode(nodeName):
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.currentScene.getNode(nodeName)
def findNodeAtPath(path):
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.findNodeAtPath(path)
def applyChanges():
graph = UsdNodeGraph.getInstance()
if graph is not None:
return graph.currentScene.applyChanges()
| 1,592 | api | py | en | python | code | {"qsc_code_num_words": 183, "qsc_code_num_chars": 1592.0, "qsc_code_mean_word_length": 6.12568306, "qsc_code_frac_words_unique": 0.24043716, "qsc_code_frac_chars_top_2grams": 0.15165031, "qsc_code_frac_chars_top_3grams": 0.24977698, "qsc_code_frac_chars_top_4grams": 0.2676182, "qsc_code_frac_chars_dupe_5grams": 0.55307761, "qsc_code_frac_chars_dupe_6grams": 0.55307761, "qsc_code_frac_chars_dupe_7grams": 0.55307761, "qsc_code_frac_chars_dupe_8grams": 0.55307761, "qsc_code_frac_chars_dupe_9grams": 0.55307761, "qsc_code_frac_chars_dupe_10grams": 0.54950937, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00079177, "qsc_code_frac_chars_whitespace": 0.20665829, "qsc_code_size_file_byte": 1592.0, "qsc_code_num_lines": 68.0, "qsc_code_num_chars_line_max": 53.0, "qsc_code_num_chars_line_mean": 23.41176471, "qsc_code_frac_chars_alphabet": 0.88677751, "qsc_code_frac_chars_comments": 0.01319095, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.44444444, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.22222222, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.11111111, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.46666667, "qsc_codepython_frac_lines_print": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 1, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0} |
1xinghuan/usdNodeGraph | lib/python/usdNodeGraph/ui/nodeGraph.py | # -*- coding: utf-8 -*-
import os
from pxr import Usd
from usdNodeGraph.module.sqt import *
from usdNodeGraph.ui.graph.view import GraphicsSceneWidget, isEditable
from usdNodeGraph.ui.parameter.param_panel import ParameterPanel
from usdNodeGraph.core.state.core import GraphState
from usdNodeGraph.core.node.node import Node
from usdNodeGraph.ui.other.timeSlider import TimeSliderWidget
from usdNodeGraph.utils.settings import User_Setting, read_setting, write_setting
from usdNodeGraph.utils.res import resource
from usdNodeGraph.ui.utils.menu import WithMenuObject
USD_NODE_GRAPH_WINDOW = None
class ApplyButton(QtWidgets.QToolButton):
def __init__(self):
super(ApplyButton, self).__init__()
self.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
# self.setPopupMode(QtWidgets.QToolButton.DelayedPopup)
self.setArrowType(QtCore.Qt.NoArrow)
self.setStyleSheet("""
QToolButton{
text-align: left;
}
QToolButton::menu-indicator{
image: None;
}
""")
self._menu = QtWidgets.QMenu()
self.liveUpdateAction = QtWidgets.QAction('Live Update', self._menu)
self._menu.addAction(self.liveUpdateAction)
self.setMenu(self._menu)
self.setFixedWidth(30)
self._liveUpdateModeChanged(GraphState.isLiveUpdate())
GraphState.getState().liveUpdateModeChanged.connect(self._liveUpdateModeChanged)
self.liveUpdateAction.triggered.connect(self._liveUpdateActionTriggered)
def _liveUpdateModeChanged(self, value):
if value:
self.setIcon(resource.get_qicon('btn', 'live_update.png'))
self.setToolTip('Live Update')
self.liveUpdateAction.setText('Disable Live Update')
else:
self.setIcon(resource.get_qicon('btn', 'arrow_up2_white.png'))
self.setToolTip('Update Stage')
self.liveUpdateAction.setText('Enable Live Update')
def _liveUpdateActionTriggered(self):
GraphState.setLiveUpdate(1 - GraphState.isLiveUpdate())
class DockWidget(QtWidgets.QDockWidget):
maximizedRequired = QtCore.Signal()
def __init__(self, title='', objName='', *args, **kwargs):
super(DockWidget, self).__init__(*args, **kwargs)
self.setObjectName(objName)
self.setWindowTitle(title)
def keyPressEvent(self, event):
super(DockWidget, self).keyPressEvent(event)
if event.key() == QtCore.Qt.Key_Space:
self.maximizedRequired.emit()
class NodeGraphTab(QtWidgets.QTabWidget):
def __init__(self, *args, **kwargs):
super(NodeGraphTab, self).__init__(*args, **kwargs)
self.setTabsClosable(True)
self.setMovable(True)
class UsdNodeGraph(QtWidgets.QMainWindow, WithMenuObject):
entityItemDoubleClicked = QtCore.Signal(object)
currentSceneChanged = QtCore.Signal(object)
mainWindowClosed = QtCore.Signal()
_addedActions = []
_addedWidgetClasses = []
@classmethod
def registerActions(cls, actionList):
cls._addedActions = actionList
@classmethod
def registerDockWidget(cls, widgetClass, name, label):
cls._addedWidgetClasses.append([
widgetClass, name, label
])
@classmethod
def getInstance(cls):
return USD_NODE_GRAPH_WINDOW
def __init__(
self, app='main',
parent=None
):
super(UsdNodeGraph, self).__init__(parent=parent)
global USD_NODE_GRAPH_WINDOW
USD_NODE_GRAPH_WINDOW = self
from usdNodeGraph.ui.plugin import loadPlugins
loadPlugins()
self.app = app
self.currentScene = None
self._usdFile = None
self.scenes = []
self._docks = []
self._maxDock = None
self._initUI()
self._createSignal()
def _createSignal(self):
self.applyButton.clicked.connect(self._applyActionTriggered)
self.reloadButton.clicked.connect(self._reloadLayerActionTriggered)
self.nodeGraphTab.tabCloseRequested.connect(self._tabCloseRequest)
self.nodeGraphTab.currentChanged.connect(self._tabChanged)
for dock in self._docks:
dock.maximizedRequired.connect(self._dockMaxRequired)
def _getNodeActions(self):
actions = []
groupDict = Node.getNodesByGroup()
groups = list(groupDict.keys())
groups.sort()
for group in groups:
nodeActions = []
nodes = groupDict[group]
for node in nodes:
nodeActions.append([node.nodeType, node.nodeType, None, self._nodeActionTriggered])
actions.append([group, nodeActions])
return [['Node', actions]]
def _getMenuActions(self):
actions = [
['File', [
['open_file', 'Open', 'Ctrl+O', self._openActionTriggered],
['reopen_file', 'Reopen File', None, self._reopenActionTriggered],
['reload_stage', 'Reload Stage', None, self._reloadStageActionTriggered],
['reload_layer', 'Reload Layer', 'Alt+R', self._reloadLayerActionTriggered],
['separater'],
['apply_changes', 'Apply Changes', 'Ctrl+Shift+A', self._applyActionTriggered],
['live_update', 'Live Update', None, self._liveUpdateActionTriggered],
['show_edit_text', 'Show Edit Text', None, self._showEditTextActionTriggered],
['separater'],
['save_layer', 'Save Layer', 'Ctrl+S', self._saveLayerActionTriggered],
['export_layer', 'Export Layer', 'Ctrl+E', self._exportLayerActionTriggered],
['separater'],
['import_nodes', 'Import Nodes', None, self._importNodesActionTriggered],
['export_nodes', 'Export Nodes', None, self._exportNodesActionTriggered],
['save_nodes', 'Save Scene Nodes', None, self._saveNodesActionTriggered],
]],
['Edit', [
['create_node', 'Create Node', 'Tab', self._createNodeActionTriggered],
['select_all_node', 'Select All', 'Ctrl+A', self._selectAllActionTriggered],
['copy_node', 'Copy', 'Ctrl+C', self._copyActionTriggered],
['cut_node', 'Cut', 'Ctrl+X', self._cutActionTriggered],
['paste_node', 'Paste', 'Ctrl+V', self._pasteActionTriggered],
['delete_selection', 'Delete Selection', 'Del', self._deleteSelectionActionTriggered],
['separater'],
['disable_selection', 'Disable Selection', 'D', self._disableSelectionActionTriggered],
['enter_node', 'Enter', 'Ctrl+Return', self._enterActionTriggered],
['force_enter_node', 'Force Enter', 'Ctrl+Shift+Return', self._forceEnterActionTriggered],
]],
['View', [
['layout_nodes', 'Layout Nodes', None, self._layoutActionTriggered],
['frame_selection', 'Frame Selection', None, self._frameSelectionActionTriggered],
]]
]
actions.extend(self._getNodeActions())
actions.extend(self._addedActions)
return actions
def _setMenus(self):
self._addSubMenus(self.menuBar(), self._getMenuActions())
def _initUI(self):
self.setWindowTitle('Usd Node Graph')
self.setDockNestingEnabled(True)
self.setTabPosition(QtCore.Qt.AllDockWidgetAreas, QtWidgets.QTabWidget.North)
self._geometry = None
self._state = None
self._setMenus()
self.nodeGraphTab = NodeGraphTab(parent=self)
self.buttonsWidget = QtWidgets.QWidget(parent=self)
buttonLayout = QtWidgets.QHBoxLayout()
buttonLayout.setAlignment(QtCore.Qt.AlignRight)
buttonLayout.setContentsMargins(0, 0, 10, 0)
self.buttonsWidget.setLayout(buttonLayout)
self.nodeGraphTab.setCornerWidget(self.buttonsWidget, QtCore.Qt.TopRightCorner)
self.applyButton = ApplyButton()
self.reloadButton = QtWidgets.QPushButton()
self.reloadButton.setIcon(resource.get_qicon('btn', 'refresh_blue.png'))
buttonLayout.addWidget(self.applyButton)
buttonLayout.addWidget(self.reloadButton)
self.parameterPanel = ParameterPanel(parent=self)
self.timeSlider = TimeSliderWidget()
self.editTextEdit = QtWidgets.QTextEdit()
self._addNewScene()
self.nodeGraphDock = DockWidget(title='Node Graph', objName='nodeGraphDock')
self.nodeGraphDock.setWidget(self.nodeGraphTab)
self.parameterPanelDock = DockWidget(title='Parameters', objName='parameterPanelDock')
self.parameterPanelDock.setWidget(self.parameterPanel)
self.timeSliderDock = DockWidget(title='Time Slider', objName='timeSliderDock')
self.timeSliderDock.setWidget(self.timeSlider)
self.textEditDock = DockWidget(title='Edit Text', objName='textEditDock')
self.textEditDock.setWidget(self.editTextEdit)
self.addDockWidget(QtCore.Qt.LeftDockWidgetArea, self.nodeGraphDock)
self.addDockWidget(QtCore.Qt.RightDockWidgetArea, self.parameterPanelDock)
self.addDockWidget(QtCore.Qt.LeftDockWidgetArea, self.timeSliderDock)
self._docks.append(self.nodeGraphDock)
self._docks.append(self.parameterPanelDock)
self._docks.append(self.timeSliderDock)
self._docks.append(self.textEditDock)
for widgetClass, name, label in self._addedWidgetClasses:
dock = DockWidget(title=label, objName=name)
widget = widgetClass()
dock.setWidget(widget)
self.addDockWidget(QtCore.Qt.RightDockWidgetArea, dock)
self._docks.append(dock)
# self._getUiPref()
def _dockMaxRequired(self):
dockWidget = self.sender()
if dockWidget == self._maxDock:
# for w in self._docks:
# w.setVisible(True)
self._maxDock = None
self.restoreState(self._state)
else:
self._state = self.saveState()
for w in self._docks:
w.setVisible(w == dockWidget)
self._maxDock = dockWidget
def _switchScene(self):
self.currentScene = self.nodeGraphTab.currentWidget()
if self.currentScene is not None:
self.currentSceneChanged.emit(self.currentScene.scene)
self.currentScene.scene.setAsEditTarget()
stage = self.currentScene.scene.stage
self.timeSlider.setStage(stage)
def _addUsdFile(self, usdFile, assetPath=None):
if assetPath is None:
assetPath = usdFile
stage = Usd.Stage.Open(usdFile)
stage.Reload()
self._addStage(stage, assetPath=assetPath)
def _addStage(self, stage, layer=None, assetPath=None):
if layer is None:
layer = stage.GetRootLayer()
self._addScene(stage, layer, assetPath)
GraphState.executeCallbacks(
'stageAdded',
stage=stage, layer=layer
)
def _addNewScene(self, stage=None, layer=None, assetPath=None):
newScene = GraphicsSceneWidget(
parent=self
)
if stage is not None:
newScene.setStage(stage, layer, assetPath, reset=False)
GraphState.setTimeIn(stage.GetStartTimeCode(), stage)
GraphState.setTimeOut(stage.GetEndTimeCode(), stage)
GraphState.setCurrentTime(stage.GetStartTimeCode(), stage)
self.scenes.append(newScene)
self.nodeGraphTab.addTab(newScene, 'Scene')
newScene.itemDoubleClicked.connect(self._itemDoubleClicked)
newScene.enterFileRequired.connect(self._enterFileRequired)
newScene.enterLayerRequired.connect(self._enterLayerRequired)
newScene.scene.nodeDeleted.connect(self._nodeDeleted)
self.nodeGraphTab.setCurrentWidget(newScene)
# self._switchScene()
return newScene
def _addScene(self, stage, layer, assetPath):
newScene = None
for scene in self.scenes:
if scene.stage == stage and scene.layer == layer:
self.nodeGraphTab.setCurrentWidget(scene)
return
if newScene is None:
newScene = self._addNewScene(stage, layer, assetPath)
newScene.scene.resetScene()
# newScene.setStage(stage, layer)
self.nodeGraphTab.setTabText(len(self.scenes) - 1, os.path.basename(layer.realPath))
self.nodeGraphTab.setTabToolTip(len(self.scenes) - 1, layer.realPath)
# self._switchScene()
def _tabCloseRequest(self, index):
if self.nodeGraphTab.count() > 0:
scene = self.nodeGraphTab.widget(index)
self.nodeGraphTab.removeTab(index)
self.scenes.remove(scene)
def _tabChanged(self, index):
self._switchScene()
def _updateButtonClicked(self):
self.currentScene.applyChanges()
def _itemDoubleClicked(self, item):
self.parameterPanel.addNode(item)
self.entityItemDoubleClicked.emit(item)
def _enterFileRequired(self, usdFile, assetPath, force=False):
usdFile = str(usdFile)
if not force and not isEditable(usdFile):
QtWidgets.QMessageBox.warning(None, 'Warning', 'The file:\n{}\ncan\'t be accessed'.format(assetPath))
return
self._addUsdFile(usdFile, assetPath)
def _enterLayerRequired(self, stage, layer, assetPath, force=False):
if not force and not isEditable(layer.realPath):
QtWidgets.QMessageBox.warning(None, 'Warning', 'The layer:\n{}\ncan\'t be accessed'.format(assetPath))
return
self._addScene(stage, layer, assetPath)
def _nodeDeleted(self, node):
self.parameterPanel.removeNode(node.name())
def _nodeActionTriggered(self):
nodeType = self.sender().objectName()
self.currentScene.scene.createNode(nodeType)
def _openActionTriggered(self):
usdFile = QtWidgets.QFileDialog.getOpenFileName(None, 'Select File', filter='USD(*.usda *.usd *.usdc)')
if isinstance(usdFile, tuple):
usdFile = usdFile[0]
usdFile = str(usdFile)
if os.path.exists(usdFile):
self.setUsdFile(usdFile)
def _reopenActionTriggered(self):
if self._usdFile is not None:
self.setUsdFile(self._usdFile)
def _reloadStageActionTriggered(self):
currentStage = self.currentScene.stage
for scene in self.scenes:
if scene.stage == currentStage:
index = self.nodeGraphTab.indexOf(scene)
self.nodeGraphTab.removeTab(index)
self.scenes.remove(scene)
self.addStage(currentStage)
def _reloadLayerActionTriggered(self):
self.currentScene.scene.reloadLayer()
def _showEditTextActionTriggered(self):
self.textEditDock.setVisible(True)
self.textEditDock.resize(500, 500)
self.editTextEdit.setText(self.currentScene.exportToString())
def _exportLayerActionTriggered(self):
self.currentScene.exportToFile()
def _saveLayerActionTriggered(self):
self.currentScene.saveLayer()
def _importNodesActionTriggered(self):
xmlFile = QtWidgets.QFileDialog.getOpenFileName(None, 'Import File', filter='USD Node Graph(*.ung *.xml)')
if isinstance(xmlFile, tuple):
xmlFile = xmlFile[0]
xmlFile = str(xmlFile)
if os.path.exists(xmlFile):
with open(xmlFile, 'r') as f:
nodesString = f.read()
nodes = self.currentScene.scene.pasteNodesFromXml(nodesString)
def _exportNodesActionTriggered(self):
xmlFile = QtWidgets.QFileDialog.getSaveFileName(None, 'Export', filter='USD Node Graph(*.ung *.xml)')
if isinstance(xmlFile, tuple):
xmlFile = xmlFile[0]
xmlFile = str(xmlFile)
if xmlFile == '':
return
if not xmlFile.endswith('.ung'):
xmlFile += '.ung'
self.currentScene.scene.exportSelectedNodesToFile(xmlFile)
def _saveNodesActionTriggered(self):
self.currentScene.saveNodes()
self.currentScene.saveLayer()
def _applyActionTriggered(self):
self.currentScene.applyChanges()
def _liveUpdateActionTriggered(self):
GraphState.setLiveUpdate(1 - GraphState.isLiveUpdate())
def _createNodeActionTriggered(self):
self.currentScene.view.showFloatEdit()
def _selectAllActionTriggered(self):
self.currentScene.scene.selectAll()
def _copyActionTriggered(self):
nodesString = self.currentScene.scene.getSelectedNodesAsXml()
cb = QtWidgets.QApplication.clipboard()
cb.setText(nodesString)
def _pasteActionTriggered(self):
nodesString = str(QtWidgets.QApplication.clipboard().text())
nodes = self.currentScene.scene.pasteNodesFromXml(nodesString)
def _cutActionTriggered(self):
self._copyActionTriggered()
self._deleteSelectionActionTriggered()
def _enterActionTriggered(self):
self.currentScene.scene.enterSelection()
def _forceEnterActionTriggered(self):
self.currentScene.scene.forceEnterSelection()
def _frameSelectionActionTriggered(self):
self.currentScene.scene.frameSelection()
def _layoutActionTriggered(self):
self.currentScene.scene.layoutNodes()
def _disableSelectionActionTriggered(self):
self.currentScene.scene.disableSelection()
def _deleteSelectionActionTriggered(self):
self.currentScene.scene.deleteSelection()
def _clearScenes(self):
for i in range(self.nodeGraphTab.count()):
self._tabCloseRequest(i)
def setUsdFile(self, usdFile):
self._usdFile = usdFile
self._clearScenes()
self._addUsdFile(usdFile)
def addUsdFile(self, usdFile):
self._addUsdFile(usdFile)
def setStage(self, stage, layer=None):
self._clearScenes()
self._addStage(stage, layer)
def addStage(self, stage, layer=None):
self._addStage(stage, layer)
def findNodeAtPath(self, path):
nodes = self.currentScene.scene.findNodeAtPath(path)
return nodes
def createNode(self, nodeType):
node = self.currentScene.scene.createNode(nodeType)
return node
def closeEvent(self, event):
super(UsdNodeGraph, self).closeEvent(event)
self.mainWindowClosed.emit()
def showEvent(self, QShowEvent):
super(UsdNodeGraph, self).showEvent(QShowEvent)
self._getUiPref()
def hideEvent(self, QHideEvent):
write_setting(User_Setting, 'nodegraph_geo/{}'.format(self.app), value=self.saveGeometry())
write_setting(User_Setting, 'nodegraph_state/{}'.format(self.app), value=self.saveState())
super(UsdNodeGraph, self).hideEvent(QHideEvent)
def _getUiPref(self):
geo = read_setting(
User_Setting,
'nodegraph_geo/{}'.format(self.app),
to_type='bytearray')
state = read_setting(
User_Setting,
'nodegraph_state/{}'.format(self.app),
to_type='bytearray')
self.restoreGeometry(geo)
self.restoreState(state)
| 19,328 | nodeGraph | py | en | python | code | {"qsc_code_num_words": 1777, "qsc_code_num_chars": 19328.0, "qsc_code_mean_word_length": 7.00337648, "qsc_code_frac_words_unique": 0.21834553, "qsc_code_frac_chars_top_2grams": 0.03856971, "qsc_code_frac_chars_top_3grams": 0.03037364, "qsc_code_frac_chars_top_4grams": 0.01607071, "qsc_code_frac_chars_dupe_5grams": 0.14640418, "qsc_code_frac_chars_dupe_6grams": 0.10895942, "qsc_code_frac_chars_dupe_7grams": 0.07312174, "qsc_code_frac_chars_dupe_8grams": 0.05978305, "qsc_code_frac_chars_dupe_9grams": 0.01976697, "qsc_code_frac_chars_dupe_10grams": 0.01317798, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00156271, "qsc_code_frac_chars_whitespace": 0.23851407, "qsc_code_size_file_byte": 19328.0, "qsc_code_num_lines": 526.0, "qsc_code_num_chars_line_max": 115.0, "qsc_code_num_chars_line_mean": 36.74524715, "qsc_code_frac_chars_alphabet": 0.84400054, "qsc_code_frac_chars_comments": 0.01086507, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.1308642, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06945099, "qsc_code_frac_chars_long_word_length": 0.00146543, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.15555556, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.03703704, "qsc_codepython_frac_lines_simplefunc": 0.0024691358024691358, "qsc_codepython_score_lines_no_logic": 0.24197531, "qsc_codepython_frac_lines_print": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0} |
1c-syntax/ssl_3_1 | src/cf/Reports/ПродлениеСрокаДействияЭлектронныхПодписей/Templates/Макет.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Template uuid="542a53f5-56c5-4ca9-90d1-d689532c69fd">
<Properties>
<Name>Макет</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Макет</v8:content>
</v8:item>
</Synonym>
<Comment/>
<TemplateType>DataCompositionSchema</TemplateType>
</Properties>
</Template>
</MetaDataObject> | 1,235 | Макет | xml | ru | xml | data | {"qsc_code_num_words": 223, "qsc_code_num_chars": 1235.0, "qsc_code_mean_word_length": 3.83408072, "qsc_code_frac_words_unique": 0.32735426, "qsc_code_frac_chars_top_2grams": 0.10526316, "qsc_code_frac_chars_top_3grams": 0.14035088, "qsc_code_frac_chars_top_4grams": 0.1754386, "qsc_code_frac_chars_dupe_5grams": 0.42923977, "qsc_code_frac_chars_dupe_6grams": 0.42923977, "qsc_code_frac_chars_dupe_7grams": 0.35672515, "qsc_code_frac_chars_dupe_8grams": 0.28538012, "qsc_code_frac_chars_dupe_9grams": 0.05614035, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.09137931, "qsc_code_frac_chars_whitespace": 0.06072874, "qsc_code_size_file_byte": 1235.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 77.1875, "qsc_code_frac_chars_alphabet": 0.64482759, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.5417004, "qsc_code_frac_chars_long_word_length": 0.0291498, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1xinghuan/usdNodeGraph | lib/python/usdNodeGraph/ui/app.py |
import os
from usdNodeGraph.module.sqt import *
from usdNodeGraph.utils.res import resource
TEXT_COLOR = QtGui.QColor(220, 220, 220)
DISABLED_COLOR = QtGui.QColor(150, 150, 150)
class DarkPalette(QtGui.QPalette):
def __init__(self):
super(DarkPalette, self).__init__()
self.setColor(QtGui.QPalette.Window, QtGui.QColor(50, 50, 50))
self.setColor(QtGui.QPalette.WindowText, TEXT_COLOR)
self.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, DISABLED_COLOR)
self.setColor(QtGui.QPalette.Text, TEXT_COLOR)
self.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.Text, DISABLED_COLOR)
self.setColor(QtGui.QPalette.ToolTipBase, TEXT_COLOR)
self.setColor(QtGui.QPalette.ToolTipText, QtGui.QColor(50, 50, 50))
self.setColor(QtGui.QPalette.Base, QtGui.QColor(40, 40, 40))
self.setColor(QtGui.QPalette.AlternateBase, QtGui.QColor(60, 60, 60))
self.setColor(QtGui.QPalette.Dark, QtGui.QColor(30, 30, 30))
self.setColor(QtGui.QPalette.Shadow, QtGui.QColor(20, 20, 20))
self.setColor(QtGui.QPalette.Button, QtGui.QColor(50, 50, 50))
self.setColor(QtGui.QPalette.ButtonText, TEXT_COLOR)
self.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, DISABLED_COLOR)
self.setColor(QtGui.QPalette.BrightText, QtGui.QColor(200, 20, 20))
self.setColor(QtGui.QPalette.Link, QtGui.QColor(40, 120, 200))
self.setColor(QtGui.QPalette.Highlight, QtGui.QColor(40, 130, 200))
self.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, QtGui.QColor(120, 120, 120))
self.setColor(QtGui.QPalette.HighlightedText, QtGui.QColor(40, 200, 200))
self.setColor(QtGui.QPalette.Disabled, QtGui.QPalette.HighlightedText, QtGui.QColor(120, 120, 120))
class MainApplication(QtWidgets.QApplication):
def __init__(self, *args, **kwargs):
super(MainApplication, self).__init__(*args, **kwargs)
darkPalette = DarkPalette()
self.setPalette(darkPalette)
guiStyle = resource.get_style('style')
self.setStyleSheet(guiStyle)
| 2,133 | app | py | en | python | code | {"qsc_code_num_words": 260, "qsc_code_num_chars": 2133.0, "qsc_code_mean_word_length": 5.72692308, "qsc_code_frac_words_unique": 0.21538462, "qsc_code_frac_chars_top_2grams": 0.22699799, "qsc_code_frac_chars_top_3grams": 0.22834117, "qsc_code_frac_chars_top_4grams": 0.33579584, "qsc_code_frac_chars_dupe_5grams": 0.50100739, "qsc_code_frac_chars_dupe_6grams": 0.39959704, "qsc_code_frac_chars_dupe_7grams": 0.26124916, "qsc_code_frac_chars_dupe_8grams": 0.26124916, "qsc_code_frac_chars_dupe_9grams": 0.19543318, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.06116723, "qsc_code_frac_chars_whitespace": 0.16455696, "qsc_code_size_file_byte": 2133.0, "qsc_code_num_lines": 56.0, "qsc_code_num_chars_line_max": 108.0, "qsc_code_num_chars_line_mean": 38.08928571, "qsc_code_frac_chars_alphabet": 0.77441077, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.00234852, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.05714286, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.08571429, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.2, "qsc_codepython_frac_lines_print": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0} |
1xinghuan/usdNodeGraph | lib/python/usdNodeGraph/ui/plugin.py | #
# Copyright 2018 Pixar
#
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. Trademarks. is deleted and replaced with:
#
# 6. Trademarks. This License does not grant permission to use the trade
# names, trademarks, service marks, or product names of the Licensor
# and its affiliates, except as required to comply with Section 4(c) of
# the License and to reproduce the content of the NOTICE file.
#
# You may obtain a copy of the Apache License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Apache License with the above modification is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the Apache License for the specific
# language governing permissions and limitations under the Apache License.
#
import sys
from pxr import Tf, Plug
PLUGIN_LOADED = False
class PluginContainer(object):
def registerPlugins(self):
pass
PluginContainerTfType = Tf.Type.Define(PluginContainer)
def loadPlugins():
global PLUGIN_LOADED
if PLUGIN_LOADED:
return
containerTypes = Plug.Registry.GetAllDerivedTypes(PluginContainerTfType)
# Find all plugins and plugin container types through libplug.
plugins = dict()
for containerType in containerTypes:
plugin = Plug.Registry().GetPluginForType(containerType)
pluginContainerTypes = plugins.setdefault(plugin, [])
pluginContainerTypes.append(containerType)
# Load each plugin in alphabetical order by name. For each plugin, load all
# of its containers in alphabetical order by type name.
allContainers = []
for plugin in sorted(list(plugins.keys()), key=lambda plugin: plugin.name):
plugin.Load()
pluginContainerTypes = sorted(
plugins[plugin], key=lambda containerType: containerType.typeName)
for containerType in pluginContainerTypes:
if containerType.pythonClass is None:
print(("WARNING: Missing plugin container '{}' from plugin "
"'{}'. Make sure the container is a defined Tf.Type and "
"the container's import path matches the path in "
"plugInfo.json.").format(
containerType.typeName, plugin.name))
continue
container = containerType.pythonClass()
allContainers.append(container)
# No plugins to load, so don't create a registry.
if len(allContainers) == 0:
return None
for container in allContainers:
container.registerPlugins()
PLUGIN_LOADED = True
| 2,870 | plugin | py | en | python | code | {"qsc_code_num_words": 346, "qsc_code_num_chars": 2870.0, "qsc_code_mean_word_length": 5.78612717, "qsc_code_frac_words_unique": 0.46820809, "qsc_code_frac_chars_top_2grams": 0.03146853, "qsc_code_frac_chars_top_3grams": 0.05594406, "qsc_code_frac_chars_top_4grams": 0.03146853, "qsc_code_frac_chars_dupe_5grams": 0.02297702, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00545951, "qsc_code_frac_chars_whitespace": 0.23414634, "qsc_code_size_file_byte": 2870.0, "qsc_code_num_lines": 79.0, "qsc_code_num_chars_line_max": 80.0, "qsc_code_num_chars_line_mean": 36.32911392, "qsc_code_frac_chars_alphabet": 0.90536852, "qsc_code_frac_chars_comments": 0.43519164, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.10552764, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.05405405, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.02702703, "qsc_codepython_frac_lines_import": 0.08108108, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.21621622, "qsc_codepython_frac_lines_print": 0.02702703} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0} |
1diot9/MyJavaSecStudy | CodeAudit/RuoYi/RuoYi-4.7.5/ruoyi-admin/src/main/resources/static/js/three.min.js | // three.js - http://github.com/mrdoob/three.js
'use strict';var THREE=THREE||{REVISION:"53"};self.console=self.console||{info:function(){},log:function(){},debug:function(){},warn:function(){},error:function(){}};self.Int32Array=self.Int32Array||Array;self.Float32Array=self.Float32Array||Array;String.prototype.startsWith=String.prototype.startsWith||function(a){return this.slice(0,a.length)===a};String.prototype.endsWith=String.prototype.endsWith||function(a){var a=String(a),b=this.lastIndexOf(a);return(-1<b&&b)===this.length-a.length};
String.prototype.trim=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")};
(function(){for(var a=0,b=["ms","moz","webkit","o"],c=0;c<b.length&&!window.requestAnimationFrame;++c)window.requestAnimationFrame=window[b[c]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[b[c]+"CancelAnimationFrame"]||window[b[c]+"CancelRequestAnimationFrame"];void 0===window.requestAnimationFrame&&(window.requestAnimationFrame=function(b){var c=Date.now(),f=Math.max(0,16-(c-a)),g=window.setTimeout(function(){b(c+f)},f);a=c+f;return g});window.cancelAnimationFrame=window.cancelAnimationFrame||
function(a){window.clearTimeout(a)}})();THREE.FrontSide=0;THREE.BackSide=1;THREE.DoubleSide=2;THREE.NoShading=0;THREE.FlatShading=1;THREE.SmoothShading=2;THREE.NoColors=0;THREE.FaceColors=1;THREE.VertexColors=2;THREE.NoBlending=0;THREE.NormalBlending=1;THREE.AdditiveBlending=2;THREE.SubtractiveBlending=3;THREE.MultiplyBlending=4;THREE.CustomBlending=5;THREE.AddEquation=100;THREE.SubtractEquation=101;THREE.ReverseSubtractEquation=102;THREE.ZeroFactor=200;THREE.OneFactor=201;THREE.SrcColorFactor=202;
THREE.OneMinusSrcColorFactor=203;THREE.SrcAlphaFactor=204;THREE.OneMinusSrcAlphaFactor=205;THREE.DstAlphaFactor=206;THREE.OneMinusDstAlphaFactor=207;THREE.DstColorFactor=208;THREE.OneMinusDstColorFactor=209;THREE.SrcAlphaSaturateFactor=210;THREE.MultiplyOperation=0;THREE.MixOperation=1;THREE.AddOperation=2;THREE.UVMapping=function(){};THREE.CubeReflectionMapping=function(){};THREE.CubeRefractionMapping=function(){};THREE.SphericalReflectionMapping=function(){};THREE.SphericalRefractionMapping=function(){};
THREE.RepeatWrapping=1E3;THREE.ClampToEdgeWrapping=1001;THREE.MirroredRepeatWrapping=1002;THREE.NearestFilter=1003;THREE.NearestMipMapNearestFilter=1004;THREE.NearestMipMapLinearFilter=1005;THREE.LinearFilter=1006;THREE.LinearMipMapNearestFilter=1007;THREE.LinearMipMapLinearFilter=1008;THREE.UnsignedByteType=1009;THREE.ByteType=1010;THREE.ShortType=1011;THREE.UnsignedShortType=1012;THREE.IntType=1013;THREE.UnsignedIntType=1014;THREE.FloatType=1015;THREE.UnsignedShort4444Type=1016;
THREE.UnsignedShort5551Type=1017;THREE.UnsignedShort565Type=1018;THREE.AlphaFormat=1019;THREE.RGBFormat=1020;THREE.RGBAFormat=1021;THREE.LuminanceFormat=1022;THREE.LuminanceAlphaFormat=1023;THREE.RGB_S3TC_DXT1_Format=2001;THREE.RGBA_S3TC_DXT1_Format=2002;THREE.RGBA_S3TC_DXT3_Format=2003;THREE.RGBA_S3TC_DXT5_Format=2004;THREE.Clock=function(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1};
THREE.Clock.prototype.start=function(){this.oldTime=this.startTime=Date.now();this.running=!0};THREE.Clock.prototype.stop=function(){this.getElapsedTime();this.running=!1};THREE.Clock.prototype.getElapsedTime=function(){return this.elapsedTime+=this.getDelta()};THREE.Clock.prototype.getDelta=function(){var a=0;this.autoStart&&!this.running&&this.start();if(this.running){var b=Date.now(),a=0.001*(b-this.oldTime);this.oldTime=b;this.elapsedTime+=a}return a};
THREE.Color=function(a){void 0!==a&&this.setHex(a);return this};
THREE.Color.prototype={constructor:THREE.Color,r:1,g:1,b:1,copy:function(a){this.r=a.r;this.g=a.g;this.b=a.b;return this},copyGammaToLinear:function(a){this.r=a.r*a.r;this.g=a.g*a.g;this.b=a.b*a.b;return this},copyLinearToGamma:function(a){this.r=Math.sqrt(a.r);this.g=Math.sqrt(a.g);this.b=Math.sqrt(a.b);return this},convertGammaToLinear:function(){var a=this.r,b=this.g,c=this.b;this.r=a*a;this.g=b*b;this.b=c*c;return this},convertLinearToGamma:function(){this.r=Math.sqrt(this.r);this.g=Math.sqrt(this.g);
this.b=Math.sqrt(this.b);return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSV:function(a,b,c){var d,e,f;0===c?this.r=this.g=this.b=0:(d=Math.floor(6*a),e=6*a-d,a=c*(1-b),f=c*(1-b*e),b=c*(1-b*(1-e)),0===d?(this.r=c,this.g=b,this.b=a):1===d?(this.r=f,this.g=c,this.b=a):2===d?(this.r=a,this.g=c,this.b=b):3===d?(this.r=a,this.g=f,this.b=c):4===d?(this.r=b,this.g=a,this.b=c):5===d&&(this.r=c,this.g=a,this.b=f));return this},getHex:function(){return 255*this.r<<16^255*this.g<<
8^255*this.b<<0},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getContextStyle:function(){return"rgb("+(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},setContextStyle:function(a){a=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/i.exec(a);this.r=parseInt(a[1],10)/255;this.g=parseInt(a[2],10)/255;this.b=parseInt(a[3],10)/255;return this},getHSV:function(a){var b=
this.r,c=this.g,d=this.b,e=Math.max(Math.max(b,c),d),f=Math.min(Math.min(b,c),d);if(f===e)f=b=0;else{var g=e-f,f=g/e,b=(b===e?(c-d)/g:c===e?2+(d-b)/g:4+(b-c)/g)/6;0>b&&(b+=1);1<b&&(b-=1)}void 0===a&&(a={h:0,s:0,v:0});a.h=b;a.s=f;a.v=e;return a},lerpSelf:function(a,b){this.r+=(a.r-this.r)*b;this.g+=(a.g-this.g)*b;this.b+=(a.b-this.b)*b;return this},clone:function(){return(new THREE.Color).setRGB(this.r,this.g,this.b)}};THREE.Vector2=function(a,b){this.x=a||0;this.y=b||0};
THREE.Vector2.prototype={constructor:THREE.Vector2,set:function(a,b){this.x=a;this.y=b;return this},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;return this},sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},subSelf:function(a){this.x-=a.x;this.y-=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a):this.set(0,
0);return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.lengthSq())},normalize:function(){return this.divideScalar(this.length())},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x,a=this.y-a.y;return b*b+a*a},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a,
b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},equals:function(a){return a.x===this.x&&a.y===this.y},clone:function(){return new THREE.Vector2(this.x,this.y)}};THREE.Vector3=function(a,b,c){this.x=a||0;this.y=b||0;this.z=c||0};
THREE.Vector3.prototype={constructor:THREE.Vector3,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},
sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},subSelf:function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},multiply:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},multiplySelf:function(a){this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},divideSelf:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a,this.z/=a):
this.z=this.y=this.x=0;return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.lengthSq())},lengthManhattan:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length())},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a,b){this.x+=
(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},cross:function(a,b){this.x=a.y*b.z-a.z*b.y;this.y=a.z*b.x-a.x*b.z;this.z=a.x*b.y-a.y*b.x;return this},crossSelf:function(a){var b=this.x,c=this.y,d=this.z;this.x=c*a.z-d*a.y;this.y=d*a.x-b*a.z;this.z=b*a.y-c*a.x;return this},angleTo:function(a){return Math.acos(this.dot(a)/this.length()/a.length())},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){return(new THREE.Vector3).sub(this,
a).lengthSq()},getPositionFromMatrix:function(a){this.x=a.elements[12];this.y=a.elements[13];this.z=a.elements[14];return this},setEulerFromRotationMatrix:function(a,b){function c(a){return Math.min(Math.max(a,-1),1)}var d=a.elements,e=d[0],f=d[4],g=d[8],h=d[1],i=d[5],j=d[9],l=d[2],m=d[6],d=d[10];void 0===b||"XYZ"===b?(this.y=Math.asin(c(g)),0.99999>Math.abs(g)?(this.x=Math.atan2(-j,d),this.z=Math.atan2(-f,e)):(this.x=Math.atan2(m,i),this.z=0)):"YXZ"===b?(this.x=Math.asin(-c(j)),0.99999>Math.abs(j)?
(this.y=Math.atan2(g,d),this.z=Math.atan2(h,i)):(this.y=Math.atan2(-l,e),this.z=0)):"ZXY"===b?(this.x=Math.asin(c(m)),0.99999>Math.abs(m)?(this.y=Math.atan2(-l,d),this.z=Math.atan2(-f,i)):(this.y=0,this.z=Math.atan2(h,e))):"ZYX"===b?(this.y=Math.asin(-c(l)),0.99999>Math.abs(l)?(this.x=Math.atan2(m,d),this.z=Math.atan2(h,e)):(this.x=0,this.z=Math.atan2(-f,i))):"YZX"===b?(this.z=Math.asin(c(h)),0.99999>Math.abs(h)?(this.x=Math.atan2(-j,i),this.y=Math.atan2(-l,e)):(this.x=0,this.y=Math.atan2(g,d))):
"XZY"===b&&(this.z=Math.asin(-c(f)),0.99999>Math.abs(f)?(this.x=Math.atan2(m,i),this.y=Math.atan2(g,e)):(this.x=Math.atan2(-j,d),this.y=0));return this},setEulerFromQuaternion:function(a,b){function c(a){return Math.min(Math.max(a,-1),1)}var d=a.x*a.x,e=a.y*a.y,f=a.z*a.z,g=a.w*a.w;void 0===b||"XYZ"===b?(this.x=Math.atan2(2*(a.x*a.w-a.y*a.z),g-d-e+f),this.y=Math.asin(c(2*(a.x*a.z+a.y*a.w))),this.z=Math.atan2(2*(a.z*a.w-a.x*a.y),g+d-e-f)):"YXZ"===b?(this.x=Math.asin(c(2*(a.x*a.w-a.y*a.z))),this.y=Math.atan2(2*
(a.x*a.z+a.y*a.w),g-d-e+f),this.z=Math.atan2(2*(a.x*a.y+a.z*a.w),g-d+e-f)):"ZXY"===b?(this.x=Math.asin(c(2*(a.x*a.w+a.y*a.z))),this.y=Math.atan2(2*(a.y*a.w-a.z*a.x),g-d-e+f),this.z=Math.atan2(2*(a.z*a.w-a.x*a.y),g-d+e-f)):"ZYX"===b?(this.x=Math.atan2(2*(a.x*a.w+a.z*a.y),g-d-e+f),this.y=Math.asin(c(2*(a.y*a.w-a.x*a.z))),this.z=Math.atan2(2*(a.x*a.y+a.z*a.w),g+d-e-f)):"YZX"===b?(this.x=Math.atan2(2*(a.x*a.w-a.z*a.y),g-d+e-f),this.y=Math.atan2(2*(a.y*a.w-a.x*a.z),g+d-e-f),this.z=Math.asin(c(2*(a.x*a.y+
a.z*a.w)))):"XZY"===b&&(this.x=Math.atan2(2*(a.x*a.w+a.y*a.z),g-d+e-f),this.y=Math.atan2(2*(a.x*a.z+a.y*a.w),g+d-e-f),this.z=Math.asin(c(2*(a.z*a.w-a.x*a.y))));return this},getScaleFromMatrix:function(a){var b=this.set(a.elements[0],a.elements[1],a.elements[2]).length(),c=this.set(a.elements[4],a.elements[5],a.elements[6]).length(),a=this.set(a.elements[8],a.elements[9],a.elements[10]).length();this.x=b;this.y=c;this.z=a;return this},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z},
clone:function(){return new THREE.Vector3(this.x,this.y,this.z)}};THREE.Vector4=function(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1};
THREE.Vector4.prototype={constructor:THREE.Vector4,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},subSelf:function(a){this.x-=
a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a,this.z/=a,this.w/=a):(this.z=this.y=this.x=0,this.w=1);return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z+this.w*a.w},lengthSq:function(){return this.dot(this)},length:function(){return Math.sqrt(this.lengthSq())},lengthManhattan:function(){return Math.abs(this.x)+
Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length())},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;this.w+=(a.w-this.w)*b;return this},clone:function(){return new THREE.Vector4(this.x,this.y,this.z,this.w)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):
(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){var b,c,d,a=a.elements,e=a[0];d=a[4];var f=a[8],g=a[1],h=a[5],i=a[9];c=a[2];b=a[6];var j=a[10];if(0.01>Math.abs(d-g)&&0.01>Math.abs(f-c)&&0.01>Math.abs(i-b)){if(0.1>Math.abs(d+g)&&0.1>Math.abs(f+c)&&0.1>Math.abs(i+b)&&0.1>Math.abs(e+h+j-3))return this.set(1,0,0,0),this;a=Math.PI;e=(e+1)/2;h=(h+1)/2;j=(j+1)/2;d=(d+g)/4;f=(f+c)/4;i=(i+b)/4;e>h&&e>j?0.01>e?(b=0,d=c=0.707106781):(b=Math.sqrt(e),c=d/b,d=f/
b):h>j?0.01>h?(b=0.707106781,c=0,d=0.707106781):(c=Math.sqrt(h),b=d/c,d=i/c):0.01>j?(c=b=0.707106781,d=0):(d=Math.sqrt(j),b=f/d,c=i/d);this.set(b,c,d,a);return this}a=Math.sqrt((b-i)*(b-i)+(f-c)*(f-c)+(g-d)*(g-d));0.001>Math.abs(a)&&(a=1);this.x=(b-i)/a;this.y=(f-c)/a;this.z=(g-d)/a;this.w=Math.acos((e+h+j-1)/2);return this}};THREE.Matrix3=function(){this.elements=new Float32Array(9)};
THREE.Matrix3.prototype={constructor:THREE.Matrix3,multiplyVector3:function(a){var b=this.elements,c=a.x,d=a.y,e=a.z;a.x=b[0]*c+b[3]*d+b[6]*e;a.y=b[1]*c+b[4]*d+b[7]*e;a.z=b[2]*c+b[5]*d+b[8]*e;return a},multiplyVector3Array:function(a){for(var b=THREE.Matrix3.__v1,c=0,d=a.length;c<d;c+=3)b.x=a[c],b.y=a[c+1],b.z=a[c+2],this.multiplyVector3(b),a[c]=b.x,a[c+1]=b.y,a[c+2]=b.z;return a},getInverse:function(a){var b=a.elements,a=b[10]*b[5]-b[6]*b[9],c=-b[10]*b[1]+b[2]*b[9],d=b[6]*b[1]-b[2]*b[5],e=-b[10]*
b[4]+b[6]*b[8],f=b[10]*b[0]-b[2]*b[8],g=-b[6]*b[0]+b[2]*b[4],h=b[9]*b[4]-b[5]*b[8],i=-b[9]*b[0]+b[1]*b[8],j=b[5]*b[0]-b[1]*b[4],b=b[0]*a+b[1]*e+b[2]*h;0===b&&console.warn("Matrix3.getInverse(): determinant == 0");var b=1/b,l=this.elements;l[0]=b*a;l[1]=b*c;l[2]=b*d;l[3]=b*e;l[4]=b*f;l[5]=b*g;l[6]=b*h;l[7]=b*i;l[8]=b*j;return this},transpose:function(){var a,b=this.elements;a=b[1];b[1]=b[3];b[3]=a;a=b[2];b[2]=b[6];b[6]=a;a=b[5];b[5]=b[7];b[7]=a;return this},transposeIntoArray:function(a){var b=this.m;
a[0]=b[0];a[1]=b[3];a[2]=b[6];a[3]=b[1];a[4]=b[4];a[5]=b[7];a[6]=b[2];a[7]=b[5];a[8]=b[8];return this}};THREE.Matrix3.__v1=new THREE.Vector3;THREE.Matrix4=function(a,b,c,d,e,f,g,h,i,j,l,m,n,p,o,s){this.elements=new Float32Array(16);this.set(void 0!==a?a:1,b||0,c||0,d||0,e||0,void 0!==f?f:1,g||0,h||0,i||0,j||0,void 0!==l?l:1,m||0,n||0,p||0,o||0,void 0!==s?s:1)};
THREE.Matrix4.prototype={constructor:THREE.Matrix4,set:function(a,b,c,d,e,f,g,h,i,j,l,m,n,p,o,s){var t=this.elements;t[0]=a;t[4]=b;t[8]=c;t[12]=d;t[1]=e;t[5]=f;t[9]=g;t[13]=h;t[2]=i;t[6]=j;t[10]=l;t[14]=m;t[3]=n;t[7]=p;t[11]=o;t[15]=s;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},copy:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[12],a[1],a[5],a[9],a[13],a[2],a[6],a[10],a[14],a[3],a[7],a[11],a[15]);return this},lookAt:function(a,b,c){var d=this.elements,
e=THREE.Matrix4.__v1,f=THREE.Matrix4.__v2,g=THREE.Matrix4.__v3;g.sub(a,b).normalize();0===g.length()&&(g.z=1);e.cross(c,g).normalize();0===e.length()&&(g.x+=1E-4,e.cross(c,g).normalize());f.cross(g,e);d[0]=e.x;d[4]=f.x;d[8]=g.x;d[1]=e.y;d[5]=f.y;d[9]=g.y;d[2]=e.z;d[6]=f.z;d[10]=g.z;return this},multiply:function(a,b){var c=a.elements,d=b.elements,e=this.elements,f=c[0],g=c[4],h=c[8],i=c[12],j=c[1],l=c[5],m=c[9],n=c[13],p=c[2],o=c[6],s=c[10],t=c[14],r=c[3],z=c[7],w=c[11],c=c[15],q=d[0],E=d[4],A=d[8],
v=d[12],u=d[1],D=d[5],C=d[9],G=d[13],P=d[2],B=d[6],K=d[10],H=d[14],I=d[3],N=d[7],O=d[11],d=d[15];e[0]=f*q+g*u+h*P+i*I;e[4]=f*E+g*D+h*B+i*N;e[8]=f*A+g*C+h*K+i*O;e[12]=f*v+g*G+h*H+i*d;e[1]=j*q+l*u+m*P+n*I;e[5]=j*E+l*D+m*B+n*N;e[9]=j*A+l*C+m*K+n*O;e[13]=j*v+l*G+m*H+n*d;e[2]=p*q+o*u+s*P+t*I;e[6]=p*E+o*D+s*B+t*N;e[10]=p*A+o*C+s*K+t*O;e[14]=p*v+o*G+s*H+t*d;e[3]=r*q+z*u+w*P+c*I;e[7]=r*E+z*D+w*B+c*N;e[11]=r*A+z*C+w*K+c*O;e[15]=r*v+z*G+w*H+c*d;return this},multiplySelf:function(a){return this.multiply(this,
a)},multiplyToArray:function(a,b,c){var d=this.elements;this.multiply(a,b);c[0]=d[0];c[1]=d[1];c[2]=d[2];c[3]=d[3];c[4]=d[4];c[5]=d[5];c[6]=d[6];c[7]=d[7];c[8]=d[8];c[9]=d[9];c[10]=d[10];c[11]=d[11];c[12]=d[12];c[13]=d[13];c[14]=d[14];c[15]=d[15];return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},multiplyVector3:function(a){var b=this.elements,
c=a.x,d=a.y,e=a.z,f=1/(b[3]*c+b[7]*d+b[11]*e+b[15]);a.x=(b[0]*c+b[4]*d+b[8]*e+b[12])*f;a.y=(b[1]*c+b[5]*d+b[9]*e+b[13])*f;a.z=(b[2]*c+b[6]*d+b[10]*e+b[14])*f;return a},multiplyVector4:function(a){var b=this.elements,c=a.x,d=a.y,e=a.z,f=a.w;a.x=b[0]*c+b[4]*d+b[8]*e+b[12]*f;a.y=b[1]*c+b[5]*d+b[9]*e+b[13]*f;a.z=b[2]*c+b[6]*d+b[10]*e+b[14]*f;a.w=b[3]*c+b[7]*d+b[11]*e+b[15]*f;return a},multiplyVector3Array:function(a){for(var b=THREE.Matrix4.__v1,c=0,d=a.length;c<d;c+=3)b.x=a[c],b.y=a[c+1],b.z=a[c+2],
this.multiplyVector3(b),a[c]=b.x,a[c+1]=b.y,a[c+2]=b.z;return a},rotateAxis:function(a){var b=this.elements,c=a.x,d=a.y,e=a.z;a.x=c*b[0]+d*b[4]+e*b[8];a.y=c*b[1]+d*b[5]+e*b[9];a.z=c*b[2]+d*b[6]+e*b[10];a.normalize();return a},crossVector:function(a){var b=this.elements,c=new THREE.Vector4;c.x=b[0]*a.x+b[4]*a.y+b[8]*a.z+b[12]*a.w;c.y=b[1]*a.x+b[5]*a.y+b[9]*a.z+b[13]*a.w;c.z=b[2]*a.x+b[6]*a.y+b[10]*a.z+b[14]*a.w;c.w=a.w?b[3]*a.x+b[7]*a.y+b[11]*a.z+b[15]*a.w:1;return c},determinant:function(){var a=
this.elements,b=a[0],c=a[4],d=a[8],e=a[12],f=a[1],g=a[5],h=a[9],i=a[13],j=a[2],l=a[6],m=a[10],n=a[14],p=a[3],o=a[7],s=a[11],a=a[15];return e*h*l*p-d*i*l*p-e*g*m*p+c*i*m*p+d*g*n*p-c*h*n*p-e*h*j*o+d*i*j*o+e*f*m*o-b*i*m*o-d*f*n*o+b*h*n*o+e*g*j*s-c*i*j*s-e*f*l*s+b*i*l*s+c*f*n*s-b*g*n*s-d*g*j*a+c*h*j*a+d*f*l*a-b*h*l*a-c*f*m*a+b*g*m*a},transpose:function(){var a=this.elements,b;b=a[1];a[1]=a[4];a[4]=b;b=a[2];a[2]=a[8];a[8]=b;b=a[6];a[6]=a[9];a[9]=b;b=a[3];a[3]=a[12];a[12]=b;b=a[7];a[7]=a[13];a[13]=b;b=
a[11];a[11]=a[14];a[14]=b;return this},flattenToArray:function(a){var b=this.elements;a[0]=b[0];a[1]=b[1];a[2]=b[2];a[3]=b[3];a[4]=b[4];a[5]=b[5];a[6]=b[6];a[7]=b[7];a[8]=b[8];a[9]=b[9];a[10]=b[10];a[11]=b[11];a[12]=b[12];a[13]=b[13];a[14]=b[14];a[15]=b[15];return a},flattenToArrayOffset:function(a,b){var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+
14]=c[14];a[b+15]=c[15];return a},getPosition:function(){var a=this.elements;return THREE.Matrix4.__v1.set(a[12],a[13],a[14])},setPosition:function(a){var b=this.elements;b[12]=a.x;b[13]=a.y;b[14]=a.z;return this},getColumnX:function(){var a=this.elements;return THREE.Matrix4.__v1.set(a[0],a[1],a[2])},getColumnY:function(){var a=this.elements;return THREE.Matrix4.__v1.set(a[4],a[5],a[6])},getColumnZ:function(){var a=this.elements;return THREE.Matrix4.__v1.set(a[8],a[9],a[10])},getInverse:function(a){var b=
this.elements,c=a.elements,d=c[0],e=c[4],f=c[8],g=c[12],h=c[1],i=c[5],j=c[9],l=c[13],m=c[2],n=c[6],p=c[10],o=c[14],s=c[3],t=c[7],r=c[11],c=c[15];b[0]=j*o*t-l*p*t+l*n*r-i*o*r-j*n*c+i*p*c;b[4]=g*p*t-f*o*t-g*n*r+e*o*r+f*n*c-e*p*c;b[8]=f*l*t-g*j*t+g*i*r-e*l*r-f*i*c+e*j*c;b[12]=g*j*n-f*l*n-g*i*p+e*l*p+f*i*o-e*j*o;b[1]=l*p*s-j*o*s-l*m*r+h*o*r+j*m*c-h*p*c;b[5]=f*o*s-g*p*s+g*m*r-d*o*r-f*m*c+d*p*c;b[9]=g*j*s-f*l*s-g*h*r+d*l*r+f*h*c-d*j*c;b[13]=f*l*m-g*j*m+g*h*p-d*l*p-f*h*o+d*j*o;b[2]=i*o*s-l*n*s+l*m*t-h*o*
t-i*m*c+h*n*c;b[6]=g*n*s-e*o*s-g*m*t+d*o*t+e*m*c-d*n*c;b[10]=e*l*s-g*i*s+g*h*t-d*l*t-e*h*c+d*i*c;b[14]=g*i*m-e*l*m-g*h*n+d*l*n+e*h*o-d*i*o;b[3]=j*n*s-i*p*s-j*m*t+h*p*t+i*m*r-h*n*r;b[7]=e*p*s-f*n*s+f*m*t-d*p*t-e*m*r+d*n*r;b[11]=f*i*s-e*j*s-f*h*t+d*j*t+e*h*r-d*i*r;b[15]=e*j*m-f*i*m+f*h*n-d*j*n-e*h*p+d*i*p;this.multiplyScalar(1/a.determinant());return this},setRotationFromEuler:function(a,b){var c=this.elements,d=a.x,e=a.y,f=a.z,g=Math.cos(d),d=Math.sin(d),h=Math.cos(e),e=Math.sin(e),i=Math.cos(f),f=
Math.sin(f);if(void 0===b||"XYZ"===b){var j=g*i,l=g*f,m=d*i,n=d*f;c[0]=h*i;c[4]=-h*f;c[8]=e;c[1]=l+m*e;c[5]=j-n*e;c[9]=-d*h;c[2]=n-j*e;c[6]=m+l*e;c[10]=g*h}else"YXZ"===b?(j=h*i,l=h*f,m=e*i,n=e*f,c[0]=j+n*d,c[4]=m*d-l,c[8]=g*e,c[1]=g*f,c[5]=g*i,c[9]=-d,c[2]=l*d-m,c[6]=n+j*d,c[10]=g*h):"ZXY"===b?(j=h*i,l=h*f,m=e*i,n=e*f,c[0]=j-n*d,c[4]=-g*f,c[8]=m+l*d,c[1]=l+m*d,c[5]=g*i,c[9]=n-j*d,c[2]=-g*e,c[6]=d,c[10]=g*h):"ZYX"===b?(j=g*i,l=g*f,m=d*i,n=d*f,c[0]=h*i,c[4]=m*e-l,c[8]=j*e+n,c[1]=h*f,c[5]=n*e+j,c[9]=
l*e-m,c[2]=-e,c[6]=d*h,c[10]=g*h):"YZX"===b?(j=g*h,l=g*e,m=d*h,n=d*e,c[0]=h*i,c[4]=n-j*f,c[8]=m*f+l,c[1]=f,c[5]=g*i,c[9]=-d*i,c[2]=-e*i,c[6]=l*f+m,c[10]=j-n*f):"XZY"===b&&(j=g*h,l=g*e,m=d*h,n=d*e,c[0]=h*i,c[4]=-f,c[8]=e*i,c[1]=j*f+n,c[5]=g*i,c[9]=l*f-m,c[2]=m*f-l,c[6]=d*i,c[10]=n*f+j);return this},setRotationFromQuaternion:function(a){var b=this.elements,c=a.x,d=a.y,e=a.z,f=a.w,g=c+c,h=d+d,i=e+e,a=c*g,j=c*h,c=c*i,l=d*h,d=d*i,e=e*i,g=f*g,h=f*h,f=f*i;b[0]=1-(l+e);b[4]=j-f;b[8]=c+h;b[1]=j+f;b[5]=1-(a+
e);b[9]=d-g;b[2]=c-h;b[6]=d+g;b[10]=1-(a+l);return this},compose:function(a,b,c){var d=this.elements,e=THREE.Matrix4.__m1,f=THREE.Matrix4.__m2;e.identity();e.setRotationFromQuaternion(b);f.makeScale(c.x,c.y,c.z);this.multiply(e,f);d[12]=a.x;d[13]=a.y;d[14]=a.z;return this},decompose:function(a,b,c){var d=this.elements,e=THREE.Matrix4.__v1,f=THREE.Matrix4.__v2,g=THREE.Matrix4.__v3;e.set(d[0],d[1],d[2]);f.set(d[4],d[5],d[6]);g.set(d[8],d[9],d[10]);a=a instanceof THREE.Vector3?a:new THREE.Vector3;b=
b instanceof THREE.Quaternion?b:new THREE.Quaternion;c=c instanceof THREE.Vector3?c:new THREE.Vector3;c.x=e.length();c.y=f.length();c.z=g.length();a.x=d[12];a.y=d[13];a.z=d[14];d=THREE.Matrix4.__m1;d.copy(this);d.elements[0]/=c.x;d.elements[1]/=c.x;d.elements[2]/=c.x;d.elements[4]/=c.y;d.elements[5]/=c.y;d.elements[6]/=c.y;d.elements[8]/=c.z;d.elements[9]/=c.z;d.elements[10]/=c.z;b.setFromRotationMatrix(d);return[a,b,c]},extractPosition:function(a){var b=this.elements,a=a.elements;b[12]=a[12];b[13]=
a[13];b[14]=a[14];return this},extractRotation:function(a){var b=this.elements,a=a.elements,c=THREE.Matrix4.__v1,d=1/c.set(a[0],a[1],a[2]).length(),e=1/c.set(a[4],a[5],a[6]).length(),c=1/c.set(a[8],a[9],a[10]).length();b[0]=a[0]*d;b[1]=a[1]*d;b[2]=a[2]*d;b[4]=a[4]*e;b[5]=a[5]*e;b[6]=a[6]*e;b[8]=a[8]*c;b[9]=a[9]*c;b[10]=a[10]*c;return this},translate:function(a){var b=this.elements,c=a.x,d=a.y,a=a.z;b[12]=b[0]*c+b[4]*d+b[8]*a+b[12];b[13]=b[1]*c+b[5]*d+b[9]*a+b[13];b[14]=b[2]*c+b[6]*d+b[10]*a+b[14];
b[15]=b[3]*c+b[7]*d+b[11]*a+b[15];return this},rotateX:function(a){var b=this.elements,c=b[4],d=b[5],e=b[6],f=b[7],g=b[8],h=b[9],i=b[10],j=b[11],l=Math.cos(a),a=Math.sin(a);b[4]=l*c+a*g;b[5]=l*d+a*h;b[6]=l*e+a*i;b[7]=l*f+a*j;b[8]=l*g-a*c;b[9]=l*h-a*d;b[10]=l*i-a*e;b[11]=l*j-a*f;return this},rotateY:function(a){var b=this.elements,c=b[0],d=b[1],e=b[2],f=b[3],g=b[8],h=b[9],i=b[10],j=b[11],l=Math.cos(a),a=Math.sin(a);b[0]=l*c-a*g;b[1]=l*d-a*h;b[2]=l*e-a*i;b[3]=l*f-a*j;b[8]=l*g+a*c;b[9]=l*h+a*d;b[10]=
l*i+a*e;b[11]=l*j+a*f;return this},rotateZ:function(a){var b=this.elements,c=b[0],d=b[1],e=b[2],f=b[3],g=b[4],h=b[5],i=b[6],j=b[7],l=Math.cos(a),a=Math.sin(a);b[0]=l*c+a*g;b[1]=l*d+a*h;b[2]=l*e+a*i;b[3]=l*f+a*j;b[4]=l*g-a*c;b[5]=l*h-a*d;b[6]=l*i-a*e;b[7]=l*j-a*f;return this},rotateByAxis:function(a,b){var c=this.elements;if(1===a.x&&0===a.y&&0===a.z)return this.rotateX(b);if(0===a.x&&1===a.y&&0===a.z)return this.rotateY(b);if(0===a.x&&0===a.y&&1===a.z)return this.rotateZ(b);var d=a.x,e=a.y,f=a.z,
g=Math.sqrt(d*d+e*e+f*f),d=d/g,e=e/g,f=f/g,g=d*d,h=e*e,i=f*f,j=Math.cos(b),l=Math.sin(b),m=1-j,n=d*e*m,p=d*f*m,m=e*f*m,d=d*l,o=e*l,l=f*l,f=g+(1-g)*j,g=n+l,e=p-o,n=n-l,h=h+(1-h)*j,l=m+d,p=p+o,m=m-d,i=i+(1-i)*j,j=c[0],d=c[1],o=c[2],s=c[3],t=c[4],r=c[5],z=c[6],w=c[7],q=c[8],E=c[9],A=c[10],v=c[11];c[0]=f*j+g*t+e*q;c[1]=f*d+g*r+e*E;c[2]=f*o+g*z+e*A;c[3]=f*s+g*w+e*v;c[4]=n*j+h*t+l*q;c[5]=n*d+h*r+l*E;c[6]=n*o+h*z+l*A;c[7]=n*s+h*w+l*v;c[8]=p*j+m*t+i*q;c[9]=p*d+m*r+i*E;c[10]=p*o+m*z+i*A;c[11]=p*s+m*w+i*v;
return this},scale:function(a){var b=this.elements,c=a.x,d=a.y,a=a.z;b[0]*=c;b[4]*=d;b[8]*=a;b[1]*=c;b[5]*=d;b[9]*=a;b[2]*=c;b[6]*=d;b[10]*=a;b[3]*=c;b[7]*=d;b[11]*=a;return this},getMaxScaleOnAxis:function(){var a=this.elements;return Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1]+a[2]*a[2],Math.max(a[4]*a[4]+a[5]*a[5]+a[6]*a[6],a[8]*a[8]+a[9]*a[9]+a[10]*a[10])))},makeTranslation:function(a,b,c){this.set(1,0,0,a,0,1,0,b,0,0,1,c,0,0,0,1);return this},makeRotationX:function(a){var b=Math.cos(a),a=Math.sin(a);
this.set(1,0,0,0,0,b,-a,0,0,a,b,0,0,0,0,1);return this},makeRotationY:function(a){var b=Math.cos(a),a=Math.sin(a);this.set(b,0,a,0,0,1,0,0,-a,0,b,0,0,0,0,1);return this},makeRotationZ:function(a){var b=Math.cos(a),a=Math.sin(a);this.set(b,-a,0,0,a,b,0,0,0,0,1,0,0,0,0,1);return this},makeRotationAxis:function(a,b){var c=Math.cos(b),d=Math.sin(b),e=1-c,f=a.x,g=a.y,h=a.z,i=e*f,j=e*g;this.set(i*f+c,i*g-d*h,i*h+d*g,0,i*g+d*h,j*g+c,j*h-d*f,0,i*h-d*g,j*h+d*f,e*h*h+c,0,0,0,0,1);return this},makeScale:function(a,
b,c){this.set(a,0,0,0,0,b,0,0,0,0,c,0,0,0,0,1);return this},makeFrustum:function(a,b,c,d,e,f){var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(d-c);g[9]=(d+c)/(d-c);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=0;g[7]=0;g[11]=-1;g[15]=0;return this},makePerspective:function(a,b,c,d){var a=c*Math.tan(a*Math.PI/360),e=-a;return this.makeFrustum(e*b,a*b,e,a,c,d)},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,h=b-a,i=c-d,j=f-e;g[0]=2/
h;g[4]=0;g[8]=0;g[12]=-((b+a)/h);g[1]=0;g[5]=2/i;g[9]=0;g[13]=-((c+d)/i);g[2]=0;g[6]=0;g[10]=-2/j;g[14]=-((f+e)/j);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},clone:function(){var a=this.elements;return new THREE.Matrix4(a[0],a[4],a[8],a[12],a[1],a[5],a[9],a[13],a[2],a[6],a[10],a[14],a[3],a[7],a[11],a[15])}};THREE.Matrix4.__v1=new THREE.Vector3;THREE.Matrix4.__v2=new THREE.Vector3;THREE.Matrix4.__v3=new THREE.Vector3;THREE.Matrix4.__m1=new THREE.Matrix4;THREE.Matrix4.__m2=new THREE.Matrix4;
THREE.EventTarget=function(){var a={};this.addEventListener=function(b,c){void 0===a[b]&&(a[b]=[]);-1===a[b].indexOf(c)&&a[b].push(c)};this.dispatchEvent=function(b){for(var c in a[b.type])a[b.type][c](b)};this.removeEventListener=function(b,c){var d=a[b].indexOf(c);-1!==d&&a[b].splice(d,1)}};THREE.Frustum=function(){this.planes=[new THREE.Vector4,new THREE.Vector4,new THREE.Vector4,new THREE.Vector4,new THREE.Vector4,new THREE.Vector4]};
THREE.Frustum.prototype.setFromMatrix=function(a){var b=this.planes,c=a.elements,a=c[0],d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],i=c[6],j=c[7],l=c[8],m=c[9],n=c[10],p=c[11],o=c[12],s=c[13],t=c[14],c=c[15];b[0].set(f-a,j-g,p-l,c-o);b[1].set(f+a,j+g,p+l,c+o);b[2].set(f+d,j+h,p+m,c+s);b[3].set(f-d,j-h,p-m,c-s);b[4].set(f-e,j-i,p-n,c-t);b[5].set(f+e,j+i,p+n,c+t);for(d=0;6>d;d++)a=b[d],a.divideScalar(Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z))};
THREE.Frustum.prototype.contains=function(a){for(var b=0,c=this.planes,b=a.matrixWorld,d=b.elements,a=-a.geometry.boundingSphere.radius*b.getMaxScaleOnAxis(),e=0;6>e;e++)if(b=c[e].x*d[12]+c[e].y*d[13]+c[e].z*d[14]+c[e].w,b<=a)return!1;return!0};THREE.Frustum.__v1=new THREE.Vector3;
(function(a){a.Ray=function(b,c,d,e){this.origin=b||new a.Vector3;this.direction=c||new a.Vector3;this.near=d||0;this.far=e||Infinity};var b=new a.Vector3,c=new a.Vector3,d=new a.Vector3,e=new a.Vector3;new a.Vector3;var f=new a.Vector3,g=new a.Matrix4,h=function(a,b){return a.distance-b.distance},i=new a.Vector3,j=new a.Vector3,l=new a.Vector3,m=function(a,b,c){i.sub(c,a);var d=i.dot(b),a=j.add(a,l.copy(b).multiplyScalar(d));return c.distanceTo(a)},n=function(a,b,c,d){i.sub(d,b);j.sub(c,b);l.sub(a,
b);var a=i.dot(i),b=i.dot(j),c=i.dot(l),e=j.dot(j),d=j.dot(l),f=1/(a*e-b*b),e=(e*c-b*d)*f,a=(a*d-b*c)*f;return 0<=e&&0<=a&&1>e+a},p=function(h,i,j){if(h instanceof a.Particle){var l=m(i.origin,i.direction,h.matrixWorld.getPosition());if(l>h.scale.x)return j;j.push({distance:l,point:h.position,face:null,object:h})}else if(h instanceof a.Mesh){var o=h.geometry.boundingSphere.radius*h.matrixWorld.getMaxScaleOnAxis(),l=m(i.origin,i.direction,h.matrixWorld.getPosition());if(l>o)return j;var o=h.geometry,
p=o.vertices,E=h.material instanceof a.MeshFaceMaterial,A=!0===E?h.material.materials:null,l=h.material.side,v,u,D,C=i.precision;h.matrixRotationWorld.extractRotation(h.matrixWorld);b.copy(i.origin);g.getInverse(h.matrixWorld);c.copy(b);g.multiplyVector3(c);d.copy(i.direction);g.rotateAxis(d).normalize();for(var G=0,P=o.faces.length;G<P;G++){var B=o.faces[G],l=!0===E?A[B.materialIndex]:h.material;if(void 0!==l&&(l=l.side,e.sub(B.centroid,c),u=B.normal,v=d.dot(u),!(Math.abs(v)<C)&&(u=u.dot(e)/v,!(0>
u)&&(l===a.DoubleSide||(l===a.FrontSide?0>v:0<v)))))if(f.add(c,d.multiplyScalar(u)),B instanceof a.Face3)l=p[B.a],v=p[B.b],u=p[B.c],n(f,l,v,u)&&(v=h.matrixWorld.multiplyVector3(f.clone()),l=b.distanceTo(v),l<i.near||l>i.far||j.push({distance:l,point:v,face:B,faceIndex:G,object:h}));else if(B instanceof a.Face4&&(l=p[B.a],v=p[B.b],u=p[B.c],D=p[B.d],n(f,l,v,D)||n(f,v,u,D)))v=h.matrixWorld.multiplyVector3(f.clone()),l=b.distanceTo(v),l<i.near||l>i.far||j.push({distance:l,point:v,face:B,faceIndex:G,object:h})}}},
o=function(a,b,c){for(var a=a.getDescendants(),d=0,e=a.length;d<e;d++)p(a[d],b,c)};a.Ray.prototype.precision=1E-4;a.Ray.prototype.set=function(a,b){this.origin=a;this.direction=b};a.Ray.prototype.intersectObject=function(a,b){var c=[];!0===b&&o(a,this,c);p(a,this,c);c.sort(h);return c};a.Ray.prototype.intersectObjects=function(a,b){for(var c=[],d=0,e=a.length;d<e;d++)p(a[d],this,c),!0===b&&o(a[d],this,c);c.sort(h);return c}})(THREE);
THREE.Rectangle=function(){function a(){f=d-b;g=e-c}var b=0,c=0,d=0,e=0,f=0,g=0,h=!0;this.getX=function(){return b};this.getY=function(){return c};this.getWidth=function(){return f};this.getHeight=function(){return g};this.getLeft=function(){return b};this.getTop=function(){return c};this.getRight=function(){return d};this.getBottom=function(){return e};this.set=function(f,g,l,m){h=!1;b=f;c=g;d=l;e=m;a()};this.addPoint=function(f,g){!0===h?(h=!1,b=f,c=g,d=f,e=g):(b=b<f?b:f,c=c<g?c:g,d=d>f?d:f,e=e>
g?e:g);a()};this.add3Points=function(f,g,l,m,n,p){!0===h?(h=!1,b=f<l?f<n?f:n:l<n?l:n,c=g<m?g<p?g:p:m<p?m:p,d=f>l?f>n?f:n:l>n?l:n,e=g>m?g>p?g:p:m>p?m:p):(b=f<l?f<n?f<b?f:b:n<b?n:b:l<n?l<b?l:b:n<b?n:b,c=g<m?g<p?g<c?g:c:p<c?p:c:m<p?m<c?m:c:p<c?p:c,d=f>l?f>n?f>d?f:d:n>d?n:d:l>n?l>d?l:d:n>d?n:d,e=g>m?g>p?g>e?g:e:p>e?p:e:m>p?m>e?m:e:p>e?p:e);a()};this.addRectangle=function(f){!0===h?(h=!1,b=f.getLeft(),c=f.getTop(),d=f.getRight(),e=f.getBottom()):(b=b<f.getLeft()?b:f.getLeft(),c=c<f.getTop()?c:f.getTop(),
d=d>f.getRight()?d:f.getRight(),e=e>f.getBottom()?e:f.getBottom());a()};this.inflate=function(f){b-=f;c-=f;d+=f;e+=f;a()};this.minSelf=function(f){b=b>f.getLeft()?b:f.getLeft();c=c>f.getTop()?c:f.getTop();d=d<f.getRight()?d:f.getRight();e=e<f.getBottom()?e:f.getBottom();a()};this.intersects=function(a){return d<a.getLeft()||b>a.getRight()||e<a.getTop()||c>a.getBottom()?!1:!0};this.empty=function(){h=!0;e=d=c=b=0;a()};this.isEmpty=function(){return h}};
THREE.Math={clamp:function(a,b,c){return a<b?b:a>c?c:a},clampBottom:function(a,b){return a<b?b:a},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},random16:function(){return(65280*Math.random()+255*Math.random())/65535},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a*(0.5-Math.random())},sign:function(a){return 0>a?-1:0<a?1:0}};
THREE.Object3D=function(){THREE.Object3DLibrary.push(this);this.id=THREE.Object3DIdCount++;this.name="";this.properties={};this.parent=void 0;this.children=[];this.up=new THREE.Vector3(0,1,0);this.position=new THREE.Vector3;this.rotation=new THREE.Vector3;this.eulerOrder=THREE.Object3D.defaultEulerOrder;this.scale=new THREE.Vector3(1,1,1);this.renderDepth=null;this.rotationAutoUpdate=!0;this.matrix=new THREE.Matrix4;this.matrixWorld=new THREE.Matrix4;this.matrixRotationWorld=new THREE.Matrix4;this.matrixWorldNeedsUpdate=
this.matrixAutoUpdate=!0;this.quaternion=new THREE.Quaternion;this.useQuaternion=!1;this.boundRadius=0;this.boundRadiusScale=1;this.visible=!0;this.receiveShadow=this.castShadow=!1;this.frustumCulled=!0;this._vector=new THREE.Vector3};
THREE.Object3D.prototype={constructor:THREE.Object3D,applyMatrix:function(a){this.matrix.multiply(a,this.matrix);this.scale.getScaleFromMatrix(this.matrix);a=(new THREE.Matrix4).extractRotation(this.matrix);this.rotation.setEulerFromRotationMatrix(a,this.eulerOrder);this.position.getPositionFromMatrix(this.matrix)},translate:function(a,b){this.matrix.rotateAxis(b);this.position.addSelf(b.multiplyScalar(a))},translateX:function(a){this.translate(a,this._vector.set(1,0,0))},translateY:function(a){this.translate(a,
this._vector.set(0,1,0))},translateZ:function(a){this.translate(a,this._vector.set(0,0,1))},localToWorld:function(a){return this.matrixWorld.multiplyVector3(a)},worldToLocal:function(a){return THREE.Object3D.__m1.getInverse(this.matrixWorld).multiplyVector3(a)},lookAt:function(a){this.matrix.lookAt(a,this.position,this.up);this.rotationAutoUpdate&&(!1===this.useQuaternion?this.rotation.setEulerFromRotationMatrix(this.matrix,this.eulerOrder):this.quaternion.copy(this.matrix.decompose()[1]))},add:function(a){if(a===
this)console.warn("THREE.Object3D.add: An object can't be added as a child of itself.");else if(a instanceof THREE.Object3D){void 0!==a.parent&&a.parent.remove(a);a.parent=this;this.children.push(a);for(var b=this;void 0!==b.parent;)b=b.parent;void 0!==b&&b instanceof THREE.Scene&&b.__addObject(a)}},remove:function(a){var b=this.children.indexOf(a);if(-1!==b){a.parent=void 0;this.children.splice(b,1);for(b=this;void 0!==b.parent;)b=b.parent;void 0!==b&&b instanceof THREE.Scene&&b.__removeObject(a)}},
traverse:function(a){a(this);for(var b=0,c=this.children.length;b<c;b++)this.children[b].traverse(a)},getChildByName:function(a,b){for(var c=0,d=this.children.length;c<d;c++){var e=this.children[c];if(e.name===a||!0===b&&(e=e.getChildByName(a,b),void 0!==e))return e}},getDescendants:function(a){void 0===a&&(a=[]);Array.prototype.push.apply(a,this.children);for(var b=0,c=this.children.length;b<c;b++)this.children[b].getDescendants(a);return a},updateMatrix:function(){this.matrix.setPosition(this.position);
!1===this.useQuaternion?this.matrix.setRotationFromEuler(this.rotation,this.eulerOrder):this.matrix.setRotationFromQuaternion(this.quaternion);if(1!==this.scale.x||1!==this.scale.y||1!==this.scale.z)this.matrix.scale(this.scale),this.boundRadiusScale=Math.max(this.scale.x,Math.max(this.scale.y,this.scale.z));this.matrixWorldNeedsUpdate=!0},updateMatrixWorld:function(a){!0===this.matrixAutoUpdate&&this.updateMatrix();if(!0===this.matrixWorldNeedsUpdate||!0===a)void 0===this.parent?this.matrixWorld.copy(this.matrix):
this.matrixWorld.multiply(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,a=!0;for(var b=0,c=this.children.length;b<c;b++)this.children[b].updateMatrixWorld(a)},clone:function(a){void 0===a&&(a=new THREE.Object3D);a.name=this.name;a.up.copy(this.up);a.position.copy(this.position);a.rotation instanceof THREE.Vector3&&a.rotation.copy(this.rotation);a.eulerOrder=this.eulerOrder;a.scale.copy(this.scale);a.renderDepth=this.renderDepth;a.rotationAutoUpdate=this.rotationAutoUpdate;a.matrix.copy(this.matrix);
a.matrixWorld.copy(this.matrixWorld);a.matrixRotationWorld.copy(this.matrixRotationWorld);a.matrixAutoUpdate=this.matrixAutoUpdate;a.matrixWorldNeedsUpdate=this.matrixWorldNeedsUpdate;a.quaternion.copy(this.quaternion);a.useQuaternion=this.useQuaternion;a.boundRadius=this.boundRadius;a.boundRadiusScale=this.boundRadiusScale;a.visible=this.visible;a.castShadow=this.castShadow;a.receiveShadow=this.receiveShadow;a.frustumCulled=this.frustumCulled;for(var b=0;b<this.children.length;b++)a.add(this.children[b].clone());
return a},deallocate:function(){var a=THREE.Object3DLibrary.indexOf(this);-1!==a&&THREE.Object3DLibrary.splice(a,1)}};THREE.Object3D.__m1=new THREE.Matrix4;THREE.Object3D.defaultEulerOrder="XYZ";THREE.Object3DIdCount=0;THREE.Object3DLibrary=[];
THREE.Projector=function(){function a(){if(f===h){var a=new THREE.RenderableObject;g.push(a);h++;f++;return a}return g[f++]}function b(){if(j===m){var a=new THREE.RenderableVertex;l.push(a);m++;j++;return a}return l[j++]}function c(a,b){return b.z-a.z}function d(a,b){var c=0,d=1,e=a.z+a.w,f=b.z+b.w,g=-a.z+a.w,h=-b.z+b.w;if(0<=e&&0<=f&&0<=g&&0<=h)return!0;if(0>e&&0>f||0>g&&0>h)return!1;0>e?c=Math.max(c,e/(e-f)):0>f&&(d=Math.min(d,e/(e-f)));0>g?c=Math.max(c,g/(g-h)):0>h&&(d=Math.min(d,g/(g-h)));if(d<
c)return!1;a.lerpSelf(b,c);b.lerpSelf(a,1-d);return!0}var e,f,g=[],h=0,i,j,l=[],m=0,n,p,o=[],s=0,t,r=[],z=0,w,q,E=[],A=0,v,u,D=[],C=0,G={objects:[],sprites:[],lights:[],elements:[]},P=new THREE.Vector3,B=new THREE.Vector4,K=new THREE.Matrix4,H=new THREE.Matrix4,I=new THREE.Matrix3,N=new THREE.Frustum,O=new THREE.Vector4,R=new THREE.Vector4;this.projectVector=function(a,b){b.matrixWorldInverse.getInverse(b.matrixWorld);K.multiply(b.projectionMatrix,b.matrixWorldInverse);K.multiplyVector3(a);return a};
this.unprojectVector=function(a,b){b.projectionMatrixInverse.getInverse(b.projectionMatrix);K.multiply(b.matrixWorld,b.projectionMatrixInverse);K.multiplyVector3(a);return a};this.pickingRay=function(a,b){var c;a.z=-1;c=new THREE.Vector3(a.x,a.y,1);this.unprojectVector(a,b);this.unprojectVector(c,b);c.subSelf(a).normalize();return new THREE.Ray(a,c)};this.projectScene=function(g,h,m,Q){var Z=h.near,L=h.far,oa=!1,X,fa,ca,Y,ba,aa,ia,Aa,Na,Ja,ma,sa,Ea,rb,ib;u=q=t=p=0;G.elements.length=0;g.updateMatrixWorld();
void 0===h.parent&&h.updateMatrixWorld();h.matrixWorldInverse.getInverse(h.matrixWorld);K.multiply(h.projectionMatrix,h.matrixWorldInverse);N.setFromMatrix(K);f=0;G.objects.length=0;G.sprites.length=0;G.lights.length=0;var ob=function(b){for(var c=0,d=b.children.length;c<d;c++){var f=b.children[c];if(!1!==f.visible){if(f instanceof THREE.Light)G.lights.push(f);else if(f instanceof THREE.Mesh||f instanceof THREE.Line){if(!1===f.frustumCulled||!0===N.contains(f))e=a(),e.object=f,null!==f.renderDepth?
e.z=f.renderDepth:(P.copy(f.matrixWorld.getPosition()),K.multiplyVector3(P),e.z=P.z),G.objects.push(e)}else f instanceof THREE.Sprite||f instanceof THREE.Particle?(e=a(),e.object=f,null!==f.renderDepth?e.z=f.renderDepth:(P.copy(f.matrixWorld.getPosition()),K.multiplyVector3(P),e.z=P.z),G.sprites.push(e)):(e=a(),e.object=f,null!==f.renderDepth?e.z=f.renderDepth:(P.copy(f.matrixWorld.getPosition()),K.multiplyVector3(P),e.z=P.z),G.objects.push(e));ob(f)}}};ob(g);!0===m&&G.objects.sort(c);g=0;for(m=G.objects.length;g<
m;g++)if(Aa=G.objects[g].object,Na=Aa.matrixWorld,j=0,Aa instanceof THREE.Mesh){Ja=Aa.geometry;ca=Ja.vertices;ma=Ja.faces;Ja=Ja.faceVertexUvs;I.getInverse(Na);I.transpose();Ea=Aa.material instanceof THREE.MeshFaceMaterial;rb=!0===Ea?Aa.material:null;X=0;for(fa=ca.length;X<fa;X++)i=b(),i.positionWorld.copy(ca[X]),Na.multiplyVector3(i.positionWorld),i.positionScreen.copy(i.positionWorld),K.multiplyVector4(i.positionScreen),i.positionScreen.x/=i.positionScreen.w,i.positionScreen.y/=i.positionScreen.w,
i.visible=i.positionScreen.z>Z&&i.positionScreen.z<L;ca=0;for(X=ma.length;ca<X;ca++)if(fa=ma[ca],ib=!0===Ea?rb.materials[fa.materialIndex]:Aa.material,void 0!==ib){aa=ib.side;if(fa instanceof THREE.Face3)if(Y=l[fa.a],ba=l[fa.b],ia=l[fa.c],!0===Y.visible&&!0===ba.visible&&!0===ia.visible)if(oa=0>(ia.positionScreen.x-Y.positionScreen.x)*(ba.positionScreen.y-Y.positionScreen.y)-(ia.positionScreen.y-Y.positionScreen.y)*(ba.positionScreen.x-Y.positionScreen.x),aa===THREE.DoubleSide||oa===(aa===THREE.FrontSide))p===
s?(sa=new THREE.RenderableFace3,o.push(sa),s++,p++,n=sa):n=o[p++],n.v1.copy(Y),n.v2.copy(ba),n.v3.copy(ia);else continue;else continue;else if(fa instanceof THREE.Face4)if(Y=l[fa.a],ba=l[fa.b],ia=l[fa.c],sa=l[fa.d],!0===Y.visible&&!0===ba.visible&&!0===ia.visible&&!0===sa.visible)if(oa=0>(sa.positionScreen.x-Y.positionScreen.x)*(ba.positionScreen.y-Y.positionScreen.y)-(sa.positionScreen.y-Y.positionScreen.y)*(ba.positionScreen.x-Y.positionScreen.x)||0>(ba.positionScreen.x-ia.positionScreen.x)*(sa.positionScreen.y-
ia.positionScreen.y)-(ba.positionScreen.y-ia.positionScreen.y)*(sa.positionScreen.x-ia.positionScreen.x),aa===THREE.DoubleSide||oa===(aa===THREE.FrontSide)){if(t===z){var jb=new THREE.RenderableFace4;r.push(jb);z++;t++;n=jb}else n=r[t++];n.v1.copy(Y);n.v2.copy(ba);n.v3.copy(ia);n.v4.copy(sa)}else continue;else continue;n.normalWorld.copy(fa.normal);!1===oa&&(aa===THREE.BackSide||aa===THREE.DoubleSide)&&n.normalWorld.negate();I.multiplyVector3(n.normalWorld).normalize();n.centroidWorld.copy(fa.centroid);
Na.multiplyVector3(n.centroidWorld);n.centroidScreen.copy(n.centroidWorld);K.multiplyVector3(n.centroidScreen);ia=fa.vertexNormals;Y=0;for(ba=ia.length;Y<ba;Y++)sa=n.vertexNormalsWorld[Y],sa.copy(ia[Y]),!1===oa&&(aa===THREE.BackSide||aa===THREE.DoubleSide)&&sa.negate(),I.multiplyVector3(sa).normalize();n.vertexNormalsLength=ia.length;Y=0;for(ba=Ja.length;Y<ba;Y++)if(sa=Ja[Y][ca],void 0!==sa){aa=0;for(ia=sa.length;aa<ia;aa++)n.uvs[Y][aa]=sa[aa]}n.color=fa.color;n.material=ib;n.z=n.centroidScreen.z;
G.elements.push(n)}}else if(Aa instanceof THREE.Line){H.multiply(K,Na);ca=Aa.geometry.vertices;Y=b();Y.positionScreen.copy(ca[0]);H.multiplyVector4(Y.positionScreen);Na=Aa.type===THREE.LinePieces?2:1;X=1;for(fa=ca.length;X<fa;X++)Y=b(),Y.positionScreen.copy(ca[X]),H.multiplyVector4(Y.positionScreen),0<(X+1)%Na||(ba=l[j-2],O.copy(Y.positionScreen),R.copy(ba.positionScreen),!0===d(O,R)&&(O.multiplyScalar(1/O.w),R.multiplyScalar(1/R.w),q===A?(ma=new THREE.RenderableLine,E.push(ma),A++,q++,w=ma):w=E[q++],
w.v1.positionScreen.copy(O),w.v2.positionScreen.copy(R),w.z=Math.max(O.z,R.z),w.material=Aa.material,G.elements.push(w)))}g=0;for(m=G.sprites.length;g<m;g++)Aa=G.sprites[g].object,Na=Aa.matrixWorld,Aa instanceof THREE.Particle&&(B.set(Na.elements[12],Na.elements[13],Na.elements[14],1),K.multiplyVector4(B),B.z/=B.w,0<B.z&&1>B.z&&(u===C?(Z=new THREE.RenderableParticle,D.push(Z),C++,u++,v=Z):v=D[u++],v.object=Aa,v.x=B.x/B.w,v.y=B.y/B.w,v.z=B.z,v.rotation=Aa.rotation.z,v.scale.x=Aa.scale.x*Math.abs(v.x-
(B.x+h.projectionMatrix.elements[0])/(B.w+h.projectionMatrix.elements[12])),v.scale.y=Aa.scale.y*Math.abs(v.y-(B.y+h.projectionMatrix.elements[5])/(B.w+h.projectionMatrix.elements[13])),v.material=Aa.material,G.elements.push(v)));!0===Q&&G.elements.sort(c);return G}};THREE.Quaternion=function(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1};
THREE.Quaternion.prototype={constructor:THREE.Quaternion,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},setFromEuler:function(a,b){var c=Math.cos(a.x/2),d=Math.cos(a.y/2),e=Math.cos(a.z/2),f=Math.sin(a.x/2),g=Math.sin(a.y/2),h=Math.sin(a.z/2);void 0===b||"XYZ"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e-f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e-f*g*h):"YXZ"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e-f*d*h,this.z=c*d*
h-f*g*e,this.w=c*d*e+f*g*h):"ZXY"===b?(this.x=f*d*e-c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e-f*g*h):"ZYX"===b?(this.x=f*d*e-c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h-f*g*e,this.w=c*d*e+f*g*h):"YZX"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h-f*g*e,this.w=c*d*e-f*g*h):"XZY"===b&&(this.x=f*d*e-c*g*h,this.y=c*g*e-f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e+f*g*h);return this},setFromAxisAngle:function(a,b){var c=b/2,d=Math.sin(c);this.x=a.x*d;this.y=a.y*d;this.z=a.z*d;this.w=Math.cos(c);
return this},setFromRotationMatrix:function(a){var b=a.elements,c=b[0],a=b[4],d=b[8],e=b[1],f=b[5],g=b[9],h=b[2],i=b[6],b=b[10],j=c+f+b;0<j?(c=0.5/Math.sqrt(j+1),this.w=0.25/c,this.x=(i-g)*c,this.y=(d-h)*c,this.z=(e-a)*c):c>f&&c>b?(c=2*Math.sqrt(1+c-f-b),this.w=(i-g)/c,this.x=0.25*c,this.y=(a+e)/c,this.z=(d+h)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this.w=(d-h)/c,this.x=(a+e)/c,this.y=0.25*c,this.z=(g+i)/c):(c=2*Math.sqrt(1+b-c-f),this.w=(e-a)/c,this.x=(d+h)/c,this.y=(g+i)/c,this.z=0.25*c);return this},inverse:function(){this.conjugate().normalize();
return this},conjugate:function(){this.x*=-1;this.y*=-1;this.z*=-1;return this},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},normalize:function(){var a=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===a?(this.z=this.y=this.x=0,this.w=1):(a=1/a,this.x*=a,this.y*=a,this.z*=a,this.w*=a);return this},multiply:function(a,b){var c=a.x,d=a.y,e=a.z,f=a.w,g=b.x,h=b.y,i=b.z,j=b.w;this.x=c*j+d*i-e*h+f*g;this.y=-c*i+d*j+e*g+f*h;this.z=c*h-
d*g+e*j+f*i;this.w=-c*g-d*h-e*i+f*j;return this},multiplySelf:function(a){var b=this.x,c=this.y,d=this.z,e=this.w,f=a.x,g=a.y,h=a.z,a=a.w;this.x=b*a+e*f+c*h-d*g;this.y=c*a+e*g+d*f-b*h;this.z=d*a+e*h+b*g-c*f;this.w=e*a-b*f-c*g-d*h;return this},multiplyVector3:function(a,b){b||(b=a);var c=a.x,d=a.y,e=a.z,f=this.x,g=this.y,h=this.z,i=this.w,j=i*c+g*e-h*d,l=i*d+h*c-f*e,m=i*e+f*d-g*c,c=-f*c-g*d-h*e;b.x=j*i+c*-f+l*-h-m*-g;b.y=l*i+c*-g+m*-f-j*-h;b.z=m*i+c*-h+j*-g-l*-f;return b},slerpSelf:function(a,b){var c=
this.x,d=this.y,e=this.z,f=this.w,g=f*a.w+c*a.x+d*a.y+e*a.z;0>g?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,g=-g):this.copy(a);if(1<=g)return this.w=f,this.x=c,this.y=d,this.z=e,this;var h=Math.acos(g),i=Math.sqrt(1-g*g);if(0.001>Math.abs(i))return this.w=0.5*(f+this.w),this.x=0.5*(c+this.x),this.y=0.5*(d+this.y),this.z=0.5*(e+this.z),this;g=Math.sin((1-b)*h)/i;h=Math.sin(b*h)/i;this.w=f*g+this.w*h;this.x=c*g+this.x*h;this.y=d*g+this.y*h;this.z=e*g+this.z*h;return this},clone:function(){return new THREE.Quaternion(this.x,
this.y,this.z,this.w)}};THREE.Quaternion.slerp=function(a,b,c,d){var e=a.w*b.w+a.x*b.x+a.y*b.y+a.z*b.z;0>e?(c.w=-b.w,c.x=-b.x,c.y=-b.y,c.z=-b.z,e=-e):c.copy(b);if(1<=Math.abs(e))return c.w=a.w,c.x=a.x,c.y=a.y,c.z=a.z,c;var b=Math.acos(e),f=Math.sqrt(1-e*e);if(0.001>Math.abs(f))return c.w=0.5*(a.w+c.w),c.x=0.5*(a.x+c.x),c.y=0.5*(a.y+c.y),c.z=0.5*(a.z+c.z),c;e=Math.sin((1-d)*b)/f;d=Math.sin(d*b)/f;c.w=a.w*e+c.w*d;c.x=a.x*e+c.x*d;c.y=a.y*e+c.y*d;c.z=a.z*e+c.z*d;return c};
THREE.Vertex=function(a){console.warn("THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead.");return a};THREE.Face3=function(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d instanceof THREE.Vector3?d:new THREE.Vector3;this.vertexNormals=d instanceof Array?d:[];this.color=e instanceof THREE.Color?e:new THREE.Color;this.vertexColors=e instanceof Array?e:[];this.vertexTangents=[];this.materialIndex=f;this.centroid=new THREE.Vector3};
THREE.Face3.prototype={constructor:THREE.Face3,clone:function(){var a=new THREE.Face3(this.a,this.b,this.c);a.normal.copy(this.normal);a.color.copy(this.color);a.centroid.copy(this.centroid);a.materialIndex=this.materialIndex;var b,c;b=0;for(c=this.vertexNormals.length;b<c;b++)a.vertexNormals[b]=this.vertexNormals[b].clone();b=0;for(c=this.vertexColors.length;b<c;b++)a.vertexColors[b]=this.vertexColors[b].clone();b=0;for(c=this.vertexTangents.length;b<c;b++)a.vertexTangents[b]=this.vertexTangents[b].clone();
return a}};THREE.Face4=function(a,b,c,d,e,f,g){this.a=a;this.b=b;this.c=c;this.d=d;this.normal=e instanceof THREE.Vector3?e:new THREE.Vector3;this.vertexNormals=e instanceof Array?e:[];this.color=f instanceof THREE.Color?f:new THREE.Color;this.vertexColors=f instanceof Array?f:[];this.vertexTangents=[];this.materialIndex=g;this.centroid=new THREE.Vector3};
THREE.Face4.prototype={constructor:THREE.Face4,clone:function(){var a=new THREE.Face4(this.a,this.b,this.c,this.d);a.normal.copy(this.normal);a.color.copy(this.color);a.centroid.copy(this.centroid);a.materialIndex=this.materialIndex;var b,c;b=0;for(c=this.vertexNormals.length;b<c;b++)a.vertexNormals[b]=this.vertexNormals[b].clone();b=0;for(c=this.vertexColors.length;b<c;b++)a.vertexColors[b]=this.vertexColors[b].clone();b=0;for(c=this.vertexTangents.length;b<c;b++)a.vertexTangents[b]=this.vertexTangents[b].clone();
return a}};THREE.UV=function(a,b){this.u=a||0;this.v=b||0};THREE.UV.prototype={constructor:THREE.UV,set:function(a,b){this.u=a;this.v=b;return this},copy:function(a){this.u=a.u;this.v=a.v;return this},lerpSelf:function(a,b){this.u+=(a.u-this.u)*b;this.v+=(a.v-this.v)*b;return this},clone:function(){return new THREE.UV(this.u,this.v)}};
THREE.Geometry=function(){THREE.GeometryLibrary.push(this);this.id=THREE.GeometryIdCount++;this.name="";this.vertices=[];this.colors=[];this.normals=[];this.faces=[];this.faceUvs=[[]];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphColors=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingSphere=this.boundingBox=null;this.hasTangents=!1;this.dynamic=!0;this.buffersNeedUpdate=this.lineDistancesNeedUpdate=this.colorsNeedUpdate=this.tangentsNeedUpdate=
this.normalsNeedUpdate=this.uvsNeedUpdate=this.elementsNeedUpdate=this.verticesNeedUpdate=!1};
THREE.Geometry.prototype={constructor:THREE.Geometry,applyMatrix:function(a){var b=new THREE.Matrix3;b.getInverse(a).transpose();for(var c=0,d=this.vertices.length;c<d;c++)a.multiplyVector3(this.vertices[c]);c=0;for(d=this.faces.length;c<d;c++){var e=this.faces[c];b.multiplyVector3(e.normal).normalize();for(var f=0,g=e.vertexNormals.length;f<g;f++)b.multiplyVector3(e.vertexNormals[f]).normalize();a.multiplyVector3(e.centroid)}},computeCentroids:function(){var a,b,c;a=0;for(b=this.faces.length;a<b;a++)c=
this.faces[a],c.centroid.set(0,0,0),c instanceof THREE.Face3?(c.centroid.addSelf(this.vertices[c.a]),c.centroid.addSelf(this.vertices[c.b]),c.centroid.addSelf(this.vertices[c.c]),c.centroid.divideScalar(3)):c instanceof THREE.Face4&&(c.centroid.addSelf(this.vertices[c.a]),c.centroid.addSelf(this.vertices[c.b]),c.centroid.addSelf(this.vertices[c.c]),c.centroid.addSelf(this.vertices[c.d]),c.centroid.divideScalar(4))},computeFaceNormals:function(){var a,b,c,d,e,f,g=new THREE.Vector3,h=new THREE.Vector3;
a=0;for(b=this.faces.length;a<b;a++)c=this.faces[a],d=this.vertices[c.a],e=this.vertices[c.b],f=this.vertices[c.c],g.sub(f,e),h.sub(d,e),g.crossSelf(h),g.normalize(),c.normal.copy(g)},computeVertexNormals:function(a){var b,c,d,e;if(void 0===this.__tmpVertices){e=this.__tmpVertices=Array(this.vertices.length);b=0;for(c=this.vertices.length;b<c;b++)e[b]=new THREE.Vector3;b=0;for(c=this.faces.length;b<c;b++)d=this.faces[b],d instanceof THREE.Face3?d.vertexNormals=[new THREE.Vector3,new THREE.Vector3,
new THREE.Vector3]:d instanceof THREE.Face4&&(d.vertexNormals=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3])}else{e=this.__tmpVertices;b=0;for(c=this.vertices.length;b<c;b++)e[b].set(0,0,0)}if(a){var f,g,h,i=new THREE.Vector3,j=new THREE.Vector3,l=new THREE.Vector3,m=new THREE.Vector3,n=new THREE.Vector3;b=0;for(c=this.faces.length;b<c;b++)d=this.faces[b],d instanceof THREE.Face3?(a=this.vertices[d.a],f=this.vertices[d.b],g=this.vertices[d.c],i.sub(g,f),j.sub(a,f),i.crossSelf(j),
e[d.a].addSelf(i),e[d.b].addSelf(i),e[d.c].addSelf(i)):d instanceof THREE.Face4&&(a=this.vertices[d.a],f=this.vertices[d.b],g=this.vertices[d.c],h=this.vertices[d.d],l.sub(h,f),j.sub(a,f),l.crossSelf(j),e[d.a].addSelf(l),e[d.b].addSelf(l),e[d.d].addSelf(l),m.sub(h,g),n.sub(f,g),m.crossSelf(n),e[d.b].addSelf(m),e[d.c].addSelf(m),e[d.d].addSelf(m))}else{b=0;for(c=this.faces.length;b<c;b++)d=this.faces[b],d instanceof THREE.Face3?(e[d.a].addSelf(d.normal),e[d.b].addSelf(d.normal),e[d.c].addSelf(d.normal)):
d instanceof THREE.Face4&&(e[d.a].addSelf(d.normal),e[d.b].addSelf(d.normal),e[d.c].addSelf(d.normal),e[d.d].addSelf(d.normal))}b=0;for(c=this.vertices.length;b<c;b++)e[b].normalize();b=0;for(c=this.faces.length;b<c;b++)d=this.faces[b],d instanceof THREE.Face3?(d.vertexNormals[0].copy(e[d.a]),d.vertexNormals[1].copy(e[d.b]),d.vertexNormals[2].copy(e[d.c])):d instanceof THREE.Face4&&(d.vertexNormals[0].copy(e[d.a]),d.vertexNormals[1].copy(e[d.b]),d.vertexNormals[2].copy(e[d.c]),d.vertexNormals[3].copy(e[d.d]))},
computeMorphNormals:function(){var a,b,c,d,e;c=0;for(d=this.faces.length;c<d;c++){e=this.faces[c];e.__originalFaceNormal?e.__originalFaceNormal.copy(e.normal):e.__originalFaceNormal=e.normal.clone();e.__originalVertexNormals||(e.__originalVertexNormals=[]);a=0;for(b=e.vertexNormals.length;a<b;a++)e.__originalVertexNormals[a]?e.__originalVertexNormals[a].copy(e.vertexNormals[a]):e.__originalVertexNormals[a]=e.vertexNormals[a].clone()}var f=new THREE.Geometry;f.faces=this.faces;a=0;for(b=this.morphTargets.length;a<
b;a++){if(!this.morphNormals[a]){this.morphNormals[a]={};this.morphNormals[a].faceNormals=[];this.morphNormals[a].vertexNormals=[];var g=this.morphNormals[a].faceNormals,h=this.morphNormals[a].vertexNormals,i,j;c=0;for(d=this.faces.length;c<d;c++)e=this.faces[c],i=new THREE.Vector3,j=e instanceof THREE.Face3?{a:new THREE.Vector3,b:new THREE.Vector3,c:new THREE.Vector3}:{a:new THREE.Vector3,b:new THREE.Vector3,c:new THREE.Vector3,d:new THREE.Vector3},g.push(i),h.push(j)}g=this.morphNormals[a];f.vertices=
this.morphTargets[a].vertices;f.computeFaceNormals();f.computeVertexNormals();c=0;for(d=this.faces.length;c<d;c++)e=this.faces[c],i=g.faceNormals[c],j=g.vertexNormals[c],i.copy(e.normal),e instanceof THREE.Face3?(j.a.copy(e.vertexNormals[0]),j.b.copy(e.vertexNormals[1]),j.c.copy(e.vertexNormals[2])):(j.a.copy(e.vertexNormals[0]),j.b.copy(e.vertexNormals[1]),j.c.copy(e.vertexNormals[2]),j.d.copy(e.vertexNormals[3]))}c=0;for(d=this.faces.length;c<d;c++)e=this.faces[c],e.normal=e.__originalFaceNormal,
e.vertexNormals=e.__originalVertexNormals},computeTangents:function(){function a(a,b,c,d,e,f,u){h=a.vertices[b];i=a.vertices[c];j=a.vertices[d];l=g[e];m=g[f];n=g[u];p=i.x-h.x;o=j.x-h.x;s=i.y-h.y;t=j.y-h.y;r=i.z-h.z;z=j.z-h.z;w=m.u-l.u;q=n.u-l.u;E=m.v-l.v;A=n.v-l.v;v=1/(w*A-q*E);G.set((A*p-E*o)*v,(A*s-E*t)*v,(A*r-E*z)*v);P.set((w*o-q*p)*v,(w*t-q*s)*v,(w*z-q*r)*v);D[b].addSelf(G);D[c].addSelf(G);D[d].addSelf(G);C[b].addSelf(P);C[c].addSelf(P);C[d].addSelf(P)}var b,c,d,e,f,g,h,i,j,l,m,n,p,o,s,t,r,z,
w,q,E,A,v,u,D=[],C=[],G=new THREE.Vector3,P=new THREE.Vector3,B=new THREE.Vector3,K=new THREE.Vector3,H=new THREE.Vector3;b=0;for(c=this.vertices.length;b<c;b++)D[b]=new THREE.Vector3,C[b]=new THREE.Vector3;b=0;for(c=this.faces.length;b<c;b++)f=this.faces[b],g=this.faceVertexUvs[0][b],f instanceof THREE.Face3?a(this,f.a,f.b,f.c,0,1,2):f instanceof THREE.Face4&&(a(this,f.a,f.b,f.d,0,1,3),a(this,f.b,f.c,f.d,1,2,3));var I=["a","b","c","d"];b=0;for(c=this.faces.length;b<c;b++){f=this.faces[b];for(d=0;d<
f.vertexNormals.length;d++)H.copy(f.vertexNormals[d]),e=f[I[d]],u=D[e],B.copy(u),B.subSelf(H.multiplyScalar(H.dot(u))).normalize(),K.cross(f.vertexNormals[d],u),e=K.dot(C[e]),e=0>e?-1:1,f.vertexTangents[d]=new THREE.Vector4(B.x,B.y,B.z,e)}this.hasTangents=!0},computeLineDistances:function(){for(var a=0,b=this.vertices,c=0,d=b.length;c<d;c++)0<c&&(a+=b[c].distanceTo(b[c-1])),this.lineDistances[c]=a},computeBoundingBox:function(){this.boundingBox||(this.boundingBox={min:new THREE.Vector3,max:new THREE.Vector3});
if(0<this.vertices.length){var a;a=this.vertices[0];this.boundingBox.min.copy(a);this.boundingBox.max.copy(a);for(var b=this.boundingBox.min,c=this.boundingBox.max,d=1,e=this.vertices.length;d<e;d++)(a=this.vertices[d],a.x<b.x?b.x=a.x:a.x>c.x&&(c.x=a.x),a.y<b.y?b.y=a.y:a.y>c.y&&(c.y=a.y),a.z<b.z)?b.z=a.z:a.z>c.z&&(c.z=a.z)}else this.boundingBox.min.set(0,0,0),this.boundingBox.max.set(0,0,0)},computeBoundingSphere:function(){var a=0;null===this.boundingSphere&&(this.boundingSphere={radius:0});for(var b=
0,c=this.vertices.length;b<c;b++){var d=this.vertices[b].lengthSq();d>a&&(a=d)}this.boundingSphere.radius=Math.sqrt(a)},mergeVertices:function(){var a={},b=[],c=[],d,e=Math.pow(10,4),f,g,h,i;f=0;for(g=this.vertices.length;f<g;f++)d=this.vertices[f],d=[Math.round(d.x*e),Math.round(d.y*e),Math.round(d.z*e)].join("_"),void 0===a[d]?(a[d]=f,b.push(this.vertices[f]),c[f]=b.length-1):c[f]=c[a[d]];f=0;for(g=this.faces.length;f<g;f++)if(a=this.faces[f],a instanceof THREE.Face3)a.a=c[a.a],a.b=c[a.b],a.c=c[a.c];
else if(a instanceof THREE.Face4){a.a=c[a.a];a.b=c[a.b];a.c=c[a.c];a.d=c[a.d];d=[a.a,a.b,a.c,a.d];for(e=3;0<e;e--)if(d.indexOf(a["abcd"[e]])!==e){d.splice(e,1);this.faces[f]=new THREE.Face3(d[0],d[1],d[2],a.normal,a.color,a.materialIndex);d=0;for(h=this.faceVertexUvs.length;d<h;d++)(i=this.faceVertexUvs[d][f])&&i.splice(e,1);this.faces[f].vertexColors=a.vertexColors;break}}c=this.vertices.length-b.length;this.vertices=b;return c},clone:function(){for(var a=new THREE.Geometry,b=this.vertices,c=0,d=
b.length;c<d;c++)a.vertices.push(b[c].clone());b=this.faces;c=0;for(d=b.length;c<d;c++)a.faces.push(b[c].clone());b=this.faceVertexUvs[0];c=0;for(d=b.length;c<d;c++){for(var e=b[c],f=[],g=0,h=e.length;g<h;g++)f.push(new THREE.UV(e[g].u,e[g].v));a.faceVertexUvs[0].push(f)}return a},deallocate:function(){var a=THREE.GeometryLibrary.indexOf(this);-1!==a&&THREE.GeometryLibrary.splice(a,1)}};THREE.GeometryIdCount=0;THREE.GeometryLibrary=[];
THREE.BufferGeometry=function(){THREE.GeometryLibrary.push(this);this.id=THREE.GeometryIdCount++;this.attributes={};this.dynamic=!1;this.boundingSphere=this.boundingBox=null;this.hasTangents=!1;this.morphTargets=[]};
THREE.BufferGeometry.prototype={constructor:THREE.BufferGeometry,applyMatrix:function(a){var b,c;this.attributes.position&&(b=this.attributes.position.array);this.attributes.normal&&(c=this.attributes.normal.array);void 0!==b&&(a.multiplyVector3Array(b),this.verticesNeedUpdate=!0);void 0!==c&&(b=new THREE.Matrix3,b.getInverse(a).transpose(),b.multiplyVector3Array(c),this.normalizeNormals(),this.normalsNeedUpdate=!0)},computeBoundingBox:function(){this.boundingBox||(this.boundingBox={min:new THREE.Vector3(Infinity,
Infinity,Infinity),max:new THREE.Vector3(-Infinity,-Infinity,-Infinity)});var a=this.attributes.position.array;if(a)for(var b=this.boundingBox,c,d,e,f=0,g=a.length;f<g;f+=3)(c=a[f],d=a[f+1],e=a[f+2],c<b.min.x?b.min.x=c:c>b.max.x&&(b.max.x=c),d<b.min.y?b.min.y=d:d>b.max.y&&(b.max.y=d),e<b.min.z)?b.min.z=e:e>b.max.z&&(b.max.z=e);if(void 0===a||0===a.length)this.boundingBox.min.set(0,0,0),this.boundingBox.max.set(0,0,0)},computeBoundingSphere:function(){this.boundingSphere||(this.boundingSphere={radius:0});
var a=this.attributes.position.array;if(a){for(var b,c=0,d,e,f=0,g=a.length;f<g;f+=3)b=a[f],d=a[f+1],e=a[f+2],b=b*b+d*d+e*e,b>c&&(c=b);this.boundingSphere.radius=Math.sqrt(c)}},computeVertexNormals:function(){if(this.attributes.position&&this.attributes.index){var a,b,c,d;a=this.attributes.position.array.length;if(void 0===this.attributes.normal)this.attributes.normal={itemSize:3,array:new Float32Array(a),numItems:a};else{a=0;for(b=this.attributes.normal.array.length;a<b;a++)this.attributes.normal.array[a]=
0}var e=this.offsets,f=this.attributes.index.array,g=this.attributes.position.array,h=this.attributes.normal.array,i,j,l,m,n,p,o=new THREE.Vector3,s=new THREE.Vector3,t=new THREE.Vector3,r=new THREE.Vector3,z=new THREE.Vector3;c=0;for(d=e.length;c<d;++c){b=e[c].start;i=e[c].count;var w=e[c].index;a=b;for(b+=i;a<b;a+=3)i=w+f[a],j=w+f[a+1],l=w+f[a+2],m=g[3*i],n=g[3*i+1],p=g[3*i+2],o.set(m,n,p),m=g[3*j],n=g[3*j+1],p=g[3*j+2],s.set(m,n,p),m=g[3*l],n=g[3*l+1],p=g[3*l+2],t.set(m,n,p),r.sub(t,s),z.sub(o,
s),r.crossSelf(z),h[3*i]+=r.x,h[3*i+1]+=r.y,h[3*i+2]+=r.z,h[3*j]+=r.x,h[3*j+1]+=r.y,h[3*j+2]+=r.z,h[3*l]+=r.x,h[3*l+1]+=r.y,h[3*l+2]+=r.z}this.normalizeNormals();this.normalsNeedUpdate=!0}},normalizeNormals:function(){for(var a=this.attributes.normal.array,b,c,d,e=0,f=a.length;e<f;e+=3)b=a[e],c=a[e+1],d=a[e+2],b=1/Math.sqrt(b*b+c*c+d*d),a[e]*=b,a[e+1]*=b,a[e+2]*=b},computeTangents:function(){function a(a){ga.x=d[3*a];ga.y=d[3*a+1];ga.z=d[3*a+2];M.copy(ga);Q=i[a];O.copy(Q);O.subSelf(ga.multiplyScalar(ga.dot(Q))).normalize();
R.cross(M,Q);Z=R.dot(j[a]);J=0>Z?-1:1;h[4*a]=O.x;h[4*a+1]=O.y;h[4*a+2]=O.z;h[4*a+3]=J}if(void 0===this.attributes.index||void 0===this.attributes.position||void 0===this.attributes.normal||void 0===this.attributes.uv)console.warn("Missing required attributes (index, position, normal or uv) in BufferGeometry.computeTangents()");else{var b=this.attributes.index.array,c=this.attributes.position.array,d=this.attributes.normal.array,e=this.attributes.uv.array,f=c.length/3;if(void 0===this.attributes.tangent){var g=
4*f;this.attributes.tangent={itemSize:4,array:new Float32Array(g),numItems:g}}for(var h=this.attributes.tangent.array,i=[],j=[],g=0;g<f;g++)i[g]=new THREE.Vector3,j[g]=new THREE.Vector3;var l,m,n,p,o,s,t,r,z,w,q,E,A,v,u,f=new THREE.Vector3,g=new THREE.Vector3,D,C,G,P,B,K,H,I=this.offsets;G=0;for(P=I.length;G<P;++G){C=I[G].start;B=I[G].count;var N=I[G].index;D=C;for(C+=B;D<C;D+=3)B=N+b[D],K=N+b[D+1],H=N+b[D+2],l=c[3*B],m=c[3*B+1],n=c[3*B+2],p=c[3*K],o=c[3*K+1],s=c[3*K+2],t=c[3*H],r=c[3*H+1],z=c[3*
H+2],w=e[2*B],q=e[2*B+1],E=e[2*K],A=e[2*K+1],v=e[2*H],u=e[2*H+1],p-=l,l=t-l,o-=m,m=r-m,s-=n,n=z-n,E-=w,w=v-w,A-=q,q=u-q,u=1/(E*q-w*A),f.set((q*p-A*l)*u,(q*o-A*m)*u,(q*s-A*n)*u),g.set((E*l-w*p)*u,(E*m-w*o)*u,(E*n-w*s)*u),i[B].addSelf(f),i[K].addSelf(f),i[H].addSelf(f),j[B].addSelf(g),j[K].addSelf(g),j[H].addSelf(g)}var O=new THREE.Vector3,R=new THREE.Vector3,ga=new THREE.Vector3,M=new THREE.Vector3,J,Q,Z;G=0;for(P=I.length;G<P;++G){C=I[G].start;B=I[G].count;N=I[G].index;D=C;for(C+=B;D<C;D+=3)B=N+b[D],
K=N+b[D+1],H=N+b[D+2],a(B),a(K),a(H)}this.tangentsNeedUpdate=this.hasTangents=!0}},deallocate:function(){var a=THREE.GeometryLibrary.indexOf(this);-1!==a&&THREE.GeometryLibrary.splice(a,1)}};
THREE.Spline=function(a){function b(a,b,c,d,e,f,g){a=0.5*(c-a);d=0.5*(d-b);return(2*(b-c)+a+d)*g+(-3*(b-c)-2*a-d)*f+a*e+b}this.points=a;var c=[],d={x:0,y:0,z:0},e,f,g,h,i,j,l,m,n;this.initFromArray=function(a){this.points=[];for(var b=0;b<a.length;b++)this.points[b]={x:a[b][0],y:a[b][1],z:a[b][2]}};this.getPoint=function(a){e=(this.points.length-1)*a;f=Math.floor(e);g=e-f;c[0]=0===f?f:f-1;c[1]=f;c[2]=f>this.points.length-2?this.points.length-1:f+1;c[3]=f>this.points.length-3?this.points.length-1:
f+2;j=this.points[c[0]];l=this.points[c[1]];m=this.points[c[2]];n=this.points[c[3]];h=g*g;i=g*h;d.x=b(j.x,l.x,m.x,n.x,g,h,i);d.y=b(j.y,l.y,m.y,n.y,g,h,i);d.z=b(j.z,l.z,m.z,n.z,g,h,i);return d};this.getControlPointsArray=function(){var a,b,c=this.points.length,d=[];for(a=0;a<c;a++)b=this.points[a],d[a]=[b.x,b.y,b.z];return d};this.getLength=function(a){var b,c,d,e=b=b=0,f=new THREE.Vector3,g=new THREE.Vector3,h=[],i=0;h[0]=0;a||(a=100);c=this.points.length*a;f.copy(this.points[0]);for(a=1;a<c;a++)b=
a/c,d=this.getPoint(b),g.copy(d),i+=g.distanceTo(f),f.copy(d),b*=this.points.length-1,b=Math.floor(b),b!=e&&(h[b]=i,e=b);h[h.length]=i;return{chunks:h,total:i}};this.reparametrizeByArcLength=function(a){var b,c,d,e,f,g,h=[],i=new THREE.Vector3,j=this.getLength();h.push(i.copy(this.points[0]).clone());for(b=1;b<this.points.length;b++){c=j.chunks[b]-j.chunks[b-1];g=Math.ceil(a*c/j.total);e=(b-1)/(this.points.length-1);f=b/(this.points.length-1);for(c=1;c<g-1;c++)d=e+c*(1/g)*(f-e),d=this.getPoint(d),
h.push(i.copy(d).clone());h.push(i.copy(this.points[b]).clone())}this.points=h}};THREE.Camera=function(){THREE.Object3D.call(this);this.matrixWorldInverse=new THREE.Matrix4;this.projectionMatrix=new THREE.Matrix4;this.projectionMatrixInverse=new THREE.Matrix4};THREE.Camera.prototype=Object.create(THREE.Object3D.prototype);
THREE.Camera.prototype.lookAt=function(a){this.matrix.lookAt(this.position,a,this.up);!0===this.rotationAutoUpdate&&(!1===this.useQuaternion?this.rotation.setEulerFromRotationMatrix(this.matrix,this.eulerOrder):this.quaternion.copy(this.matrix.decompose()[1]))};THREE.OrthographicCamera=function(a,b,c,d,e,f){THREE.Camera.call(this);this.left=a;this.right=b;this.top=c;this.bottom=d;this.near=void 0!==e?e:0.1;this.far=void 0!==f?f:2E3;this.updateProjectionMatrix()};
THREE.OrthographicCamera.prototype=Object.create(THREE.Camera.prototype);THREE.OrthographicCamera.prototype.updateProjectionMatrix=function(){this.projectionMatrix.makeOrthographic(this.left,this.right,this.top,this.bottom,this.near,this.far)};THREE.PerspectiveCamera=function(a,b,c,d){THREE.Camera.call(this);this.fov=void 0!==a?a:50;this.aspect=void 0!==b?b:1;this.near=void 0!==c?c:0.1;this.far=void 0!==d?d:2E3;this.updateProjectionMatrix()};THREE.PerspectiveCamera.prototype=Object.create(THREE.Camera.prototype);
THREE.PerspectiveCamera.prototype.setLens=function(a,b){void 0===b&&(b=24);this.fov=2*Math.atan(b/(2*a))*(180/Math.PI);this.updateProjectionMatrix()};THREE.PerspectiveCamera.prototype.setViewOffset=function(a,b,c,d,e,f){this.fullWidth=a;this.fullHeight=b;this.x=c;this.y=d;this.width=e;this.height=f;this.updateProjectionMatrix()};
THREE.PerspectiveCamera.prototype.updateProjectionMatrix=function(){if(this.fullWidth){var a=this.fullWidth/this.fullHeight,b=Math.tan(this.fov*Math.PI/360)*this.near,c=-b,d=a*c,a=Math.abs(a*b-d),c=Math.abs(b-c);this.projectionMatrix.makeFrustum(d+this.x*a/this.fullWidth,d+(this.x+this.width)*a/this.fullWidth,b-(this.y+this.height)*c/this.fullHeight,b-this.y*c/this.fullHeight,this.near,this.far)}else this.projectionMatrix.makePerspective(this.fov,this.aspect,this.near,this.far)};
THREE.Light=function(a){THREE.Object3D.call(this);this.color=new THREE.Color(a)};THREE.Light.prototype=Object.create(THREE.Object3D.prototype);THREE.AmbientLight=function(a){THREE.Light.call(this,a)};THREE.AmbientLight.prototype=Object.create(THREE.Light.prototype);
THREE.DirectionalLight=function(a,b){THREE.Light.call(this,a);this.position=new THREE.Vector3(0,1,0);this.target=new THREE.Object3D;this.intensity=void 0!==b?b:1;this.onlyShadow=this.castShadow=!1;this.shadowCameraNear=50;this.shadowCameraFar=5E3;this.shadowCameraLeft=-500;this.shadowCameraTop=this.shadowCameraRight=500;this.shadowCameraBottom=-500;this.shadowCameraVisible=!1;this.shadowBias=0;this.shadowDarkness=0.5;this.shadowMapHeight=this.shadowMapWidth=512;this.shadowCascade=!1;this.shadowCascadeOffset=
new THREE.Vector3(0,0,-1E3);this.shadowCascadeCount=2;this.shadowCascadeBias=[0,0,0];this.shadowCascadeWidth=[512,512,512];this.shadowCascadeHeight=[512,512,512];this.shadowCascadeNearZ=[-1,0.99,0.998];this.shadowCascadeFarZ=[0.99,0.998,1];this.shadowCascadeArray=[];this.shadowMatrix=this.shadowCamera=this.shadowMapSize=this.shadowMap=null};THREE.DirectionalLight.prototype=Object.create(THREE.Light.prototype);
THREE.HemisphereLight=function(a,b,c){THREE.Light.call(this,a);this.groundColor=new THREE.Color(b);this.position=new THREE.Vector3(0,100,0);this.intensity=void 0!==c?c:1};THREE.HemisphereLight.prototype=Object.create(THREE.Light.prototype);THREE.PointLight=function(a,b,c){THREE.Light.call(this,a);this.position=new THREE.Vector3(0,0,0);this.intensity=void 0!==b?b:1;this.distance=void 0!==c?c:0};THREE.PointLight.prototype=Object.create(THREE.Light.prototype);
THREE.SpotLight=function(a,b,c,d,e){THREE.Light.call(this,a);this.position=new THREE.Vector3(0,1,0);this.target=new THREE.Object3D;this.intensity=void 0!==b?b:1;this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/2;this.exponent=void 0!==e?e:10;this.onlyShadow=this.castShadow=!1;this.shadowCameraNear=50;this.shadowCameraFar=5E3;this.shadowCameraFov=50;this.shadowCameraVisible=!1;this.shadowBias=0;this.shadowDarkness=0.5;this.shadowMapHeight=this.shadowMapWidth=512;this.shadowMatrix=this.shadowCamera=
this.shadowMapSize=this.shadowMap=null};THREE.SpotLight.prototype=Object.create(THREE.Light.prototype);THREE.Loader=function(a){this.statusDomElement=(this.showStatus=a)?THREE.Loader.prototype.addStatusElement():null;this.onLoadStart=function(){};this.onLoadProgress=function(){};this.onLoadComplete=function(){}};
THREE.Loader.prototype={constructor:THREE.Loader,crossOrigin:"anonymous",addStatusElement:function(){var a=document.createElement("div");a.style.position="absolute";a.style.right="0px";a.style.top="0px";a.style.fontSize="0.8em";a.style.textAlign="left";a.style.background="rgba(0,0,0,0.25)";a.style.color="#fff";a.style.width="120px";a.style.padding="0.5em 0.5em 0.5em 0.5em";a.style.zIndex=1E3;a.innerHTML="Loading ...";return a},updateProgress:function(a){var b="Loaded ",b=a.total?b+((100*a.loaded/
a.total).toFixed(0)+"%"):b+((a.loaded/1E3).toFixed(2)+" KB");this.statusDomElement.innerHTML=b},extractUrlBase:function(a){a=a.split("/");a.pop();return(1>a.length?".":a.join("/"))+"/"},initMaterials:function(a,b){for(var c=[],d=0;d<a.length;++d)c[d]=THREE.Loader.prototype.createMaterial(a[d],b);return c},needsTangents:function(a){for(var b=0,c=a.length;b<c;b++)if(a[b]instanceof THREE.ShaderMaterial)return!0;return!1},createMaterial:function(a,b){function c(a){a=Math.log(a)/Math.LN2;return Math.floor(a)==
a}function d(a){a=Math.log(a)/Math.LN2;return Math.pow(2,Math.round(a))}function e(a,e,f,h,i,j,t){var r=f.toLowerCase().endsWith(".dds"),z=b+"/"+f;if(r){var w=THREE.ImageUtils.loadCompressedTexture(z);a[e]=w}else w=document.createElement("canvas"),a[e]=new THREE.Texture(w);a[e].sourceFile=f;if(h&&(a[e].repeat.set(h[0],h[1]),1!==h[0]&&(a[e].wrapS=THREE.RepeatWrapping),1!==h[1]))a[e].wrapT=THREE.RepeatWrapping;i&&a[e].offset.set(i[0],i[1]);if(j&&(f={repeat:THREE.RepeatWrapping,mirror:THREE.MirroredRepeatWrapping},
void 0!==f[j[0]]&&(a[e].wrapS=f[j[0]]),void 0!==f[j[1]]))a[e].wrapT=f[j[1]];t&&(a[e].anisotropy=t);if(!r){var q=a[e],a=new Image;a.onload=function(){if(!c(this.width)||!c(this.height)){var a=d(this.width),b=d(this.height);q.image.width=a;q.image.height=b;q.image.getContext("2d").drawImage(this,0,0,a,b)}else q.image=this;q.needsUpdate=true};a.crossOrigin=g.crossOrigin;a.src=z}}function f(a){return(255*a[0]<<16)+(255*a[1]<<8)+255*a[2]}var g=this,h="MeshLambertMaterial",i={color:15658734,opacity:1,map:null,
lightMap:null,normalMap:null,bumpMap:null,wireframe:!1};if(a.shading){var j=a.shading.toLowerCase();"phong"===j?h="MeshPhongMaterial":"basic"===j&&(h="MeshBasicMaterial")}void 0!==a.blending&&void 0!==THREE[a.blending]&&(i.blending=THREE[a.blending]);if(void 0!==a.transparent||1>a.opacity)i.transparent=a.transparent;void 0!==a.depthTest&&(i.depthTest=a.depthTest);void 0!==a.depthWrite&&(i.depthWrite=a.depthWrite);void 0!==a.visible&&(i.visible=a.visible);void 0!==a.flipSided&&(i.side=THREE.BackSide);
void 0!==a.doubleSided&&(i.side=THREE.DoubleSide);void 0!==a.wireframe&&(i.wireframe=a.wireframe);void 0!==a.vertexColors&&("face"===a.vertexColors?i.vertexColors=THREE.FaceColors:a.vertexColors&&(i.vertexColors=THREE.VertexColors));a.colorDiffuse?i.color=f(a.colorDiffuse):a.DbgColor&&(i.color=a.DbgColor);a.colorSpecular&&(i.specular=f(a.colorSpecular));a.colorAmbient&&(i.ambient=f(a.colorAmbient));a.transparency&&(i.opacity=a.transparency);a.specularCoef&&(i.shininess=a.specularCoef);a.mapDiffuse&&
b&&e(i,"map",a.mapDiffuse,a.mapDiffuseRepeat,a.mapDiffuseOffset,a.mapDiffuseWrap,a.mapDiffuseAnisotropy);a.mapLight&&b&&e(i,"lightMap",a.mapLight,a.mapLightRepeat,a.mapLightOffset,a.mapLightWrap,a.mapLightAnisotropy);a.mapBump&&b&&e(i,"bumpMap",a.mapBump,a.mapBumpRepeat,a.mapBumpOffset,a.mapBumpWrap,a.mapBumpAnisotropy);a.mapNormal&&b&&e(i,"normalMap",a.mapNormal,a.mapNormalRepeat,a.mapNormalOffset,a.mapNormalWrap,a.mapNormalAnisotropy);a.mapSpecular&&b&&e(i,"specularMap",a.mapSpecular,a.mapSpecularRepeat,
a.mapSpecularOffset,a.mapSpecularWrap,a.mapSpecularAnisotropy);a.mapBumpScale&&(i.bumpScale=a.mapBumpScale);a.mapNormal?(h=THREE.ShaderUtils.lib.normal,j=THREE.UniformsUtils.clone(h.uniforms),j.tNormal.value=i.normalMap,a.mapNormalFactor&&j.uNormalScale.value.set(a.mapNormalFactor,a.mapNormalFactor),i.map&&(j.tDiffuse.value=i.map,j.enableDiffuse.value=!0),i.specularMap&&(j.tSpecular.value=i.specularMap,j.enableSpecular.value=!0),i.lightMap&&(j.tAO.value=i.lightMap,j.enableAO.value=!0),j.uDiffuseColor.value.setHex(i.color),
j.uSpecularColor.value.setHex(i.specular),j.uAmbientColor.value.setHex(i.ambient),j.uShininess.value=i.shininess,void 0!==i.opacity&&(j.uOpacity.value=i.opacity),i=new THREE.ShaderMaterial({fragmentShader:h.fragmentShader,vertexShader:h.vertexShader,uniforms:j,lights:!0,fog:!0})):i=new THREE[h](i);void 0!==a.DbgName&&(i.name=a.DbgName);return i}};THREE.BinaryLoader=function(a){THREE.Loader.call(this,a)};THREE.BinaryLoader.prototype=Object.create(THREE.Loader.prototype);
THREE.BinaryLoader.prototype.load=function(a,b,c,d){var c=c&&"string"===typeof c?c:this.extractUrlBase(a),d=d&&"string"===typeof d?d:this.extractUrlBase(a),e=this.showProgress?THREE.Loader.prototype.updateProgress:null;this.onLoadStart();this.loadAjaxJSON(this,a,b,c,d,e)};
THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,b,c,d,e,f){var g=new XMLHttpRequest;g.onreadystatechange=function(){if(4==g.readyState)if(200==g.status||0==g.status){var h=JSON.parse(g.responseText);a.loadAjaxBuffers(h,c,e,d,f)}else console.error("THREE.BinaryLoader: Couldn't load ["+b+"] ["+g.status+"]")};g.open("GET",b,!0);g.send(null)};
THREE.BinaryLoader.prototype.loadAjaxBuffers=function(a,b,c,d,e){var f=new XMLHttpRequest,g=c+"/"+a.buffers,h=0;f.onreadystatechange=function(){if(4==f.readyState)if(200==f.status||0==f.status){var c=f.response;void 0===c&&(c=(new Uint8Array(f.responseBody)).buffer);THREE.BinaryLoader.prototype.createBinModel(c,b,d,a.materials)}else console.error("THREE.BinaryLoader: Couldn't load ["+g+"] ["+f.status+"]");else 3==f.readyState?e&&(0==h&&(h=f.getResponseHeader("Content-Length")),e({total:h,loaded:f.responseText.length})):
2==f.readyState&&(h=f.getResponseHeader("Content-Length"))};f.open("GET",g,!0);f.responseType="arraybuffer";f.send(null)};
THREE.BinaryLoader.prototype.createBinModel=function(a,b,c,d){var e=function(){var b,c,d,e,j,l,m,n,p,o,s,t,r,z,w,q;function E(a){return a%4?4-a%4:0}function A(a,b){return(new Uint8Array(a,b,1))[0]}function v(a,b){return(new Uint32Array(a,b,1))[0]}function u(b,c){var d,e,f,g,h,i,j,l=new Uint32Array(a,c,3*b);for(d=0;d<b;d++)e=l[3*d],f=l[3*d+1],g=l[3*d+2],h=N[2*e],e=N[2*e+1],i=N[2*f],j=N[2*f+1],f=N[2*g],g=N[2*g+1],K.faceVertexUvs[0].push([new THREE.UV(h,e),new THREE.UV(i,j),new THREE.UV(f,g)])}function D(b,
c){var d,e,f,g,h,i,j,l,n,m=new Uint32Array(a,c,4*b);for(d=0;d<b;d++)e=m[4*d],f=m[4*d+1],g=m[4*d+2],h=m[4*d+3],i=N[2*e],e=N[2*e+1],j=N[2*f],l=N[2*f+1],f=N[2*g],n=N[2*g+1],g=N[2*h],h=N[2*h+1],K.faceVertexUvs[0].push([new THREE.UV(i,e),new THREE.UV(j,l),new THREE.UV(f,n),new THREE.UV(g,h)])}function C(b,c,d){for(var e,f,g,h,c=new Uint32Array(a,c,3*b),i=new Uint16Array(a,d,b),d=0;d<b;d++)e=c[3*d],f=c[3*d+1],g=c[3*d+2],h=i[d],K.faces.push(new THREE.Face3(e,f,g,null,null,h))}function G(b,c,d){for(var e,
f,g,h,i,c=new Uint32Array(a,c,4*b),j=new Uint16Array(a,d,b),d=0;d<b;d++)e=c[4*d],f=c[4*d+1],g=c[4*d+2],h=c[4*d+3],i=j[d],K.faces.push(new THREE.Face4(e,f,g,h,null,null,i))}function P(b,c,d,e){for(var f,g,h,i,j,l,n,c=new Uint32Array(a,c,3*b),d=new Uint32Array(a,d,3*b),m=new Uint16Array(a,e,b),e=0;e<b;e++){f=c[3*e];g=c[3*e+1];h=c[3*e+2];j=d[3*e];l=d[3*e+1];n=d[3*e+2];i=m[e];var o=I[3*l],p=I[3*l+1];l=I[3*l+2];var s=I[3*n],r=I[3*n+1];n=I[3*n+2];K.faces.push(new THREE.Face3(f,g,h,[new THREE.Vector3(I[3*
j],I[3*j+1],I[3*j+2]),new THREE.Vector3(o,p,l),new THREE.Vector3(s,r,n)],null,i))}}function B(b,c,d,e){for(var f,g,h,i,j,l,n,m,o,c=new Uint32Array(a,c,4*b),d=new Uint32Array(a,d,4*b),p=new Uint16Array(a,e,b),e=0;e<b;e++){f=c[4*e];g=c[4*e+1];h=c[4*e+2];i=c[4*e+3];l=d[4*e];n=d[4*e+1];m=d[4*e+2];o=d[4*e+3];j=p[e];var s=I[3*n],r=I[3*n+1];n=I[3*n+2];var q=I[3*m],t=I[3*m+1];m=I[3*m+2];var u=I[3*o],v=I[3*o+1];o=I[3*o+2];K.faces.push(new THREE.Face4(f,g,h,i,[new THREE.Vector3(I[3*l],I[3*l+1],I[3*l+2]),new THREE.Vector3(s,
r,n),new THREE.Vector3(q,t,m),new THREE.Vector3(u,v,o)],null,j))}}var K=this,H=0,I=[],N=[],O,R,ga;THREE.Geometry.call(this);q=a;R=H;z=new Uint8Array(q,R,12);o="";for(r=0;12>r;r++)o+=String.fromCharCode(z[R+r]);b=A(q,R+12);A(q,R+13);A(q,R+14);A(q,R+15);c=A(q,R+16);d=A(q,R+17);e=A(q,R+18);j=A(q,R+19);l=v(q,R+20);m=v(q,R+20+4);n=v(q,R+20+8);p=v(q,R+20+12);o=v(q,R+20+16);s=v(q,R+20+20);t=v(q,R+20+24);r=v(q,R+20+28);z=v(q,R+20+32);w=v(q,R+20+36);q=v(q,R+20+40);H+=b;R=3*c+j;ga=4*c+j;O=p*R;b=o*(R+3*d);c=
s*(R+3*e);j=t*(R+3*d+3*e);R=r*ga;d=z*(ga+4*d);e=w*(ga+4*e);ga=H;var H=new Float32Array(a,H,3*l),M,J,Q,Z;for(M=0;M<l;M++)J=H[3*M],Q=H[3*M+1],Z=H[3*M+2],K.vertices.push(new THREE.Vector3(J,Q,Z));l=H=ga+3*l*Float32Array.BYTES_PER_ELEMENT;if(m){H=new Int8Array(a,H,3*m);for(ga=0;ga<m;ga++)M=H[3*ga],J=H[3*ga+1],Q=H[3*ga+2],I.push(M/127,J/127,Q/127)}H=l+3*m*Int8Array.BYTES_PER_ELEMENT;m=H+=E(3*m);if(n){l=new Float32Array(a,H,2*n);for(H=0;H<n;H++)ga=l[2*H],M=l[2*H+1],N.push(ga,M)}n=H=m+2*n*Float32Array.BYTES_PER_ELEMENT;
O=n+O+E(2*p);m=O+b+E(2*o);b=m+c+E(2*s);c=b+j+E(2*t);R=c+R+E(2*r);j=R+d+E(2*z);d=j+e+E(2*w);s&&(e=m+3*s*Uint32Array.BYTES_PER_ELEMENT,C(s,m,e+3*s*Uint32Array.BYTES_PER_ELEMENT),u(s,e));t&&(s=b+3*t*Uint32Array.BYTES_PER_ELEMENT,e=s+3*t*Uint32Array.BYTES_PER_ELEMENT,P(t,b,s,e+3*t*Uint32Array.BYTES_PER_ELEMENT),u(t,e));w&&(t=j+4*w*Uint32Array.BYTES_PER_ELEMENT,G(w,j,t+4*w*Uint32Array.BYTES_PER_ELEMENT),D(w,t));q&&(w=d+4*q*Uint32Array.BYTES_PER_ELEMENT,t=w+4*q*Uint32Array.BYTES_PER_ELEMENT,B(q,d,w,t+4*
q*Uint32Array.BYTES_PER_ELEMENT),D(q,t));p&&C(p,n,n+3*p*Uint32Array.BYTES_PER_ELEMENT);o&&(p=O+3*o*Uint32Array.BYTES_PER_ELEMENT,P(o,O,p,p+3*o*Uint32Array.BYTES_PER_ELEMENT));r&&G(r,c,c+4*r*Uint32Array.BYTES_PER_ELEMENT);z&&(o=R+4*z*Uint32Array.BYTES_PER_ELEMENT,B(z,R,o,o+4*z*Uint32Array.BYTES_PER_ELEMENT));this.computeCentroids();this.computeFaceNormals()};e.prototype=Object.create(THREE.Geometry.prototype);e=new e(c);c=this.initMaterials(d,c);this.needsTangents(c)&&e.computeTangents();b(e,c)};
THREE.ImageLoader=function(){THREE.EventTarget.call(this);this.crossOrigin=null};THREE.ImageLoader.prototype={constructor:THREE.ImageLoader,load:function(a,b){var c=this;void 0===b&&(b=new Image);b.addEventListener("load",function(){c.dispatchEvent({type:"load",content:b})},!1);b.addEventListener("error",function(){c.dispatchEvent({type:"error",message:"Couldn't load URL ["+a+"]"})},!1);c.crossOrigin&&(b.crossOrigin=c.crossOrigin);b.src=a}};
THREE.JSONLoader=function(a){THREE.Loader.call(this,a);this.withCredentials=!1};THREE.JSONLoader.prototype=Object.create(THREE.Loader.prototype);THREE.JSONLoader.prototype.load=function(a,b,c){c=c&&"string"===typeof c?c:this.extractUrlBase(a);this.onLoadStart();this.loadAjaxJSON(this,a,b,c)};
THREE.JSONLoader.prototype.loadAjaxJSON=function(a,b,c,d,e){var f=new XMLHttpRequest,g=0;f.withCredentials=this.withCredentials;f.onreadystatechange=function(){if(f.readyState===f.DONE)if(200===f.status||0===f.status){if(f.responseText){var h=JSON.parse(f.responseText);a.createModel(h,c,d)}else console.warn("THREE.JSONLoader: ["+b+"] seems to be unreachable or file there is empty");a.onLoadComplete()}else console.error("THREE.JSONLoader: Couldn't load ["+b+"] ["+f.status+"]");else f.readyState===
f.LOADING?e&&(0===g&&(g=f.getResponseHeader("Content-Length")),e({total:g,loaded:f.responseText.length})):f.readyState===f.HEADERS_RECEIVED&&(g=f.getResponseHeader("Content-Length"))};f.open("GET",b,!0);f.send(null)};
THREE.JSONLoader.prototype.createModel=function(a,b,c){var d=new THREE.Geometry,e=void 0!==a.scale?1/a.scale:1,f,g,h,i,j,l,m,n,p,o,s,t,r,z,w,q=a.faces;o=a.vertices;var E=a.normals,A=a.colors,v=0;for(f=0;f<a.uvs.length;f++)a.uvs[f].length&&v++;for(f=0;f<v;f++)d.faceUvs[f]=[],d.faceVertexUvs[f]=[];i=0;for(j=o.length;i<j;)l=new THREE.Vector3,l.x=o[i++]*e,l.y=o[i++]*e,l.z=o[i++]*e,d.vertices.push(l);i=0;for(j=q.length;i<j;){o=q[i++];l=o&1;h=o&2;f=o&4;g=o&8;n=o&16;m=o&32;s=o&64;o&=128;l?(t=new THREE.Face4,
t.a=q[i++],t.b=q[i++],t.c=q[i++],t.d=q[i++],l=4):(t=new THREE.Face3,t.a=q[i++],t.b=q[i++],t.c=q[i++],l=3);h&&(h=q[i++],t.materialIndex=h);h=d.faces.length;if(f)for(f=0;f<v;f++)r=a.uvs[f],p=q[i++],w=r[2*p],p=r[2*p+1],d.faceUvs[f][h]=new THREE.UV(w,p);if(g)for(f=0;f<v;f++){r=a.uvs[f];z=[];for(g=0;g<l;g++)p=q[i++],w=r[2*p],p=r[2*p+1],z[g]=new THREE.UV(w,p);d.faceVertexUvs[f][h]=z}n&&(n=3*q[i++],g=new THREE.Vector3,g.x=E[n++],g.y=E[n++],g.z=E[n],t.normal=g);if(m)for(f=0;f<l;f++)n=3*q[i++],g=new THREE.Vector3,
g.x=E[n++],g.y=E[n++],g.z=E[n],t.vertexNormals.push(g);s&&(m=q[i++],m=new THREE.Color(A[m]),t.color=m);if(o)for(f=0;f<l;f++)m=q[i++],m=new THREE.Color(A[m]),t.vertexColors.push(m);d.faces.push(t)}if(a.skinWeights){i=0;for(j=a.skinWeights.length;i<j;i+=2)q=a.skinWeights[i],E=a.skinWeights[i+1],d.skinWeights.push(new THREE.Vector4(q,E,0,0))}if(a.skinIndices){i=0;for(j=a.skinIndices.length;i<j;i+=2)q=a.skinIndices[i],E=a.skinIndices[i+1],d.skinIndices.push(new THREE.Vector4(q,E,0,0))}d.bones=a.bones;
d.animation=a.animation;if(void 0!==a.morphTargets){i=0;for(j=a.morphTargets.length;i<j;i++){d.morphTargets[i]={};d.morphTargets[i].name=a.morphTargets[i].name;d.morphTargets[i].vertices=[];A=d.morphTargets[i].vertices;v=a.morphTargets[i].vertices;q=0;for(E=v.length;q<E;q+=3)o=new THREE.Vector3,o.x=v[q]*e,o.y=v[q+1]*e,o.z=v[q+2]*e,A.push(o)}}if(void 0!==a.morphColors){i=0;for(j=a.morphColors.length;i<j;i++){d.morphColors[i]={};d.morphColors[i].name=a.morphColors[i].name;d.morphColors[i].colors=[];
E=d.morphColors[i].colors;A=a.morphColors[i].colors;e=0;for(q=A.length;e<q;e+=3)v=new THREE.Color(16755200),v.setRGB(A[e],A[e+1],A[e+2]),E.push(v)}}d.computeCentroids();d.computeFaceNormals();a=this.initMaterials(a.materials,c);this.needsTangents(a)&&d.computeTangents();b(d,a)};
THREE.LoadingMonitor=function(){THREE.EventTarget.call(this);var a=this,b=0,c=0,d=function(){b++;a.dispatchEvent({type:"progress",loaded:b,total:c});b===c&&a.dispatchEvent({type:"load"})};this.add=function(a){c++;a.addEventListener("load",d,!1)}};
THREE.SceneLoader=function(){this.onLoadStart=function(){};this.onLoadProgress=function(){};this.onLoadComplete=function(){};this.callbackSync=function(){};this.callbackProgress=function(){};this.geometryHandlerMap={};this.hierarchyHandlerMap={};this.addGeometryHandler("ascii",THREE.JSONLoader);this.addGeometryHandler("binary",THREE.BinaryLoader)};THREE.SceneLoader.prototype.constructor=THREE.SceneLoader;
THREE.SceneLoader.prototype.load=function(a,b){var c=this,d=new XMLHttpRequest;d.onreadystatechange=function(){if(4===d.readyState)if(200===d.status||0===d.status){var e=JSON.parse(d.responseText);c.parse(e,b,a)}else console.error("THREE.SceneLoader: Couldn't load ["+a+"] ["+d.status+"]")};d.open("GET",a,!0);d.send(null)};THREE.SceneLoader.prototype.addGeometryHandler=function(a,b){this.geometryHandlerMap[a]={loaderClass:b}};
THREE.SceneLoader.prototype.addHierarchyHandler=function(a,b){this.hierarchyHandlerMap[a]={loaderClass:b}};
THREE.SceneLoader.prototype.parse=function(a,b,c){function d(a,b){return"relativeToHTML"==b?a:m+"/"+a}function e(){f(M.scene,Q.objects)}function f(a,b){for(var c in b)if(void 0===M.objects[c]){var e=b[c],g=null;if(e.type&&e.type in l.hierarchyHandlerMap&&void 0===e.loading){var i={},j;for(j in t)"type"!==j&&"url"!==j&&(i[j]=t[j]);C=M.materials[e.material];e.loading=!0;var n=l.hierarchyHandlerMap[e.type].loaderObject;n.addEventListener?(n.addEventListener("load",h(c,a,C,e)),n.load(d(e.url,Q.urlBaseType))):
n.options?n.load(d(e.url,Q.urlBaseType),h(c,a,C,e)):n.load(d(e.url,Q.urlBaseType),h(c,a,C,e),i)}else if(void 0!==e.geometry){if(D=M.geometries[e.geometry]){g=!1;C=M.materials[e.material];g=C instanceof THREE.ShaderMaterial;w=e.position;q=e.rotation;E=e.quaternion;A=e.scale;r=e.matrix;E=0;e.material||(C=new THREE.MeshFaceMaterial(M.face_materials[e.geometry]));C instanceof THREE.MeshFaceMaterial&&0===C.materials.length&&(C=new THREE.MeshFaceMaterial(M.face_materials[e.geometry]));if(C instanceof THREE.MeshFaceMaterial)for(i=
0;i<C.materials.length;i++)g=g||C.materials[i]instanceof THREE.ShaderMaterial;g&&D.computeTangents();e.skin?g=new THREE.SkinnedMesh(D,C):e.morph?(g=new THREE.MorphAnimMesh(D,C),void 0!==e.duration&&(g.duration=e.duration),void 0!==e.time&&(g.time=e.time),void 0!==e.mirroredLoop&&(g.mirroredLoop=e.mirroredLoop),C.morphNormals&&D.computeMorphNormals()):g=new THREE.Mesh(D,C);g.name=c;r?(g.matrixAutoUpdate=!1,g.matrix.set(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],
r[15])):(g.position.set(w[0],w[1],w[2]),E?(g.quaternion.set(E[0],E[1],E[2],E[3]),g.useQuaternion=!0):g.rotation.set(q[0],q[1],q[2]),g.scale.set(A[0],A[1],A[2]));g.visible=e.visible;g.castShadow=e.castShadow;g.receiveShadow=e.receiveShadow;a.add(g);M.objects[c]=g}}else"DirectionalLight"===e.type||"PointLight"===e.type||"AmbientLight"===e.type?(H=void 0!==e.color?e.color:16777215,I=void 0!==e.intensity?e.intensity:1,"DirectionalLight"===e.type?(w=e.direction,K=new THREE.DirectionalLight(H,I),K.position.set(w[0],
w[1],w[2]),e.target&&(J.push({object:K,targetName:e.target}),K.target=null)):"PointLight"===e.type?(w=e.position,z=e.distance,K=new THREE.PointLight(H,I,z),K.position.set(w[0],w[1],w[2])):"AmbientLight"===e.type&&(K=new THREE.AmbientLight(H)),a.add(K),K.name=c,M.lights[c]=K,M.objects[c]=K):"PerspectiveCamera"===e.type||"OrthographicCamera"===e.type?("PerspectiveCamera"===e.type?G=new THREE.PerspectiveCamera(e.fov,e.aspect,e.near,e.far):"OrthographicCamera"===e.type&&(G=new THREE.OrthographicCamera(v.left,
v.right,v.top,v.bottom,v.near,v.far)),w=e.position,G.position.set(w[0],w[1],w[2]),a.add(G),G.name=c,M.cameras[c]=G,M.objects[c]=G):(w=e.position,q=e.rotation,E=e.quaternion,A=e.scale,E=0,g=new THREE.Object3D,g.name=c,g.position.set(w[0],w[1],w[2]),E?(g.quaternion.set(E[0],E[1],E[2],E[3]),g.useQuaternion=!0):g.rotation.set(q[0],q[1],q[2]),g.scale.set(A[0],A[1],A[2]),g.visible=void 0!==e.visible?e.visible:!1,a.add(g),M.objects[c]=g,M.empties[c]=g);if(g){if(void 0!==e.properties)for(var m in e.properties)g.properties[m]=
e.properties[m];void 0!==e.children&&f(g,e.children)}}}function g(a){return function(b,c){M.geometries[a]=b;M.face_materials[a]=c;e();N-=1;l.onLoadComplete();j()}}function h(a,b,c,d){return function(f){var f=f.content?f.content:f.dae?f.scene:f,g=d.position,h=d.rotation,i=d.quaternion,n=d.scale;f.position.set(g[0],g[1],g[2]);i?(f.quaternion.set(i[0],i[1],i[2],i[3]),f.useQuaternion=!0):f.rotation.set(h[0],h[1],h[2]);f.scale.set(n[0],n[1],n[2]);c&&f.traverse(function(a){a.material=c});b.add(f);M.objects[a]=
f;e();N-=1;l.onLoadComplete();j()}}function i(a){return function(b,c){M.geometries[a]=b;M.face_materials[a]=c}}function j(){l.callbackProgress({totalModels:R,totalTextures:ga,loadedModels:R-N,loadedTextures:ga-O},M);l.onLoadProgress();if(0===N&&0===O){for(var a=0;a<J.length;a++){var c=J[a],d=M.objects[c.targetName];d?c.object.target=d:(c.object.target=new THREE.Object3D,M.scene.add(c.object.target));c.object.target.properties.targetInverse=c.object}b(M)}}var l=this,m=THREE.Loader.prototype.extractUrlBase(c),
n,p,o,s,t,r,z,w,q,E,A,v,u,D,C,G,P,B,K,H,I,N,O,R,ga,M,J=[],Q=a,Z;for(Z in this.geometryHandlerMap)a=this.geometryHandlerMap[Z].loaderClass,this.geometryHandlerMap[Z].loaderObject=new a;for(Z in this.hierarchyHandlerMap)a=this.hierarchyHandlerMap[Z].loaderClass,this.hierarchyHandlerMap[Z].loaderObject=new a;O=N=0;M={scene:new THREE.Scene,geometries:{},face_materials:{},materials:{},textures:{},objects:{},cameras:{},lights:{},fogs:{},empties:{}};if(Q.transform&&(Z=Q.transform.position,a=Q.transform.rotation,
c=Q.transform.scale,Z&&M.scene.position.set(Z[0],Z[1],Z[2]),a&&M.scene.rotation.set(a[0],a[1],a[2]),c&&M.scene.scale.set(c[0],c[1],c[2]),Z||a||c))M.scene.updateMatrix(),M.scene.updateMatrixWorld();Z=function(a){return function(){O-=a;j();l.onLoadComplete()}};for(o in Q.fogs)a=Q.fogs[o],"linear"===a.type?P=new THREE.Fog(0,a.near,a.far):"exp2"===a.type&&(P=new THREE.FogExp2(0,a.density)),v=a.color,P.color.setRGB(v[0],v[1],v[2]),M.fogs[o]=P;for(n in Q.geometries)t=Q.geometries[n],t.type in this.geometryHandlerMap&&
(N+=1,l.onLoadStart());for(var L in Q.objects)o=Q.objects[L],o.type&&o.type in this.hierarchyHandlerMap&&(N+=1,l.onLoadStart());R=N;for(n in Q.geometries)if(t=Q.geometries[n],"cube"===t.type)D=new THREE.CubeGeometry(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments),M.geometries[n]=D;else if("plane"===t.type)D=new THREE.PlaneGeometry(t.width,t.height,t.widthSegments,t.heightSegments),M.geometries[n]=D;else if("sphere"===t.type)D=new THREE.SphereGeometry(t.radius,t.widthSegments,
t.heightSegments),M.geometries[n]=D;else if("cylinder"===t.type)D=new THREE.CylinderGeometry(t.topRad,t.botRad,t.height,t.radSegs,t.heightSegs),M.geometries[n]=D;else if("torus"===t.type)D=new THREE.TorusGeometry(t.radius,t.tube,t.segmentsR,t.segmentsT),M.geometries[n]=D;else if("icosahedron"===t.type)D=new THREE.IcosahedronGeometry(t.radius,t.subdivisions),M.geometries[n]=D;else if(t.type in this.geometryHandlerMap){L={};for(B in t)"type"!==B&&"url"!==B&&(L[B]=t[B]);this.geometryHandlerMap[t.type].loaderObject.load(d(t.url,
Q.urlBaseType),g(n),L)}else"embedded"===t.type&&(L=Q.embeds[t.id],L.metadata=Q.metadata,L&&this.geometryHandlerMap.ascii.loaderObject.createModel(L,i(n),""));for(s in Q.textures)if(n=Q.textures[s],n.url instanceof Array){O+=n.url.length;for(B=0;B<n.url.length;B++)l.onLoadStart()}else O+=1,l.onLoadStart();ga=O;for(s in Q.textures){n=Q.textures[s];void 0!==n.mapping&&void 0!==THREE[n.mapping]&&(n.mapping=new THREE[n.mapping]);if(n.url instanceof Array){L=n.url.length;o=[];for(B=0;B<L;B++)o[B]=d(n.url[B],
Q.urlBaseType);B=(B=o[0].endsWith(".dds"))?THREE.ImageUtils.loadCompressedTextureCube(o,n.mapping,Z(L)):THREE.ImageUtils.loadTextureCube(o,n.mapping,Z(L))}else{B=n.url.toLowerCase().endsWith(".dds");L=d(n.url,Q.urlBaseType);o=Z(1);B=B?THREE.ImageUtils.loadCompressedTexture(L,n.mapping,o):THREE.ImageUtils.loadTexture(L,n.mapping,o);void 0!==THREE[n.minFilter]&&(B.minFilter=THREE[n.minFilter]);void 0!==THREE[n.magFilter]&&(B.magFilter=THREE[n.magFilter]);n.anisotropy&&(B.anisotropy=n.anisotropy);if(n.repeat&&
(B.repeat.set(n.repeat[0],n.repeat[1]),1!==n.repeat[0]&&(B.wrapS=THREE.RepeatWrapping),1!==n.repeat[1]))B.wrapT=THREE.RepeatWrapping;n.offset&&B.offset.set(n.offset[0],n.offset[1]);if(n.wrap&&(L={repeat:THREE.RepeatWrapping,mirror:THREE.MirroredRepeatWrapping},void 0!==L[n.wrap[0]]&&(B.wrapS=L[n.wrap[0]]),void 0!==L[n.wrap[1]]))B.wrapT=L[n.wrap[1]]}M.textures[s]=B}for(p in Q.materials){r=Q.materials[p];for(u in r.parameters)"envMap"===u||"map"===u||"lightMap"===u||"bumpMap"===u?r.parameters[u]=M.textures[r.parameters[u]]:
"shading"===u?r.parameters[u]="flat"===r.parameters[u]?THREE.FlatShading:THREE.SmoothShading:"side"===u?r.parameters[u]="double"==r.parameters[u]?THREE.DoubleSide:"back"==r.parameters[u]?THREE.BackSide:THREE.FrontSide:"blending"===u?r.parameters[u]=r.parameters[u]in THREE?THREE[r.parameters[u]]:THREE.NormalBlending:"combine"===u?r.parameters[u]="MixOperation"==r.parameters[u]?THREE.MixOperation:THREE.MultiplyOperation:"vertexColors"===u?"face"==r.parameters[u]?r.parameters[u]=THREE.FaceColors:r.parameters[u]&&
(r.parameters[u]=THREE.VertexColors):"wrapRGB"===u&&(s=r.parameters[u],r.parameters[u]=new THREE.Vector3(s[0],s[1],s[2]));void 0!==r.parameters.opacity&&1>r.parameters.opacity&&(r.parameters.transparent=!0);r.parameters.normalMap?(s=THREE.ShaderUtils.lib.normal,Z=THREE.UniformsUtils.clone(s.uniforms),n=r.parameters.color,B=r.parameters.specular,L=r.parameters.ambient,o=r.parameters.shininess,Z.tNormal.value=M.textures[r.parameters.normalMap],r.parameters.normalScale&&Z.uNormalScale.value.set(r.parameters.normalScale[0],
r.parameters.normalScale[1]),r.parameters.map&&(Z.tDiffuse.value=r.parameters.map,Z.enableDiffuse.value=!0),r.parameters.envMap&&(Z.tCube.value=r.parameters.envMap,Z.enableReflection.value=!0,Z.uReflectivity.value=r.parameters.reflectivity),r.parameters.lightMap&&(Z.tAO.value=r.parameters.lightMap,Z.enableAO.value=!0),r.parameters.specularMap&&(Z.tSpecular.value=M.textures[r.parameters.specularMap],Z.enableSpecular.value=!0),r.parameters.displacementMap&&(Z.tDisplacement.value=M.textures[r.parameters.displacementMap],
Z.enableDisplacement.value=!0,Z.uDisplacementBias.value=r.parameters.displacementBias,Z.uDisplacementScale.value=r.parameters.displacementScale),Z.uDiffuseColor.value.setHex(n),Z.uSpecularColor.value.setHex(B),Z.uAmbientColor.value.setHex(L),Z.uShininess.value=o,r.parameters.opacity&&(Z.uOpacity.value=r.parameters.opacity),C=new THREE.ShaderMaterial({fragmentShader:s.fragmentShader,vertexShader:s.vertexShader,uniforms:Z,lights:!0,fog:!0})):C=new THREE[r.type](r.parameters);M.materials[p]=C}for(p in Q.materials)if(r=
Q.materials[p],r.parameters.materials){u=[];for(B=0;B<r.parameters.materials.length;B++)u.push(M.materials[r.parameters.materials[B]]);M.materials[p].materials=u}e();M.cameras&&Q.defaults.camera&&(M.currentCamera=M.cameras[Q.defaults.camera]);M.fogs&&Q.defaults.fog&&(M.scene.fog=M.fogs[Q.defaults.fog]);v=Q.defaults.bgcolor;M.bgColor=new THREE.Color;M.bgColor.setRGB(v[0],v[1],v[2]);M.bgColorAlpha=Q.defaults.bgalpha;l.callbackSync(M);j()};
THREE.TextureLoader=function(){THREE.EventTarget.call(this);this.crossOrigin=null};THREE.TextureLoader.prototype={constructor:THREE.TextureLoader,load:function(a){var b=this,c=new Image;c.addEventListener("load",function(){var a=new THREE.Texture(c);a.needsUpdate=!0;b.dispatchEvent({type:"load",content:a})},!1);c.addEventListener("error",function(){b.dispatchEvent({type:"error",message:"Couldn't load URL ["+a+"]"})},!1);b.crossOrigin&&(c.crossOrigin=b.crossOrigin);c.src=a}};
THREE.Material=function(){THREE.MaterialLibrary.push(this);this.id=THREE.MaterialIdCount++;this.name="";this.side=THREE.FrontSide;this.opacity=1;this.transparent=!1;this.blending=THREE.NormalBlending;this.blendSrc=THREE.SrcAlphaFactor;this.blendDst=THREE.OneMinusSrcAlphaFactor;this.blendEquation=THREE.AddEquation;this.depthWrite=this.depthTest=!0;this.polygonOffset=!1;this.alphaTest=this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.overdraw=!1;this.needsUpdate=this.visible=!0};
THREE.Material.prototype.setValues=function(a){if(void 0!==a)for(var b in a){var c=a[b];if(void 0===c)console.warn("THREE.Material: '"+b+"' parameter is undefined.");else if(b in this){var d=this[b];d instanceof THREE.Color&&c instanceof THREE.Color?d.copy(c):d instanceof THREE.Color&&"number"===typeof c?d.setHex(c):d instanceof THREE.Vector3&&c instanceof THREE.Vector3?d.copy(c):this[b]=c}}};
THREE.Material.prototype.clone=function(a){void 0===a&&(a=new THREE.Material);a.name=this.name;a.side=this.side;a.opacity=this.opacity;a.transparent=this.transparent;a.blending=this.blending;a.blendSrc=this.blendSrc;a.blendDst=this.blendDst;a.blendEquation=this.blendEquation;a.depthTest=this.depthTest;a.depthWrite=this.depthWrite;a.polygonOffset=this.polygonOffset;a.polygonOffsetFactor=this.polygonOffsetFactor;a.polygonOffsetUnits=this.polygonOffsetUnits;a.alphaTest=this.alphaTest;a.overdraw=this.overdraw;
a.visible=this.visible;return a};THREE.Material.prototype.deallocate=function(){var a=THREE.MaterialLibrary.indexOf(this);-1!==a&&THREE.MaterialLibrary.splice(a,1)};THREE.MaterialIdCount=0;THREE.MaterialLibrary=[];THREE.LineBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.linewidth=1;this.linejoin=this.linecap="round";this.vertexColors=!1;this.fog=!0;this.setValues(a)};THREE.LineBasicMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.LineBasicMaterial.prototype.clone=function(){var a=new THREE.LineBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.linewidth=this.linewidth;a.linecap=this.linecap;a.linejoin=this.linejoin;a.vertexColors=this.vertexColors;a.fog=this.fog;return a};THREE.LineDashedMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.scale=this.linewidth=1;this.dashSize=3;this.gapSize=1;this.vertexColors=!1;this.fog=!0;this.setValues(a)};
THREE.LineDashedMaterial.prototype=Object.create(THREE.Material.prototype);THREE.LineDashedMaterial.prototype.clone=function(){var a=new THREE.LineDashedMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.linewidth=this.linewidth;a.scale=this.scale;a.dashSize=this.dashSize;a.gapSize=this.gapSize;a.vertexColors=this.vertexColors;a.fog=this.fog;return a};
THREE.MeshBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.envMap=this.specularMap=this.lightMap=this.map=null;this.combine=THREE.MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.vertexColors=THREE.NoColors;this.morphTargets=this.skinning=!1;this.setValues(a)};
THREE.MeshBasicMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.MeshBasicMaterial.prototype.clone=function(){var a=new THREE.MeshBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.map=this.map;a.lightMap=this.lightMap;a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin=
this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;return a};
THREE.MeshLambertMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.ambient=new THREE.Color(16777215);this.emissive=new THREE.Color(0);this.wrapAround=!1;this.wrapRGB=new THREE.Vector3(1,1,1);this.envMap=this.specularMap=this.lightMap=this.map=null;this.combine=THREE.MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap=
"round";this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.MeshLambertMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.MeshLambertMaterial.prototype.clone=function(){var a=new THREE.MeshLambertMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.ambient.copy(this.ambient);a.emissive.copy(this.emissive);a.wrapAround=this.wrapAround;a.wrapRGB.copy(this.wrapRGB);a.map=this.map;a.lightMap=this.lightMap;a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading;
a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin=this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;a.morphNormals=this.morphNormals;return a};
THREE.MeshPhongMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.ambient=new THREE.Color(16777215);this.emissive=new THREE.Color(0);this.specular=new THREE.Color(1118481);this.shininess=30;this.metal=!1;this.perPixel=!0;this.wrapAround=!1;this.wrapRGB=new THREE.Vector3(1,1,1);this.bumpMap=this.lightMap=this.map=null;this.bumpScale=1;this.normalMap=null;this.normalScale=new THREE.Vector2(1,1);this.envMap=this.specularMap=null;this.combine=THREE.MultiplyOperation;
this.reflectivity=1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.MeshPhongMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.MeshPhongMaterial.prototype.clone=function(){var a=new THREE.MeshPhongMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.ambient.copy(this.ambient);a.emissive.copy(this.emissive);a.specular.copy(this.specular);a.shininess=this.shininess;a.metal=this.metal;a.perPixel=this.perPixel;a.wrapAround=this.wrapAround;a.wrapRGB.copy(this.wrapRGB);a.map=this.map;a.lightMap=this.lightMap;a.bumpMap=this.bumpMap;a.bumpScale=this.bumpScale;a.normalMap=this.normalMap;a.normalScale.copy(this.normalScale);
a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin=this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;a.morphNormals=this.morphNormals;return a};
THREE.MeshDepthMaterial=function(a){THREE.Material.call(this);this.wireframe=!1;this.wireframeLinewidth=1;this.setValues(a)};THREE.MeshDepthMaterial.prototype=Object.create(THREE.Material.prototype);THREE.MeshDepthMaterial.prototype.clone=function(){var a=new THREE.LineBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;return a};
THREE.MeshNormalMaterial=function(a){THREE.Material.call(this,a);this.shading=THREE.FlatShading;this.wireframe=!1;this.wireframeLinewidth=1;this.setValues(a)};THREE.MeshNormalMaterial.prototype=Object.create(THREE.Material.prototype);THREE.MeshNormalMaterial.prototype.clone=function(){var a=new THREE.MeshNormalMaterial;THREE.Material.prototype.clone.call(this,a);a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;return a};
THREE.MeshFaceMaterial=function(a){this.materials=a instanceof Array?a:[]};THREE.MeshFaceMaterial.prototype.clone=function(){return new THREE.MeshFaceMaterial(this.materials.slice(0))};THREE.ParticleBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.map=null;this.size=1;this.sizeAttenuation=!0;this.vertexColors=!1;this.fog=!0;this.setValues(a)};THREE.ParticleBasicMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.ParticleBasicMaterial.prototype.clone=function(){var a=new THREE.ParticleBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.map=this.map;a.size=this.size;a.sizeAttenuation=this.sizeAttenuation;a.vertexColors=this.vertexColors;a.fog=this.fog;return a};THREE.ParticleCanvasMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.program=function(){};this.setValues(a)};THREE.ParticleCanvasMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.ParticleCanvasMaterial.prototype.clone=function(){var a=new THREE.ParticleCanvasMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.program=this.program;return a};THREE.ParticleDOMMaterial=function(a){this.element=a};THREE.ParticleDOMMaterial.prototype.clone=function(){return new THREE.ParticleDOMMaterial(this.element)};
THREE.ShaderMaterial=function(a){THREE.Material.call(this);this.vertexShader=this.fragmentShader="void main() {}";this.uniforms={};this.defines={};this.attributes=null;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.lights=this.fog=!1;this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.ShaderMaterial.prototype=Object.create(THREE.Material.prototype);
THREE.ShaderMaterial.prototype.clone=function(){var a=new THREE.ShaderMaterial;THREE.Material.prototype.clone.call(this,a);a.fragmentShader=this.fragmentShader;a.vertexShader=this.vertexShader;a.uniforms=THREE.UniformsUtils.clone(this.uniforms);a.attributes=this.attributes;a.defines=this.defines;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.fog=this.fog;a.lights=this.lights;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=
this.morphTargets;a.morphNormals=this.morphNormals;return a};
THREE.Texture=function(a,b,c,d,e,f,g,h,i){THREE.TextureLibrary.push(this);this.id=THREE.TextureIdCount++;this.name="";this.image=a;this.mapping=void 0!==b?b:new THREE.UVMapping;this.wrapS=void 0!==c?c:THREE.ClampToEdgeWrapping;this.wrapT=void 0!==d?d:THREE.ClampToEdgeWrapping;this.magFilter=void 0!==e?e:THREE.LinearFilter;this.minFilter=void 0!==f?f:THREE.LinearMipMapLinearFilter;this.anisotropy=void 0!==i?i:1;this.format=void 0!==g?g:THREE.RGBAFormat;this.type=void 0!==h?h:THREE.UnsignedByteType;
this.offset=new THREE.Vector2(0,0);this.repeat=new THREE.Vector2(1,1);this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.needsUpdate=!1;this.onUpdate=null};
THREE.Texture.prototype={constructor:THREE.Texture,clone:function(){var a=new THREE.Texture;a.image=this.image;a.mapping=this.mapping;a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.minFilter=this.minFilter;a.anisotropy=this.anisotropy;a.format=this.format;a.type=this.type;a.offset.copy(this.offset);a.repeat.copy(this.repeat);a.generateMipmaps=this.generateMipmaps;a.premultiplyAlpha=this.premultiplyAlpha;a.flipY=this.flipY;return a},deallocate:function(){var a=THREE.TextureLibrary.indexOf(this);
-1!==a&&THREE.TextureLibrary.splice(a,1)}};THREE.TextureIdCount=0;THREE.TextureLibrary=[];THREE.CompressedTexture=function(a,b,c,d,e,f,g,h,i,j){THREE.Texture.call(this,null,f,g,h,i,j,d,e);this.image={width:b,height:c};this.mipmaps=a};THREE.CompressedTexture.prototype=Object.create(THREE.Texture.prototype);
THREE.CompressedTexture.prototype.clone=function(){var a=new THREE.CompressedTexture;a.image=this.image;a.mipmaps=this.mipmaps;a.format=this.format;a.type=this.type;a.mapping=this.mapping;a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.minFilter=this.minFilter;a.anisotropy=this.anisotropy;a.offset.copy(this.offset);a.repeat.copy(this.repeat);return a};THREE.DataTexture=function(a,b,c,d,e,f,g,h,i,j){THREE.Texture.call(this,null,f,g,h,i,j,d,e);this.image={data:a,width:b,height:c}};
THREE.DataTexture.prototype=Object.create(THREE.Texture.prototype);THREE.DataTexture.prototype.clone=function(){var a=new THREE.DataTexture(this.image.data,this.image.width,this.image.height,this.format,this.type,this.mapping,this.wrapS,this.wrapT,this.magFilter,this.minFilter);a.offset.copy(this.offset);a.repeat.copy(this.repeat);return a};THREE.Particle=function(a){THREE.Object3D.call(this);this.material=a};THREE.Particle.prototype=Object.create(THREE.Object3D.prototype);
THREE.Particle.prototype.clone=function(a){void 0===a&&(a=new THREE.Particle(this.material));THREE.Object3D.prototype.clone.call(this,a);return a};THREE.ParticleSystem=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.ParticleBasicMaterial({color:16777215*Math.random()});this.sortParticles=!1;this.geometry&&(null===this.geometry.boundingSphere&&this.geometry.computeBoundingSphere(),this.boundRadius=a.boundingSphere.radius);this.frustumCulled=!1};
THREE.ParticleSystem.prototype=Object.create(THREE.Object3D.prototype);THREE.ParticleSystem.prototype.clone=function(a){void 0===a&&(a=new THREE.ParticleSystem(this.geometry,this.material));a.sortParticles=this.sortParticles;THREE.Object3D.prototype.clone.call(this,a);return a};
THREE.Line=function(a,b,c){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.LineBasicMaterial({color:16777215*Math.random()});this.type=void 0!==c?c:THREE.LineStrip;this.geometry&&(this.geometry.boundingSphere||this.geometry.computeBoundingSphere())};THREE.LineStrip=0;THREE.LinePieces=1;THREE.Line.prototype=Object.create(THREE.Object3D.prototype);
THREE.Line.prototype.clone=function(a){void 0===a&&(a=new THREE.Line(this.geometry,this.material,this.type));THREE.Object3D.prototype.clone.call(this,a);return a};
THREE.Mesh=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.MeshBasicMaterial({color:16777215*Math.random(),wireframe:!0});if(this.geometry&&(null===this.geometry.boundingSphere&&this.geometry.computeBoundingSphere(),this.boundRadius=a.boundingSphere.radius,this.geometry.morphTargets.length)){this.morphTargetBase=-1;this.morphTargetForcedOrder=[];this.morphTargetInfluences=[];this.morphTargetDictionary={};for(var c=0;c<this.geometry.morphTargets.length;c++)this.morphTargetInfluences.push(0),
this.morphTargetDictionary[this.geometry.morphTargets[c].name]=c}};THREE.Mesh.prototype=Object.create(THREE.Object3D.prototype);THREE.Mesh.prototype.getMorphTargetIndexByName=function(a){if(void 0!==this.morphTargetDictionary[a])return this.morphTargetDictionary[a];console.log("THREE.Mesh.getMorphTargetIndexByName: morph target "+a+" does not exist. Returning 0.");return 0};
THREE.Mesh.prototype.clone=function(a){void 0===a&&(a=new THREE.Mesh(this.geometry,this.material));THREE.Object3D.prototype.clone.call(this,a);return a};THREE.Bone=function(a){THREE.Object3D.call(this);this.skin=a;this.skinMatrix=new THREE.Matrix4};THREE.Bone.prototype=Object.create(THREE.Object3D.prototype);
THREE.Bone.prototype.update=function(a,b){this.matrixAutoUpdate&&(b|=this.updateMatrix());if(b||this.matrixWorldNeedsUpdate)a?this.skinMatrix.multiply(a,this.matrix):this.skinMatrix.copy(this.matrix),this.matrixWorldNeedsUpdate=!1,b=!0;var c,d=this.children.length;for(c=0;c<d;c++)this.children[c].update(this.skinMatrix,b)};
THREE.SkinnedMesh=function(a,b,c){THREE.Mesh.call(this,a,b);this.useVertexTexture=void 0!==c?c:!0;this.identityMatrix=new THREE.Matrix4;this.bones=[];this.boneMatrices=[];var d,e,f;if(this.geometry&&void 0!==this.geometry.bones){for(a=0;a<this.geometry.bones.length;a++)c=this.geometry.bones[a],d=c.pos,e=c.rotq,f=c.scl,b=this.addBone(),b.name=c.name,b.position.set(d[0],d[1],d[2]),b.quaternion.set(e[0],e[1],e[2],e[3]),b.useQuaternion=!0,void 0!==f?b.scale.set(f[0],f[1],f[2]):b.scale.set(1,1,1);for(a=
0;a<this.bones.length;a++)c=this.geometry.bones[a],b=this.bones[a],-1===c.parent?this.add(b):this.bones[c.parent].add(b);a=this.bones.length;this.useVertexTexture?(this.boneTextureHeight=this.boneTextureWidth=a=256<a?64:64<a?32:16<a?16:8,this.boneMatrices=new Float32Array(4*this.boneTextureWidth*this.boneTextureHeight),this.boneTexture=new THREE.DataTexture(this.boneMatrices,this.boneTextureWidth,this.boneTextureHeight,THREE.RGBAFormat,THREE.FloatType),this.boneTexture.minFilter=THREE.NearestFilter,
this.boneTexture.magFilter=THREE.NearestFilter,this.boneTexture.generateMipmaps=!1,this.boneTexture.flipY=!1):this.boneMatrices=new Float32Array(16*a);this.pose()}};THREE.SkinnedMesh.prototype=Object.create(THREE.Mesh.prototype);THREE.SkinnedMesh.prototype.addBone=function(a){void 0===a&&(a=new THREE.Bone(this));this.bones.push(a);return a};
THREE.SkinnedMesh.prototype.updateMatrixWorld=function(a){this.matrixAutoUpdate&&this.updateMatrix();if(this.matrixWorldNeedsUpdate||a)this.parent?this.matrixWorld.multiply(this.parent.matrixWorld,this.matrix):this.matrixWorld.copy(this.matrix),this.matrixWorldNeedsUpdate=!1;for(var a=0,b=this.children.length;a<b;a++){var c=this.children[a];c instanceof THREE.Bone?c.update(this.identityMatrix,!1):c.updateMatrixWorld(!0)}if(void 0==this.boneInverses){this.boneInverses=[];a=0;for(b=this.bones.length;a<
b;a++)c=new THREE.Matrix4,c.getInverse(this.bones[a].skinMatrix),this.boneInverses.push(c)}a=0;for(b=this.bones.length;a<b;a++)THREE.SkinnedMesh.offsetMatrix.multiply(this.bones[a].skinMatrix,this.boneInverses[a]),THREE.SkinnedMesh.offsetMatrix.flattenToArrayOffset(this.boneMatrices,16*a);this.useVertexTexture&&(this.boneTexture.needsUpdate=!0)};
THREE.SkinnedMesh.prototype.pose=function(){this.updateMatrixWorld(!0);for(var a=0;a<this.geometry.skinIndices.length;a++){var b=this.geometry.skinWeights[a],c=1/b.lengthManhattan();Infinity!==c?b.multiplyScalar(c):b.set(1)}};THREE.SkinnedMesh.prototype.clone=function(a){void 0===a&&(a=new THREE.SkinnedMesh(this.geometry,this.material,this.useVertexTexture));THREE.Mesh.prototype.clone.call(this,a);return a};THREE.SkinnedMesh.offsetMatrix=new THREE.Matrix4;
THREE.MorphAnimMesh=function(a,b){THREE.Mesh.call(this,a,b);this.duration=1E3;this.mirroredLoop=!1;this.currentKeyframe=this.lastKeyframe=this.time=0;this.direction=1;this.directionBackwards=!1;this.setFrameRange(0,this.geometry.morphTargets.length-1)};THREE.MorphAnimMesh.prototype=Object.create(THREE.Mesh.prototype);THREE.MorphAnimMesh.prototype.setFrameRange=function(a,b){this.startKeyframe=a;this.endKeyframe=b;this.length=this.endKeyframe-this.startKeyframe+1};
THREE.MorphAnimMesh.prototype.setDirectionForward=function(){this.direction=1;this.directionBackwards=!1};THREE.MorphAnimMesh.prototype.setDirectionBackward=function(){this.direction=-1;this.directionBackwards=!0};
THREE.MorphAnimMesh.prototype.parseAnimations=function(){var a=this.geometry;a.animations||(a.animations={});for(var b,c=a.animations,d=/([a-z]+)(\d+)/,e=0,f=a.morphTargets.length;e<f;e++){var g=a.morphTargets[e].name.match(d);if(g&&1<g.length){g=g[1];c[g]||(c[g]={start:Infinity,end:-Infinity});var h=c[g];e<h.start&&(h.start=e);e>h.end&&(h.end=e);b||(b=g)}}a.firstAnimation=b};
THREE.MorphAnimMesh.prototype.setAnimationLabel=function(a,b,c){this.geometry.animations||(this.geometry.animations={});this.geometry.animations[a]={start:b,end:c}};THREE.MorphAnimMesh.prototype.playAnimation=function(a,b){var c=this.geometry.animations[a];c?(this.setFrameRange(c.start,c.end),this.duration=1E3*((c.end-c.start)/b),this.time=0):console.warn("animation["+a+"] undefined")};
THREE.MorphAnimMesh.prototype.updateAnimation=function(a){var b=this.duration/this.length;this.time+=this.direction*a;if(this.mirroredLoop){if(this.time>this.duration||0>this.time)if(this.direction*=-1,this.time>this.duration&&(this.time=this.duration,this.directionBackwards=!0),0>this.time)this.time=0,this.directionBackwards=!1}else this.time%=this.duration,0>this.time&&(this.time+=this.duration);a=this.startKeyframe+THREE.Math.clamp(Math.floor(this.time/b),0,this.length-1);a!==this.currentKeyframe&&
(this.morphTargetInfluences[this.lastKeyframe]=0,this.morphTargetInfluences[this.currentKeyframe]=1,this.morphTargetInfluences[a]=0,this.lastKeyframe=this.currentKeyframe,this.currentKeyframe=a);b=this.time%b/b;this.directionBackwards&&(b=1-b);this.morphTargetInfluences[this.currentKeyframe]=b;this.morphTargetInfluences[this.lastKeyframe]=1-b};
THREE.MorphAnimMesh.prototype.clone=function(a){void 0===a&&(a=new THREE.MorphAnimMesh(this.geometry,this.material));a.duration=this.duration;a.mirroredLoop=this.mirroredLoop;a.time=this.time;a.lastKeyframe=this.lastKeyframe;a.currentKeyframe=this.currentKeyframe;a.direction=this.direction;a.directionBackwards=this.directionBackwards;THREE.Mesh.prototype.clone.call(this,a);return a};THREE.Ribbon=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=b};THREE.Ribbon.prototype=Object.create(THREE.Object3D.prototype);
THREE.Ribbon.prototype.clone=function(a){void 0===a&&(a=new THREE.Ribbon(this.geometry,this.material));THREE.Object3D.prototype.clone.call(this,a);return a};THREE.LOD=function(){THREE.Object3D.call(this);this.LODs=[]};THREE.LOD.prototype=Object.create(THREE.Object3D.prototype);THREE.LOD.prototype.addLevel=function(a,b){void 0===b&&(b=0);for(var b=Math.abs(b),c=0;c<this.LODs.length&&!(b<this.LODs[c].visibleAtDistance);c++);this.LODs.splice(c,0,{visibleAtDistance:b,object3D:a});this.add(a)};
THREE.LOD.prototype.update=function(a){if(1<this.LODs.length){a.matrixWorldInverse.getInverse(a.matrixWorld);a=a.matrixWorldInverse;a=-(a.elements[2]*this.matrixWorld.elements[12]+a.elements[6]*this.matrixWorld.elements[13]+a.elements[10]*this.matrixWorld.elements[14]+a.elements[14]);this.LODs[0].object3D.visible=!0;for(var b=1;b<this.LODs.length;b++)if(a>=this.LODs[b].visibleAtDistance)this.LODs[b-1].object3D.visible=!1,this.LODs[b].object3D.visible=!0;else break;for(;b<this.LODs.length;b++)this.LODs[b].object3D.visible=
!1}};THREE.LOD.prototype.clone=function(){};
THREE.Sprite=function(a){THREE.Object3D.call(this);a=a||{};this.color=void 0!==a.color?new THREE.Color(a.color):new THREE.Color(16777215);this.map=void 0!==a.map?a.map:new THREE.Texture;this.blending=void 0!==a.blending?a.blending:THREE.NormalBlending;this.blendSrc=void 0!==a.blendSrc?a.blendSrc:THREE.SrcAlphaFactor;this.blendDst=void 0!==a.blendDst?a.blendDst:THREE.OneMinusSrcAlphaFactor;this.blendEquation=void 0!==a.blendEquation?a.blendEquation:THREE.AddEquation;this.useScreenCoordinates=void 0!==
a.useScreenCoordinates?a.useScreenCoordinates:!0;this.mergeWith3D=void 0!==a.mergeWith3D?a.mergeWith3D:!this.useScreenCoordinates;this.affectedByDistance=void 0!==a.affectedByDistance?a.affectedByDistance:!this.useScreenCoordinates;this.scaleByViewport=void 0!==a.scaleByViewport?a.scaleByViewport:!this.affectedByDistance;this.alignment=a.alignment instanceof THREE.Vector2?a.alignment:THREE.SpriteAlignment.center.clone();this.fog=void 0!==a.fog?a.fog:!1;this.rotation3d=this.rotation;this.rotation=
0;this.opacity=1;this.uvOffset=new THREE.Vector2(0,0);this.uvScale=new THREE.Vector2(1,1)};THREE.Sprite.prototype=Object.create(THREE.Object3D.prototype);THREE.Sprite.prototype.updateMatrix=function(){this.matrix.setPosition(this.position);this.rotation3d.set(0,0,this.rotation);this.matrix.setRotationFromEuler(this.rotation3d);if(1!==this.scale.x||1!==this.scale.y)this.matrix.scale(this.scale),this.boundRadiusScale=Math.max(this.scale.x,this.scale.y);this.matrixWorldNeedsUpdate=!0};
THREE.Sprite.prototype.clone=function(a){void 0===a&&(a=new THREE.Sprite({}));a.color.copy(this.color);a.map=this.map;a.blending=this.blending;a.useScreenCoordinates=this.useScreenCoordinates;a.mergeWith3D=this.mergeWith3D;a.affectedByDistance=this.affectedByDistance;a.scaleByViewport=this.scaleByViewport;a.alignment=this.alignment;a.fog=this.fog;a.rotation3d.copy(this.rotation3d);a.rotation=this.rotation;a.opacity=this.opacity;a.uvOffset.copy(this.uvOffset);a.uvScale.copy(this.uvScale);THREE.Object3D.prototype.clone.call(this,
a);return a};THREE.SpriteAlignment={};THREE.SpriteAlignment.topLeft=new THREE.Vector2(1,-1);THREE.SpriteAlignment.topCenter=new THREE.Vector2(0,-1);THREE.SpriteAlignment.topRight=new THREE.Vector2(-1,-1);THREE.SpriteAlignment.centerLeft=new THREE.Vector2(1,0);THREE.SpriteAlignment.center=new THREE.Vector2(0,0);THREE.SpriteAlignment.centerRight=new THREE.Vector2(-1,0);THREE.SpriteAlignment.bottomLeft=new THREE.Vector2(1,1);THREE.SpriteAlignment.bottomCenter=new THREE.Vector2(0,1);
THREE.SpriteAlignment.bottomRight=new THREE.Vector2(-1,1);THREE.Scene=function(){THREE.Object3D.call(this);this.overrideMaterial=this.fog=null;this.matrixAutoUpdate=!1;this.__objects=[];this.__lights=[];this.__objectsAdded=[];this.__objectsRemoved=[]};THREE.Scene.prototype=Object.create(THREE.Object3D.prototype);
THREE.Scene.prototype.__addObject=function(a){if(a instanceof THREE.Light)-1===this.__lights.indexOf(a)&&this.__lights.push(a),a.target&&void 0===a.target.parent&&this.add(a.target);else if(!(a instanceof THREE.Camera||a instanceof THREE.Bone)&&-1===this.__objects.indexOf(a)){this.__objects.push(a);this.__objectsAdded.push(a);var b=this.__objectsRemoved.indexOf(a);-1!==b&&this.__objectsRemoved.splice(b,1)}for(b=0;b<a.children.length;b++)this.__addObject(a.children[b])};
THREE.Scene.prototype.__removeObject=function(a){if(a instanceof THREE.Light){var b=this.__lights.indexOf(a);-1!==b&&this.__lights.splice(b,1)}else a instanceof THREE.Camera||(b=this.__objects.indexOf(a),-1!==b&&(this.__objects.splice(b,1),this.__objectsRemoved.push(a),b=this.__objectsAdded.indexOf(a),-1!==b&&this.__objectsAdded.splice(b,1)));for(b=0;b<a.children.length;b++)this.__removeObject(a.children[b])};
THREE.Fog=function(a,b,c){this.name="";this.color=new THREE.Color(a);this.near=void 0!==b?b:1;this.far=void 0!==c?c:1E3};THREE.Fog.prototype.clone=function(){return new THREE.Fog(this.color.getHex(),this.near,this.far)};THREE.FogExp2=function(a,b){this.name="";this.color=new THREE.Color(a);this.density=void 0!==b?b:2.5E-4};THREE.FogExp2.prototype.clone=function(){return new THREE.FogExp2(this.color.getHex(),this.density)};
THREE.CanvasRenderer=function(a){function b(a){z!==a&&(z=s.globalAlpha=a)}function c(a){w!==a&&(a===THREE.NormalBlending?s.globalCompositeOperation="source-over":a===THREE.AdditiveBlending?s.globalCompositeOperation="lighter":a===THREE.SubtractiveBlending&&(s.globalCompositeOperation="darker"),w=a)}function d(a){q!==a&&(q=s.strokeStyle=a)}function e(a){E!==a&&(E=s.fillStyle=a)}console.log("THREE.CanvasRenderer",THREE.REVISION);var a=a||{},f=this,g,h,i,j=new THREE.Projector,l=void 0!==a.canvas?a.canvas:
document.createElement("canvas"),m,n,p,o,s=l.getContext("2d"),t=new THREE.Color(0),r=0,z=1,w=0,q=null,E=null,A=null,v=null,u=null,D,C,G,P,B=new THREE.RenderableVertex,K=new THREE.RenderableVertex,H,I,N,O,R,ga,M,J,Q,Z,L,oa,X=new THREE.Color,fa=new THREE.Color,ca=new THREE.Color,Y=new THREE.Color,ba=new THREE.Color,aa=new THREE.Color,ia=new THREE.Color,Aa={},Na={},Ja,ma,sa,Ea,rb,ib,ob,jb,Bb,Cb,Wa=new THREE.Rectangle,Sa=new THREE.Rectangle,Ka=new THREE.Rectangle,kb=!1,Oa=new THREE.Color,lb=new THREE.Color,
ab=new THREE.Color,va=new THREE.Vector3,eb,pb,bb,xa,mb,sb,a=16;eb=document.createElement("canvas");eb.width=eb.height=2;pb=eb.getContext("2d");pb.fillStyle="rgba(0,0,0,1)";pb.fillRect(0,0,2,2);bb=pb.getImageData(0,0,2,2);xa=bb.data;mb=document.createElement("canvas");mb.width=mb.height=a;sb=mb.getContext("2d");sb.translate(-a/2,-a/2);sb.scale(a,a);a--;this.domElement=l;this.sortElements=this.sortObjects=this.autoClear=!0;this.info={render:{vertices:0,faces:0}};this.setSize=function(a,b){m=a;n=b;p=
Math.floor(m/2);o=Math.floor(n/2);l.width=m;l.height=n;Wa.set(-p,-o,p,o);Sa.set(-p,-o,p,o);z=1;w=0;u=v=A=E=q=null};this.setClearColor=function(a,b){t.copy(a);r=void 0!==b?b:1;Sa.set(-p,-o,p,o)};this.setClearColorHex=function(a,b){t.setHex(a);r=void 0!==b?b:1;Sa.set(-p,-o,p,o)};this.getMaxAnisotropy=function(){return 0};this.clear=function(){s.setTransform(1,0,0,-1,p,o);!1===Sa.isEmpty()&&(Sa.minSelf(Wa),Sa.inflate(2),1>r&&s.clearRect(Math.floor(Sa.getX()),Math.floor(Sa.getY()),Math.floor(Sa.getWidth()),
Math.floor(Sa.getHeight())),0<r&&(c(THREE.NormalBlending),b(1),e("rgba("+Math.floor(255*t.r)+","+Math.floor(255*t.g)+","+Math.floor(255*t.b)+","+r+")"),s.fillRect(Math.floor(Sa.getX()),Math.floor(Sa.getY()),Math.floor(Sa.getWidth()),Math.floor(Sa.getHeight()))),Sa.empty())};this.render=function(a,l){function n(a,b,c){for(var d=0,e=i.length;d<e;d++){var f=i[d],g=f.color;if(f instanceof THREE.DirectionalLight){var h=f.matrixWorld.getPosition().normalize(),k=b.dot(h);0>=k||(k*=f.intensity,c.r+=g.r*k,
c.g+=g.g*k,c.b+=g.b*k)}else f instanceof THREE.PointLight&&(h=f.matrixWorld.getPosition(),k=b.dot(va.sub(h,a).normalize()),0>=k||(k*=0==f.distance?1:1-Math.min(a.distanceTo(h)/f.distance,1),0!=k&&(k*=f.intensity,c.r+=g.r*k,c.g+=g.g*k,c.b+=g.b*k)))}}function m(a,d,e,g,h,k,i,j){f.info.render.vertices+=3;f.info.render.faces++;b(j.opacity);c(j.blending);H=a.positionScreen.x;I=a.positionScreen.y;N=d.positionScreen.x;O=d.positionScreen.y;R=e.positionScreen.x;ga=e.positionScreen.y;r(H,I,N,O,R,ga);(j instanceof
THREE.MeshLambertMaterial||j instanceof THREE.MeshPhongMaterial)&&null===j.map&&null===j.map?(aa.copy(j.color),ia.copy(j.emissive),j.vertexColors===THREE.FaceColors&&(aa.r*=i.color.r,aa.g*=i.color.g,aa.b*=i.color.b),!0===kb)?!1===j.wireframe&&j.shading==THREE.SmoothShading&&3==i.vertexNormalsLength?(fa.r=ca.r=Y.r=Oa.r,fa.g=ca.g=Y.g=Oa.g,fa.b=ca.b=Y.b=Oa.b,n(i.v1.positionWorld,i.vertexNormalsWorld[0],fa),n(i.v2.positionWorld,i.vertexNormalsWorld[1],ca),n(i.v3.positionWorld,i.vertexNormalsWorld[2],
Y),fa.r=fa.r*aa.r+ia.r,fa.g=fa.g*aa.g+ia.g,fa.b=fa.b*aa.b+ia.b,ca.r=ca.r*aa.r+ia.r,ca.g=ca.g*aa.g+ia.g,ca.b=ca.b*aa.b+ia.b,Y.r=Y.r*aa.r+ia.r,Y.g=Y.g*aa.g+ia.g,Y.b=Y.b*aa.b+ia.b,ba.r=0.5*(ca.r+Y.r),ba.g=0.5*(ca.g+Y.g),ba.b=0.5*(ca.b+Y.b),sa=yc(fa,ca,Y,ba),na(H,I,N,O,R,ga,0,0,1,0,0,1,sa)):(X.r=Oa.r,X.g=Oa.g,X.b=Oa.b,n(i.centroidWorld,i.normalWorld,X),X.r=X.r*aa.r+ia.r,X.g=X.g*aa.g+ia.g,X.b=X.b*aa.b+ia.b,!0===j.wireframe?t(X,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):w(X)):!0===j.wireframe?
t(j.color,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):w(j.color):j instanceof THREE.MeshBasicMaterial||j instanceof THREE.MeshLambertMaterial||j instanceof THREE.MeshPhongMaterial?null!==j.map?j.map.mapping instanceof THREE.UVMapping&&(Ea=i.uvs[0],z(H,I,N,O,R,ga,Ea[g].u,Ea[g].v,Ea[h].u,Ea[h].v,Ea[k].u,Ea[k].v,j.map)):null!==j.envMap?j.envMap.mapping instanceof THREE.SphericalReflectionMapping&&(a=l.matrixWorldInverse,va.copy(i.vertexNormalsWorld[g]),rb=0.5*(va.x*a.elements[0]+va.y*
a.elements[4]+va.z*a.elements[8])+0.5,ib=0.5*(va.x*a.elements[1]+va.y*a.elements[5]+va.z*a.elements[9])+0.5,va.copy(i.vertexNormalsWorld[h]),ob=0.5*(va.x*a.elements[0]+va.y*a.elements[4]+va.z*a.elements[8])+0.5,jb=0.5*(va.x*a.elements[1]+va.y*a.elements[5]+va.z*a.elements[9])+0.5,va.copy(i.vertexNormalsWorld[k]),Bb=0.5*(va.x*a.elements[0]+va.y*a.elements[4]+va.z*a.elements[8])+0.5,Cb=0.5*(va.x*a.elements[1]+va.y*a.elements[5]+va.z*a.elements[9])+0.5,z(H,I,N,O,R,ga,rb,ib,ob,jb,Bb,Cb,j.envMap)):(X.copy(j.color),
j.vertexColors===THREE.FaceColors&&(X.r*=i.color.r,X.g*=i.color.g,X.b*=i.color.b),!0===j.wireframe?t(X,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):w(X)):j instanceof THREE.MeshDepthMaterial?(Ja=l.near,ma=l.far,fa.r=fa.g=fa.b=1-Db(a.positionScreen.z,Ja,ma),ca.r=ca.g=ca.b=1-Db(d.positionScreen.z,Ja,ma),Y.r=Y.g=Y.b=1-Db(e.positionScreen.z,Ja,ma),ba.r=0.5*(ca.r+Y.r),ba.g=0.5*(ca.g+Y.g),ba.b=0.5*(ca.b+Y.b),sa=yc(fa,ca,Y,ba),na(H,I,N,O,R,ga,0,0,1,0,0,1,sa)):j instanceof THREE.MeshNormalMaterial&&
(X.r=ic(i.normalWorld.x),X.g=ic(i.normalWorld.y),X.b=ic(i.normalWorld.z),!0===j.wireframe?t(X,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):w(X))}function r(a,b,c,d,e,f){s.beginPath();s.moveTo(a,b);s.lineTo(c,d);s.lineTo(e,f);s.closePath()}function q(a,b,c,d,e,f,g,h){s.beginPath();s.moveTo(a,b);s.lineTo(c,d);s.lineTo(e,f);s.lineTo(g,h);s.closePath()}function t(a,b,c,e){A!==b&&(A=s.lineWidth=b);v!==c&&(v=s.lineCap=c);u!==e&&(u=s.lineJoin=e);d(a.getContextStyle());s.stroke();Ka.inflate(2*
b)}function w(a){e(a.getContextStyle());s.fill()}function z(a,b,c,d,f,g,h,k,i,j,l,n,na){if(!(na instanceof THREE.DataTexture||void 0===na.image||0==na.image.width)){if(!0===na.needsUpdate){var m=na.wrapS==THREE.RepeatWrapping,o=na.wrapT==THREE.RepeatWrapping;Aa[na.id]=s.createPattern(na.image,!0===m&&!0===o?"repeat":!0===m&&!1===o?"repeat-x":!1===m&&!0===o?"repeat-y":"no-repeat");na.needsUpdate=!1}void 0===Aa[na.id]?e("rgba(0,0,0,1)"):e(Aa[na.id]);var m=na.offset.x/na.repeat.x,o=na.offset.y/na.repeat.y,
Db=na.image.width*na.repeat.x,p=na.image.height*na.repeat.y,h=(h+m)*Db,k=(1-k+o)*p,c=c-a,d=d-b,f=f-a,g=g-b,i=(i+m)*Db-h,j=(1-j+o)*p-k,l=(l+m)*Db-h,n=(1-n+o)*p-k,m=i*n-l*j;0===m?(void 0===Na[na.id]&&(b=document.createElement("canvas"),b.width=na.image.width,b.height=na.image.height,b=b.getContext("2d"),b.drawImage(na.image,0,0),Na[na.id]=b.getImageData(0,0,na.image.width,na.image.height).data),b=Na[na.id],h=4*(Math.floor(h)+Math.floor(k)*na.image.width),X.setRGB(b[h]/255,b[h+1]/255,b[h+2]/255),w(X)):
(m=1/m,na=(n*c-j*f)*m,j=(n*d-j*g)*m,c=(i*f-l*c)*m,d=(i*g-l*d)*m,a=a-na*h-c*k,h=b-j*h-d*k,s.save(),s.transform(na,j,c,d,a,h),s.fill(),s.restore())}}function na(a,b,c,d,e,f,g,h,k,i,j,l,na){var n,m;n=na.width-1;m=na.height-1;g*=n;h*=m;c-=a;d-=b;e-=a;f-=b;k=k*n-g;i=i*m-h;j=j*n-g;l=l*m-h;m=1/(k*l-j*i);n=(l*c-i*e)*m;i=(l*d-i*f)*m;c=(k*e-j*c)*m;d=(k*f-j*d)*m;a=a-n*g-c*h;b=b-i*g-d*h;s.save();s.transform(n,i,c,d,a,b);s.clip();s.drawImage(na,0,0);s.restore()}function yc(a,b,c,d){xa[0]=255*a.r|0;xa[1]=255*a.g|
0;xa[2]=255*a.b|0;xa[4]=255*b.r|0;xa[5]=255*b.g|0;xa[6]=255*b.b|0;xa[8]=255*c.r|0;xa[9]=255*c.g|0;xa[10]=255*c.b|0;xa[12]=255*d.r|0;xa[13]=255*d.g|0;xa[14]=255*d.b|0;pb.putImageData(bb,0,0);sb.drawImage(eb,0,0);return mb}function Db(a,b,c){a=(a-b)/(c-b);return a*a*(3-2*a)}function ic(a){a=0.5*(a+1);return 0>a?0:1<a?1:a}function Zb(a,b){var c=b.x-a.x,d=b.y-a.y,e=c*c+d*d;0!==e&&(e=1/Math.sqrt(e),c*=e,d*=e,b.x+=c,b.y+=d,a.x-=c,a.y-=d)}if(!1===l instanceof THREE.Camera)console.error("THREE.CanvasRenderer.render: camera is not an instance of THREE.Camera.");
else{var $b,zc,ka,da;!0===this.autoClear?this.clear():s.setTransform(1,0,0,-1,p,o);f.info.render.vertices=0;f.info.render.faces=0;g=j.projectScene(a,l,this.sortObjects,this.sortElements);h=g.elements;i=g.lights;kb=0<i.length;if(!0===kb){Oa.setRGB(0,0,0);lb.setRGB(0,0,0);ab.setRGB(0,0,0);$b=0;for(zc=i.length;$b<zc;$b++){da=i[$b];var la=da.color;da instanceof THREE.AmbientLight?(Oa.r+=la.r,Oa.g+=la.g,Oa.b+=la.b):da instanceof THREE.DirectionalLight?(lb.r+=la.r,lb.g+=la.g,lb.b+=la.b):da instanceof THREE.PointLight&&
(ab.r+=la.r,ab.g+=la.g,ab.b+=la.b)}}$b=0;for(zc=h.length;$b<zc;$b++)if(ka=h[$b],da=ka.material,!(void 0===da||!1===da.visible)){Ka.empty();if(ka instanceof THREE.RenderableParticle){D=ka;D.x*=p;D.y*=o;var la=D,cb=ka;b(da.opacity);c(da.blending);var E=void 0,Ab=void 0,tb=void 0,ub=void 0,jc=ka=void 0,Rc=void 0;da instanceof THREE.ParticleBasicMaterial?null===da.map?(tb=cb.object.scale.x,ub=cb.object.scale.y,tb*=cb.scale.x*p,ub*=cb.scale.y*o,Ka.set(la.x-tb,la.y-ub,la.x+tb,la.y+ub),!1!==Wa.intersects(Ka)&&
(e(da.color.getContextStyle()),s.save(),s.translate(la.x,la.y),s.rotate(-cb.rotation),s.scale(tb,ub),s.fillRect(-1,-1,2,2),s.restore())):(ka=da.map.image,jc=ka.width>>1,Rc=ka.height>>1,tb=cb.scale.x*p,ub=cb.scale.y*o,E=tb*jc,Ab=ub*Rc,Ka.set(la.x-E,la.y-Ab,la.x+E,la.y+Ab),!1!==Wa.intersects(Ka)&&(s.save(),s.translate(la.x,la.y),s.rotate(-cb.rotation),s.scale(tb,-ub),s.translate(-jc,-Rc),s.drawImage(ka,0,0),s.restore())):da instanceof THREE.ParticleCanvasMaterial&&(E=cb.scale.x*p,Ab=cb.scale.y*o,Ka.set(la.x-
E,la.y-Ab,la.x+E,la.y+Ab),!1!==Wa.intersects(Ka)&&(d(da.color.getContextStyle()),e(da.color.getContextStyle()),s.save(),s.translate(la.x,la.y),s.rotate(-cb.rotation),s.scale(E,Ab),da.program(s),s.restore()))}else if(ka instanceof THREE.RenderableLine){if(D=ka.v1,C=ka.v2,D.positionScreen.x*=p,D.positionScreen.y*=o,C.positionScreen.x*=p,C.positionScreen.y*=o,Ka.addPoint(D.positionScreen.x,D.positionScreen.y),Ka.addPoint(C.positionScreen.x,C.positionScreen.y),!0===Wa.intersects(Ka)&&(la=D,cb=C,b(da.opacity),
c(da.blending),s.beginPath(),s.moveTo(la.positionScreen.x,la.positionScreen.y),s.lineTo(cb.positionScreen.x,cb.positionScreen.y),da instanceof THREE.LineBasicMaterial))la=da.linewidth,A!==la&&(A=s.lineWidth=la),la=da.linecap,v!==la&&(v=s.lineCap=la),la=da.linejoin,u!==la&&(u=s.lineJoin=la),d(da.color.getContextStyle()),s.stroke(),Ka.inflate(2*da.linewidth)}else if(ka instanceof THREE.RenderableFace3)D=ka.v1,C=ka.v2,G=ka.v3,D.positionScreen.x*=p,D.positionScreen.y*=o,C.positionScreen.x*=p,C.positionScreen.y*=
o,G.positionScreen.x*=p,G.positionScreen.y*=o,!0===da.overdraw&&(Zb(D.positionScreen,C.positionScreen),Zb(C.positionScreen,G.positionScreen),Zb(G.positionScreen,D.positionScreen)),Ka.add3Points(D.positionScreen.x,D.positionScreen.y,C.positionScreen.x,C.positionScreen.y,G.positionScreen.x,G.positionScreen.y),!0===Wa.intersects(Ka)&&m(D,C,G,0,1,2,ka,da,a);else if(ka instanceof THREE.RenderableFace4&&(D=ka.v1,C=ka.v2,G=ka.v3,P=ka.v4,D.positionScreen.x*=p,D.positionScreen.y*=o,C.positionScreen.x*=p,C.positionScreen.y*=
o,G.positionScreen.x*=p,G.positionScreen.y*=o,P.positionScreen.x*=p,P.positionScreen.y*=o,B.positionScreen.copy(C.positionScreen),K.positionScreen.copy(P.positionScreen),!0===da.overdraw&&(Zb(D.positionScreen,C.positionScreen),Zb(C.positionScreen,P.positionScreen),Zb(P.positionScreen,D.positionScreen),Zb(G.positionScreen,B.positionScreen),Zb(G.positionScreen,K.positionScreen)),Ka.addPoint(D.positionScreen.x,D.positionScreen.y),Ka.addPoint(C.positionScreen.x,C.positionScreen.y),Ka.addPoint(G.positionScreen.x,
G.positionScreen.y),Ka.addPoint(P.positionScreen.x,P.positionScreen.y),!0===Wa.intersects(Ka)))(la=D,cb=C,E=G,Ab=P,tb=B,ub=K,jc=a,f.info.render.vertices+=4,f.info.render.faces++,b(da.opacity),c(da.blending),void 0!==da.map&&null!==da.map||void 0!==da.envMap&&null!==da.envMap)?(m(la,cb,Ab,0,1,3,ka,da,jc),m(tb,E,ub,1,2,3,ka,da,jc)):(H=la.positionScreen.x,I=la.positionScreen.y,N=cb.positionScreen.x,O=cb.positionScreen.y,R=E.positionScreen.x,ga=E.positionScreen.y,M=Ab.positionScreen.x,J=Ab.positionScreen.y,
Q=tb.positionScreen.x,Z=tb.positionScreen.y,L=ub.positionScreen.x,oa=ub.positionScreen.y,da instanceof THREE.MeshLambertMaterial||da instanceof THREE.MeshPhongMaterial)?(aa.copy(da.color),ia.copy(da.emissive),da.vertexColors===THREE.FaceColors&&(aa.r*=ka.color.r,aa.g*=ka.color.g,aa.b*=ka.color.b),!0===kb)?!1===da.wireframe&&da.shading==THREE.SmoothShading&&4==ka.vertexNormalsLength?(fa.r=ca.r=Y.r=ba.r=Oa.r,fa.g=ca.g=Y.g=ba.g=Oa.g,fa.b=ca.b=Y.b=ba.b=Oa.b,n(ka.v1.positionWorld,ka.vertexNormalsWorld[0],
fa),n(ka.v2.positionWorld,ka.vertexNormalsWorld[1],ca),n(ka.v4.positionWorld,ka.vertexNormalsWorld[3],Y),n(ka.v3.positionWorld,ka.vertexNormalsWorld[2],ba),fa.r=fa.r*aa.r+ia.r,fa.g=fa.g*aa.g+ia.g,fa.b=fa.b*aa.b+ia.b,ca.r=ca.r*aa.r+ia.r,ca.g=ca.g*aa.g+ia.g,ca.b=ca.b*aa.b+ia.b,Y.r=Y.r*aa.r+ia.r,Y.g=Y.g*aa.g+ia.g,Y.b=Y.b*aa.b+ia.b,ba.r=ba.r*aa.r+ia.r,ba.g=ba.g*aa.g+ia.g,ba.b=ba.b*aa.b+ia.b,sa=yc(fa,ca,Y,ba),r(H,I,N,O,M,J),na(H,I,N,O,M,J,0,0,1,0,0,1,sa),r(Q,Z,R,ga,L,oa),na(Q,Z,R,ga,L,oa,1,0,1,1,0,1,sa)):
(X.r=Oa.r,X.g=Oa.g,X.b=Oa.b,n(ka.centroidWorld,ka.normalWorld,X),X.r=X.r*aa.r+ia.r,X.g=X.g*aa.g+ia.g,X.b=X.b*aa.b+ia.b,q(H,I,N,O,R,ga,M,J),!0===da.wireframe?t(X,da.wireframeLinewidth,da.wireframeLinecap,da.wireframeLinejoin):w(X)):(X.r=aa.r+ia.r,X.g=aa.g+ia.g,X.b=aa.b+ia.b,q(H,I,N,O,R,ga,M,J),!0===da.wireframe?t(X,da.wireframeLinewidth,da.wireframeLinecap,da.wireframeLinejoin):w(X)):da instanceof THREE.MeshBasicMaterial?(X.copy(da.color),da.vertexColors===THREE.FaceColors&&(X.r*=ka.color.r,X.g*=ka.color.g,
X.b*=ka.color.b),q(H,I,N,O,R,ga,M,J),!0===da.wireframe?t(X,da.wireframeLinewidth,da.wireframeLinecap,da.wireframeLinejoin):w(X)):da instanceof THREE.MeshNormalMaterial?(X.r=ic(ka.normalWorld.x),X.g=ic(ka.normalWorld.y),X.b=ic(ka.normalWorld.z),q(H,I,N,O,R,ga,M,J),!0===da.wireframe?t(X,da.wireframeLinewidth,da.wireframeLinecap,da.wireframeLinejoin):w(X)):da instanceof THREE.MeshDepthMaterial&&(Ja=l.near,ma=l.far,fa.r=fa.g=fa.b=1-Db(la.positionScreen.z,Ja,ma),ca.r=ca.g=ca.b=1-Db(cb.positionScreen.z,
Ja,ma),Y.r=Y.g=Y.b=1-Db(Ab.positionScreen.z,Ja,ma),ba.r=ba.g=ba.b=1-Db(E.positionScreen.z,Ja,ma),sa=yc(fa,ca,Y,ba),r(H,I,N,O,M,J),na(H,I,N,O,M,J,0,0,1,0,0,1,sa),r(Q,Z,R,ga,L,oa),na(Q,Z,R,ga,L,oa,1,0,1,1,0,1,sa));Sa.addRectangle(Ka)}s.setTransform(1,0,0,1,0,0)}}};
THREE.ShaderChunk={fog_pars_fragment:"#ifdef USE_FOG\nuniform vec3 fogColor;\n#ifdef FOG_EXP2\nuniform float fogDensity;\n#else\nuniform float fogNear;\nuniform float fogFar;\n#endif\n#endif",fog_fragment:"#ifdef USE_FOG\nfloat depth = gl_FragCoord.z / gl_FragCoord.w;\n#ifdef FOG_EXP2\nconst float LOG2 = 1.442695;\nfloat fogFactor = exp2( - fogDensity * fogDensity * depth * depth * LOG2 );\nfogFactor = 1.0 - clamp( fogFactor, 0.0, 1.0 );\n#else\nfloat fogFactor = smoothstep( fogNear, fogFar, depth );\n#endif\ngl_FragColor = mix( gl_FragColor, vec4( fogColor, gl_FragColor.w ), fogFactor );\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\nuniform float reflectivity;\nuniform samplerCube envMap;\nuniform float flipEnvMap;\nuniform int combine;\n#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )\nuniform bool useRefract;\nuniform float refractionRatio;\n#else\nvarying vec3 vReflect;\n#endif\n#endif",
envmap_fragment:"#ifdef USE_ENVMAP\nvec3 reflectVec;\n#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )\nvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\nif ( useRefract ) {\nreflectVec = refract( cameraToVertex, normal, refractionRatio );\n} else { \nreflectVec = reflect( cameraToVertex, normal );\n}\n#else\nreflectVec = vReflect;\n#endif\n#ifdef DOUBLE_SIDED\nfloat flipNormal = ( -1.0 + 2.0 * float( gl_FrontFacing ) );\nvec4 cubeColor = textureCube( envMap, flipNormal * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n#else\nvec4 cubeColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n#endif\n#ifdef GAMMA_INPUT\ncubeColor.xyz *= cubeColor.xyz;\n#endif\nif ( combine == 1 ) {\ngl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularStrength * reflectivity );\n} else if ( combine == 2 ) {\ngl_FragColor.xyz += cubeColor.xyz * specularStrength * reflectivity;\n} else {\ngl_FragColor.xyz = mix( gl_FragColor.xyz, gl_FragColor.xyz * cubeColor.xyz, specularStrength * reflectivity );\n}\n#endif",
envmap_pars_vertex:"#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )\nvarying vec3 vReflect;\nuniform float refractionRatio;\nuniform bool useRefract;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( PHONG ) || defined( LAMBERT ) || defined ( USE_SHADOWMAP )\n#ifdef USE_SKINNING\nvec4 worldPosition = modelMatrix * skinned;\n#endif\n#if defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )\nvec4 worldPosition = modelMatrix * vec4( morphed, 1.0 );\n#endif\n#if ! defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )\nvec4 worldPosition = modelMatrix * vec4( position, 1.0 );\n#endif\n#endif",
envmap_vertex:"#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )\nvec3 worldNormal = mat3( modelMatrix[ 0 ].xyz, modelMatrix[ 1 ].xyz, modelMatrix[ 2 ].xyz ) * objectNormal;\nworldNormal = normalize( worldNormal );\nvec3 cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\nif ( useRefract ) {\nvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n} else {\nvReflect = reflect( cameraToVertex, worldNormal );\n}\n#endif",map_particle_pars_fragment:"#ifdef USE_MAP\nuniform sampler2D map;\n#endif",
map_particle_fragment:"#ifdef USE_MAP\ngl_FragColor = gl_FragColor * texture2D( map, vec2( gl_PointCoord.x, 1.0 - gl_PointCoord.y ) );\n#endif",map_pars_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvarying vec2 vUv;\nuniform vec4 offsetRepeat;\n#endif",map_pars_fragment:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\nuniform sampler2D map;\n#endif",
map_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvUv = uv * offsetRepeat.zw + offsetRepeat.xy;\n#endif",map_fragment:"#ifdef USE_MAP\n#ifdef GAMMA_INPUT\nvec4 texelColor = texture2D( map, vUv );\ntexelColor.xyz *= texelColor.xyz;\ngl_FragColor = gl_FragColor * texelColor;\n#else\ngl_FragColor = gl_FragColor * texture2D( map, vUv );\n#endif\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\nvarying vec2 vUv2;\nuniform sampler2D lightMap;\n#endif",
lightmap_pars_vertex:"#ifdef USE_LIGHTMAP\nvarying vec2 vUv2;\n#endif",lightmap_fragment:"#ifdef USE_LIGHTMAP\ngl_FragColor = gl_FragColor * texture2D( lightMap, vUv2 );\n#endif",lightmap_vertex:"#ifdef USE_LIGHTMAP\nvUv2 = uv2;\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\nuniform sampler2D bumpMap;\nuniform float bumpScale;\nvec2 dHdxy_fwd() {\nvec2 dSTdx = dFdx( vUv );\nvec2 dSTdy = dFdy( vUv );\nfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\nfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\nfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\nreturn vec2( dBx, dBy );\n}\nvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\nvec3 vSigmaX = dFdx( surf_pos );\nvec3 vSigmaY = dFdy( surf_pos );\nvec3 vN = surf_norm;\nvec3 R1 = cross( vSigmaY, vN );\nvec3 R2 = cross( vN, vSigmaX );\nfloat fDet = dot( vSigmaX, R1 );\nvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\nreturn normalize( abs( fDet ) * surf_norm - vGrad );\n}\n#endif",
normalmap_pars_fragment:"#ifdef USE_NORMALMAP\nuniform sampler2D normalMap;\nuniform vec2 normalScale;\nvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm ) {\nvec3 q0 = dFdx( eye_pos.xyz );\nvec3 q1 = dFdy( eye_pos.xyz );\nvec2 st0 = dFdx( vUv.st );\nvec2 st1 = dFdy( vUv.st );\nvec3 S = normalize( q0 * st1.t - q1 * st0.t );\nvec3 T = normalize( -q0 * st1.s + q1 * st0.s );\nvec3 N = normalize( surf_norm );\nvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\nmapN.xy = normalScale * mapN.xy;\nmat3 tsn = mat3( S, T, N );\nreturn normalize( tsn * mapN );\n}\n#endif",
specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\nuniform sampler2D specularMap;\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\nvec4 texelSpecular = texture2D( specularMap, vUv );\nspecularStrength = texelSpecular.r;\n#else\nspecularStrength = 1.0;\n#endif",lights_lambert_pars_vertex:"uniform vec3 ambient;\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 ambientLightColor;\n#if MAX_DIR_LIGHTS > 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightDirection[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngleCos[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif",
lights_lambert_vertex:"vLightFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\nvLightBack = vec3( 0.0 );\n#endif\ntransformedNormal = normalize( transformedNormal );\n#if MAX_DIR_LIGHTS > 0\nfor( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( transformedNormal, dirVector );\nvec3 directionalLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 directionalLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 directionalLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 directionalLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\ndirectionalLightWeighting = mix( directionalLightWeighting, directionalLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\ndirectionalLightWeightingBack = mix( directionalLightWeightingBack, directionalLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += directionalLightColor[ i ] * directionalLightWeighting;\n#ifdef DOUBLE_SIDED\nvLightBack += directionalLightColor[ i ] * directionalLightWeightingBack;\n#endif\n}\n#endif\n#if MAX_POINT_LIGHTS > 0\nfor( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\nfloat dotProduct = dot( transformedNormal, lVector );\nvec3 pointLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 pointLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 pointLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 pointLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\npointLightWeighting = mix( pointLightWeighting, pointLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\npointLightWeightingBack = mix( pointLightWeightingBack, pointLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += pointLightColor[ i ] * pointLightWeighting * lDistance;\n#ifdef DOUBLE_SIDED\nvLightBack += pointLightColor[ i ] * pointLightWeightingBack * lDistance;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nfor( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - worldPosition.xyz ) );\nif ( spotEffect > spotLightAngleCos[ i ] ) {\nspotEffect = max( pow( spotEffect, spotLightExponent[ i ] ), 0.0 );\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\nfloat dotProduct = dot( transformedNormal, lVector );\nvec3 spotLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 spotLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 spotLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 spotLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\nspotLightWeighting = mix( spotLightWeighting, spotLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\nspotLightWeightingBack = mix( spotLightWeightingBack, spotLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += spotLightColor[ i ] * spotLightWeighting * lDistance * spotEffect;\n#ifdef DOUBLE_SIDED\nvLightBack += spotLightColor[ i ] * spotLightWeightingBack * lDistance * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( hemisphereLightDirection[ i ], 0.0 );\nvec3 lVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( transformedNormal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nfloat hemiDiffuseWeightBack = -0.5 * dotProduct + 0.5;\nvLightFront += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\n#ifdef DOUBLE_SIDED\nvLightBack += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeightBack );\n#endif\n}\n#endif\nvLightFront = vLightFront * diffuse + ambient * ambientLightColor + emissive;\n#ifdef DOUBLE_SIDED\nvLightBack = vLightBack * diffuse + ambient * ambientLightColor + emissive;\n#endif",
lights_phong_pars_vertex:"#ifndef PHONG_PER_PIXEL\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\nvarying vec4 vPointLight[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\nvarying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvarying vec3 vWorldPosition;\n#endif",
lights_phong_vertex:"#ifndef PHONG_PER_PIXEL\n#if MAX_POINT_LIGHTS > 0\nfor( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nvPointLight[ i ] = vec4( lVector, lDistance );\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nfor( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nvSpotLight[ i ] = vec4( lVector, lDistance );\n}\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvWorldPosition = worldPosition.xyz;\n#endif",
lights_phong_pars_fragment:"uniform vec3 ambientLightColor;\n#if MAX_DIR_LIGHTS > 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightDirection[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\n#ifdef PHONG_PER_PIXEL\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#else\nvarying vec4 vPointLight[ MAX_POINT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngleCos[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\n#ifdef PHONG_PER_PIXEL\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\n#else\nvarying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvarying vec3 vWorldPosition;\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif\nvarying vec3 vViewPosition;\nvarying vec3 vNormal;",
lights_phong_fragment:"vec3 normal = normalize( vNormal );\nvec3 viewPosition = normalize( vViewPosition );\n#ifdef DOUBLE_SIDED\nnormal = normal * ( -1.0 + 2.0 * float( gl_FrontFacing ) );\n#endif\n#ifdef USE_NORMALMAP\nnormal = perturbNormal2Arb( -viewPosition, normal );\n#elif defined( USE_BUMPMAP )\nnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif\n#if MAX_POINT_LIGHTS > 0\nvec3 pointDiffuse = vec3( 0.0 );\nvec3 pointSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\n#ifdef PHONG_PER_PIXEL\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz + vViewPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\n#else\nvec3 lVector = normalize( vPointLight[ i ].xyz );\nfloat lDistance = vPointLight[ i ].w;\n#endif\nfloat dotProduct = dot( normal, lVector );\n#ifdef WRAP_AROUND\nfloat pointDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat pointDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );\n#else\nfloat pointDiffuseWeight = max( dotProduct, 0.0 );\n#endif\npointDiffuse += diffuse * pointLightColor[ i ] * pointDiffuseWeight * lDistance;\nvec3 pointHalfVector = normalize( lVector + viewPosition );\nfloat pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );\nfloat pointSpecularWeight = specularStrength * max( pow( pointDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, pointHalfVector ), 5.0 );\npointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance * specularNormalization;\n#else\npointSpecular += specular * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nvec3 spotDiffuse = vec3( 0.0 );\nvec3 spotSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\n#ifdef PHONG_PER_PIXEL\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz + vViewPosition.xyz;\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\n#else\nvec3 lVector = normalize( vSpotLight[ i ].xyz );\nfloat lDistance = vSpotLight[ i ].w;\n#endif\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );\nif ( spotEffect > spotLightAngleCos[ i ] ) {\nspotEffect = max( pow( spotEffect, spotLightExponent[ i ] ), 0.0 );\nfloat dotProduct = dot( normal, lVector );\n#ifdef WRAP_AROUND\nfloat spotDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat spotDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );\n#else\nfloat spotDiffuseWeight = max( dotProduct, 0.0 );\n#endif\nspotDiffuse += diffuse * spotLightColor[ i ] * spotDiffuseWeight * lDistance * spotEffect;\nvec3 spotHalfVector = normalize( lVector + viewPosition );\nfloat spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );\nfloat spotSpecularWeight = specularStrength * max( pow( spotDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, spotHalfVector ), 5.0 );\nspotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * specularNormalization * spotEffect;\n#else\nspotSpecular += specular * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_DIR_LIGHTS > 0\nvec3 dirDiffuse = vec3( 0.0 );\nvec3 dirSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( normal, dirVector );\n#ifdef WRAP_AROUND\nfloat dirDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat dirDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 dirDiffuseWeight = mix( vec3( dirDiffuseWeightFull ), vec3( dirDiffuseWeightHalf ), wrapRGB );\n#else\nfloat dirDiffuseWeight = max( dotProduct, 0.0 );\n#endif\ndirDiffuse += diffuse * directionalLightColor[ i ] * dirDiffuseWeight;\nvec3 dirHalfVector = normalize( dirVector + viewPosition );\nfloat dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );\nfloat dirSpecularWeight = specularStrength * max( pow( dirDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );\ndirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;\n#else\ndirSpecular += specular * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nvec3 hemiDiffuse = vec3( 0.0 );\nvec3 hemiSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( hemisphereLightDirection[ i ], 0.0 );\nvec3 lVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( normal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nvec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\nhemiDiffuse += diffuse * hemiColor;\nvec3 hemiHalfVectorSky = normalize( lVector + viewPosition );\nfloat hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;\nfloat hemiSpecularWeightSky = specularStrength * max( pow( hemiDotNormalHalfSky, shininess ), 0.0 );\nvec3 lVectorGround = -lVector;\nvec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );\nfloat hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;\nfloat hemiSpecularWeightGround = specularStrength * max( pow( hemiDotNormalHalfGround, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat dotProductGround = dot( normal, lVectorGround );\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlickSky = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );\nvec3 schlickGround = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );\nhemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );\n#else\nhemiSpecular += specular * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;\n#endif\n}\n#endif\nvec3 totalDiffuse = vec3( 0.0 );\nvec3 totalSpecular = vec3( 0.0 );\n#if MAX_DIR_LIGHTS > 0\ntotalDiffuse += dirDiffuse;\ntotalSpecular += dirSpecular;\n#endif\n#if MAX_HEMI_LIGHTS > 0\ntotalDiffuse += hemiDiffuse;\ntotalSpecular += hemiSpecular;\n#endif\n#if MAX_POINT_LIGHTS > 0\ntotalDiffuse += pointDiffuse;\ntotalSpecular += pointSpecular;\n#endif\n#if MAX_SPOT_LIGHTS > 0\ntotalDiffuse += spotDiffuse;\ntotalSpecular += spotSpecular;\n#endif\n#ifdef METAL\ngl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient + totalSpecular );\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient ) + totalSpecular;\n#endif",
color_pars_fragment:"#ifdef USE_COLOR\nvarying vec3 vColor;\n#endif",color_fragment:"#ifdef USE_COLOR\ngl_FragColor = gl_FragColor * vec4( vColor, opacity );\n#endif",color_pars_vertex:"#ifdef USE_COLOR\nvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n#ifdef GAMMA_INPUT\nvColor = color * color;\n#else\nvColor = color;\n#endif\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n#ifdef BONE_TEXTURE\nuniform sampler2D boneTexture;\nmat4 getBoneMatrix( const in float i ) {\nfloat j = i * 4.0;\nfloat x = mod( j, N_BONE_PIXEL_X );\nfloat y = floor( j / N_BONE_PIXEL_X );\nconst float dx = 1.0 / N_BONE_PIXEL_X;\nconst float dy = 1.0 / N_BONE_PIXEL_Y;\ny = dy * ( y + 0.5 );\nvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\nvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\nvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\nvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\nmat4 bone = mat4( v1, v2, v3, v4 );\nreturn bone;\n}\n#else\nuniform mat4 boneGlobalMatrices[ MAX_BONES ];\nmat4 getBoneMatrix( const in float i ) {\nmat4 bone = boneGlobalMatrices[ int(i) ];\nreturn bone;\n}\n#endif\n#endif",
skinbase_vertex:"#ifdef USE_SKINNING\nmat4 boneMatX = getBoneMatrix( skinIndex.x );\nmat4 boneMatY = getBoneMatrix( skinIndex.y );\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n#ifdef USE_MORPHTARGETS\nvec4 skinVertex = vec4( morphed, 1.0 );\n#else\nvec4 skinVertex = vec4( position, 1.0 );\n#endif\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n#ifndef USE_MORPHNORMALS\nuniform float morphTargetInfluences[ 8 ];\n#else\nuniform float morphTargetInfluences[ 4 ];\n#endif\n#endif",
morphtarget_vertex:"#ifdef USE_MORPHTARGETS\nvec3 morphed = vec3( 0.0 );\nmorphed += ( morphTarget0 - position ) * morphTargetInfluences[ 0 ];\nmorphed += ( morphTarget1 - position ) * morphTargetInfluences[ 1 ];\nmorphed += ( morphTarget2 - position ) * morphTargetInfluences[ 2 ];\nmorphed += ( morphTarget3 - position ) * morphTargetInfluences[ 3 ];\n#ifndef USE_MORPHNORMALS\nmorphed += ( morphTarget4 - position ) * morphTargetInfluences[ 4 ];\nmorphed += ( morphTarget5 - position ) * morphTargetInfluences[ 5 ];\nmorphed += ( morphTarget6 - position ) * morphTargetInfluences[ 6 ];\nmorphed += ( morphTarget7 - position ) * morphTargetInfluences[ 7 ];\n#endif\nmorphed += position;\n#endif",
default_vertex:"vec4 mvPosition;\n#ifdef USE_SKINNING\nmvPosition = modelViewMatrix * skinned;\n#endif\n#if !defined( USE_SKINNING ) && defined( USE_MORPHTARGETS )\nmvPosition = modelViewMatrix * vec4( morphed, 1.0 );\n#endif\n#if !defined( USE_SKINNING ) && ! defined( USE_MORPHTARGETS )\nmvPosition = modelViewMatrix * vec4( position, 1.0 );\n#endif\ngl_Position = projectionMatrix * mvPosition;",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\nvec3 morphedNormal = vec3( 0.0 );\nmorphedNormal += ( morphNormal0 - normal ) * morphTargetInfluences[ 0 ];\nmorphedNormal += ( morphNormal1 - normal ) * morphTargetInfluences[ 1 ];\nmorphedNormal += ( morphNormal2 - normal ) * morphTargetInfluences[ 2 ];\nmorphedNormal += ( morphNormal3 - normal ) * morphTargetInfluences[ 3 ];\nmorphedNormal += normal;\n#endif",
skinnormal_vertex:"#ifdef USE_SKINNING\nmat4 skinMatrix = skinWeight.x * boneMatX;\nskinMatrix \t+= skinWeight.y * boneMatY;\n#ifdef USE_MORPHNORMALS\nvec4 skinnedNormal = skinMatrix * vec4( morphedNormal, 0.0 );\n#else\nvec4 skinnedNormal = skinMatrix * vec4( normal, 0.0 );\n#endif\n#endif",defaultnormal_vertex:"vec3 objectNormal;\n#ifdef USE_SKINNING\nobjectNormal = skinnedNormal.xyz;\n#endif\n#if !defined( USE_SKINNING ) && defined( USE_MORPHNORMALS )\nobjectNormal = morphedNormal;\n#endif\n#if !defined( USE_SKINNING ) && ! defined( USE_MORPHNORMALS )\nobjectNormal = normal;\n#endif\n#ifdef FLIP_SIDED\nobjectNormal = -objectNormal;\n#endif\nvec3 transformedNormal = normalMatrix * objectNormal;",
shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\nuniform sampler2D shadowMap[ MAX_SHADOWS ];\nuniform vec2 shadowMapSize[ MAX_SHADOWS ];\nuniform float shadowDarkness[ MAX_SHADOWS ];\nuniform float shadowBias[ MAX_SHADOWS ];\nvarying vec4 vShadowCoord[ MAX_SHADOWS ];\nfloat unpackDepth( const in vec4 rgba_depth ) {\nconst vec4 bit_shift = vec4( 1.0 / ( 256.0 * 256.0 * 256.0 ), 1.0 / ( 256.0 * 256.0 ), 1.0 / 256.0, 1.0 );\nfloat depth = dot( rgba_depth, bit_shift );\nreturn depth;\n}\n#endif",shadowmap_fragment:"#ifdef USE_SHADOWMAP\n#ifdef SHADOWMAP_DEBUG\nvec3 frustumColors[3];\nfrustumColors[0] = vec3( 1.0, 0.5, 0.0 );\nfrustumColors[1] = vec3( 0.0, 1.0, 0.8 );\nfrustumColors[2] = vec3( 0.0, 0.5, 1.0 );\n#endif\n#ifdef SHADOWMAP_CASCADE\nint inFrustumCount = 0;\n#endif\nfloat fDepth;\nvec3 shadowColor = vec3( 1.0 );\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvec3 shadowCoord = vShadowCoord[ i ].xyz / vShadowCoord[ i ].w;\nbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\nbool inFrustum = all( inFrustumVec );\n#ifdef SHADOWMAP_CASCADE\ninFrustumCount += int( inFrustum );\nbvec3 frustumTestVec = bvec3( inFrustum, inFrustumCount == 1, shadowCoord.z <= 1.0 );\n#else\nbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n#endif\nbool frustumTest = all( frustumTestVec );\nif ( frustumTest ) {\nshadowCoord.z += shadowBias[ i ];\n#ifdef SHADOWMAP_SOFT\nfloat shadow = 0.0;\nconst float shadowDelta = 1.0 / 9.0;\nfloat xPixelOffset = 1.0 / shadowMapSize[ i ].x;\nfloat yPixelOffset = 1.0 / shadowMapSize[ i ].y;\nfloat dx0 = -1.25 * xPixelOffset;\nfloat dy0 = -1.25 * yPixelOffset;\nfloat dx1 = 1.25 * xPixelOffset;\nfloat dy1 = 1.25 * yPixelOffset;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, 0.0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, 0.0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nshadowColor = shadowColor * vec3( ( 1.0 - shadowDarkness[ i ] * shadow ) );\n#else\nvec4 rgbaDepth = texture2D( shadowMap[ i ], shadowCoord.xy );\nfloat fDepth = unpackDepth( rgbaDepth );\nif ( fDepth < shadowCoord.z )\nshadowColor = shadowColor * vec3( 1.0 - shadowDarkness[ i ] );\n#endif\n}\n#ifdef SHADOWMAP_DEBUG\n#ifdef SHADOWMAP_CASCADE\nif ( inFrustum && inFrustumCount == 1 ) gl_FragColor.xyz *= frustumColors[ i ];\n#else\nif ( inFrustum ) gl_FragColor.xyz *= frustumColors[ i ];\n#endif\n#endif\n}\n#ifdef GAMMA_OUTPUT\nshadowColor *= shadowColor;\n#endif\ngl_FragColor.xyz = gl_FragColor.xyz * shadowColor;\n#endif",
shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\nvarying vec4 vShadowCoord[ MAX_SHADOWS ];\nuniform mat4 shadowMatrix[ MAX_SHADOWS ];\n#endif",shadowmap_vertex:"#ifdef USE_SHADOWMAP\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvShadowCoord[ i ] = shadowMatrix[ i ] * worldPosition;\n}\n#endif",alphatest_fragment:"#ifdef ALPHATEST\nif ( gl_FragColor.a < ALPHATEST ) discard;\n#endif",linear_to_gamma_fragment:"#ifdef GAMMA_OUTPUT\ngl_FragColor.xyz = sqrt( gl_FragColor.xyz );\n#endif"};
THREE.UniformsUtils={merge:function(a){var b,c,d,e={};for(b=0;b<a.length;b++)for(c in d=this.clone(a[b]),d)e[c]=d[c];return e},clone:function(a){var b,c,d,e={};for(b in a)for(c in e[b]={},a[b])d=a[b][c],e[b][c]=d instanceof THREE.Color||d instanceof THREE.Vector2||d instanceof THREE.Vector3||d instanceof THREE.Vector4||d instanceof THREE.Matrix4||d instanceof THREE.Texture?d.clone():d instanceof Array?d.slice():d;return e}};
THREE.UniformsLib={common:{diffuse:{type:"c",value:new THREE.Color(15658734)},opacity:{type:"f",value:1},map:{type:"t",value:null},offsetRepeat:{type:"v4",value:new THREE.Vector4(0,0,1,1)},lightMap:{type:"t",value:null},specularMap:{type:"t",value:null},envMap:{type:"t",value:null},flipEnvMap:{type:"f",value:-1},useRefract:{type:"i",value:0},reflectivity:{type:"f",value:1},refractionRatio:{type:"f",value:0.98},combine:{type:"i",value:0},morphTargetInfluences:{type:"f",value:0}},bump:{bumpMap:{type:"t",
value:null},bumpScale:{type:"f",value:1}},normalmap:{normalMap:{type:"t",value:null},normalScale:{type:"v2",value:new THREE.Vector2(1,1)}},fog:{fogDensity:{type:"f",value:2.5E-4},fogNear:{type:"f",value:1},fogFar:{type:"f",value:2E3},fogColor:{type:"c",value:new THREE.Color(16777215)}},lights:{ambientLightColor:{type:"fv",value:[]},directionalLightDirection:{type:"fv",value:[]},directionalLightColor:{type:"fv",value:[]},hemisphereLightDirection:{type:"fv",value:[]},hemisphereLightSkyColor:{type:"fv",
value:[]},hemisphereLightGroundColor:{type:"fv",value:[]},pointLightColor:{type:"fv",value:[]},pointLightPosition:{type:"fv",value:[]},pointLightDistance:{type:"fv1",value:[]},spotLightColor:{type:"fv",value:[]},spotLightPosition:{type:"fv",value:[]},spotLightDirection:{type:"fv",value:[]},spotLightDistance:{type:"fv1",value:[]},spotLightAngleCos:{type:"fv1",value:[]},spotLightExponent:{type:"fv1",value:[]}},particle:{psColor:{type:"c",value:new THREE.Color(15658734)},opacity:{type:"f",value:1},size:{type:"f",
value:1},scale:{type:"f",value:1},map:{type:"t",value:null},fogDensity:{type:"f",value:2.5E-4},fogNear:{type:"f",value:1},fogFar:{type:"f",value:2E3},fogColor:{type:"c",value:new THREE.Color(16777215)}},shadowmap:{shadowMap:{type:"tv",value:[]},shadowMapSize:{type:"v2v",value:[]},shadowBias:{type:"fv1",value:[]},shadowDarkness:{type:"fv1",value:[]},shadowMatrix:{type:"m4v",value:[]}}};
THREE.ShaderLib={depth:{uniforms:{mNear:{type:"f",value:1},mFar:{type:"f",value:2E3},opacity:{type:"f",value:1}},vertexShader:"void main() {\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float mNear;\nuniform float mFar;\nuniform float opacity;\nvoid main() {\nfloat depth = gl_FragCoord.z / gl_FragCoord.w;\nfloat color = 1.0 - smoothstep( mNear, mFar, depth );\ngl_FragColor = vec4( vec3( color ), opacity );\n}"},normal:{uniforms:{opacity:{type:"f",
value:1}},vertexShader:"varying vec3 vNormal;\nvoid main() {\nvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\nvNormal = normalize( normalMatrix * normal );\ngl_Position = projectionMatrix * mvPosition;\n}",fragmentShader:"uniform float opacity;\nvarying vec3 vNormal;\nvoid main() {\ngl_FragColor = vec4( 0.5 * normalize( vNormal ) + 0.5, opacity );\n}"},basic:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.common,THREE.UniformsLib.fog,THREE.UniformsLib.shadowmap]),vertexShader:[THREE.ShaderChunk.map_pars_vertex,
THREE.ShaderChunk.lightmap_pars_vertex,THREE.ShaderChunk.envmap_pars_vertex,THREE.ShaderChunk.color_pars_vertex,THREE.ShaderChunk.morphtarget_pars_vertex,THREE.ShaderChunk.skinning_pars_vertex,THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.map_vertex,THREE.ShaderChunk.lightmap_vertex,THREE.ShaderChunk.color_vertex,"#ifdef USE_ENVMAP",THREE.ShaderChunk.morphnormal_vertex,THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.skinnormal_vertex,THREE.ShaderChunk.defaultnormal_vertex,
"#endif",THREE.ShaderChunk.morphtarget_vertex,THREE.ShaderChunk.skinning_vertex,THREE.ShaderChunk.default_vertex,THREE.ShaderChunk.worldpos_vertex,THREE.ShaderChunk.envmap_vertex,THREE.ShaderChunk.shadowmap_vertex,"}"].join("\n"),fragmentShader:["uniform vec3 diffuse;\nuniform float opacity;",THREE.ShaderChunk.color_pars_fragment,THREE.ShaderChunk.map_pars_fragment,THREE.ShaderChunk.lightmap_pars_fragment,THREE.ShaderChunk.envmap_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,THREE.ShaderChunk.shadowmap_pars_fragment,
THREE.ShaderChunk.specularmap_pars_fragment,"void main() {\ngl_FragColor = vec4( diffuse, opacity );",THREE.ShaderChunk.map_fragment,THREE.ShaderChunk.alphatest_fragment,THREE.ShaderChunk.specularmap_fragment,THREE.ShaderChunk.lightmap_fragment,THREE.ShaderChunk.color_fragment,THREE.ShaderChunk.envmap_fragment,THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.linear_to_gamma_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n")},lambert:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.common,
THREE.UniformsLib.fog,THREE.UniformsLib.lights,THREE.UniformsLib.shadowmap,{ambient:{type:"c",value:new THREE.Color(16777215)},emissive:{type:"c",value:new THREE.Color(0)},wrapRGB:{type:"v3",value:new THREE.Vector3(1,1,1)}}]),vertexShader:["#define LAMBERT\nvarying vec3 vLightFront;\n#ifdef DOUBLE_SIDED\nvarying vec3 vLightBack;\n#endif",THREE.ShaderChunk.map_pars_vertex,THREE.ShaderChunk.lightmap_pars_vertex,THREE.ShaderChunk.envmap_pars_vertex,THREE.ShaderChunk.lights_lambert_pars_vertex,THREE.ShaderChunk.color_pars_vertex,
THREE.ShaderChunk.morphtarget_pars_vertex,THREE.ShaderChunk.skinning_pars_vertex,THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.map_vertex,THREE.ShaderChunk.lightmap_vertex,THREE.ShaderChunk.color_vertex,THREE.ShaderChunk.morphnormal_vertex,THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.skinnormal_vertex,THREE.ShaderChunk.defaultnormal_vertex,THREE.ShaderChunk.morphtarget_vertex,THREE.ShaderChunk.skinning_vertex,THREE.ShaderChunk.default_vertex,THREE.ShaderChunk.worldpos_vertex,
THREE.ShaderChunk.envmap_vertex,THREE.ShaderChunk.lights_lambert_vertex,THREE.ShaderChunk.shadowmap_vertex,"}"].join("\n"),fragmentShader:["uniform float opacity;\nvarying vec3 vLightFront;\n#ifdef DOUBLE_SIDED\nvarying vec3 vLightBack;\n#endif",THREE.ShaderChunk.color_pars_fragment,THREE.ShaderChunk.map_pars_fragment,THREE.ShaderChunk.lightmap_pars_fragment,THREE.ShaderChunk.envmap_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,THREE.ShaderChunk.shadowmap_pars_fragment,THREE.ShaderChunk.specularmap_pars_fragment,
"void main() {\ngl_FragColor = vec4( vec3 ( 1.0 ), opacity );",THREE.ShaderChunk.map_fragment,THREE.ShaderChunk.alphatest_fragment,THREE.ShaderChunk.specularmap_fragment,"#ifdef DOUBLE_SIDED\nif ( gl_FrontFacing )\ngl_FragColor.xyz *= vLightFront;\nelse\ngl_FragColor.xyz *= vLightBack;\n#else\ngl_FragColor.xyz *= vLightFront;\n#endif",THREE.ShaderChunk.lightmap_fragment,THREE.ShaderChunk.color_fragment,THREE.ShaderChunk.envmap_fragment,THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.linear_to_gamma_fragment,
THREE.ShaderChunk.fog_fragment,"}"].join("\n")},phong:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.common,THREE.UniformsLib.bump,THREE.UniformsLib.normalmap,THREE.UniformsLib.fog,THREE.UniformsLib.lights,THREE.UniformsLib.shadowmap,{ambient:{type:"c",value:new THREE.Color(16777215)},emissive:{type:"c",value:new THREE.Color(0)},specular:{type:"c",value:new THREE.Color(1118481)},shininess:{type:"f",value:30},wrapRGB:{type:"v3",value:new THREE.Vector3(1,1,1)}}]),vertexShader:["#define PHONG\nvarying vec3 vViewPosition;\nvarying vec3 vNormal;",
THREE.ShaderChunk.map_pars_vertex,THREE.ShaderChunk.lightmap_pars_vertex,THREE.ShaderChunk.envmap_pars_vertex,THREE.ShaderChunk.lights_phong_pars_vertex,THREE.ShaderChunk.color_pars_vertex,THREE.ShaderChunk.morphtarget_pars_vertex,THREE.ShaderChunk.skinning_pars_vertex,THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.map_vertex,THREE.ShaderChunk.lightmap_vertex,THREE.ShaderChunk.color_vertex,THREE.ShaderChunk.morphnormal_vertex,THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.skinnormal_vertex,
THREE.ShaderChunk.defaultnormal_vertex,"vNormal = normalize( transformedNormal );",THREE.ShaderChunk.morphtarget_vertex,THREE.ShaderChunk.skinning_vertex,THREE.ShaderChunk.default_vertex,"vViewPosition = -mvPosition.xyz;",THREE.ShaderChunk.worldpos_vertex,THREE.ShaderChunk.envmap_vertex,THREE.ShaderChunk.lights_phong_vertex,THREE.ShaderChunk.shadowmap_vertex,"}"].join("\n"),fragmentShader:["uniform vec3 diffuse;\nuniform float opacity;\nuniform vec3 ambient;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;",
THREE.ShaderChunk.color_pars_fragment,THREE.ShaderChunk.map_pars_fragment,THREE.ShaderChunk.lightmap_pars_fragment,THREE.ShaderChunk.envmap_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,THREE.ShaderChunk.lights_phong_pars_fragment,THREE.ShaderChunk.shadowmap_pars_fragment,THREE.ShaderChunk.bumpmap_pars_fragment,THREE.ShaderChunk.normalmap_pars_fragment,THREE.ShaderChunk.specularmap_pars_fragment,"void main() {\ngl_FragColor = vec4( vec3 ( 1.0 ), opacity );",THREE.ShaderChunk.map_fragment,THREE.ShaderChunk.alphatest_fragment,
THREE.ShaderChunk.specularmap_fragment,THREE.ShaderChunk.lights_phong_fragment,THREE.ShaderChunk.lightmap_fragment,THREE.ShaderChunk.color_fragment,THREE.ShaderChunk.envmap_fragment,THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.linear_to_gamma_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n")},particle_basic:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.particle,THREE.UniformsLib.shadowmap]),vertexShader:["uniform float size;\nuniform float scale;",THREE.ShaderChunk.color_pars_vertex,
THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.color_vertex,"vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\n#ifdef USE_SIZEATTENUATION\ngl_PointSize = size * ( scale / length( mvPosition.xyz ) );\n#else\ngl_PointSize = size;\n#endif\ngl_Position = projectionMatrix * mvPosition;",THREE.ShaderChunk.worldpos_vertex,THREE.ShaderChunk.shadowmap_vertex,"}"].join("\n"),fragmentShader:["uniform vec3 psColor;\nuniform float opacity;",THREE.ShaderChunk.color_pars_fragment,
THREE.ShaderChunk.map_particle_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,THREE.ShaderChunk.shadowmap_pars_fragment,"void main() {\ngl_FragColor = vec4( psColor, opacity );",THREE.ShaderChunk.map_particle_fragment,THREE.ShaderChunk.alphatest_fragment,THREE.ShaderChunk.color_fragment,THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n")},dashed:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.common,THREE.UniformsLib.fog,{scale:{type:"f",value:1},dashSize:{type:"f",
value:1},totalSize:{type:"f",value:2}}]),vertexShader:["uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;",THREE.ShaderChunk.color_pars_vertex,"void main() {",THREE.ShaderChunk.color_vertex,"vLineDistance = scale * lineDistance;\nvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\ngl_Position = projectionMatrix * mvPosition;\n}"].join("\n"),fragmentShader:["uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;",
THREE.ShaderChunk.color_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,"void main() {\nif ( mod( vLineDistance, totalSize ) > dashSize ) {\ndiscard;\n}\ngl_FragColor = vec4( diffuse, opacity );",THREE.ShaderChunk.color_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n")},depthRGBA:{uniforms:{},vertexShader:[THREE.ShaderChunk.morphtarget_pars_vertex,THREE.ShaderChunk.skinning_pars_vertex,"void main() {",THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.morphtarget_vertex,THREE.ShaderChunk.skinning_vertex,
THREE.ShaderChunk.default_vertex,"}"].join("\n"),fragmentShader:"vec4 pack_depth( const in float depth ) {\nconst vec4 bit_shift = vec4( 256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0 );\nconst vec4 bit_mask = vec4( 0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0 );\nvec4 res = fract( depth * bit_shift );\nres -= res.xxyz * bit_mask;\nreturn res;\n}\nvoid main() {\ngl_FragData[ 0 ] = pack_depth( gl_FragCoord.z );\n}"}};
THREE.WebGLRenderer=function(a){function b(a){if(a.__webglCustomAttributesList)for(var b in a.__webglCustomAttributesList)k.deleteBuffer(a.__webglCustomAttributesList[b].buffer)}function c(a,b){var c=a.vertices.length,d=b.material;if(d.attributes){void 0===a.__webglCustomAttributesList&&(a.__webglCustomAttributesList=[]);for(var e in d.attributes){var f=d.attributes[e];if(!f.__webglInitialized||f.createUniqueBuffers){f.__webglInitialized=!0;var g=1;"v2"===f.type?g=2:"v3"===f.type?g=3:"v4"===f.type?
g=4:"c"===f.type&&(g=3);f.size=g;f.array=new Float32Array(c*g);f.buffer=k.createBuffer();f.buffer.belongsToAttribute=e;f.needsUpdate=!0}a.__webglCustomAttributesList.push(f)}}}function d(a,b){var c=b.geometry,d=a.faces3,h=a.faces4,i=3*d.length+4*h.length,j=1*d.length+2*h.length,h=3*d.length+4*h.length,d=e(b,a),l=g(d),n=f(d),m=d.vertexColors?d.vertexColors:!1;a.__vertexArray=new Float32Array(3*i);n&&(a.__normalArray=new Float32Array(3*i));c.hasTangents&&(a.__tangentArray=new Float32Array(4*i));m&&
(a.__colorArray=new Float32Array(3*i));if(l){if(0<c.faceUvs.length||0<c.faceVertexUvs.length)a.__uvArray=new Float32Array(2*i);if(1<c.faceUvs.length||1<c.faceVertexUvs.length)a.__uv2Array=new Float32Array(2*i)}b.geometry.skinWeights.length&&b.geometry.skinIndices.length&&(a.__skinIndexArray=new Float32Array(4*i),a.__skinWeightArray=new Float32Array(4*i));a.__faceArray=new Uint16Array(3*j);a.__lineArray=new Uint16Array(2*h);if(a.numMorphTargets){a.__morphTargetsArrays=[];c=0;for(l=a.numMorphTargets;c<
l;c++)a.__morphTargetsArrays.push(new Float32Array(3*i))}if(a.numMorphNormals){a.__morphNormalsArrays=[];c=0;for(l=a.numMorphNormals;c<l;c++)a.__morphNormalsArrays.push(new Float32Array(3*i))}a.__webglFaceCount=3*j;a.__webglLineCount=2*h;if(d.attributes){void 0===a.__webglCustomAttributesList&&(a.__webglCustomAttributesList=[]);for(var o in d.attributes){var j=d.attributes[o],c={},p;for(p in j)c[p]=j[p];if(!c.__webglInitialized||c.createUniqueBuffers)c.__webglInitialized=!0,h=1,"v2"===c.type?h=2:
"v3"===c.type?h=3:"v4"===c.type?h=4:"c"===c.type&&(h=3),c.size=h,c.array=new Float32Array(i*h),c.buffer=k.createBuffer(),c.buffer.belongsToAttribute=o,j.needsUpdate=!0,c.__original=j;a.__webglCustomAttributesList.push(c)}}a.__inittedArrays=!0}function e(a,b){return a.material instanceof THREE.MeshFaceMaterial?a.material.materials[b.materialIndex]:a.material}function f(a){return a instanceof THREE.MeshBasicMaterial&&!a.envMap||a instanceof THREE.MeshDepthMaterial?!1:a&&void 0!==a.shading&&a.shading===
THREE.SmoothShading?THREE.SmoothShading:THREE.FlatShading}function g(a){return a.map||a.lightMap||a.bumpMap||a.normalMap||a.specularMap||a instanceof THREE.ShaderMaterial?!0:!1}function h(a){var b,c,d;for(b in a.attributes)d="index"===b?k.ELEMENT_ARRAY_BUFFER:k.ARRAY_BUFFER,c=a.attributes[b],c.buffer=k.createBuffer(),k.bindBuffer(d,c.buffer),k.bufferData(d,c.array,k.STATIC_DRAW)}function i(a,b,c){var d,e,f,g,h=a.vertices;g=h.length;var i=a.colors,j=i.length,l=a.__vertexArray,n=a.__colorArray,m=a.__sortArray,
o=a.verticesNeedUpdate,p=a.colorsNeedUpdate,s=a.__webglCustomAttributesList;if(c.sortParticles){pb.copy(eb);pb.multiplySelf(c.matrixWorld);for(d=0;d<g;d++)e=h[d],bb.copy(e),pb.multiplyVector3(bb),m[d]=[bb.z,d];m.sort(function(a,b){return b[0]-a[0]});for(d=0;d<g;d++)e=h[m[d][1]],f=3*d,l[f]=e.x,l[f+1]=e.y,l[f+2]=e.z;for(d=0;d<j;d++)f=3*d,e=i[m[d][1]],n[f]=e.r,n[f+1]=e.g,n[f+2]=e.b;if(s){i=0;for(j=s.length;i<j;i++)if(h=s[i],void 0===h.boundTo||"vertices"===h.boundTo)if(f=0,e=h.value.length,1===h.size)for(d=
0;d<e;d++)g=m[d][1],h.array[d]=h.value[g];else if(2===h.size)for(d=0;d<e;d++)g=m[d][1],g=h.value[g],h.array[f]=g.x,h.array[f+1]=g.y,f+=2;else if(3===h.size)if("c"===h.type)for(d=0;d<e;d++)g=m[d][1],g=h.value[g],h.array[f]=g.r,h.array[f+1]=g.g,h.array[f+2]=g.b,f+=3;else for(d=0;d<e;d++)g=m[d][1],g=h.value[g],h.array[f]=g.x,h.array[f+1]=g.y,h.array[f+2]=g.z,f+=3;else if(4===h.size)for(d=0;d<e;d++)g=m[d][1],g=h.value[g],h.array[f]=g.x,h.array[f+1]=g.y,h.array[f+2]=g.z,h.array[f+3]=g.w,f+=4}}else{if(o)for(d=
0;d<g;d++)e=h[d],f=3*d,l[f]=e.x,l[f+1]=e.y,l[f+2]=e.z;if(p)for(d=0;d<j;d++)e=i[d],f=3*d,n[f]=e.r,n[f+1]=e.g,n[f+2]=e.b;if(s){i=0;for(j=s.length;i<j;i++)if(h=s[i],h.needsUpdate&&(void 0===h.boundTo||"vertices"===h.boundTo))if(e=h.value.length,f=0,1===h.size)for(d=0;d<e;d++)h.array[d]=h.value[d];else if(2===h.size)for(d=0;d<e;d++)g=h.value[d],h.array[f]=g.x,h.array[f+1]=g.y,f+=2;else if(3===h.size)if("c"===h.type)for(d=0;d<e;d++)g=h.value[d],h.array[f]=g.r,h.array[f+1]=g.g,h.array[f+2]=g.b,f+=3;else for(d=
0;d<e;d++)g=h.value[d],h.array[f]=g.x,h.array[f+1]=g.y,h.array[f+2]=g.z,f+=3;else if(4===h.size)for(d=0;d<e;d++)g=h.value[d],h.array[f]=g.x,h.array[f+1]=g.y,h.array[f+2]=g.z,h.array[f+3]=g.w,f+=4}}if(o||c.sortParticles)k.bindBuffer(k.ARRAY_BUFFER,a.__webglVertexBuffer),k.bufferData(k.ARRAY_BUFFER,l,b);if(p||c.sortParticles)k.bindBuffer(k.ARRAY_BUFFER,a.__webglColorBuffer),k.bufferData(k.ARRAY_BUFFER,n,b);if(s){i=0;for(j=s.length;i<j;i++)if(h=s[i],h.needsUpdate||c.sortParticles)k.bindBuffer(k.ARRAY_BUFFER,
h.buffer),k.bufferData(k.ARRAY_BUFFER,h.array,b)}}function j(a,b,c){var d=a.attributes,e=d.index,f=d.position,g=d.normal,h=d.uv,i=d.color,d=d.tangent;a.elementsNeedUpdate&&void 0!==e&&(k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,e.buffer),k.bufferData(k.ELEMENT_ARRAY_BUFFER,e.array,b));a.verticesNeedUpdate&&void 0!==f&&(k.bindBuffer(k.ARRAY_BUFFER,f.buffer),k.bufferData(k.ARRAY_BUFFER,f.array,b));a.normalsNeedUpdate&&void 0!==g&&(k.bindBuffer(k.ARRAY_BUFFER,g.buffer),k.bufferData(k.ARRAY_BUFFER,g.array,b));
a.uvsNeedUpdate&&void 0!==h&&(k.bindBuffer(k.ARRAY_BUFFER,h.buffer),k.bufferData(k.ARRAY_BUFFER,h.array,b));a.colorsNeedUpdate&&void 0!==i&&(k.bindBuffer(k.ARRAY_BUFFER,i.buffer),k.bufferData(k.ARRAY_BUFFER,i.array,b));a.tangentsNeedUpdate&&void 0!==d&&(k.bindBuffer(k.ARRAY_BUFFER,d.buffer),k.bufferData(k.ARRAY_BUFFER,d.array,b));if(c)for(var j in a.attributes)delete a.attributes[j].array}function l(a,b){return a.z!==b.z?b.z-a.z:b.id-a.id}function m(a,b){return b[1]-a[1]}function n(a,b,c){if(a.length)for(var d=
0,e=a.length;d<e;d++)aa=fa=null,Y=ba=Ja=Na=ob=ib=ma=-1,mb=!0,a[d].render(b,c,lb,ab),aa=fa=null,Y=ba=Ja=Na=ob=ib=ma=-1,mb=!0}function p(a,b,c,d,e,f,g,h){var i,k,j,l;b?(k=a.length-1,l=b=-1):(k=0,b=a.length,l=1);for(var n=k;n!==b;n+=l)if(i=a[n],i.render){k=i.object;j=i.buffer;if(h)i=h;else{i=i[c];if(!i)continue;g&&L.setBlending(i.blending,i.blendEquation,i.blendSrc,i.blendDst);L.setDepthTest(i.depthTest);L.setDepthWrite(i.depthWrite);D(i.polygonOffset,i.polygonOffsetFactor,i.polygonOffsetUnits)}L.setMaterialFaces(i);
j instanceof THREE.BufferGeometry?L.renderBufferDirect(d,e,f,i,j,k):L.renderBuffer(d,e,f,i,j,k)}}function o(a,b,c,d,e,f,g){for(var h,i,k=0,j=a.length;k<j;k++)if(h=a[k],i=h.object,i.visible){if(g)h=g;else{h=h[b];if(!h)continue;f&&L.setBlending(h.blending,h.blendEquation,h.blendSrc,h.blendDst);L.setDepthTest(h.depthTest);L.setDepthWrite(h.depthWrite);D(h.polygonOffset,h.polygonOffsetFactor,h.polygonOffsetUnits)}L.renderImmediateObject(c,d,e,h,i)}}function s(a,b,c){a.push({buffer:b,object:c,opaque:null,
transparent:null})}function t(a){for(var b in a.attributes)if(a.attributes[b].needsUpdate)return!0;return!1}function r(a){for(var b in a.attributes)a.attributes[b].needsUpdate=!1}function z(a,b){for(var c=a.length-1;0<=c;c--)a[c].object===b&&a.splice(c,1)}function w(a,b){for(var c=a.length-1;0<=c;c--)a[c]===b&&a.splice(c,1)}function q(a,b,c,d,e){Aa=0;d.needsUpdate&&(d.program&&L.deallocateMaterial(d),L.initMaterial(d,b,c,e),d.needsUpdate=!1);d.morphTargets&&!e.__webglMorphTargetInfluences&&(e.__webglMorphTargetInfluences=
new Float32Array(L.maxMorphTargets));var f=!1,g=d.program,h=g.uniforms,i=d.uniforms;g!==fa&&(k.useProgram(g),fa=g,f=!0);d.id!==Y&&(Y=d.id,f=!0);if(f||a!==aa)k.uniformMatrix4fv(h.projectionMatrix,!1,a._projectionMatrixArray),a!==aa&&(aa=a);if(d.skinning)if(hc&&e.useVertexTexture){if(null!==h.boneTexture){var j=E();k.uniform1i(h.boneTexture,j);L.setTexture(e.boneTexture,j)}}else null!==h.boneGlobalMatrices&&k.uniformMatrix4fv(h.boneGlobalMatrices,!1,e.boneMatrices);if(f){c&&d.fog&&(i.fogColor.value=
c.color,c instanceof THREE.Fog?(i.fogNear.value=c.near,i.fogFar.value=c.far):c instanceof THREE.FogExp2&&(i.fogDensity.value=c.density));if(d instanceof THREE.MeshPhongMaterial||d instanceof THREE.MeshLambertMaterial||d.lights){if(mb){for(var l=0,n=0,m=0,o,p,s,r=sb,q=r.directional.colors,t=r.directional.positions,w=r.point.colors,z=r.point.positions,A=r.point.distances,B=r.spot.colors,C=r.spot.positions,D=r.spot.distances,G=r.spot.directions,X=r.spot.anglesCos,J=r.spot.exponents,K=r.hemi.skyColors,
Q=r.hemi.groundColors,M=r.hemi.positions,O=0,ca=0,N=0,R=0,ia=0,Z=0,ba=0,ga=0,qa=p=0,c=qa=qa=0,f=b.length;c<f;c++)j=b[c],j.onlyShadow||(o=j.color,s=j.intensity,p=j.distance,j instanceof THREE.AmbientLight?j.visible&&(L.gammaInput?(l+=o.r*o.r,n+=o.g*o.g,m+=o.b*o.b):(l+=o.r,n+=o.g,m+=o.b)):j instanceof THREE.DirectionalLight?(ia+=1,j.visible&&(p=3*O,L.gammaInput?v(q,p,o,s*s):u(q,p,o,s),xa.copy(j.matrixWorld.getPosition()),xa.subSelf(j.target.matrixWorld.getPosition()),xa.normalize(),t[p]=xa.x,t[p+1]=
xa.y,t[p+2]=xa.z,O+=1)):j instanceof THREE.PointLight?(Z+=1,j.visible&&(qa=3*ca,L.gammaInput?v(w,qa,o,s*s):u(w,qa,o,s),s=j.matrixWorld.getPosition(),z[qa]=s.x,z[qa+1]=s.y,z[qa+2]=s.z,A[ca]=p,ca+=1)):j instanceof THREE.SpotLight?(ba+=1,j.visible&&(qa=3*N,L.gammaInput?v(B,qa,o,s*s):u(B,qa,o,s),s=j.matrixWorld.getPosition(),C[qa]=s.x,C[qa+1]=s.y,C[qa+2]=s.z,D[N]=p,xa.copy(s),xa.subSelf(j.target.matrixWorld.getPosition()),xa.normalize(),G[qa]=xa.x,G[qa+1]=xa.y,G[qa+2]=xa.z,X[N]=Math.cos(j.angle),J[N]=
j.exponent,N+=1)):j instanceof THREE.HemisphereLight&&(ga+=1,j.visible&&(o=j.color,p=j.groundColor,qa=3*R,L.gammaInput?(s*=s,v(K,qa,o,s),v(Q,qa,p,s)):(u(K,qa,o,s),u(Q,qa,p,s)),xa.copy(j.matrixWorld.getPosition()),xa.normalize(),M[qa]=xa.x,M[qa+1]=xa.y,M[qa+2]=xa.z,R+=1)));c=3*O;for(f=Math.max(q.length,3*ia);c<f;c++)q[c]=0;c=3*O;for(f=Math.max(t.length,3*ia);c<f;c++)t[c]=0;c=3*ca;for(f=Math.max(w.length,3*Z);c<f;c++)w[c]=0;c=3*ca;for(f=Math.max(z.length,3*Z);c<f;c++)z[c]=0;c=ca;for(f=Math.max(A.length,
Z);c<f;c++)A[c]=0;c=3*N;for(f=Math.max(B.length,3*ba);c<f;c++)B[c]=0;c=3*N;for(f=Math.max(C.length,3*ba);c<f;c++)C[c]=0;c=3*N;for(f=Math.max(G.length,3*ba);c<f;c++)G[c]=0;c=N;for(f=Math.max(X.length,ba);c<f;c++)X[c]=0;c=N;for(f=Math.max(J.length,ba);c<f;c++)J[c]=0;c=N;for(f=Math.max(D.length,ba);c<f;c++)D[c]=0;c=3*R;for(f=Math.max(K.length,3*ga);c<f;c++)K[c]=0;c=3*R;for(f=Math.max(Q.length,3*ga);c<f;c++)Q[c]=0;c=3*R;for(f=Math.max(M.length,3*ga);c<f;c++)M[c]=0;r.directional.length=O;r.point.length=
ca;r.spot.length=N;r.hemi.length=R;r.ambient[0]=l;r.ambient[1]=n;r.ambient[2]=m;mb=!1}c=sb;i.ambientLightColor.value=c.ambient;i.directionalLightColor.value=c.directional.colors;i.directionalLightDirection.value=c.directional.positions;i.pointLightColor.value=c.point.colors;i.pointLightPosition.value=c.point.positions;i.pointLightDistance.value=c.point.distances;i.spotLightColor.value=c.spot.colors;i.spotLightPosition.value=c.spot.positions;i.spotLightDistance.value=c.spot.distances;i.spotLightDirection.value=
c.spot.directions;i.spotLightAngleCos.value=c.spot.anglesCos;i.spotLightExponent.value=c.spot.exponents;i.hemisphereLightSkyColor.value=c.hemi.skyColors;i.hemisphereLightGroundColor.value=c.hemi.groundColors;i.hemisphereLightDirection.value=c.hemi.positions}if(d instanceof THREE.MeshBasicMaterial||d instanceof THREE.MeshLambertMaterial||d instanceof THREE.MeshPhongMaterial){i.opacity.value=d.opacity;L.gammaInput?i.diffuse.value.copyGammaToLinear(d.color):i.diffuse.value=d.color;i.map.value=d.map;
i.lightMap.value=d.lightMap;i.specularMap.value=d.specularMap;d.bumpMap&&(i.bumpMap.value=d.bumpMap,i.bumpScale.value=d.bumpScale);d.normalMap&&(i.normalMap.value=d.normalMap,i.normalScale.value.copy(d.normalScale));var T;d.map?T=d.map:d.specularMap?T=d.specularMap:d.normalMap?T=d.normalMap:d.bumpMap&&(T=d.bumpMap);void 0!==T&&(c=T.offset,T=T.repeat,i.offsetRepeat.value.set(c.x,c.y,T.x,T.y));i.envMap.value=d.envMap;i.flipEnvMap.value=d.envMap instanceof THREE.WebGLRenderTargetCube?1:-1;i.reflectivity.value=
d.reflectivity;i.refractionRatio.value=d.refractionRatio;i.combine.value=d.combine;i.useRefract.value=d.envMap&&d.envMap.mapping instanceof THREE.CubeRefractionMapping}d instanceof THREE.LineBasicMaterial?(i.diffuse.value=d.color,i.opacity.value=d.opacity):d instanceof THREE.LineDashedMaterial?(i.diffuse.value=d.color,i.opacity.value=d.opacity,i.dashSize.value=d.dashSize,i.totalSize.value=d.dashSize+d.gapSize,i.scale.value=d.scale):d instanceof THREE.ParticleBasicMaterial?(i.psColor.value=d.color,
i.opacity.value=d.opacity,i.size.value=d.size,i.scale.value=I.height/2,i.map.value=d.map):d instanceof THREE.MeshPhongMaterial?(i.shininess.value=d.shininess,L.gammaInput?(i.ambient.value.copyGammaToLinear(d.ambient),i.emissive.value.copyGammaToLinear(d.emissive),i.specular.value.copyGammaToLinear(d.specular)):(i.ambient.value=d.ambient,i.emissive.value=d.emissive,i.specular.value=d.specular),d.wrapAround&&i.wrapRGB.value.copy(d.wrapRGB)):d instanceof THREE.MeshLambertMaterial?(L.gammaInput?(i.ambient.value.copyGammaToLinear(d.ambient),
i.emissive.value.copyGammaToLinear(d.emissive)):(i.ambient.value=d.ambient,i.emissive.value=d.emissive),d.wrapAround&&i.wrapRGB.value.copy(d.wrapRGB)):d instanceof THREE.MeshDepthMaterial?(i.mNear.value=a.near,i.mFar.value=a.far,i.opacity.value=d.opacity):d instanceof THREE.MeshNormalMaterial&&(i.opacity.value=d.opacity);if(e.receiveShadow&&!d._shadowPass&&i.shadowMatrix){c=T=0;for(f=b.length;c<f;c++)if(j=b[c],j.castShadow&&(j instanceof THREE.SpotLight||j instanceof THREE.DirectionalLight&&!j.shadowCascade))i.shadowMap.value[T]=
j.shadowMap,i.shadowMapSize.value[T]=j.shadowMapSize,i.shadowMatrix.value[T]=j.shadowMatrix,i.shadowDarkness.value[T]=j.shadowDarkness,i.shadowBias.value[T]=j.shadowBias,T++}b=d.uniformsList;i=0;for(T=b.length;i<T;i++)if(f=g.uniforms[b[i][1]])if(c=b[i][0],l=c.type,j=c.value,"i"===l)k.uniform1i(f,j);else if("f"===l)k.uniform1f(f,j);else if("v2"===l)k.uniform2f(f,j.x,j.y);else if("v3"===l)k.uniform3f(f,j.x,j.y,j.z);else if("v4"===l)k.uniform4f(f,j.x,j.y,j.z,j.w);else if("c"===l)k.uniform3f(f,j.r,j.g,
j.b);else if("iv1"===l)k.uniform1iv(f,j);else if("iv"===l)k.uniform3iv(f,j);else if("fv1"===l)k.uniform1fv(f,j);else if("fv"===l)k.uniform3fv(f,j);else if("v2v"===l){void 0===c._array&&(c._array=new Float32Array(2*j.length));l=0;for(n=j.length;l<n;l++)m=2*l,c._array[m]=j[l].x,c._array[m+1]=j[l].y;k.uniform2fv(f,c._array)}else if("v3v"===l){void 0===c._array&&(c._array=new Float32Array(3*j.length));l=0;for(n=j.length;l<n;l++)m=3*l,c._array[m]=j[l].x,c._array[m+1]=j[l].y,c._array[m+2]=j[l].z;k.uniform3fv(f,
c._array)}else if("v4v"===l){void 0===c._array&&(c._array=new Float32Array(4*j.length));l=0;for(n=j.length;l<n;l++)m=4*l,c._array[m]=j[l].x,c._array[m+1]=j[l].y,c._array[m+2]=j[l].z,c._array[m+3]=j[l].w;k.uniform4fv(f,c._array)}else if("m4"===l)void 0===c._array&&(c._array=new Float32Array(16)),j.flattenToArray(c._array),k.uniformMatrix4fv(f,!1,c._array);else if("m4v"===l){void 0===c._array&&(c._array=new Float32Array(16*j.length));l=0;for(n=j.length;l<n;l++)j[l].flattenToArrayOffset(c._array,16*
l);k.uniformMatrix4fv(f,!1,c._array)}else if("t"===l){if(m=j,j=E(),k.uniform1i(f,j),m)if(m.image instanceof Array&&6===m.image.length){if(c=m,f=j,6===c.image.length)if(c.needsUpdate){c.image.__webglTextureCube||(c.image.__webglTextureCube=k.createTexture());k.activeTexture(k.TEXTURE0+f);k.bindTexture(k.TEXTURE_CUBE_MAP,c.image.__webglTextureCube);k.pixelStorei(k.UNPACK_FLIP_Y_WEBGL,c.flipY);f=c instanceof THREE.CompressedTexture;j=[];for(l=0;6>l;l++)L.autoScaleCubemaps&&!f?(n=j,m=l,r=c.image[l],t=
Qc,r.width<=t&&r.height<=t||(w=Math.max(r.width,r.height),q=Math.floor(r.width*t/w),t=Math.floor(r.height*t/w),w=document.createElement("canvas"),w.width=q,w.height=t,w.getContext("2d").drawImage(r,0,0,r.width,r.height,0,0,q,t),r=w),n[m]=r):j[l]=c.image[l];l=j[0];n=0===(l.width&l.width-1)&&0===(l.height&l.height-1);m=H(c.format);r=H(c.type);P(k.TEXTURE_CUBE_MAP,c,n);for(l=0;6>l;l++)if(f){t=j[l].mipmaps;w=0;for(z=t.length;w<z;w++)q=t[w],k.compressedTexImage2D(k.TEXTURE_CUBE_MAP_POSITIVE_X+l,w,m,q.width,
q.height,0,q.data)}else k.texImage2D(k.TEXTURE_CUBE_MAP_POSITIVE_X+l,0,m,m,r,j[l]);c.generateMipmaps&&n&&k.generateMipmap(k.TEXTURE_CUBE_MAP);c.needsUpdate=!1;if(c.onUpdate)c.onUpdate()}else k.activeTexture(k.TEXTURE0+f),k.bindTexture(k.TEXTURE_CUBE_MAP,c.image.__webglTextureCube)}else m instanceof THREE.WebGLRenderTargetCube?(c=m,k.activeTexture(k.TEXTURE0+j),k.bindTexture(k.TEXTURE_CUBE_MAP,c.__webglTexture)):L.setTexture(m,j)}else if("tv"===l){void 0===c._array&&(c._array=[]);l=0;for(n=c.value.length;l<
n;l++)c._array[l]=E();k.uniform1iv(f,c._array);l=0;for(n=c.value.length;l<n;l++)m=c.value[l],j=c._array[l],m&&L.setTexture(m,j)}if((d instanceof THREE.ShaderMaterial||d instanceof THREE.MeshPhongMaterial||d.envMap)&&null!==h.cameraPosition)b=a.matrixWorld.getPosition(),k.uniform3f(h.cameraPosition,b.x,b.y,b.z);(d instanceof THREE.MeshPhongMaterial||d instanceof THREE.MeshLambertMaterial||d instanceof THREE.ShaderMaterial||d.skinning)&&null!==h.viewMatrix&&k.uniformMatrix4fv(h.viewMatrix,!1,a._viewMatrixArray)}k.uniformMatrix4fv(h.modelViewMatrix,
!1,e._modelViewMatrix.elements);h.normalMatrix&&k.uniformMatrix3fv(h.normalMatrix,!1,e._normalMatrix.elements);null!==h.modelMatrix&&k.uniformMatrix4fv(h.modelMatrix,!1,e.matrixWorld.elements);return g}function E(){var a=Aa;a>=xc&&console.warn("Trying to use "+a+" texture units while this GPU supports only "+xc);Aa+=1;return a}function A(a,b){a._modelViewMatrix.multiply(b.matrixWorldInverse,a.matrixWorld);a._normalMatrix.getInverse(a._modelViewMatrix);a._normalMatrix.transpose()}function v(a,b,c,
d){a[b]=c.r*c.r*d;a[b+1]=c.g*c.g*d;a[b+2]=c.b*c.b*d}function u(a,b,c,d){a[b]=c.r*d;a[b+1]=c.g*d;a[b+2]=c.b*d}function D(a,b,c){jb!==a&&(a?k.enable(k.POLYGON_OFFSET_FILL):k.disable(k.POLYGON_OFFSET_FILL),jb=a);if(a&&(Bb!==b||Cb!==c))k.polygonOffset(b,c),Bb=b,Cb=c}function C(a){for(var a=a.split("\n"),b=0,c=a.length;b<c;b++)a[b]=b+1+": "+a[b];return a.join("\n")}function G(a,b){var c;"fragment"===a?c=k.createShader(k.FRAGMENT_SHADER):"vertex"===a&&(c=k.createShader(k.VERTEX_SHADER));k.shaderSource(c,
b);k.compileShader(c);return!k.getShaderParameter(c,k.COMPILE_STATUS)?(console.error(k.getShaderInfoLog(c)),console.error(C(b)),null):c}function P(a,b,c){c?(k.texParameteri(a,k.TEXTURE_WRAP_S,H(b.wrapS)),k.texParameteri(a,k.TEXTURE_WRAP_T,H(b.wrapT)),k.texParameteri(a,k.TEXTURE_MAG_FILTER,H(b.magFilter)),k.texParameteri(a,k.TEXTURE_MIN_FILTER,H(b.minFilter))):(k.texParameteri(a,k.TEXTURE_WRAP_S,k.CLAMP_TO_EDGE),k.texParameteri(a,k.TEXTURE_WRAP_T,k.CLAMP_TO_EDGE),k.texParameteri(a,k.TEXTURE_MAG_FILTER,
K(b.magFilter)),k.texParameteri(a,k.TEXTURE_MIN_FILTER,K(b.minFilter)));if(zb&&b.type!==THREE.FloatType&&(1<b.anisotropy||b.__oldAnisotropy))k.texParameterf(a,zb.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(b.anisotropy,oc)),b.__oldAnisotropy=b.anisotropy}function B(a,b){k.bindRenderbuffer(k.RENDERBUFFER,a);b.depthBuffer&&!b.stencilBuffer?(k.renderbufferStorage(k.RENDERBUFFER,k.DEPTH_COMPONENT16,b.width,b.height),k.framebufferRenderbuffer(k.FRAMEBUFFER,k.DEPTH_ATTACHMENT,k.RENDERBUFFER,a)):b.depthBuffer&&
b.stencilBuffer?(k.renderbufferStorage(k.RENDERBUFFER,k.DEPTH_STENCIL,b.width,b.height),k.framebufferRenderbuffer(k.FRAMEBUFFER,k.DEPTH_STENCIL_ATTACHMENT,k.RENDERBUFFER,a)):k.renderbufferStorage(k.RENDERBUFFER,k.RGBA4,b.width,b.height)}function K(a){return a===THREE.NearestFilter||a===THREE.NearestMipMapNearestFilter||a===THREE.NearestMipMapLinearFilter?k.NEAREST:k.LINEAR}function H(a){if(a===THREE.RepeatWrapping)return k.REPEAT;if(a===THREE.ClampToEdgeWrapping)return k.CLAMP_TO_EDGE;if(a===THREE.MirroredRepeatWrapping)return k.MIRRORED_REPEAT;
if(a===THREE.NearestFilter)return k.NEAREST;if(a===THREE.NearestMipMapNearestFilter)return k.NEAREST_MIPMAP_NEAREST;if(a===THREE.NearestMipMapLinearFilter)return k.NEAREST_MIPMAP_LINEAR;if(a===THREE.LinearFilter)return k.LINEAR;if(a===THREE.LinearMipMapNearestFilter)return k.LINEAR_MIPMAP_NEAREST;if(a===THREE.LinearMipMapLinearFilter)return k.LINEAR_MIPMAP_LINEAR;if(a===THREE.UnsignedByteType)return k.UNSIGNED_BYTE;if(a===THREE.UnsignedShort4444Type)return k.UNSIGNED_SHORT_4_4_4_4;if(a===THREE.UnsignedShort5551Type)return k.UNSIGNED_SHORT_5_5_5_1;
if(a===THREE.UnsignedShort565Type)return k.UNSIGNED_SHORT_5_6_5;if(a===THREE.ByteType)return k.BYTE;if(a===THREE.ShortType)return k.SHORT;if(a===THREE.UnsignedShortType)return k.UNSIGNED_SHORT;if(a===THREE.IntType)return k.INT;if(a===THREE.UnsignedIntType)return k.UNSIGNED_INT;if(a===THREE.FloatType)return k.FLOAT;if(a===THREE.AlphaFormat)return k.ALPHA;if(a===THREE.RGBFormat)return k.RGB;if(a===THREE.RGBAFormat)return k.RGBA;if(a===THREE.LuminanceFormat)return k.LUMINANCE;if(a===THREE.LuminanceAlphaFormat)return k.LUMINANCE_ALPHA;
if(a===THREE.AddEquation)return k.FUNC_ADD;if(a===THREE.SubtractEquation)return k.FUNC_SUBTRACT;if(a===THREE.ReverseSubtractEquation)return k.FUNC_REVERSE_SUBTRACT;if(a===THREE.ZeroFactor)return k.ZERO;if(a===THREE.OneFactor)return k.ONE;if(a===THREE.SrcColorFactor)return k.SRC_COLOR;if(a===THREE.OneMinusSrcColorFactor)return k.ONE_MINUS_SRC_COLOR;if(a===THREE.SrcAlphaFactor)return k.SRC_ALPHA;if(a===THREE.OneMinusSrcAlphaFactor)return k.ONE_MINUS_SRC_ALPHA;if(a===THREE.DstAlphaFactor)return k.DST_ALPHA;
if(a===THREE.OneMinusDstAlphaFactor)return k.ONE_MINUS_DST_ALPHA;if(a===THREE.DstColorFactor)return k.DST_COLOR;if(a===THREE.OneMinusDstColorFactor)return k.ONE_MINUS_DST_COLOR;if(a===THREE.SrcAlphaSaturateFactor)return k.SRC_ALPHA_SATURATE;if(void 0!==qb){if(a===THREE.RGB_S3TC_DXT1_Format)return qb.COMPRESSED_RGB_S3TC_DXT1_EXT;if(a===THREE.RGBA_S3TC_DXT1_Format)return qb.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(a===THREE.RGBA_S3TC_DXT3_Format)return qb.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(a===THREE.RGBA_S3TC_DXT5_Format)return qb.COMPRESSED_RGBA_S3TC_DXT5_EXT}return 0}
console.log("THREE.WebGLRenderer",THREE.REVISION);var a=a||{},I=void 0!==a.canvas?a.canvas:document.createElement("canvas"),N=void 0!==a.precision?a.precision:"highp",O=void 0!==a.alpha?a.alpha:!0,R=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,ga=void 0!==a.antialias?a.antialias:!1,M=void 0!==a.stencil?a.stencil:!0,J=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,Q=void 0!==a.clearColor?new THREE.Color(a.clearColor):new THREE.Color(0),Z=void 0!==a.clearAlpha?a.clearAlpha:0;this.domElement=
I;this.context=null;this.autoUpdateScene=this.autoUpdateObjects=this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=this.autoClear=!0;this.shadowMapEnabled=this.physicallyBasedShading=this.gammaOutput=this.gammaInput=!1;this.shadowMapCullFrontFaces=this.shadowMapSoft=this.shadowMapAutoUpdate=!0;this.shadowMapCascade=this.shadowMapDebug=!1;this.maxMorphTargets=8;this.maxMorphNormals=4;this.autoScaleCubemaps=!0;this.renderPluginsPre=[];this.renderPluginsPost=[];this.info=
{memory:{programs:0,geometries:0,textures:0},render:{calls:0,vertices:0,faces:0,points:0}};var L=this,oa=[],X=0,fa=null,ca=null,Y=-1,ba=null,aa=null,ia=0,Aa=0,Na=-1,Ja=-1,ma=-1,sa=-1,Ea=-1,rb=-1,ib=-1,ob=-1,jb=null,Bb=null,Cb=null,Wa=null,Sa=0,Ka=0,kb=0,Oa=0,lb=0,ab=0,va=new THREE.Frustum,eb=new THREE.Matrix4,pb=new THREE.Matrix4,bb=new THREE.Vector4,xa=new THREE.Vector3,mb=!0,sb={ambient:[0,0,0],directional:{length:0,colors:[],positions:[]},point:{length:0,colors:[],positions:[],distances:[]},spot:{length:0,
colors:[],positions:[],distances:[],directions:[],anglesCos:[],exponents:[]},hemi:{length:0,skyColors:[],groundColors:[],positions:[]}},k,zb,qb;try{if(!(k=I.getContext("experimental-webgl",{alpha:O,premultipliedAlpha:R,antialias:ga,stencil:M,preserveDrawingBuffer:J})))throw"Error creating WebGL context.";}catch(Pc){console.error(Pc)}a=k.getExtension("OES_texture_float");O=k.getExtension("OES_standard_derivatives");zb=k.getExtension("EXT_texture_filter_anisotropic")||k.getExtension("MOZ_EXT_texture_filter_anisotropic")||
k.getExtension("WEBKIT_EXT_texture_filter_anisotropic");qb=k.getExtension("WEBGL_compressed_texture_s3tc")||k.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||k.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");a||console.log("THREE.WebGLRenderer: Float textures not supported.");O||console.log("THREE.WebGLRenderer: Standard derivatives not supported.");zb||console.log("THREE.WebGLRenderer: Anisotropic texture filtering not supported.");qb||console.log("THREE.WebGLRenderer: S3TC compressed textures not supported.");
k.clearColor(0,0,0,1);k.clearDepth(1);k.clearStencil(0);k.enable(k.DEPTH_TEST);k.depthFunc(k.LEQUAL);k.frontFace(k.CCW);k.cullFace(k.BACK);k.enable(k.CULL_FACE);k.enable(k.BLEND);k.blendEquation(k.FUNC_ADD);k.blendFunc(k.SRC_ALPHA,k.ONE_MINUS_SRC_ALPHA);k.clearColor(Q.r,Q.g,Q.b,Z);this.context=k;var xc=k.getParameter(k.MAX_TEXTURE_IMAGE_UNITS),O=k.getParameter(k.MAX_VERTEX_TEXTURE_IMAGE_UNITS);k.getParameter(k.MAX_TEXTURE_SIZE);var Qc=k.getParameter(k.MAX_CUBE_MAP_TEXTURE_SIZE),oc=zb?k.getParameter(zb.MAX_TEXTURE_MAX_ANISOTROPY_EXT):
0,gc=0<O,hc=gc&&a;qb&&k.getParameter(k.COMPRESSED_TEXTURE_FORMATS);this.getContext=function(){return k};this.supportsVertexTextures=function(){return gc};this.getMaxAnisotropy=function(){return oc};this.setSize=function(a,b){I.width=a;I.height=b;this.setViewport(0,0,I.width,I.height)};this.setViewport=function(a,b,c,d){Sa=void 0!==a?a:0;Ka=void 0!==b?b:0;kb=void 0!==c?c:I.width;Oa=void 0!==d?d:I.height;k.viewport(Sa,Ka,kb,Oa)};this.setScissor=function(a,b,c,d){k.scissor(a,b,c,d)};this.enableScissorTest=
function(a){a?k.enable(k.SCISSOR_TEST):k.disable(k.SCISSOR_TEST)};this.setClearColorHex=function(a,b){Q.setHex(a);Z=b;k.clearColor(Q.r,Q.g,Q.b,Z)};this.setClearColor=function(a,b){Q.copy(a);Z=b;k.clearColor(Q.r,Q.g,Q.b,Z)};this.getClearColor=function(){return Q};this.getClearAlpha=function(){return Z};this.clear=function(a,b,c){var d=0;if(void 0===a||a)d|=k.COLOR_BUFFER_BIT;if(void 0===b||b)d|=k.DEPTH_BUFFER_BIT;if(void 0===c||c)d|=k.STENCIL_BUFFER_BIT;k.clear(d)};this.clearTarget=function(a,b,c,
d){this.setRenderTarget(a);this.clear(b,c,d)};this.addPostPlugin=function(a){a.init(this);this.renderPluginsPost.push(a)};this.addPrePlugin=function(a){a.init(this);this.renderPluginsPre.push(a)};this.deallocateObject=function(a){if(a.__webglInit)if(a.__webglInit=!1,delete a._modelViewMatrix,delete a._normalMatrix,delete a._normalMatrixArray,delete a._modelViewMatrixArray,delete a._modelMatrixArray,a instanceof THREE.Mesh)for(var c in a.geometry.geometryGroups){var d=a.geometry.geometryGroups[c];
k.deleteBuffer(d.__webglVertexBuffer);k.deleteBuffer(d.__webglNormalBuffer);k.deleteBuffer(d.__webglTangentBuffer);k.deleteBuffer(d.__webglColorBuffer);k.deleteBuffer(d.__webglUVBuffer);k.deleteBuffer(d.__webglUV2Buffer);k.deleteBuffer(d.__webglSkinIndicesBuffer);k.deleteBuffer(d.__webglSkinWeightsBuffer);k.deleteBuffer(d.__webglFaceBuffer);k.deleteBuffer(d.__webglLineBuffer);var e=void 0,f=void 0;if(d.numMorphTargets){e=0;for(f=d.numMorphTargets;e<f;e++)k.deleteBuffer(d.__webglMorphTargetsBuffers[e])}if(d.numMorphNormals){e=
0;for(f=d.numMorphNormals;e<f;e++)k.deleteBuffer(d.__webglMorphNormalsBuffers[e])}b(d);L.info.memory.geometries--}else a instanceof THREE.Ribbon?(a=a.geometry,k.deleteBuffer(a.__webglVertexBuffer),k.deleteBuffer(a.__webglColorBuffer),k.deleteBuffer(a.__webglNormalBuffer),b(a),L.info.memory.geometries--):a instanceof THREE.Line?(a=a.geometry,k.deleteBuffer(a.__webglVertexBuffer),k.deleteBuffer(a.__webglColorBuffer),k.deleteBuffer(a.__webglLineDistanceBuffer),b(a),L.info.memory.geometries--):a instanceof
THREE.ParticleSystem&&(a=a.geometry,k.deleteBuffer(a.__webglVertexBuffer),k.deleteBuffer(a.__webglColorBuffer),b(a),L.info.memory.geometries--)};this.deallocateTexture=function(a){a.__webglInit&&(a.__webglInit=!1,k.deleteTexture(a.__webglTexture),L.info.memory.textures--)};this.deallocateRenderTarget=function(a){if(a&&a.__webglTexture)if(k.deleteTexture(a.__webglTexture),a instanceof THREE.WebGLRenderTargetCube)for(var b=0;6>b;b++)k.deleteFramebuffer(a.__webglFramebuffer[b]),k.deleteRenderbuffer(a.__webglRenderbuffer[b]);
else k.deleteFramebuffer(a.__webglFramebuffer),k.deleteRenderbuffer(a.__webglRenderbuffer)};this.deallocateMaterial=function(a){var b=a.program;if(b){a.program=void 0;var c,d,e=!1,a=0;for(c=oa.length;a<c;a++)if(d=oa[a],d.program===b){d.usedTimes--;0===d.usedTimes&&(e=!0);break}if(e){e=[];a=0;for(c=oa.length;a<c;a++)d=oa[a],d.program!==b&&e.push(d);oa=e;k.deleteProgram(b);L.info.memory.programs--}}};this.updateShadowMap=function(a,b){fa=null;Y=ba=ob=ib=ma=-1;mb=!0;Ja=Na=-1;this.shadowMapPlugin.update(a,
b)};this.renderBufferImmediate=function(a,b,c){a.hasPositions&&!a.__webglVertexBuffer&&(a.__webglVertexBuffer=k.createBuffer());a.hasNormals&&!a.__webglNormalBuffer&&(a.__webglNormalBuffer=k.createBuffer());a.hasUvs&&!a.__webglUvBuffer&&(a.__webglUvBuffer=k.createBuffer());a.hasColors&&!a.__webglColorBuffer&&(a.__webglColorBuffer=k.createBuffer());a.hasPositions&&(k.bindBuffer(k.ARRAY_BUFFER,a.__webglVertexBuffer),k.bufferData(k.ARRAY_BUFFER,a.positionArray,k.DYNAMIC_DRAW),k.enableVertexAttribArray(b.attributes.position),
k.vertexAttribPointer(b.attributes.position,3,k.FLOAT,!1,0,0));if(a.hasNormals){k.bindBuffer(k.ARRAY_BUFFER,a.__webglNormalBuffer);if(c.shading===THREE.FlatShading){var d,e,f,g,h,i,j,l,n,m,o,p=3*a.count;for(o=0;o<p;o+=9)m=a.normalArray,d=m[o],e=m[o+1],f=m[o+2],g=m[o+3],i=m[o+4],l=m[o+5],h=m[o+6],j=m[o+7],n=m[o+8],d=(d+g+h)/3,e=(e+i+j)/3,f=(f+l+n)/3,m[o]=d,m[o+1]=e,m[o+2]=f,m[o+3]=d,m[o+4]=e,m[o+5]=f,m[o+6]=d,m[o+7]=e,m[o+8]=f}k.bufferData(k.ARRAY_BUFFER,a.normalArray,k.DYNAMIC_DRAW);k.enableVertexAttribArray(b.attributes.normal);
k.vertexAttribPointer(b.attributes.normal,3,k.FLOAT,!1,0,0)}a.hasUvs&&c.map&&(k.bindBuffer(k.ARRAY_BUFFER,a.__webglUvBuffer),k.bufferData(k.ARRAY_BUFFER,a.uvArray,k.DYNAMIC_DRAW),k.enableVertexAttribArray(b.attributes.uv),k.vertexAttribPointer(b.attributes.uv,2,k.FLOAT,!1,0,0));a.hasColors&&c.vertexColors!==THREE.NoColors&&(k.bindBuffer(k.ARRAY_BUFFER,a.__webglColorBuffer),k.bufferData(k.ARRAY_BUFFER,a.colorArray,k.DYNAMIC_DRAW),k.enableVertexAttribArray(b.attributes.color),k.vertexAttribPointer(b.attributes.color,
3,k.FLOAT,!1,0,0));k.drawArrays(k.TRIANGLES,0,a.count);a.count=0};this.renderBufferDirect=function(a,b,c,d,e,f){if(!1!==d.visible)if(c=q(a,b,c,d,f),a=c.attributes,b=!1,d=16777215*e.id+2*c.id+(d.wireframe?1:0),d!==ba&&(ba=d,b=!0),f instanceof THREE.Mesh){f=e.offsets;1<f.length&&(b=!0);d=0;for(c=f.length;d<c;++d){var g=f[d].index;if(b){var h=e.attributes.position,i=h.itemSize;k.bindBuffer(k.ARRAY_BUFFER,h.buffer);k.vertexAttribPointer(a.position,i,k.FLOAT,!1,0,4*g*i);h=e.attributes.normal;0<=a.normal&&
h&&(i=h.itemSize,k.bindBuffer(k.ARRAY_BUFFER,h.buffer),k.vertexAttribPointer(a.normal,i,k.FLOAT,!1,0,4*g*i));h=e.attributes.uv;0<=a.uv&&h&&(h.buffer?(i=h.itemSize,k.bindBuffer(k.ARRAY_BUFFER,h.buffer),k.vertexAttribPointer(a.uv,i,k.FLOAT,!1,0,4*g*i),k.enableVertexAttribArray(a.uv)):k.disableVertexAttribArray(a.uv));i=e.attributes.color;if(0<=a.color&&i){var j=i.itemSize;k.bindBuffer(k.ARRAY_BUFFER,i.buffer);k.vertexAttribPointer(a.color,j,k.FLOAT,!1,0,4*g*j)}h=e.attributes.tangent;0<=a.tangent&&h&&
(i=h.itemSize,k.bindBuffer(k.ARRAY_BUFFER,h.buffer),k.vertexAttribPointer(a.tangent,i,k.FLOAT,!1,0,4*g*i));k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,e.attributes.index.buffer)}k.drawElements(k.TRIANGLES,f[d].count,k.UNSIGNED_SHORT,2*f[d].start);L.info.render.calls++;L.info.render.vertices+=f[d].count;L.info.render.faces+=f[d].count/3}}else f instanceof THREE.ParticleSystem&&b&&(h=e.attributes.position,i=h.itemSize,k.bindBuffer(k.ARRAY_BUFFER,h.buffer),k.vertexAttribPointer(a.position,i,k.FLOAT,!1,0,0),
i=e.attributes.color,0<=a.color&&i&&(j=i.itemSize,k.bindBuffer(k.ARRAY_BUFFER,i.buffer),k.vertexAttribPointer(a.color,j,k.FLOAT,!1,0,0)),k.drawArrays(k.POINTS,0,h.numItems/3),L.info.render.calls++,L.info.render.points+=h.numItems/3)};this.renderBuffer=function(a,b,c,d,e,f){if(!1!==d.visible){var g,h,c=q(a,b,c,d,f),b=c.attributes,a=!1,c=16777215*e.id+2*c.id+(d.wireframe?1:0);c!==ba&&(ba=c,a=!0);if(!d.morphTargets&&0<=b.position)a&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglVertexBuffer),k.vertexAttribPointer(b.position,
3,k.FLOAT,!1,0,0));else if(f.morphTargetBase){c=d.program.attributes;-1!==f.morphTargetBase?(k.bindBuffer(k.ARRAY_BUFFER,e.__webglMorphTargetsBuffers[f.morphTargetBase]),k.vertexAttribPointer(c.position,3,k.FLOAT,!1,0,0)):0<=c.position&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglVertexBuffer),k.vertexAttribPointer(c.position,3,k.FLOAT,!1,0,0));if(f.morphTargetForcedOrder.length){var i=0;h=f.morphTargetForcedOrder;for(g=f.morphTargetInfluences;i<d.numSupportedMorphTargets&&i<h.length;)k.bindBuffer(k.ARRAY_BUFFER,
e.__webglMorphTargetsBuffers[h[i]]),k.vertexAttribPointer(c["morphTarget"+i],3,k.FLOAT,!1,0,0),d.morphNormals&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglMorphNormalsBuffers[h[i]]),k.vertexAttribPointer(c["morphNormal"+i],3,k.FLOAT,!1,0,0)),f.__webglMorphTargetInfluences[i]=g[h[i]],i++}else{h=[];g=f.morphTargetInfluences;var j,l=g.length;for(j=0;j<l;j++)i=g[j],0<i&&h.push([j,i]);h.length>d.numSupportedMorphTargets?(h.sort(m),h.length=d.numSupportedMorphTargets):h.length>d.numSupportedMorphNormals?h.sort(m):
0===h.length&&h.push([0,0]);for(i=0;i<d.numSupportedMorphTargets;)h[i]?(j=h[i][0],k.bindBuffer(k.ARRAY_BUFFER,e.__webglMorphTargetsBuffers[j]),k.vertexAttribPointer(c["morphTarget"+i],3,k.FLOAT,!1,0,0),d.morphNormals&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglMorphNormalsBuffers[j]),k.vertexAttribPointer(c["morphNormal"+i],3,k.FLOAT,!1,0,0)),f.__webglMorphTargetInfluences[i]=g[j]):(k.vertexAttribPointer(c["morphTarget"+i],3,k.FLOAT,!1,0,0),d.morphNormals&&k.vertexAttribPointer(c["morphNormal"+i],3,k.FLOAT,
!1,0,0),f.__webglMorphTargetInfluences[i]=0),i++}null!==d.program.uniforms.morphTargetInfluences&&k.uniform1fv(d.program.uniforms.morphTargetInfluences,f.__webglMorphTargetInfluences)}if(a){if(e.__webglCustomAttributesList){g=0;for(h=e.__webglCustomAttributesList.length;g<h;g++)c=e.__webglCustomAttributesList[g],0<=b[c.buffer.belongsToAttribute]&&(k.bindBuffer(k.ARRAY_BUFFER,c.buffer),k.vertexAttribPointer(b[c.buffer.belongsToAttribute],c.size,k.FLOAT,!1,0,0))}0<=b.color&&(k.bindBuffer(k.ARRAY_BUFFER,
e.__webglColorBuffer),k.vertexAttribPointer(b.color,3,k.FLOAT,!1,0,0));0<=b.normal&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglNormalBuffer),k.vertexAttribPointer(b.normal,3,k.FLOAT,!1,0,0));0<=b.tangent&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglTangentBuffer),k.vertexAttribPointer(b.tangent,4,k.FLOAT,!1,0,0));0<=b.uv&&(e.__webglUVBuffer?(k.bindBuffer(k.ARRAY_BUFFER,e.__webglUVBuffer),k.vertexAttribPointer(b.uv,2,k.FLOAT,!1,0,0),k.enableVertexAttribArray(b.uv)):k.disableVertexAttribArray(b.uv));0<=b.uv2&&
(e.__webglUV2Buffer?(k.bindBuffer(k.ARRAY_BUFFER,e.__webglUV2Buffer),k.vertexAttribPointer(b.uv2,2,k.FLOAT,!1,0,0),k.enableVertexAttribArray(b.uv2)):k.disableVertexAttribArray(b.uv2));d.skinning&&(0<=b.skinIndex&&0<=b.skinWeight)&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglSkinIndicesBuffer),k.vertexAttribPointer(b.skinIndex,4,k.FLOAT,!1,0,0),k.bindBuffer(k.ARRAY_BUFFER,e.__webglSkinWeightsBuffer),k.vertexAttribPointer(b.skinWeight,4,k.FLOAT,!1,0,0));0<=b.lineDistance&&(k.bindBuffer(k.ARRAY_BUFFER,e.__webglLineDistanceBuffer),
k.vertexAttribPointer(b.lineDistance,1,k.FLOAT,!1,0,0))}f instanceof THREE.Mesh?(d.wireframe?(d=d.wireframeLinewidth,d!==Wa&&(k.lineWidth(d),Wa=d),a&&k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,e.__webglLineBuffer),k.drawElements(k.LINES,e.__webglLineCount,k.UNSIGNED_SHORT,0)):(a&&k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,e.__webglFaceBuffer),k.drawElements(k.TRIANGLES,e.__webglFaceCount,k.UNSIGNED_SHORT,0)),L.info.render.calls++,L.info.render.vertices+=e.__webglFaceCount,L.info.render.faces+=e.__webglFaceCount/
3):f instanceof THREE.Line?(f=f.type===THREE.LineStrip?k.LINE_STRIP:k.LINES,d=d.linewidth,d!==Wa&&(k.lineWidth(d),Wa=d),k.drawArrays(f,0,e.__webglLineCount),L.info.render.calls++):f instanceof THREE.ParticleSystem?(k.drawArrays(k.POINTS,0,e.__webglParticleCount),L.info.render.calls++,L.info.render.points+=e.__webglParticleCount):f instanceof THREE.Ribbon&&(k.drawArrays(k.TRIANGLE_STRIP,0,e.__webglVertexCount),L.info.render.calls++)}};this.render=function(a,b,c,d){if(!1===b instanceof THREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");
else{var e,f,g,h,i=a.__lights,j=a.fog;Y=-1;mb=!0;this.autoUpdateScene&&a.updateMatrixWorld();void 0===b.parent&&b.updateMatrixWorld();b._viewMatrixArray||(b._viewMatrixArray=new Float32Array(16));b._projectionMatrixArray||(b._projectionMatrixArray=new Float32Array(16));b.matrixWorldInverse.getInverse(b.matrixWorld);b.matrixWorldInverse.flattenToArray(b._viewMatrixArray);b.projectionMatrix.flattenToArray(b._projectionMatrixArray);eb.multiply(b.projectionMatrix,b.matrixWorldInverse);va.setFromMatrix(eb);
this.autoUpdateObjects&&this.initWebGLObjects(a);n(this.renderPluginsPre,a,b);L.info.render.calls=0;L.info.render.vertices=0;L.info.render.faces=0;L.info.render.points=0;this.setRenderTarget(c);(this.autoClear||d)&&this.clear(this.autoClearColor,this.autoClearDepth,this.autoClearStencil);h=a.__webglObjects;d=0;for(e=h.length;d<e;d++)if(f=h[d],g=f.object,f.render=!1,g.visible&&(!(g instanceof THREE.Mesh||g instanceof THREE.ParticleSystem)||!g.frustumCulled||va.contains(g))){A(g,b);var m=f,s=m.buffer,
r=void 0,q=r=void 0,q=m.object.material;if(q instanceof THREE.MeshFaceMaterial)r=s.materialIndex,0<=r&&(r=q.materials[r],r.transparent?(m.transparent=r,m.opaque=null):(m.opaque=r,m.transparent=null));else if(r=q)r.transparent?(m.transparent=r,m.opaque=null):(m.opaque=r,m.transparent=null);f.render=!0;!0===this.sortObjects&&(null!==g.renderDepth?f.z=g.renderDepth:(bb.copy(g.matrixWorld.getPosition()),eb.multiplyVector3(bb),f.z=bb.z),f.id=g.id)}this.sortObjects&&h.sort(l);h=a.__webglObjectsImmediate;
d=0;for(e=h.length;d<e;d++)f=h[d],g=f.object,g.visible&&(A(g,b),g=f.object.material,g.transparent?(f.transparent=g,f.opaque=null):(f.opaque=g,f.transparent=null));a.overrideMaterial?(d=a.overrideMaterial,this.setBlending(d.blending,d.blendEquation,d.blendSrc,d.blendDst),this.setDepthTest(d.depthTest),this.setDepthWrite(d.depthWrite),D(d.polygonOffset,d.polygonOffsetFactor,d.polygonOffsetUnits),p(a.__webglObjects,!1,"",b,i,j,!0,d),o(a.__webglObjectsImmediate,"",b,i,j,!1,d)):(this.setBlending(THREE.NormalBlending),
p(a.__webglObjects,!0,"opaque",b,i,j,!1),o(a.__webglObjectsImmediate,"opaque",b,i,j,!1),p(a.__webglObjects,!1,"transparent",b,i,j,!0),o(a.__webglObjectsImmediate,"transparent",b,i,j,!0));n(this.renderPluginsPost,a,b);c&&(c.generateMipmaps&&c.minFilter!==THREE.NearestFilter&&c.minFilter!==THREE.LinearFilter)&&(c instanceof THREE.WebGLRenderTargetCube?(k.bindTexture(k.TEXTURE_CUBE_MAP,c.__webglTexture),k.generateMipmap(k.TEXTURE_CUBE_MAP),k.bindTexture(k.TEXTURE_CUBE_MAP,null)):(k.bindTexture(k.TEXTURE_2D,
c.__webglTexture),k.generateMipmap(k.TEXTURE_2D),k.bindTexture(k.TEXTURE_2D,null)));this.setDepthTest(!0);this.setDepthWrite(!0)}};this.renderImmediateObject=function(a,b,c,d,e){var f=q(a,b,c,d,e);ba=-1;L.setMaterialFaces(d);e.immediateRenderCallback?e.immediateRenderCallback(f,k,va):e.render(function(a){L.renderBufferImmediate(a,f,d)})};this.initWebGLObjects=function(a){a.__webglObjects||(a.__webglObjects=[],a.__webglObjectsImmediate=[],a.__webglSprites=[],a.__webglFlares=[]);for(;a.__objectsAdded.length;){var b=
a.__objectsAdded[0],l=a,n=void 0,m=void 0,o=void 0,p=void 0;if(!b.__webglInit)if(b.__webglInit=!0,b._modelViewMatrix=new THREE.Matrix4,b._normalMatrix=new THREE.Matrix3,b instanceof THREE.Mesh)if(m=b.geometry,o=b.material,m instanceof THREE.Geometry){if(void 0===m.geometryGroups){var q=m,u=void 0,v=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,G={},H=q.morphTargets.length,I=q.morphNormals.length,X=o instanceof THREE.MeshFaceMaterial;q.geometryGroups={};u=0;for(v=q.faces.length;u<v;u++)A=q.faces[u],
B=X?A.materialIndex:void 0,D=void 0!==B?B:-1,void 0===G[D]&&(G[D]={hash:D,counter:0}),E=G[D].hash+"_"+G[D].counter,void 0===q.geometryGroups[E]&&(q.geometryGroups[E]={faces3:[],faces4:[],materialIndex:B,vertices:0,numMorphTargets:H,numMorphNormals:I}),C=A instanceof THREE.Face3?3:4,65535<q.geometryGroups[E].vertices+C&&(G[D].counter+=1,E=G[D].hash+"_"+G[D].counter,void 0===q.geometryGroups[E]&&(q.geometryGroups[E]={faces3:[],faces4:[],materialIndex:B,vertices:0,numMorphTargets:H,numMorphNormals:I})),
A instanceof THREE.Face3?q.geometryGroups[E].faces3.push(u):q.geometryGroups[E].faces4.push(u),q.geometryGroups[E].vertices+=C;q.geometryGroupsList=[];var Y=void 0;for(Y in q.geometryGroups)q.geometryGroups[Y].id=ia++,q.geometryGroupsList.push(q.geometryGroups[Y])}for(n in m.geometryGroups)if(p=m.geometryGroups[n],!p.__webglVertexBuffer){var J=p;J.__webglVertexBuffer=k.createBuffer();J.__webglNormalBuffer=k.createBuffer();J.__webglTangentBuffer=k.createBuffer();J.__webglColorBuffer=k.createBuffer();
J.__webglUVBuffer=k.createBuffer();J.__webglUV2Buffer=k.createBuffer();J.__webglSkinIndicesBuffer=k.createBuffer();J.__webglSkinWeightsBuffer=k.createBuffer();J.__webglFaceBuffer=k.createBuffer();J.__webglLineBuffer=k.createBuffer();var K=void 0,Q=void 0;if(J.numMorphTargets){J.__webglMorphTargetsBuffers=[];K=0;for(Q=J.numMorphTargets;K<Q;K++)J.__webglMorphTargetsBuffers.push(k.createBuffer())}if(J.numMorphNormals){J.__webglMorphNormalsBuffers=[];K=0;for(Q=J.numMorphNormals;K<Q;K++)J.__webglMorphNormalsBuffers.push(k.createBuffer())}L.info.memory.geometries++;
d(p,b);m.verticesNeedUpdate=!0;m.morphTargetsNeedUpdate=!0;m.elementsNeedUpdate=!0;m.uvsNeedUpdate=!0;m.normalsNeedUpdate=!0;m.tangentsNeedUpdate=!0;m.colorsNeedUpdate=!0}}else m instanceof THREE.BufferGeometry&&h(m);else if(b instanceof THREE.Ribbon){if(m=b.geometry,!m.__webglVertexBuffer){var O=m;O.__webglVertexBuffer=k.createBuffer();O.__webglColorBuffer=k.createBuffer();O.__webglNormalBuffer=k.createBuffer();L.info.memory.geometries++;var M=m,P=b,N=M.vertices.length;M.__vertexArray=new Float32Array(3*
N);M.__colorArray=new Float32Array(3*N);M.__normalArray=new Float32Array(3*N);M.__webglVertexCount=N;c(M,P);m.verticesNeedUpdate=!0;m.colorsNeedUpdate=!0;m.normalsNeedUpdate=!0}}else if(b instanceof THREE.Line){if(m=b.geometry,!m.__webglVertexBuffer){var ca=m;ca.__webglVertexBuffer=k.createBuffer();ca.__webglColorBuffer=k.createBuffer();ca.__webglLineDistanceBuffer=k.createBuffer();L.info.memory.geometries++;var fa=m,R=b,Z=fa.vertices.length;fa.__vertexArray=new Float32Array(3*Z);fa.__colorArray=
new Float32Array(3*Z);fa.__lineDistanceArray=new Float32Array(1*Z);fa.__webglLineCount=Z;c(fa,R);m.verticesNeedUpdate=!0;m.colorsNeedUpdate=!0;m.lineDistancesNeedUpdate=!0}}else if(b instanceof THREE.ParticleSystem&&(m=b.geometry,!m.__webglVertexBuffer))if(m instanceof THREE.Geometry){var aa=m;aa.__webglVertexBuffer=k.createBuffer();aa.__webglColorBuffer=k.createBuffer();L.info.memory.geometries++;var ba=m,ga=b,Aa=ba.vertices.length;ba.__vertexArray=new Float32Array(3*Aa);ba.__colorArray=new Float32Array(3*
Aa);ba.__sortArray=[];ba.__webglParticleCount=Aa;c(ba,ga);m.verticesNeedUpdate=!0;m.colorsNeedUpdate=!0}else m instanceof THREE.BufferGeometry&&h(m);if(!b.__webglActive){if(b instanceof THREE.Mesh)if(m=b.geometry,m instanceof THREE.BufferGeometry)s(l.__webglObjects,m,b);else for(n in m.geometryGroups)p=m.geometryGroups[n],s(l.__webglObjects,p,b);else b instanceof THREE.Ribbon||b instanceof THREE.Line||b instanceof THREE.ParticleSystem?(m=b.geometry,s(l.__webglObjects,m,b)):b instanceof THREE.ImmediateRenderObject||
b.immediateRenderCallback?l.__webglObjectsImmediate.push({object:b,opaque:null,transparent:null}):b instanceof THREE.Sprite?l.__webglSprites.push(b):b instanceof THREE.LensFlare&&l.__webglFlares.push(b);b.__webglActive=!0}a.__objectsAdded.splice(0,1)}for(;a.__objectsRemoved.length;){var oa=a.__objectsRemoved[0],sa=a;oa instanceof THREE.Mesh||oa instanceof THREE.ParticleSystem||oa instanceof THREE.Ribbon||oa instanceof THREE.Line?z(sa.__webglObjects,oa):oa instanceof THREE.Sprite?w(sa.__webglSprites,
oa):oa instanceof THREE.LensFlare?w(sa.__webglFlares,oa):(oa instanceof THREE.ImmediateRenderObject||oa.immediateRenderCallback)&&z(sa.__webglObjectsImmediate,oa);oa.__webglActive=!1;a.__objectsRemoved.splice(0,1)}for(var Na=0,xa=a.__webglObjects.length;Na<xa;Na++){var qa=a.__webglObjects[Na].object,T=qa.geometry,Ja=void 0,va=void 0,ma=void 0;if(qa instanceof THREE.Mesh)if(T instanceof THREE.BufferGeometry)(T.verticesNeedUpdate||T.elementsNeedUpdate||T.uvsNeedUpdate||T.normalsNeedUpdate||T.colorsNeedUpdate||
T.tangentsNeedUpdate)&&j(T,k.DYNAMIC_DRAW,!T.dynamic),T.verticesNeedUpdate=!1,T.elementsNeedUpdate=!1,T.uvsNeedUpdate=!1,T.normalsNeedUpdate=!1,T.colorsNeedUpdate=!1,T.tangentsNeedUpdate=!1;else{for(var Ka=0,Oa=T.geometryGroupsList.length;Ka<Oa;Ka++)if(Ja=T.geometryGroupsList[Ka],ma=e(qa,Ja),T.buffersNeedUpdate&&d(Ja,qa),va=ma.attributes&&t(ma),T.verticesNeedUpdate||T.morphTargetsNeedUpdate||T.elementsNeedUpdate||T.uvsNeedUpdate||T.normalsNeedUpdate||T.colorsNeedUpdate||T.tangentsNeedUpdate||va){var ra=
Ja,Sa=qa,Ea=k.DYNAMIC_DRAW,ib=!T.dynamic,Wa=ma;if(ra.__inittedArrays){var mb=f(Wa),rb=Wa.vertexColors?Wa.vertexColors:!1,ob=g(Wa),lb=mb===THREE.SmoothShading,F=void 0,$=void 0,ab=void 0,S=void 0,eb=void 0,bb=void 0,Eb=void 0,pb=void 0,Vb=void 0,jb=void 0,kb=void 0,U=void 0,V=void 0,W=void 0,pa=void 0,Fb=void 0,Gb=void 0,Hb=void 0,qb=void 0,Ib=void 0,Jb=void 0,Kb=void 0,sb=void 0,Lb=void 0,Mb=void 0,Nb=void 0,zb=void 0,Ob=void 0,Pb=void 0,Qb=void 0,Bb=void 0,Rb=void 0,Sb=void 0,Tb=void 0,Cb=void 0,
wa=void 0,gc=void 0,ac=void 0,kc=void 0,lc=void 0,Ta=void 0,hc=void 0,Qa=void 0,Ra=void 0,bc=void 0,Wb=void 0,La=0,Pa=0,Xb=0,Yb=0,vb=0,Za=0,Ba=0,db=0,Ma=0,ha=0,ja=0,y=0,ya=void 0,Ua=ra.__vertexArray,pc=ra.__uvArray,qc=ra.__uv2Array,wb=ra.__normalArray,Fa=ra.__tangentArray,Va=ra.__colorArray,Ga=ra.__skinIndexArray,Ha=ra.__skinWeightArray,Sc=ra.__morphTargetsArrays,Tc=ra.__morphNormalsArrays,Uc=ra.__webglCustomAttributesList,x=void 0,Ub=ra.__faceArray,nb=ra.__lineArray,fb=Sa.geometry,xc=fb.elementsNeedUpdate,
oc=fb.uvsNeedUpdate,Pc=fb.normalsNeedUpdate,Qc=fb.tangentsNeedUpdate,hd=fb.colorsNeedUpdate,id=fb.morphTargetsNeedUpdate,ec=fb.vertices,ta=ra.faces3,ua=ra.faces4,$a=fb.faces,Vc=fb.faceVertexUvs[0],Wc=fb.faceVertexUvs[1],fc=fb.skinIndices,cc=fb.skinWeights,dc=fb.morphTargets,Ac=fb.morphNormals;if(fb.verticesNeedUpdate){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],U=ec[S.a],V=ec[S.b],W=ec[S.c],Ua[Pa]=U.x,Ua[Pa+1]=U.y,Ua[Pa+2]=U.z,Ua[Pa+3]=V.x,Ua[Pa+4]=V.y,Ua[Pa+5]=V.z,Ua[Pa+6]=W.x,Ua[Pa+7]=W.y,Ua[Pa+8]=
W.z,Pa+=9;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],U=ec[S.a],V=ec[S.b],W=ec[S.c],pa=ec[S.d],Ua[Pa]=U.x,Ua[Pa+1]=U.y,Ua[Pa+2]=U.z,Ua[Pa+3]=V.x,Ua[Pa+4]=V.y,Ua[Pa+5]=V.z,Ua[Pa+6]=W.x,Ua[Pa+7]=W.y,Ua[Pa+8]=W.z,Ua[Pa+9]=pa.x,Ua[Pa+10]=pa.y,Ua[Pa+11]=pa.z,Pa+=12;k.bindBuffer(k.ARRAY_BUFFER,ra.__webglVertexBuffer);k.bufferData(k.ARRAY_BUFFER,Ua,Ea)}if(id){Ta=0;for(hc=dc.length;Ta<hc;Ta++){F=ja=0;for($=ta.length;F<$;F++)bc=ta[F],S=$a[bc],U=dc[Ta].vertices[S.a],V=dc[Ta].vertices[S.b],W=dc[Ta].vertices[S.c],
Qa=Sc[Ta],Qa[ja]=U.x,Qa[ja+1]=U.y,Qa[ja+2]=U.z,Qa[ja+3]=V.x,Qa[ja+4]=V.y,Qa[ja+5]=V.z,Qa[ja+6]=W.x,Qa[ja+7]=W.y,Qa[ja+8]=W.z,Wa.morphNormals&&(lb?(Wb=Ac[Ta].vertexNormals[bc],Ib=Wb.a,Jb=Wb.b,Kb=Wb.c):Kb=Jb=Ib=Ac[Ta].faceNormals[bc],Ra=Tc[Ta],Ra[ja]=Ib.x,Ra[ja+1]=Ib.y,Ra[ja+2]=Ib.z,Ra[ja+3]=Jb.x,Ra[ja+4]=Jb.y,Ra[ja+5]=Jb.z,Ra[ja+6]=Kb.x,Ra[ja+7]=Kb.y,Ra[ja+8]=Kb.z),ja+=9;F=0;for($=ua.length;F<$;F++)bc=ua[F],S=$a[bc],U=dc[Ta].vertices[S.a],V=dc[Ta].vertices[S.b],W=dc[Ta].vertices[S.c],pa=dc[Ta].vertices[S.d],
Qa=Sc[Ta],Qa[ja]=U.x,Qa[ja+1]=U.y,Qa[ja+2]=U.z,Qa[ja+3]=V.x,Qa[ja+4]=V.y,Qa[ja+5]=V.z,Qa[ja+6]=W.x,Qa[ja+7]=W.y,Qa[ja+8]=W.z,Qa[ja+9]=pa.x,Qa[ja+10]=pa.y,Qa[ja+11]=pa.z,Wa.morphNormals&&(lb?(Wb=Ac[Ta].vertexNormals[bc],Ib=Wb.a,Jb=Wb.b,Kb=Wb.c,sb=Wb.d):sb=Kb=Jb=Ib=Ac[Ta].faceNormals[bc],Ra=Tc[Ta],Ra[ja]=Ib.x,Ra[ja+1]=Ib.y,Ra[ja+2]=Ib.z,Ra[ja+3]=Jb.x,Ra[ja+4]=Jb.y,Ra[ja+5]=Jb.z,Ra[ja+6]=Kb.x,Ra[ja+7]=Kb.y,Ra[ja+8]=Kb.z,Ra[ja+9]=sb.x,Ra[ja+10]=sb.y,Ra[ja+11]=sb.z),ja+=12;k.bindBuffer(k.ARRAY_BUFFER,
ra.__webglMorphTargetsBuffers[Ta]);k.bufferData(k.ARRAY_BUFFER,Sc[Ta],Ea);Wa.morphNormals&&(k.bindBuffer(k.ARRAY_BUFFER,ra.__webglMorphNormalsBuffers[Ta]),k.bufferData(k.ARRAY_BUFFER,Tc[Ta],Ea))}}if(cc.length){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],Ob=cc[S.a],Pb=cc[S.b],Qb=cc[S.c],Ha[ha]=Ob.x,Ha[ha+1]=Ob.y,Ha[ha+2]=Ob.z,Ha[ha+3]=Ob.w,Ha[ha+4]=Pb.x,Ha[ha+5]=Pb.y,Ha[ha+6]=Pb.z,Ha[ha+7]=Pb.w,Ha[ha+8]=Qb.x,Ha[ha+9]=Qb.y,Ha[ha+10]=Qb.z,Ha[ha+11]=Qb.w,Rb=fc[S.a],Sb=fc[S.b],Tb=fc[S.c],Ga[ha]=Rb.x,Ga[ha+
1]=Rb.y,Ga[ha+2]=Rb.z,Ga[ha+3]=Rb.w,Ga[ha+4]=Sb.x,Ga[ha+5]=Sb.y,Ga[ha+6]=Sb.z,Ga[ha+7]=Sb.w,Ga[ha+8]=Tb.x,Ga[ha+9]=Tb.y,Ga[ha+10]=Tb.z,Ga[ha+11]=Tb.w,ha+=12;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],Ob=cc[S.a],Pb=cc[S.b],Qb=cc[S.c],Bb=cc[S.d],Ha[ha]=Ob.x,Ha[ha+1]=Ob.y,Ha[ha+2]=Ob.z,Ha[ha+3]=Ob.w,Ha[ha+4]=Pb.x,Ha[ha+5]=Pb.y,Ha[ha+6]=Pb.z,Ha[ha+7]=Pb.w,Ha[ha+8]=Qb.x,Ha[ha+9]=Qb.y,Ha[ha+10]=Qb.z,Ha[ha+11]=Qb.w,Ha[ha+12]=Bb.x,Ha[ha+13]=Bb.y,Ha[ha+14]=Bb.z,Ha[ha+15]=Bb.w,Rb=fc[S.a],Sb=fc[S.b],Tb=fc[S.c],
Cb=fc[S.d],Ga[ha]=Rb.x,Ga[ha+1]=Rb.y,Ga[ha+2]=Rb.z,Ga[ha+3]=Rb.w,Ga[ha+4]=Sb.x,Ga[ha+5]=Sb.y,Ga[ha+6]=Sb.z,Ga[ha+7]=Sb.w,Ga[ha+8]=Tb.x,Ga[ha+9]=Tb.y,Ga[ha+10]=Tb.z,Ga[ha+11]=Tb.w,Ga[ha+12]=Cb.x,Ga[ha+13]=Cb.y,Ga[ha+14]=Cb.z,Ga[ha+15]=Cb.w,ha+=16;0<ha&&(k.bindBuffer(k.ARRAY_BUFFER,ra.__webglSkinIndicesBuffer),k.bufferData(k.ARRAY_BUFFER,Ga,Ea),k.bindBuffer(k.ARRAY_BUFFER,ra.__webglSkinWeightsBuffer),k.bufferData(k.ARRAY_BUFFER,Ha,Ea))}if(hd&&rb){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],Eb=S.vertexColors,
pb=S.color,3===Eb.length&&rb===THREE.VertexColors?(Lb=Eb[0],Mb=Eb[1],Nb=Eb[2]):Nb=Mb=Lb=pb,Va[Ma]=Lb.r,Va[Ma+1]=Lb.g,Va[Ma+2]=Lb.b,Va[Ma+3]=Mb.r,Va[Ma+4]=Mb.g,Va[Ma+5]=Mb.b,Va[Ma+6]=Nb.r,Va[Ma+7]=Nb.g,Va[Ma+8]=Nb.b,Ma+=9;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],Eb=S.vertexColors,pb=S.color,4===Eb.length&&rb===THREE.VertexColors?(Lb=Eb[0],Mb=Eb[1],Nb=Eb[2],zb=Eb[3]):zb=Nb=Mb=Lb=pb,Va[Ma]=Lb.r,Va[Ma+1]=Lb.g,Va[Ma+2]=Lb.b,Va[Ma+3]=Mb.r,Va[Ma+4]=Mb.g,Va[Ma+5]=Mb.b,Va[Ma+6]=Nb.r,Va[Ma+7]=Nb.g,Va[Ma+8]=
Nb.b,Va[Ma+9]=zb.r,Va[Ma+10]=zb.g,Va[Ma+11]=zb.b,Ma+=12;0<Ma&&(k.bindBuffer(k.ARRAY_BUFFER,ra.__webglColorBuffer),k.bufferData(k.ARRAY_BUFFER,Va,Ea))}if(Qc&&fb.hasTangents){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],Vb=S.vertexTangents,Fb=Vb[0],Gb=Vb[1],Hb=Vb[2],Fa[Ba]=Fb.x,Fa[Ba+1]=Fb.y,Fa[Ba+2]=Fb.z,Fa[Ba+3]=Fb.w,Fa[Ba+4]=Gb.x,Fa[Ba+5]=Gb.y,Fa[Ba+6]=Gb.z,Fa[Ba+7]=Gb.w,Fa[Ba+8]=Hb.x,Fa[Ba+9]=Hb.y,Fa[Ba+10]=Hb.z,Fa[Ba+11]=Hb.w,Ba+=12;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],Vb=S.vertexTangents,Fb=Vb[0],
Gb=Vb[1],Hb=Vb[2],qb=Vb[3],Fa[Ba]=Fb.x,Fa[Ba+1]=Fb.y,Fa[Ba+2]=Fb.z,Fa[Ba+3]=Fb.w,Fa[Ba+4]=Gb.x,Fa[Ba+5]=Gb.y,Fa[Ba+6]=Gb.z,Fa[Ba+7]=Gb.w,Fa[Ba+8]=Hb.x,Fa[Ba+9]=Hb.y,Fa[Ba+10]=Hb.z,Fa[Ba+11]=Hb.w,Fa[Ba+12]=qb.x,Fa[Ba+13]=qb.y,Fa[Ba+14]=qb.z,Fa[Ba+15]=qb.w,Ba+=16;k.bindBuffer(k.ARRAY_BUFFER,ra.__webglTangentBuffer);k.bufferData(k.ARRAY_BUFFER,Fa,Ea)}if(Pc&&mb){F=0;for($=ta.length;F<$;F++)if(S=$a[ta[F]],eb=S.vertexNormals,bb=S.normal,3===eb.length&&lb)for(wa=0;3>wa;wa++)ac=eb[wa],wb[Za]=ac.x,wb[Za+1]=
ac.y,wb[Za+2]=ac.z,Za+=3;else for(wa=0;3>wa;wa++)wb[Za]=bb.x,wb[Za+1]=bb.y,wb[Za+2]=bb.z,Za+=3;F=0;for($=ua.length;F<$;F++)if(S=$a[ua[F]],eb=S.vertexNormals,bb=S.normal,4===eb.length&&lb)for(wa=0;4>wa;wa++)ac=eb[wa],wb[Za]=ac.x,wb[Za+1]=ac.y,wb[Za+2]=ac.z,Za+=3;else for(wa=0;4>wa;wa++)wb[Za]=bb.x,wb[Za+1]=bb.y,wb[Za+2]=bb.z,Za+=3;k.bindBuffer(k.ARRAY_BUFFER,ra.__webglNormalBuffer);k.bufferData(k.ARRAY_BUFFER,wb,Ea)}if(oc&&Vc&&ob){F=0;for($=ta.length;F<$;F++)if(ab=ta[F],jb=Vc[ab],void 0!==jb)for(wa=
0;3>wa;wa++)kc=jb[wa],pc[Xb]=kc.u,pc[Xb+1]=kc.v,Xb+=2;F=0;for($=ua.length;F<$;F++)if(ab=ua[F],jb=Vc[ab],void 0!==jb)for(wa=0;4>wa;wa++)kc=jb[wa],pc[Xb]=kc.u,pc[Xb+1]=kc.v,Xb+=2;0<Xb&&(k.bindBuffer(k.ARRAY_BUFFER,ra.__webglUVBuffer),k.bufferData(k.ARRAY_BUFFER,pc,Ea))}if(oc&&Wc&&ob){F=0;for($=ta.length;F<$;F++)if(ab=ta[F],kb=Wc[ab],void 0!==kb)for(wa=0;3>wa;wa++)lc=kb[wa],qc[Yb]=lc.u,qc[Yb+1]=lc.v,Yb+=2;F=0;for($=ua.length;F<$;F++)if(ab=ua[F],kb=Wc[ab],void 0!==kb)for(wa=0;4>wa;wa++)lc=kb[wa],qc[Yb]=
lc.u,qc[Yb+1]=lc.v,Yb+=2;0<Yb&&(k.bindBuffer(k.ARRAY_BUFFER,ra.__webglUV2Buffer),k.bufferData(k.ARRAY_BUFFER,qc,Ea))}if(xc){F=0;for($=ta.length;F<$;F++)Ub[vb]=La,Ub[vb+1]=La+1,Ub[vb+2]=La+2,vb+=3,nb[db]=La,nb[db+1]=La+1,nb[db+2]=La,nb[db+3]=La+2,nb[db+4]=La+1,nb[db+5]=La+2,db+=6,La+=3;F=0;for($=ua.length;F<$;F++)Ub[vb]=La,Ub[vb+1]=La+1,Ub[vb+2]=La+3,Ub[vb+3]=La+1,Ub[vb+4]=La+2,Ub[vb+5]=La+3,vb+=6,nb[db]=La,nb[db+1]=La+1,nb[db+2]=La,nb[db+3]=La+3,nb[db+4]=La+1,nb[db+5]=La+2,nb[db+6]=La+2,nb[db+7]=
La+3,db+=8,La+=4;k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,ra.__webglFaceBuffer);k.bufferData(k.ELEMENT_ARRAY_BUFFER,Ub,Ea);k.bindBuffer(k.ELEMENT_ARRAY_BUFFER,ra.__webglLineBuffer);k.bufferData(k.ELEMENT_ARRAY_BUFFER,nb,Ea)}if(Uc){wa=0;for(gc=Uc.length;wa<gc;wa++)if(x=Uc[wa],x.__original.needsUpdate){y=0;if(1===x.size)if(void 0===x.boundTo||"vertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],x.array[y]=x.value[S.a],x.array[y+1]=x.value[S.b],x.array[y+2]=x.value[S.c],y+=3;F=0;for($=ua.length;F<
$;F++)S=$a[ua[F]],x.array[y]=x.value[S.a],x.array[y+1]=x.value[S.b],x.array[y+2]=x.value[S.c],x.array[y+3]=x.value[S.d],y+=4}else{if("faces"===x.boundTo){F=0;for($=ta.length;F<$;F++)ya=x.value[ta[F]],x.array[y]=ya,x.array[y+1]=ya,x.array[y+2]=ya,y+=3;F=0;for($=ua.length;F<$;F++)ya=x.value[ua[F]],x.array[y]=ya,x.array[y+1]=ya,x.array[y+2]=ya,x.array[y+3]=ya,y+=4}}else if(2===x.size)if(void 0===x.boundTo||"vertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],U=x.value[S.a],V=x.value[S.b],
W=x.value[S.c],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=V.x,x.array[y+3]=V.y,x.array[y+4]=W.x,x.array[y+5]=W.y,y+=6;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],U=x.value[S.a],V=x.value[S.b],W=x.value[S.c],pa=x.value[S.d],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=V.x,x.array[y+3]=V.y,x.array[y+4]=W.x,x.array[y+5]=W.y,x.array[y+6]=pa.x,x.array[y+7]=pa.y,y+=8}else{if("faces"===x.boundTo){F=0;for($=ta.length;F<$;F++)W=V=U=ya=x.value[ta[F]],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=V.x,x.array[y+
3]=V.y,x.array[y+4]=W.x,x.array[y+5]=W.y,y+=6;F=0;for($=ua.length;F<$;F++)pa=W=V=U=ya=x.value[ua[F]],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=V.x,x.array[y+3]=V.y,x.array[y+4]=W.x,x.array[y+5]=W.y,x.array[y+6]=pa.x,x.array[y+7]=pa.y,y+=8}}else if(3===x.size){var ea;ea="c"===x.type?["r","g","b"]:["x","y","z"];if(void 0===x.boundTo||"vertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],U=x.value[S.a],V=x.value[S.b],W=x.value[S.c],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=
U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],y+=9;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],U=x.value[S.a],V=x.value[S.b],W=x.value[S.c],pa=x.value[S.d],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],x.array[y+9]=pa[ea[0]],x.array[y+10]=pa[ea[1]],x.array[y+11]=
pa[ea[2]],y+=12}else if("faces"===x.boundTo){F=0;for($=ta.length;F<$;F++)W=V=U=ya=x.value[ta[F]],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],y+=9;F=0;for($=ua.length;F<$;F++)pa=W=V=U=ya=x.value[ua[F]],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],
x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],x.array[y+9]=pa[ea[0]],x.array[y+10]=pa[ea[1]],x.array[y+11]=pa[ea[2]],y+=12}else if("faceVertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)ya=x.value[ta[F]],U=ya[0],V=ya[1],W=ya[2],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],y+=9;F=0;for($=ua.length;F<$;F++)ya=x.value[ua[F]],U=ya[0],V=ya[1],W=ya[2],pa=
ya[3],x.array[y]=U[ea[0]],x.array[y+1]=U[ea[1]],x.array[y+2]=U[ea[2]],x.array[y+3]=V[ea[0]],x.array[y+4]=V[ea[1]],x.array[y+5]=V[ea[2]],x.array[y+6]=W[ea[0]],x.array[y+7]=W[ea[1]],x.array[y+8]=W[ea[2]],x.array[y+9]=pa[ea[0]],x.array[y+10]=pa[ea[1]],x.array[y+11]=pa[ea[2]],y+=12}}else if(4===x.size)if(void 0===x.boundTo||"vertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)S=$a[ta[F]],U=x.value[S.a],V=x.value[S.b],W=x.value[S.c],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+
4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,y+=12;F=0;for($=ua.length;F<$;F++)S=$a[ua[F]],U=x.value[S.a],V=x.value[S.b],W=x.value[S.c],pa=x.value[S.d],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,x.array[y+12]=pa.x,x.array[y+13]=pa.y,x.array[y+14]=pa.z,x.array[y+
15]=pa.w,y+=16}else if("faces"===x.boundTo){F=0;for($=ta.length;F<$;F++)W=V=U=ya=x.value[ta[F]],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,y+=12;F=0;for($=ua.length;F<$;F++)pa=W=V=U=ya=x.value[ua[F]],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+
8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,x.array[y+12]=pa.x,x.array[y+13]=pa.y,x.array[y+14]=pa.z,x.array[y+15]=pa.w,y+=16}else if("faceVertices"===x.boundTo){F=0;for($=ta.length;F<$;F++)ya=x.value[ta[F]],U=ya[0],V=ya[1],W=ya[2],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,y+=12;F=0;for($=ua.length;F<$;F++)ya=x.value[ua[F]],
U=ya[0],V=ya[1],W=ya[2],pa=ya[3],x.array[y]=U.x,x.array[y+1]=U.y,x.array[y+2]=U.z,x.array[y+3]=U.w,x.array[y+4]=V.x,x.array[y+5]=V.y,x.array[y+6]=V.z,x.array[y+7]=V.w,x.array[y+8]=W.x,x.array[y+9]=W.y,x.array[y+10]=W.z,x.array[y+11]=W.w,x.array[y+12]=pa.x,x.array[y+13]=pa.y,x.array[y+14]=pa.z,x.array[y+15]=pa.w,y+=16}k.bindBuffer(k.ARRAY_BUFFER,x.buffer);k.bufferData(k.ARRAY_BUFFER,x.array,Ea)}}ib&&(delete ra.__inittedArrays,delete ra.__colorArray,delete ra.__normalArray,delete ra.__tangentArray,
delete ra.__uvArray,delete ra.__uv2Array,delete ra.__faceArray,delete ra.__vertexArray,delete ra.__lineArray,delete ra.__skinIndexArray,delete ra.__skinWeightArray)}}T.verticesNeedUpdate=!1;T.morphTargetsNeedUpdate=!1;T.elementsNeedUpdate=!1;T.uvsNeedUpdate=!1;T.normalsNeedUpdate=!1;T.colorsNeedUpdate=!1;T.tangentsNeedUpdate=!1;T.buffersNeedUpdate=!1;ma.attributes&&r(ma)}else if(qa instanceof THREE.Ribbon){ma=e(qa,T);va=ma.attributes&&t(ma);if(T.verticesNeedUpdate||T.colorsNeedUpdate||T.normalsNeedUpdate||
va){var xb=T,Bc=k.DYNAMIC_DRAW,rc=void 0,sc=void 0,tc=void 0,Cc=void 0,za=void 0,Dc=void 0,Ec=void 0,Fc=void 0,Zc=void 0,Xa=void 0,mc=void 0,Ca=void 0,gb=void 0,$c=xb.vertices,ad=xb.colors,bd=xb.normals,jd=$c.length,kd=ad.length,ld=bd.length,Gc=xb.__vertexArray,Hc=xb.__colorArray,Ic=xb.__normalArray,md=xb.colorsNeedUpdate,nd=xb.normalsNeedUpdate,Xc=xb.__webglCustomAttributesList;if(xb.verticesNeedUpdate){for(rc=0;rc<jd;rc++)Cc=$c[rc],za=3*rc,Gc[za]=Cc.x,Gc[za+1]=Cc.y,Gc[za+2]=Cc.z;k.bindBuffer(k.ARRAY_BUFFER,
xb.__webglVertexBuffer);k.bufferData(k.ARRAY_BUFFER,Gc,Bc)}if(md){for(sc=0;sc<kd;sc++)Dc=ad[sc],za=3*sc,Hc[za]=Dc.r,Hc[za+1]=Dc.g,Hc[za+2]=Dc.b;k.bindBuffer(k.ARRAY_BUFFER,xb.__webglColorBuffer);k.bufferData(k.ARRAY_BUFFER,Hc,Bc)}if(nd){for(tc=0;tc<ld;tc++)Ec=bd[tc],za=3*tc,Ic[za]=Ec.x,Ic[za+1]=Ec.y,Ic[za+2]=Ec.z;k.bindBuffer(k.ARRAY_BUFFER,xb.__webglNormalBuffer);k.bufferData(k.ARRAY_BUFFER,Ic,Bc)}if(Xc){Fc=0;for(Zc=Xc.length;Fc<Zc;Fc++)if(Ca=Xc[Fc],Ca.needsUpdate&&(void 0===Ca.boundTo||"vertices"===
Ca.boundTo)){za=0;mc=Ca.value.length;if(1===Ca.size)for(Xa=0;Xa<mc;Xa++)Ca.array[Xa]=Ca.value[Xa];else if(2===Ca.size)for(Xa=0;Xa<mc;Xa++)gb=Ca.value[Xa],Ca.array[za]=gb.x,Ca.array[za+1]=gb.y,za+=2;else if(3===Ca.size)if("c"===Ca.type)for(Xa=0;Xa<mc;Xa++)gb=Ca.value[Xa],Ca.array[za]=gb.r,Ca.array[za+1]=gb.g,Ca.array[za+2]=gb.b,za+=3;else for(Xa=0;Xa<mc;Xa++)gb=Ca.value[Xa],Ca.array[za]=gb.x,Ca.array[za+1]=gb.y,Ca.array[za+2]=gb.z,za+=3;else if(4===Ca.size)for(Xa=0;Xa<mc;Xa++)gb=Ca.value[Xa],Ca.array[za]=
gb.x,Ca.array[za+1]=gb.y,Ca.array[za+2]=gb.z,Ca.array[za+3]=gb.w,za+=4;k.bindBuffer(k.ARRAY_BUFFER,Ca.buffer);k.bufferData(k.ARRAY_BUFFER,Ca.array,Bc)}}}T.verticesNeedUpdate=!1;T.colorsNeedUpdate=!1;T.normalsNeedUpdate=!1;ma.attributes&&r(ma)}else if(qa instanceof THREE.Line){ma=e(qa,T);va=ma.attributes&&t(ma);if(T.verticesNeedUpdate||T.colorsNeedUpdate||T.lineDistancesNeedUpdate||va){var yb=T,Jc=k.DYNAMIC_DRAW,uc=void 0,vc=void 0,wc=void 0,Kc=void 0,Ia=void 0,Lc=void 0,cd=yb.vertices,dd=yb.colors,
ed=yb.lineDistances,od=cd.length,pd=dd.length,qd=ed.length,Mc=yb.__vertexArray,Nc=yb.__colorArray,fd=yb.__lineDistanceArray,rd=yb.colorsNeedUpdate,sd=yb.lineDistancesNeedUpdate,Yc=yb.__webglCustomAttributesList,Oc=void 0,gd=void 0,Ya=void 0,nc=void 0,hb=void 0,Da=void 0;if(yb.verticesNeedUpdate){for(uc=0;uc<od;uc++)Kc=cd[uc],Ia=3*uc,Mc[Ia]=Kc.x,Mc[Ia+1]=Kc.y,Mc[Ia+2]=Kc.z;k.bindBuffer(k.ARRAY_BUFFER,yb.__webglVertexBuffer);k.bufferData(k.ARRAY_BUFFER,Mc,Jc)}if(rd){for(vc=0;vc<pd;vc++)Lc=dd[vc],Ia=
3*vc,Nc[Ia]=Lc.r,Nc[Ia+1]=Lc.g,Nc[Ia+2]=Lc.b;k.bindBuffer(k.ARRAY_BUFFER,yb.__webglColorBuffer);k.bufferData(k.ARRAY_BUFFER,Nc,Jc)}if(sd){for(wc=0;wc<qd;wc++)fd[wc]=ed[wc];k.bindBuffer(k.ARRAY_BUFFER,yb.__webglLineDistanceBuffer);k.bufferData(k.ARRAY_BUFFER,fd,Jc)}if(Yc){Oc=0;for(gd=Yc.length;Oc<gd;Oc++)if(Da=Yc[Oc],Da.needsUpdate&&(void 0===Da.boundTo||"vertices"===Da.boundTo)){Ia=0;nc=Da.value.length;if(1===Da.size)for(Ya=0;Ya<nc;Ya++)Da.array[Ya]=Da.value[Ya];else if(2===Da.size)for(Ya=0;Ya<nc;Ya++)hb=
Da.value[Ya],Da.array[Ia]=hb.x,Da.array[Ia+1]=hb.y,Ia+=2;else if(3===Da.size)if("c"===Da.type)for(Ya=0;Ya<nc;Ya++)hb=Da.value[Ya],Da.array[Ia]=hb.r,Da.array[Ia+1]=hb.g,Da.array[Ia+2]=hb.b,Ia+=3;else for(Ya=0;Ya<nc;Ya++)hb=Da.value[Ya],Da.array[Ia]=hb.x,Da.array[Ia+1]=hb.y,Da.array[Ia+2]=hb.z,Ia+=3;else if(4===Da.size)for(Ya=0;Ya<nc;Ya++)hb=Da.value[Ya],Da.array[Ia]=hb.x,Da.array[Ia+1]=hb.y,Da.array[Ia+2]=hb.z,Da.array[Ia+3]=hb.w,Ia+=4;k.bindBuffer(k.ARRAY_BUFFER,Da.buffer);k.bufferData(k.ARRAY_BUFFER,
Da.array,Jc)}}}T.verticesNeedUpdate=!1;T.colorsNeedUpdate=!1;T.lineDistancesNeedUpdate=!1;ma.attributes&&r(ma)}else qa instanceof THREE.ParticleSystem&&(T instanceof THREE.BufferGeometry?((T.verticesNeedUpdate||T.colorsNeedUpdate)&&j(T,k.DYNAMIC_DRAW,!T.dynamic),T.verticesNeedUpdate=!1,T.colorsNeedUpdate=!1):(ma=e(qa,T),va=ma.attributes&&t(ma),(T.verticesNeedUpdate||T.colorsNeedUpdate||qa.sortParticles||va)&&i(T,k.DYNAMIC_DRAW,qa),T.verticesNeedUpdate=!1,T.colorsNeedUpdate=!1,ma.attributes&&r(ma)))}};
this.initMaterial=function(a,b,c,d){var e,f,g,h,i,j,l,m,n;a instanceof THREE.MeshDepthMaterial?n="depth":a instanceof THREE.MeshNormalMaterial?n="normal":a instanceof THREE.MeshBasicMaterial?n="basic":a instanceof THREE.MeshLambertMaterial?n="lambert":a instanceof THREE.MeshPhongMaterial?n="phong":a instanceof THREE.LineBasicMaterial?n="basic":a instanceof THREE.LineDashedMaterial?n="dashed":a instanceof THREE.ParticleBasicMaterial&&(n="particle_basic");if(n){var o=THREE.ShaderLib[n];a.uniforms=THREE.UniformsUtils.clone(o.uniforms);
a.vertexShader=o.vertexShader;a.fragmentShader=o.fragmentShader}var p,s,r;e=p=s=r=o=0;for(f=b.length;e<f;e++)g=b[e],g.onlyShadow||(g instanceof THREE.DirectionalLight&&p++,g instanceof THREE.PointLight&&s++,g instanceof THREE.SpotLight&&r++,g instanceof THREE.HemisphereLight&&o++);e=p;f=s;g=r;h=o;o=p=0;for(r=b.length;o<r;o++)s=b[o],s.castShadow&&(s instanceof THREE.SpotLight&&p++,s instanceof THREE.DirectionalLight&&!s.shadowCascade&&p++);m=p;hc&&d&&d.useVertexTexture?l=1024:(b=k.getParameter(k.MAX_VERTEX_UNIFORM_VECTORS),
b=Math.floor((b-20)/4),void 0!==d&&d instanceof THREE.SkinnedMesh&&(b=Math.min(d.bones.length,b),b<d.bones.length&&console.warn("WebGLRenderer: too many bones - "+d.bones.length+", this GPU supports just "+b+" (try OpenGL instead of ANGLE)")),l=b);var q;a:{s=a.fragmentShader;r=a.vertexShader;o=a.uniforms;b=a.attributes;p=a.defines;var c={map:!!a.map,envMap:!!a.envMap,lightMap:!!a.lightMap,bumpMap:!!a.bumpMap,normalMap:!!a.normalMap,specularMap:!!a.specularMap,vertexColors:a.vertexColors,fog:c,useFog:a.fog,
fogExp:c instanceof THREE.FogExp2,sizeAttenuation:a.sizeAttenuation,skinning:a.skinning,maxBones:l,useVertexTexture:hc&&d&&d.useVertexTexture,boneTextureWidth:d&&d.boneTextureWidth,boneTextureHeight:d&&d.boneTextureHeight,morphTargets:a.morphTargets,morphNormals:a.morphNormals,maxMorphTargets:this.maxMorphTargets,maxMorphNormals:this.maxMorphNormals,maxDirLights:e,maxPointLights:f,maxSpotLights:g,maxHemiLights:h,maxShadows:m,shadowMapEnabled:this.shadowMapEnabled&&d.receiveShadow,shadowMapSoft:this.shadowMapSoft,
shadowMapDebug:this.shadowMapDebug,shadowMapCascade:this.shadowMapCascade,alphaTest:a.alphaTest,metal:a.metal,perPixel:a.perPixel,wrapAround:a.wrapAround,doubleSided:a.side===THREE.DoubleSide,flipSided:a.side===THREE.BackSide},t,u,v,d=[];n?d.push(n):(d.push(s),d.push(r));for(u in p)d.push(u),d.push(p[u]);for(t in c)d.push(t),d.push(c[t]);n=d.join();t=0;for(u=oa.length;t<u;t++)if(d=oa[t],d.code===n){d.usedTimes++;q=d.program;break a}t=[];for(v in p)u=p[v],!1!==u&&(u="#define "+v+" "+u,t.push(u));u=
t.join("\n");v=k.createProgram();t=["precision "+N+" float;",u,gc?"#define VERTEX_TEXTURES":"",L.gammaInput?"#define GAMMA_INPUT":"",L.gammaOutput?"#define GAMMA_OUTPUT":"",L.physicallyBasedShading?"#define PHYSICALLY_BASED_SHADING":"","#define MAX_DIR_LIGHTS "+c.maxDirLights,"#define MAX_POINT_LIGHTS "+c.maxPointLights,"#define MAX_SPOT_LIGHTS "+c.maxSpotLights,"#define MAX_HEMI_LIGHTS "+c.maxHemiLights,"#define MAX_SHADOWS "+c.maxShadows,"#define MAX_BONES "+c.maxBones,c.map?"#define USE_MAP":"",
c.envMap?"#define USE_ENVMAP":"",c.lightMap?"#define USE_LIGHTMAP":"",c.bumpMap?"#define USE_BUMPMAP":"",c.normalMap?"#define USE_NORMALMAP":"",c.specularMap?"#define USE_SPECULARMAP":"",c.vertexColors?"#define USE_COLOR":"",c.skinning?"#define USE_SKINNING":"",c.useVertexTexture?"#define BONE_TEXTURE":"",c.boneTextureWidth?"#define N_BONE_PIXEL_X "+c.boneTextureWidth.toFixed(1):"",c.boneTextureHeight?"#define N_BONE_PIXEL_Y "+c.boneTextureHeight.toFixed(1):"",c.morphTargets?"#define USE_MORPHTARGETS":
"",c.morphNormals?"#define USE_MORPHNORMALS":"",c.perPixel?"#define PHONG_PER_PIXEL":"",c.wrapAround?"#define WRAP_AROUND":"",c.doubleSided?"#define DOUBLE_SIDED":"",c.flipSided?"#define FLIP_SIDED":"",c.shadowMapEnabled?"#define USE_SHADOWMAP":"",c.shadowMapSoft?"#define SHADOWMAP_SOFT":"",c.shadowMapDebug?"#define SHADOWMAP_DEBUG":"",c.shadowMapCascade?"#define SHADOWMAP_CASCADE":"",c.sizeAttenuation?"#define USE_SIZEATTENUATION":"","uniform mat4 modelMatrix;\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat3 normalMatrix;\nuniform vec3 cameraPosition;\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\nattribute vec2 uv2;\n#ifdef USE_COLOR\nattribute vec3 color;\n#endif\n#ifdef USE_MORPHTARGETS\nattribute vec3 morphTarget0;\nattribute vec3 morphTarget1;\nattribute vec3 morphTarget2;\nattribute vec3 morphTarget3;\n#ifdef USE_MORPHNORMALS\nattribute vec3 morphNormal0;\nattribute vec3 morphNormal1;\nattribute vec3 morphNormal2;\nattribute vec3 morphNormal3;\n#else\nattribute vec3 morphTarget4;\nattribute vec3 morphTarget5;\nattribute vec3 morphTarget6;\nattribute vec3 morphTarget7;\n#endif\n#endif\n#ifdef USE_SKINNING\nattribute vec4 skinIndex;\nattribute vec4 skinWeight;\n#endif\n"].join("\n");
u=["precision "+N+" float;",c.bumpMap||c.normalMap?"#extension GL_OES_standard_derivatives : enable":"",u,"#define MAX_DIR_LIGHTS "+c.maxDirLights,"#define MAX_POINT_LIGHTS "+c.maxPointLights,"#define MAX_SPOT_LIGHTS "+c.maxSpotLights,"#define MAX_HEMI_LIGHTS "+c.maxHemiLights,"#define MAX_SHADOWS "+c.maxShadows,c.alphaTest?"#define ALPHATEST "+c.alphaTest:"",L.gammaInput?"#define GAMMA_INPUT":"",L.gammaOutput?"#define GAMMA_OUTPUT":"",L.physicallyBasedShading?"#define PHYSICALLY_BASED_SHADING":"",
c.useFog&&c.fog?"#define USE_FOG":"",c.useFog&&c.fogExp?"#define FOG_EXP2":"",c.map?"#define USE_MAP":"",c.envMap?"#define USE_ENVMAP":"",c.lightMap?"#define USE_LIGHTMAP":"",c.bumpMap?"#define USE_BUMPMAP":"",c.normalMap?"#define USE_NORMALMAP":"",c.specularMap?"#define USE_SPECULARMAP":"",c.vertexColors?"#define USE_COLOR":"",c.metal?"#define METAL":"",c.perPixel?"#define PHONG_PER_PIXEL":"",c.wrapAround?"#define WRAP_AROUND":"",c.doubleSided?"#define DOUBLE_SIDED":"",c.flipSided?"#define FLIP_SIDED":
"",c.shadowMapEnabled?"#define USE_SHADOWMAP":"",c.shadowMapSoft?"#define SHADOWMAP_SOFT":"",c.shadowMapDebug?"#define SHADOWMAP_DEBUG":"",c.shadowMapCascade?"#define SHADOWMAP_CASCADE":"","uniform mat4 viewMatrix;\nuniform vec3 cameraPosition;\n"].join("\n");u=G("fragment",u+s);t=G("vertex",t+r);k.attachShader(v,t);k.attachShader(v,u);k.linkProgram(v);k.getProgramParameter(v,k.LINK_STATUS)||console.error("Could not initialise shader\nVALIDATE_STATUS: "+k.getProgramParameter(v,k.VALIDATE_STATUS)+
", gl error ["+k.getError()+"]");k.deleteShader(u);k.deleteShader(t);v.uniforms={};v.attributes={};var w;t="viewMatrix modelViewMatrix projectionMatrix normalMatrix modelMatrix cameraPosition morphTargetInfluences".split(" ");c.useVertexTexture?t.push("boneTexture"):t.push("boneGlobalMatrices");for(w in o)t.push(w);w=t;t=0;for(u=w.length;t<u;t++)d=w[t],v.uniforms[d]=k.getUniformLocation(v,d);t="position normal uv uv2 tangent color skinIndex skinWeight lineDistance".split(" ");for(w=0;w<c.maxMorphTargets;w++)t.push("morphTarget"+
w);for(w=0;w<c.maxMorphNormals;w++)t.push("morphNormal"+w);for(q in b)t.push(q);q=t;w=0;for(b=q.length;w<b;w++)t=q[w],v.attributes[t]=k.getAttribLocation(v,t);v.id=X++;oa.push({program:v,code:n,usedTimes:1});L.info.memory.programs=oa.length;q=v}a.program=q;q=a.program.attributes;0<=q.position&&k.enableVertexAttribArray(q.position);0<=q.color&&k.enableVertexAttribArray(q.color);0<=q.normal&&k.enableVertexAttribArray(q.normal);0<=q.tangent&&k.enableVertexAttribArray(q.tangent);0<=q.lineDistance&&k.enableVertexAttribArray(q.lineDistance);
a.skinning&&(0<=q.skinIndex&&0<=q.skinWeight)&&(k.enableVertexAttribArray(q.skinIndex),k.enableVertexAttribArray(q.skinWeight));if(a.attributes)for(j in a.attributes)void 0!==q[j]&&0<=q[j]&&k.enableVertexAttribArray(q[j]);if(a.morphTargets){a.numSupportedMorphTargets=0;v="morphTarget";for(j=0;j<this.maxMorphTargets;j++)w=v+j,0<=q[w]&&(k.enableVertexAttribArray(q[w]),a.numSupportedMorphTargets++)}if(a.morphNormals){a.numSupportedMorphNormals=0;v="morphNormal";for(j=0;j<this.maxMorphNormals;j++)w=v+
j,0<=q[w]&&(k.enableVertexAttribArray(q[w]),a.numSupportedMorphNormals++)}a.uniformsList=[];for(i in a.uniforms)a.uniformsList.push([a.uniforms[i],i])};this.setFaceCulling=function(a,b){a?(!b||"ccw"===b?k.frontFace(k.CCW):k.frontFace(k.CW),"back"===a?k.cullFace(k.BACK):"front"===a?k.cullFace(k.FRONT):k.cullFace(k.FRONT_AND_BACK),k.enable(k.CULL_FACE)):k.disable(k.CULL_FACE)};this.setMaterialFaces=function(a){var b=a.side===THREE.DoubleSide,a=a.side===THREE.BackSide;Na!==b&&(b?k.disable(k.CULL_FACE):
k.enable(k.CULL_FACE),Na=b);Ja!==a&&(a?k.frontFace(k.CW):k.frontFace(k.CCW),Ja=a)};this.setDepthTest=function(a){ib!==a&&(a?k.enable(k.DEPTH_TEST):k.disable(k.DEPTH_TEST),ib=a)};this.setDepthWrite=function(a){ob!==a&&(k.depthMask(a),ob=a)};this.setBlending=function(a,b,c,d){a!==ma&&(a===THREE.NoBlending?k.disable(k.BLEND):a===THREE.AdditiveBlending?(k.enable(k.BLEND),k.blendEquation(k.FUNC_ADD),k.blendFunc(k.SRC_ALPHA,k.ONE)):a===THREE.SubtractiveBlending?(k.enable(k.BLEND),k.blendEquation(k.FUNC_ADD),
k.blendFunc(k.ZERO,k.ONE_MINUS_SRC_COLOR)):a===THREE.MultiplyBlending?(k.enable(k.BLEND),k.blendEquation(k.FUNC_ADD),k.blendFunc(k.ZERO,k.SRC_COLOR)):a===THREE.CustomBlending?k.enable(k.BLEND):(k.enable(k.BLEND),k.blendEquationSeparate(k.FUNC_ADD,k.FUNC_ADD),k.blendFuncSeparate(k.SRC_ALPHA,k.ONE_MINUS_SRC_ALPHA,k.ONE,k.ONE_MINUS_SRC_ALPHA)),ma=a);if(a===THREE.CustomBlending){if(b!==sa&&(k.blendEquation(H(b)),sa=b),c!==Ea||d!==rb)k.blendFunc(H(c),H(d)),Ea=c,rb=d}else rb=Ea=sa=null};this.setTexture=
function(a,b){if(a.needsUpdate){a.__webglInit||(a.__webglInit=!0,a.__webglTexture=k.createTexture(),L.info.memory.textures++);k.activeTexture(k.TEXTURE0+b);k.bindTexture(k.TEXTURE_2D,a.__webglTexture);k.pixelStorei(k.UNPACK_FLIP_Y_WEBGL,a.flipY);k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,a.premultiplyAlpha);var c=a.image,d=0===(c.width&c.width-1)&&0===(c.height&c.height-1),e=H(a.format),f=H(a.type);P(k.TEXTURE_2D,a,d);if(a instanceof THREE.CompressedTexture)for(var f=a.mipmaps,g=0,h=f.length;g<
h;g++)c=f[g],k.compressedTexImage2D(k.TEXTURE_2D,g,e,c.width,c.height,0,c.data);else a instanceof THREE.DataTexture?k.texImage2D(k.TEXTURE_2D,0,e,c.width,c.height,0,e,f,c.data):k.texImage2D(k.TEXTURE_2D,0,e,e,f,a.image);a.generateMipmaps&&d&&k.generateMipmap(k.TEXTURE_2D);a.needsUpdate=!1;if(a.onUpdate)a.onUpdate()}else k.activeTexture(k.TEXTURE0+b),k.bindTexture(k.TEXTURE_2D,a.__webglTexture)};this.setRenderTarget=function(a){var b=a instanceof THREE.WebGLRenderTargetCube;if(a&&!a.__webglFramebuffer){void 0===
a.depthBuffer&&(a.depthBuffer=!0);void 0===a.stencilBuffer&&(a.stencilBuffer=!0);a.__webglTexture=k.createTexture();var c=0===(a.width&a.width-1)&&0===(a.height&a.height-1),d=H(a.format),e=H(a.type);if(b){a.__webglFramebuffer=[];a.__webglRenderbuffer=[];k.bindTexture(k.TEXTURE_CUBE_MAP,a.__webglTexture);P(k.TEXTURE_CUBE_MAP,a,c);for(var f=0;6>f;f++){a.__webglFramebuffer[f]=k.createFramebuffer();a.__webglRenderbuffer[f]=k.createRenderbuffer();k.texImage2D(k.TEXTURE_CUBE_MAP_POSITIVE_X+f,0,d,a.width,
a.height,0,d,e,null);var g=a,h=k.TEXTURE_CUBE_MAP_POSITIVE_X+f;k.bindFramebuffer(k.FRAMEBUFFER,a.__webglFramebuffer[f]);k.framebufferTexture2D(k.FRAMEBUFFER,k.COLOR_ATTACHMENT0,h,g.__webglTexture,0);B(a.__webglRenderbuffer[f],a)}c&&k.generateMipmap(k.TEXTURE_CUBE_MAP)}else a.__webglFramebuffer=k.createFramebuffer(),a.__webglRenderbuffer=k.createRenderbuffer(),k.bindTexture(k.TEXTURE_2D,a.__webglTexture),P(k.TEXTURE_2D,a,c),k.texImage2D(k.TEXTURE_2D,0,d,a.width,a.height,0,d,e,null),d=k.TEXTURE_2D,
k.bindFramebuffer(k.FRAMEBUFFER,a.__webglFramebuffer),k.framebufferTexture2D(k.FRAMEBUFFER,k.COLOR_ATTACHMENT0,d,a.__webglTexture,0),B(a.__webglRenderbuffer,a),c&&k.generateMipmap(k.TEXTURE_2D);b?k.bindTexture(k.TEXTURE_CUBE_MAP,null):k.bindTexture(k.TEXTURE_2D,null);k.bindRenderbuffer(k.RENDERBUFFER,null);k.bindFramebuffer(k.FRAMEBUFFER,null)}a?(b=b?a.__webglFramebuffer[a.activeCubeFace]:a.__webglFramebuffer,c=a.width,a=a.height,e=d=0):(b=null,c=kb,a=Oa,d=Sa,e=Ka);b!==ca&&(k.bindFramebuffer(k.FRAMEBUFFER,
b),k.viewport(d,e,c,a),ca=b);lb=c;ab=a};this.shadowMapPlugin=new THREE.ShadowMapPlugin;this.addPrePlugin(this.shadowMapPlugin);this.addPostPlugin(new THREE.SpritePlugin);this.addPostPlugin(new THREE.LensFlarePlugin)};
THREE.WebGLRenderTarget=function(a,b,c){this.width=a;this.height=b;c=c||{};this.wrapS=void 0!==c.wrapS?c.wrapS:THREE.ClampToEdgeWrapping;this.wrapT=void 0!==c.wrapT?c.wrapT:THREE.ClampToEdgeWrapping;this.magFilter=void 0!==c.magFilter?c.magFilter:THREE.LinearFilter;this.minFilter=void 0!==c.minFilter?c.minFilter:THREE.LinearMipMapLinearFilter;this.anisotropy=void 0!==c.anisotropy?c.anisotropy:1;this.offset=new THREE.Vector2(0,0);this.repeat=new THREE.Vector2(1,1);this.format=void 0!==c.format?c.format:
THREE.RGBAFormat;this.type=void 0!==c.type?c.type:THREE.UnsignedByteType;this.depthBuffer=void 0!==c.depthBuffer?c.depthBuffer:!0;this.stencilBuffer=void 0!==c.stencilBuffer?c.stencilBuffer:!0;this.generateMipmaps=!0};
THREE.WebGLRenderTarget.prototype.clone=function(){var a=new THREE.WebGLRenderTarget(this.width,this.height);a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.anisotropy=this.anisotropy;a.minFilter=this.minFilter;a.offset.copy(this.offset);a.repeat.copy(this.repeat);a.format=this.format;a.type=this.type;a.depthBuffer=this.depthBuffer;a.stencilBuffer=this.stencilBuffer;a.generateMipmaps=this.generateMipmaps;return a};
THREE.WebGLRenderTargetCube=function(a,b,c){THREE.WebGLRenderTarget.call(this,a,b,c);this.activeCubeFace=0};THREE.WebGLRenderTargetCube.prototype=Object.create(THREE.WebGLRenderTarget.prototype);THREE.RenderableVertex=function(){this.positionWorld=new THREE.Vector3;this.positionScreen=new THREE.Vector4;this.visible=!0};THREE.RenderableVertex.prototype.copy=function(a){this.positionWorld.copy(a.positionWorld);this.positionScreen.copy(a.positionScreen)};
THREE.RenderableFace3=function(){this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.v3=new THREE.RenderableVertex;this.centroidWorld=new THREE.Vector3;this.centroidScreen=new THREE.Vector3;this.normalWorld=new THREE.Vector3;this.vertexNormalsWorld=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.vertexNormalsLength=0;this.material=this.color=null;this.uvs=[[]];this.z=null};
THREE.RenderableFace4=function(){this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.v3=new THREE.RenderableVertex;this.v4=new THREE.RenderableVertex;this.centroidWorld=new THREE.Vector3;this.centroidScreen=new THREE.Vector3;this.normalWorld=new THREE.Vector3;this.vertexNormalsWorld=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.vertexNormalsLength=0;this.material=this.color=null;this.uvs=[[]];this.z=null};
THREE.RenderableObject=function(){this.z=this.object=null};THREE.RenderableParticle=function(){this.rotation=this.z=this.y=this.x=this.object=null;this.scale=new THREE.Vector2;this.material=null};THREE.RenderableLine=function(){this.z=null;this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.material=null};
THREE.ColorUtils={adjustHSV:function(a,b,c,d){var e=THREE.ColorUtils.__hsv;a.getHSV(e);e.h=THREE.Math.clamp(e.h+b,0,1);e.s=THREE.Math.clamp(e.s+c,0,1);e.v=THREE.Math.clamp(e.v+d,0,1);a.setHSV(e.h,e.s,e.v)}};THREE.ColorUtils.__hsv={h:0,s:0,v:0};
THREE.GeometryUtils={merge:function(a,b){var c,d,e=a.vertices.length,f=b instanceof THREE.Mesh?b.geometry:b,g=a.vertices,h=f.vertices,i=a.faces,j=f.faces,l=a.faceVertexUvs[0],f=f.faceVertexUvs[0];b instanceof THREE.Mesh&&(b.matrixAutoUpdate&&b.updateMatrix(),c=b.matrix,d=new THREE.Matrix4,d.extractRotation(c,b.scale));for(var m=0,n=h.length;m<n;m++){var p=h[m].clone();c&&c.multiplyVector3(p);g.push(p)}m=0;for(n=j.length;m<n;m++){var p=j[m],o,s,t=p.vertexNormals,r=p.vertexColors;p instanceof THREE.Face3?
o=new THREE.Face3(p.a+e,p.b+e,p.c+e):p instanceof THREE.Face4&&(o=new THREE.Face4(p.a+e,p.b+e,p.c+e,p.d+e));o.normal.copy(p.normal);d&&d.multiplyVector3(o.normal);g=0;for(h=t.length;g<h;g++)s=t[g].clone(),d&&d.multiplyVector3(s),o.vertexNormals.push(s);o.color.copy(p.color);g=0;for(h=r.length;g<h;g++)s=r[g],o.vertexColors.push(s.clone());o.materialIndex=p.materialIndex;o.centroid.copy(p.centroid);c&&c.multiplyVector3(o.centroid);i.push(o)}m=0;for(n=f.length;m<n;m++){c=f[m];d=[];g=0;for(h=c.length;g<
h;g++)d.push(new THREE.UV(c[g].u,c[g].v));l.push(d)}},removeMaterials:function(a,b){for(var c={},d=0,e=b.length;d<e;d++)c[b[d]]=!0;for(var f,g=[],d=0,e=a.faces.length;d<e;d++)f=a.faces[d],f.materialIndex in c||g.push(f);a.faces=g},randomPointInTriangle:function(a,b,c){var d,e,f,g=new THREE.Vector3,h=THREE.GeometryUtils.__v1;d=THREE.GeometryUtils.random();e=THREE.GeometryUtils.random();1<d+e&&(d=1-d,e=1-e);f=1-d-e;g.copy(a);g.multiplyScalar(d);h.copy(b);h.multiplyScalar(e);g.addSelf(h);h.copy(c);h.multiplyScalar(f);
g.addSelf(h);return g},randomPointInFace:function(a,b,c){var d,e,f;if(a instanceof THREE.Face3)return d=b.vertices[a.a],e=b.vertices[a.b],f=b.vertices[a.c],THREE.GeometryUtils.randomPointInTriangle(d,e,f);if(a instanceof THREE.Face4){d=b.vertices[a.a];e=b.vertices[a.b];f=b.vertices[a.c];var b=b.vertices[a.d],g;c?a._area1&&a._area2?(c=a._area1,g=a._area2):(c=THREE.GeometryUtils.triangleArea(d,e,b),g=THREE.GeometryUtils.triangleArea(e,f,b),a._area1=c,a._area2=g):(c=THREE.GeometryUtils.triangleArea(d,
e,b),g=THREE.GeometryUtils.triangleArea(e,f,b));return THREE.GeometryUtils.random()*(c+g)<c?THREE.GeometryUtils.randomPointInTriangle(d,e,b):THREE.GeometryUtils.randomPointInTriangle(e,f,b)}},randomPointsInGeometry:function(a,b){function c(a){function b(c,d){if(d<c)return c;var e=c+Math.floor((d-c)/2);return j[e]>a?b(c,e-1):j[e]<a?b(e+1,d):e}return b(0,j.length-1)}var d,e,f=a.faces,g=a.vertices,h=f.length,i=0,j=[],l,m,n,p;for(e=0;e<h;e++)d=f[e],d instanceof THREE.Face3?(l=g[d.a],m=g[d.b],n=g[d.c],
d._area=THREE.GeometryUtils.triangleArea(l,m,n)):d instanceof THREE.Face4&&(l=g[d.a],m=g[d.b],n=g[d.c],p=g[d.d],d._area1=THREE.GeometryUtils.triangleArea(l,m,p),d._area2=THREE.GeometryUtils.triangleArea(m,n,p),d._area=d._area1+d._area2),i+=d._area,j[e]=i;d=[];for(e=0;e<b;e++)g=THREE.GeometryUtils.random()*i,g=c(g),d[e]=THREE.GeometryUtils.randomPointInFace(f[g],a,!0);return d},triangleArea:function(a,b,c){var d,e=THREE.GeometryUtils.__v1;e.sub(a,b);d=e.length();e.sub(a,c);a=e.length();e.sub(b,c);
c=e.length();b=0.5*(d+a+c);return Math.sqrt(b*(b-d)*(b-a)*(b-c))},center:function(a){a.computeBoundingBox();var b=a.boundingBox,c=new THREE.Vector3;c.add(b.min,b.max);c.multiplyScalar(-0.5);a.applyMatrix((new THREE.Matrix4).makeTranslation(c.x,c.y,c.z));a.computeBoundingBox();return c},normalizeUVs:function(a){for(var a=a.faceVertexUvs[0],b=0,c=a.length;b<c;b++)for(var d=a[b],e=0,f=d.length;e<f;e++)if(1!==d[e].u&&(d[e].u-=Math.floor(d[e].u)),1!==d[e].v)d[e].v-=Math.floor(d[e].v)},triangulateQuads:function(a){var b,
c,d,e,f=[],g=[],h=[];b=0;for(c=a.faceUvs.length;b<c;b++)g[b]=[];b=0;for(c=a.faceVertexUvs.length;b<c;b++)h[b]=[];b=0;for(c=a.faces.length;b<c;b++)if(d=a.faces[b],d instanceof THREE.Face4){e=d.a;var i=d.b,j=d.c,l=d.d,m=new THREE.Face3,n=new THREE.Face3;m.color.copy(d.color);n.color.copy(d.color);m.materialIndex=d.materialIndex;n.materialIndex=d.materialIndex;m.a=e;m.b=i;m.c=l;n.a=i;n.b=j;n.c=l;4===d.vertexColors.length&&(m.vertexColors[0]=d.vertexColors[0].clone(),m.vertexColors[1]=d.vertexColors[1].clone(),
m.vertexColors[2]=d.vertexColors[3].clone(),n.vertexColors[0]=d.vertexColors[1].clone(),n.vertexColors[1]=d.vertexColors[2].clone(),n.vertexColors[2]=d.vertexColors[3].clone());f.push(m,n);d=0;for(e=a.faceVertexUvs.length;d<e;d++)a.faceVertexUvs[d].length&&(m=a.faceVertexUvs[d][b],i=m[1],j=m[2],l=m[3],m=[m[0].clone(),i.clone(),l.clone()],i=[i.clone(),j.clone(),l.clone()],h[d].push(m,i));d=0;for(e=a.faceUvs.length;d<e;d++)a.faceUvs[d].length&&(i=a.faceUvs[d][b],g[d].push(i,i))}else{f.push(d);d=0;for(e=
a.faceUvs.length;d<e;d++)g[d].push(a.faceUvs[d][b]);d=0;for(e=a.faceVertexUvs.length;d<e;d++)h[d].push(a.faceVertexUvs[d][b])}a.faces=f;a.faceUvs=g;a.faceVertexUvs=h;a.computeCentroids();a.computeFaceNormals();a.computeVertexNormals();a.hasTangents&&a.computeTangents()},explode:function(a){for(var b=[],c=0,d=a.faces.length;c<d;c++){var e=b.length,f=a.faces[c];if(f instanceof THREE.Face4){var g=f.a,h=f.b,i=f.c,g=a.vertices[g],h=a.vertices[h],i=a.vertices[i],j=a.vertices[f.d];b.push(g.clone());b.push(h.clone());
b.push(i.clone());b.push(j.clone());f.a=e;f.b=e+1;f.c=e+2;f.d=e+3}else g=f.a,h=f.b,i=f.c,g=a.vertices[g],h=a.vertices[h],i=a.vertices[i],b.push(g.clone()),b.push(h.clone()),b.push(i.clone()),f.a=e,f.b=e+1,f.c=e+2}a.vertices=b;delete a.__tmpVertices},tessellate:function(a,b){var c,d,e,f,g,h,i,j,l,m,n,p,o,s,t,r,z,w,q,E=[],A=[];c=0;for(d=a.faceVertexUvs.length;c<d;c++)A[c]=[];c=0;for(d=a.faces.length;c<d;c++)if(e=a.faces[c],e instanceof THREE.Face3)if(f=e.a,g=e.b,h=e.c,j=a.vertices[f],l=a.vertices[g],
m=a.vertices[h],p=j.distanceTo(l),o=l.distanceTo(m),n=j.distanceTo(m),p>b||o>b||n>b){i=a.vertices.length;w=e.clone();q=e.clone();p>=o&&p>=n?(j=j.clone(),j.lerpSelf(l,0.5),w.a=f,w.b=i,w.c=h,q.a=i,q.b=g,q.c=h,3===e.vertexNormals.length&&(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[1],0.5),w.vertexNormals[1].copy(f),q.vertexNormals[0].copy(f)),3===e.vertexColors.length&&(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[1],0.5),w.vertexColors[1].copy(f),q.vertexColors[0].copy(f)),e=0):
o>=p&&o>=n?(j=l.clone(),j.lerpSelf(m,0.5),w.a=f,w.b=g,w.c=i,q.a=i,q.b=h,q.c=f,3===e.vertexNormals.length&&(f=e.vertexNormals[1].clone(),f.lerpSelf(e.vertexNormals[2],0.5),w.vertexNormals[2].copy(f),q.vertexNormals[0].copy(f),q.vertexNormals[1].copy(e.vertexNormals[2]),q.vertexNormals[2].copy(e.vertexNormals[0])),3===e.vertexColors.length&&(f=e.vertexColors[1].clone(),f.lerpSelf(e.vertexColors[2],0.5),w.vertexColors[2].copy(f),q.vertexColors[0].copy(f),q.vertexColors[1].copy(e.vertexColors[2]),q.vertexColors[2].copy(e.vertexColors[0])),
e=1):(j=j.clone(),j.lerpSelf(m,0.5),w.a=f,w.b=g,w.c=i,q.a=i,q.b=g,q.c=h,3===e.vertexNormals.length&&(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[2],0.5),w.vertexNormals[2].copy(f),q.vertexNormals[0].copy(f)),3===e.vertexColors.length&&(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[2],0.5),w.vertexColors[2].copy(f),q.vertexColors[0].copy(f)),e=2);E.push(w,q);a.vertices.push(j);f=0;for(g=a.faceVertexUvs.length;f<g;f++)a.faceVertexUvs[f].length&&(j=a.faceVertexUvs[f][c],q=j[0],h=
j[1],w=j[2],0===e?(l=q.clone(),l.lerpSelf(h,0.5),j=[q.clone(),l.clone(),w.clone()],h=[l.clone(),h.clone(),w.clone()]):1===e?(l=h.clone(),l.lerpSelf(w,0.5),j=[q.clone(),h.clone(),l.clone()],h=[l.clone(),w.clone(),q.clone()]):(l=q.clone(),l.lerpSelf(w,0.5),j=[q.clone(),h.clone(),l.clone()],h=[l.clone(),h.clone(),w.clone()]),A[f].push(j,h))}else{E.push(e);f=0;for(g=a.faceVertexUvs.length;f<g;f++)A[f].push(a.faceVertexUvs[f][c])}else if(f=e.a,g=e.b,h=e.c,i=e.d,j=a.vertices[f],l=a.vertices[g],m=a.vertices[h],
n=a.vertices[i],p=j.distanceTo(l),o=l.distanceTo(m),s=m.distanceTo(n),t=j.distanceTo(n),p>b||o>b||s>b||t>b){r=a.vertices.length;z=a.vertices.length+1;w=e.clone();q=e.clone();p>=o&&p>=s&&p>=t||s>=o&&s>=p&&s>=t?(p=j.clone(),p.lerpSelf(l,0.5),l=m.clone(),l.lerpSelf(n,0.5),w.a=f,w.b=r,w.c=z,w.d=i,q.a=r,q.b=g,q.c=h,q.d=z,4===e.vertexNormals.length&&(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[1],0.5),g=e.vertexNormals[2].clone(),g.lerpSelf(e.vertexNormals[3],0.5),w.vertexNormals[1].copy(f),
w.vertexNormals[2].copy(g),q.vertexNormals[0].copy(f),q.vertexNormals[3].copy(g)),4===e.vertexColors.length&&(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[1],0.5),g=e.vertexColors[2].clone(),g.lerpSelf(e.vertexColors[3],0.5),w.vertexColors[1].copy(f),w.vertexColors[2].copy(g),q.vertexColors[0].copy(f),q.vertexColors[3].copy(g)),e=0):(p=l.clone(),p.lerpSelf(m,0.5),l=n.clone(),l.lerpSelf(j,0.5),w.a=f,w.b=g,w.c=r,w.d=z,q.a=z,q.b=r,q.c=h,q.d=i,4===e.vertexNormals.length&&(f=e.vertexNormals[1].clone(),
f.lerpSelf(e.vertexNormals[2],0.5),g=e.vertexNormals[3].clone(),g.lerpSelf(e.vertexNormals[0],0.5),w.vertexNormals[2].copy(f),w.vertexNormals[3].copy(g),q.vertexNormals[0].copy(g),q.vertexNormals[1].copy(f)),4===e.vertexColors.length&&(f=e.vertexColors[1].clone(),f.lerpSelf(e.vertexColors[2],0.5),g=e.vertexColors[3].clone(),g.lerpSelf(e.vertexColors[0],0.5),w.vertexColors[2].copy(f),w.vertexColors[3].copy(g),q.vertexColors[0].copy(g),q.vertexColors[1].copy(f)),e=1);E.push(w,q);a.vertices.push(p,l);
f=0;for(g=a.faceVertexUvs.length;f<g;f++)a.faceVertexUvs[f].length&&(j=a.faceVertexUvs[f][c],q=j[0],h=j[1],w=j[2],j=j[3],0===e?(l=q.clone(),l.lerpSelf(h,0.5),m=w.clone(),m.lerpSelf(j,0.5),q=[q.clone(),l.clone(),m.clone(),j.clone()],h=[l.clone(),h.clone(),w.clone(),m.clone()]):(l=h.clone(),l.lerpSelf(w,0.5),m=j.clone(),m.lerpSelf(q,0.5),q=[q.clone(),h.clone(),l.clone(),m.clone()],h=[m.clone(),l.clone(),w.clone(),j.clone()]),A[f].push(q,h))}else{E.push(e);f=0;for(g=a.faceVertexUvs.length;f<g;f++)A[f].push(a.faceVertexUvs[f][c])}a.faces=
E;a.faceVertexUvs=A}};THREE.GeometryUtils.random=THREE.Math.random16;THREE.GeometryUtils.__v1=new THREE.Vector3;
THREE.ImageUtils={crossOrigin:"anonymous",loadTexture:function(a,b,c,d){var e=new Image,f=new THREE.Texture(e,b),b=new THREE.ImageLoader;b.addEventListener("load",function(a){f.image=a.content;f.needsUpdate=!0;c&&c(f)});b.addEventListener("error",function(a){d&&d(a.message)});b.crossOrigin=this.crossOrigin;b.load(a,e);f.sourceFile=a;return f},loadCompressedTexture:function(a,b,c,d){var e=new THREE.CompressedTexture;e.mapping=b;var f=new XMLHttpRequest;f.onload=function(){var a=THREE.ImageUtils.parseDDS(f.response,
!0);e.format=a.format;e.mipmaps=a.mipmaps;e.image.width=a.width;e.image.height=a.height;e.generateMipmaps=!1;e.needsUpdate=!0;c&&c(e)};f.onerror=d;f.open("GET",a,!0);f.responseType="arraybuffer";f.send(null);return e},loadTextureCube:function(a,b,c,d){var e=[];e.loadCount=0;var f=new THREE.Texture;f.image=e;void 0!==b&&(f.mapping=b);f.flipY=!1;for(var b=0,g=a.length;b<g;++b){var h=new Image;e[b]=h;h.onload=function(){e.loadCount=e.loadCount+1;if(e.loadCount===6){f.needsUpdate=true;c&&c()}};h.onerror=
d;h.crossOrigin=this.crossOrigin;h.src=a[b]}return f},loadCompressedTextureCube:function(a,b,c,d){var e=[];e.loadCount=0;var f=new THREE.CompressedTexture;f.image=e;void 0!==b&&(f.mapping=b);f.flipY=!1;f.generateMipmaps=!1;for(var b=function(a,b){return function(){var d=THREE.ImageUtils.parseDDS(a.response,true);b.format=d.format;b.mipmaps=d.mipmaps;b.width=d.width;b.height=d.height;e.loadCount=e.loadCount+1;if(e.loadCount===6){f.format=d.format;f.needsUpdate=true;c&&c()}}},g=0,h=a.length;g<h;++g){var i=
{};e[g]=i;var j=new XMLHttpRequest;j.onload=b(j,i);j.onerror=d;j.open("GET",a[g],!0);j.responseType="arraybuffer";j.send(null)}return f},parseDDS:function(a,b){function c(a){return a.charCodeAt(0)+(a.charCodeAt(1)<<8)+(a.charCodeAt(2)<<16)+(a.charCodeAt(3)<<24)}var d={mipmaps:[],width:0,height:0,format:null,mipmapCount:1},e=c("DXT1"),f=c("DXT3"),g=c("DXT5"),h=new Int32Array(a,0,31);if(542327876!==h[0])return console.error("ImageUtils.parseDDS(): Invalid magic number in DDS header"),d;if(!h[20]&4)return console.error("ImageUtils.parseDDS(): Unsupported format, must contain a FourCC code"),
d;var i=h[21];switch(i){case e:e=8;d.format=THREE.RGB_S3TC_DXT1_Format;break;case f:e=16;d.format=THREE.RGBA_S3TC_DXT3_Format;break;case g:e=16;d.format=THREE.RGBA_S3TC_DXT5_Format;break;default:return console.error("ImageUtils.parseDDS(): Unsupported FourCC code: ",String.fromCharCode(i&255,i>>8&255,i>>16&255,i>>24&255)),d}d.mipmapCount=1;h[2]&131072&&!1!==b&&(d.mipmapCount=Math.max(1,h[7]));d.width=h[4];d.height=h[3];h=h[1]+4;f=d.width;g=d.height;for(i=0;i<d.mipmapCount;i++){var j=Math.max(4,f)/
4*Math.max(4,g)/4*e,l={data:new Uint8Array(a,h,j),width:f,height:g};d.mipmaps.push(l);h+=j;f=Math.max(0.5*f,1);g=Math.max(0.5*g,1)}return d},getNormalMap:function(a,b){var c=function(a){var b=Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]);return[a[0]/b,a[1]/b,a[2]/b]},b=b|1,d=a.width,e=a.height,f=document.createElement("canvas");f.width=d;f.height=e;var g=f.getContext("2d");g.drawImage(a,0,0);for(var h=g.getImageData(0,0,d,e).data,i=g.createImageData(d,e),j=i.data,l=0;l<d;l++)for(var m=0;m<e;m++){var n=
0>m-1?0:m-1,p=m+1>e-1?e-1:m+1,o=0>l-1?0:l-1,s=l+1>d-1?d-1:l+1,t=[],r=[0,0,h[4*(m*d+l)]/255*b];t.push([-1,0,h[4*(m*d+o)]/255*b]);t.push([-1,-1,h[4*(n*d+o)]/255*b]);t.push([0,-1,h[4*(n*d+l)]/255*b]);t.push([1,-1,h[4*(n*d+s)]/255*b]);t.push([1,0,h[4*(m*d+s)]/255*b]);t.push([1,1,h[4*(p*d+s)]/255*b]);t.push([0,1,h[4*(p*d+l)]/255*b]);t.push([-1,1,h[4*(p*d+o)]/255*b]);n=[];o=t.length;for(p=0;p<o;p++){var s=t[p],z=t[(p+1)%o],s=[s[0]-r[0],s[1]-r[1],s[2]-r[2]],z=[z[0]-r[0],z[1]-r[1],z[2]-r[2]];n.push(c([s[1]*
z[2]-s[2]*z[1],s[2]*z[0]-s[0]*z[2],s[0]*z[1]-s[1]*z[0]]))}t=[0,0,0];for(p=0;p<n.length;p++)t[0]+=n[p][0],t[1]+=n[p][1],t[2]+=n[p][2];t[0]/=n.length;t[1]/=n.length;t[2]/=n.length;r=4*(m*d+l);j[r]=255*((t[0]+1)/2)|0;j[r+1]=255*((t[1]+1)/2)|0;j[r+2]=255*t[2]|0;j[r+3]=255}g.putImageData(i,0,0);return f},generateDataTexture:function(a,b,c){for(var d=a*b,e=new Uint8Array(3*d),f=Math.floor(255*c.r),g=Math.floor(255*c.g),c=Math.floor(255*c.b),h=0;h<d;h++)e[3*h]=f,e[3*h+1]=g,e[3*h+2]=c;a=new THREE.DataTexture(e,
a,b,THREE.RGBFormat);a.needsUpdate=!0;return a}};THREE.SceneUtils={createMultiMaterialObject:function(a,b){for(var c=new THREE.Object3D,d=0,e=b.length;d<e;d++)c.add(new THREE.Mesh(a,b[d]));return c},detach:function(a,b,c){a.applyMatrix(b.matrixWorld);b.remove(a);c.add(a)},attach:function(a,b,c){var d=new THREE.Matrix4;d.getInverse(c.matrixWorld);a.applyMatrix(d);b.remove(a);c.add(a)}};
THREE.ShaderUtils={lib:{fresnel:{uniforms:{mRefractionRatio:{type:"f",value:1.02},mFresnelBias:{type:"f",value:0.1},mFresnelPower:{type:"f",value:2},mFresnelScale:{type:"f",value:1},tCube:{type:"t",value:null}},fragmentShader:"uniform samplerCube tCube;\nvarying vec3 vReflect;\nvarying vec3 vRefract[3];\nvarying float vReflectionFactor;\nvoid main() {\nvec4 reflectedColor = textureCube( tCube, vec3( -vReflect.x, vReflect.yz ) );\nvec4 refractedColor = vec4( 1.0 );\nrefractedColor.r = textureCube( tCube, vec3( -vRefract[0].x, vRefract[0].yz ) ).r;\nrefractedColor.g = textureCube( tCube, vec3( -vRefract[1].x, vRefract[1].yz ) ).g;\nrefractedColor.b = textureCube( tCube, vec3( -vRefract[2].x, vRefract[2].yz ) ).b;\ngl_FragColor = mix( refractedColor, reflectedColor, clamp( vReflectionFactor, 0.0, 1.0 ) );\n}",
vertexShader:"uniform float mRefractionRatio;\nuniform float mFresnelBias;\nuniform float mFresnelScale;\nuniform float mFresnelPower;\nvarying vec3 vReflect;\nvarying vec3 vRefract[3];\nvarying float vReflectionFactor;\nvoid main() {\nvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\nvec4 worldPosition = modelMatrix * vec4( position, 1.0 );\nvec3 worldNormal = normalize( mat3( modelMatrix[0].xyz, modelMatrix[1].xyz, modelMatrix[2].xyz ) * normal );\nvec3 I = worldPosition.xyz - cameraPosition;\nvReflect = reflect( I, worldNormal );\nvRefract[0] = refract( normalize( I ), worldNormal, mRefractionRatio );\nvRefract[1] = refract( normalize( I ), worldNormal, mRefractionRatio * 0.99 );\nvRefract[2] = refract( normalize( I ), worldNormal, mRefractionRatio * 0.98 );\nvReflectionFactor = mFresnelBias + mFresnelScale * pow( 1.0 + dot( normalize( I ), worldNormal ), mFresnelPower );\ngl_Position = projectionMatrix * mvPosition;\n}"},
normal:{uniforms:THREE.UniformsUtils.merge([THREE.UniformsLib.fog,THREE.UniformsLib.lights,THREE.UniformsLib.shadowmap,{enableAO:{type:"i",value:0},enableDiffuse:{type:"i",value:0},enableSpecular:{type:"i",value:0},enableReflection:{type:"i",value:0},enableDisplacement:{type:"i",value:0},tDisplacement:{type:"t",value:null},tDiffuse:{type:"t",value:null},tCube:{type:"t",value:null},tNormal:{type:"t",value:null},tSpecular:{type:"t",value:null},tAO:{type:"t",value:null},uNormalScale:{type:"v2",value:new THREE.Vector2(1,
1)},uDisplacementBias:{type:"f",value:0},uDisplacementScale:{type:"f",value:1},uDiffuseColor:{type:"c",value:new THREE.Color(16777215)},uSpecularColor:{type:"c",value:new THREE.Color(1118481)},uAmbientColor:{type:"c",value:new THREE.Color(16777215)},uShininess:{type:"f",value:30},uOpacity:{type:"f",value:1},useRefract:{type:"i",value:0},uRefractionRatio:{type:"f",value:0.98},uReflectivity:{type:"f",value:0.5},uOffset:{type:"v2",value:new THREE.Vector2(0,0)},uRepeat:{type:"v2",value:new THREE.Vector2(1,
1)},wrapRGB:{type:"v3",value:new THREE.Vector3(1,1,1)}}]),fragmentShader:["uniform vec3 uAmbientColor;\nuniform vec3 uDiffuseColor;\nuniform vec3 uSpecularColor;\nuniform float uShininess;\nuniform float uOpacity;\nuniform bool enableDiffuse;\nuniform bool enableSpecular;\nuniform bool enableAO;\nuniform bool enableReflection;\nuniform sampler2D tDiffuse;\nuniform sampler2D tNormal;\nuniform sampler2D tSpecular;\nuniform sampler2D tAO;\nuniform samplerCube tCube;\nuniform vec2 uNormalScale;\nuniform bool useRefract;\nuniform float uRefractionRatio;\nuniform float uReflectivity;\nvarying vec3 vTangent;\nvarying vec3 vBinormal;\nvarying vec3 vNormal;\nvarying vec2 vUv;\nuniform vec3 ambientLightColor;\n#if MAX_DIR_LIGHTS > 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightDirection[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngleCos[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif\nvarying vec3 vWorldPosition;\nvarying vec3 vViewPosition;",
THREE.ShaderChunk.shadowmap_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,"void main() {\ngl_FragColor = vec4( vec3( 1.0 ), uOpacity );\nvec3 specularTex = vec3( 1.0 );\nvec3 normalTex = texture2D( tNormal, vUv ).xyz * 2.0 - 1.0;\nnormalTex.xy *= uNormalScale;\nnormalTex = normalize( normalTex );\nif( enableDiffuse ) {\n#ifdef GAMMA_INPUT\nvec4 texelColor = texture2D( tDiffuse, vUv );\ntexelColor.xyz *= texelColor.xyz;\ngl_FragColor = gl_FragColor * texelColor;\n#else\ngl_FragColor = gl_FragColor * texture2D( tDiffuse, vUv );\n#endif\n}\nif( enableAO ) {\n#ifdef GAMMA_INPUT\nvec4 aoColor = texture2D( tAO, vUv );\naoColor.xyz *= aoColor.xyz;\ngl_FragColor.xyz = gl_FragColor.xyz * aoColor.xyz;\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * texture2D( tAO, vUv ).xyz;\n#endif\n}\nif( enableSpecular )\nspecularTex = texture2D( tSpecular, vUv ).xyz;\nmat3 tsb = mat3( normalize( vTangent ), normalize( vBinormal ), normalize( vNormal ) );\nvec3 finalNormal = tsb * normalTex;\n#ifdef FLIP_SIDED\nfinalNormal = -finalNormal;\n#endif\nvec3 normal = normalize( finalNormal );\nvec3 viewPosition = normalize( vViewPosition );\n#if MAX_POINT_LIGHTS > 0\nvec3 pointDiffuse = vec3( 0.0 );\nvec3 pointSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 pointVector = lPosition.xyz + vViewPosition.xyz;\nfloat pointDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\npointDistance = 1.0 - min( ( length( pointVector ) / pointLightDistance[ i ] ), 1.0 );\npointVector = normalize( pointVector );\n#ifdef WRAP_AROUND\nfloat pointDiffuseWeightFull = max( dot( normal, pointVector ), 0.0 );\nfloat pointDiffuseWeightHalf = max( 0.5 * dot( normal, pointVector ) + 0.5, 0.0 );\nvec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );\n#else\nfloat pointDiffuseWeight = max( dot( normal, pointVector ), 0.0 );\n#endif\npointDiffuse += pointDistance * pointLightColor[ i ] * uDiffuseColor * pointDiffuseWeight;\nvec3 pointHalfVector = normalize( pointVector + viewPosition );\nfloat pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );\nfloat pointSpecularWeight = specularTex.r * max( pow( pointDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( pointVector, pointHalfVector ), 5.0 );\npointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * pointDistance * specularNormalization;\n#else\npointSpecular += pointDistance * pointLightColor[ i ] * uSpecularColor * pointSpecularWeight * pointDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nvec3 spotDiffuse = vec3( 0.0 );\nvec3 spotSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 spotVector = lPosition.xyz + vViewPosition.xyz;\nfloat spotDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nspotDistance = 1.0 - min( ( length( spotVector ) / spotLightDistance[ i ] ), 1.0 );\nspotVector = normalize( spotVector );\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );\nif ( spotEffect > spotLightAngleCos[ i ] ) {\nspotEffect = max( pow( spotEffect, spotLightExponent[ i ] ), 0.0 );\n#ifdef WRAP_AROUND\nfloat spotDiffuseWeightFull = max( dot( normal, spotVector ), 0.0 );\nfloat spotDiffuseWeightHalf = max( 0.5 * dot( normal, spotVector ) + 0.5, 0.0 );\nvec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );\n#else\nfloat spotDiffuseWeight = max( dot( normal, spotVector ), 0.0 );\n#endif\nspotDiffuse += spotDistance * spotLightColor[ i ] * uDiffuseColor * spotDiffuseWeight * spotEffect;\nvec3 spotHalfVector = normalize( spotVector + viewPosition );\nfloat spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );\nfloat spotSpecularWeight = specularTex.r * max( pow( spotDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( spotVector, spotHalfVector ), 5.0 );\nspotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * spotDistance * specularNormalization * spotEffect;\n#else\nspotSpecular += spotDistance * spotLightColor[ i ] * uSpecularColor * spotSpecularWeight * spotDiffuseWeight * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_DIR_LIGHTS > 0\nvec3 dirDiffuse = vec3( 0.0 );\nvec3 dirSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_DIR_LIGHTS; i++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\n#ifdef WRAP_AROUND\nfloat directionalLightWeightingFull = max( dot( normal, dirVector ), 0.0 );\nfloat directionalLightWeightingHalf = max( 0.5 * dot( normal, dirVector ) + 0.5, 0.0 );\nvec3 dirDiffuseWeight = mix( vec3( directionalLightWeightingFull ), vec3( directionalLightWeightingHalf ), wrapRGB );\n#else\nfloat dirDiffuseWeight = max( dot( normal, dirVector ), 0.0 );\n#endif\ndirDiffuse += directionalLightColor[ i ] * uDiffuseColor * dirDiffuseWeight;\nvec3 dirHalfVector = normalize( dirVector + viewPosition );\nfloat dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );\nfloat dirSpecularWeight = specularTex.r * max( pow( dirDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );\ndirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;\n#else\ndirSpecular += directionalLightColor[ i ] * uSpecularColor * dirSpecularWeight * dirDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nvec3 hemiDiffuse = vec3( 0.0 );\nvec3 hemiSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( hemisphereLightDirection[ i ], 0.0 );\nvec3 lVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( normal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nvec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\nhemiDiffuse += uDiffuseColor * hemiColor;\nvec3 hemiHalfVectorSky = normalize( lVector + viewPosition );\nfloat hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;\nfloat hemiSpecularWeightSky = specularTex.r * max( pow( hemiDotNormalHalfSky, uShininess ), 0.0 );\nvec3 lVectorGround = -lVector;\nvec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );\nfloat hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;\nfloat hemiSpecularWeightGround = specularTex.r * max( pow( hemiDotNormalHalfGround, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat dotProductGround = dot( normal, lVectorGround );\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlickSky = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );\nvec3 schlickGround = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );\nhemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );\n#else\nhemiSpecular += uSpecularColor * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;\n#endif\n}\n#endif\nvec3 totalDiffuse = vec3( 0.0 );\nvec3 totalSpecular = vec3( 0.0 );\n#if MAX_DIR_LIGHTS > 0\ntotalDiffuse += dirDiffuse;\ntotalSpecular += dirSpecular;\n#endif\n#if MAX_HEMI_LIGHTS > 0\ntotalDiffuse += hemiDiffuse;\ntotalSpecular += hemiSpecular;\n#endif\n#if MAX_POINT_LIGHTS > 0\ntotalDiffuse += pointDiffuse;\ntotalSpecular += pointSpecular;\n#endif\n#if MAX_SPOT_LIGHTS > 0\ntotalDiffuse += spotDiffuse;\ntotalSpecular += spotSpecular;\n#endif\n#ifdef METAL\ngl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor + totalSpecular );\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor ) + totalSpecular;\n#endif\nif ( enableReflection ) {\nvec3 vReflect;\nvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\nif ( useRefract ) {\nvReflect = refract( cameraToVertex, normal, uRefractionRatio );\n} else {\nvReflect = reflect( cameraToVertex, normal );\n}\nvec4 cubeColor = textureCube( tCube, vec3( -vReflect.x, vReflect.yz ) );\n#ifdef GAMMA_INPUT\ncubeColor.xyz *= cubeColor.xyz;\n#endif\ngl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularTex.r * uReflectivity );\n}",
THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.linear_to_gamma_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n"),vertexShader:["attribute vec4 tangent;\nuniform vec2 uOffset;\nuniform vec2 uRepeat;\nuniform bool enableDisplacement;\n#ifdef VERTEX_TEXTURES\nuniform sampler2D tDisplacement;\nuniform float uDisplacementScale;\nuniform float uDisplacementBias;\n#endif\nvarying vec3 vTangent;\nvarying vec3 vBinormal;\nvarying vec3 vNormal;\nvarying vec2 vUv;\nvarying vec3 vWorldPosition;\nvarying vec3 vViewPosition;",
THREE.ShaderChunk.skinning_pars_vertex,THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.skinnormal_vertex,"#ifdef USE_SKINNING\nvNormal = normalize( normalMatrix * skinnedNormal.xyz );\nvec4 skinnedTangent = skinMatrix * vec4( tangent.xyz, 0.0 );\nvTangent = normalize( normalMatrix * skinnedTangent.xyz );\n#else\nvNormal = normalize( normalMatrix * normal );\nvTangent = normalize( normalMatrix * tangent.xyz );\n#endif\nvBinormal = normalize( cross( vNormal, vTangent ) * tangent.w );\nvUv = uv * uRepeat + uOffset;\nvec3 displacedPosition;\n#ifdef VERTEX_TEXTURES\nif ( enableDisplacement ) {\nvec3 dv = texture2D( tDisplacement, uv ).xyz;\nfloat df = uDisplacementScale * dv.x + uDisplacementBias;\ndisplacedPosition = position + normalize( normal ) * df;\n} else {\n#ifdef USE_SKINNING\nvec4 skinVertex = vec4( position, 1.0 );\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\ndisplacedPosition = skinned.xyz;\n#else\ndisplacedPosition = position;\n#endif\n}\n#else\n#ifdef USE_SKINNING\nvec4 skinVertex = vec4( position, 1.0 );\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\ndisplacedPosition = skinned.xyz;\n#else\ndisplacedPosition = position;\n#endif\n#endif\nvec4 mvPosition = modelViewMatrix * vec4( displacedPosition, 1.0 );\nvec4 worldPosition = modelMatrix * vec4( displacedPosition, 1.0 );\ngl_Position = projectionMatrix * mvPosition;\nvWorldPosition = worldPosition.xyz;\nvViewPosition = -mvPosition.xyz;\n#ifdef USE_SHADOWMAP\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvShadowCoord[ i ] = shadowMatrix[ i ] * worldPosition;\n}\n#endif\n}"].join("\n")},
cube:{uniforms:{tCube:{type:"t",value:null},tFlip:{type:"f",value:-1}},vertexShader:"varying vec3 vWorldPosition;\nvoid main() {\nvec4 worldPosition = modelMatrix * vec4( position, 1.0 );\nvWorldPosition = worldPosition.xyz;\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform samplerCube tCube;\nuniform float tFlip;\nvarying vec3 vWorldPosition;\nvoid main() {\ngl_FragColor = textureCube( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) );\n}"}}};
THREE.FontUtils={faces:{},face:"helvetiker",weight:"normal",style:"normal",size:150,divisions:10,getFace:function(){return this.faces[this.face][this.weight][this.style]},loadFace:function(a){var b=a.familyName.toLowerCase();this.faces[b]=this.faces[b]||{};this.faces[b][a.cssFontWeight]=this.faces[b][a.cssFontWeight]||{};this.faces[b][a.cssFontWeight][a.cssFontStyle]=a;return this.faces[b][a.cssFontWeight][a.cssFontStyle]=a},drawText:function(a){for(var b=this.getFace(),c=this.size/b.resolution,d=
0,e=String(a).split(""),f=e.length,g=[],a=0;a<f;a++){var h=new THREE.Path,h=this.extractGlyphPoints(e[a],b,c,d,h),d=d+h.offset;g.push(h.path)}return{paths:g,offset:d/2}},extractGlyphPoints:function(a,b,c,d,e){var f=[],g,h,i,j,l,m,n,p,o,s,t,r=b.glyphs[a]||b.glyphs["?"];if(r){if(r.o){b=r._cachedOutline||(r._cachedOutline=r.o.split(" "));j=b.length;for(a=0;a<j;)switch(i=b[a++],i){case "m":i=b[a++]*c+d;l=b[a++]*c;e.moveTo(i,l);break;case "l":i=b[a++]*c+d;l=b[a++]*c;e.lineTo(i,l);break;case "q":i=b[a++]*
c+d;l=b[a++]*c;p=b[a++]*c+d;o=b[a++]*c;e.quadraticCurveTo(p,o,i,l);if(g=f[f.length-1]){m=g.x;n=g.y;g=1;for(h=this.divisions;g<=h;g++){var z=g/h;THREE.Shape.Utils.b2(z,m,p,i);THREE.Shape.Utils.b2(z,n,o,l)}}break;case "b":if(i=b[a++]*c+d,l=b[a++]*c,p=b[a++]*c+d,o=b[a++]*-c,s=b[a++]*c+d,t=b[a++]*-c,e.bezierCurveTo(i,l,p,o,s,t),g=f[f.length-1]){m=g.x;n=g.y;g=1;for(h=this.divisions;g<=h;g++)z=g/h,THREE.Shape.Utils.b3(z,m,p,s,i),THREE.Shape.Utils.b3(z,n,o,t,l)}}}return{offset:r.ha*c,path:e}}}};
THREE.FontUtils.generateShapes=function(a,b){var b=b||{},c=void 0!==b.curveSegments?b.curveSegments:4,d=void 0!==b.font?b.font:"helvetiker",e=void 0!==b.weight?b.weight:"normal",f=void 0!==b.style?b.style:"normal";THREE.FontUtils.size=void 0!==b.size?b.size:100;THREE.FontUtils.divisions=c;THREE.FontUtils.face=d;THREE.FontUtils.weight=e;THREE.FontUtils.style=f;c=THREE.FontUtils.drawText(a).paths;d=[];e=0;for(f=c.length;e<f;e++)Array.prototype.push.apply(d,c[e].toShapes());return d};
(function(a){var b=function(a){for(var b=a.length,e=0,f=b-1,g=0;g<b;f=g++)e+=a[f].x*a[g].y-a[g].x*a[f].y;return 0.5*e};a.Triangulate=function(a,d){var e=a.length;if(3>e)return null;var f=[],g=[],h=[],i,j,l;if(0<b(a))for(j=0;j<e;j++)g[j]=j;else for(j=0;j<e;j++)g[j]=e-1-j;var m=2*e;for(j=e-1;2<e;){if(0>=m--){console.log("Warning, unable to triangulate polygon!");break}i=j;e<=i&&(i=0);j=i+1;e<=j&&(j=0);l=j+1;e<=l&&(l=0);var n;a:{n=a;var p=i,o=j,s=l,t=e,r=g,z=void 0,w=void 0,q=void 0,E=void 0,A=void 0,
v=void 0,u=void 0,D=void 0,C=void 0,w=n[r[p]].x,q=n[r[p]].y,E=n[r[o]].x,A=n[r[o]].y,v=n[r[s]].x,u=n[r[s]].y;if(1E-10>(E-w)*(u-q)-(A-q)*(v-w))n=!1;else{for(z=0;z<t;z++)if(!(z==p||z==o||z==s)){var D=n[r[z]].x,C=n[r[z]].y,G=void 0,P=void 0,B=void 0,K=void 0,H=void 0,I=void 0,N=void 0,O=void 0,R=void 0,ga=void 0,M=void 0,J=void 0,G=B=H=void 0,G=v-E,P=u-A,B=w-v,K=q-u,H=E-w,I=A-q,N=D-w,O=C-q,R=D-E,ga=C-A,M=D-v,J=C-u,G=G*ga-P*R,H=H*O-I*N,B=B*J-K*M;if(0<=G&&0<=B&&0<=H){n=!1;break a}}n=!0}}if(n){f.push([a[g[i]],
a[g[j]],a[g[l]]]);h.push([g[i],g[j],g[l]]);i=j;for(l=j+1;l<e;i++,l++)g[i]=g[l];e--;m=2*e}}return d?h:f};a.Triangulate.area=b;return a})(THREE.FontUtils);self._typeface_js={faces:THREE.FontUtils.faces,loadFace:THREE.FontUtils.loadFace};THREE.Curve=function(){};THREE.Curve.prototype.getPoint=function(){console.log("Warning, getPoint() not implemented!");return null};THREE.Curve.prototype.getPointAt=function(a){a=this.getUtoTmapping(a);return this.getPoint(a)};
THREE.Curve.prototype.getPoints=function(a){a||(a=5);var b,c=[];for(b=0;b<=a;b++)c.push(this.getPoint(b/a));return c};THREE.Curve.prototype.getSpacedPoints=function(a){a||(a=5);var b,c=[];for(b=0;b<=a;b++)c.push(this.getPointAt(b/a));return c};THREE.Curve.prototype.getLength=function(){var a=this.getLengths();return a[a.length-1]};
THREE.Curve.prototype.getLengths=function(a){a||(a=this.__arcLengthDivisions?this.__arcLengthDivisions:200);if(this.cacheArcLengths&&this.cacheArcLengths.length==a+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var b=[],c,d=this.getPoint(0),e,f=0;b.push(0);for(e=1;e<=a;e++)c=this.getPoint(e/a),f+=c.distanceTo(d),b.push(f),d=c;return this.cacheArcLengths=b};THREE.Curve.prototype.updateArcLengths=function(){this.needsUpdate=!0;this.getLengths()};
THREE.Curve.prototype.getUtoTmapping=function(a,b){var c=this.getLengths(),d=0,e=c.length,f;f=b?b:a*c[e-1];for(var g=0,h=e-1,i;g<=h;)if(d=Math.floor(g+(h-g)/2),i=c[d]-f,0>i)g=d+1;else if(0<i)h=d-1;else{h=d;break}d=h;if(c[d]==f)return d/(e-1);g=c[d];return c=(d+(f-g)/(c[d+1]-g))/(e-1)};THREE.Curve.prototype.getNormalVector=function(a){a=this.getTangent(a);return new THREE.Vector2(-a.y,a.x)};
THREE.Curve.prototype.getTangent=function(a){var b=a-1E-4,a=a+1E-4;0>b&&(b=0);1<a&&(a=1);b=this.getPoint(b);return this.getPoint(a).clone().subSelf(b).normalize()};THREE.Curve.prototype.getTangentAt=function(a){a=this.getUtoTmapping(a);return this.getTangent(a)};THREE.LineCurve=function(a,b){this.v1=a;this.v2=b};THREE.LineCurve.prototype=Object.create(THREE.Curve.prototype);THREE.LineCurve.prototype.getPoint=function(a){var b=this.v2.clone().subSelf(this.v1);b.multiplyScalar(a).addSelf(this.v1);return b};
THREE.LineCurve.prototype.getPointAt=function(a){return this.getPoint(a)};THREE.LineCurve.prototype.getTangent=function(){return this.v2.clone().subSelf(this.v1).normalize()};THREE.QuadraticBezierCurve=function(a,b,c){this.v0=a;this.v1=b;this.v2=c};THREE.QuadraticBezierCurve.prototype=Object.create(THREE.Curve.prototype);
THREE.QuadraticBezierCurve.prototype.getPoint=function(a){var b;b=THREE.Shape.Utils.b2(a,this.v0.x,this.v1.x,this.v2.x);a=THREE.Shape.Utils.b2(a,this.v0.y,this.v1.y,this.v2.y);return new THREE.Vector2(b,a)};THREE.QuadraticBezierCurve.prototype.getTangent=function(a){var b;b=THREE.Curve.Utils.tangentQuadraticBezier(a,this.v0.x,this.v1.x,this.v2.x);a=THREE.Curve.Utils.tangentQuadraticBezier(a,this.v0.y,this.v1.y,this.v2.y);b=new THREE.Vector2(b,a);b.normalize();return b};
THREE.CubicBezierCurve=function(a,b,c,d){this.v0=a;this.v1=b;this.v2=c;this.v3=d};THREE.CubicBezierCurve.prototype=Object.create(THREE.Curve.prototype);THREE.CubicBezierCurve.prototype.getPoint=function(a){var b;b=THREE.Shape.Utils.b3(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);a=THREE.Shape.Utils.b3(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);return new THREE.Vector2(b,a)};
THREE.CubicBezierCurve.prototype.getTangent=function(a){var b;b=THREE.Curve.Utils.tangentCubicBezier(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);a=THREE.Curve.Utils.tangentCubicBezier(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);b=new THREE.Vector2(b,a);b.normalize();return b};THREE.SplineCurve=function(a){this.points=void 0==a?[]:a};THREE.SplineCurve.prototype=Object.create(THREE.Curve.prototype);
THREE.SplineCurve.prototype.getPoint=function(a){var b=new THREE.Vector2,c=[],d=this.points,e;e=(d.length-1)*a;a=Math.floor(e);e-=a;c[0]=0==a?a:a-1;c[1]=a;c[2]=a>d.length-2?d.length-1:a+1;c[3]=a>d.length-3?d.length-1:a+2;b.x=THREE.Curve.Utils.interpolate(d[c[0]].x,d[c[1]].x,d[c[2]].x,d[c[3]].x,e);b.y=THREE.Curve.Utils.interpolate(d[c[0]].y,d[c[1]].y,d[c[2]].y,d[c[3]].y,e);return b};
THREE.EllipseCurve=function(a,b,c,d,e,f,g){this.aX=a;this.aY=b;this.xRadius=c;this.yRadius=d;this.aStartAngle=e;this.aEndAngle=f;this.aClockwise=g};THREE.EllipseCurve.prototype=Object.create(THREE.Curve.prototype);THREE.EllipseCurve.prototype.getPoint=function(a){var b=this.aEndAngle-this.aStartAngle;this.aClockwise||(a=1-a);b=this.aStartAngle+a*b;a=this.aX+this.xRadius*Math.cos(b);b=this.aY+this.yRadius*Math.sin(b);return new THREE.Vector2(a,b)};
THREE.ArcCurve=function(a,b,c,d,e,f){THREE.EllipseCurve.call(this,a,b,c,c,d,e,f)};THREE.ArcCurve.prototype=Object.create(THREE.EllipseCurve.prototype);
THREE.Curve.Utils={tangentQuadraticBezier:function(a,b,c,d){return 2*(1-a)*(c-b)+2*a*(d-c)},tangentCubicBezier:function(a,b,c,d,e){return-3*b*(1-a)*(1-a)+3*c*(1-a)*(1-a)-6*a*c*(1-a)+6*a*d*(1-a)-3*a*a*d+3*a*a*e},tangentSpline:function(a){return 6*a*a-6*a+(3*a*a-4*a+1)+(-6*a*a+6*a)+(3*a*a-2*a)},interpolate:function(a,b,c,d,e){var a=0.5*(c-a),d=0.5*(d-b),f=e*e;return(2*b-2*c+a+d)*e*f+(-3*b+3*c-2*a-d)*f+a*e+b}};
THREE.Curve.create=function(a,b){a.prototype=Object.create(THREE.Curve.prototype);a.prototype.getPoint=b;return a};THREE.LineCurve3=THREE.Curve.create(function(a,b){this.v1=a;this.v2=b},function(a){var b=new THREE.Vector3;b.sub(this.v2,this.v1);b.multiplyScalar(a);b.addSelf(this.v1);return b});
THREE.QuadraticBezierCurve3=THREE.Curve.create(function(a,b,c){this.v0=a;this.v1=b;this.v2=c},function(a){var b,c;b=THREE.Shape.Utils.b2(a,this.v0.x,this.v1.x,this.v2.x);c=THREE.Shape.Utils.b2(a,this.v0.y,this.v1.y,this.v2.y);a=THREE.Shape.Utils.b2(a,this.v0.z,this.v1.z,this.v2.z);return new THREE.Vector3(b,c,a)});
THREE.CubicBezierCurve3=THREE.Curve.create(function(a,b,c,d){this.v0=a;this.v1=b;this.v2=c;this.v3=d},function(a){var b,c;b=THREE.Shape.Utils.b3(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);c=THREE.Shape.Utils.b3(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);a=THREE.Shape.Utils.b3(a,this.v0.z,this.v1.z,this.v2.z,this.v3.z);return new THREE.Vector3(b,c,a)});
THREE.SplineCurve3=THREE.Curve.create(function(a){this.points=void 0==a?[]:a},function(a){var b=new THREE.Vector3,c=[],d=this.points,e,a=(d.length-1)*a;e=Math.floor(a);a-=e;c[0]=0==e?e:e-1;c[1]=e;c[2]=e>d.length-2?d.length-1:e+1;c[3]=e>d.length-3?d.length-1:e+2;e=d[c[0]];var f=d[c[1]],g=d[c[2]],c=d[c[3]];b.x=THREE.Curve.Utils.interpolate(e.x,f.x,g.x,c.x,a);b.y=THREE.Curve.Utils.interpolate(e.y,f.y,g.y,c.y,a);b.z=THREE.Curve.Utils.interpolate(e.z,f.z,g.z,c.z,a);return b});
THREE.ClosedSplineCurve3=THREE.Curve.create(function(a){this.points=void 0==a?[]:a},function(a){var b=new THREE.Vector3,c=[],d=this.points,e;e=(d.length-0)*a;a=Math.floor(e);e-=a;a+=0<a?0:(Math.floor(Math.abs(a)/d.length)+1)*d.length;c[0]=(a-1)%d.length;c[1]=a%d.length;c[2]=(a+1)%d.length;c[3]=(a+2)%d.length;b.x=THREE.Curve.Utils.interpolate(d[c[0]].x,d[c[1]].x,d[c[2]].x,d[c[3]].x,e);b.y=THREE.Curve.Utils.interpolate(d[c[0]].y,d[c[1]].y,d[c[2]].y,d[c[3]].y,e);b.z=THREE.Curve.Utils.interpolate(d[c[0]].z,
d[c[1]].z,d[c[2]].z,d[c[3]].z,e);return b});THREE.CurvePath=function(){this.curves=[];this.bends=[];this.autoClose=!1};THREE.CurvePath.prototype=Object.create(THREE.Curve.prototype);THREE.CurvePath.prototype.add=function(a){this.curves.push(a)};THREE.CurvePath.prototype.checkConnection=function(){};THREE.CurvePath.prototype.closePath=function(){var a=this.curves[0].getPoint(0),b=this.curves[this.curves.length-1].getPoint(1);a.equals(b)||this.curves.push(new THREE.LineCurve(b,a))};
THREE.CurvePath.prototype.getPoint=function(a){for(var b=a*this.getLength(),c=this.getCurveLengths(),a=0;a<c.length;){if(c[a]>=b)return b=c[a]-b,a=this.curves[a],b=1-b/a.getLength(),a.getPointAt(b);a++}return null};THREE.CurvePath.prototype.getLength=function(){var a=this.getCurveLengths();return a[a.length-1]};
THREE.CurvePath.prototype.getCurveLengths=function(){if(this.cacheLengths&&this.cacheLengths.length==this.curves.length)return this.cacheLengths;var a=[],b=0,c,d=this.curves.length;for(c=0;c<d;c++)b+=this.curves[c].getLength(),a.push(b);return this.cacheLengths=a};
THREE.CurvePath.prototype.getBoundingBox=function(){var a=this.getPoints(),b,c,d,e,f,g;b=c=Number.NEGATIVE_INFINITY;e=f=Number.POSITIVE_INFINITY;var h,i,j,l,m=a[0]instanceof THREE.Vector3;l=m?new THREE.Vector3:new THREE.Vector2;i=0;for(j=a.length;i<j;i++)h=a[i],h.x>b?b=h.x:h.x<e&&(e=h.x),h.y>c?c=h.y:h.y<f&&(f=h.y),m&&(h.z>d?d=h.z:h.z<g&&(g=h.z)),l.addSelf(h);a={minX:e,minY:f,maxX:b,maxY:c,centroid:l.divideScalar(j)};m&&(a.maxZ=d,a.minZ=g);return a};
THREE.CurvePath.prototype.createPointsGeometry=function(a){a=this.getPoints(a,!0);return this.createGeometry(a)};THREE.CurvePath.prototype.createSpacedPointsGeometry=function(a){a=this.getSpacedPoints(a,!0);return this.createGeometry(a)};THREE.CurvePath.prototype.createGeometry=function(a){for(var b=new THREE.Geometry,c=0;c<a.length;c++)b.vertices.push(new THREE.Vector3(a[c].x,a[c].y,a[c].z||0));return b};THREE.CurvePath.prototype.addWrapPath=function(a){this.bends.push(a)};
THREE.CurvePath.prototype.getTransformedPoints=function(a,b){var c=this.getPoints(a),d,e;b||(b=this.bends);d=0;for(e=b.length;d<e;d++)c=this.getWrapPoints(c,b[d]);return c};THREE.CurvePath.prototype.getTransformedSpacedPoints=function(a,b){var c=this.getSpacedPoints(a),d,e;b||(b=this.bends);d=0;for(e=b.length;d<e;d++)c=this.getWrapPoints(c,b[d]);return c};
THREE.CurvePath.prototype.getWrapPoints=function(a,b){var c=this.getBoundingBox(),d,e,f,g,h,i;d=0;for(e=a.length;d<e;d++)f=a[d],g=f.x,h=f.y,i=g/c.maxX,i=b.getUtoTmapping(i,g),g=b.getPoint(i),h=b.getNormalVector(i).multiplyScalar(h),f.x=g.x+h.x,f.y=g.y+h.y;return a};THREE.Gyroscope=function(){THREE.Object3D.call(this)};THREE.Gyroscope.prototype=Object.create(THREE.Object3D.prototype);
THREE.Gyroscope.prototype.updateMatrixWorld=function(a){this.matrixAutoUpdate&&this.updateMatrix();if(this.matrixWorldNeedsUpdate||a)this.parent?(this.matrixWorld.multiply(this.parent.matrixWorld,this.matrix),this.matrixWorld.decompose(this.translationWorld,this.rotationWorld,this.scaleWorld),this.matrix.decompose(this.translationObject,this.rotationObject,this.scaleObject),this.matrixWorld.compose(this.translationWorld,this.rotationObject,this.scaleWorld)):this.matrixWorld.copy(this.matrix),this.matrixWorldNeedsUpdate=
!1,a=!0;for(var b=0,c=this.children.length;b<c;b++)this.children[b].updateMatrixWorld(a)};THREE.Gyroscope.prototype.translationWorld=new THREE.Vector3;THREE.Gyroscope.prototype.translationObject=new THREE.Vector3;THREE.Gyroscope.prototype.rotationWorld=new THREE.Quaternion;THREE.Gyroscope.prototype.rotationObject=new THREE.Quaternion;THREE.Gyroscope.prototype.scaleWorld=new THREE.Vector3;THREE.Gyroscope.prototype.scaleObject=new THREE.Vector3;
THREE.Path=function(a){THREE.CurvePath.call(this);this.actions=[];a&&this.fromPoints(a)};THREE.Path.prototype=Object.create(THREE.CurvePath.prototype);THREE.PathActions={MOVE_TO:"moveTo",LINE_TO:"lineTo",QUADRATIC_CURVE_TO:"quadraticCurveTo",BEZIER_CURVE_TO:"bezierCurveTo",CSPLINE_THRU:"splineThru",ARC:"arc",ELLIPSE:"ellipse"};THREE.Path.prototype.fromPoints=function(a){this.moveTo(a[0].x,a[0].y);for(var b=1,c=a.length;b<c;b++)this.lineTo(a[b].x,a[b].y)};
THREE.Path.prototype.moveTo=function(a,b){var c=Array.prototype.slice.call(arguments);this.actions.push({action:THREE.PathActions.MOVE_TO,args:c})};THREE.Path.prototype.lineTo=function(a,b){var c=Array.prototype.slice.call(arguments),d=this.actions[this.actions.length-1].args,d=new THREE.LineCurve(new THREE.Vector2(d[d.length-2],d[d.length-1]),new THREE.Vector2(a,b));this.curves.push(d);this.actions.push({action:THREE.PathActions.LINE_TO,args:c})};
THREE.Path.prototype.quadraticCurveTo=function(a,b,c,d){var e=Array.prototype.slice.call(arguments),f=this.actions[this.actions.length-1].args,f=new THREE.QuadraticBezierCurve(new THREE.Vector2(f[f.length-2],f[f.length-1]),new THREE.Vector2(a,b),new THREE.Vector2(c,d));this.curves.push(f);this.actions.push({action:THREE.PathActions.QUADRATIC_CURVE_TO,args:e})};
THREE.Path.prototype.bezierCurveTo=function(a,b,c,d,e,f){var g=Array.prototype.slice.call(arguments),h=this.actions[this.actions.length-1].args,h=new THREE.CubicBezierCurve(new THREE.Vector2(h[h.length-2],h[h.length-1]),new THREE.Vector2(a,b),new THREE.Vector2(c,d),new THREE.Vector2(e,f));this.curves.push(h);this.actions.push({action:THREE.PathActions.BEZIER_CURVE_TO,args:g})};
THREE.Path.prototype.splineThru=function(a){var b=Array.prototype.slice.call(arguments),c=this.actions[this.actions.length-1].args,c=[new THREE.Vector2(c[c.length-2],c[c.length-1])];Array.prototype.push.apply(c,a);c=new THREE.SplineCurve(c);this.curves.push(c);this.actions.push({action:THREE.PathActions.CSPLINE_THRU,args:b})};THREE.Path.prototype.arc=function(a,b,c,d,e,f){var g=this.actions[this.actions.length-1].args;this.absarc(a+g[g.length-2],b+g[g.length-1],c,d,e,f)};
THREE.Path.prototype.absarc=function(a,b,c,d,e,f){this.absellipse(a,b,c,c,d,e,f)};THREE.Path.prototype.ellipse=function(a,b,c,d,e,f,g){var h=this.actions[this.actions.length-1].args;this.absellipse(a+h[h.length-2],b+h[h.length-1],c,d,e,f,g)};THREE.Path.prototype.absellipse=function(a,b,c,d,e,f,g){var h=Array.prototype.slice.call(arguments),i=new THREE.EllipseCurve(a,b,c,d,e,f,g);this.curves.push(i);i=i.getPoint(g?1:0);h.push(i.x);h.push(i.y);this.actions.push({action:THREE.PathActions.ELLIPSE,args:h})};
THREE.Path.prototype.getSpacedPoints=function(a){a||(a=40);for(var b=[],c=0;c<a;c++)b.push(this.getPoint(c/a));return b};
THREE.Path.prototype.getPoints=function(a,b){if(this.useSpacedPoints)return console.log("tata"),this.getSpacedPoints(a,b);var a=a||12,c=[],d,e,f,g,h,i,j,l,m,n,p,o,s;d=0;for(e=this.actions.length;d<e;d++)switch(f=this.actions[d],g=f.action,f=f.args,g){case THREE.PathActions.MOVE_TO:c.push(new THREE.Vector2(f[0],f[1]));break;case THREE.PathActions.LINE_TO:c.push(new THREE.Vector2(f[0],f[1]));break;case THREE.PathActions.QUADRATIC_CURVE_TO:h=f[2];i=f[3];m=f[0];n=f[1];0<c.length?(g=c[c.length-1],p=g.x,
o=g.y):(g=this.actions[d-1].args,p=g[g.length-2],o=g[g.length-1]);for(f=1;f<=a;f++)s=f/a,g=THREE.Shape.Utils.b2(s,p,m,h),s=THREE.Shape.Utils.b2(s,o,n,i),c.push(new THREE.Vector2(g,s));break;case THREE.PathActions.BEZIER_CURVE_TO:h=f[4];i=f[5];m=f[0];n=f[1];j=f[2];l=f[3];0<c.length?(g=c[c.length-1],p=g.x,o=g.y):(g=this.actions[d-1].args,p=g[g.length-2],o=g[g.length-1]);for(f=1;f<=a;f++)s=f/a,g=THREE.Shape.Utils.b3(s,p,m,j,h),s=THREE.Shape.Utils.b3(s,o,n,l,i),c.push(new THREE.Vector2(g,s));break;case THREE.PathActions.CSPLINE_THRU:g=
this.actions[d-1].args;s=[new THREE.Vector2(g[g.length-2],g[g.length-1])];g=a*f[0].length;s=s.concat(f[0]);s=new THREE.SplineCurve(s);for(f=1;f<=g;f++)c.push(s.getPointAt(f/g));break;case THREE.PathActions.ARC:h=f[0];i=f[1];n=f[2];j=f[3];g=f[4];m=!!f[5];p=g-j;o=2*a;for(f=1;f<=o;f++)s=f/o,m||(s=1-s),s=j+s*p,g=h+n*Math.cos(s),s=i+n*Math.sin(s),c.push(new THREE.Vector2(g,s));break;case THREE.PathActions.ELLIPSE:h=f[0];i=f[1];n=f[2];l=f[3];j=f[4];g=f[5];m=!!f[6];p=g-j;o=2*a;for(f=1;f<=o;f++)s=f/o,m||
(s=1-s),s=j+s*p,g=h+n*Math.cos(s),s=i+l*Math.sin(s),c.push(new THREE.Vector2(g,s))}d=c[c.length-1];1E-10>Math.abs(d.x-c[0].x)&&1E-10>Math.abs(d.y-c[0].y)&&c.splice(c.length-1,1);b&&c.push(c[0]);return c};
THREE.Path.prototype.toShapes=function(){var a,b,c,d,e=[],f=new THREE.Path;a=0;for(b=this.actions.length;a<b;a++)c=this.actions[a],d=c.args,c=c.action,c==THREE.PathActions.MOVE_TO&&0!=f.actions.length&&(e.push(f),f=new THREE.Path),f[c].apply(f,d);0!=f.actions.length&&e.push(f);if(0==e.length)return[];var g;d=[];a=!THREE.Shape.Utils.isClockWise(e[0].getPoints());if(1==e.length)return f=e[0],g=new THREE.Shape,g.actions=f.actions,g.curves=f.curves,d.push(g),d;if(a){g=new THREE.Shape;a=0;for(b=e.length;a<
b;a++)f=e[a],THREE.Shape.Utils.isClockWise(f.getPoints())?(g.actions=f.actions,g.curves=f.curves,d.push(g),g=new THREE.Shape):g.holes.push(f)}else{a=0;for(b=e.length;a<b;a++)f=e[a],THREE.Shape.Utils.isClockWise(f.getPoints())?(g&&d.push(g),g=new THREE.Shape,g.actions=f.actions,g.curves=f.curves):g.holes.push(f);d.push(g)}return d};THREE.Shape=function(){THREE.Path.apply(this,arguments);this.holes=[]};THREE.Shape.prototype=Object.create(THREE.Path.prototype);
THREE.Shape.prototype.extrude=function(a){return new THREE.ExtrudeGeometry(this,a)};THREE.Shape.prototype.makeGeometry=function(a){return new THREE.ShapeGeometry(this,a)};THREE.Shape.prototype.getPointsHoles=function(a){var b,c=this.holes.length,d=[];for(b=0;b<c;b++)d[b]=this.holes[b].getTransformedPoints(a,this.bends);return d};THREE.Shape.prototype.getSpacedPointsHoles=function(a){var b,c=this.holes.length,d=[];for(b=0;b<c;b++)d[b]=this.holes[b].getTransformedSpacedPoints(a,this.bends);return d};
THREE.Shape.prototype.extractAllPoints=function(a){return{shape:this.getTransformedPoints(a),holes:this.getPointsHoles(a)}};THREE.Shape.prototype.extractPoints=function(a){return this.useSpacedPoints?this.extractAllSpacedPoints(a):this.extractAllPoints(a)};THREE.Shape.prototype.extractAllSpacedPoints=function(a){return{shape:this.getTransformedSpacedPoints(a),holes:this.getSpacedPointsHoles(a)}};
THREE.Shape.Utils={removeHoles:function(a,b){var c=a.concat(),d=c.concat(),e,f,g,h,i,j,l,m,n,p,o=[];for(i=0;i<b.length;i++){j=b[i];Array.prototype.push.apply(d,j);f=Number.POSITIVE_INFINITY;for(e=0;e<j.length;e++){n=j[e];p=[];for(m=0;m<c.length;m++)l=c[m],l=n.distanceToSquared(l),p.push(l),l<f&&(f=l,g=e,h=m)}e=0<=h-1?h-1:c.length-1;f=0<=g-1?g-1:j.length-1;var s=[j[g],c[h],c[e]];m=THREE.FontUtils.Triangulate.area(s);var t=[j[g],j[f],c[h]];n=THREE.FontUtils.Triangulate.area(t);p=h;l=g;h+=1;g+=-1;0>
h&&(h+=c.length);h%=c.length;0>g&&(g+=j.length);g%=j.length;e=0<=h-1?h-1:c.length-1;f=0<=g-1?g-1:j.length-1;s=[j[g],c[h],c[e]];s=THREE.FontUtils.Triangulate.area(s);t=[j[g],j[f],c[h]];t=THREE.FontUtils.Triangulate.area(t);m+n>s+t&&(h=p,g=l,0>h&&(h+=c.length),h%=c.length,0>g&&(g+=j.length),g%=j.length,e=0<=h-1?h-1:c.length-1,f=0<=g-1?g-1:j.length-1);m=c.slice(0,h);n=c.slice(h);p=j.slice(g);l=j.slice(0,g);f=[j[g],j[f],c[h]];o.push([j[g],c[h],c[e]]);o.push(f);c=m.concat(p).concat(l).concat(n)}return{shape:c,
isolatedPts:o,allpoints:d}},triangulateShape:function(a,b){var c=THREE.Shape.Utils.removeHoles(a,b),d=c.allpoints,e=c.isolatedPts,c=THREE.FontUtils.Triangulate(c.shape,!1),f,g,h,i,j={};f=0;for(g=d.length;f<g;f++)i=d[f].x+":"+d[f].y,void 0!==j[i]&&console.log("Duplicate point",i),j[i]=f;f=0;for(g=c.length;f<g;f++){h=c[f];for(d=0;3>d;d++)i=h[d].x+":"+h[d].y,i=j[i],void 0!==i&&(h[d]=i)}f=0;for(g=e.length;f<g;f++){h=e[f];for(d=0;3>d;d++)i=h[d].x+":"+h[d].y,i=j[i],void 0!==i&&(h[d]=i)}return c.concat(e)},
isClockWise:function(a){return 0>THREE.FontUtils.Triangulate.area(a)},b2p0:function(a,b){var c=1-a;return c*c*b},b2p1:function(a,b){return 2*(1-a)*a*b},b2p2:function(a,b){return a*a*b},b2:function(a,b,c,d){return this.b2p0(a,b)+this.b2p1(a,c)+this.b2p2(a,d)},b3p0:function(a,b){var c=1-a;return c*c*c*b},b3p1:function(a,b){var c=1-a;return 3*c*c*a*b},b3p2:function(a,b){return 3*(1-a)*a*a*b},b3p3:function(a,b){return a*a*a*b},b3:function(a,b,c,d,e){return this.b3p0(a,b)+this.b3p1(a,c)+this.b3p2(a,d)+
this.b3p3(a,e)}};
THREE.AnimationHandler=function(){var a=[],b={},c={update:function(b){for(var c=0;c<a.length;c++)a[c].update(b)},addToUpdate:function(b){-1===a.indexOf(b)&&a.push(b)},removeFromUpdate:function(b){b=a.indexOf(b);-1!==b&&a.splice(b,1)},add:function(a){void 0!==b[a.name]&&console.log("THREE.AnimationHandler.add: Warning! "+a.name+" already exists in library. Overwriting.");b[a.name]=a;if(!0!==a.initialized){for(var c=0;c<a.hierarchy.length;c++){for(var d=0;d<a.hierarchy[c].keys.length;d++)if(0>a.hierarchy[c].keys[d].time&&
(a.hierarchy[c].keys[d].time=0),void 0!==a.hierarchy[c].keys[d].rot&&!(a.hierarchy[c].keys[d].rot instanceof THREE.Quaternion)){var h=a.hierarchy[c].keys[d].rot;a.hierarchy[c].keys[d].rot=new THREE.Quaternion(h[0],h[1],h[2],h[3])}if(a.hierarchy[c].keys.length&&void 0!==a.hierarchy[c].keys[0].morphTargets){h={};for(d=0;d<a.hierarchy[c].keys.length;d++)for(var i=0;i<a.hierarchy[c].keys[d].morphTargets.length;i++){var j=a.hierarchy[c].keys[d].morphTargets[i];h[j]=-1}a.hierarchy[c].usedMorphTargets=h;
for(d=0;d<a.hierarchy[c].keys.length;d++){var l={};for(j in h){for(i=0;i<a.hierarchy[c].keys[d].morphTargets.length;i++)if(a.hierarchy[c].keys[d].morphTargets[i]===j){l[j]=a.hierarchy[c].keys[d].morphTargetsInfluences[i];break}i===a.hierarchy[c].keys[d].morphTargets.length&&(l[j]=0)}a.hierarchy[c].keys[d].morphTargetsInfluences=l}}for(d=1;d<a.hierarchy[c].keys.length;d++)a.hierarchy[c].keys[d].time===a.hierarchy[c].keys[d-1].time&&(a.hierarchy[c].keys.splice(d,1),d--);for(d=0;d<a.hierarchy[c].keys.length;d++)a.hierarchy[c].keys[d].index=
d}d=parseInt(a.length*a.fps,10);a.JIT={};a.JIT.hierarchy=[];for(c=0;c<a.hierarchy.length;c++)a.JIT.hierarchy.push(Array(d));a.initialized=!0}},get:function(a){if("string"===typeof a){if(b[a])return b[a];console.log("THREE.AnimationHandler.get: Couldn't find animation "+a);return null}},parse:function(a){var b=[];if(a instanceof THREE.SkinnedMesh)for(var c=0;c<a.bones.length;c++)b.push(a.bones[c]);else d(a,b);return b}},d=function(a,b){b.push(a);for(var c=0;c<a.children.length;c++)d(a.children[c],
b)};c.LINEAR=0;c.CATMULLROM=1;c.CATMULLROM_FORWARD=2;return c}();THREE.Animation=function(a,b,c){this.root=a;this.data=THREE.AnimationHandler.get(b);this.hierarchy=THREE.AnimationHandler.parse(a);this.currentTime=0;this.timeScale=1;this.isPlaying=!1;this.loop=this.isPaused=!0;this.interpolationType=void 0!==c?c:THREE.AnimationHandler.LINEAR;this.points=[];this.target=new THREE.Vector3};
THREE.Animation.prototype.play=function(a,b){if(!1===this.isPlaying){this.isPlaying=!0;this.loop=void 0!==a?a:!0;this.currentTime=void 0!==b?b:0;var c,d=this.hierarchy.length,e;for(c=0;c<d;c++){e=this.hierarchy[c];this.interpolationType!==THREE.AnimationHandler.CATMULLROM_FORWARD&&(e.useQuaternion=!0);e.matrixAutoUpdate=!0;void 0===e.animationCache&&(e.animationCache={},e.animationCache.prevKey={pos:0,rot:0,scl:0},e.animationCache.nextKey={pos:0,rot:0,scl:0},e.animationCache.originalMatrix=e instanceof
THREE.Bone?e.skinMatrix:e.matrix);var f=e.animationCache.prevKey;e=e.animationCache.nextKey;f.pos=this.data.hierarchy[c].keys[0];f.rot=this.data.hierarchy[c].keys[0];f.scl=this.data.hierarchy[c].keys[0];e.pos=this.getNextKeyWith("pos",c,1);e.rot=this.getNextKeyWith("rot",c,1);e.scl=this.getNextKeyWith("scl",c,1)}this.update(0)}this.isPaused=!1;THREE.AnimationHandler.addToUpdate(this)};
THREE.Animation.prototype.pause=function(){!0===this.isPaused?THREE.AnimationHandler.addToUpdate(this):THREE.AnimationHandler.removeFromUpdate(this);this.isPaused=!this.isPaused};THREE.Animation.prototype.stop=function(){this.isPaused=this.isPlaying=!1;THREE.AnimationHandler.removeFromUpdate(this)};
THREE.Animation.prototype.update=function(a){if(!1!==this.isPlaying){var b=["pos","rot","scl"],c,d,e,f,g,h,i,j,l;l=this.currentTime+=a*this.timeScale;j=this.currentTime%=this.data.length;parseInt(Math.min(j*this.data.fps,this.data.length*this.data.fps),10);for(var m=0,n=this.hierarchy.length;m<n;m++){a=this.hierarchy[m];i=a.animationCache;for(var p=0;3>p;p++){c=b[p];g=i.prevKey[c];h=i.nextKey[c];if(h.time<=l){if(j<l)if(this.loop){g=this.data.hierarchy[m].keys[0];for(h=this.getNextKeyWith(c,m,1);h.time<
j;)g=h,h=this.getNextKeyWith(c,m,h.index+1)}else{this.stop();return}else{do g=h,h=this.getNextKeyWith(c,m,h.index+1);while(h.time<j)}i.prevKey[c]=g;i.nextKey[c]=h}a.matrixAutoUpdate=!0;a.matrixWorldNeedsUpdate=!0;d=(j-g.time)/(h.time-g.time);e=g[c];f=h[c];if(0>d||1<d)console.log("THREE.Animation.update: Warning! Scale out of bounds:"+d+" on bone "+m),d=0>d?0:1;if("pos"===c)if(c=a.position,this.interpolationType===THREE.AnimationHandler.LINEAR)c.x=e[0]+(f[0]-e[0])*d,c.y=e[1]+(f[1]-e[1])*d,c.z=e[2]+
(f[2]-e[2])*d;else{if(this.interpolationType===THREE.AnimationHandler.CATMULLROM||this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD)this.points[0]=this.getPrevKeyWith("pos",m,g.index-1).pos,this.points[1]=e,this.points[2]=f,this.points[3]=this.getNextKeyWith("pos",m,h.index+1).pos,d=0.33*d+0.33,e=this.interpolateCatmullRom(this.points,d),c.x=e[0],c.y=e[1],c.z=e[2],this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD&&(d=this.interpolateCatmullRom(this.points,1.01*d),
this.target.set(d[0],d[1],d[2]),this.target.subSelf(c),this.target.y=0,this.target.normalize(),d=Math.atan2(this.target.x,this.target.z),a.rotation.set(0,d,0))}else"rot"===c?THREE.Quaternion.slerp(e,f,a.quaternion,d):"scl"===c&&(c=a.scale,c.x=e[0]+(f[0]-e[0])*d,c.y=e[1]+(f[1]-e[1])*d,c.z=e[2]+(f[2]-e[2])*d)}}}};
THREE.Animation.prototype.interpolateCatmullRom=function(a,b){var c=[],d=[],e,f,g,h,i,j;e=(a.length-1)*b;f=Math.floor(e);e-=f;c[0]=0===f?f:f-1;c[1]=f;c[2]=f>a.length-2?f:f+1;c[3]=f>a.length-3?f:f+2;f=a[c[0]];h=a[c[1]];i=a[c[2]];j=a[c[3]];c=e*e;g=e*c;d[0]=this.interpolate(f[0],h[0],i[0],j[0],e,c,g);d[1]=this.interpolate(f[1],h[1],i[1],j[1],e,c,g);d[2]=this.interpolate(f[2],h[2],i[2],j[2],e,c,g);return d};
THREE.Animation.prototype.interpolate=function(a,b,c,d,e,f,g){a=0.5*(c-a);d=0.5*(d-b);return(2*(b-c)+a+d)*g+(-3*(b-c)-2*a-d)*f+a*e+b};THREE.Animation.prototype.getNextKeyWith=function(a,b,c){for(var d=this.data.hierarchy[b].keys,c=this.interpolationType===THREE.AnimationHandler.CATMULLROM||this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD?c<d.length-1?c:d.length-1:c%d.length;c<d.length;c++)if(void 0!==d[c][a])return d[c];return this.data.hierarchy[b].keys[0]};
THREE.Animation.prototype.getPrevKeyWith=function(a,b,c){for(var d=this.data.hierarchy[b].keys,c=this.interpolationType===THREE.AnimationHandler.CATMULLROM||this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD?0<c?c:0:0<=c?c:c+d.length;0<=c;c--)if(void 0!==d[c][a])return d[c];return this.data.hierarchy[b].keys[d.length-1]};
THREE.KeyFrameAnimation=function(a,b,c){this.root=a;this.data=THREE.AnimationHandler.get(b);this.hierarchy=THREE.AnimationHandler.parse(a);this.currentTime=0;this.timeScale=0.001;this.isPlaying=!1;this.loop=this.isPaused=!0;this.JITCompile=void 0!==c?c:!0;a=0;for(b=this.hierarchy.length;a<b;a++){var c=this.data.hierarchy[a].sids,d=this.hierarchy[a];if(this.data.hierarchy[a].keys.length&&c){for(var e=0;e<c.length;e++){var f=c[e],g=this.getNextKeyWith(f,a,0);g&&g.apply(f)}d.matrixAutoUpdate=!1;this.data.hierarchy[a].node.updateMatrix();
d.matrixWorldNeedsUpdate=!0}}};
THREE.KeyFrameAnimation.prototype.play=function(a,b){if(!this.isPlaying){this.isPlaying=!0;this.loop=void 0!==a?a:!0;this.currentTime=void 0!==b?b:0;this.startTimeMs=b;this.startTime=1E7;this.endTime=-this.startTime;var c,d=this.hierarchy.length,e,f;for(c=0;c<d;c++)if(e=this.hierarchy[c],f=this.data.hierarchy[c],e.useQuaternion=!0,void 0===f.animationCache&&(f.animationCache={},f.animationCache.prevKey=null,f.animationCache.nextKey=null,f.animationCache.originalMatrix=e instanceof THREE.Bone?e.skinMatrix:
e.matrix),e=this.data.hierarchy[c].keys,e.length)f.animationCache.prevKey=e[0],f.animationCache.nextKey=e[1],this.startTime=Math.min(e[0].time,this.startTime),this.endTime=Math.max(e[e.length-1].time,this.endTime);this.update(0)}this.isPaused=!1;THREE.AnimationHandler.addToUpdate(this)};THREE.KeyFrameAnimation.prototype.pause=function(){this.isPaused?THREE.AnimationHandler.addToUpdate(this):THREE.AnimationHandler.removeFromUpdate(this);this.isPaused=!this.isPaused};
THREE.KeyFrameAnimation.prototype.stop=function(){this.isPaused=this.isPlaying=!1;THREE.AnimationHandler.removeFromUpdate(this);for(var a=0;a<this.data.hierarchy.length;a++){var b=this.hierarchy[a],c=this.data.hierarchy[a];if(void 0!==c.animationCache){var d=c.animationCache.originalMatrix;b instanceof THREE.Bone?(d.copy(b.skinMatrix),b.skinMatrix=d):(d.copy(b.matrix),b.matrix=d);delete c.animationCache}}};
THREE.KeyFrameAnimation.prototype.update=function(a){if(this.isPlaying){var b,c,d,e,f=this.data.JIT.hierarchy,g,h,i;h=this.currentTime+=a*this.timeScale;g=this.currentTime%=this.data.length;g<this.startTimeMs&&(g=this.currentTime=this.startTimeMs+g);e=parseInt(Math.min(g*this.data.fps,this.data.length*this.data.fps),10);if((i=g<h)&&!this.loop){for(var a=0,j=this.hierarchy.length;a<j;a++){var l=this.data.hierarchy[a].keys,f=this.data.hierarchy[a].sids;d=l.length-1;e=this.hierarchy[a];if(l.length){for(l=
0;l<f.length;l++)g=f[l],(h=this.getPrevKeyWith(g,a,d))&&h.apply(g);this.data.hierarchy[a].node.updateMatrix();e.matrixWorldNeedsUpdate=!0}}this.stop()}else if(!(g<this.startTime)){a=0;for(j=this.hierarchy.length;a<j;a++){d=this.hierarchy[a];b=this.data.hierarchy[a];var l=b.keys,m=b.animationCache;if(this.JITCompile&&void 0!==f[a][e])d instanceof THREE.Bone?(d.skinMatrix=f[a][e],d.matrixWorldNeedsUpdate=!1):(d.matrix=f[a][e],d.matrixWorldNeedsUpdate=!0);else if(l.length){this.JITCompile&&m&&(d instanceof
THREE.Bone?d.skinMatrix=m.originalMatrix:d.matrix=m.originalMatrix);b=m.prevKey;c=m.nextKey;if(b&&c){if(c.time<=h){if(i&&this.loop){b=l[0];for(c=l[1];c.time<g;)b=c,c=l[b.index+1]}else if(!i)for(var n=l.length-1;c.time<g&&c.index!==n;)b=c,c=l[b.index+1];m.prevKey=b;m.nextKey=c}c.time>=g?b.interpolate(c,g):b.interpolate(c,c.time)}this.data.hierarchy[a].node.updateMatrix();d.matrixWorldNeedsUpdate=!0}}if(this.JITCompile&&void 0===f[0][e]){this.hierarchy[0].updateMatrixWorld(!0);for(a=0;a<this.hierarchy.length;a++)f[a][e]=
this.hierarchy[a]instanceof THREE.Bone?this.hierarchy[a].skinMatrix.clone():this.hierarchy[a].matrix.clone()}}}};THREE.KeyFrameAnimation.prototype.getNextKeyWith=function(a,b,c){b=this.data.hierarchy[b].keys;for(c%=b.length;c<b.length;c++)if(b[c].hasTarget(a))return b[c];return b[0]};THREE.KeyFrameAnimation.prototype.getPrevKeyWith=function(a,b,c){b=this.data.hierarchy[b].keys;for(c=0<=c?c:c+b.length;0<=c;c--)if(b[c].hasTarget(a))return b[c];return b[b.length-1]};
THREE.CubeCamera=function(a,b,c){THREE.Object3D.call(this);var d=new THREE.PerspectiveCamera(90,1,a,b);d.up.set(0,-1,0);d.lookAt(new THREE.Vector3(1,0,0));this.add(d);var e=new THREE.PerspectiveCamera(90,1,a,b);e.up.set(0,-1,0);e.lookAt(new THREE.Vector3(-1,0,0));this.add(e);var f=new THREE.PerspectiveCamera(90,1,a,b);f.up.set(0,0,1);f.lookAt(new THREE.Vector3(0,1,0));this.add(f);var g=new THREE.PerspectiveCamera(90,1,a,b);g.up.set(0,0,-1);g.lookAt(new THREE.Vector3(0,-1,0));this.add(g);var h=new THREE.PerspectiveCamera(90,
1,a,b);h.up.set(0,-1,0);h.lookAt(new THREE.Vector3(0,0,1));this.add(h);var i=new THREE.PerspectiveCamera(90,1,a,b);i.up.set(0,-1,0);i.lookAt(new THREE.Vector3(0,0,-1));this.add(i);this.renderTarget=new THREE.WebGLRenderTargetCube(c,c,{format:THREE.RGBFormat,magFilter:THREE.LinearFilter,minFilter:THREE.LinearFilter});this.updateCubeMap=function(a,b){var c=this.renderTarget,n=c.generateMipmaps;c.generateMipmaps=!1;c.activeCubeFace=0;a.render(b,d,c);c.activeCubeFace=1;a.render(b,e,c);c.activeCubeFace=
2;a.render(b,f,c);c.activeCubeFace=3;a.render(b,g,c);c.activeCubeFace=4;a.render(b,h,c);c.generateMipmaps=n;c.activeCubeFace=5;a.render(b,i,c)}};THREE.CubeCamera.prototype=Object.create(THREE.Object3D.prototype);THREE.CombinedCamera=function(a,b,c,d,e,f,g){THREE.Camera.call(this);this.fov=c;this.left=-a/2;this.right=a/2;this.top=b/2;this.bottom=-b/2;this.cameraO=new THREE.OrthographicCamera(a/-2,a/2,b/2,b/-2,f,g);this.cameraP=new THREE.PerspectiveCamera(c,a/b,d,e);this.zoom=1;this.toPerspective()};
THREE.CombinedCamera.prototype=Object.create(THREE.Camera.prototype);THREE.CombinedCamera.prototype.toPerspective=function(){this.near=this.cameraP.near;this.far=this.cameraP.far;this.cameraP.fov=this.fov/this.zoom;this.cameraP.updateProjectionMatrix();this.projectionMatrix=this.cameraP.projectionMatrix;this.inPerspectiveMode=!0;this.inOrthographicMode=!1};
THREE.CombinedCamera.prototype.toOrthographic=function(){var a=this.cameraP.aspect,b=(this.cameraP.near+this.cameraP.far)/2,b=Math.tan(this.fov/2)*b,a=2*b*a/2,b=b/this.zoom,a=a/this.zoom;this.cameraO.left=-a;this.cameraO.right=a;this.cameraO.top=b;this.cameraO.bottom=-b;this.cameraO.updateProjectionMatrix();this.near=this.cameraO.near;this.far=this.cameraO.far;this.projectionMatrix=this.cameraO.projectionMatrix;this.inPerspectiveMode=!1;this.inOrthographicMode=!0};
THREE.CombinedCamera.prototype.setSize=function(a,b){this.cameraP.aspect=a/b;this.left=-a/2;this.right=a/2;this.top=b/2;this.bottom=-b/2};THREE.CombinedCamera.prototype.setFov=function(a){this.fov=a;this.inPerspectiveMode?this.toPerspective():this.toOrthographic()};THREE.CombinedCamera.prototype.updateProjectionMatrix=function(){this.inPerspectiveMode?this.toPerspective():(this.toPerspective(),this.toOrthographic())};
THREE.CombinedCamera.prototype.setLens=function(a,b){void 0===b&&(b=24);var c=2*Math.atan(b/(2*a))*(180/Math.PI);this.setFov(c);return c};THREE.CombinedCamera.prototype.setZoom=function(a){this.zoom=a;this.inPerspectiveMode?this.toPerspective():this.toOrthographic()};THREE.CombinedCamera.prototype.toFrontView=function(){this.rotation.x=0;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=!1};
THREE.CombinedCamera.prototype.toBackView=function(){this.rotation.x=0;this.rotation.y=Math.PI;this.rotation.z=0;this.rotationAutoUpdate=!1};THREE.CombinedCamera.prototype.toLeftView=function(){this.rotation.x=0;this.rotation.y=-Math.PI/2;this.rotation.z=0;this.rotationAutoUpdate=!1};THREE.CombinedCamera.prototype.toRightView=function(){this.rotation.x=0;this.rotation.y=Math.PI/2;this.rotation.z=0;this.rotationAutoUpdate=!1};
THREE.CombinedCamera.prototype.toTopView=function(){this.rotation.x=-Math.PI/2;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=!1};THREE.CombinedCamera.prototype.toBottomView=function(){this.rotation.x=Math.PI/2;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=!1};
THREE.AsteriskGeometry=function(a,b){THREE.Geometry.call(this);for(var c=0.707*a,d=0.707*b,c=[[a,0,0],[b,0,0],[-a,0,0],[-b,0,0],[0,a,0],[0,b,0],[0,-a,0],[0,-b,0],[0,0,a],[0,0,b],[0,0,-a],[0,0,-b],[c,c,0],[d,d,0],[-c,-c,0],[-d,-d,0],[c,-c,0],[d,-d,0],[-c,c,0],[-d,d,0],[c,0,c],[d,0,d],[-c,0,-c],[-d,0,-d],[c,0,-c],[d,0,-d],[-c,0,c],[-d,0,d],[0,c,c],[0,d,d],[0,-c,-c],[0,-d,-d],[0,c,-c],[0,d,-d],[0,-c,c],[0,-d,d]],d=0,e=c.length;d<e;d++)this.vertices.push(new THREE.Vector3(c[d][0],c[d][1],c[d][2]))};
THREE.AsteriskGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.CircleGeometry=function(a,b,c,d){THREE.Geometry.call(this);var a=a||50,c=void 0!==c?c:0,d=void 0!==d?d:2*Math.PI,b=void 0!==b?Math.max(3,b):8,e,f=[];e=new THREE.Vector3;var g=new THREE.UV(0.5,0.5);this.vertices.push(e);f.push(g);for(e=0;e<=b;e++){var h=new THREE.Vector3;h.x=a*Math.cos(c+e/b*d);h.y=a*Math.sin(c+e/b*d);this.vertices.push(h);f.push(new THREE.UV((h.x/a+1)/2,-(h.y/a+1)/2+1))}c=new THREE.Vector3(0,0,-1);for(e=1;e<=b;e++)this.faces.push(new THREE.Face3(e,e+1,0,[c,c,c])),this.faceVertexUvs[0].push([f[e],
f[e+1],g]);this.computeCentroids();this.computeFaceNormals();this.boundingSphere={radius:a}};THREE.CircleGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.CubeGeometry=function(a,b,c,d,e,f){function g(a,b,c,d,e,f,g,s){var t,r=h.widthSegments,z=h.heightSegments,w=e/2,q=f/2,E=h.vertices.length;if("x"===a&&"y"===b||"y"===a&&"x"===b)t="z";else if("x"===a&&"z"===b||"z"===a&&"x"===b)t="y",z=h.depthSegments;else if("z"===a&&"y"===b||"y"===a&&"z"===b)t="x",r=h.depthSegments;var A=r+1,v=z+1,u=e/r,D=f/z,C=new THREE.Vector3;C[t]=0<g?1:-1;for(e=0;e<v;e++)for(f=0;f<A;f++){var G=new THREE.Vector3;G[a]=(f*u-w)*c;G[b]=(e*D-q)*d;G[t]=g;h.vertices.push(G)}for(e=
0;e<z;e++)for(f=0;f<r;f++)a=new THREE.Face4(f+A*e+E,f+A*(e+1)+E,f+1+A*(e+1)+E,f+1+A*e+E),a.normal.copy(C),a.vertexNormals.push(C.clone(),C.clone(),C.clone(),C.clone()),a.materialIndex=s,h.faces.push(a),h.faceVertexUvs[0].push([new THREE.UV(f/r,1-e/z),new THREE.UV(f/r,1-(e+1)/z),new THREE.UV((f+1)/r,1-(e+1)/z),new THREE.UV((f+1)/r,1-e/z)])}THREE.Geometry.call(this);var h=this;this.width=a;this.height=b;this.depth=c;this.widthSegments=d||1;this.heightSegments=e||1;this.depthSegments=f||1;a=this.width/
2;b=this.height/2;c=this.depth/2;g("z","y",-1,-1,this.depth,this.height,a,0);g("z","y",1,-1,this.depth,this.height,-a,1);g("x","z",1,1,this.width,this.depth,b,2);g("x","z",1,-1,this.width,this.depth,-b,3);g("x","y",1,-1,this.width,this.height,c,4);g("x","y",-1,-1,this.width,this.height,-c,5);this.computeCentroids();this.mergeVertices()};THREE.CubeGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.CylinderGeometry=function(a,b,c,d,e,f){THREE.Geometry.call(this);var a=void 0!==a?a:20,b=void 0!==b?b:20,c=void 0!==c?c:100,g=c/2,d=d||8,e=e||1,h,i,j=[],l=[];for(i=0;i<=e;i++){var m=[],n=[],p=i/e,o=p*(b-a)+a;for(h=0;h<=d;h++){var s=h/d,t=new THREE.Vector3;t.x=o*Math.sin(2*s*Math.PI);t.y=-p*c+g;t.z=o*Math.cos(2*s*Math.PI);this.vertices.push(t);m.push(this.vertices.length-1);n.push(new THREE.UV(s,1-p))}j.push(m);l.push(n)}c=(b-a)/c;for(h=0;h<d;h++){0!==a?(m=this.vertices[j[0][h]].clone(),n=this.vertices[j[0][h+
1]].clone()):(m=this.vertices[j[1][h]].clone(),n=this.vertices[j[1][h+1]].clone());m.setY(Math.sqrt(m.x*m.x+m.z*m.z)*c).normalize();n.setY(Math.sqrt(n.x*n.x+n.z*n.z)*c).normalize();for(i=0;i<e;i++){var p=j[i][h],o=j[i+1][h],s=j[i+1][h+1],t=j[i][h+1],r=m.clone(),z=m.clone(),w=n.clone(),q=n.clone(),E=l[i][h].clone(),A=l[i+1][h].clone(),v=l[i+1][h+1].clone(),u=l[i][h+1].clone();this.faces.push(new THREE.Face4(p,o,s,t,[r,z,w,q]));this.faceVertexUvs[0].push([E,A,v,u])}}if(!f&&0<a){this.vertices.push(new THREE.Vector3(0,
g,0));for(h=0;h<d;h++)p=j[0][h],o=j[0][h+1],s=this.vertices.length-1,r=new THREE.Vector3(0,1,0),z=new THREE.Vector3(0,1,0),w=new THREE.Vector3(0,1,0),E=l[0][h].clone(),A=l[0][h+1].clone(),v=new THREE.UV(A.u,0),this.faces.push(new THREE.Face3(p,o,s,[r,z,w])),this.faceVertexUvs[0].push([E,A,v])}if(!f&&0<b){this.vertices.push(new THREE.Vector3(0,-g,0));for(h=0;h<d;h++)p=j[i][h+1],o=j[i][h],s=this.vertices.length-1,r=new THREE.Vector3(0,-1,0),z=new THREE.Vector3(0,-1,0),w=new THREE.Vector3(0,-1,0),E=
l[i][h+1].clone(),A=l[i][h].clone(),v=new THREE.UV(A.u,1),this.faces.push(new THREE.Face3(p,o,s,[r,z,w])),this.faceVertexUvs[0].push([E,A,v])}this.computeCentroids();this.computeFaceNormals()};THREE.CylinderGeometry.prototype=Object.create(THREE.Geometry.prototype);THREE.ExtrudeGeometry=function(a,b){"undefined"!==typeof a&&(THREE.Geometry.call(this),a=a instanceof Array?a:[a],this.shapebb=a[a.length-1].getBoundingBox(),this.addShapeList(a,b),this.computeCentroids(),this.computeFaceNormals())};
THREE.ExtrudeGeometry.prototype=Object.create(THREE.Geometry.prototype);THREE.ExtrudeGeometry.prototype.addShapeList=function(a,b){for(var c=a.length,d=0;d<c;d++)this.addShape(a[d],b)};
THREE.ExtrudeGeometry.prototype.addShape=function(a,b){function c(a,b,c){b||console.log("die");return b.clone().multiplyScalar(c).addSelf(a)}function d(a,b,c){var d=THREE.ExtrudeGeometry.__v1,e=THREE.ExtrudeGeometry.__v2,f=THREE.ExtrudeGeometry.__v3,g=THREE.ExtrudeGeometry.__v4,h=THREE.ExtrudeGeometry.__v5,i=THREE.ExtrudeGeometry.__v6;d.set(a.x-b.x,a.y-b.y);e.set(a.x-c.x,a.y-c.y);d=d.normalize();e=e.normalize();f.set(-d.y,d.x);g.set(e.y,-e.x);h.copy(a).addSelf(f);i.copy(a).addSelf(g);if(h.equals(i))return g.clone();
h.copy(b).addSelf(f);i.copy(c).addSelf(g);f=d.dot(g);g=i.subSelf(h).dot(g);0===f&&(console.log("Either infinite or no solutions!"),0===g?console.log("Its finite solutions."):console.log("Too bad, no solutions."));g/=f;return 0>g?(b=Math.atan2(b.y-a.y,b.x-a.x),a=Math.atan2(c.y-a.y,c.x-a.x),b>a&&(a+=2*Math.PI),c=(b+a)/2,a=-Math.cos(c),c=-Math.sin(c),new THREE.Vector2(a,c)):d.multiplyScalar(g).addSelf(h).subSelf(a).clone()}function e(c,d){var e,f;for(J=c.length;0<=--J;){e=J;f=J-1;0>f&&(f=c.length-1);
for(var g=0,h=n+2*l,g=0;g<h;g++){var i=R*g,j=R*(g+1),m=d+e+i,i=d+f+i,o=d+f+j,j=d+e+j,p=c,s=g,q=h,t=e,u=f,m=m+G,i=i+G,o=o+G,j=j+G;C.faces.push(new THREE.Face4(m,i,o,j,null,null,r));m=z.generateSideWallUV(C,a,p,b,m,i,o,j,s,q,t,u);C.faceVertexUvs[0].push(m)}}}function f(a,b,c){C.vertices.push(new THREE.Vector3(a,b,c))}function g(c,d,e,f){c+=G;d+=G;e+=G;C.faces.push(new THREE.Face3(c,d,e,null,null,t));c=f?z.generateBottomUV(C,a,b,c,d,e):z.generateTopUV(C,a,b,c,d,e);C.faceVertexUvs[0].push(c)}var h=void 0!==
b.amount?b.amount:100,i=void 0!==b.bevelThickness?b.bevelThickness:6,j=void 0!==b.bevelSize?b.bevelSize:i-2,l=void 0!==b.bevelSegments?b.bevelSegments:3,m=void 0!==b.bevelEnabled?b.bevelEnabled:!0,n=void 0!==b.steps?b.steps:1,p=b.extrudePath,o,s=!1,t=b.material,r=b.extrudeMaterial,z=void 0!==b.UVGenerator?b.UVGenerator:THREE.ExtrudeGeometry.WorldUVGenerator,w,q,E,A;p&&(o=p.getSpacedPoints(n),s=!0,m=!1,w=void 0!==b.frames?b.frames:new THREE.TubeGeometry.FrenetFrames(p,n,!1),q=new THREE.Vector3,E=new THREE.Vector3,
A=new THREE.Vector3);m||(j=i=l=0);var v,u,D,C=this,G=this.vertices.length,p=a.extractPoints(),P=p.shape,p=p.holes,B=!THREE.Shape.Utils.isClockWise(P);if(B){P=P.reverse();u=0;for(D=p.length;u<D;u++)v=p[u],THREE.Shape.Utils.isClockWise(v)&&(p[u]=v.reverse());B=!1}var K=THREE.Shape.Utils.triangulateShape(P,p),B=P;u=0;for(D=p.length;u<D;u++)v=p[u],P=P.concat(v);var H,I,N,O,R=P.length,ga=K.length,M=[],J=0,Q=B.length;H=Q-1;for(I=J+1;J<Q;J++,H++,I++)H===Q&&(H=0),I===Q&&(I=0),M[J]=d(B[J],B[H],B[I]);var Z=
[],L,oa=M.concat();u=0;for(D=p.length;u<D;u++){v=p[u];L=[];J=0;Q=v.length;H=Q-1;for(I=J+1;J<Q;J++,H++,I++)H===Q&&(H=0),I===Q&&(I=0),L[J]=d(v[J],v[H],v[I]);Z.push(L);oa=oa.concat(L)}for(H=0;H<l;H++){v=H/l;N=i*(1-v);I=j*Math.sin(v*Math.PI/2);J=0;for(Q=B.length;J<Q;J++)O=c(B[J],M[J],I),f(O.x,O.y,-N);u=0;for(D=p.length;u<D;u++){v=p[u];L=Z[u];J=0;for(Q=v.length;J<Q;J++)O=c(v[J],L[J],I),f(O.x,O.y,-N)}}I=j;for(J=0;J<R;J++)O=m?c(P[J],oa[J],I):P[J],s?(E.copy(w.normals[0]).multiplyScalar(O.x),q.copy(w.binormals[0]).multiplyScalar(O.y),
A.copy(o[0]).addSelf(E).addSelf(q),f(A.x,A.y,A.z)):f(O.x,O.y,0);for(v=1;v<=n;v++)for(J=0;J<R;J++)O=m?c(P[J],oa[J],I):P[J],s?(E.copy(w.normals[v]).multiplyScalar(O.x),q.copy(w.binormals[v]).multiplyScalar(O.y),A.copy(o[v]).addSelf(E).addSelf(q),f(A.x,A.y,A.z)):f(O.x,O.y,h/n*v);for(H=l-1;0<=H;H--){v=H/l;N=i*(1-v);I=j*Math.sin(v*Math.PI/2);J=0;for(Q=B.length;J<Q;J++)O=c(B[J],M[J],I),f(O.x,O.y,h+N);u=0;for(D=p.length;u<D;u++){v=p[u];L=Z[u];J=0;for(Q=v.length;J<Q;J++)O=c(v[J],L[J],I),s?f(O.x,O.y+o[n-1].y,
o[n-1].x+N):f(O.x,O.y,h+N)}}if(m){i=0*R;for(J=0;J<ga;J++)h=K[J],g(h[2]+i,h[1]+i,h[0]+i,!0);i=R*(n+2*l);for(J=0;J<ga;J++)h=K[J],g(h[0]+i,h[1]+i,h[2]+i,!1)}else{for(J=0;J<ga;J++)h=K[J],g(h[2],h[1],h[0],!0);for(J=0;J<ga;J++)h=K[J],g(h[0]+R*n,h[1]+R*n,h[2]+R*n,!1)}h=0;e(B,h);h+=B.length;u=0;for(D=p.length;u<D;u++)v=p[u],e(v,h),h+=v.length};
THREE.ExtrudeGeometry.WorldUVGenerator={generateTopUV:function(a,b,c,d,e,f){b=a.vertices[e].x;e=a.vertices[e].y;c=a.vertices[f].x;f=a.vertices[f].y;return[new THREE.UV(a.vertices[d].x,a.vertices[d].y),new THREE.UV(b,e),new THREE.UV(c,f)]},generateBottomUV:function(a,b,c,d,e,f){return this.generateTopUV(a,b,c,d,e,f)},generateSideWallUV:function(a,b,c,d,e,f,g,h){var b=a.vertices[e].x,c=a.vertices[e].y,e=a.vertices[e].z,d=a.vertices[f].x,i=a.vertices[f].y,f=a.vertices[f].z,j=a.vertices[g].x,l=a.vertices[g].y,
g=a.vertices[g].z,m=a.vertices[h].x,n=a.vertices[h].y,a=a.vertices[h].z;return 0.01>Math.abs(c-i)?[new THREE.UV(b,1-e),new THREE.UV(d,1-f),new THREE.UV(j,1-g),new THREE.UV(m,1-a)]:[new THREE.UV(c,1-e),new THREE.UV(i,1-f),new THREE.UV(l,1-g),new THREE.UV(n,1-a)]}};THREE.ExtrudeGeometry.__v1=new THREE.Vector2;THREE.ExtrudeGeometry.__v2=new THREE.Vector2;THREE.ExtrudeGeometry.__v3=new THREE.Vector2;THREE.ExtrudeGeometry.__v4=new THREE.Vector2;THREE.ExtrudeGeometry.__v5=new THREE.Vector2;
THREE.ExtrudeGeometry.__v6=new THREE.Vector2;THREE.ShapeGeometry=function(a,b){THREE.Geometry.call(this);!1===a instanceof Array&&(a=[a]);this.shapebb=a[a.length-1].getBoundingBox();this.addShapeList(a,b);this.computeCentroids();this.computeFaceNormals()};THREE.ShapeGeometry.prototype=Object.create(THREE.Geometry.prototype);THREE.ShapeGeometry.prototype.addShapeList=function(a,b){for(var c=0,d=a.length;c<d;c++)this.addShape(a[c],b);return this};
THREE.ShapeGeometry.prototype.addShape=function(a,b){void 0===b&&(b={});var c=b.material,d=void 0===b.UVGenerator?THREE.ExtrudeGeometry.WorldUVGenerator:b.UVGenerator,e,f,g,h=this.vertices.length;e=a.extractPoints();var i=e.shape,j=e.holes;if(!THREE.Shape.Utils.isClockWise(i)){i=i.reverse();e=0;for(f=j.length;e<f;e++)g=j[e],THREE.Shape.Utils.isClockWise(g)&&(j[e]=g.reverse())}var l=THREE.Shape.Utils.triangulateShape(i,j);e=0;for(f=j.length;e<f;e++)g=j[e],i=i.concat(g);j=i.length;f=l.length;for(e=
0;e<j;e++)g=i[e],this.vertices.push(new THREE.Vector3(g.x,g.y,0));for(e=0;e<f;e++)j=l[e],i=j[0]+h,g=j[1]+h,j=j[2]+h,this.faces.push(new THREE.Face3(i,g,j,null,null,c)),this.faceVertexUvs[0].push(d.generateBottomUV(this,a,b,i,g,j))};
THREE.LatheGeometry=function(a,b,c){THREE.Geometry.call(this);for(var b=b||12,c=c||2*Math.PI,d=[],e=(new THREE.Matrix4).makeRotationZ(c/b),f=0;f<a.length;f++)d[f]=a[f].clone(),this.vertices.push(d[f]);for(var g=b+1,c=0;c<g;c++)for(f=0;f<d.length;f++)d[f]=e.multiplyVector3(d[f].clone()),this.vertices.push(d[f]);for(c=0;c<b;c++){d=0;for(e=a.length;d<e-1;d++)this.faces.push(new THREE.Face4(c*e+d,(c+1)%g*e+d,(c+1)%g*e+(d+1)%e,c*e+(d+1)%e)),this.faceVertexUvs[0].push([new THREE.UV(1-c/b,d/e),new THREE.UV(1-
(c+1)/b,d/e),new THREE.UV(1-(c+1)/b,(d+1)/e),new THREE.UV(1-c/b,(d+1)/e)])}this.computeCentroids();this.computeFaceNormals();this.computeVertexNormals()};THREE.LatheGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.PlaneGeometry=function(a,b,c,d){THREE.Geometry.call(this);this.width=a;this.height=b;this.widthSegments=c||1;this.heightSegments=d||1;for(var c=a/2,e=b/2,d=this.widthSegments,f=this.heightSegments,g=d+1,h=f+1,i=this.width/d,j=this.height/f,l=new THREE.Vector3(0,0,1),a=0;a<h;a++)for(b=0;b<g;b++)this.vertices.push(new THREE.Vector3(b*i-c,-(a*j-e),0));for(a=0;a<f;a++)for(b=0;b<d;b++)c=new THREE.Face4(b+g*a,b+g*(a+1),b+1+g*(a+1),b+1+g*a),c.normal.copy(l),c.vertexNormals.push(l.clone(),l.clone(),
l.clone(),l.clone()),this.faces.push(c),this.faceVertexUvs[0].push([new THREE.UV(b/d,1-a/f),new THREE.UV(b/d,1-(a+1)/f),new THREE.UV((b+1)/d,1-(a+1)/f),new THREE.UV((b+1)/d,1-a/f)]);this.computeCentroids()};THREE.PlaneGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.SphereGeometry=function(a,b,c,d,e,f,g){THREE.Geometry.call(this);this.radius=a||50;this.widthSegments=Math.max(3,Math.floor(b)||8);this.heightSegments=Math.max(2,Math.floor(c)||6);for(var d=void 0!==d?d:0,e=void 0!==e?e:2*Math.PI,f=void 0!==f?f:0,g=void 0!==g?g:Math.PI,c=[],h=[],b=0;b<=this.heightSegments;b++){for(var i=[],j=[],a=0;a<=this.widthSegments;a++){var l=a/this.widthSegments,m=b/this.heightSegments,n=new THREE.Vector3;n.x=-this.radius*Math.cos(d+l*e)*Math.sin(f+m*g);n.y=this.radius*
Math.cos(f+m*g);n.z=this.radius*Math.sin(d+l*e)*Math.sin(f+m*g);this.vertices.push(n);i.push(this.vertices.length-1);j.push(new THREE.UV(l,1-m))}c.push(i);h.push(j)}for(b=0;b<this.heightSegments;b++)for(a=0;a<this.widthSegments;a++){var d=c[b][a+1],e=c[b][a],f=c[b+1][a],g=c[b+1][a+1],i=this.vertices[d].clone().normalize(),j=this.vertices[e].clone().normalize(),l=this.vertices[f].clone().normalize(),m=this.vertices[g].clone().normalize(),n=h[b][a+1].clone(),p=h[b][a].clone(),o=h[b+1][a].clone(),s=
h[b+1][a+1].clone();Math.abs(this.vertices[d].y)===this.radius?(this.faces.push(new THREE.Face3(d,f,g,[i,l,m])),this.faceVertexUvs[0].push([n,o,s])):Math.abs(this.vertices[f].y)===this.radius?(this.faces.push(new THREE.Face3(d,e,f,[i,j,l])),this.faceVertexUvs[0].push([n,p,o])):(this.faces.push(new THREE.Face4(d,e,f,g,[i,j,l,m])),this.faceVertexUvs[0].push([n,p,o,s]))}this.computeCentroids();this.computeFaceNormals();this.boundingSphere={radius:this.radius}};THREE.SphereGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.TextGeometry=function(a,b){var c=THREE.FontUtils.generateShapes(a,b);b.amount=void 0!==b.height?b.height:50;void 0===b.bevelThickness&&(b.bevelThickness=10);void 0===b.bevelSize&&(b.bevelSize=8);void 0===b.bevelEnabled&&(b.bevelEnabled=!1);THREE.ExtrudeGeometry.call(this,c,b)};THREE.TextGeometry.prototype=Object.create(THREE.ExtrudeGeometry.prototype);
THREE.TorusGeometry=function(a,b,c,d,e){THREE.Geometry.call(this);this.radius=a||100;this.tube=b||40;this.radialSegments=c||8;this.tubularSegments=d||6;this.arc=e||2*Math.PI;e=new THREE.Vector3;a=[];b=[];for(c=0;c<=this.radialSegments;c++)for(d=0;d<=this.tubularSegments;d++){var f=d/this.tubularSegments*this.arc,g=2*c/this.radialSegments*Math.PI;e.x=this.radius*Math.cos(f);e.y=this.radius*Math.sin(f);var h=new THREE.Vector3;h.x=(this.radius+this.tube*Math.cos(g))*Math.cos(f);h.y=(this.radius+this.tube*
Math.cos(g))*Math.sin(f);h.z=this.tube*Math.sin(g);this.vertices.push(h);a.push(new THREE.UV(d/this.tubularSegments,c/this.radialSegments));b.push(h.clone().subSelf(e).normalize())}for(c=1;c<=this.radialSegments;c++)for(d=1;d<=this.tubularSegments;d++){var e=(this.tubularSegments+1)*c+d-1,f=(this.tubularSegments+1)*(c-1)+d-1,g=(this.tubularSegments+1)*(c-1)+d,h=(this.tubularSegments+1)*c+d,i=new THREE.Face4(e,f,g,h,[b[e],b[f],b[g],b[h]]);i.normal.addSelf(b[e]);i.normal.addSelf(b[f]);i.normal.addSelf(b[g]);
i.normal.addSelf(b[h]);i.normal.normalize();this.faces.push(i);this.faceVertexUvs[0].push([a[e].clone(),a[f].clone(),a[g].clone(),a[h].clone()])}this.computeCentroids()};THREE.TorusGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.TorusKnotGeometry=function(a,b,c,d,e,f,g){function h(a,b,c,d,e,f){var g=Math.cos(a);Math.cos(b);b=Math.sin(a);a*=c/d;c=Math.cos(a);g*=0.5*e*(2+c);b=0.5*e*(2+c)*b;e=0.5*f*e*Math.sin(a);return new THREE.Vector3(g,b,e)}THREE.Geometry.call(this);this.radius=a||200;this.tube=b||40;this.radialSegments=c||64;this.tubularSegments=d||8;this.p=e||2;this.q=f||3;this.heightScale=g||1;this.grid=Array(this.radialSegments);c=new THREE.Vector3;d=new THREE.Vector3;e=new THREE.Vector3;for(a=0;a<this.radialSegments;++a){this.grid[a]=
Array(this.tubularSegments);for(b=0;b<this.tubularSegments;++b){var i=2*(a/this.radialSegments)*this.p*Math.PI,g=2*(b/this.tubularSegments)*Math.PI,f=h(i,g,this.q,this.p,this.radius,this.heightScale),i=h(i+0.01,g,this.q,this.p,this.radius,this.heightScale);c.sub(i,f);d.add(i,f);e.cross(c,d);d.cross(e,c);e.normalize();d.normalize();i=-this.tube*Math.cos(g);g=this.tube*Math.sin(g);f.x+=i*d.x+g*e.x;f.y+=i*d.y+g*e.y;f.z+=i*d.z+g*e.z;this.grid[a][b]=this.vertices.push(new THREE.Vector3(f.x,f.y,f.z))-1}}for(a=
0;a<this.radialSegments;++a)for(b=0;b<this.tubularSegments;++b){var e=(a+1)%this.radialSegments,f=(b+1)%this.tubularSegments,c=this.grid[a][b],d=this.grid[e][b],e=this.grid[e][f],f=this.grid[a][f],g=new THREE.UV(a/this.radialSegments,b/this.tubularSegments),i=new THREE.UV((a+1)/this.radialSegments,b/this.tubularSegments),j=new THREE.UV((a+1)/this.radialSegments,(b+1)/this.tubularSegments),l=new THREE.UV(a/this.radialSegments,(b+1)/this.tubularSegments);this.faces.push(new THREE.Face4(c,d,e,f));this.faceVertexUvs[0].push([g,
i,j,l])}this.computeCentroids();this.computeFaceNormals();this.computeVertexNormals()};THREE.TorusKnotGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.TubeGeometry=function(a,b,c,d,e,f){THREE.Geometry.call(this);this.path=a;this.segments=b||64;this.radius=c||1;this.radiusSegments=d||8;this.closed=e||!1;f&&(this.debug=new THREE.Object3D);this.grid=[];var g,h,f=this.segments+1,i,j,l,m=new THREE.Vector3,n,p,o,b=new THREE.TubeGeometry.FrenetFrames(a,b,e);n=b.tangents;p=b.normals;o=b.binormals;this.tangents=n;this.normals=p;this.binormals=o;for(b=0;b<f;b++){this.grid[b]=[];d=b/(f-1);l=a.getPointAt(d);d=n[b];g=p[b];h=o[b];this.debug&&(this.debug.add(new THREE.ArrowHelper(d,
l,c,255)),this.debug.add(new THREE.ArrowHelper(g,l,c,16711680)),this.debug.add(new THREE.ArrowHelper(h,l,c,65280)));for(d=0;d<this.radiusSegments;d++)i=2*(d/this.radiusSegments)*Math.PI,j=-this.radius*Math.cos(i),i=this.radius*Math.sin(i),m.copy(l),m.x+=j*g.x+i*h.x,m.y+=j*g.y+i*h.y,m.z+=j*g.z+i*h.z,this.grid[b][d]=this.vertices.push(new THREE.Vector3(m.x,m.y,m.z))-1}for(b=0;b<this.segments;b++)for(d=0;d<this.radiusSegments;d++)f=e?(b+1)%this.segments:b+1,m=(d+1)%this.radiusSegments,a=this.grid[b][d],
c=this.grid[f][d],f=this.grid[f][m],m=this.grid[b][m],n=new THREE.UV(b/this.segments,d/this.radiusSegments),p=new THREE.UV((b+1)/this.segments,d/this.radiusSegments),o=new THREE.UV((b+1)/this.segments,(d+1)/this.radiusSegments),g=new THREE.UV(b/this.segments,(d+1)/this.radiusSegments),this.faces.push(new THREE.Face4(a,c,f,m)),this.faceVertexUvs[0].push([n,p,o,g]);this.computeCentroids();this.computeFaceNormals();this.computeVertexNormals()};THREE.TubeGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.TubeGeometry.FrenetFrames=function(a,b,c){new THREE.Vector3;var d=new THREE.Vector3;new THREE.Vector3;var e=[],f=[],g=[],h=new THREE.Vector3,i=new THREE.Matrix4,b=b+1,j,l,m;this.tangents=e;this.normals=f;this.binormals=g;for(j=0;j<b;j++)l=j/(b-1),e[j]=a.getTangentAt(l),e[j].normalize();f[0]=new THREE.Vector3;g[0]=new THREE.Vector3;a=Number.MAX_VALUE;j=Math.abs(e[0].x);l=Math.abs(e[0].y);m=Math.abs(e[0].z);j<=a&&(a=j,d.set(1,0,0));l<=a&&(a=l,d.set(0,1,0));m<=a&&d.set(0,0,1);h.cross(e[0],d).normalize();
f[0].cross(e[0],h);g[0].cross(e[0],f[0]);for(j=1;j<b;j++)f[j]=f[j-1].clone(),g[j]=g[j-1].clone(),h.cross(e[j-1],e[j]),1E-4<h.length()&&(h.normalize(),d=Math.acos(e[j-1].dot(e[j])),i.makeRotationAxis(h,d).multiplyVector3(f[j])),g[j].cross(e[j],f[j]);if(c){d=Math.acos(f[0].dot(f[b-1]));d/=b-1;0<e[0].dot(h.cross(f[0],f[b-1]))&&(d=-d);for(j=1;j<b;j++)i.makeRotationAxis(e[j],d*j).multiplyVector3(f[j]),g[j].cross(e[j],f[j])}};
THREE.PolyhedronGeometry=function(a,b,c,d){function e(a){var b=a.normalize().clone();b.index=i.vertices.push(b)-1;var c=Math.atan2(a.z,-a.x)/2/Math.PI+0.5,a=Math.atan2(-a.y,Math.sqrt(a.x*a.x+a.z*a.z))/Math.PI+0.5;b.uv=new THREE.UV(c,1-a);return b}function f(a,b,c,d){1>d?(d=new THREE.Face3(a.index,b.index,c.index,[a.clone(),b.clone(),c.clone()]),d.centroid.addSelf(a).addSelf(b).addSelf(c).divideScalar(3),d.normal=d.centroid.clone().normalize(),i.faces.push(d),d=Math.atan2(d.centroid.z,-d.centroid.x),
i.faceVertexUvs[0].push([h(a.uv,a,d),h(b.uv,b,d),h(c.uv,c,d)])):(d-=1,f(a,g(a,b),g(a,c),d),f(g(a,b),b,g(b,c),d),f(g(a,c),g(b,c),c,d),f(g(a,b),g(b,c),g(a,c),d))}function g(a,b){m[a.index]||(m[a.index]=[]);m[b.index]||(m[b.index]=[]);var c=m[a.index][b.index];void 0===c&&(m[a.index][b.index]=m[b.index][a.index]=c=e((new THREE.Vector3).add(a,b).divideScalar(2)));return c}function h(a,b,c){0>c&&1===a.u&&(a=new THREE.UV(a.u-1,a.v));0===b.x&&0===b.z&&(a=new THREE.UV(c/2/Math.PI+0.5,a.v));return a}THREE.Geometry.call(this);
for(var c=c||1,d=d||0,i=this,j=0,l=a.length;j<l;j++)e(new THREE.Vector3(a[j][0],a[j][1],a[j][2]));for(var m=[],a=this.vertices,j=0,l=b.length;j<l;j++)f(a[b[j][0]],a[b[j][1]],a[b[j][2]],d);this.mergeVertices();j=0;for(l=this.vertices.length;j<l;j++)this.vertices[j].multiplyScalar(c);this.computeCentroids();this.boundingSphere={radius:c}};THREE.PolyhedronGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.IcosahedronGeometry=function(a,b){var c=(1+Math.sqrt(5))/2;THREE.PolyhedronGeometry.call(this,[[-1,c,0],[1,c,0],[-1,-c,0],[1,-c,0],[0,-1,c],[0,1,c],[0,-1,-c],[0,1,-c],[c,0,-1],[c,0,1],[-c,0,-1],[-c,0,1]],[[0,11,5],[0,5,1],[0,1,7],[0,7,10],[0,10,11],[1,5,9],[5,11,4],[11,10,2],[10,7,6],[7,1,8],[3,9,4],[3,4,2],[3,2,6],[3,6,8],[3,8,9],[4,9,5],[2,4,11],[6,2,10],[8,6,7],[9,8,1]],a,b)};THREE.IcosahedronGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.OctahedronGeometry=function(a,b){THREE.PolyhedronGeometry.call(this,[[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]],[[0,2,4],[0,4,3],[0,3,5],[0,5,2],[1,2,5],[1,5,3],[1,3,4],[1,4,2]],a,b)};THREE.OctahedronGeometry.prototype=Object.create(THREE.Geometry.prototype);THREE.TetrahedronGeometry=function(a,b){THREE.PolyhedronGeometry.call(this,[[1,1,1],[-1,-1,1],[-1,1,-1],[1,-1,-1]],[[2,1,0],[0,3,2],[1,3,0],[2,3,1]],a,b)};THREE.TetrahedronGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.ParametricGeometry=function(a,b,c,d){THREE.Geometry.call(this);var e=this.vertices,f=this.faces,g=this.faceVertexUvs[0],d=void 0===d?!1:d,h,i,j,l,m=b+1;for(h=0;h<=c;h++){l=h/c;for(i=0;i<=b;i++)j=i/b,j=a(j,l),e.push(j)}var n,p,o,s;for(h=0;h<c;h++)for(i=0;i<b;i++)a=h*m+i,e=h*m+i+1,l=(h+1)*m+i,j=(h+1)*m+i+1,n=new THREE.UV(i/b,h/c),p=new THREE.UV((i+1)/b,h/c),o=new THREE.UV(i/b,(h+1)/c),s=new THREE.UV((i+1)/b,(h+1)/c),d?(f.push(new THREE.Face3(a,e,l)),f.push(new THREE.Face3(e,j,l)),g.push([n,p,
o]),g.push([p,s,o])):(f.push(new THREE.Face4(a,e,j,l)),g.push([n,p,s,o]));this.computeCentroids();this.computeFaceNormals();this.computeVertexNormals()};THREE.ParametricGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.ConvexGeometry=function(a){function b(a){var b=a.length();return new THREE.UV(a.x/b,a.y/b)}THREE.Geometry.call(this);for(var c=[[0,1,2],[0,2,1]],d=3;d<a.length;d++){var e=d,f=a[e].clone(),g=f.length();f.x+=g*2E-6*(Math.random()-0.5);f.y+=g*2E-6*(Math.random()-0.5);f.z+=g*2E-6*(Math.random()-0.5);for(var g=[],h=0;h<c.length;){var i=c[h],j=f,l=a[i[0]],m;m=l;var n=a[i[1]],p=a[i[2]],o=new THREE.Vector3,s=new THREE.Vector3;o.sub(p,n);s.sub(m,n);o.crossSelf(s);o.normalize();m=o;l=m.dot(l);if(m.dot(j)>=
l){for(j=0;3>j;j++){l=[i[j],i[(j+1)%3]];m=!0;for(n=0;n<g.length;n++)if(g[n][0]===l[1]&&g[n][1]===l[0]){g[n]=g[g.length-1];g.pop();m=!1;break}m&&g.push(l)}c[h]=c[c.length-1];c.pop()}else h++}for(n=0;n<g.length;n++)c.push([g[n][0],g[n][1],e])}e=0;f=Array(a.length);for(d=0;d<c.length;d++){g=c[d];for(h=0;3>h;h++)void 0===f[g[h]]&&(f[g[h]]=e++,this.vertices.push(a[g[h]])),g[h]=f[g[h]]}for(d=0;d<c.length;d++)this.faces.push(new THREE.Face3(c[d][0],c[d][1],c[d][2]));for(d=0;d<this.faces.length;d++)g=this.faces[d],
this.faceVertexUvs[0].push([b(this.vertices[g.a]),b(this.vertices[g.b]),b(this.vertices[g.c])]);this.computeCentroids();this.computeFaceNormals();this.computeVertexNormals()};THREE.ConvexGeometry.prototype=Object.create(THREE.Geometry.prototype);
THREE.AxisHelper=function(a){var b=new THREE.Geometry;b.vertices.push(new THREE.Vector3,new THREE.Vector3(a||1,0,0),new THREE.Vector3,new THREE.Vector3(0,a||1,0),new THREE.Vector3,new THREE.Vector3(0,0,a||1));b.colors.push(new THREE.Color(16711680),new THREE.Color(16755200),new THREE.Color(65280),new THREE.Color(11206400),new THREE.Color(255),new THREE.Color(43775));a=new THREE.LineBasicMaterial({vertexColors:THREE.VertexColors});THREE.Line.call(this,b,a,THREE.LinePieces)};
THREE.AxisHelper.prototype=Object.create(THREE.Line.prototype);
THREE.ArrowHelper=function(a,b,c,d){THREE.Object3D.call(this);void 0===d&&(d=16776960);void 0===c&&(c=20);var e=new THREE.Geometry;e.vertices.push(new THREE.Vector3(0,0,0));e.vertices.push(new THREE.Vector3(0,1,0));this.line=new THREE.Line(e,new THREE.LineBasicMaterial({color:d}));this.add(this.line);e=new THREE.CylinderGeometry(0,0.05,0.25,5,1);this.cone=new THREE.Mesh(e,new THREE.MeshBasicMaterial({color:d}));this.cone.position.set(0,1,0);this.add(this.cone);b instanceof THREE.Vector3&&(this.position=
b);this.setDirection(a);this.setLength(c)};THREE.ArrowHelper.prototype=Object.create(THREE.Object3D.prototype);THREE.ArrowHelper.prototype.setDirection=function(a){var b=(new THREE.Vector3(0,1,0)).crossSelf(a),a=Math.acos((new THREE.Vector3(0,1,0)).dot(a.clone().normalize()));this.matrix=(new THREE.Matrix4).makeRotationAxis(b.normalize(),a);this.rotation.setEulerFromRotationMatrix(this.matrix,this.eulerOrder)};THREE.ArrowHelper.prototype.setLength=function(a){this.scale.set(a,a,a)};
THREE.ArrowHelper.prototype.setColor=function(a){this.line.material.color.setHex(a);this.cone.material.color.setHex(a)};
THREE.CameraHelper=function(a){function b(a,b,d){c(a,d);c(b,d)}function c(a,b){d.geometry.vertices.push(new THREE.Vector3);d.geometry.colors.push(new THREE.Color(b));void 0===d.pointMap[a]&&(d.pointMap[a]=[]);d.pointMap[a].push(d.geometry.vertices.length-1)}THREE.Line.call(this);var d=this;this.geometry=new THREE.Geometry;this.material=new THREE.LineBasicMaterial({color:16777215,vertexColors:THREE.FaceColors});this.type=THREE.LinePieces;this.matrixWorld=a.matrixWorld;this.matrixAutoUpdate=!1;this.pointMap=
{};b("n1","n2",16755200);b("n2","n4",16755200);b("n4","n3",16755200);b("n3","n1",16755200);b("f1","f2",16755200);b("f2","f4",16755200);b("f4","f3",16755200);b("f3","f1",16755200);b("n1","f1",16755200);b("n2","f2",16755200);b("n3","f3",16755200);b("n4","f4",16755200);b("p","n1",16711680);b("p","n2",16711680);b("p","n3",16711680);b("p","n4",16711680);b("u1","u2",43775);b("u2","u3",43775);b("u3","u1",43775);b("c","t",16777215);b("p","c",3355443);b("cn1","cn2",3355443);b("cn3","cn4",3355443);b("cf1",
"cf2",3355443);b("cf3","cf4",3355443);this.camera=a;this.update(a)};THREE.CameraHelper.prototype=Object.create(THREE.Line.prototype);
THREE.CameraHelper.prototype.update=function(){function a(a,d,e,f){THREE.CameraHelper.__v.set(d,e,f);THREE.CameraHelper.__projector.unprojectVector(THREE.CameraHelper.__v,THREE.CameraHelper.__c);a=b.pointMap[a];if(void 0!==a){d=0;for(e=a.length;d<e;d++)b.geometry.vertices[a[d]].copy(THREE.CameraHelper.__v)}}var b=this;THREE.CameraHelper.__c.projectionMatrix.copy(this.camera.projectionMatrix);a("c",0,0,-1);a("t",0,0,1);a("n1",-1,-1,-1);a("n2",1,-1,-1);a("n3",-1,1,-1);a("n4",1,1,-1);a("f1",-1,-1,1);
a("f2",1,-1,1);a("f3",-1,1,1);a("f4",1,1,1);a("u1",0.7,1.1,-1);a("u2",-0.7,1.1,-1);a("u3",0,2,-1);a("cf1",-1,0,1);a("cf2",1,0,1);a("cf3",0,-1,1);a("cf4",0,1,1);a("cn1",-1,0,-1);a("cn2",1,0,-1);a("cn3",0,-1,-1);a("cn4",0,1,-1);this.geometry.verticesNeedUpdate=!0};THREE.CameraHelper.__projector=new THREE.Projector;THREE.CameraHelper.__v=new THREE.Vector3;THREE.CameraHelper.__c=new THREE.Camera;
THREE.DirectionalLightHelper=function(a,b,c){THREE.Object3D.call(this);this.light=a;this.position=a.position;this.direction=new THREE.Vector3;this.direction.sub(a.target.position,a.position);this.color=a.color.clone();var d=THREE.Math.clamp(a.intensity,0,1);this.color.r*=d;this.color.g*=d;this.color.b*=d;var d=this.color.getHex(),e=new THREE.SphereGeometry(b,16,8),f=new THREE.AsteriskGeometry(1.25*b,2.25*b),g=new THREE.MeshBasicMaterial({color:d,fog:!1}),h=new THREE.LineBasicMaterial({color:d,fog:!1});
this.lightArrow=new THREE.ArrowHelper(this.direction,null,c,d);this.lightSphere=new THREE.Mesh(e,g);this.lightArrow.cone.material.fog=!1;this.lightArrow.line.material.fog=!1;this.lightRays=new THREE.Line(f,h,THREE.LinePieces);this.add(this.lightArrow);this.add(this.lightSphere);this.add(this.lightRays);this.lightSphere.properties.isGizmo=!0;this.lightSphere.properties.gizmoSubject=a;this.lightSphere.properties.gizmoRoot=this;this.targetSphere=null;a.target.properties.targetInverse&&(b=new THREE.SphereGeometry(b,
8,4),c=new THREE.MeshBasicMaterial({color:d,wireframe:!0,fog:!1}),this.targetSphere=new THREE.Mesh(b,c),this.targetSphere.position=a.target.position,this.targetSphere.properties.isGizmo=!0,this.targetSphere.properties.gizmoSubject=a.target,this.targetSphere.properties.gizmoRoot=this.targetSphere,a=new THREE.LineDashedMaterial({color:d,dashSize:4,gapSize:4,opacity:0.75,transparent:!0,fog:!1}),d=new THREE.Geometry,d.vertices.push(this.position.clone()),d.vertices.push(this.targetSphere.position.clone()),
d.computeLineDistances(),this.targetLine=new THREE.Line(d,a),this.targetLine.properties.isGizmo=!0);this.properties.isGizmo=!0};THREE.DirectionalLightHelper.prototype=Object.create(THREE.Object3D.prototype);
THREE.DirectionalLightHelper.prototype.update=function(){this.direction.sub(this.light.target.position,this.light.position);this.lightArrow.setDirection(this.direction);this.color.copy(this.light.color);var a=THREE.Math.clamp(this.light.intensity,0,1);this.color.r*=a;this.color.g*=a;this.color.b*=a;this.lightArrow.setColor(this.color.getHex());this.lightSphere.material.color.copy(this.color);this.lightRays.material.color.copy(this.color);this.targetSphere.material.color.copy(this.color);this.targetLine.material.color.copy(this.color);
this.targetLine.geometry.vertices[0].copy(this.light.position);this.targetLine.geometry.vertices[1].copy(this.light.target.position);this.targetLine.geometry.computeLineDistances();this.targetLine.geometry.verticesNeedUpdate=!0};
THREE.HemisphereLightHelper=function(a,b,c){THREE.Object3D.call(this);this.light=a;this.position=a.position;var d=THREE.Math.clamp(a.intensity,0,1);this.color=a.color.clone();this.color.r*=d;this.color.g*=d;this.color.b*=d;var e=this.color.getHex();this.groundColor=a.groundColor.clone();this.groundColor.r*=d;this.groundColor.g*=d;this.groundColor.b*=d;for(var d=this.groundColor.getHex(),f=new THREE.SphereGeometry(b,16,8,0,2*Math.PI,0,0.5*Math.PI),g=new THREE.SphereGeometry(b,16,8,0,2*Math.PI,0.5*
Math.PI,Math.PI),h=new THREE.MeshBasicMaterial({color:e,fog:!1}),i=new THREE.MeshBasicMaterial({color:d,fog:!1}),j=0,l=f.faces.length;j<l;j++)f.faces[j].materialIndex=0;j=0;for(l=g.faces.length;j<l;j++)g.faces[j].materialIndex=1;THREE.GeometryUtils.merge(f,g);this.lightSphere=new THREE.Mesh(f,new THREE.MeshFaceMaterial([h,i]));this.lightArrow=new THREE.ArrowHelper(new THREE.Vector3(0,1,0),new THREE.Vector3(0,1.1*(b+c),0),c,e);this.lightArrow.rotation.x=Math.PI;this.lightArrowGround=new THREE.ArrowHelper(new THREE.Vector3(0,
1,0),new THREE.Vector3(0,-1.1*(b+c),0),c,d);b=new THREE.Object3D;b.rotation.x=0.5*-Math.PI;b.add(this.lightSphere);b.add(this.lightArrow);b.add(this.lightArrowGround);this.add(b);this.lightSphere.properties.isGizmo=!0;this.lightSphere.properties.gizmoSubject=a;this.lightSphere.properties.gizmoRoot=this;this.properties.isGizmo=!0;this.target=new THREE.Vector3;this.lookAt(this.target)};THREE.HemisphereLightHelper.prototype=Object.create(THREE.Object3D.prototype);
THREE.HemisphereLightHelper.prototype.update=function(){var a=THREE.Math.clamp(this.light.intensity,0,1);this.color.copy(this.light.color);this.groundColor.copy(this.light.groundColor);this.color.r*=a;this.color.g*=a;this.color.b*=a;this.groundColor.r*=a;this.groundColor.g*=a;this.groundColor.b*=a;this.lightSphere.material.materials[0].color.copy(this.color);this.lightSphere.material.materials[1].color.copy(this.groundColor);this.lightArrow.setColor(this.color.getHex());this.lightArrowGround.setColor(this.groundColor.getHex());
this.lookAt(this.target)};
THREE.PointLightHelper=function(a,b){THREE.Object3D.call(this);this.light=a;this.position=a.position;this.color=a.color.clone();var c=THREE.Math.clamp(a.intensity,0,1);this.color.r*=c;this.color.g*=c;this.color.b*=c;var d=this.color.getHex(),c=new THREE.SphereGeometry(b,16,8),e=new THREE.AsteriskGeometry(1.25*b,2.25*b),f=new THREE.IcosahedronGeometry(1,2),g=new THREE.MeshBasicMaterial({color:d,fog:!1}),h=new THREE.LineBasicMaterial({color:d,fog:!1}),d=new THREE.MeshBasicMaterial({color:d,fog:!1,wireframe:!0,
opacity:0.1,transparent:!0});this.lightSphere=new THREE.Mesh(c,g);this.lightRays=new THREE.Line(e,h,THREE.LinePieces);this.lightDistance=new THREE.Mesh(f,d);c=a.distance;0===c?this.lightDistance.visible=!1:this.lightDistance.scale.set(c,c,c);this.add(this.lightSphere);this.add(this.lightRays);this.add(this.lightDistance);this.lightSphere.properties.isGizmo=!0;this.lightSphere.properties.gizmoSubject=a;this.lightSphere.properties.gizmoRoot=this;this.properties.isGizmo=!0};
THREE.PointLightHelper.prototype=Object.create(THREE.Object3D.prototype);
THREE.PointLightHelper.prototype.update=function(){this.color.copy(this.light.color);var a=THREE.Math.clamp(this.light.intensity,0,1);this.color.r*=a;this.color.g*=a;this.color.b*=a;this.lightSphere.material.color.copy(this.color);this.lightRays.material.color.copy(this.color);this.lightDistance.material.color.copy(this.color);a=this.light.distance;0===a?this.lightDistance.visible=!1:(this.lightDistance.visible=!0,this.lightDistance.scale.set(a,a,a))};
THREE.SpotLightHelper=function(a,b,c){THREE.Object3D.call(this);this.light=a;this.position=a.position;this.direction=new THREE.Vector3;this.direction.sub(a.target.position,a.position);this.color=a.color.clone();var d=THREE.Math.clamp(a.intensity,0,1);this.color.r*=d;this.color.g*=d;this.color.b*=d;var d=this.color.getHex(),e=new THREE.SphereGeometry(b,16,8),f=new THREE.AsteriskGeometry(1.25*b,2.25*b),g=new THREE.CylinderGeometry(1E-4,1,1,8,1,!0),h=new THREE.Matrix4;h.rotateX(-Math.PI/2);h.translate(new THREE.Vector3(0,
-0.5,0));g.applyMatrix(h);var i=new THREE.MeshBasicMaterial({color:d,fog:!1}),h=new THREE.LineBasicMaterial({color:d,fog:!1}),j=new THREE.MeshBasicMaterial({color:d,fog:!1,wireframe:!0,opacity:0.3,transparent:!0});this.lightArrow=new THREE.ArrowHelper(this.direction,null,c,d);this.lightSphere=new THREE.Mesh(e,i);this.lightCone=new THREE.Mesh(g,j);c=a.distance?a.distance:1E4;e=2*c*Math.tan(0.5*a.angle);this.lightCone.scale.set(e,e,c);this.lightArrow.cone.material.fog=!1;this.lightArrow.line.material.fog=
!1;this.lightRays=new THREE.Line(f,h,THREE.LinePieces);this.gyroscope=new THREE.Gyroscope;this.gyroscope.add(this.lightArrow);this.gyroscope.add(this.lightSphere);this.gyroscope.add(this.lightRays);this.add(this.gyroscope);this.add(this.lightCone);this.lookAt(a.target.position);this.lightSphere.properties.isGizmo=!0;this.lightSphere.properties.gizmoSubject=a;this.lightSphere.properties.gizmoRoot=this;this.targetSphere=null;a.target.properties.targetInverse&&(b=new THREE.SphereGeometry(b,8,4),f=new THREE.MeshBasicMaterial({color:d,
wireframe:!0,fog:!1}),this.targetSphere=new THREE.Mesh(b,f),this.targetSphere.position=a.target.position,this.targetSphere.properties.isGizmo=!0,this.targetSphere.properties.gizmoSubject=a.target,this.targetSphere.properties.gizmoRoot=this.targetSphere,a=new THREE.LineDashedMaterial({color:d,dashSize:4,gapSize:4,opacity:0.75,transparent:!0,fog:!1}),d=new THREE.Geometry,d.vertices.push(this.position.clone()),d.vertices.push(this.targetSphere.position.clone()),d.computeLineDistances(),this.targetLine=
new THREE.Line(d,a),this.targetLine.properties.isGizmo=!0);this.properties.isGizmo=!0};THREE.SpotLightHelper.prototype=Object.create(THREE.Object3D.prototype);
THREE.SpotLightHelper.prototype.update=function(){this.direction.sub(this.light.target.position,this.light.position);this.lightArrow.setDirection(this.direction);this.lookAt(this.light.target.position);var a=this.light.distance?this.light.distance:1E4,b=2*a*Math.tan(0.5*this.light.angle);this.lightCone.scale.set(b,b,a);this.color.copy(this.light.color);a=THREE.Math.clamp(this.light.intensity,0,1);this.color.r*=a;this.color.g*=a;this.color.b*=a;this.lightArrow.setColor(this.color.getHex());this.lightSphere.material.color.copy(this.color);
this.lightRays.material.color.copy(this.color);this.lightCone.material.color.copy(this.color);this.targetSphere.material.color.copy(this.color);this.targetLine.material.color.copy(this.color);this.targetLine.geometry.vertices[0].copy(this.light.position);this.targetLine.geometry.vertices[1].copy(this.light.target.position);this.targetLine.geometry.computeLineDistances();this.targetLine.geometry.verticesNeedUpdate=!0};
THREE.SubdivisionModifier=function(a){this.subdivisions=void 0===a?1:a;this.useOldVertexColors=!1;this.supportUVs=!0;this.debug=!1};THREE.SubdivisionModifier.prototype.modify=function(a){for(var b=this.subdivisions;0<b--;)this.smooth(a)};THREE.GeometryUtils.orderedKey=function(a,b){return Math.min(a,b)+"_"+Math.max(a,b)};
THREE.GeometryUtils.computeEdgeFaces=function(a){function b(a,b){void 0===g[a]&&(g[a]=[]);g[a].push(b)}var c,d,e,f,g={},h=THREE.GeometryUtils.orderedKey;c=0;for(d=a.faces.length;c<d;c++)e=a.faces[c],e instanceof THREE.Face3?(f=h(e.a,e.b),b(f,c),f=h(e.b,e.c),b(f,c),f=h(e.c,e.a),b(f,c)):e instanceof THREE.Face4&&(f=h(e.a,e.b),b(f,c),f=h(e.b,e.c),b(f,c),f=h(e.c,e.d),b(f,c),f=h(e.d,e.a),b(f,c));return g};
THREE.SubdivisionModifier.prototype.smooth=function(a){function b(){l.debug&&(console&&console.assert)&&console.assert.apply(console,arguments)}function c(){l.debug&&console.log.apply(console,arguments)}function d(){console&&console.log.apply(console,arguments)}function e(a,b,d,e,g,h,m){var n=new THREE.Face4(a,b,d,e,null,g.color,g.materialIndex);if(l.useOldVertexColors){n.vertexColors=[];for(var o,p,q,r=0;4>r;r++){q=h[r];o=new THREE.Color;o.setRGB(0,0,0);for(var s=0;s<q.length;s++)p=g.vertexColors[q[s]-
1],o.r+=p.r,o.g+=p.g,o.b+=p.b;o.r/=q.length;o.g/=q.length;o.b/=q.length;n.vertexColors[r]=o}}i.push(n);l.supportUVs&&(g=[f(a,""),f(b,m),f(d,m),f(e,m)],g[0]?g[1]?g[2]?g[3]?j.push(g):c("d :( ",e+":"+m):c("c :( ",d+":"+m):c("b :( ",b+":"+m):c("a :( ",a+":"+m))}function f(a,b){var e=a+":"+b,f=w[e];return!f?(a>=s&&a<s+o.length?c("face pt"):c("edge pt"),d("warning, UV not found for",e),null):f}function g(a,b,c){var e=a+":"+b;e in w?d("dup vertexNo",a,"oldFaceNo",b,"value",c,"key",e,w[e]):w[e]=c}var h=[],
i=[],j=[],l=this,m=THREE.GeometryUtils.orderedKey,n=THREE.GeometryUtils.computeEdgeFaces,p=a.vertices,o=a.faces,s=p.length,h=p.concat(),t=[],r={},z={},w={},q,E,A,v,u,D=a.faceVertexUvs[0],C;c("originalFaces, uvs, originalVerticesLength",o.length,D.length,s);if(l.supportUVs){q=0;for(E=D.length;q<E;q++){A=0;for(v=D[q].length;A<v;A++)C=o[q]["abcd".charAt(A)],g(C,q,D[q][A])}}0==D.length&&(l.supportUVs=!1);q=0;for(var G in w)q++;q||(l.supportUVs=!1,c("no uvs"));q=0;for(E=o.length;q<E;q++)u=o[q],t.push(u.centroid),
h.push(u.centroid),l.supportUVs&&(v=new THREE.UV,u instanceof THREE.Face3?(v.u=f(u.a,q).u+f(u.b,q).u+f(u.c,q).u,v.v=f(u.a,q).v+f(u.b,q).v+f(u.c,q).v,v.u/=3,v.v/=3):u instanceof THREE.Face4&&(v.u=f(u.a,q).u+f(u.b,q).u+f(u.c,q).u+f(u.d,q).u,v.v=f(u.a,q).v+f(u.b,q).v+f(u.c,q).v+f(u.d,q).v,v.u/=4,v.v/=4),g(s+q,"",v));var n=n(a),P;E=0;var B,K;G={};D={};for(q in n){C=n[q];B=q.split("_");K=B[0];B=B[1];A=K;u=[K,B];void 0===G[A]&&(G[A]=[]);G[A].push(u);A=B;u=[K,B];void 0===G[A]&&(G[A]=[]);G[A].push(u);A=0;
for(v=C.length;A<v;A++){u=C[A];P=K;var H=u,I=q;void 0===D[P]&&(D[P]={});D[P][H]=I;P=B;H=q;void 0===D[P]&&(D[P]={});D[P][u]=H}2>C.length&&(z[q]=!0)}for(q in n)if(C=n[q],u=C[0],P=C[1],B=q.split("_"),K=B[0],B=B[1],v=new THREE.Vector3,b(0<C.length,"an edge without faces?!"),1==C.length?(v.addSelf(p[K]),v.addSelf(p[B]),v.multiplyScalar(0.5)):(v.addSelf(t[u]),v.addSelf(t[P]),v.addSelf(p[K]),v.addSelf(p[B]),v.multiplyScalar(0.25)),r[q]=s+o.length+E,h.push(v),E++,l.supportUVs)v=new THREE.UV,v.u=f(K,u).u+
f(B,u).u,v.v=f(K,u).v+f(B,u).v,v.u/=2,v.v/=2,g(r[q],u,v),2<=C.length&&(b(2==C.length,"did we plan for more than 2 edges?"),v=new THREE.UV,v.u=f(K,P).u+f(B,P).u,v.v=f(K,P).v+f(B,P).v,v.u/=2,v.v/=2,g(r[q],P,v));c("-- Step 2 done");var N,O;v=["123","12","2","23"];P=["123","23","3","31"];var H=["123","31","1","12"],I=["1234","12","2","23"],R=["1234","23","3","34"],ga=["1234","34","4","41"],M=["1234","41","1","12"];q=0;for(E=t.length;q<E;q++)u=o[q],C=s+q,u instanceof THREE.Face3?(K=m(u.a,u.b),B=m(u.b,
u.c),N=m(u.c,u.a),e(C,r[K],u.b,r[B],u,v,q),e(C,r[B],u.c,r[N],u,P,q),e(C,r[N],u.a,r[K],u,H,q)):u instanceof THREE.Face4?(K=m(u.a,u.b),B=m(u.b,u.c),N=m(u.c,u.d),O=m(u.d,u.a),e(C,r[K],u.b,r[B],u,I,q),e(C,r[B],u.c,r[N],u,R,q),e(C,r[N],u.d,r[O],u,ga,q),e(C,r[O],u.a,r[K],u,M,q)):c("face should be a face!",u);r=new THREE.Vector3;u=new THREE.Vector3;q=0;for(E=p.length;q<E;q++)if(void 0!==G[q]){r.set(0,0,0);u.set(0,0,0);B=new THREE.Vector3(0,0,0);C=0;for(A in D[q])r.addSelf(t[A]),C++;P=0;K=G[q].length;v=C!=
K;for(A=0;A<K;A++)z[m(G[q][A][0],G[q][A][1])]&&P++;r.divideScalar(C);P=0;if(v){for(A=0;A<K;A++)if(C=G[q][A],H=1==n[m(C[0],C[1])].length)C=p[C[0]].clone().addSelf(p[C[1]]).divideScalar(2),u.addSelf(C),P++;u.divideScalar(4);b(2==P,"should have only 2 boundary edges")}else{for(A=0;A<K;A++)C=G[q][A],C=p[C[0]].clone().addSelf(p[C[1]]).divideScalar(2),u.addSelf(C);u.divideScalar(K)}B.addSelf(p[q]);v?(B.divideScalar(2),B.addSelf(u)):(B.multiplyScalar(K-3),B.addSelf(r),B.addSelf(u.multiplyScalar(2)),B.divideScalar(K));
h[q]=B}a.vertices=h;a.faces=i;a.faceVertexUvs[0]=j;delete a.__tmpVertices;a.computeCentroids();a.computeFaceNormals();a.computeVertexNormals()};THREE.ImmediateRenderObject=function(){THREE.Object3D.call(this);this.render=function(){}};THREE.ImmediateRenderObject.prototype=Object.create(THREE.Object3D.prototype);THREE.LensFlare=function(a,b,c,d,e){THREE.Object3D.call(this);this.lensFlares=[];this.positionScreen=new THREE.Vector3;this.customUpdateCallback=void 0;void 0!==a&&this.add(a,b,c,d,e)};
THREE.LensFlare.prototype=Object.create(THREE.Object3D.prototype);THREE.LensFlare.prototype.add=function(a,b,c,d,e,f){void 0===b&&(b=-1);void 0===c&&(c=0);void 0===f&&(f=1);void 0===e&&(e=new THREE.Color(16777215));void 0===d&&(d=THREE.NormalBlending);c=Math.min(c,Math.max(0,c));this.lensFlares.push({texture:a,size:b,distance:c,x:0,y:0,z:0,scale:1,rotation:1,opacity:f,color:e,blending:d})};
THREE.LensFlare.prototype.updateLensFlares=function(){var a,b=this.lensFlares.length,c,d=2*-this.positionScreen.x,e=2*-this.positionScreen.y;for(a=0;a<b;a++)c=this.lensFlares[a],c.x=this.positionScreen.x+d*c.distance,c.y=this.positionScreen.y+e*c.distance,c.wantedRotation=0.25*c.x*Math.PI,c.rotation+=0.25*(c.wantedRotation-c.rotation)};
THREE.MorphBlendMesh=function(a,b){THREE.Mesh.call(this,a,b);this.animationsMap={};this.animationsList=[];var c=this.geometry.morphTargets.length;this.createAnimation("__default",0,c-1,c/1);this.setAnimationWeight("__default",1)};THREE.MorphBlendMesh.prototype=Object.create(THREE.Mesh.prototype);
THREE.MorphBlendMesh.prototype.createAnimation=function(a,b,c,d){b={startFrame:b,endFrame:c,length:c-b+1,fps:d,duration:(c-b)/d,lastFrame:0,currentFrame:0,active:!1,time:0,direction:1,weight:1,directionBackwards:!1,mirroredLoop:!1};this.animationsMap[a]=b;this.animationsList.push(b)};
THREE.MorphBlendMesh.prototype.autoCreateAnimations=function(a){for(var b=/([a-z]+)(\d+)/,c,d={},e=this.geometry,f=0,g=e.morphTargets.length;f<g;f++){var h=e.morphTargets[f].name.match(b);if(h&&1<h.length){var i=h[1];d[i]||(d[i]={start:Infinity,end:-Infinity});h=d[i];f<h.start&&(h.start=f);f>h.end&&(h.end=f);c||(c=i)}}for(i in d)h=d[i],this.createAnimation(i,h.start,h.end,a);this.firstAnimation=c};
THREE.MorphBlendMesh.prototype.setAnimationDirectionForward=function(a){if(a=this.animationsMap[a])a.direction=1,a.directionBackwards=!1};THREE.MorphBlendMesh.prototype.setAnimationDirectionBackward=function(a){if(a=this.animationsMap[a])a.direction=-1,a.directionBackwards=!0};THREE.MorphBlendMesh.prototype.setAnimationFPS=function(a,b){var c=this.animationsMap[a];c&&(c.fps=b,c.duration=(c.end-c.start)/c.fps)};
THREE.MorphBlendMesh.prototype.setAnimationDuration=function(a,b){var c=this.animationsMap[a];c&&(c.duration=b,c.fps=(c.end-c.start)/c.duration)};THREE.MorphBlendMesh.prototype.setAnimationWeight=function(a,b){var c=this.animationsMap[a];c&&(c.weight=b)};THREE.MorphBlendMesh.prototype.setAnimationTime=function(a,b){var c=this.animationsMap[a];c&&(c.time=b)};THREE.MorphBlendMesh.prototype.getAnimationTime=function(a){var b=0;if(a=this.animationsMap[a])b=a.time;return b};
THREE.MorphBlendMesh.prototype.getAnimationDuration=function(a){var b=-1;if(a=this.animationsMap[a])b=a.duration;return b};THREE.MorphBlendMesh.prototype.playAnimation=function(a){var b=this.animationsMap[a];b?(b.time=0,b.active=!0):console.warn("animation["+a+"] undefined")};THREE.MorphBlendMesh.prototype.stopAnimation=function(a){if(a=this.animationsMap[a])a.active=!1};
THREE.MorphBlendMesh.prototype.update=function(a){for(var b=0,c=this.animationsList.length;b<c;b++){var d=this.animationsList[b];if(d.active){var e=d.duration/d.length;d.time+=d.direction*a;if(d.mirroredLoop){if(d.time>d.duration||0>d.time)if(d.direction*=-1,d.time>d.duration&&(d.time=d.duration,d.directionBackwards=!0),0>d.time)d.time=0,d.directionBackwards=!1}else d.time%=d.duration,0>d.time&&(d.time+=d.duration);var f=d.startFrame+THREE.Math.clamp(Math.floor(d.time/e),0,d.length-1),g=d.weight;
f!==d.currentFrame&&(this.morphTargetInfluences[d.lastFrame]=0,this.morphTargetInfluences[d.currentFrame]=1*g,this.morphTargetInfluences[f]=0,d.lastFrame=d.currentFrame,d.currentFrame=f);e=d.time%e/e;d.directionBackwards&&(e=1-e);this.morphTargetInfluences[d.currentFrame]=e*g;this.morphTargetInfluences[d.lastFrame]=(1-e)*g}}};
THREE.LensFlarePlugin=function(){function a(a){var c=b.createProgram(),d=b.createShader(b.FRAGMENT_SHADER),e=b.createShader(b.VERTEX_SHADER);b.shaderSource(d,a.fragmentShader);b.shaderSource(e,a.vertexShader);b.compileShader(d);b.compileShader(e);b.attachShader(c,d);b.attachShader(c,e);b.linkProgram(c);return c}var b,c,d,e,f,g,h,i,j,l,m,n,p;this.init=function(o){b=o.context;c=o;d=new Float32Array(16);e=new Uint16Array(6);o=0;d[o++]=-1;d[o++]=-1;d[o++]=0;d[o++]=0;d[o++]=1;d[o++]=-1;d[o++]=1;d[o++]=
0;d[o++]=1;d[o++]=1;d[o++]=1;d[o++]=1;d[o++]=-1;d[o++]=1;d[o++]=0;d[o++]=1;o=0;e[o++]=0;e[o++]=1;e[o++]=2;e[o++]=0;e[o++]=2;e[o++]=3;f=b.createBuffer();g=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,f);b.bufferData(b.ARRAY_BUFFER,d,b.STATIC_DRAW);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.bufferData(b.ELEMENT_ARRAY_BUFFER,e,b.STATIC_DRAW);h=b.createTexture();i=b.createTexture();b.bindTexture(b.TEXTURE_2D,h);b.texImage2D(b.TEXTURE_2D,0,b.RGB,16,16,0,b.RGB,b.UNSIGNED_BYTE,null);b.texParameteri(b.TEXTURE_2D,
b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST);b.bindTexture(b.TEXTURE_2D,i);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,16,16,0,b.RGBA,b.UNSIGNED_BYTE,null);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST);
b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST);0>=b.getParameter(b.MAX_VERTEX_TEXTURE_IMAGE_UNITS)?(j=!1,l=a(THREE.ShaderFlares.lensFlare)):(j=!0,l=a(THREE.ShaderFlares.lensFlareVertexTexture));m={};n={};m.vertex=b.getAttribLocation(l,"position");m.uv=b.getAttribLocation(l,"uv");n.renderType=b.getUniformLocation(l,"renderType");n.map=b.getUniformLocation(l,"map");n.occlusionMap=b.getUniformLocation(l,"occlusionMap");n.opacity=b.getUniformLocation(l,"opacity");n.color=b.getUniformLocation(l,
"color");n.scale=b.getUniformLocation(l,"scale");n.rotation=b.getUniformLocation(l,"rotation");n.screenPosition=b.getUniformLocation(l,"screenPosition");p=!1};this.render=function(a,d,e,r){var a=a.__webglFlares,z=a.length;if(z){var w=new THREE.Vector3,q=r/e,E=0.5*e,A=0.5*r,v=16/r,u=new THREE.Vector2(v*q,v),D=new THREE.Vector3(1,1,0),C=new THREE.Vector2(1,1),G=n,v=m;b.useProgram(l);p||(b.enableVertexAttribArray(m.vertex),b.enableVertexAttribArray(m.uv),p=!0);b.uniform1i(G.occlusionMap,0);b.uniform1i(G.map,
1);b.bindBuffer(b.ARRAY_BUFFER,f);b.vertexAttribPointer(v.vertex,2,b.FLOAT,!1,16,0);b.vertexAttribPointer(v.uv,2,b.FLOAT,!1,16,8);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.disable(b.CULL_FACE);b.depthMask(!1);var P,B,K,H,I;for(P=0;P<z;P++)if(v=16/r,u.set(v*q,v),H=a[P],w.set(H.matrixWorld.elements[12],H.matrixWorld.elements[13],H.matrixWorld.elements[14]),d.matrixWorldInverse.multiplyVector3(w),d.projectionMatrix.multiplyVector3(w),D.copy(w),C.x=D.x*E+E,C.y=D.y*A+A,j||0<C.x&&C.x<e&&0<C.y&&C.y<r){b.activeTexture(b.TEXTURE1);
b.bindTexture(b.TEXTURE_2D,h);b.copyTexImage2D(b.TEXTURE_2D,0,b.RGB,C.x-8,C.y-8,16,16,0);b.uniform1i(G.renderType,0);b.uniform2f(G.scale,u.x,u.y);b.uniform3f(G.screenPosition,D.x,D.y,D.z);b.disable(b.BLEND);b.enable(b.DEPTH_TEST);b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0);b.activeTexture(b.TEXTURE0);b.bindTexture(b.TEXTURE_2D,i);b.copyTexImage2D(b.TEXTURE_2D,0,b.RGBA,C.x-8,C.y-8,16,16,0);b.uniform1i(G.renderType,1);b.disable(b.DEPTH_TEST);b.activeTexture(b.TEXTURE1);b.bindTexture(b.TEXTURE_2D,
h);b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0);H.positionScreen.copy(D);H.customUpdateCallback?H.customUpdateCallback(H):H.updateLensFlares();b.uniform1i(G.renderType,2);b.enable(b.BLEND);B=0;for(K=H.lensFlares.length;B<K;B++)I=H.lensFlares[B],0.001<I.opacity&&0.001<I.scale&&(D.x=I.x,D.y=I.y,D.z=I.z,v=I.size*I.scale/r,u.x=v*q,u.y=v,b.uniform3f(G.screenPosition,D.x,D.y,D.z),b.uniform2f(G.scale,u.x,u.y),b.uniform1f(G.rotation,I.rotation),b.uniform1f(G.opacity,I.opacity),b.uniform3f(G.color,I.color.r,
I.color.g,I.color.b),c.setBlending(I.blending,I.blendEquation,I.blendSrc,I.blendDst),c.setTexture(I.texture,1),b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0))}b.enable(b.CULL_FACE);b.enable(b.DEPTH_TEST);b.depthMask(!0)}}};
THREE.ShadowMapPlugin=function(){var a,b,c,d,e,f,g=new THREE.Frustum,h=new THREE.Matrix4,i=new THREE.Vector3,j=new THREE.Vector3;this.init=function(g){a=g.context;b=g;var g=THREE.ShaderLib.depthRGBA,h=THREE.UniformsUtils.clone(g.uniforms);c=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h});d=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:!0});e=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,
vertexShader:g.vertexShader,uniforms:h,skinning:!0});f=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:!0,skinning:!0});c._shadowPass=!0;d._shadowPass=!0;e._shadowPass=!0;f._shadowPass=!0};this.render=function(a,c){b.shadowMapEnabled&&b.shadowMapAutoUpdate&&this.update(a,c)};this.update=function(l,m){var n,p,o,s,t,r,z,w,q,E=[];s=0;a.clearColor(1,1,1,1);a.disable(a.BLEND);a.enable(a.CULL_FACE);a.frontFace(a.CCW);b.shadowMapCullFrontFaces?
a.cullFace(a.FRONT):a.cullFace(a.BACK);b.setDepthTest(!0);n=0;for(p=l.__lights.length;n<p;n++)if(o=l.__lights[n],o.castShadow)if(o instanceof THREE.DirectionalLight&&o.shadowCascade)for(t=0;t<o.shadowCascadeCount;t++){var A;if(o.shadowCascadeArray[t])A=o.shadowCascadeArray[t];else{q=o;z=t;A=new THREE.DirectionalLight;A.isVirtual=!0;A.onlyShadow=!0;A.castShadow=!0;A.shadowCameraNear=q.shadowCameraNear;A.shadowCameraFar=q.shadowCameraFar;A.shadowCameraLeft=q.shadowCameraLeft;A.shadowCameraRight=q.shadowCameraRight;
A.shadowCameraBottom=q.shadowCameraBottom;A.shadowCameraTop=q.shadowCameraTop;A.shadowCameraVisible=q.shadowCameraVisible;A.shadowDarkness=q.shadowDarkness;A.shadowBias=q.shadowCascadeBias[z];A.shadowMapWidth=q.shadowCascadeWidth[z];A.shadowMapHeight=q.shadowCascadeHeight[z];A.pointsWorld=[];A.pointsFrustum=[];w=A.pointsWorld;r=A.pointsFrustum;for(var v=0;8>v;v++)w[v]=new THREE.Vector3,r[v]=new THREE.Vector3;w=q.shadowCascadeNearZ[z];q=q.shadowCascadeFarZ[z];r[0].set(-1,-1,w);r[1].set(1,-1,w);r[2].set(-1,
1,w);r[3].set(1,1,w);r[4].set(-1,-1,q);r[5].set(1,-1,q);r[6].set(-1,1,q);r[7].set(1,1,q);A.originalCamera=m;r=new THREE.Gyroscope;r.position=o.shadowCascadeOffset;r.add(A);r.add(A.target);m.add(r);o.shadowCascadeArray[t]=A;console.log("Created virtualLight",A)}z=o;w=t;q=z.shadowCascadeArray[w];q.position.copy(z.position);q.target.position.copy(z.target.position);q.lookAt(q.target);q.shadowCameraVisible=z.shadowCameraVisible;q.shadowDarkness=z.shadowDarkness;q.shadowBias=z.shadowCascadeBias[w];r=z.shadowCascadeNearZ[w];
z=z.shadowCascadeFarZ[w];q=q.pointsFrustum;q[0].z=r;q[1].z=r;q[2].z=r;q[3].z=r;q[4].z=z;q[5].z=z;q[6].z=z;q[7].z=z;E[s]=A;s++}else E[s]=o,s++;n=0;for(p=E.length;n<p;n++){o=E[n];o.shadowMap||(o.shadowMap=new THREE.WebGLRenderTarget(o.shadowMapWidth,o.shadowMapHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat}),o.shadowMapSize=new THREE.Vector2(o.shadowMapWidth,o.shadowMapHeight),o.shadowMatrix=new THREE.Matrix4);if(!o.shadowCamera){if(o instanceof THREE.SpotLight)o.shadowCamera=
new THREE.PerspectiveCamera(o.shadowCameraFov,o.shadowMapWidth/o.shadowMapHeight,o.shadowCameraNear,o.shadowCameraFar);else if(o instanceof THREE.DirectionalLight)o.shadowCamera=new THREE.OrthographicCamera(o.shadowCameraLeft,o.shadowCameraRight,o.shadowCameraTop,o.shadowCameraBottom,o.shadowCameraNear,o.shadowCameraFar);else{console.error("Unsupported light type for shadow");continue}l.add(o.shadowCamera);b.autoUpdateScene&&l.updateMatrixWorld()}o.shadowCameraVisible&&!o.cameraHelper&&(o.cameraHelper=
new THREE.CameraHelper(o.shadowCamera),o.shadowCamera.add(o.cameraHelper));if(o.isVirtual&&A.originalCamera==m){t=m;s=o.shadowCamera;r=o.pointsFrustum;q=o.pointsWorld;i.set(Infinity,Infinity,Infinity);j.set(-Infinity,-Infinity,-Infinity);for(z=0;8>z;z++)if(w=q[z],w.copy(r[z]),THREE.ShadowMapPlugin.__projector.unprojectVector(w,t),s.matrixWorldInverse.multiplyVector3(w),w.x<i.x&&(i.x=w.x),w.x>j.x&&(j.x=w.x),w.y<i.y&&(i.y=w.y),w.y>j.y&&(j.y=w.y),w.z<i.z&&(i.z=w.z),w.z>j.z)j.z=w.z;s.left=i.x;s.right=
j.x;s.top=j.y;s.bottom=i.y;s.updateProjectionMatrix()}s=o.shadowMap;r=o.shadowMatrix;t=o.shadowCamera;t.position.copy(o.matrixWorld.getPosition());t.lookAt(o.target.matrixWorld.getPosition());t.updateMatrixWorld();t.matrixWorldInverse.getInverse(t.matrixWorld);o.cameraHelper&&(o.cameraHelper.visible=o.shadowCameraVisible);o.shadowCameraVisible&&o.cameraHelper.update();r.set(0.5,0,0,0.5,0,0.5,0,0.5,0,0,0.5,0.5,0,0,0,1);r.multiplySelf(t.projectionMatrix);r.multiplySelf(t.matrixWorldInverse);t._viewMatrixArray||
(t._viewMatrixArray=new Float32Array(16));t._projectionMatrixArray||(t._projectionMatrixArray=new Float32Array(16));t.matrixWorldInverse.flattenToArray(t._viewMatrixArray);t.projectionMatrix.flattenToArray(t._projectionMatrixArray);h.multiply(t.projectionMatrix,t.matrixWorldInverse);g.setFromMatrix(h);b.setRenderTarget(s);b.clear();q=l.__webglObjects;o=0;for(s=q.length;o<s;o++)if(z=q[o],r=z.object,z.render=!1,r.visible&&r.castShadow&&(!(r instanceof THREE.Mesh||r instanceof THREE.ParticleSystem)||
!r.frustumCulled||g.contains(r)))r._modelViewMatrix.multiply(t.matrixWorldInverse,r.matrixWorld),z.render=!0;o=0;for(s=q.length;o<s;o++)z=q[o],z.render&&(r=z.object,z=z.buffer,v=r.material instanceof THREE.MeshFaceMaterial?r.material.materials[0]:r.material,w=0<r.geometry.morphTargets.length&&v.morphTargets,v=r instanceof THREE.SkinnedMesh&&v.skinning,w=r.customDepthMaterial?r.customDepthMaterial:v?w?f:e:w?d:c,z instanceof THREE.BufferGeometry?b.renderBufferDirect(t,l.__lights,null,w,z,r):b.renderBuffer(t,
l.__lights,null,w,z,r));q=l.__webglObjectsImmediate;o=0;for(s=q.length;o<s;o++)z=q[o],r=z.object,r.visible&&r.castShadow&&(r._modelViewMatrix.multiply(t.matrixWorldInverse,r.matrixWorld),b.renderImmediateObject(t,l.__lights,null,c,r))}n=b.getClearColor();p=b.getClearAlpha();a.clearColor(n.r,n.g,n.b,p);a.enable(a.BLEND);b.shadowMapCullFrontFaces&&a.cullFace(a.BACK)}};THREE.ShadowMapPlugin.__projector=new THREE.Projector;
THREE.SpritePlugin=function(){function a(a,b){return a.z!==b.z?b.z-a.z:b.id-a.id}var b,c,d,e,f,g,h,i,j,l;this.init=function(a){b=a.context;c=a;d=new Float32Array(16);e=new Uint16Array(6);a=0;d[a++]=-1;d[a++]=-1;d[a++]=0;d[a++]=0;d[a++]=1;d[a++]=-1;d[a++]=1;d[a++]=0;d[a++]=1;d[a++]=1;d[a++]=1;d[a++]=1;d[a++]=-1;d[a++]=1;d[a++]=0;d[a++]=1;a=0;e[a++]=0;e[a++]=1;e[a++]=2;e[a++]=0;e[a++]=2;e[a++]=3;f=b.createBuffer();g=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,f);b.bufferData(b.ARRAY_BUFFER,d,b.STATIC_DRAW);
b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.bufferData(b.ELEMENT_ARRAY_BUFFER,e,b.STATIC_DRAW);var a=THREE.ShaderSprite.sprite,n=b.createProgram(),p=b.createShader(b.FRAGMENT_SHADER),o=b.createShader(b.VERTEX_SHADER);b.shaderSource(p,a.fragmentShader);b.shaderSource(o,a.vertexShader);b.compileShader(p);b.compileShader(o);b.attachShader(n,p);b.attachShader(n,o);b.linkProgram(n);h=n;i={};j={};i.position=b.getAttribLocation(h,"position");i.uv=b.getAttribLocation(h,"uv");j.uvOffset=b.getUniformLocation(h,
"uvOffset");j.uvScale=b.getUniformLocation(h,"uvScale");j.rotation=b.getUniformLocation(h,"rotation");j.scale=b.getUniformLocation(h,"scale");j.alignment=b.getUniformLocation(h,"alignment");j.color=b.getUniformLocation(h,"color");j.map=b.getUniformLocation(h,"map");j.opacity=b.getUniformLocation(h,"opacity");j.useScreenCoordinates=b.getUniformLocation(h,"useScreenCoordinates");j.affectedByDistance=b.getUniformLocation(h,"affectedByDistance");j.screenPosition=b.getUniformLocation(h,"screenPosition");
j.modelViewMatrix=b.getUniformLocation(h,"modelViewMatrix");j.projectionMatrix=b.getUniformLocation(h,"projectionMatrix");j.fogType=b.getUniformLocation(h,"fogType");j.fogDensity=b.getUniformLocation(h,"fogDensity");j.fogNear=b.getUniformLocation(h,"fogNear");j.fogFar=b.getUniformLocation(h,"fogFar");j.fogColor=b.getUniformLocation(h,"fogColor");l=!1};this.render=function(d,e,p,o){var s=d.__webglSprites,t=s.length;if(t){var r=i,z=j,w=o/p,p=0.5*p,q=0.5*o,E=!0;b.useProgram(h);l||(b.enableVertexAttribArray(r.position),
b.enableVertexAttribArray(r.uv),l=!0);b.disable(b.CULL_FACE);b.enable(b.BLEND);b.depthMask(!0);b.bindBuffer(b.ARRAY_BUFFER,f);b.vertexAttribPointer(r.position,2,b.FLOAT,!1,16,0);b.vertexAttribPointer(r.uv,2,b.FLOAT,!1,16,8);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.uniformMatrix4fv(z.projectionMatrix,!1,e._projectionMatrixArray);b.activeTexture(b.TEXTURE0);b.uniform1i(z.map,0);var A=r=0,v=d.fog;v?(b.uniform3f(z.fogColor,v.color.r,v.color.g,v.color.b),v instanceof THREE.Fog?(b.uniform1f(z.fogNear,v.near),
b.uniform1f(z.fogFar,v.far),b.uniform1i(z.fogType,1),A=r=1):v instanceof THREE.FogExp2&&(b.uniform1f(z.fogDensity,v.density),b.uniform1i(z.fogType,2),A=r=2)):(b.uniform1i(z.fogType,0),A=r=0);for(var u,D=[],v=0;v<t;v++)u=s[v],u.visible&&0!==u.opacity&&(u.useScreenCoordinates?u.z=-u.position.z:(u._modelViewMatrix.multiply(e.matrixWorldInverse,u.matrixWorld),u.z=-u._modelViewMatrix.elements[14]));s.sort(a);for(v=0;v<t;v++)if(u=s[v],u.visible&&0!==u.opacity&&u.map&&u.map.image&&u.map.image.width)u.useScreenCoordinates?
(b.uniform1i(z.useScreenCoordinates,1),b.uniform3f(z.screenPosition,(u.position.x-p)/p,(q-u.position.y)/q,Math.max(0,Math.min(1,u.position.z)))):(b.uniform1i(z.useScreenCoordinates,0),b.uniform1i(z.affectedByDistance,u.affectedByDistance?1:0),b.uniformMatrix4fv(z.modelViewMatrix,!1,u._modelViewMatrix.elements)),e=d.fog&&u.fog?A:0,r!==e&&(b.uniform1i(z.fogType,e),r=e),e=1/(u.scaleByViewport?o:1),D[0]=e*w*u.scale.x,D[1]=e*u.scale.y,b.uniform2f(z.uvScale,u.uvScale.x,u.uvScale.y),b.uniform2f(z.uvOffset,
u.uvOffset.x,u.uvOffset.y),b.uniform2f(z.alignment,u.alignment.x,u.alignment.y),b.uniform1f(z.opacity,u.opacity),b.uniform3f(z.color,u.color.r,u.color.g,u.color.b),b.uniform1f(z.rotation,u.rotation),b.uniform2fv(z.scale,D),u.mergeWith3D&&!E?(b.enable(b.DEPTH_TEST),E=!0):!u.mergeWith3D&&E&&(b.disable(b.DEPTH_TEST),E=!1),c.setBlending(u.blending,u.blendEquation,u.blendSrc,u.blendDst),c.setTexture(u.map,0),b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0);b.enable(b.CULL_FACE);b.enable(b.DEPTH_TEST);
b.depthMask(!0)}}};
THREE.DepthPassPlugin=function(){this.enabled=!1;this.renderTarget=null;var a,b,c,d,e,f,g=new THREE.Frustum,h=new THREE.Matrix4;this.init=function(g){a=g.context;b=g;var g=THREE.ShaderLib.depthRGBA,h=THREE.UniformsUtils.clone(g.uniforms);c=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h});d=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:!0});e=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,
uniforms:h,skinning:!0});f=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:!0,skinning:!0});c._shadowPass=!0;d._shadowPass=!0;e._shadowPass=!0;f._shadowPass=!0};this.render=function(a,b){this.enabled&&this.update(a,b)};this.update=function(i,j){var l,m,n,p,o,s;a.clearColor(1,1,1,1);a.disable(a.BLEND);b.setDepthTest(!0);b.autoUpdateScene&&i.updateMatrixWorld();j._viewMatrixArray||(j._viewMatrixArray=new Float32Array(16));j._projectionMatrixArray||
(j._projectionMatrixArray=new Float32Array(16));j.matrixWorldInverse.getInverse(j.matrixWorld);j.matrixWorldInverse.flattenToArray(j._viewMatrixArray);j.projectionMatrix.flattenToArray(j._projectionMatrixArray);h.multiply(j.projectionMatrix,j.matrixWorldInverse);g.setFromMatrix(h);b.setRenderTarget(this.renderTarget);b.clear();s=i.__webglObjects;l=0;for(m=s.length;l<m;l++)if(n=s[l],o=n.object,n.render=!1,o.visible&&(!(o instanceof THREE.Mesh||o instanceof THREE.ParticleSystem)||!o.frustumCulled||
g.contains(o)))o._modelViewMatrix.multiply(j.matrixWorldInverse,o.matrixWorld),n.render=!0;var t;l=0;for(m=s.length;l<m;l++)if(n=s[l],n.render&&(o=n.object,n=n.buffer,!(o instanceof THREE.ParticleSystem)||o.customDepthMaterial))(t=o.material instanceof THREE.MeshFaceMaterial?o.material.materials[0]:o.material)&&b.setMaterialFaces(o.material),p=0<o.geometry.morphTargets.length&&t.morphTargets,t=o instanceof THREE.SkinnedMesh&&t.skinning,p=o.customDepthMaterial?o.customDepthMaterial:t?p?f:e:p?d:c,n instanceof
THREE.BufferGeometry?b.renderBufferDirect(j,i.__lights,null,p,n,o):b.renderBuffer(j,i.__lights,null,p,n,o);s=i.__webglObjectsImmediate;l=0;for(m=s.length;l<m;l++)n=s[l],o=n.object,o.visible&&(o._modelViewMatrix.multiply(j.matrixWorldInverse,o.matrixWorld),b.renderImmediateObject(j,i.__lights,null,c,o));l=b.getClearColor();m=b.getClearAlpha();a.clearColor(l.r,l.g,l.b,m);a.enable(a.BLEND)}};
THREE.ShaderFlares={lensFlareVertexTexture:{vertexShader:"uniform vec3 screenPosition;\nuniform vec2 scale;\nuniform float rotation;\nuniform int renderType;\nuniform sampler2D occlusionMap;\nattribute vec2 position;\nattribute vec2 uv;\nvarying vec2 vUV;\nvarying float vVisibility;\nvoid main() {\nvUV = uv;\nvec2 pos = position;\nif( renderType == 2 ) {\nvec4 visibility = texture2D( occlusionMap, vec2( 0.1, 0.1 ) ) +\ntexture2D( occlusionMap, vec2( 0.5, 0.1 ) ) +\ntexture2D( occlusionMap, vec2( 0.9, 0.1 ) ) +\ntexture2D( occlusionMap, vec2( 0.9, 0.5 ) ) +\ntexture2D( occlusionMap, vec2( 0.9, 0.9 ) ) +\ntexture2D( occlusionMap, vec2( 0.5, 0.9 ) ) +\ntexture2D( occlusionMap, vec2( 0.1, 0.9 ) ) +\ntexture2D( occlusionMap, vec2( 0.1, 0.5 ) ) +\ntexture2D( occlusionMap, vec2( 0.5, 0.5 ) );\nvVisibility = ( visibility.r / 9.0 ) *\n( 1.0 - visibility.g / 9.0 ) *\n( visibility.b / 9.0 ) *\n( 1.0 - visibility.a / 9.0 );\npos.x = cos( rotation ) * position.x - sin( rotation ) * position.y;\npos.y = sin( rotation ) * position.x + cos( rotation ) * position.y;\n}\ngl_Position = vec4( ( pos * scale + screenPosition.xy ).xy, screenPosition.z, 1.0 );\n}",fragmentShader:"precision mediump float;\nuniform sampler2D map;\nuniform float opacity;\nuniform int renderType;\nuniform vec3 color;\nvarying vec2 vUV;\nvarying float vVisibility;\nvoid main() {\nif( renderType == 0 ) {\ngl_FragColor = vec4( 1.0, 0.0, 1.0, 0.0 );\n} else if( renderType == 1 ) {\ngl_FragColor = texture2D( map, vUV );\n} else {\nvec4 texture = texture2D( map, vUV );\ntexture.a *= opacity * vVisibility;\ngl_FragColor = texture;\ngl_FragColor.rgb *= color;\n}\n}"},
lensFlare:{vertexShader:"uniform vec3 screenPosition;\nuniform vec2 scale;\nuniform float rotation;\nuniform int renderType;\nattribute vec2 position;\nattribute vec2 uv;\nvarying vec2 vUV;\nvoid main() {\nvUV = uv;\nvec2 pos = position;\nif( renderType == 2 ) {\npos.x = cos( rotation ) * position.x - sin( rotation ) * position.y;\npos.y = sin( rotation ) * position.x + cos( rotation ) * position.y;\n}\ngl_Position = vec4( ( pos * scale + screenPosition.xy ).xy, screenPosition.z, 1.0 );\n}",fragmentShader:"precision mediump float;\nuniform sampler2D map;\nuniform sampler2D occlusionMap;\nuniform float opacity;\nuniform int renderType;\nuniform vec3 color;\nvarying vec2 vUV;\nvoid main() {\nif( renderType == 0 ) {\ngl_FragColor = vec4( texture2D( map, vUV ).rgb, 0.0 );\n} else if( renderType == 1 ) {\ngl_FragColor = texture2D( map, vUV );\n} else {\nfloat visibility = texture2D( occlusionMap, vec2( 0.5, 0.1 ) ).a +\ntexture2D( occlusionMap, vec2( 0.9, 0.5 ) ).a +\ntexture2D( occlusionMap, vec2( 0.5, 0.9 ) ).a +\ntexture2D( occlusionMap, vec2( 0.1, 0.5 ) ).a;\nvisibility = ( 1.0 - visibility / 4.0 );\nvec4 texture = texture2D( map, vUV );\ntexture.a *= opacity * visibility;\ngl_FragColor = texture;\ngl_FragColor.rgb *= color;\n}\n}"}};
THREE.ShaderSprite={sprite:{vertexShader:"uniform int useScreenCoordinates;\nuniform int affectedByDistance;\nuniform vec3 screenPosition;\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float rotation;\nuniform vec2 scale;\nuniform vec2 alignment;\nuniform vec2 uvOffset;\nuniform vec2 uvScale;\nattribute vec2 position;\nattribute vec2 uv;\nvarying vec2 vUV;\nvoid main() {\nvUV = uvOffset + uv * uvScale;\nvec2 alignedPosition = position + alignment;\nvec2 rotatedPosition;\nrotatedPosition.x = ( cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y ) * scale.x;\nrotatedPosition.y = ( sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y ) * scale.y;\nvec4 finalPosition;\nif( useScreenCoordinates != 0 ) {\nfinalPosition = vec4( screenPosition.xy + rotatedPosition, screenPosition.z, 1.0 );\n} else {\nfinalPosition = projectionMatrix * modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\nfinalPosition.xy += rotatedPosition * ( affectedByDistance == 1 ? 1.0 : finalPosition.z );\n}\ngl_Position = finalPosition;\n}",
fragmentShader:"precision mediump float;\nuniform vec3 color;\nuniform sampler2D map;\nuniform float opacity;\nuniform int fogType;\nuniform vec3 fogColor;\nuniform float fogDensity;\nuniform float fogNear;\nuniform float fogFar;\nvarying vec2 vUV;\nvoid main() {\nvec4 texture = texture2D( map, vUV );\ngl_FragColor = vec4( color * texture.xyz, texture.a * opacity );\nif ( fogType > 0 ) {\nfloat depth = gl_FragCoord.z / gl_FragCoord.w;\nfloat fogFactor = 0.0;\nif ( fogType == 1 ) {\nfogFactor = smoothstep( fogNear, fogFar, depth );\n} else {\nconst float LOG2 = 1.442695;\nfloat fogFactor = exp2( - fogDensity * fogDensity * depth * depth * LOG2 );\nfogFactor = 1.0 - clamp( fogFactor, 0.0, 1.0 );\n}\ngl_FragColor = mix( gl_FragColor, vec4( fogColor, gl_FragColor.w ), fogFactor );\n}\n}"}};
| 392,908 | three.min | js | en | javascript | code | {"qsc_code_num_words": 76802, "qsc_code_num_chars": 392908.0, "qsc_code_mean_word_length": 3.6965704, "qsc_code_frac_words_unique": 0.03067628, "qsc_code_frac_chars_top_2grams": 0.01927412, "qsc_code_frac_chars_top_3grams": 0.00859445, "qsc_code_frac_chars_top_4grams": 0.0046882, "qsc_code_frac_chars_dupe_5grams": 0.49857698, "qsc_code_frac_chars_dupe_6grams": 0.43236798, "qsc_code_frac_chars_dupe_7grams": 0.37856459, "qsc_code_frac_chars_dupe_8grams": 0.32391231, "qsc_code_frac_chars_dupe_9grams": 0.29859741, "qsc_code_frac_chars_dupe_10grams": 0.27636102, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03032924, "qsc_code_frac_chars_whitespace": 0.02606463, "qsc_code_size_file_byte": 392908.0, "qsc_code_num_lines": 767.0, "qsc_code_num_chars_line_max": 8995.0, "qsc_code_num_chars_line_mean": 512.26597132, "qsc_code_frac_chars_alphabet": 0.71157952, "qsc_code_frac_chars_comments": 0.00011962, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.07571802, "qsc_code_frac_chars_string_length": 0.14934035, "qsc_code_frac_chars_long_word_length": 0.02861826, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.00130548, "qsc_codejavascript_cate_ast": 1.0, "qsc_codejavascript_cate_var_zero": 0.0, "qsc_codejavascript_frac_lines_func_ratio": 0.15143603, "qsc_codejavascript_num_statement_line": 0.72193211, "qsc_codejavascript_score_lines_no_logic": 1.71148825, "qsc_codejavascript_frac_words_legal_var_name": 0.85890993, "qsc_codejavascript_frac_words_legal_func_name": 1.0, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.01958225} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 0, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 0, "qsc_codejavascript_score_lines_no_logic": 1, "qsc_codejavascript_frac_lines_print": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/ПодборВалютИзКлассификатора.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="80512d95-5458-4934-98ae-a7b58099196b">
<Properties>
<Name>ПодборВалютИзКлассификатора</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Подбор валют из классификатора</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,540 | ПодборВалютИзКлассификатора | xml | ru | xml | data | {"qsc_code_num_words": 250, "qsc_code_num_chars": 1540.0, "qsc_code_mean_word_length": 4.368, "qsc_code_frac_words_unique": 0.34, "qsc_code_frac_chars_top_2grams": 0.08241758, "qsc_code_frac_chars_top_3grams": 0.10989011, "qsc_code_frac_chars_top_4grams": 0.13736264, "qsc_code_frac_chars_dupe_5grams": 0.40567766, "qsc_code_frac_chars_dupe_6grams": 0.40567766, "qsc_code_frac_chars_dupe_7grams": 0.27930403, "qsc_code_frac_chars_dupe_8grams": 0.22344322, "qsc_code_frac_chars_dupe_9grams": 0.04395604, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07949791, "qsc_code_frac_chars_whitespace": 0.06883117, "qsc_code_size_file_byte": 1540.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 70.0, "qsc_code_frac_chars_alphabet": 0.68131102, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.46688312, "qsc_code_frac_chars_long_word_length": 0.05584416, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/ПараметрыПрописиВалюты_ru.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="0c3c4494-c037-431e-9eeb-9b6cfd7372c3">
<Properties>
<Name>ПараметрыПрописиВалюты_ru</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Параметры прописи валюты на русском языке</v8:content>
</v8:item>
</Synonym>
<Comment>АПК:58</Comment>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,564 | ПараметрыПрописиВалюты_ru | xml | ru | xml | data | {"qsc_code_num_words": 256, "qsc_code_num_chars": 1564.0, "qsc_code_mean_word_length": 4.3359375, "qsc_code_frac_words_unique": 0.34765625, "qsc_code_frac_chars_top_2grams": 0.08108108, "qsc_code_frac_chars_top_3grams": 0.10810811, "qsc_code_frac_chars_top_4grams": 0.13513514, "qsc_code_frac_chars_dupe_5grams": 0.3990991, "qsc_code_frac_chars_dupe_6grams": 0.3990991, "qsc_code_frac_chars_dupe_7grams": 0.27477477, "qsc_code_frac_chars_dupe_8grams": 0.21981982, "qsc_code_frac_chars_dupe_9grams": 0.04324324, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07554945, "qsc_code_frac_chars_whitespace": 0.06905371, "qsc_code_size_file_byte": 1564.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 71.09090909, "qsc_code_frac_chars_alphabet": 0.68612637, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.45971867, "qsc_code_frac_chars_long_word_length": 0.05498721, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/СообщенияОбОшибках.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="569047c2-0879-4fba-a814-44812d21043b">
<Properties>
<Name>СообщенияОбОшибках</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Сообщения об ошибках</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,521 | СообщенияОбОшибках | xml | ru | xml | data | {"qsc_code_num_words": 249, "qsc_code_num_chars": 1521.0, "qsc_code_mean_word_length": 4.31325301, "qsc_code_frac_words_unique": 0.3373494, "qsc_code_frac_chars_top_2grams": 0.08379888, "qsc_code_frac_chars_top_3grams": 0.11173184, "qsc_code_frac_chars_top_4grams": 0.1396648, "qsc_code_frac_chars_dupe_5grams": 0.41247672, "qsc_code_frac_chars_dupe_6grams": 0.41247672, "qsc_code_frac_chars_dupe_7grams": 0.2839851, "qsc_code_frac_chars_dupe_8grams": 0.22718808, "qsc_code_frac_chars_dupe_9grams": 0.04469274, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07980226, "qsc_code_frac_chars_whitespace": 0.06903353, "qsc_code_size_file_byte": 1521.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 69.13636364, "qsc_code_frac_chars_alphabet": 0.6779661, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.47271532, "qsc_code_frac_chars_long_word_length": 0.05654175, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Ext/Help/ru.html | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html;charset=utf-8" http-equiv="content-type"></meta><link rel="stylesheet" type="text/css" href="v8help://service_book/service_style"></link><meta name="GENERATOR" content="MSHTML 9.00.8112.16421"></meta></head><body>
<p>Загрузка курсов <a href="Catalog.Валюты/Help">валют</a> производится на портале 1С:ИТС.</p>
<p>Окно загрузки <a href="InformationRegister.КурсыВалют/Help">курсов</a> состоит из двух частей:</p>
<ul><li>Период:
<ul><li><strong>С</strong> - дата начала периода загрузки курсов валют.
</li>
<li>
<div><strong>По</strong> - дата окончания периода загрузки курсов валют.</div></li></ul></li>
<li>Список валют - заполняется по умолчанию из списка <strong>Валюты </strong>только теми <a href="Catalog.Валюты.Form.ФормаЭлемента/Help">валютами</a>, у которых установлен флажок <strong>Загружается из интернета</strong>. В списке выводится:
<ul><li><strong>Загружать</strong> - включите флажок для загрузки курсов валюты за указанный период.
</li>
<li><strong>Симв. код</strong> - используется как основное представление валюты.
</li>
<li><strong>Валюта</strong> - полное наименование валюты.
</li>
<li><strong>Дата курса</strong> - дата загруженного курса валюты.
</li>
<li><strong>Курс</strong> - выводится курс на указанную дату.
</li>
<li><strong>Кратность</strong> - количество котировочных единиц, не выводится, если равна 1.</li></ul></li>
<li>в список можно добавить дополнительные поля по команде <strong>Еще - Изменить форму</strong>:
<ul><li><strong>Цифр. код</strong> - уникальный числовой код, служит для идентификации валюты при загрузке курсов из сети Интернет.</li></ul></li></ul><h3>Загрузка курсов выбранных валют </h3>
<ul><li>
<div>Укажите начало и окончание периода для загрузки курсов в полях <strong>С</strong> и <strong>По</strong>.</div>
</li>
<li>
<div>Выберите нужные валюты с помощью флажка <strong>Загружать</strong> или все валюты с помощью кнопки <img src="StdPicture.CheckAll"></img>. </div>
</li>
<li>
<div>Снять выбор всех валют можно с помощью кнопки <img src="StdPicture.UncheckAll"></img>.</div>
</li>
<li>
<div>Нажмите <strong>Загрузить и закрыть</strong>.</div></li></ul><h3>См. также: </h3>
<ul><li><a href="DataProcessor.ЗагрузкаКурсовВалют.Form.ПодборВалютИзКлассификатора/Help">Общероссийский классификатор валют</a>;
</li>
<li><a href="v8help://frame/form_common">Работа с формами</a>.</li></ul></body></html> | 2,469 | ru | html | ru | html | code | {"qsc_code_num_words": 364, "qsc_code_num_chars": 2469.0, "qsc_code_mean_word_length": 4.9478022, "qsc_code_frac_words_unique": 0.45879121, "qsc_code_frac_chars_top_2grams": 0.02665186, "qsc_code_frac_chars_top_3grams": 0.02776235, "qsc_code_frac_chars_top_4grams": 0.02665186, "qsc_code_frac_chars_dupe_5grams": 0.04775125, "qsc_code_frac_chars_dupe_6grams": 0.03331483, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01070473, "qsc_code_frac_chars_whitespace": 0.09194006, "qsc_code_size_file_byte": 2469.0, "qsc_code_num_lines": 36.0, "qsc_code_num_chars_line_max": 314.0, "qsc_code_num_chars_line_mean": 68.58333333, "qsc_code_frac_chars_alphabet": 0.79214987, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.38888889, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.15593358, "qsc_code_frac_chars_long_word_length": 0.10085055, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codehtml_cate_ast": 1.0, "qsc_codehtml_frac_words_text": 0.49736736, "qsc_codehtml_num_chars_text": 1228.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_codehtml_cate_ast": 0, "qsc_codehtml_frac_words_text": 0, "qsc_codehtml_num_chars_text": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/ПодборВалютИзКлассификатора/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<WindowOpeningMode>LockOwnerWindow</WindowOpeningMode>
<CommandBarLocation>None</CommandBarLocation>
<MobileDeviceCommandBarContent>
<xr:Item>
<xr:Presentation/>
<xr:CheckState>0</xr:CheckState>
<xr:Value xsi:type="xs:string">СписокВалютКоманднаяПанель</xr:Value>
</xr:Item>
</MobileDeviceCommandBarContent>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<Table name="СписокВалют" id="1">
<Representation>List</Representation>
<CommandBarLocation>Top</CommandBarLocation>
<ReadOnly>true</ReadOnly>
<SkipOnInput>false</SkipOnInput>
<ChoiceMode>true</ChoiceMode>
<MultipleChoice>true</MultipleChoice>
<RowSelectionMode>Row</RowSelectionMode>
<AutoInsertNewRow>true</AutoInsertNewRow>
<FileDragMode>AsFile</FileDragMode>
<DataPath>Валюты</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Валют</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Choose</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>CopyToClipboard</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>OutputList</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
</CommandSet>
<RowFilter xsi:nil="true"/>
<ContextMenu name="СписокВалютКонтекстноеМеню" id="2">
<ChildItems>
<Button name="СписокВалютКонтекстноеМенюВыбрать" id="18">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Выбрать</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="СписокВалютКонтекстноеМенюВыбратьРасширеннаяПодсказка" id="21"/>
</Button>
<Button name="СписокВалютКонтекстноеМенюНайти" id="19">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.СписокВалют.StandardCommand.Find</CommandName>
<ExtendedTooltip name="СписокВалютКонтекстноеМенюНайтиРасширеннаяПодсказка" id="22"/>
</Button>
<Button name="СписокВалютКонтекстноеМенюОтменитьПоиск" id="20">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.СписокВалют.StandardCommand.CancelSearch</CommandName>
<ExtendedTooltip name="СписокВалютКонтекстноеМенюОтменитьПоискРасширеннаяПодсказка" id="23"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="СписокВалютКоманднаяПанель" id="3">
<ChildItems>
<Button name="Выбрать" id="14">
<Type>CommandBarButton</Type>
<Representation>Text</Representation>
<DefaultButton>true</DefaultButton>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.Выбрать</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВыбратьРасширеннаяПодсказка" id="24"/>
</Button>
<Button name="Найти" id="12">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокВалют.StandardCommand.Find</CommandName>
<ExtendedTooltip name="НайтиРасширеннаяПодсказка" id="25"/>
</Button>
<Button name="ОтменитьПоиск" id="13">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокВалют.StandardCommand.CancelSearch</CommandName>
<ExtendedTooltip name="ОтменитьПоискРасширеннаяПодсказка" id="26"/>
</Button>
<Button name="ФормаСправка" id="17">
<Type>CommandBarButton</Type>
<CommandName>Form.StandardCommand.Help</CommandName>
<ExtendedTooltip name="ФормаСправкаРасширеннаяПодсказка" id="27"/>
</Button>
</ChildItems>
</AutoCommandBar>
<ExtendedTooltip name="СписокВалютРасширеннаяПодсказка" id="28"/>
<SearchStringAddition name="СписокВалютSearchString" id="34">
<AdditionSource>
<Item>СписокВалют</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокВалютSearchStringContextMenu" id="35"/>
<ExtendedTooltip name="СписокВалютSearchStringExtendedTooltip" id="36"/>
</SearchStringAddition>
<ViewStatusAddition name="СписокВалютViewStatus" id="37">
<AdditionSource>
<Item>СписокВалют</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокВалютViewStatusContextMenu" id="38"/>
<ExtendedTooltip name="СписокВалютViewStatusExtendedTooltip" id="39"/>
</ViewStatusAddition>
<SearchControlAddition name="СписокВалютSearchControl" id="40">
<AdditionSource>
<Item>СписокВалют</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="СписокВалютSearchControlContextMenu" id="41"/>
<ExtendedTooltip name="СписокВалютSearchControlExtendedTooltip" id="42"/>
</SearchControlAddition>
<Events>
<Event name="Selection">СписокВалютВыбор</Event>
</Events>
<ChildItems>
<InputField name="КодВалюты" id="4" DisplayImportance="VeryLow">
<DataPath>Валюты.КодВалютыЦифровой</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Цифр. код</v8:content>
</v8:item>
</Title>
<Width>9</Width>
<HorizontalStretch>false</HorizontalStretch>
<Wrap>false</Wrap>
<ContextMenu name="КодВалютыКонтекстноеМеню" id="5"/>
<ExtendedTooltip name="КодВалютыРасширеннаяПодсказка" id="29"/>
</InputField>
<InputField name="КраткоеНаименование" id="6" DisplayImportance="VeryLow">
<DataPath>Валюты.КодВалютыБуквенный</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Симв. код</v8:content>
</v8:item>
</Title>
<Width>9</Width>
<HorizontalStretch>false</HorizontalStretch>
<Wrap>false</Wrap>
<ContextMenu name="КраткоеНаименованиеКонтекстноеМеню" id="7"/>
<ExtendedTooltip name="КраткоеНаименованиеРасширеннаяПодсказка" id="30"/>
</InputField>
<InputField name="Наименование" id="8" DisplayImportance="VeryHigh">
<DataPath>Валюты.Наименование</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Наименование валюты</v8:content>
</v8:item>
</Title>
<Width>20</Width>
<HorizontalStretch>false</HorizontalStretch>
<Wrap>false</Wrap>
<ContextMenu name="НаименованиеКонтекстноеМеню" id="9"/>
<ExtendedTooltip name="НаименованиеРасширеннаяПодсказка" id="31"/>
</InputField>
<InputField name="СтраныИТерритории" id="10" DisplayImportance="VeryLow">
<DataPath>Валюты.СтраныИТерритории</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Страны и территории</v8:content>
</v8:item>
</Title>
<Wrap>false</Wrap>
<ContextMenu name="СтраныИТерриторииКонтекстноеМеню" id="11"/>
<ExtendedTooltip name="СтраныИТерриторииРасширеннаяПодсказка" id="32"/>
</InputField>
<CheckBoxField name="Загружается" id="15" DisplayImportance="VeryLow">
<DataPath>Валюты.Загружается</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Загружается из Интернета</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Курс валюты может быть загружен из Интернета</v8:content>
</v8:item>
</ToolTip>
<HeaderPicture>
<xr:Ref>StdPicture.Refresh</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</HeaderPicture>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="ЗагружаетсяКонтекстноеМеню" id="16"/>
<ExtendedTooltip name="ЗагружаетсяРасширеннаяПодсказка" id="33"/>
</CheckBoxField>
</ChildItems>
</Table>
</ChildItems>
<Attributes>
<Attribute name="Валюты" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Валюты</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="КодВалютыЦифровой" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Код числовой</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="КодВалютыБуквенный" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Код символьный</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Наименование" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Наименование валюты</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="СтраныИТерритории" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Страны и территории</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Загружается" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Загружается из Интернета</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="ПараметрыПрописи" id="6">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
</Attributes>
<Commands>
<Command name="Выбрать" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Создание новой валюты на основании выбора</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.ChooseValue</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>ВыбратьВыполнить</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
</Commands>
</Form> | 12,060 | Form | xml | ru | xml | data | {"qsc_code_num_words": 1229, "qsc_code_num_chars": 12060.0, "qsc_code_mean_word_length": 6.54109032, "qsc_code_frac_words_unique": 0.21887714, "qsc_code_frac_chars_top_2grams": 0.02537629, "qsc_code_frac_chars_top_3grams": 0.01691753, "qsc_code_frac_chars_top_4grams": 0.02537629, "qsc_code_frac_chars_dupe_5grams": 0.42181863, "qsc_code_frac_chars_dupe_6grams": 0.38723722, "qsc_code_frac_chars_dupe_7grams": 0.37716134, "qsc_code_frac_chars_dupe_8grams": 0.36074139, "qsc_code_frac_chars_dupe_9grams": 0.33412116, "qsc_code_frac_chars_dupe_10grams": 0.27080483, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03192874, "qsc_code_frac_chars_whitespace": 0.17155887, "qsc_code_size_file_byte": 12060.0, "qsc_code_num_lines": 335.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 36.0, "qsc_code_frac_chars_alphabet": 0.77259534, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.59402985, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.17752902, "qsc_code_frac_chars_long_word_length": 0.08781095, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/ПодборВалютИзКлассификатора/Ext/Help/ru.html | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html;charset=utf-8" http-equiv="content-type"></meta><link rel="stylesheet" type="text/css" href="v8help://service_book/service_style"></link><meta name="GENERATOR" content="MSHTML 9.00.8112.16421"></meta></head><body>
<p>Содержит общую информацию о <a href="Catalog.Валюты/Help">валютах</a> и предназначен для добавления новых валют (рекомендуется для корректного заполнения данных о <a href="Catalog.Валюты.Form.ФормаЭлемента/Help">валюте</a>).</p>
<p>В Общероссийском классификаторе валют выводится:</p>
<ul><li>
<div><strong>Цифр. код</strong> - числовой код, служит для идентификации валюты при загрузке курсов из сети Интернет (с портала 1С:ИТС).</div>
</li>
<li>
<div><strong>Симв. код</strong> - используется как краткое наименование и основное представление валюты.</div>
</li>
<li>
<div><strong>Наименование валюты</strong> - полное наименование.</div>
</li>
<li>
<div><strong>Страны и территории</strong> - указываются страны или территории, в которых данная валюта используется в качестве основной.</div>
</li>
<li>
<div><strong>Загружается из сети Интернет</strong> - если флажок включен, то валюта может <a href="DataProcessor.ЗагрузкаКурсовВалют/Help">загружаться с портала 1С:ИТС</a>.</div></li></ul><h3>Добавление валюты из классификатора в список валют</h3>
<ul><li>
<div>Выделив одну или несколько валют, нажмите кнопку <strong>Выбрать</strong>.</div>
</li>
<li>
<div>Воспользуйтесь двойным щелчком мыши по валюте для добавления валюты в список валют.</div></li></ul><h3>См. также: </h3>
<ul><li>
<div><a href="v8help://frame/form_common">Работа с формами</a>.</div></li></ul></body></html> | 1,704 | ru | html | ru | html | code | {"qsc_code_num_words": 254, "qsc_code_num_chars": 1704.0, "qsc_code_mean_word_length": 4.94094488, "qsc_code_frac_words_unique": 0.51181102, "qsc_code_frac_chars_top_2grams": 0.03187251, "qsc_code_frac_chars_top_3grams": 0.0438247, "qsc_code_frac_chars_top_4grams": 0.03984064, "qsc_code_frac_chars_dupe_5grams": 0.0812749, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01544402, "qsc_code_frac_chars_whitespace": 0.08802817, "qsc_code_size_file_byte": 1704.0, "qsc_code_num_lines": 24.0, "qsc_code_num_chars_line_max": 314.0, "qsc_code_num_chars_line_mean": 71.0, "qsc_code_frac_chars_alphabet": 0.79150579, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.54166667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.16255869, "qsc_code_frac_chars_long_word_length": 0.09389671, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codehtml_cate_ast": 1.0, "qsc_codehtml_frac_words_text": 0.51408451, "qsc_codehtml_num_chars_text": 876.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_codehtml_cate_ast": 0, "qsc_codehtml_frac_words_text": 0, "qsc_codehtml_num_chars_text": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/ПодборВалютИзКлассификатора/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
// Заполнение списка валют из ОКВ.
ЗакрыватьПриВыборе = Ложь;
ЗаполнитьТаблицуВалют();
Если ОбщегоНазначения.ЭтоМобильныйКлиент() Тогда
Элементы.Загружается.ПоложениеЗаголовка = ПоложениеЗаголовкаЭлементаФормы.Авто;
Элементы.СтраныИТерритории.Заголовок = НСтр("ru = 'Страны'");
КонецЕсли;
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиСобытийЭлементовТаблицыФормыСписокВалют
&НаКлиенте
Процедура СписокВалютВыбор(Элемент, ВыбраннаяСтрока, Поле, СтандартнаяОбработка)
ОбработатьВыборВСпискеВалют(СтандартнаяОбработка);
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиКомандФормы
&НаКлиенте
Процедура ВыбратьВыполнить()
ОбработатьВыборВСпискеВалют();
КонецПроцедуры
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
&НаСервере
Процедура ЗаполнитьТаблицуВалют()
Для Каждого ЗаписьОКВ Из Обработки.ЗагрузкаКурсовВалют.КлассификаторВалют() Цикл
НоваяСтрока = Валюты.Добавить();
НоваяСтрока.КодВалютыЦифровой = ЗаписьОКВ.Code;
НоваяСтрока.КодВалютыБуквенный = ЗаписьОКВ.CodeSymbol;
НоваяСтрока.Наименование = ЗаписьОКВ.Name;
НоваяСтрока.СтраныИТерритории = ЗаписьОКВ.Description;
НоваяСтрока.Загружается = ЗаписьОКВ.RBCLoading;
НоваяСтрока.ПараметрыПрописи = ЗаписьОКВ.NumerationItemOptions;
КонецЦикла;
КонецПроцедуры
&НаСервере
Функция СохранитьВыбранныеСтроки(Знач ВыбранныеСтроки, ЕстьКурсы)
ЕстьКурсы = Ложь;
ТекущаяСсылка = Неопределено;
Для каждого НомерСтроки Из ВыбранныеСтроки Цикл
ТекущиеДанные = Валюты[НомерСтроки];
СтрокаВБазе = Справочники.Валюты.НайтиПоКоду(ТекущиеДанные.КодВалютыЦифровой);
Если ЗначениеЗаполнено(СтрокаВБазе) Тогда
Если НомерСтроки = Элементы.СписокВалют.ТекущаяСтрока Или ТекущаяСсылка = Неопределено Тогда
ТекущаяСсылка = СтрокаВБазе;
КонецЕсли;
Продолжить;
КонецЕсли;
НоваяСтрока = Справочники.Валюты.СоздатьЭлемент();
НоваяСтрока.Код = ТекущиеДанные.КодВалютыЦифровой;
НоваяСтрока.Наименование = ТекущиеДанные.КодВалютыБуквенный;
НоваяСтрока.НаименованиеПолное = ТекущиеДанные.Наименование;
Если ТекущиеДанные.Загружается Тогда
НоваяСтрока.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.ЗагрузкаИзИнтернета;
Иначе
НоваяСтрока.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.РучнойВвод;
КонецЕсли;
НоваяСтрока.ПараметрыПрописи = ТекущиеДанные.ПараметрыПрописи;
НоваяСтрока.Записать();
Если НомерСтроки = Элементы.СписокВалют.ТекущаяСтрока Или ТекущаяСсылка = Неопределено Тогда
ТекущаяСсылка = НоваяСтрока.Ссылка;
КонецЕсли;
Если ТекущиеДанные.Загружается Тогда
ЕстьКурсы = Истина;
КонецЕсли;
КонецЦикла;
Возврат ТекущаяСсылка;
КонецФункции
&НаКлиенте
Процедура ОбработатьВыборВСпискеВалют(СтандартнаяОбработка = Неопределено)
Перем ЕстьКурсы;
// Добавление элемента справочника и вывод результата пользователю.
СтандартнаяОбработка = Ложь;
ТекущаяСсылка = СохранитьВыбранныеСтроки(Элементы.СписокВалют.ВыделенныеСтроки, ЕстьКурсы);
ОповеститьОВыборе(ТекущаяСсылка);
ПоказатьОповещениеПользователя(
НСтр("ru = 'Валюты добавлены.'"), ,
?(ОбщегоНазначенияКлиент.РазделениеВключено() И ЕстьКурсы,
НСтр("ru = 'Курсы будут загружены автоматически через непродолжительное время.'"), ""),
БиблиотекаКартинок.ДиалогИнформация);
Закрыть();
КонецПроцедуры
#КонецОбласти
| 4,001 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 290, "qsc_code_num_chars": 4001.0, "qsc_code_mean_word_length": 10.38275862, "qsc_code_frac_words_unique": 0.52758621, "qsc_code_frac_chars_top_2grams": 0.03454002, "qsc_code_frac_chars_top_3grams": 0.03287944, "qsc_code_frac_chars_top_4grams": 0.02258386, "qsc_code_frac_chars_dupe_5grams": 0.0617735, "qsc_code_frac_chars_dupe_6grams": 0.0617735, "qsc_code_frac_chars_dupe_7grams": 0.0617735, "qsc_code_frac_chars_dupe_8grams": 0.0617735, "qsc_code_frac_chars_dupe_9grams": 0.0617735, "qsc_code_frac_chars_dupe_10grams": 0.0617735, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00316456, "qsc_code_frac_chars_whitespace": 0.1312172, "qsc_code_size_file_byte": 4001.0, "qsc_code_num_lines": 129.0, "qsc_code_num_chars_line_max": 105.0, "qsc_code_num_chars_line_mean": 31.01550388, "qsc_code_frac_chars_alphabet": 0.8627733, "qsc_code_frac_chars_comments": 0.97375656, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/СообщенияОбОшибках/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Подробнее</v8:content>
</v8:item>
</Title>
<WindowOpeningMode>LockOwnerWindow</WindowOpeningMode>
<AutoTitle>false</AutoTitle>
<CommandBarLocation>Bottom</CommandBarLocation>
<CommandSet>
<ExcludedCommand>Abort</ExcludedCommand>
<ExcludedCommand>Cancel</ExcludedCommand>
<ExcludedCommand>CustomizeForm</ExcludedCommand>
<ExcludedCommand>Help</ExcludedCommand>
<ExcludedCommand>Ignore</ExcludedCommand>
<ExcludedCommand>No</ExcludedCommand>
<ExcludedCommand>OK</ExcludedCommand>
<ExcludedCommand>RestoreValues</ExcludedCommand>
<ExcludedCommand>Retry</ExcludedCommand>
<ExcludedCommand>SaveValues</ExcludedCommand>
<ExcludedCommand>Yes</ExcludedCommand>
</CommandSet>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
<HorizontalAlign>Right</HorizontalAlign>
<ChildItems>
<Button name="ФормаЗакрыть" id="4">
<Type>CommandBarButton</Type>
<DefaultButton>true</DefaultButton>
<CommandName>Form.StandardCommand.Close</CommandName>
<ExtendedTooltip name="ФормаЗакрытьРасширеннаяПодсказка" id="5"/>
</Button>
</ChildItems>
</AutoCommandBar>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<InputField name="Текст" id="1">
<DataPath>Текст</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текст</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<Width>60</Width>
<AutoMaxWidth>false</AutoMaxWidth>
<Height>8</Height>
<AutoMaxHeight>false</AutoMaxHeight>
<MultiLine>true</MultiLine>
<TextEdit>false</TextEdit>
<ContextMenu name="ТекстКонтекстноеМеню" id="2"/>
<ExtendedTooltip name="ТекстРасширеннаяПодсказка" id="3"/>
</InputField>
</ChildItems>
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>cfg:DataProcessorObject.ЗагрузкаКурсовВалют</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
<Attribute name="Текст" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текст</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
</Attributes>
<Parameters>
<Parameter name="Текст">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Parameter>
</Parameters>
</Form> | 3,585 | Form | xml | ru | xml | data | {"qsc_code_num_words": 446, "qsc_code_num_chars": 3585.0, "qsc_code_mean_word_length": 5.67713004, "qsc_code_frac_words_unique": 0.29596413, "qsc_code_frac_chars_top_2grams": 0.03554502, "qsc_code_frac_chars_top_3grams": 0.04739336, "qsc_code_frac_chars_top_4grams": 0.05924171, "qsc_code_frac_chars_dupe_5grams": 0.32345972, "qsc_code_frac_chars_dupe_6grams": 0.31556082, "qsc_code_frac_chars_dupe_7grams": 0.29581359, "qsc_code_frac_chars_dupe_8grams": 0.27764613, "qsc_code_frac_chars_dupe_9grams": 0.21208531, "qsc_code_frac_chars_dupe_10grams": 0.15402844, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03952692, "qsc_code_frac_chars_whitespace": 0.10376569, "qsc_code_size_file_byte": 3585.0, "qsc_code_num_lines": 93.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 38.5483871, "qsc_code_frac_chars_alphabet": 0.7482104, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.41935484, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.23375174, "qsc_code_frac_chars_long_word_length": 0.01589958, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1rfsNet/GOOJPRT-Printer-Driver | MTP 标签label printer/MTP-2 BT SDK/MyPrinter#6/res/layout/activity_data.xml | <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_main" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" >
<ImageButton
android:id="@+id/imageButtonEditCaptionReturn"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:background="@drawable/selector_linearlayout_small_button"
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:scaleType="fitCenter"
android:src="@drawable/edit_caption_return_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="商品条目"
android:textColor="#000000"
android:textSize="15dp" />
<ImageButton
android:id="@+id/imageButtonEditCaptionPrint"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:background="@drawable/selector_linearlayout_small_button"
android:padding="10dp"
android:scaleType="fitCenter"
android:src="@drawable/edit_caption_print_gray_noborder"
android:visibility="invisible" />
</RelativeLayout>
<!-- background=CCFFFF -->
<HorizontalScrollView
android:id="@+id/horizontalScrollView1"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_alignLeft="@+id/relativeLayout1"
android:layout_below="@+id/relativeLayout1"
android:background="#FFFFFF"
android:fillViewport="true"
android:padding="5dp"
android:scrollbars="none" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/linearLayoutEditInsertGood1"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp" >
<ImageButton
android:id="@+id/imageButtonEditInsertGood1"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_picture_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="I类商品"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertGood2"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertGood2"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_plaintext_color_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="II类商品"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertHardtext"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertHardtext"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_hardtext_color_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/hardtext"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertBarcode"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertBarcode"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_barcode_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/barcode"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertQRCode"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertQRCode"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_qrcode_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/qrcode"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertPDF417"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertPDF417"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_pdf417_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/pdf417"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertBox"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertBox"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_box_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/box"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertLine"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertLine"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_line_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/line"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutEditInsertRectangle"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonEditInsertRectangle"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_insert_rectangle_black_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/rect"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
<TableLayout
android:id="@+id/tableLayout1"
android:layout_width="wrap_content"
android:layout_height="80dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:background="#FFFFFF"
android:padding="5dp"
android:stretchColumns="*" >
<TableRow
android:id="@+id/tableRow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<LinearLayout
android:id="@+id/linearLayoutDataClear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp" >
<ImageButton
android:id="@+id/imageButtonDataClear"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_file_new_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="清空"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutDataLoad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp" >
<ImageButton
android:id="@+id/imageButtonDataLoad"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_file_open_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="导入"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutDataExport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp" >
<ImageButton
android:id="@+id/imageButtonDataExport"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_file_save_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="导出"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutFilePaperSet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonFilePaperSet"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_file_paperset_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/paper"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutFileSettings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_small_button"
android:clickable="true"
android:orientation="vertical"
android:padding="5dp"
android:visibility="gone" >
<ImageButton
android:id="@+id/imageButtonFileSettings"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/edit_file_settings_gray_noborder" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/settings"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
</TableRow>
</TableLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="80dp"
android:layout_marginTop="140dp"
android:fillViewport="true" >
<ListView
android:id="@+id/listViewData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:padding="0dp"
android:scrollbars="none" >
</ListView>
</LinearLayout>
</RelativeLayout> | 23,511 | activity_data | xml | ja | xml | data | {"qsc_code_num_words": 1922, "qsc_code_num_chars": 23511.0, "qsc_code_mean_word_length": 6.48491155, "qsc_code_frac_words_unique": 0.0842872, "qsc_code_frac_chars_top_2grams": 0.16896662, "qsc_code_frac_chars_top_3grams": 0.08376123, "qsc_code_frac_chars_top_4grams": 0.09242619, "qsc_code_frac_chars_dupe_5grams": 0.87130937, "qsc_code_frac_chars_dupe_6grams": 0.8597561, "qsc_code_frac_chars_dupe_7grams": 0.84724005, "qsc_code_frac_chars_dupe_8grams": 0.83392169, "qsc_code_frac_chars_dupe_9grams": 0.82196727, "qsc_code_frac_chars_dupe_10grams": 0.80134788, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03328655, "qsc_code_frac_chars_whitespace": 0.36365956, "qsc_code_size_file_byte": 23511.0, "qsc_code_num_lines": 545.0, "qsc_code_num_chars_line_max": 84.0, "qsc_code_num_chars_line_mean": 43.13944954, "qsc_code_frac_chars_alphabet": 0.79981285, "qsc_code_frac_chars_comments": 0.00110587, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.79795918, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.21927957, "qsc_code_frac_chars_long_word_length": 0.09963382, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 1, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/InformationRegisters/ВерсииОбъектов/Forms/ВыборРеквизитовОбъекта/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<WindowOpeningMode>LockOwnerWindow</WindowOpeningMode>
<CommandSet>
<ExcludedCommand>Abort</ExcludedCommand>
<ExcludedCommand>Cancel</ExcludedCommand>
<ExcludedCommand>Close</ExcludedCommand>
<ExcludedCommand>CustomizeForm</ExcludedCommand>
<ExcludedCommand>Help</ExcludedCommand>
<ExcludedCommand>Ignore</ExcludedCommand>
<ExcludedCommand>No</ExcludedCommand>
<ExcludedCommand>OK</ExcludedCommand>
<ExcludedCommand>RestoreValues</ExcludedCommand>
<ExcludedCommand>Retry</ExcludedCommand>
<ExcludedCommand>SaveValues</ExcludedCommand>
<ExcludedCommand>Yes</ExcludedCommand>
</CommandSet>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<Table name="РеквизитыОбъекта" id="13">
<Representation>Tree</Representation>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<ChoiceMode>true</ChoiceMode>
<Header>false</Header>
<HorizontalLines>false</HorizontalLines>
<VerticalLines>false</VerticalLines>
<AutoInsertNewRow>true</AutoInsertNewRow>
<InitialTreeView>ExpandAllLevels</InitialTreeView>
<EnableStartDrag>true</EnableStartDrag>
<EnableDrag>true</EnableDrag>
<FileDragMode>AsFile</FileDragMode>
<DataPath>РеквизитыОбъекта</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Реквизиты объекта</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>CopyToClipboard</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>HierarchicalList</ExcludedCommand>
<ExcludedCommand>List</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>OutputList</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
<ExcludedCommand>Tree</ExcludedCommand>
</CommandSet>
<ContextMenu name="РеквизитыОбъектаКонтекстноеМеню" id="14"/>
<AutoCommandBar name="РеквизитыОбъектаКоманднаяПанель" id="15">
<Autofill>false</Autofill>
<ChildItems>
<Button name="РеквизитыОбъектаВыбрать" id="32">
<Type>CommandBarButton</Type>
<Representation>PictureAndText</Representation>
<DefaultButton>true</DefaultButton>
<CommandName>Form.Command.Выбрать</CommandName>
<Picture>
<xr:Ref>StdPicture.ChooseValue</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="РеквизитыОбъектаВыбратьРасширеннаяПодсказка" id="33"/>
</Button>
<ButtonGroup name="ГруппаФлажки" id="46">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Флажки</v8:content>
</v8:item>
</Title>
<Representation>Compact</Representation>
<ExtendedTooltip name="ГруппаФлажкиРасширеннаяПодсказка" id="47"/>
<ChildItems>
<Button name="ФормаУстановитьФлажки" id="28">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.УстановитьФлажки</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить флажки</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ФормаУстановитьФлажкиРасширеннаяПодсказка" id="29"/>
</Button>
<Button name="ФормаСнятьФлажки" id="30">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.СнятьФлажки</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять флажки</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ФормаСнятьФлажкиРасширеннаяПодсказка" id="31"/>
</Button>
</ChildItems>
</ButtonGroup>
<SearchStringAddition name="СтрокаПоиска" id="43">
<AdditionSource>
<Item>РеквизитыОбъекта</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Поиск</v8:content>
</v8:item>
</Title>
<ContextMenu name="СтрокаПоискаКонтекстноеМеню" id="44"/>
<ExtendedTooltip name="СтрокаПоискаРасширеннаяПодсказка" id="45"/>
</SearchStringAddition>
</ChildItems>
</AutoCommandBar>
<ExtendedTooltip name="РеквизитыОбъектаРасширеннаяПодсказка" id="16"/>
<SearchStringAddition name="РеквизитыОбъектаСтрокаПоиска" id="34">
<AdditionSource>
<Item>РеквизитыОбъекта</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="РеквизитыОбъектаСтрокаПоискаКонтекстноеМеню" id="35"/>
<ExtendedTooltip name="РеквизитыОбъектаСтрокаПоискаРасширеннаяПодсказка" id="36"/>
</SearchStringAddition>
<ViewStatusAddition name="РеквизитыОбъектаСостояниеПросмотра" id="37">
<AdditionSource>
<Item>РеквизитыОбъекта</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="РеквизитыОбъектаСостояниеПросмотраКонтекстноеМеню" id="38"/>
<ExtendedTooltip name="РеквизитыОбъектаСостояниеПросмотраРасширеннаяПодсказка" id="39"/>
</ViewStatusAddition>
<SearchControlAddition name="РеквизитыОбъектаУправлениеПоиском" id="40">
<AdditionSource>
<Item>РеквизитыОбъекта</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="РеквизитыОбъектаУправлениеПоискомКонтекстноеМеню" id="41"/>
<ExtendedTooltip name="РеквизитыОбъектаУправлениеПоискомРасширеннаяПодсказка" id="42"/>
</SearchControlAddition>
<ChildItems>
<ColumnGroup name="ПометкаИПредставление" id="23">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка и представление</v8:content>
</v8:item>
</Title>
<Group>InCell</Group>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ПометкаИПредставлениеРасширеннаяПодсказка" id="24"/>
<ChildItems>
<CheckBoxField name="РеквизитыОбъектаПометка" id="20">
<DataPath>РеквизитыОбъекта.Пометка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<ThreeState>true</ThreeState>
<ContextMenu name="РеквизитыОбъектаПометкаКонтекстноеМеню" id="21"/>
<ExtendedTooltip name="РеквизитыОбъектаПометкаРасширеннаяПодсказка" id="22"/>
<Events>
<Event name="OnChange">РеквизитыОбъектаПометкаПриИзменении</Event>
</Events>
</CheckBoxField>
<InputField name="РеквизитыОбъектаСиноним" id="25">
<DataPath>РеквизитыОбъекта.Синоним</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Синоним</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="РеквизитыОбъектаСинонимКонтекстноеМеню" id="26"/>
<ExtendedTooltip name="РеквизитыОбъектаСинонимРасширеннаяПодсказка" id="27"/>
</InputField>
</ChildItems>
</ColumnGroup>
</ChildItems>
</Table>
</ChildItems>
<Attributes>
<Attribute name="РеквизитыОбъекта" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Реквизиты объекта</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTree</v8:Type>
</Type>
<Columns>
<Column name="Имя" id="1">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Пометка" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>1</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="Синоним" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Синоним</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
</Attributes>
<Commands>
<Command name="УстановитьФлажки" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить флажки</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить флажки</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.CheckAll</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>УстановитьФлажки</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="СнятьФлажки" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять флажки</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять флажки</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.UncheckAll</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>СнятьФлажки</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="Выбрать" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</ToolTip>
<Action>Выбрать</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
</Commands>
<Parameters>
<Parameter name="Ссылка">
<Type>
<v8:TypeSet>cfg:AnyIBRef</v8:TypeSet>
</Type>
</Parameter>
<Parameter name="Отбор">
<Type/>
</Parameter>
</Parameters>
</Form> | 11,365 | Form | xml | ru | xml | data | {"qsc_code_num_words": 1117, "qsc_code_num_chars": 11365.0, "qsc_code_mean_word_length": 6.79588183, "qsc_code_frac_words_unique": 0.23366159, "qsc_code_frac_chars_top_2grams": 0.02845475, "qsc_code_frac_chars_top_3grams": 0.01896983, "qsc_code_frac_chars_top_4grams": 0.02845475, "qsc_code_frac_chars_dupe_5grams": 0.35831906, "qsc_code_frac_chars_dupe_6grams": 0.33500198, "qsc_code_frac_chars_dupe_7grams": 0.3128705, "qsc_code_frac_chars_dupe_8grams": 0.28928995, "qsc_code_frac_chars_dupe_9grams": 0.22447635, "qsc_code_frac_chars_dupe_10grams": 0.18877618, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03117685, "qsc_code_frac_chars_whitespace": 0.17307523, "qsc_code_size_file_byte": 11365.0, "qsc_code_num_lines": 324.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 35.07716049, "qsc_code_frac_chars_alphabet": 0.7764418, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.57716049, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.17131544, "qsc_code_frac_chars_long_word_length": 0.0891333, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1diot9/MyJavaSecStudy | CodeAudit/RuoYi/RuoYi-4.5.0-FileDownload/ruoyi-admin/src/main/resources/static/ajax/libs/report/echarts/echarts-all.js |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* version 4.2.1
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t,e){"createCanvas"===t&&(nw=null),ew[t]=e}function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Y_.call(t);if("[object Array]"===n){if(!O(t)){e=[];for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}else if(j_[n]){if(!O(t)){var r=t.constructor;if(t.constructor.from)e=r.from(t);else{e=new r(t.length);for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}}else if(!X_[n]&&!O(t)&&!M(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]))}return e}function n(t,e,o){if(!w(e)||!w(t))return o?i(e):t;for(var a in e)if(e.hasOwnProperty(a)){var r=t[a],s=e[a];!w(s)||!w(r)||y(s)||y(r)||M(s)||M(r)||b(s)||b(r)||O(s)||O(r)?!o&&a in t||(t[a]=i(e[a],!0)):n(r,s,o)}return t}function o(t,e){for(var i=t[0],o=1,a=t.length;o<a;o++)i=n(i,t[o],e);return i}function a(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function r(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function s(){return nw||(nw=iw().getContext("2d")),nw}function l(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function u(t,e){function i(){}var n=t.prototype;i.prototype=e.prototype,t.prototype=new i;for(var o in n)t.prototype[o]=n[o];t.prototype.constructor=t,t.superClass=e}function h(t,e,i){r(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,i)}function c(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===K_)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,o=t.length;n<o;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function f(t,e,i){if(t&&e){if(t.map&&t.map===Q_)return t.map(e,i);for(var n=[],o=0,a=t.length;o<a;o++)n.push(e.call(i,t[o],o,t));return n}}function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===tw)return t.reduce(e,i,n);for(var o=0,a=t.length;o<a;o++)i=e.call(n,i,t[o],o,t);return i}}function g(t,e,i){if(t&&e){if(t.filter&&t.filter===$_)return t.filter(e,i);for(var n=[],o=0,a=t.length;o<a;o++)e.call(i,t[o],o,t)&&n.push(t[o]);return n}}function m(t,e){var i=J_.call(arguments,2);return function(){return t.apply(e,i.concat(J_.call(arguments)))}}function v(t){var e=J_.call(arguments,1);return function(){return t.apply(this,e.concat(J_.call(arguments)))}}function y(t){return"[object Array]"===Y_.call(t)}function x(t){return"function"==typeof t}function _(t){return"[object String]"===Y_.call(t)}function w(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function b(t){return!!X_[Y_.call(t)]}function S(t){return!!j_[Y_.call(t)]}function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function I(t){return t!==t}function T(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function A(t,e){return null!=t?t:e}function D(t,e,i){return null!=t?t:null!=e?e:i}function C(){return Function.call.apply(J_,arguments)}function L(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function k(t,e){if(!t)throw new Error(e)}function P(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function N(t){t[ow]=!0}function O(t){return t[ow]}function E(t){function e(t,e){i?n.set(t,e):n.set(e,t)}var i=y(t);this.data={};var n=this;t instanceof E?t.each(e):t&&d(t,e)}function R(t){return new E(t)}function z(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var o=t.length;for(n=0;n<e.length;n++)i[n+o]=e[n];return i}function B(){}function V(t,e){var i=new rw(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function G(t,e){return t[0]=e[0],t[1]=e[1],t}function F(t){var e=new rw(2);return e[0]=t[0],e[1]=t[1],e}function W(t,e,i){return t[0]=e,t[1]=i,t}function H(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function Z(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function U(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function X(t){return Math.sqrt(j(t))}function j(t){return t[0]*t[0]+t[1]*t[1]}function Y(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function q(t,e){var i=X(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function K(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function $(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function J(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function Q(t,e,i){var n=e[0],o=e[1];return t[0]=i[0]*n+i[2]*o+i[4],t[1]=i[1]*n+i[3]*o+i[5],t}function tt(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function et(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}function it(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}function nt(t,e){return{target:t,topTarget:e&&e.topTarget}}function ot(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function at(t,e,i,n,o,a){var r=t._$handlers;if("function"==typeof i&&(o=n,n=i,i=null),!n||!e)return t;i=ot(t,i),r[e]||(r[e]=[]);for(var s=0;s<r[e].length;s++)if(r[e][s].h===n)return t;var l={h:n,one:a,query:i,ctx:o||t,callAtLast:n.zrEventfulCallAtLast},u=r[e].length-1,h=r[e][u];return h&&h.callAtLast?r[e].splice(u,0,l):r[e].push(l),t}function rt(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function st(t,e,i,n){return i=i||{},n||!U_.canvasSupported?lt(t,e,i):U_.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):lt(t,e,i),i}function lt(t,e,i){var n=rt(t);i.zrX=e.clientX-n.left,i.zrY=e.clientY-n.top}function ut(t,e,i){if(null!=(e=e||window.event).zrX)return e;var n=e.type;if(n&&n.indexOf("touch")>=0){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&st(t,o,e,i)}else st(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&gw.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ht(t,e,i){pw?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function ct(t,e,i){pw?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}function dt(t){return 2===t.which||3===t.which}function ft(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function pt(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}function gt(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:mt}}function mt(t){mw(this.event)}function vt(){}function yt(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,i))return!1;o.silent&&(n=!0),o=o.parent}return!n||xw}return!1}function xt(){var t=new bw(6);return _t(t),t}function _t(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function wt(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}function bt(t,e,i){var n=e[0]*i[0]+e[2]*i[1],o=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],r=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=o,t[2]=a,t[3]=r,t[4]=s,t[5]=l,t}function St(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function Mt(t,e,i){var n=e[0],o=e[2],a=e[4],r=e[1],s=e[3],l=e[5],u=Math.sin(i),h=Math.cos(i);return t[0]=n*h+r*u,t[1]=-n*u+r*h,t[2]=o*h+s*u,t[3]=-o*u+h*s,t[4]=h*a+u*l,t[5]=h*l-u*a,t}function It(t,e,i){var n=i[0],o=i[1];return t[0]=e[0]*n,t[1]=e[1]*o,t[2]=e[2]*n,t[3]=e[3]*o,t[4]=e[4]*n,t[5]=e[5]*o,t}function Tt(t,e){var i=e[0],n=e[2],o=e[4],a=e[1],r=e[3],s=e[5],l=i*r-a*n;return l?(l=1/l,t[0]=r*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-r*o)*l,t[5]=(a*o-i*s)*l,t):null}function At(t){var e=xt();return wt(e,t),e}function Dt(t){return t>Iw||t<-Iw}function Ct(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}function Lt(t){return(t=Math.round(t))<0?0:t>255?255:t}function kt(t){return(t=Math.round(t))<0?0:t>360?360:t}function Pt(t){return t<0?0:t>1?1:t}function Nt(t){return Lt(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function Ot(t){return Pt(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function Et(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function Rt(t,e,i){return t+(e-t)*i}function zt(t,e,i,n,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t}function Bt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Vt(t,e){Vw&&Bt(Vw,e),Vw=Bw.put(t,Vw||e.slice())}function Gt(t,e){if(t){e=e||[];var i=Bw.get(t);if(i)return Bt(e,i);var n=(t+="").replace(/ /g,"").toLowerCase();if(n in zw)return Bt(e,zw[n]),Vt(t,e),e;if("#"!==n.charAt(0)){var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var r=n.substr(0,o),s=n.substr(o+1,a-(o+1)).split(","),l=1;switch(r){case"rgba":if(4!==s.length)return void zt(e,0,0,0,1);l=Ot(s.pop());case"rgb":return 3!==s.length?void zt(e,0,0,0,1):(zt(e,Nt(s[0]),Nt(s[1]),Nt(s[2]),l),Vt(t,e),e);case"hsla":return 4!==s.length?void zt(e,0,0,0,1):(s[3]=Ot(s[3]),Ft(s,e),Vt(t,e),e);case"hsl":return 3!==s.length?void zt(e,0,0,0,1):(Ft(s,e),Vt(t,e),e);default:return}}zt(e,0,0,0,1)}else{if(4===n.length)return(u=parseInt(n.substr(1),16))>=0&&u<=4095?(zt(e,(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1),Vt(t,e),e):void zt(e,0,0,0,1);if(7===n.length){var u=parseInt(n.substr(1),16);return u>=0&&u<=16777215?(zt(e,(16711680&u)>>16,(65280&u)>>8,255&u,1),Vt(t,e),e):void zt(e,0,0,0,1)}}}}function Ft(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=Ot(t[1]),o=Ot(t[2]),a=o<=.5?o*(n+1):o+n-o*n,r=2*o-a;return e=e||[],zt(e,Lt(255*Et(r,a,i+1/3)),Lt(255*Et(r,a,i)),Lt(255*Et(r,a,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Wt(t){if(t){var e,i,n=t[0]/255,o=t[1]/255,a=t[2]/255,r=Math.min(n,o,a),s=Math.max(n,o,a),l=s-r,u=(s+r)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+r):l/(2-s-r);var h=((s-n)/6+l/2)/l,c=((s-o)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:o===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function Ht(t,e){var i=Gt(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return qt(i,4===i.length?"rgba":"rgb")}}function Zt(t){var e=Gt(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Ut(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=e[o],s=e[a],l=n-o;return i[0]=Lt(Rt(r[0],s[0],l)),i[1]=Lt(Rt(r[1],s[1],l)),i[2]=Lt(Rt(r[2],s[2],l)),i[3]=Pt(Rt(r[3],s[3],l)),i}}function Xt(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),o=Math.floor(n),a=Math.ceil(n),r=Gt(e[o]),s=Gt(e[a]),l=n-o,u=qt([Lt(Rt(r[0],s[0],l)),Lt(Rt(r[1],s[1],l)),Lt(Rt(r[2],s[2],l)),Pt(Rt(r[3],s[3],l))],"rgba");return i?{color:u,leftIndex:o,rightIndex:a,value:n}:u}}function jt(t,e,i,n){if(t=Gt(t))return t=Wt(t),null!=e&&(t[0]=kt(e)),null!=i&&(t[1]=Ot(i)),null!=n&&(t[2]=Ot(n)),qt(Ft(t),"rgba")}function Yt(t,e){if((t=Gt(t))&&null!=e)return t[3]=Pt(e),qt(t,"rgba")}function qt(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function Kt(t,e){return t[e]}function $t(t,e,i){t[e]=i}function Jt(t,e,i){return(e-t)*i+t}function Qt(t,e,i){return i>.5?e:t}function te(t,e,i,n,o){var a=t.length;if(1===o)for(s=0;s<a;s++)n[s]=Jt(t[s],e[s],i);else for(var r=a&&t[0].length,s=0;s<a;s++)for(var l=0;l<r;l++)n[s][l]=Jt(t[s][l],e[s][l],i)}function ee(t,e,i){var n=t.length,o=e.length;if(n!==o)if(n>o)t.length=o;else for(r=n;r<o;r++)t.push(1===i?e[r]:Hw.call(e[r]));for(var a=t[0]&&t[0].length,r=0;r<t.length;r++)if(1===i)isNaN(t[r])&&(t[r]=e[r]);else for(var s=0;s<a;s++)isNaN(t[r][s])&&(t[r][s]=e[r][s])}function ie(t,e,i){if(t===e)return!0;var n=t.length;if(n!==e.length)return!1;if(1===i){for(a=0;a<n;a++)if(t[a]!==e[a])return!1}else for(var o=t[0].length,a=0;a<n;a++)for(var r=0;r<o;r++)if(t[a][r]!==e[a][r])return!1;return!0}function ne(t,e,i,n,o,a,r,s,l){var u=t.length;if(1===l)for(c=0;c<u;c++)s[c]=oe(t[c],e[c],i[c],n[c],o,a,r);else for(var h=t[0].length,c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=oe(t[c][d],e[c][d],i[c][d],n[c][d],o,a,r)}function oe(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*r+(-3*(e-i)-2*s-l)*a+s*o+e}function ae(t){if(c(t)){var e=t.length;if(c(t[0])){for(var i=[],n=0;n<e;n++)i.push(Hw.call(t[n]));return i}return Hw.call(t)}return t}function re(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function se(t){var e=t[t.length-1].value;return c(e&&e[0])?2:1}function le(t,e,i,n,o,a){var r=t._getter,s=t._setter,l="spline"===e,u=n.length;if(u){var h,d=c(n[0].value),f=!1,p=!1,g=d?se(n):0;n.sort(function(t,e){return t.time-e.time}),h=n[u-1].time;for(var m=[],v=[],y=n[0].value,x=!0,_=0;_<u;_++){m.push(n[_].time/h);var w=n[_].value;if(d&&ie(w,y,g)||!d&&w===y||(x=!1),y=w,"string"==typeof w){var b=Gt(w);b?(w=b,f=!0):p=!0}v.push(w)}if(a||!x){for(var S=v[u-1],_=0;_<u-1;_++)d?ee(v[_],S,g):!isNaN(v[_])||isNaN(S)||p||f||(v[_]=S);d&&ee(r(t._target,o),S,g);var M,I,T,A,D,C,L=0,k=0;if(f)var P=[0,0,0,0];var N=new Ct({target:t._target,life:h,loop:t._loop,delay:t._delay,onframe:function(t,e){var i;if(e<0)i=0;else if(e<k){for(i=M=Math.min(L+1,u-1);i>=0&&!(m[i]<=e);i--);i=Math.min(i,u-2)}else{for(i=L;i<u&&!(m[i]>e);i++);i=Math.min(i-1,u-2)}L=i,k=e;var n=m[i+1]-m[i];if(0!==n)if(I=(e-m[i])/n,l)if(A=v[i],T=v[0===i?i:i-1],D=v[i>u-2?u-1:i+1],C=v[i>u-3?u-1:i+2],d)ne(T,A,D,C,I,I*I,I*I*I,r(t,o),g);else{if(f)a=ne(T,A,D,C,I,I*I,I*I*I,P,1),a=re(P);else{if(p)return Qt(A,D,I);a=oe(T,A,D,C,I,I*I,I*I*I)}s(t,o,a)}else if(d)te(v[i],v[i+1],I,r(t,o),g);else{var a;if(f)te(v[i],v[i+1],I,P,1),a=re(P);else{if(p)return Qt(v[i],v[i+1],I);a=Jt(v[i],v[i+1],I)}s(t,o,a)}},ondestroy:i});return e&&"spline"!==e&&(N.easing=e),N}}}function ue(t,e,i,n,o,a,r,s){_(n)?(a=o,o=n,n=0):x(o)?(a=o,o="linear",n=0):x(n)?(a=n,n=0):x(i)?(a=i,i=500):i||(i=500),t.stopAnimation(),he(t,"",t,e,i,n,s);var l=t.animators.slice(),u=l.length;u||a&&a();for(var h=0;h<l.length;h++)l[h].done(function(){--u||a&&a()}).start(o,r)}function he(t,e,i,n,o,a,r){var s={},l=0;for(var u in n)n.hasOwnProperty(u)&&(null!=i[u]?w(n[u])&&!c(n[u])?he(t,e?e+"."+u:u,i[u],n[u],o,a,r):(r?(s[u]=i[u],ce(t,e,u,n[u])):s[u]=n[u],l++):null==n[u]||r||ce(t,e,u,n[u]));l>0&&t.animate(e,!1).when(null==o?500:o,s).delay(a||0)}function ce(t,e,i,n){if(e){var o={};o[e]={},o[e][i]=n,t.attr(o)}else t.attr(i,n)}function de(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}function fe(t){for(var e=0;t>=eb;)e|=1&t,t>>=1;return t+e}function pe(t,e,i,n){var o=e+1;if(o===i)return 1;if(n(t[o++],t[e])<0){for(;o<i&&n(t[o],t[o-1])<0;)o++;ge(t,e,o)}else for(;o<i&&n(t[o],t[o-1])>=0;)o++;return o-e}function ge(t,e,i){for(i--;e<i;){var n=t[e];t[e++]=t[i],t[i--]=n}}function me(t,e,i,n,o){for(n===e&&n++;n<i;n++){for(var a,r=t[n],s=e,l=n;s<l;)o(r,t[a=s+l>>>1])<0?l=a:s=a+1;var u=n-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]=r}}function ve(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])>0){for(s=n-o;l<s&&a(t,e[i+o+l])>0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}else{for(s=o+1;l<s&&a(t,e[i+o-l])<=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=r;r=o-l,l=o-u}for(r++;r<l;){var h=r+(l-r>>>1);a(t,e[i+h])>0?r=h+1:l=h}return l}function ye(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])<0){for(s=o+1;l<s&&a(t,e[i+o-l])<0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=r;r=o-l,l=o-u}else{for(s=n-o;l<s&&a(t,e[i+o+l])>=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}for(r++;r<l;){var h=r+(l-r>>>1);a(t,e[i+h])<0?l=h:r=h+1}return l}function xe(t,e){function i(i){var s=a[i],u=r[i],h=a[i+1],c=r[i+1];r[i]=u+c,i===l-3&&(a[i+1]=a[i+2],r[i+1]=r[i+2]),l--;var d=ye(t[h],t,s,u,0,e);s+=d,0!==(u-=d)&&0!==(c=ve(t[s+u-1],t,h,c,c-1,e))&&(u<=c?n(s,u,h,c):o(s,u,h,c))}function n(i,n,o,a){var r=0;for(r=0;r<n;r++)u[r]=t[i+r];var l=0,h=o,c=i;if(t[c++]=t[h++],0!=--a)if(1!==n){for(var d,f,p,g=s;;){d=0,f=0,p=!1;do{if(e(t[h],u[l])<0){if(t[c++]=t[h++],f++,d=0,0==--a){p=!0;break}}else if(t[c++]=u[l++],d++,f=0,1==--n){p=!0;break}}while((d|f)<g);if(p)break;do{if(0!==(d=ye(t[h],u,l,n,0,e))){for(r=0;r<d;r++)t[c+r]=u[l+r];if(c+=d,l+=d,(n-=d)<=1){p=!0;break}}if(t[c++]=t[h++],0==--a){p=!0;break}if(0!==(f=ve(u[l],t,h,a,0,e))){for(r=0;r<f;r++)t[c+r]=t[h+r];if(c+=f,h+=f,0===(a-=f)){p=!0;break}}if(t[c++]=u[l++],1==--n){p=!0;break}g--}while(d>=ib||f>=ib);if(p)break;g<0&&(g=0),g+=2}if((s=g)<1&&(s=1),1===n){for(r=0;r<a;r++)t[c+r]=t[h+r];t[c+a]=u[l]}else{if(0===n)throw new Error;for(r=0;r<n;r++)t[c+r]=u[l+r]}}else{for(r=0;r<a;r++)t[c+r]=t[h+r];t[c+a]=u[l]}else for(r=0;r<n;r++)t[c+r]=u[l+r]}function o(i,n,o,a){var r=0;for(r=0;r<a;r++)u[r]=t[o+r];var l=i+n-1,h=a-1,c=o+a-1,d=0,f=0;if(t[c--]=t[l--],0!=--n)if(1!==a){for(var p=s;;){var g=0,m=0,v=!1;do{if(e(u[h],t[l])<0){if(t[c--]=t[l--],g++,m=0,0==--n){v=!0;break}}else if(t[c--]=u[h--],m++,g=0,1==--a){v=!0;break}}while((g|m)<p);if(v)break;do{if(0!=(g=n-ye(u[h],t,i,n,n-1,e))){for(n-=g,f=(c-=g)+1,d=(l-=g)+1,r=g-1;r>=0;r--)t[f+r]=t[d+r];if(0===n){v=!0;break}}if(t[c--]=u[h--],1==--a){v=!0;break}if(0!=(m=a-ve(t[l],u,0,a,a-1,e))){for(a-=m,f=(c-=m)+1,d=(h-=m)+1,r=0;r<m;r++)t[f+r]=u[d+r];if(a<=1){v=!0;break}}if(t[c--]=t[l--],0==--n){v=!0;break}p--}while(g>=ib||m>=ib);if(v)break;p<0&&(p=0),p+=2}if((s=p)<1&&(s=1),1===a){for(f=(c-=n)+1,d=(l-=n)+1,r=n-1;r>=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else{if(0===a)throw new Error;for(d=c-(a-1),r=0;r<a;r++)t[d+r]=u[r]}}else{for(f=(c-=n)+1,d=(l-=n)+1,r=n-1;r>=0;r--)t[f+r]=t[d+r];t[c]=u[h]}else for(d=c-(a-1),r=0;r<a;r++)t[d+r]=u[r]}var a,r,s=ib,l=0,u=[];a=[],r=[],this.mergeRuns=function(){for(;l>1;){var t=l-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;i(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&r[t-1]<r[t+1]&&t--,i(t)}},this.pushRun=function(t,e){a[l]=t,r[l]=e,l+=1}}function _e(t,e,i,n){i||(i=0),n||(n=t.length);var o=n-i;if(!(o<2)){var a=0;if(o<eb)return a=pe(t,i,n,e),void me(t,i,n,i+a,e);var r=new xe(t,e),s=fe(o);do{if((a=pe(t,i,n,e))<s){var l=o;l>s&&(l=s),me(t,i,i+l,i+a,e),a=l}r.pushRun(i,a),r.mergeRuns(),o-=a,i+=a}while(0!==o);r.forceMergeRuns()}}function we(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function be(t,e,i){var n=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,o=o*i.width+i.x,a=a*i.height+i.y,r=r*i.height+i.y),n=isNaN(n)?0:n,o=isNaN(o)?1:o,a=isNaN(a)?0:a,r=isNaN(r)?0:r,t.createLinearGradient(n,a,o,r)}function Se(t,e,i){var n=i.width,o=i.height,a=Math.min(n,o),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*n+i.x,s=s*o+i.y,l*=a),t.createRadialGradient(r,s,0,r,s,l)}function Me(){return!1}function Ie(t,e,i){var n=iw(),o=e.getWidth(),a=e.getHeight(),r=n.style;return r&&(r.position="absolute",r.left=0,r.top=0,r.width=o+"px",r.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=o*i,n.height=a*i,n}function Te(t){if("string"==typeof t){var e=mb.get(t);return e&&e.image}return t}function Ae(t,e,i,n,o){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var a=mb.get(t),r={hostEl:i,cb:n,cbPayload:o};return a?!Ce(e=a.image)&&a.pending.push(r):((e=new Image).onload=e.onerror=De,mb.put(t,e.__cachedImgObj={image:e,pending:[r]}),e.src=e.__zrImageSrc=t),e}return t}return e}function De(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function Ce(t){return t&&t.width&&t.height}function Le(t,e){var i=t+":"+(e=e||wb);if(vb[i])return vb[i];for(var n=(t+"").split("\n"),o=0,a=0,r=n.length;a<r;a++)o=Math.max(We(n[a],e).width,o);return yb>xb&&(yb=0,vb={}),yb++,vb[i]=o,o}function ke(t,e,i,n,o,a,r,s){return r?Ne(t,e,i,n,o,a,r,s):Pe(t,e,i,n,o,a,s)}function Pe(t,e,i,n,o,a,r){var s=He(t,e,o,a,r),l=Le(t,e);o&&(l+=o[1]+o[3]);var u=s.outerHeight,h=new de(Oe(0,l,i),Ee(0,u,n),l,u);return h.lineHeight=s.lineHeight,h}function Ne(t,e,i,n,o,a,r,s){var l=Ze(t,{rich:r,truncate:s,font:e,textAlign:i,textPadding:o,textLineHeight:a}),u=l.outerWidth,h=l.outerHeight;return new de(Oe(0,u,i),Ee(0,h,n),u,h)}function Oe(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function Ee(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function Re(t,e,i){var n=e.x,o=e.y,a=e.height,r=e.width,s=a/2,l="left",u="top";switch(t){case"left":n-=i,o+=s,l="right",u="middle";break;case"right":n+=i+r,o+=s,u="middle";break;case"top":n+=r/2,o-=i,l="center",u="bottom";break;case"bottom":n+=r/2,o+=a+i,l="center";break;case"inside":n+=r/2,o+=s,l="center",u="middle";break;case"insideLeft":n+=i,o+=s,u="middle";break;case"insideRight":n+=r-i,o+=s,l="right",u="middle";break;case"insideTop":n+=r/2,o+=i,l="center";break;case"insideBottom":n+=r/2,o+=a-i,l="center",u="bottom";break;case"insideTopLeft":n+=i,o+=i;break;case"insideTopRight":n+=r-i,o+=i,l="right";break;case"insideBottomLeft":n+=i,o+=a-i,u="bottom";break;case"insideBottomRight":n+=r-i,o+=a-i,l="right",u="bottom"}return{x:n,y:o,textAlign:l,textVerticalAlign:u}}function ze(t,e,i,n,o){if(!e)return"";var a=(t+"").split("\n");o=Be(e,i,n,o);for(var r=0,s=a.length;r<s;r++)a[r]=Ve(a[r],o);return a.join("\n")}function Be(t,e,i,n){(n=a({},n)).font=e;var i=A(i,"...");n.maxIterations=A(n.maxIterations,2);var o=n.minChar=A(n.minChar,0);n.cnCharWidth=Le("国",e);var r=n.ascCharWidth=Le("a",e);n.placeholder=A(n.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=r;l++)s-=r;var u=Le(i,e);return u>s&&(i="",u=0),s=t-u,n.ellipsis=i,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=t,n}function Ve(t,e){var i=e.containerWidth,n=e.font,o=e.contentWidth;if(!i)return"";var a=Le(t,n);if(a<=i)return t;for(var r=0;;r++){if(a<=o||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?Ge(t,o,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*o/a):0;a=Le(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function Ge(t,e,i,n){for(var o=0,a=0,r=t.length;a<r&&o<e;a++){var s=t.charCodeAt(a);o+=0<=s&&s<=127?i:n}return a}function Fe(t){return Le("国",t)}function We(t,e){return bb.measureText(t,e)}function He(t,e,i,n,o){null!=t&&(t+="");var a=A(n,Fe(e)),r=t?t.split("\n"):[],s=r.length*a,l=s;if(i&&(l+=i[0]+i[2]),t&&o){var u=o.outerHeight,h=o.outerWidth;if(null!=u&&l>u)t="",r=[];else if(null!=h)for(var c=Be(h-(i?i[1]+i[3]:0),e,o.ellipsis,{minChar:o.minChar,placeholder:o.placeholder}),d=0,f=r.length;d<f;d++)r[d]=Ve(r[d],c)}return{lines:r,height:s,outerHeight:l,lineHeight:a}}function Ze(t,e){var i={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return i;for(var n,o=_b.lastIndex=0;null!=(n=_b.exec(t));){var a=n.index;a>o&&Ue(i,t.substring(o,a)),Ue(i,n[2],n[1]),o=_b.lastIndex}o<t.length&&Ue(i,t.substring(o,t.length));var r=i.lines,s=0,l=0,u=[],h=e.textPadding,c=e.truncate,d=c&&c.outerWidth,f=c&&c.outerHeight;h&&(null!=d&&(d-=h[1]+h[3]),null!=f&&(f-=h[0]+h[2]));for(L=0;L<r.length;L++){for(var p=r[L],g=0,m=0,v=0;v<p.tokens.length;v++){var y=(k=p.tokens[v]).styleName&&e.rich[k.styleName]||{},x=k.textPadding=y.textPadding,_=k.font=y.font||e.font,w=k.textHeight=A(y.textHeight,Fe(_));if(x&&(w+=x[0]+x[2]),k.height=w,k.lineHeight=D(y.textLineHeight,e.textLineHeight,w),k.textAlign=y&&y.textAlign||e.textAlign,k.textVerticalAlign=y&&y.textVerticalAlign||"middle",null!=f&&s+k.lineHeight>f)return{lines:[],width:0,height:0};k.textWidth=Le(k.text,_);var b=y.textWidth,S=null==b||"auto"===b;if("string"==typeof b&&"%"===b.charAt(b.length-1))k.percentWidth=b,u.push(k),b=0;else{if(S){b=k.textWidth;var M=y.textBackgroundColor,I=M&&M.image;I&&Ce(I=Te(I))&&(b=Math.max(b,I.width*w/I.height))}var T=x?x[1]+x[3]:0;b+=T;var C=null!=d?d-m:null;null!=C&&C<b&&(!S||C<T?(k.text="",k.textWidth=b=0):(k.text=ze(k.text,C-T,_,c.ellipsis,{minChar:c.minChar}),k.textWidth=Le(k.text,_),b=k.textWidth+T))}m+=k.width=b,y&&(g=Math.max(g,k.lineHeight))}p.width=m,p.lineHeight=g,s+=g,l=Math.max(l,m)}i.outerWidth=i.width=A(e.textWidth,l),i.outerHeight=i.height=A(e.textHeight,s),h&&(i.outerWidth+=h[1]+h[3],i.outerHeight+=h[0]+h[2]);for(var L=0;L<u.length;L++){var k=u[L],P=k.percentWidth;k.width=parseInt(P,10)/100*l}return i}function Ue(t,e,i){for(var n=""===e,o=e.split("\n"),a=t.lines,r=0;r<o.length;r++){var s=o[r],l={styleName:i,text:s,isLineHolder:!s&&!n};if(r)a.push({tokens:[l]});else{var u=(a[a.length-1]||(a[0]={tokens:[]})).tokens,h=u.length;1===h&&u[0].isLineHolder?u[0]=l:(s||!h||n)&&u.push(l)}}}function Xe(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&P(e)||t.textFont||t.font}function je(t,e){var i,n,o,a,r=e.x,s=e.y,l=e.width,u=e.height,h=e.r;l<0&&(r+=l,l=-l),u<0&&(s+=u,u=-u),"number"==typeof h?i=n=o=a=h:h instanceof Array?1===h.length?i=n=o=a=h[0]:2===h.length?(i=o=h[0],n=a=h[1]):3===h.length?(i=h[0],n=a=h[1],o=h[2]):(i=h[0],n=h[1],o=h[2],a=h[3]):i=n=o=a=0;var c;i+n>l&&(i*=l/(c=i+n),n*=l/c),o+a>l&&(o*=l/(c=o+a),a*=l/c),n+o>u&&(n*=u/(c=n+o),o*=u/c),i+a>u&&(i*=u/(c=i+a),a*=u/c),t.moveTo(r+i,s),t.lineTo(r+l-n,s),0!==n&&t.arc(r+l-n,s+n,n,-Math.PI/2,0),t.lineTo(r+l,s+u-o),0!==o&&t.arc(r+l-o,s+u-o,o,0,Math.PI/2),t.lineTo(r+a,s+u),0!==a&&t.arc(r+a,s+u-a,a,Math.PI/2,Math.PI),t.lineTo(r,s+i),0!==i&&t.arc(r+i,s+i,i,Math.PI,1.5*Math.PI)}function Ye(t){return qe(t),d(t.rich,qe),t}function qe(t){if(t){t.font=Xe(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||Mb[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||Ib[i]?i:"top",t.textPadding&&(t.textPadding=L(t.textPadding))}}function Ke(t,e,i,n,o,a){n.rich?Je(t,e,i,n,o,a):$e(t,e,i,n,o,a)}function $e(t,e,i,n,o,a){var r,s=ii(n),l=!1,u=e.__attrCachedBy===rb.PLAIN_TEXT;a!==sb?(a&&(r=a.style,l=!s&&u&&r),e.__attrCachedBy=s?rb.NONE:rb.PLAIN_TEXT):u&&(e.__attrCachedBy=rb.NONE);var h=n.font||Sb;l&&h===(r.font||Sb)||(e.font=h);var c=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,c=t.__computedFont=e.font);var d=n.textPadding,f=n.textLineHeight,p=t.__textCotentBlock;p&&!t.__dirtyText||(p=t.__textCotentBlock=He(i,c,d,f,n.truncate));var g=p.outerHeight,m=p.lines,v=p.lineHeight,y=ai(g,n,o),x=y.baseX,_=y.baseY,w=y.textAlign||"left",b=y.textVerticalAlign;ti(e,n,o,x,_);var S=Ee(_,g,b),M=x,I=S;if(s||d){var T=Le(i,c);d&&(T+=d[1]+d[3]);var A=Oe(x,T,w);s&&ni(t,e,n,A,S,T,g),d&&(M=hi(x,w,d),I+=d[0])}e.textAlign=w,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(B=0;B<Tb.length;B++){var D=Tb[B],C=D[0],L=D[1],k=n[C];l&&k===r[C]||(e[L]=ab(e,L,k||D[2]))}I+=v/2;var P=n.textStrokeWidth,N=l?r.textStrokeWidth:null,O=!l||P!==N,E=!l||O||n.textStroke!==r.textStroke,R=si(n.textStroke,P),z=li(n.textFill);if(R&&(O&&(e.lineWidth=P),E&&(e.strokeStyle=R)),z&&(l&&n.textFill===r.textFill||(e.fillStyle=z)),1===m.length)R&&e.strokeText(m[0],M,I),z&&e.fillText(m[0],M,I);else for(var B=0;B<m.length;B++)R&&e.strokeText(m[B],M,I),z&&e.fillText(m[B],M,I),I+=v}function Je(t,e,i,n,o,a){a!==sb&&(e.__attrCachedBy=rb.NONE);var r=t.__textCotentBlock;r&&!t.__dirtyText||(r=t.__textCotentBlock=Ze(i,n)),Qe(t,e,r,n,o)}function Qe(t,e,i,n,o){var a=i.width,r=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=ai(s,n,o),h=u.baseX,c=u.baseY,d=u.textAlign,f=u.textVerticalAlign;ti(e,n,o,h,c);var p=Oe(h,r,d),g=Ee(c,s,f),m=p,v=g;l&&(m+=l[3],v+=l[0]);var y=m+a;ii(n)&&ni(t,e,n,p,g,r,s);for(var x=0;x<i.lines.length;x++){for(var _,w=i.lines[x],b=w.tokens,S=b.length,M=w.lineHeight,I=w.width,T=0,A=m,D=y,C=S-1;T<S&&(!(_=b[T]).textAlign||"left"===_.textAlign);)ei(t,e,_,n,M,v,A,"left"),I-=_.width,A+=_.width,T++;for(;C>=0&&"right"===(_=b[C]).textAlign;)ei(t,e,_,n,M,v,D,"right"),I-=_.width,D-=_.width,C--;for(A+=(a-(A-m)-(y-D)-I)/2;T<=C;)ei(t,e,_=b[T],n,M,v,A+_.width/2,"center"),A+=_.width,T++;v+=M}}function ti(t,e,i,n,o){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,o=i.height/2+i.y):a&&(n=a[0]+i.x,o=a[1]+i.y),t.translate(n,o),t.rotate(-e.textRotation),t.translate(-n,-o)}}function ei(t,e,i,n,o,a,r,s){var l=n.rich[i.styleName]||{};l.text=i.text;var u=i.textVerticalAlign,h=a+o/2;"top"===u?h=a+i.height/2:"bottom"===u&&(h=a+o-i.height/2),!i.isLineHolder&&ii(l)&&ni(t,e,l,"right"===s?r-i.width:"center"===s?r-i.width/2:r,h-i.height/2,i.width,i.height);var c=i.textPadding;c&&(r=hi(r,s,c),h-=i.height/2-c[2]-i.textHeight/2),ri(e,"shadowBlur",D(l.textShadowBlur,n.textShadowBlur,0)),ri(e,"shadowColor",l.textShadowColor||n.textShadowColor||"transparent"),ri(e,"shadowOffsetX",D(l.textShadowOffsetX,n.textShadowOffsetX,0)),ri(e,"shadowOffsetY",D(l.textShadowOffsetY,n.textShadowOffsetY,0)),ri(e,"textAlign",s),ri(e,"textBaseline","middle"),ri(e,"font",i.font||Sb);var d=si(l.textStroke||n.textStroke,p),f=li(l.textFill||n.textFill),p=A(l.textStrokeWidth,n.textStrokeWidth);d&&(ri(e,"lineWidth",p),ri(e,"strokeStyle",d),e.strokeText(i.text,r,h)),f&&(ri(e,"fillStyle",f),e.fillText(i.text,r,h))}function ii(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function ni(t,e,i,n,o,a,r){var s=i.textBackgroundColor,l=i.textBorderWidth,u=i.textBorderColor,h=_(s);if(ri(e,"shadowBlur",i.textBoxShadowBlur||0),ri(e,"shadowColor",i.textBoxShadowColor||"transparent"),ri(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),ri(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),h||l&&u){e.beginPath();var c=i.textBorderRadius;c?je(e,{x:n,y:o,width:a,height:r,r:c}):e.rect(n,o,a,r),e.closePath()}if(h)if(ri(e,"fillStyle",s),null!=i.fillOpacity){f=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=f}else e.fill();else if(w(s)){var d=s.image;(d=Ae(d,null,t,oi,s))&&Ce(d)&&e.drawImage(d,n,o,a,r)}if(l&&u)if(ri(e,"lineWidth",l),ri(e,"strokeStyle",u),null!=i.strokeOpacity){var f=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=f}else e.stroke()}function oi(t,e){e.image=t}function ai(t,e,i){var n=e.x||0,o=e.y||0,a=e.textAlign,r=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+ui(s[0],i.width),o=i.y+ui(s[1],i.height);else{var l=Re(s,i,e.textDistance);n=l.x,o=l.y,a=a||l.textAlign,r=r||l.textVerticalAlign}var u=e.textOffset;u&&(n+=u[0],o+=u[1])}return{baseX:n,baseY:o,textAlign:a,textVerticalAlign:r}}function ri(t,e,i){return t[e]=ab(t,e,i),t[e]}function si(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function li(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function ui(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function hi(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function ci(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}function di(t){t=t||{},Kw.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new ub(t.style,this),this._rect=null,this.__clipPaths=[]}function fi(t){di.call(this,t)}function pi(t){return parseInt(t,10)}function gi(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}function mi(t,e,i){return Cb.copy(t.getBoundingRect()),t.transform&&Cb.applyTransform(t.transform),Lb.width=e,Lb.height=i,!Cb.intersect(Lb)}function vi(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0}function yi(t,e){for(var i=0;i<t.length;i++){var n=t[i];n.setTransform(e),e.beginPath(),n.buildPath(e,n.shape),e.clip(),n.restoreTransform(e)}}function xi(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}function _i(t){return"mousewheel"===t&&U_.browser.firefox?"DOMMouseScroll":t}function wi(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}function bi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Si(t){function e(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}d(Ob,function(e){t._handlers[e]=m(zb[e],t)}),d(Rb,function(e){t._handlers[e]=m(zb[e],t)}),d(Nb,function(i){t._handlers[i]=e(zb[i],t)})}function Mi(t){function e(e,i){d(e,function(e){ht(t,_i(e),i._handlers[e])},i)}fw.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._handlers={},Si(this),U_.pointerEventsSupported?e(Rb,this):(U_.touchEventsSupported&&e(Ob,this),e(Nb,this))}function Ii(t,e){var i=new Wb(H_(),t,e);return Fb[i.id]=i,i}function Ti(t,e){Gb[t]=e}function Ai(t){delete Fb[t]}function Di(t){return t instanceof Array?t:null==t?[]:[t]}function Ci(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,o=i.length;n<o;n++){var a=i[n];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}function Li(t){return!Ub(t)||Xb(t)||t instanceof Date?t:t.value}function ki(t){return Ub(t)&&!(t instanceof Array)}function Pi(t,e){e=(e||[]).slice();var i=f(t||[],function(t,e){return{exist:t}});return Zb(e,function(t,n){if(Ub(t)){for(o=0;o<i.length;o++)if(!i[o].option&&null!=t.id&&i[o].exist.id===t.id+"")return i[o].option=t,void(e[n]=null);for(var o=0;o<i.length;o++){var a=i[o].exist;if(!(i[o].option||null!=a.id&&null!=t.id||null==t.name||Ei(t)||Ei(a)||a.name!==t.name+""))return i[o].option=t,void(e[n]=null)}}}),Zb(e,function(t,e){if(Ub(t)){for(var n=0;n<i.length;n++){var o=i[n].exist;if(!i[n].option&&!Ei(o)&&null==t.id){i[n].option=t;break}}n>=i.length&&i.push({option:t})}}),i}function Ni(t){var e=R();Zb(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),Zb(t,function(t,i){var n=t.option;k(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})}),Zb(t,function(t,i){var n=t.exist,o=t.option,a=t.keyInfo;if(Ub(o)){if(a.name=null!=o.name?o.name+"":n?n.name:jb+i,n)a.id=n.id;else if(null!=o.id)a.id=o.id+"";else{var r=0;do{a.id="\0"+a.name+"\0"+r++}while(e.get(a.id))}e.set(a.id,t)}})}function Oi(t){var e=t.name;return!(!e||!e.indexOf(jb))}function Ei(t){return Ub(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function Ri(t,e){function i(t,e,i){for(var n=0,o=t.length;n<o;n++)for(var a=t[n].seriesId,r=Di(t[n].dataIndex),s=i&&i[a],l=0,u=r.length;l<u;l++){var h=r[l];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function n(t,e){var i=[];for(var o in t)if(t.hasOwnProperty(o)&&null!=t[o])if(e)i.push(+o);else{var a=n(t[o],!0);a.length&&i.push({seriesId:o,dataIndex:a})}return i}var o={},a={};return i(t||[],o),i(e||[],a,o),[n(o),n(a)]}function zi(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?y(e.dataIndex)?f(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?y(e.name)?f(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function Bi(){var t="__\0ec_inner_"+qb+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}function Vi(t,e,i){if(_(e)){var n={};n[e+"Index"]=0,e=n}var o=i&&i.defaultMainType;!o||Gi(e,o+"Index")||Gi(e,o+"Id")||Gi(e,o+"Name")||(e[o+"Index"]=0);var a={};return Zb(e,function(n,o){var n=e[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var r=o.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],u=(r[2]||"").toLowerCase();if(!(!s||!u||null==n||"index"===u&&"none"===n||i&&i.includeMainTypes&&l(i.includeMainTypes,s)<0)){var h={mainType:s};"index"===u&&"all"===n||(h[u]=n);var c=t.queryComponents(h);a[s+"Models"]=c,a[s+"Model"]=c[0]}}else a[o]=n}),a}function Gi(t,e){return t&&t.hasOwnProperty(e)}function Fi(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function Wi(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function Hi(t){return"auto"===t?U_.domSupported?"html":"richText":t||"html"}function Zi(t,e){var i=R(),n=[];return d(t,function(t){var o=e(t);(i.get(o)||(n.push(o),i.set(o,[]))).push(t)}),{keys:n,buckets:i}}function Ui(t){var e={main:"",sub:""};return t&&(t=t.split(Kb),e.main=t[0]||"",e.sub=t[1]||""),e}function Xi(t){k(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function ji(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return a(i.prototype,t),i.extend=this.extend,i.superCall=qi,i.superApply=Ki,u(i,this),i.superClass=e,i}}function Yi(t){var e=["__\0is_clz",Jb++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function qi(t,e){var i=C(arguments,2);return this.superClass.prototype[e].apply(t,i)}function Ki(t,e,i){return this.superClass.prototype[e].apply(t,i)}function $i(t,e){function i(t){var e=n[t.main];return e&&e[$b]||((e=n[t.main]={})[$b]=!0),e}e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(Xi(e),(e=Ui(e)).sub?e.sub!==$b&&(i(e)[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,i){var o=n[t];if(o&&o[$b]&&(o=e?o[e]:null),i&&!o)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return o},t.getClassesByMainType=function(t){t=Ui(t);var e=[],i=n[t.main];return i&&i[$b]?d(i,function(t,i){i!==$b&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=Ui(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return d(n,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=Ui(t);var e=n[t.main];return e&&e[$b]},t.parseClassType=Ui,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var i=o.call(this,e);return t.registerClass(i,e.type)})}return t}function Ji(t){return t>-rS&&t<rS}function Qi(t){return t>rS||t<-rS}function tn(t,e,i,n,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*n+3*a*i)}function en(t,e,i,n,o){var a=1-o;return 3*(((e-t)*a+2*(i-e)*o)*a+(n-i)*o*o)}function nn(t,e,i,n,o,a){var r=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-o,h=s*s-3*r*l,c=s*l-9*r*u,d=l*l-3*s*u,f=0;if(Ji(h)&&Ji(c))Ji(s)?a[0]=0:(M=-l/s)>=0&&M<=1&&(a[f++]=M);else{var p=c*c-4*h*d;if(Ji(p)){var g=c/h,m=-g/2;(M=-s/r+g)>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m)}else if(p>0){var v=aS(p),y=h*s+1.5*r*(-c+v),x=h*s+1.5*r*(-c-v);(M=(-s-((y=y<0?-oS(-y,uS):oS(y,uS))+(x=x<0?-oS(-x,uS):oS(x,uS))))/(3*r))>=0&&M<=1&&(a[f++]=M)}else{var _=(2*h*s-3*r*c)/(2*aS(h*h*h)),w=Math.acos(_)/3,b=aS(h),S=Math.cos(w),M=(-s-2*b*S)/(3*r),m=(-s+b*(S+lS*Math.sin(w)))/(3*r),I=(-s+b*(S-lS*Math.sin(w)))/(3*r);M>=0&&M<=1&&(a[f++]=M),m>=0&&m<=1&&(a[f++]=m),I>=0&&I<=1&&(a[f++]=I)}}return f}function on(t,e,i,n,o){var a=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,s=3*e-3*t,l=0;if(Ji(r))Qi(a)&&(c=-s/a)>=0&&c<=1&&(o[l++]=c);else{var u=a*a-4*r*s;if(Ji(u))o[0]=-a/(2*r);else if(u>0){var h=aS(u),c=(-a+h)/(2*r),d=(-a-h)/(2*r);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function an(t,e,i,n,o,a){var r=(e-t)*o+t,s=(i-e)*o+e,l=(n-i)*o+i,u=(s-r)*o+r,h=(l-s)*o+s,c=(h-u)*o+u;a[0]=t,a[1]=r,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n}function rn(t,e,i,n,o,a,r,s,l,u,h){var c,d,f,p,g,m=.005,v=1/0;hS[0]=l,hS[1]=u;for(var y=0;y<1;y+=.05)cS[0]=tn(t,i,o,r,y),cS[1]=tn(e,n,a,s,y),(p=hw(hS,cS))<v&&(c=y,v=p);v=1/0;for(var x=0;x<32&&!(m<sS);x++)d=c-m,f=c+m,cS[0]=tn(t,i,o,r,d),cS[1]=tn(e,n,a,s,d),p=hw(cS,hS),d>=0&&p<v?(c=d,v=p):(dS[0]=tn(t,i,o,r,f),dS[1]=tn(e,n,a,s,f),g=hw(dS,hS),f<=1&&g<v?(c=f,v=g):m*=.5);return h&&(h[0]=tn(t,i,o,r,c),h[1]=tn(e,n,a,s,c)),aS(v)}function sn(t,e,i,n){var o=1-n;return o*(o*t+2*n*e)+n*n*i}function ln(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function un(t,e,i,n,o){var a=t-2*e+i,r=2*(e-t),s=t-n,l=0;if(Ji(a))Qi(r)&&(c=-s/r)>=0&&c<=1&&(o[l++]=c);else{var u=r*r-4*a*s;if(Ji(u))(c=-r/(2*a))>=0&&c<=1&&(o[l++]=c);else if(u>0){var h=aS(u),c=(-r+h)/(2*a),d=(-r-h)/(2*a);c>=0&&c<=1&&(o[l++]=c),d>=0&&d<=1&&(o[l++]=d)}}return l}function hn(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function cn(t,e,i,n,o){var a=(e-t)*n+t,r=(i-e)*n+e,s=(r-a)*n+a;o[0]=t,o[1]=a,o[2]=s,o[3]=s,o[4]=r,o[5]=i}function dn(t,e,i,n,o,a,r,s,l){var u,h=.005,c=1/0;hS[0]=r,hS[1]=s;for(var d=0;d<1;d+=.05)cS[0]=sn(t,i,o,d),cS[1]=sn(e,n,a,d),(m=hw(hS,cS))<c&&(u=d,c=m);c=1/0;for(var f=0;f<32&&!(h<sS);f++){var p=u-h,g=u+h;cS[0]=sn(t,i,o,p),cS[1]=sn(e,n,a,p);var m=hw(cS,hS);if(p>=0&&m<c)u=p,c=m;else{dS[0]=sn(t,i,o,g),dS[1]=sn(e,n,a,g);var v=hw(dS,hS);g<=1&&v<c?(u=g,c=v):h*=.5}}return l&&(l[0]=sn(t,i,o,u),l[1]=sn(e,n,a,u)),aS(c)}function fn(t,e,i){if(0!==t.length){var n,o=t[0],a=o[0],r=o[0],s=o[1],l=o[1];for(n=1;n<t.length;n++)o=t[n],a=fS(a,o[0]),r=pS(r,o[0]),s=fS(s,o[1]),l=pS(l,o[1]);e[0]=a,e[1]=s,i[0]=r,i[1]=l}}function pn(t,e,i,n,o,a){o[0]=fS(t,i),o[1]=fS(e,n),a[0]=pS(t,i),a[1]=pS(e,n)}function gn(t,e,i,n,o,a,r,s,l,u){var h,c=on,d=tn,f=c(t,i,o,r,wS);for(l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0,h=0;h<f;h++){var p=d(t,i,o,r,wS[h]);l[0]=fS(p,l[0]),u[0]=pS(p,u[0])}for(f=c(e,n,a,s,bS),h=0;h<f;h++){var g=d(e,n,a,s,bS[h]);l[1]=fS(g,l[1]),u[1]=pS(g,u[1])}l[0]=fS(t,l[0]),u[0]=pS(t,u[0]),l[0]=fS(r,l[0]),u[0]=pS(r,u[0]),l[1]=fS(e,l[1]),u[1]=pS(e,u[1]),l[1]=fS(s,l[1]),u[1]=pS(s,u[1])}function mn(t,e,i,n,o,a,r,s){var l=hn,u=sn,h=pS(fS(l(t,i,o),1),0),c=pS(fS(l(e,n,a),1),0),d=u(t,i,o,h),f=u(e,n,a,c);r[0]=fS(t,o,d),r[1]=fS(e,a,f),s[0]=pS(t,o,d),s[1]=pS(e,a,f)}function vn(t,e,i,n,o,a,r,s,l){var u=tt,h=et,c=Math.abs(o-a);if(c%vS<1e-4&&c>1e-4)return s[0]=t-i,s[1]=e-n,l[0]=t+i,void(l[1]=e+n);if(yS[0]=mS(o)*i+t,yS[1]=gS(o)*n+e,xS[0]=mS(a)*i+t,xS[1]=gS(a)*n+e,u(s,yS,xS),h(l,yS,xS),(o%=vS)<0&&(o+=vS),(a%=vS)<0&&(a+=vS),o>a&&!r?a+=vS:o<a&&r&&(o+=vS),r){var d=a;a=o,o=d}for(var f=0;f<a;f+=Math.PI/2)f>o&&(_S[0]=mS(f)*i+t,_S[1]=gS(f)*n+e,u(s,_S,s),h(l,_S,l))}function yn(t,e,i,n,o,a,r){if(0===o)return!1;var s=o,l=0,u=t;if(r>e+s&&r>n+s||r<e-s&&r<n-s||a>t+s&&a>i+s||a<t-s&&a<i-s)return!1;if(t===i)return Math.abs(a-t)<=s/2;var h=(l=(e-n)/(t-i))*a-r+(u=(t*n-i*e)/(t-i));return h*h/(l*l+1)<=s/2*s/2}function xn(t,e,i,n,o,a,r,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e+c&&h>n+c&&h>a+c&&h>s+c||h<e-c&&h<n-c&&h<a-c&&h<s-c||u>t+c&&u>i+c&&u>o+c&&u>r+c||u<t-c&&u<i-c&&u<o-c&&u<r-c)&&rn(t,e,i,n,o,a,r,s,u,h,null)<=c/2}function _n(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;return!(l>e+u&&l>n+u&&l>a+u||l<e-u&&l<n-u&&l<a-u||s>t+u&&s>i+u&&s>o+u||s<t-u&&s<i-u&&s<o-u)&&dn(t,e,i,n,o,a,s,l,null)<=u/2}function wn(t){return(t%=RS)<0&&(t+=RS),t}function bn(t,e,i,n,o,a,r,s,l){if(0===r)return!1;var u=r;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>i||h+u<i)return!1;if(Math.abs(n-o)%zS<1e-4)return!0;if(a){var c=n;n=wn(o),o=wn(c)}else n=wn(n),o=wn(o);n>o&&(o+=zS);var d=Math.atan2(l,s);return d<0&&(d+=zS),d>=n&&d<=o||d+zS>=n&&d+zS<=o}function Sn(t,e,i,n,o,a){if(a>e&&a>n||a<e&&a<n)return 0;if(n===e)return 0;var r=n<e?1:-1,s=(a-e)/(n-e);1!==s&&0!==s||(r=n<e?.5:-.5);var l=s*(i-t)+t;return l===o?1/0:l>o?r:0}function Mn(t,e){return Math.abs(t-e)<GS}function In(){var t=WS[0];WS[0]=WS[1],WS[1]=t}function Tn(t,e,i,n,o,a,r,s,l,u){if(u>e&&u>n&&u>a&&u>s||u<e&&u<n&&u<a&&u<s)return 0;var h=nn(e,n,a,s,u,FS);if(0===h)return 0;for(var c,d,f=0,p=-1,g=0;g<h;g++){var m=FS[g],v=0===m||1===m?.5:1;tn(t,i,o,r,m)<l||(p<0&&(p=on(e,n,a,s,WS),WS[1]<WS[0]&&p>1&&In(),c=tn(e,n,a,s,WS[0]),p>1&&(d=tn(e,n,a,s,WS[1]))),2===p?m<WS[0]?f+=c<e?v:-v:m<WS[1]?f+=d<c?v:-v:f+=s<d?v:-v:m<WS[0]?f+=c<e?v:-v:f+=s<c?v:-v)}return f}function An(t,e,i,n,o,a,r,s){if(s>e&&s>n&&s>a||s<e&&s<n&&s<a)return 0;var l=un(e,n,a,s,FS);if(0===l)return 0;var u=hn(e,n,a);if(u>=0&&u<=1){for(var h=0,c=sn(e,n,a,u),d=0;d<l;d++){f=0===FS[d]||1===FS[d]?.5:1;(p=sn(t,i,o,FS[d]))<r||(FS[d]<u?h+=c<e?f:-f:h+=a<c?f:-f)}return h}var f=0===FS[0]||1===FS[0]?.5:1,p=sn(t,i,o,FS[0]);return p<r?0:a<e?f:-f}function Dn(t,e,i,n,o,a,r,s){if((s-=e)>i||s<-i)return 0;u=Math.sqrt(i*i-s*s);FS[0]=-u,FS[1]=u;var l=Math.abs(n-o);if(l<1e-4)return 0;if(l%VS<1e-4){n=0,o=VS;p=a?1:-1;return r>=FS[0]+t&&r<=FS[1]+t?p:0}if(a){var u=n;n=wn(o),o=wn(u)}else n=wn(n),o=wn(o);n>o&&(o+=VS);for(var h=0,c=0;c<2;c++){var d=FS[c];if(d+t>r){var f=Math.atan2(s,d),p=a?1:-1;f<0&&(f=VS+f),(f>=n&&f<=o||f+VS>=n&&f+VS<=o)&&(f>Math.PI/2&&f<1.5*Math.PI&&(p=-p),h+=p)}}return h}function Cn(t,e,i,n,o){for(var a=0,r=0,s=0,l=0,u=0,h=0;h<t.length;){var c=t[h++];switch(c===BS.M&&h>1&&(i||(a+=Sn(r,s,l,u,n,o))),1===h&&(l=r=t[h],u=s=t[h+1]),c){case BS.M:r=l=t[h++],s=u=t[h++];break;case BS.L:if(i){if(yn(r,s,t[h],t[h+1],e,n,o))return!0}else a+=Sn(r,s,t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.C:if(i){if(xn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=Tn(r,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.Q:if(i){if(_n(r,s,t[h++],t[h++],t[h],t[h+1],e,n,o))return!0}else a+=An(r,s,t[h++],t[h++],t[h],t[h+1],n,o)||0;r=t[h++],s=t[h++];break;case BS.A:var d=t[h++],f=t[h++],p=t[h++],g=t[h++],m=t[h++],v=t[h++];h+=1;var y=1-t[h++],x=Math.cos(m)*p+d,_=Math.sin(m)*g+f;h>1?a+=Sn(r,s,x,_,n,o):(l=x,u=_);var w=(n-d)*g/p+d;if(i){if(bn(d,f,g,m,m+v,y,e,w,o))return!0}else a+=Dn(d,f,g,m,m+v,y,w,o);r=Math.cos(m+v)*p+d,s=Math.sin(m+v)*g+f;break;case BS.R:l=r=t[h++],u=s=t[h++];var x=l+t[h++],_=u+t[h++];if(i){if(yn(l,u,x,u,e,n,o)||yn(x,u,x,_,e,n,o)||yn(x,_,l,_,e,n,o)||yn(l,_,l,u,e,n,o))return!0}else a+=Sn(x,u,x,_,n,o),a+=Sn(l,_,l,u,n,o);break;case BS.Z:if(i){if(yn(r,s,l,u,e,n,o))return!0}else a+=Sn(r,s,l,u,n,o);r=l,s=u}}return i||Mn(s,u)||(a+=Sn(r,s,l,u,n,o)||0),0!==a}function Ln(t,e,i){return Cn(t,0,!1,e,i)}function kn(t,e,i,n){return Cn(t,e,!0,i,n)}function Pn(t){di.call(this,t),this.path=null}function Nn(t,e,i,n,o,a,r,s,l,u,h){var c=l*(tM/180),d=QS(c)*(t-i)/2+JS(c)*(e-n)/2,f=-1*JS(c)*(t-i)/2+QS(c)*(e-n)/2,p=d*d/(r*r)+f*f/(s*s);p>1&&(r*=$S(p),s*=$S(p));var g=(o===a?-1:1)*$S((r*r*(s*s)-r*r*(f*f)-s*s*(d*d))/(r*r*(f*f)+s*s*(d*d)))||0,m=g*r*f/s,v=g*-s*d/r,y=(t+i)/2+QS(c)*m-JS(c)*v,x=(e+n)/2+JS(c)*m+QS(c)*v,_=nM([1,0],[(d-m)/r,(f-v)/s]),w=[(d-m)/r,(f-v)/s],b=[(-1*d-m)/r,(-1*f-v)/s],S=nM(w,b);iM(w,b)<=-1&&(S=tM),iM(w,b)>=1&&(S=0),0===a&&S>0&&(S-=2*tM),1===a&&S<0&&(S+=2*tM),h.addData(u,y,x,r,s,_,S,c,a)}function On(t){if(!t)return new ES;for(var e,i=0,n=0,o=i,a=n,r=new ES,s=ES.CMD,l=t.match(oM),u=0;u<l.length;u++){for(var h,c=l[u],d=c.charAt(0),f=c.match(aM)||[],p=f.length,g=0;g<p;g++)f[g]=parseFloat(f[g]);for(var m=0;m<p;){var v,y,x,_,w,b,S,M=i,I=n;switch(d){case"l":i+=f[m++],n+=f[m++],h=s.L,r.addData(h,i,n);break;case"L":i=f[m++],n=f[m++],h=s.L,r.addData(h,i,n);break;case"m":i+=f[m++],n+=f[m++],h=s.M,r.addData(h,i,n),o=i,a=n,d="l";break;case"M":i=f[m++],n=f[m++],h=s.M,r.addData(h,i,n),o=i,a=n,d="L";break;case"h":i+=f[m++],h=s.L,r.addData(h,i,n);break;case"H":i=f[m++],h=s.L,r.addData(h,i,n);break;case"v":n+=f[m++],h=s.L,r.addData(h,i,n);break;case"V":n=f[m++],h=s.L,r.addData(h,i,n);break;case"C":h=s.C,r.addData(h,f[m++],f[m++],f[m++],f[m++],f[m++],f[m++]),i=f[m-2],n=f[m-1];break;case"c":h=s.C,r.addData(h,f[m++]+i,f[m++]+n,f[m++]+i,f[m++]+n,f[m++]+i,f[m++]+n),i+=f[m-2],n+=f[m-1];break;case"S":v=i,y=n;var T=r.len(),A=r.data;e===s.C&&(v+=i-A[T-4],y+=n-A[T-3]),h=s.C,M=f[m++],I=f[m++],i=f[m++],n=f[m++],r.addData(h,v,y,M,I,i,n);break;case"s":v=i,y=n;var T=r.len(),A=r.data;e===s.C&&(v+=i-A[T-4],y+=n-A[T-3]),h=s.C,M=i+f[m++],I=n+f[m++],i+=f[m++],n+=f[m++],r.addData(h,v,y,M,I,i,n);break;case"Q":M=f[m++],I=f[m++],i=f[m++],n=f[m++],h=s.Q,r.addData(h,M,I,i,n);break;case"q":M=f[m++]+i,I=f[m++]+n,i+=f[m++],n+=f[m++],h=s.Q,r.addData(h,M,I,i,n);break;case"T":v=i,y=n;var T=r.len(),A=r.data;e===s.Q&&(v+=i-A[T-4],y+=n-A[T-3]),i=f[m++],n=f[m++],h=s.Q,r.addData(h,v,y,i,n);break;case"t":v=i,y=n;var T=r.len(),A=r.data;e===s.Q&&(v+=i-A[T-4],y+=n-A[T-3]),i+=f[m++],n+=f[m++],h=s.Q,r.addData(h,v,y,i,n);break;case"A":x=f[m++],_=f[m++],w=f[m++],b=f[m++],S=f[m++],Nn(M=i,I=n,i=f[m++],n=f[m++],b,S,x,_,w,h=s.A,r);break;case"a":x=f[m++],_=f[m++],w=f[m++],b=f[m++],S=f[m++],Nn(M=i,I=n,i+=f[m++],n+=f[m++],b,S,x,_,w,h=s.A,r)}}"z"!==d&&"Z"!==d||(h=s.Z,r.addData(h),i=o,n=a),e=h}return r.toStatic(),r}function En(t,e){var i=On(t);return e=e||{},e.buildPath=function(t){if(t.setData)t.setData(i.data),(e=t.getContext())&&t.rebuildPath(e);else{var e=t;i.rebuildPath(e)}},e.applyTransform=function(t){KS(i,t),this.dirty(!0)},e}function Rn(t,e){return new Pn(En(t,e))}function zn(t,e){return Pn.extend(En(t,e))}function Bn(t,e,i,n,o,a,r){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*r+(-3*(e-i)-2*s-l)*a+s*o+e}function Vn(t,e,i){var n=e.points,o=e.smooth;if(n&&n.length>=2){if(o&&"spline"!==o){var a=fM(n,o,i,e.smoothConstraint);t.moveTo(n[0][0],n[0][1]);for(var r=n.length,s=0;s<(i?r:r-1);s++){var l=a[2*s],u=a[2*s+1],h=n[(s+1)%r];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===o&&(n=dM(n,i)),t.moveTo(n[0][0],n[0][1]);for(var s=1,c=n.length;s<c;s++)t.lineTo(n[s][0],n[s][1])}i&&t.closePath()}}function Gn(t,e,i){var n=i&&i.lineWidth;if(e&&n){var o=e.x1,a=e.x2,r=e.y1,s=e.y2;mM(2*o)===mM(2*a)?t.x1=t.x2=Wn(o,n,!0):(t.x1=o,t.x2=a),mM(2*r)===mM(2*s)?t.y1=t.y2=Wn(r,n,!0):(t.y1=r,t.y2=s)}}function Fn(t,e,i){var n=i&&i.lineWidth;if(e&&n){var o=e.x,a=e.y,r=e.width,s=e.height;t.x=Wn(o,n,!0),t.y=Wn(a,n,!0),t.width=Math.max(Wn(o+r,n,!1)-t.x,0===r?0:1),t.height=Math.max(Wn(a+s,n,!1)-t.y,0===s?0:1)}}function Wn(t,e,i){var n=mM(2*t);return(n+mM(e))%2==0?n/2:(n+(i?1:-1))/2}function Hn(t,e,i){var n=t.cpx2,o=t.cpy2;return null===n||null===o?[(i?en:tn)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?en:tn)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?ln:sn)(t.x1,t.cpx1,t.x2,e),(i?ln:sn)(t.y1,t.cpy1,t.y2,e)]}function Zn(t){di.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}function Un(t){return Pn.extend(t)}function Xn(t,e,i,n){var o=Rn(t,e);return i&&("center"===n&&(i=Yn(i,o.getBoundingRect())),qn(o,i)),o}function jn(t,e,i){var n=new fi({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var o={width:t.width,height:t.height};n.setStyle(Yn(e,o))}}});return n}function Yn(t,e){var i,n=e.width/e.height,o=t.height*n;return i=o<=t.width?t.height:(o=t.width)/n,{x:t.x+t.width/2-o/2,y:t.y+t.height/2-i/2,width:o,height:i}}function qn(t,e){if(t.applyTransform){var i=t.getBoundingRect().calculateTransform(e);t.applyTransform(i)}}function Kn(t){var e=t.shape,i=t.style.lineWidth;return CM(2*e.x1)===CM(2*e.x2)&&(e.x1=e.x2=Jn(e.x1,i,!0)),CM(2*e.y1)===CM(2*e.y2)&&(e.y1=e.y2=Jn(e.y1,i,!0)),t}function $n(t){var e=t.shape,i=t.style.lineWidth,n=e.x,o=e.y,a=e.width,r=e.height;return e.x=Jn(e.x,i,!0),e.y=Jn(e.y,i,!0),e.width=Math.max(Jn(n+a,i,!1)-e.x,0===a?0:1),e.height=Math.max(Jn(o+r,i,!1)-e.y,0===r?0:1),t}function Jn(t,e,i){var n=CM(2*t);return(n+CM(e))%2==0?n/2:(n+(i?1:-1))/2}function Qn(t){return null!=t&&"none"!==t}function to(t){if("string"!=typeof t)return t;var e=EM.get(t);return e||(e=Ht(t,-.1),RM<1e4&&(EM.set(t,e),RM++)),e}function eo(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var o in e)null!=e[o]&&(i[o]=n[o]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function io(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.useHoverLayer;t.__highlighted=i?"layer":"plain";var n=t.__zr;if(n||!i){var o=t,a=t.style;i&&(a=(o=n.addHover(t)).style),bo(a),i||eo(o),a.extendFrom(e),no(a,e,"fill"),no(a,e,"stroke"),wo(a),i||(t.dirty(!1),t.z2+=NM)}}}function no(t,e,i){!Qn(e[i])&&Qn(t[i])&&(t[i]=to(t[i]))}function oo(t){var e=t.__highlighted;if(e)if(t.__highlighted=!1,"layer"===e)t.__zr&&t.__zr.removeHover(t);else if(e){var i=t.style,n=t.__cachedNormalStl;n&&(bo(i),t.setStyle(n),wo(i));var o=t.__cachedNormalZ2;null!=o&&t.z2-o===NM&&(t.z2=o)}}function ao(t,e){t.isGroup?t.traverse(function(t){!t.isGroup&&e(t)}):e(t)}function ro(t,e){e=t.__hoverStl=!1!==e&&(e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,oo(t),io(t))}function so(t){return t&&t.__isEmphasisEntered}function lo(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&ao(this,io)}function uo(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&ao(this,oo)}function ho(){this.__isEmphasisEntered=!0,ao(this,io)}function co(){this.__isEmphasisEntered=!1,ao(this,oo)}function fo(t,e,i){t.isGroup?t.traverse(function(t){!t.isGroup&&ro(t,t.hoverStyle||e)}):ro(t,t.hoverStyle||e),po(t,i)}function po(t,e){var i=!1===e;if(t.__hoverSilentOnTouch=null!=e&&e.hoverSilentOnTouch,!i||t.__hoverStyleTrigger){var n=i?"off":"on";t[n]("mouseover",lo)[n]("mouseout",uo),t[n]("emphasis",ho)[n]("normal",co),t.__hoverStyleTrigger=!i}}function go(t,e,i,n,o,a,r){var s,l=(o=o||PM).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,c=i.getShallow("show"),d=n.getShallow("show");(c||d)&&(l&&(s=l.getFormattedLabel(u,"normal",null,h)),null==s&&(s=x(o.defaultText)?o.defaultText(u,o):o.defaultText));var f=c?s:null,p=d?A(l?l.getFormattedLabel(u,"emphasis",null,h):null,s):null;null==f&&null==p||(mo(t,i,a,o),mo(e,n,r,o,!0)),t.text=f,e.text=p}function mo(t,e,i,n,o){return vo(t,e,n,o),i&&a(t,i),t}function vo(t,e,i,n){if((i=i||PM).isRectText){var o=e.getShallow("position")||(n?null:"inside");"outside"===o&&(o="top"),t.textPosition=o,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=A(e.getShallow("distance"),n?null:5)}var r,s=e.ecModel,l=s&&s.option.textStyle,u=yo(e);if(u){r={};for(var h in u)if(u.hasOwnProperty(h)){var c=e.getModel(["rich",h]);xo(r[h]={},c,l,i,n)}}return t.rich=r,xo(t,e,l,i,n,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function yo(t){for(var e;t&&t!==t.ecModel;){var i=(t.option||PM).rich;if(i){e=e||{};for(var n in i)i.hasOwnProperty(n)&&(e[n]=1)}t=t.parentModel}return e}function xo(t,e,i,n,o,a){i=!o&&i||PM,t.textFill=_o(e.getShallow("color"),n)||i.color,t.textStroke=_o(e.getShallow("textBorderColor"),n)||i.textBorderColor,t.textStrokeWidth=A(e.getShallow("textBorderWidth"),i.textBorderWidth),t.insideRawTextPosition=t.textPosition,o||(a&&(t.insideRollbackOpt=n,wo(t)),null==t.textFill&&(t.textFill=n.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&n.disableBox||(t.textBackgroundColor=_o(e.getShallow("backgroundColor"),n),t.textPadding=e.getShallow("padding"),t.textBorderColor=_o(e.getShallow("borderColor"),n),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function _o(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function wo(t){var e=t.insideRollbackOpt;if(e&&null==t.textFill){var i,n=e.useInsideStyle,o=t.insideRawTextPosition,a=e.autoColor;!1!==n&&(!0===n||e.isRectText&&o&&"string"==typeof o&&o.indexOf("inside")>=0)?(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=a&&(i={textFill:null},t.textFill=a),i&&(t.insideRollback=i)}}function bo(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function So(t,e){var i=e||e.getModel("textStyle");return P([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Mo(t,e,i,n,o,a){if("function"==typeof o&&(a=o,o=null),n&&n.isAnimationEnabled()){var r=t?"Update":"",s=n.getShallow("animationDuration"+r),l=n.getShallow("animationEasing"+r),u=n.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(o,n.getAnimationDelayParams?n.getAnimationDelayParams(e,o):null)),"function"==typeof s&&(s=s(o)),s>0?e.animateTo(i,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function Io(t,e,i,n,o){Mo(!0,t,e,i,n,o)}function To(t,e,i,n,o){Mo(!1,t,e,i,n,o)}function Ao(t,e){for(var i=_t([]);t&&t!==e;)bt(i,t.getLocalTransform(),i),t=t.parent;return i}function Do(t,e,i){return e&&!c(e)&&(e=Tw.getLocalTransform(e)),i&&(e=Tt([],e)),Q([],t,e)}function Co(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),o=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-o:"bottom"===t?o:0];return a=Do(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Lo(t,e,i,n){function o(t){var e={position:F(t.position),rotation:t.rotation};return t.shape&&(e.shape=a({},t.shape)),e}if(t&&e){var r=function(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=o(t);t.attr(o(e)),Io(t,n,i,t.dataIndex)}}})}}function ko(t,e){return f(t,function(t){var i=t[0];i=LM(i,e.x),i=kM(i,e.x+e.width);var n=t[1];return n=LM(n,e.y),n=kM(n,e.y+e.height),[i,n]})}function Po(t,e,i){var n=(e=a({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(n.image=t.slice(8),r(n,i),new fi(e)):Xn(t.replace("path://",""),e,i,"center")}function No(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function Oo(t,e,i){for(var n=0;n<e.length&&(!e[n]||null!=(t=t&&"object"==typeof t?t[e[n]]:null));n++);return null==t&&i&&(t=i.get(e)),t}function Eo(t,e){var i=HM(t).getParent;return i?i.call(t,e):t.parentModel}function Ro(t){return[t||"",ZM++,Math.random().toFixed(5)].join("_")}function zo(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}function Bo(t,e,i,n){var o=e[1]-e[0],a=i[1]-i[0];if(0===o)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(o>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/o*a+i[0]}function Vo(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?zo(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Go(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function Fo(t){return t.sort(function(t,e){return t-e}),t}function Wo(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}function Ho(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var o=e.indexOf(".");return o<0?0:e.length-1-o}function Zo(t,e){var i=Math.log,n=Math.LN10,o=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),r=Math.min(Math.max(-o+a,0),20);return isFinite(r)?r:20}function Uo(t,e,i){if(!t[e])return 0;var n=p(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return 0;for(var o=Math.pow(10,i),a=f(t,function(t){return(isNaN(t)?0:t)/n*o*100}),r=100*o,s=f(a,function(t){return Math.floor(t)}),l=p(s,function(t,e){return t+e},0),u=f(a,function(t,e){return t-s[e]});l<r;){for(var h=Number.NEGATIVE_INFINITY,c=null,d=0,g=u.length;d<g;++d)u[d]>h&&(h=u[d],c=d);++s[c],u[c]=0,++l}return s[e]/o}function Xo(t){var e=2*Math.PI;return(t%e+e)%e}function jo(t){return t>-UM&&t<UM}function Yo(t){if(t instanceof Date)return t;if("string"==typeof t){var e=jM.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function qo(t){return Math.pow(10,Ko(t))}function Ko(t){return Math.floor(Math.log(t)/Math.LN10)}function $o(t,e){var i,n=Ko(t),o=Math.pow(10,n),a=t/o;return i=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=i*o,n>=-20?+t.toFixed(n<0?-n:0):t}function Jo(t){function e(t,i,n){return t.interval[n]<i.interval[n]||t.interval[n]===i.interval[n]&&(t.close[n]-i.close[n]==(n?-1:1)||!n&&e(t,i,1))}t.sort(function(t,i){return e(t,i,0)?-1:1});for(var i=-1/0,n=1,o=0;o<t.length;){for(var a=t[o].interval,r=t[o].close,s=0;s<2;s++)a[s]<=i&&(a[s]=i,r[s]=s?1:1-n),i=a[s],n=r[s];a[0]===a[1]&&r[0]*r[1]!=1?t.splice(o,1):o++}return t}function Qo(t){return t-parseFloat(t)>=0}function ta(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function ea(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}function ia(t){return null==t?"":(t+"").replace(KM,function(t,e){return $M[e]})}function na(t,e,i){y(e)||(e=[e]);var n=e.length;if(!n)return"";for(var o=e[0].$vars||[],a=0;a<o.length;a++){var r=JM[a];t=t.replace(QM(r),QM(r,0))}for(var s=0;s<n;s++)for(var l=0;l<o.length;l++){var u=e[s][o[l]];t=t.replace(QM(JM[l],s),i?ia(u):u)}return t}function oa(t,e,i){return d(e,function(e,n){t=t.replace("{"+n+"}",i?ia(e):e)}),t}function aa(t,e){var i=(t=_(t)?{color:t,extraCssText:e}:t||{}).color,n=t.type,e=t.extraCssText,o=t.renderMode||"html",a=t.markerId||"X";return i?"html"===o?"subItem"===n?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ia(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+ia(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{marker"+a+"|} ",style:{color:i}}:""}function ra(t,e){return t+="","0000".substr(0,e-t.length)+t}function sa(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=Yo(e),o=i?"UTC":"",a=n["get"+o+"FullYear"](),r=n["get"+o+"Month"]()+1,s=n["get"+o+"Date"](),l=n["get"+o+"Hours"](),u=n["get"+o+"Minutes"](),h=n["get"+o+"Seconds"](),c=n["get"+o+"Milliseconds"]();return t=t.replace("MM",ra(r,2)).replace("M",r).replace("yyyy",a).replace("yy",a%100).replace("dd",ra(s,2)).replace("d",s).replace("hh",ra(l,2)).replace("h",l).replace("mm",ra(u,2)).replace("m",u).replace("ss",ra(h,2)).replace("s",h).replace("SSS",ra(c,3))}function la(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function ua(t,e,i,n,o){var a=0,r=0;null==n&&(n=1/0),null==o&&(o=1/0);var s=0;e.eachChild(function(l,u){var h,c,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var m=f.width+(g?-g.x+f.x:0);(h=a+m)>n||l.newline?(a=0,h=m,r+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(c=r+v)>o||l.newline?(a+=s+i,r=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=r,"horizontal"===t?a=h+i:r=c+i)})}function ha(t,e,i){var n=e.width,o=e.height,a=Vo(t.x,n),r=Vo(t.y,o),s=Vo(t.x2,n),l=Vo(t.y2,o);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=n),(isNaN(r)||isNaN(parseFloat(t.y)))&&(r=0),(isNaN(l)||isNaN(parseFloat(t.y2)))&&(l=o),i=qM(i||0),{width:Math.max(s-a-i[1]-i[3],0),height:Math.max(l-r-i[0]-i[2],0)}}function ca(t,e,i){i=qM(i||0);var n=e.width,o=e.height,a=Vo(t.left,n),r=Vo(t.top,o),s=Vo(t.right,n),l=Vo(t.bottom,o),u=Vo(t.width,n),h=Vo(t.height,o),c=i[2]+i[0],d=i[1]+i[3],f=t.aspect;switch(isNaN(u)&&(u=n-s-d-a),isNaN(h)&&(h=o-l-c-r),null!=f&&(isNaN(u)&&isNaN(h)&&(f>n/o?u=.8*n:h=.8*o),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(a)&&(a=n-s-u-d),isNaN(r)&&(r=o-l-h-c),t.left||t.right){case"center":a=n/2-u/2-i[3];break;case"right":a=n-u-d}switch(t.top||t.bottom){case"middle":case"center":r=o/2-h/2-i[0];break;case"bottom":r=o-h-c}a=a||0,r=r||0,isNaN(u)&&(u=n-d-a-(s||0)),isNaN(h)&&(h=o-c-r-(l||0));var p=new de(a+i[3],r+i[0],u,h);return p.margin=i,p}function da(t,e,i,n,o){var a=!o||!o.hv||o.hv[0],s=!o||!o.hv||o.hv[1],l=o&&o.boundingMode||"all";if(a||s){var u;if("raw"===l)u="group"===t.type?new de(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(u=u.clone()).applyTransform(h)}e=ca(r({width:u.width,height:u.height},e),i,n);var c=t.position,d=a?e.x-u.x:0,f=s?e.y-u.y:0;t.attr("position","raw"===l?[d,f]:[c[0]+d,c[1]+f])}}function fa(t,e){return null!=t[oI[e][0]]||null!=t[oI[e][1]]&&null!=t[oI[e][2]]}function pa(t,e,i){function n(i,n){var r={},l=0,u={},h=0;if(iI(i,function(e){u[e]=t[e]}),iI(i,function(t){o(e,t)&&(r[t]=u[t]=e[t]),a(r,t)&&l++,a(u,t)&&h++}),s[n])return a(e,i[1])?u[i[2]]=null:a(e,i[2])&&(u[i[1]]=null),u;if(2!==h&&l){if(l>=2)return r;for(var c=0;c<i.length;c++){var d=i[c];if(!o(r,d)&&o(t,d)){r[d]=t[d];break}}return r}return u}function o(t,e){return t.hasOwnProperty(e)}function a(t,e){return null!=t[e]&&"auto"!==t[e]}function r(t,e,i){iI(t,function(t){e[t]=i[t]})}!w(i)&&(i={});var s=i.ignoreSize;!y(s)&&(s=[s,s]);var l=n(oI[0],0),u=n(oI[1],1);r(oI[0],t,l),r(oI[1],t,u)}function ga(t){return ma({},t)}function ma(t,e){return e&&t&&iI(nI,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}function va(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}function ya(t){var e=t.get("coordinateSystem"),i={coordSysName:e,coordSysDims:[],axisMap:R(),categoryAxisMap:R()},n=fI[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}function xa(t){return"category"===t.get("type")}function _a(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===vI?{}:[]),this.sourceFormat=t.sourceFormat||yI,this.seriesLayoutBy=t.seriesLayoutBy||_I,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&R(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}function wa(t){var e=t.option.source,i=yI;if(S(e))i=xI;else if(y(e)){0===e.length&&(i=gI);for(var n=0,o=e.length;n<o;n++){var a=e[n];if(null!=a){if(y(a)){i=gI;break}if(w(a)){i=mI;break}}}}else if(w(e)){for(var r in e)if(e.hasOwnProperty(r)&&c(e[r])){i=vI;break}}else if(null!=e)throw new Error("Invalid data");bI(t).sourceFormat=i}function ba(t){return bI(t).source}function Sa(t){bI(t).datasetMap=R()}function Ma(t){var e=t.option,i=e.data,n=S(i)?xI:pI,o=!1,a=e.seriesLayoutBy,r=e.sourceHeader,s=e.dimensions,l=La(t);if(l){var u=l.option;i=u.source,n=bI(l).sourceFormat,o=!0,a=a||u.seriesLayoutBy,null==r&&(r=u.sourceHeader),s=s||u.dimensions}var h=Ia(i,n,a,r,s),c=e.encode;!c&&l&&(c=Ca(t,l,i,n,a,h)),bI(t).source=new _a({data:i,fromDataset:o,seriesLayoutBy:a,sourceFormat:n,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectCount:h.dimensionsDetectCount,encodeDefine:c})}function Ia(t,e,i,n,o){if(!t)return{dimensionsDefine:Ta(o)};var a,r,s;if(e===gI)"auto"===n||null==n?Aa(function(t){null!=t&&"-"!==t&&(_(t)?null==r&&(r=1):r=0)},i,t,10):r=n?1:0,o||1!==r||(o=[],Aa(function(t,e){o[e]=null!=t?t:""},i,t)),a=o?o.length:i===wI?t.length:t[0]?t[0].length:null;else if(e===mI)o||(o=Da(t),s=!0);else if(e===vI)o||(o=[],s=!0,d(t,function(t,e){o.push(e)}));else if(e===pI){var l=Li(t[0]);a=y(l)&&l.length||1}var u;return s&&d(o,function(t,e){"name"===(w(t)?t.name:t)&&(u=e)}),{startIndex:r,dimensionsDefine:Ta(o),dimensionsDetectCount:a,potentialNameDimIndex:u}}function Ta(t){if(t){var e=R();return f(t,function(t,i){if(null==(t=a({},w(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function Aa(t,e,i,n){if(null==n&&(n=1/0),e===wI)for(a=0;a<i.length&&a<n;a++)t(i[a]?i[a][0]:null,a);else for(var o=i[0]||[],a=0;a<o.length&&a<n;a++)t(o[a],a)}function Da(t){for(var e,i=0;i<t.length&&!(e=t[i++]););if(e){var n=[];return d(e,function(t,e){n.push(e)}),n}}function Ca(t,e,i,n,o,a){var r=ya(t),s={},l=[],u=[],h=t.subType,c=R(["pie","map","funnel"]),f=R(["line","bar","pictorialBar","scatter","effectScatter","candlestick","boxplot"]);if(r&&null!=f.get(h)){var p=t.ecModel,g=bI(p).datasetMap,m=e.uid+"_"+o,v=g.get(m)||g.set(m,{categoryWayDim:1,valueWayDim:0});d(r.coordSysDims,function(t){if(null==r.firstCategoryDimIndex){e=v.valueWayDim++;s[t]=e,u.push(e)}else if(r.categoryAxisMap.get(t))s[t]=0,l.push(0);else{var e=v.categoryWayDim++;s[t]=e,u.push(e)}})}else if(null!=c.get(h)){for(var y,x=0;x<5&&null==y;x++)Pa(i,n,o,a.dimensionsDefine,a.startIndex,x)||(y=x);if(null!=y){s.value=y;var _=a.potentialNameDimIndex||Math.max(y-1,0);u.push(_),l.push(_)}}return l.length&&(s.itemName=l),u.length&&(s.seriesName=u),s}function La(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function ka(t,e){return Pa(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function Pa(t,e,i,n,o,a){function r(t){return(null==t||!isFinite(t)||""===t)&&(!(!_(t)||"-"===t)||void 0)}var s;if(S(t))return!1;var l;if(n&&(l=w(l=n[a])?l.name:l),e===gI)if(i===wI){for(var u=t[a],h=0;h<(u||[]).length&&h<5;h++)if(null!=(s=r(u[o+h])))return s}else for(h=0;h<t.length&&h<5;h++){var c=t[o+h];if(c&&null!=(s=r(c[a])))return s}else if(e===mI){if(!l)return;for(h=0;h<t.length&&h<5;h++)if((d=t[h])&&null!=(s=r(d[l])))return s}else if(e===vI){if(!l)return;if(!(u=t[l])||S(u))return!1;for(h=0;h<u.length&&h<5;h++)if(null!=(s=r(u[h])))return s}else if(e===pI)for(h=0;h<t.length&&h<5;h++){var d=t[h],f=Li(d);if(!y(f))return!1;if(null!=(s=r(f[a])))return s}return!1}function Na(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,o=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=o&&t.name!==o}}function Oa(t,e){var o=t.color&&!t.colorLayer;d(e,function(e,a){"colorLayer"===a&&o||lI.hasClass(a)||("object"==typeof e?t[a]=t[a]?n(t[a],e,!1):i(e):null==t[a]&&(t[a]=e))})}function Ea(t){t=t,this.option={},this.option[SI]=1,this._componentsMap=R({series:[]}),this._seriesIndices,this._seriesIndicesMap,Oa(t,this._theme.option),n(t,hI,!1),this.mergeOption(t)}function Ra(t,e){y(e)||(e=e?[e]:[]);var i={};return d(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}function za(t,e,i){return e.type?e.type:i?i.subType:lI.determineSubType(t,e)}function Ba(t,e){t._seriesIndicesMap=R(t._seriesIndices=f(e,function(t){return t.componentIndex})||[])}function Va(t,e){return e.hasOwnProperty("subType")?g(t,function(t){return t.subType===e.subType}):t}function Ga(t){d(II,function(e){this[e]=m(t[e],t)},this)}function Fa(){this._coordinateSystems=[]}function Wa(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function Ha(t,e,i){var n,o,a=[],r=[],s=t.timeline;if(t.baseOption&&(o=t.baseOption),(s||t.options)&&(o=o||{},a=(t.options||[]).slice()),t.media){o=o||{};var l=t.media;AI(l,function(t){t&&t.option&&(t.query?r.push(t):n||(n=t))})}return o||(o=t),o.timeline||(o.timeline=s),AI([o].concat(a).concat(f(r,function(t){return t.option})),function(t){AI(e,function(e){e(t,i)})}),{baseOption:o,timelineOptions:a,mediaDefault:n,mediaList:r}}function Za(t,e,i){var n={width:e,height:i,aspectratio:e/i},o=!0;return d(t,function(t,e){var i=e.match(kI);if(i&&i[1]&&i[2]){var a=i[1],r=i[2].toLowerCase();Ua(n[r],t,a)||(o=!1)}}),o}function Ua(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function Xa(t,e){return t.join(",")===e.join(",")}function ja(t,e){AI(e=e||{},function(e,i){if(null!=e){var n=t[i];if(lI.hasClass(i)){e=Di(e);var o=Pi(n=Di(n),e);t[i]=CI(o,function(t){return t.option&&t.exist?LI(t.exist,t.option,!0):t.exist||t.option})}else t[i]=LI(n,e,!0)}})}function Ya(t){var e=t&&t.itemStyle;if(e)for(var i=0,o=OI.length;i<o;i++){var a=OI[i],r=e.normal,s=e.emphasis;r&&r[a]&&(t[a]=t[a]||{},t[a].normal?n(t[a].normal,r[a]):t[a].normal=r[a],r[a]=null),s&&s[a]&&(t[a]=t[a]||{},t[a].emphasis?n(t[a].emphasis,s[a]):t[a].emphasis=s[a],s[a]=null)}}function qa(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,o=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,r(t[e],n)):t[e]=n),o&&(t.emphasis=t.emphasis||{},t.emphasis[e]=o)}}function Ka(t){qa(t,"itemStyle"),qa(t,"lineStyle"),qa(t,"areaStyle"),qa(t,"label"),qa(t,"labelLine"),qa(t,"upperLabel"),qa(t,"edgeLabel")}function $a(t,e){var i=NI(t)&&t[e],n=NI(i)&&i.textStyle;if(n)for(var o=0,a=Yb.length;o<a;o++){var e=Yb[o];n.hasOwnProperty(e)&&(i[e]=n[e])}}function Ja(t){t&&(Ka(t),$a(t,"label"),t.emphasis&&$a(t.emphasis,"label"))}function Qa(t){if(NI(t)){Ya(t),Ka(t),$a(t,"label"),$a(t,"upperLabel"),$a(t,"edgeLabel"),t.emphasis&&($a(t.emphasis,"label"),$a(t.emphasis,"upperLabel"),$a(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Ya(e),Ja(e));var i=t.markLine;i&&(Ya(i),Ja(i));var n=t.markArea;n&&Ja(n);var o=t.data;if("graph"===t.type){o=o||t.nodes;var a=t.links||t.edges;if(a&&!S(a))for(s=0;s<a.length;s++)Ja(a[s]);d(t.categories,function(t){Ka(t)})}if(o&&!S(o))for(s=0;s<o.length;s++)Ja(o[s]);if((e=t.markPoint)&&e.data)for(var r=e.data,s=0;s<r.length;s++)Ja(r[s]);if((i=t.markLine)&&i.data)for(var l=i.data,s=0;s<l.length;s++)y(l[s])?(Ja(l[s][0]),Ja(l[s][1])):Ja(l[s]);"gauge"===t.type?($a(t,"axisLabel"),$a(t,"title"),$a(t,"detail")):"treemap"===t.type?(qa(t.breadcrumb,"itemStyle"),d(t.levels,function(t){Ka(t)})):"tree"===t.type&&Ka(t.leaves)}}function tr(t){return y(t)?t:t?[t]:[]}function er(t){return(y(t)?t[0]:t)||{}}function ir(t,e){e=e.split(",");for(var i=t,n=0;n<e.length&&null!=(i=i&&i[e[n]]);n++);return i}function nr(t,e,i,n){e=e.split(",");for(var o,a=t,r=0;r<e.length-1;r++)null==a[o=e[r]]&&(a[o]={}),a=a[o];(n||null==a[e[r]])&&(a[e[r]]=i)}function or(t){d(RI,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}function ar(t){d(t,function(e,i){var n=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex,l=r.map(a,function(a,l,u){var h=r.get(e.stackedDimension,u);if(isNaN(h))return o;var c,d;s?d=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=t[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&m>0||h<=0&&m<0){h+=m,f=m;break}}}return n[0]=h,n[1]=f,n});r.hostModel.setData(l),e.data=l})}function rr(t,e){_a.isInstance(t)||(t=_a.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===xI&&(this._offset=0,this._dimSize=e,this._data=i),a(this,GI[n===gI?n+"_"+t.seriesLayoutBy:n])}function sr(){return this._data.length}function lr(t){return this._data[t]}function ur(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}function hr(t,e,i,n){return null!=i?t[i]:t}function cr(t,e,i,n){return dr(t[n],this._dimensionInfos[e])}function dr(t,e){var i=e&&e.type;if("ordinal"===i){var n=e&&e.ordinalMeta;return n?n.parseAndCollect(t):t}return"time"===i&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+Yo(t)),null==t||""===t?NaN:+t}function fr(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var o,a,r=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(i);return s&&(o=s.name,a=s.index),FI[r](n,e,a,o)}}}function pr(t,e,i){if(t){var n=t.getProvider().getSource().sourceFormat;if(n===pI||n===mI){var o=t.getRawDataItem(e);return n!==pI||w(o)||(o=null),o?o[i]:void 0}}}function gr(t){return new mr(t)}function mr(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}function vr(t,e,i,n,o,a){XI.reset(i,n,o,a),t._callingProgress=e,t._callingProgress({start:i,end:n,count:n-i,next:XI.next},t.context)}function yr(t,e){t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null;var i,n;!e&&t._reset&&((i=t._reset(t.context))&&i.progress&&(n=i.forceFirstProgress,i=i.progress),y(i)&&!i.length&&(i=null)),t._progress=i,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),n}function xr(t){var e=t.name;Oi(t)||(t.name=_r(t)||e)}function _r(t){var e=t.getRawData(),i=[];return d(e.mapDimension("seriesName",!0),function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}function wr(t){return t.model.getRawData().count()}function br(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Sr}function Sr(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Mr(t,e){d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,v(Ir,e))})}function Ir(t){var e=Tr(t);e&&e.setOutputEnd(this.count())}function Tr(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var o=n.agentStubMap;o&&(n=o.get(t.uid))}return n}}function Ar(){this.group=new tb,this.uid=Ro("viewChart"),this.renderTask=gr({plan:Lr,reset:kr}),this.renderTask.context={view:this}}function Dr(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var i=0;i<t.childCount();i++)Dr(t.childAt(i),e)}function Cr(t,e,i){var n=zi(t,e);null!=n?d(Di(n),function(e){Dr(t.getItemGraphicEl(e),i)}):t.eachItemGraphicEl(function(t){Dr(t,i)})}function Lr(t){return QI(t.model)}function kr(t){var e=t.model,i=t.ecModel,n=t.api,o=t.payload,a=e.pipelineContext.progressiveRender,r=t.view,s=o&&JI(o).updateMethod,l=a?"incrementalPrepareRender":s&&r[s]?s:"render";return"render"!==l&&r[l](e,i,n,o),eT[l]}function Pr(t,e,i){function n(){h=(new Date).getTime(),c=null,t.apply(r,s||[])}var o,a,r,s,l,u=0,h=0,c=null;e=e||0;var d=function(){o=(new Date).getTime(),r=this,s=arguments;var t=l||e,d=l||i;l=null,a=o-(d?u:h)-t,clearTimeout(c),d?c=setTimeout(n,t):a>=0?n():c=setTimeout(n,-a),u=o};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function Nr(t,e,i,n){var o=t[e];if(o){var a=o[iT]||o,r=o[oT];if(o[nT]!==i||r!==n){if(null==i||!n)return t[e]=a;(o=t[e]=Pr(a,i,"debounce"===n))[iT]=a,o[oT]=n,o[nT]=i}return o}}function Or(t,e){var i=t[e];i&&i[iT]&&(t[e]=i[iT])}function Er(t,e,i,n){this.ecInstance=t,this.api=e,this.unfinished;var i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice();this._allHandlers=i.concat(n),this._stageTaskMap=R()}function Rr(t,e,i,n,o){function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}o=o||{};var r;d(e,function(e,s){if(!o.visualType||o.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,d=h.agentStubMap;d.each(function(t){a(o,t)&&(t.dirty(),c=!0)}),c&&h.dirty(),hT(h,n);var f=t.getPerformArgs(h,o.block);d.each(function(t){t.perform(f)}),r|=h.perform(f)}else u&&u.each(function(s,l){a(o,s)&&s.dirty();var u=t.getPerformArgs(s,o.block);u.skip=!e.performRawSeries&&i.isSeriesFiltered(s.context.model),hT(s,n),r|=s.perform(u)})}}),t.unfinished|=r}function zr(t,e,i,n,o){function a(i){var a=i.uid,s=r.get(a)||r.set(a,gr({plan:Hr,reset:Zr,count:Xr}));s.context={model:i,ecModel:n,api:o,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},jr(t,i,s)}var r=i.seriesTaskMap||(i.seriesTaskMap=R()),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(a):s?n.eachRawSeriesByType(s,a):l&&l(n,o).each(a);var u=t._pipelineMap;r.each(function(t,e){u.get(e)||(t.dispose(),r.removeKey(e))})}function Br(t,e,i,n,o){function a(e){var i=e.uid,n=s.get(i);n||(n=s.set(i,gr({reset:Gr,onDirty:Wr})),r.dirty()),n.context={model:e,overallProgress:h,modifyOutputEnd:c},n.agent=r,n.__block=h,jr(t,e,n)}var r=i.overallTask=i.overallTask||gr({reset:Vr});r.context={ecModel:n,api:o,overallReset:e.overallReset,scheduler:t};var s=r.agentStubMap=r.agentStubMap||R(),l=e.seriesType,u=e.getTargetSeries,h=!0,c=e.modifyOutputEnd;l?n.eachRawSeriesByType(l,a):u?u(n,o).each(a):(h=!1,d(n.getSeries(),a));var f=t._pipelineMap;s.each(function(t,e){f.get(e)||(t.dispose(),r.dirty(),s.removeKey(e))})}function Vr(t){t.overallReset(t.ecModel,t.api,t.payload)}function Gr(t,e){return t.overallProgress&&Fr}function Fr(){this.agent.dirty(),this.getDownstream().dirty()}function Wr(){this.agent&&this.agent.dirty()}function Hr(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function Zr(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Di(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?f(e,function(t,e){return Ur(e)}):cT}function Ur(t){return function(e,i){var n=i.data,o=i.resetDefines[t];if(o&&o.dataEach)for(var a=e.start;a<e.end;a++)o.dataEach(n,a);else o&&o.progress&&o.progress(e,n)}}function Xr(t){return t.data.count()}function jr(t,e,i){var n=e.uid,o=t._pipelineMap.get(n);!o.head&&(o.head=i),o.tail&&o.tail.pipe(i),o.tail=i,i.__idxInPipeline=o.count++,i.__pipeline=o}function Yr(t){dT=null;try{t(fT,pT)}catch(t){}return dT}function qr(t,e){for(var i in e.prototype)t[i]=B}function Kr(t){for(_(t)&&(t=(new DOMParser).parseFromString(t,"text/xml")),9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function $r(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}function Jr(t,e){for(var i=t.firstChild;i;){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,o)}i=i.nextSibling}}function Qr(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),r(e.__inheritedStyle,t.__inheritedStyle))}function ts(t){for(var e=P(t).split(_T),i=[],n=0;n<e.length;n+=2){var o=parseFloat(e[n]),a=parseFloat(e[n+1]);i.push([o,a])}return i}function es(t,e,i,n){var o=e.__inheritedStyle||{},r="text"===e.type;if(1===t.nodeType&&(ns(t,e),a(o,os(t)),!n))for(var s in ST)if(ST.hasOwnProperty(s)){var l=t.getAttribute(s);null!=l&&(o[ST[s]]=l)}var u=r?"textFill":"fill",h=r?"textStroke":"stroke";e.style=e.style||new ub;var c=e.style;null!=o.fill&&c.set(u,is(o.fill,i)),null!=o.stroke&&c.set(h,is(o.stroke,i)),d(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){var e="lineWidth"===t&&r?"textStrokeWidth":t;null!=o[t]&&c.set(e,parseFloat(o[t]))}),o.textBaseline&&"auto"!==o.textBaseline||(o.textBaseline="alphabetic"),"alphabetic"===o.textBaseline&&(o.textBaseline="bottom"),"start"===o.textAlign&&(o.textAlign="left"),"end"===o.textAlign&&(o.textAlign="right"),d(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=o[t]&&c.set(t,o[t])}),o.lineDash&&(e.style.lineDash=P(o.lineDash).split(_T)),c[h]&&"none"!==c[h]&&(e[h]=!0),e.__inheritedStyle=o}function is(t,e){var i=e&&t&&t.match(MT);return i?e[P(i[1])]:t}function ns(t,e){var i=t.getAttribute("transform");if(i){var n=null,o=[];(i=i.replace(/,/g," ")).replace(IT,function(t,e,i){o.push(e,i)});for(var a=o.length-1;a>0;a-=2){var r=o[a],s=o[a-1];switch(n=n||xt(),s){case"translate":r=P(r).split(_T),St(n,n,[parseFloat(r[0]),parseFloat(r[1]||0)]);break;case"scale":r=P(r).split(_T),It(n,n,[parseFloat(r[0]),parseFloat(r[1]||r[0])]);break;case"rotate":r=P(r).split(_T),Mt(n,n,parseFloat(r[0]));break;case"skew":r=P(r).split(_T),console.warn("Skew transform is not supported yet");break;case"matrix":r=P(r).split(_T);n[0]=parseFloat(r[0]),n[1]=parseFloat(r[1]),n[2]=parseFloat(r[2]),n[3]=parseFloat(r[3]),n[4]=parseFloat(r[4]),n[5]=parseFloat(r[5])}}e.setLocalTransform(n)}}function os(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n={};TT.lastIndex=0;for(var o;null!=(o=TT.exec(e));)n[o[1]]=o[2];for(var a in ST)ST.hasOwnProperty(a)&&null!=n[a]&&(i[ST[a]]=n[a]);return i}function as(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);return{scale:[a,a],position:[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2]}}function rs(t,e){return(new $r).parse(t,e)}function ss(t){return function(e,i,n){e=e&&e.toLowerCase(),fw.prototype[t].call(this,e,i,n)}}function ls(){fw.call(this)}function us(t,e,n){function o(t,e){return t.__prio-e.__prio}n=n||{},"string"==typeof e&&(e=JT[e]),this.id,this.group,this._dom=t;var a=this._zr=Ii(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=Pr(m(a.flush,a),17),(e=i(e))&&BI(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new Fa;var r=this._api=As(this);_e($T,o),_e(YT,o),this._scheduler=new Er(this,r,YT,$T),fw.call(this,this._ecEventProcessor=new Ds),this._messageCenter=new ls,this._initEvents(),this.resize=m(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),vs(a,this),N(this)}function hs(t,e,i){var n,o=this._model,a=this._coordSysMgr.getCoordinateSystems();e=Vi(o,e);for(var r=0;r<a.length;r++){var s=a[r];if(s[t]&&null!=(n=s[t](o,e,i)))return n}}function cs(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ys(t,"component",e,i),ys(t,"chart",e,i),i.plan()}function ds(t,e,i,n,o){function a(n){n&&n.__alive&&n[e]&&n[e](n.__model,r,t._api,i)}var r=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};o&&(l.subType=o);var u=i.excludeSeriesId;null!=u&&(u=R(Di(u))),r&&r.eachComponent(l,function(e){u&&null!=u.get(e.id)||a(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else kT(t._componentsViews.concat(t._chartsViews),a)}function fs(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries(function(t){n.updateStreamModes(t,i[t.__viewId])})}function ps(t,e){var i=t.type,n=t.escapeConnect,o=XT[i],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop();l=null!=l[0]&&OT(l[0]),this[GT]=!0;var h=[t],c=!1;t.batch&&(c=!0,h=f(t.batch,function(e){return e=r(a({},e),t),e.batch=null,e}));var d,p=[],g="highlight"===i||"downplay"===i;kT(h,function(t){d=o.action(t,this._model,this._api),(d=d||a({},t)).type=s.event||d.type,p.push(d),g?ds(this,u,t,"series"):l&&ds(this,u,t,l.main,l.sub)},this),"none"===u||g||l||(this[FT]?(cs(this),ZT.update.call(this,t),this[FT]=!1):ZT[u].call(this,t)),d=c?{type:s.event||i,escapeConnect:n,batch:p}:p[0],this[GT]=!1,!e&&this._messageCenter.trigger(d.type,d)}function gs(t){for(var e=this._pendingActions;e.length;){var i=e.shift();ps.call(this,i,t)}}function ms(t){!t&&this.trigger("updated")}function vs(t,e){t.on("rendered",function(){e.trigger("rendered"),!t.animation.isFinished()||e[FT]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})}function ys(t,e,i,n){function o(t){var e="_ec_"+t.id+"_"+t.type,o=s[e];if(!o){var h=OT(t.type);(o=new(a?qI.getClass(h.main,h.sub):Ar.getClass(h.sub))).init(i,u),s[e]=o,r.push(o),l.add(o.group)}t.__viewId=o.__id=e,o.__alive=!0,o.__model=t,o.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!a&&n.prepareView(o,t,i,u)}for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,s=a?t._componentsMap:t._chartsMap,l=t._zr,u=t._api,h=0;h<r.length;h++)r[h].__alive=!1;a?i.eachComponent(function(t,e){"series"!==t&&o(e)}):i.eachSeries(o);for(h=0;h<r.length;){var c=r[h];c.__alive?h++:(!a&&c.renderTask.dispose(),l.remove(c.group),c.dispose(i,u),r.splice(h,1),delete s[c.__id],c.__id=c.group.__ecComponentInfo=null)}}function xs(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function _s(t,e,i,n){ws(t,e,i,n),kT(t._chartsViews,function(t){t.__alive=!1}),bs(t,e,i,n),kT(t._chartsViews,function(t){t.__alive||t.remove(e,i)})}function ws(t,e,i,n,o){kT(o||t._componentsViews,function(t){var o=t.__model;t.render(o,e,i,n),Ts(o,t)})}function bs(t,e,i,n,o){var a,r=t._scheduler;e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var s=i.renderTask;r.updatePayload(s,n),o&&o.get(e.uid)&&s.dirty(),a|=s.perform(r.getPerformArgs(s)),i.group.silent=!!e.get("silent"),Ts(e,i),Is(e,i)}),r.unfinished|=a,Ms(t._zr,e),sT(t._zr.dom,e)}function Ss(t,e){kT(KT,function(i){i(t,e)})}function Ms(t,e){var i=t.storage,n=0;i.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!U_.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function Is(t,e){var i=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",i)})})}function Ts(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}function As(t){var e=t._coordSysMgr;return a(new Ga(t),{getCoordinateSystems:m(e.getCoordinateSystems,e),getComponentByElement:function(e){for(;e;){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function Ds(){this.eventInfo}function Cs(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][i]=e}var i="__connectUpdateStatus";kT(jT,function(n,o){t._messageCenter.on(o,function(n){if(eA[t.group]&&0!==t[i]){if(n&&n.escapeConnect)return;var o=t.makeActionFromEvent(n),a=[];kT(tA,function(e){e!==t&&e.group===t.group&&a.push(e)}),e(a,0),kT(a,function(t){1!==t[i]&&t.dispatchAction(o)}),e(a,2)}})})}function Ls(t){eA[t]=!1}function ks(t){return tA[Wi(t,oA)]}function Ps(t,e){JT[t]=e}function Ns(t){qT.push(t)}function Os(t,e){Vs(YT,t,e,RT)}function Es(t,e,i){"function"==typeof e&&(i=e,e="");var n=NT(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,LT(WT.test(n)&&WT.test(e)),XT[n]||(XT[n]={action:i,actionInfo:t}),jT[e]=n}function Rs(t,e){Fa.register(t,e)}function zs(t,e){Vs($T,t,e,zT,"layout")}function Bs(t,e){Vs($T,t,e,BT,"visual")}function Vs(t,e,i,n,o){(PT(e)||NT(e))&&(i=e,e=n);var a=Er.wrapStageHandler(i,o);return a.__prio=e,a.__raw=i,t.push(a),a}function Gs(t,e){QT[t]=e}function Fs(t){return lI.extend(t)}function Ws(t){return qI.extend(t)}function Hs(t){return YI.extend(t)}function Zs(t){return Ar.extend(t)}function Us(t){return t}function Xs(t,e,i,n,o){this._old=t,this._new=e,this._oldKeyGetter=i||Us,this._newKeyGetter=n||Us,this.context=o}function js(t,e,i,n,o){for(var a=0;a<t.length;a++){var r="_ec_"+o[n](t[a],a),s=e[r];null==s?(i.push(r),e[r]=a):(s.length||(e[r]=s=[s]),s.push(a))}}function Ys(t){var e={},i=e.encode={},n=R(),o=[],a=[];d(t.dimensions,function(e){var r=t.getDimensionInfo(e),s=r.coordDim;if(s){var l=i[s];i.hasOwnProperty(s)||(l=i[s]=[]),l[r.coordDimIndex]=e,r.isExtraCoord||(n.set(s,1),Ks(r.type)&&(o[0]=e)),r.defaultTooltip&&a.push(e)}sA.each(function(t,e){var n=i[e];i.hasOwnProperty(e)||(n=i[e]=[]);var o=r.otherDims[e];null!=o&&!1!==o&&(n[o]=r.name)})});var r=[],s={};n.each(function(t,e){var n=i[e];s[e]=n[0],r=r.concat(n)}),e.dataDimsOnCoord=r,e.encodeFirstDimNotExtra=s;var l=i.label;l&&l.length&&(o=l.slice());var u=i.tooltip;return u&&u.length?a=u.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,e}function qs(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Ks(t){return!("ordinal"===t||"time"===t)}function $s(t){return t._rawCount>65535?dA:pA}function Js(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Qs(t,e){d(gA.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods,d(mA,function(n){t[n]=i(e[n])}),t._calculationInfo=a(e._calculationInfo)}function tl(t,e,i,n,o){var a=cA[e.type],r=n-1,s=e.name,l=t[s][r];if(l&&l.length<i){for(var u=new a(Math.min(o-r*i,i)),h=0;h<l.length;h++)u[h]=l[h];t[s][r]=u}for(var c=n*i;c<o;c+=i)t[s].push(new a(Math.min(o-c,i)))}function el(t){var e=t._invertedIndicesMap;d(e,function(i,n){var o=t._dimensionInfos[n].ordinalMeta;if(o){i=e[n]=new fA(o.categories.length);for(a=0;a<i.length;a++)i[a]=uA;for(var a=0;a<t._count;a++)i[t.get(n,a)]=a}})}function il(t,e,i){var n;if(null!=e){var o=t._chunkSize,a=Math.floor(i/o),r=i%o,s=t.dimensions[e],l=t._storage[s][a];if(l){n=l[r];var u=t._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(n=u.categories[n])}}return n}function nl(t){return t}function ol(t){return t<this._count&&t>=0?this._indices[t]:-1}function al(t,e){var i=t._idList[e];return null==i&&(i=il(t,t._idDimIdx,e)),null==i&&(i=hA+e),i}function rl(t){return y(t)||(t=[t]),t}function sl(t,e){var i=t.dimensions,n=new vA(f(i,t.getDimensionInfo,t),t.hostModel);Qs(n,t);for(var o=n._storage={},a=t._storage,r=0;r<i.length;r++){var s=i[r];a[s]&&(l(e,s)>=0?(o[s]=ll(a[s]),n._rawExtent[s]=ul(),n._extent[s]=null):o[s]=a[s])}return n}function ll(t){for(var e=new Array(t.length),i=0;i<t.length;i++)e[i]=Js(t[i]);return e}function ul(){return[1/0,-1/0]}function hl(t,e,n){function o(t,e,i){null!=sA.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,h.set(e,!0))}_a.isInstance(e)||(e=_a.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var s=(n.dimsDef||[]).slice(),l=R(n.encodeDef),u=R(),h=R(),c=[],f=cl(e,t,s,n.dimCount),p=0;p<f;p++){var g=s[p]=a({},w(s[p])?s[p]:{name:s[p]}),m=g.name,v=c[p]={otherDims:{}};null!=m&&null==u.get(m)&&(v.name=v.displayName=m,u.set(m,p)),null!=g.type&&(v.type=g.type),null!=g.displayName&&(v.displayName=g.displayName)}l.each(function(t,e){if(1===(t=Di(t).slice()).length&&t[0]<0)l.set(e,!1);else{var i=l.set(e,[]);d(t,function(t,n){_(t)&&(t=u.get(t)),null!=t&&t<f&&(i[n]=t,o(c[t],e,n))})}});var y=0;d(t,function(t,e){var n,t,a,s;if(_(t))n=t,t={};else{n=t.name;var u=t.ordinalMeta;t.ordinalMeta=null,(t=i(t)).ordinalMeta=u,a=t.dimsDef,s=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var h=l.get(n);if(!1!==h){if(!(h=Di(h)).length)for(var f=0;f<(a&&a.length||1);f++){for(;y<c.length&&null!=c[y].coordDim;)y++;y<c.length&&h.push(y++)}d(h,function(e,i){var l=c[e];if(o(r(l,t),n,i),null==l.name&&a){var u=a[i];!w(u)&&(u={name:u}),l.name=l.displayName=u.name,l.defaultTooltip=u.defaultTooltip}s&&r(l.otherDims,s)})}});var x=n.generateCoord,b=n.generateCoordCount,S=null!=b;b=x?b||1:0;for(var M=x||"value",I=0;I<f;I++)null==(v=c[I]=c[I]||{}).coordDim&&(v.coordDim=dl(M,h,S),v.coordDimIndex=0,(!x||b<=0)&&(v.isExtraCoord=!0),b--),null==v.name&&(v.name=dl(v.coordDim,u)),null==v.type&&ka(e,I,v.name)&&(v.type="ordinal");return c}function cl(t,e,i,n){var o=Math.max(t.dimensionsDetectCount||1,e.length,i.length,n||0);return d(e,function(t){var e=t.dimsDef;e&&(o=Math.max(o,e.length))}),o}function dl(t,e,i){if(i||null!=e.get(t)){for(var n=0;null!=e.get(t+n);)n++;t+=n}return e.set(t,!0),t}function fl(t,e,i){var n,o,a,r,s=(i=i||{}).byIndex,l=i.stackedCoordDimension,u=!(!t||!t.get("stack"));if(d(e,function(t,i){_(t)&&(e[i]=t={name:t}),u&&!t.isExtraCoord&&(s||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(o=t))}),!o||s||n||(s=!0),o){a="__\0ecstackresult",r="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var h=o.coordDim,c=o.type,f=0;d(e,function(t){t.coordDim===h&&f++}),e.push({name:a,coordDim:h,coordDimIndex:f,type:c,isExtraCoord:!0,isCalculationCoord:!0}),f++,e.push({name:r,coordDim:r,coordDimIndex:f,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:s,stackedOverDimension:r,stackResultDimension:a}}function pl(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function gl(t,e){return pl(t,e)?t.getCalculationInfo("stackResultDimension"):e}function ml(t,e,i){i=i||{},_a.isInstance(t)||(t=_a.seriesDataToSource(t));var n,o=e.get("coordinateSystem"),a=Fa.get(o),r=ya(e);r&&(n=f(r.coordSysDims,function(t){var e={name:t},i=r.axisMap.get(t);if(i){var n=i.get("type");e.type=qs(n)}return e})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]);var s,l,u=_A(t,{coordDimensions:n,generateCoord:i.generateCoord});r&&d(u,function(t,e){var i=t.coordDim,n=r.categoryAxisMap.get(i);n&&(null==s&&(s=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(l=!0)}),l||null==s||(u[s].otherDims.itemName=0);var h=fl(e,u),c=new vA(u,e);c.setCalculationInfo(h);var p=null!=s&&vl(t)?function(t,e,i,n){return n===s?i:this.defaultDimValueGetter(t,e,i,n)}:null;return c.hasItemOption=!1,c.initData(t,null,p),c}function vl(t){if(t.sourceFormat===pI){var e=yl(t.data||[]);return null!=e&&!y(Li(e))}}function yl(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}function xl(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}function _l(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}function wl(t){return t._map||(t._map=R(t.categories))}function bl(t){return w(t)&&null!=t.value?t.value:t+""}function Sl(t,e,i,n){var o={},a=t[1]-t[0],r=o.interval=$o(a/e,!0);null!=i&&r<i&&(r=o.interval=i),null!=n&&r>n&&(r=o.interval=n);var s=o.intervalPrecision=Ml(r);return Tl(o.niceTickExtent=[MA(Math.ceil(t[0]/r)*r,s),MA(Math.floor(t[1]/r)*r,s)],t),o}function Ml(t){return Ho(t)+2}function Il(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function Tl(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Il(t,0,e),Il(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function Al(t,e,i,n){var o=[];if(!t)return o;e[0]<i[0]&&o.push(e[0]);for(var a=i[0];a<=i[1]&&(o.push(a),(a=MA(a+t,n))!==o[o.length-1]);)if(o.length>1e4)return[];return e[1]>(o.length?o[o.length-1]:i[1])&&o.push(e[1]),o}function Dl(t){return t.get("stack")||AA+t.seriesIndex}function Cl(t){return t.dim+t.index}function Ll(t){var e=[],i=t.axis;if("category"===i.type){for(var n=i.getBandWidth(),o=0;o<t.count;o++)e.push(r({bandWidth:n,axisKey:"axis0",stackId:AA+o},t));for(var a=Nl(e),s=[],o=0;o<t.count;o++){var l=a.axis0[AA+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function kl(t,e){var i=[];return e.eachSeriesByType(t,function(t){Rl(t)&&!zl(t)&&i.push(t)}),i}function Pl(t){var e=[];return d(t,function(t){var i=t.getData(),n=t.coordinateSystem.getBaseAxis(),o=n.getExtent(),a="category"===n.type?n.getBandWidth():Math.abs(o[1]-o[0])/i.count(),r=Vo(t.get("barWidth"),a),s=Vo(t.get("barMaxWidth"),a),l=t.get("barGap"),u=t.get("barCategoryGap");e.push({bandWidth:a,barWidth:r,barMaxWidth:s,barGap:l,barCategoryGap:u,axisKey:Cl(n),stackId:Dl(t)})}),Nl(e)}function Nl(t){var e={};d(t,function(t,i){var n=t.axisKey,o=t.bandWidth,a=e[n]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},r=a.stacks;e[n]=a;var s=t.stackId;r[s]||a.autoWidthCount++,r[s]=r[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!r[s].width&&(r[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(r[s].maxWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var c=t.barCategoryGap;null!=c&&(a.categoryGap=c)});var i={};return d(e,function(t,e){i[e]={};var n=t.stacks,o=t.bandWidth,a=Vo(t.categoryGap,o),r=Vo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*r);u=Math.max(u,0),d(n,function(t,e){var i=t.maxWidth;i&&i<u&&(i=Math.min(i,s),t.width&&(i=Math.min(i,t.width)),s-=i,t.width=i,l--)}),u=(s-a)/(l+(l-1)*r),u=Math.max(u,0);var h,c=0;d(n,function(t,e){t.width||(t.width=u),h=t,c+=t.width*(1+r)}),h&&(c-=h.width*r);var f=-c/2;d(n,function(t,n){i[e][n]=i[e][n]||{offset:f,width:t.width},f+=t.width*(1+r)})}),i}function Ol(t,e,i){if(t&&e){var n=t[Cl(e)];return null!=n&&null!=i&&(n=n[Dl(i)]),n}}function El(t,e){var i=kl(t,e),n=Pl(i),o={};d(i,function(t){var e=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),r=Dl(t),s=n[Cl(a)][r],l=s.offset,u=s.width,h=i.getOtherAxis(a),c=t.get("barMinHeight")||0;o[r]=o[r]||[],e.setLayout({offset:l,size:u});for(var d=e.mapDimension(h.dim),f=e.mapDimension(a.dim),p=pl(e,d),g=h.isHorizontal(),m=Bl(a,h,p),v=0,y=e.count();v<y;v++){var x=e.get(d,v),_=e.get(f,v);if(!isNaN(x)){var w=x>=0?"p":"n",b=m;p&&(o[r][_]||(o[r][_]={p:m,n:m}),b=o[r][_][w]);var S,M,I,T;if(g)S=b,M=(A=i.dataToPoint([x,_]))[1]+l,I=A[0]-m,T=u,Math.abs(I)<c&&(I=(I<0?-1:1)*c),p&&(o[r][_][w]+=I);else{var A=i.dataToPoint([_,x]);S=A[0]+l,M=b,I=u,T=A[1]-m,Math.abs(T)<c&&(T=(T<=0?-1:1)*c),p&&(o[r][_][w]+=T)}e.setItemLayout(v,{x:S,y:M,width:I,height:T})}}},this)}function Rl(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function zl(t){return t.pipelineContext&&t.pipelineContext.large}function Bl(t,e,i){var n,o,a=e.getGlobalExtent();a[0]>a[1]?(n=a[1],o=a[0]):(n=a[0],o=a[1]);var r=e.toGlobalCoord(e.dataToCoord(0));return r<n&&(r=n),r>o&&(r=o),r}function Vl(t,e){return VA(t,BA(e))}function Gl(t,e){var i,n,o,a=t.type,r=e.getMin(),s=e.getMax(),l=null!=r,u=null!=s,h=t.getExtent();"ordinal"===a?i=e.getCategories().length:(y(n=e.get("boundaryGap"))||(n=[n||0,n||0]),"boolean"==typeof n[0]&&(n=[0,0]),n[0]=Vo(n[0],1),n[1]=Vo(n[1],1),o=h[1]-h[0]||Math.abs(h[0])),null==r&&(r="ordinal"===a?i?0:NaN:h[0]-n[0]*o),null==s&&(s="ordinal"===a?i?i-1:NaN:h[1]+n[1]*o),"dataMin"===r?r=h[0]:"function"==typeof r&&(r=r({min:h[0],max:h[1]})),"dataMax"===s?s=h[1]:"function"==typeof s&&(s=s({min:h[0],max:h[1]})),(null==r||!isFinite(r))&&(r=NaN),(null==s||!isFinite(s))&&(s=NaN),t.setBlank(I(r)||I(s)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(r>0&&s>0&&!l&&(r=0),r<0&&s<0&&!u&&(s=0));var c=e.ecModel;if(c&&"time"===a){var f,p=kl("bar",c);if(d(p,function(t){f|=t.getBaseAxis()===e.axis}),f){var g=Pl(p),m=Fl(r,s,e,g);r=m.min,s=m.max}}return[r,s]}function Fl(t,e,i,n){var o=i.axis.getExtent(),a=o[1]-o[0],r=Ol(n,i.axis);if(void 0===r)return{min:t,max:e};var s=1/0;d(r,function(t){s=Math.min(t.offset,s)});var l=-1/0;d(r,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)/a)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}function Wl(t,e){var i=Gl(t,e),n=null!=e.getMin(),o=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:o,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function Hl(t,e){if(e=e||t.get("type"))switch(e){case"category":return new SA(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new TA;default:return(xl.getClass(e)||TA).create(t)}}function Zl(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function Ul(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof e?e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e):"function"==typeof e?function(n,o){return null!=i&&(o=n-i),e(Xl(t,n),o)}:function(e){return t.scale.getLabel(e)}}function Xl(t,e){return"category"===t.type?t.scale.getLabel(e):e}function jl(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,o,a="category"===t.type,r=i.getExtent();o=a?i.count():(n=i.getTicks()).length;var s,l=t.getLabelModel(),u=Ul(t),h=1;o>40&&(h=Math.ceil(o/40));for(var c=0;c<o;c+=h){var d=u(n?n[c]:r[0]+c),f=Yl(l.getTextRect(d),l.get("rotate")||0);s?s.union(f):s=f}return s}}function Yl(t,e){var i=e*Math.PI/180,n=t.plain(),o=n.width,a=n.height,r=o*Math.cos(i)+a*Math.sin(i),s=o*Math.sin(i)+a*Math.cos(i);return new de(n.x,n.y,r,s)}function ql(t){var e=t.get("interval");return null==e?"auto":e}function Kl(t){return"category"===t.type&&0===ql(t.getLabelModel())}function $l(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function Jl(t,e,i,n,o,a,r){var s=0===t.indexOf("empty");s&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var l;return l=0===t.indexOf("image://")?jn(t.slice(8),new de(e,i,n,o),r?"center":"cover"):0===t.indexOf("path://")?Xn(t.slice(7),{},new de(e,i,n,o),r?"center":"cover"):new JA({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),l.__isEmptyBrush=s,l.setColor=$l,l.setColor(a),l}function Ql(t,e){return Math.abs(t-e)<eD}function tu(t,e,i){var n=0,o=t[0];if(!o)return!1;for(var a=1;a<t.length;a++){var r=t[a];n+=Sn(o[0],o[1],r[0],r[1],e,i),o=r}var s=t[0];return Ql(o[0],s[0])&&Ql(o[1],s[1])||(n+=Sn(o[0],o[1],s[0],s[1],e,i)),0!==n}function eu(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}function iu(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n<i.length;n++)for(var o=i[n].geometry,a=o.coordinates,r=o.encodeOffsets,s=0;s<a.length;s++){var l=a[s];if("Polygon"===o.type)a[s]=nu(l,r[s],e);else if("MultiPolygon"===o.type)for(var u=0;u<l.length;u++){var h=l[u];l[u]=nu(h,r[s][u],e)}}return t.UTF8Encoding=!1,t}function nu(t,e,i){for(var n=[],o=e[0],a=e[1],r=0;r<t.length;r+=2){var s=t.charCodeAt(r)-64,l=t.charCodeAt(r+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),o=s+=o,a=l+=a,n.push([s/i,l/i])}return n}function ou(t){return"category"===t.type?ru(t):uu(t)}function au(t,e){return"category"===t.type?lu(t,e):{ticks:t.scale.getTicks()}}function ru(t){var e=t.getLabelModel(),i=su(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function su(t,e){var i=hu(t,"labels"),n=ql(e),o=cu(i,n);if(o)return o;var a,r;return a=x(n)?vu(t,n):mu(t,r="auto"===n?fu(t):n),du(i,n,{labels:a,labelCategoryInterval:r})}function lu(t,e){var i=hu(t,"ticks"),n=ql(e),o=cu(i,n);if(o)return o;var a,r;if(e.get("show")&&!t.scale.isBlank()||(a=[]),x(n))a=vu(t,n,!0);else if("auto"===n){var s=su(t,t.getLabelModel());r=s.labelCategoryInterval,a=f(s.labels,function(t){return t.tickValue})}else a=mu(t,r=n,!0);return du(i,n,{ticks:a,tickCategoryInterval:r})}function uu(t){var e=t.scale.getTicks(),i=Ul(t);return{labels:f(e,function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}})}}function hu(t,e){return nD(t)[e]||(nD(t)[e]=[])}function cu(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function du(t,e,i){return t.push({key:e,value:i}),i}function fu(t){var e=nD(t).autoInterval;return null!=e?e:nD(t).autoInterval=t.calculateCategoryInterval()}function pu(t){var e=gu(t),i=Ul(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,o=t.scale,a=o.getExtent(),r=o.count();if(a[1]-a[0]<1)return 0;var s=1;r>40&&(s=Math.max(1,Math.floor(r/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(n)),c=Math.abs(u*Math.sin(n)),d=0,f=0;l<=a[1];l+=s){var p=0,g=0,m=ke(i(l),e.font,"center","top");p=1.3*m.width,g=1.3*m.height,d=Math.max(d,p,7),f=Math.max(f,g,7)}var v=d/h,y=f/c;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var x=Math.max(0,Math.floor(Math.min(v,y))),_=nD(t.model),w=_.lastAutoInterval,b=_.lastTickCount;return null!=w&&null!=b&&Math.abs(w-x)<=1&&Math.abs(b-r)<=1&&w>x?x=w:(_.lastTickCount=r,_.lastAutoInterval=x),x}function gu(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()}}function mu(t,e,i){function n(t){l.push(i?t:{formattedLabel:o(t),rawLabel:a.getLabel(t),tickValue:t})}var o=Ul(t),a=t.scale,r=a.getExtent(),s=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),h=r[0],c=a.count();0!==h&&u>1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var d=Kl(t),f=s.get("showMinLabel")||d,p=s.get("showMaxLabel")||d;f&&h!==r[0]&&n(r[0]);for(var g=h;g<=r[1];g+=u)n(g);return p&&g!==r[1]&&n(r[1]),l}function vu(t,e,i){var n=t.scale,o=Ul(t),a=[];return d(n.getTicks(),function(t){var r=n.getLabel(t);e(t,r)&&a.push(i?t:{formattedLabel:o(t),rawLabel:r,tickValue:t})}),a}function yu(t,e){var i=(t[1]-t[0])/e/2;t[0]+=i,t[1]-=i}function xu(t,e,i,n,o){function a(t,e){return h?t>e:t<e}var r=e.length;if(t.onBand&&!n&&r){var s,l=t.getExtent();if(1===r)e[0].coord=l[0],s=e[1]={coord:l[0]};else{var u=e[1].coord-e[0].coord;d(e,function(t){t.coord-=u/2;var e=e||0;e%2>0&&(t.coord-=u/(2*(e+1)))}),s={coord:e[r-1].coord+u},e.push(s)}var h=l[0]>l[1];a(e[0].coord,l[0])&&(o?e[0].coord=l[0]:e.shift()),o&&a(l[0],e[0].coord)&&e.unshift({coord:l[0]}),a(l[1],s.coord)&&(o?s.coord=l[1]:e.pop()),o&&a(s.coord,l[1])&&e.push({coord:l[1]})}}function _u(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return fr(t,e,i[0]);if(n){for(var o=[],a=0;a<i.length;a++){var r=fr(t,e,i[a]);o.push(r)}return o.join(" ")}}function wu(t,e,i){tb.call(this),this.updateData(t,e,i)}function bu(t){return[t[0]/2,t[1]/2]}function Su(t,e){this.parent.drift(t,e)}function Mu(){!so(this)&&Tu.call(this)}function Iu(){!so(this)&&Au.call(this)}function Tu(){if(!this.incremental&&!this.useHoverLayer){var t=this.__symbolOriginalScale,e=t[1]/t[0];this.animateTo({scale:[Math.max(1.1*t[0],t[0]+3),Math.max(1.1*t[1],t[1]+3*e)]},400,"elasticOut")}}function Au(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}function Du(t){this.group=new tb,this._symbolCtor=t||wu}function Cu(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function Lu(t){return null==t||w(t)||(t={isIgnore:t}),t||{}}function ku(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}function Pu(t,e,i){var n,o=t.getBaseAxis(),a=t.getOtherAxis(o),r=Nu(a,i),s=o.dim,l=a.dim,u=e.mapDimension(l),h=e.mapDimension(s),c="x"===l||"radius"===l?1:0,d=f(t.dimensions,function(t){return e.mapDimension(t)}),p=e.getCalculationInfo("stackResultDimension");return(n|=pl(e,d[0]))&&(d[0]=p),(n|=pl(e,d[1]))&&(d[1]=p),{dataDimsForPoint:d,valueStart:r,valueAxisDim:l,baseAxisDim:s,stacked:!!n,valueDim:u,baseDim:h,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Nu(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function Ou(t,e,i,n){var o=NaN;t.stacked&&(o=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(o)&&(o=t.valueStart);var a=t.baseDataOffset,r=[];return r[a]=i.get(t.baseDim,n),r[1-a]=o,e.dataToPoint(r)}function Eu(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}function Ru(t){return isNaN(t[0])||isNaN(t[1])}function zu(t,e,i,n,o,a,r,s,l,u,h){return"none"!==u&&u?Bu.apply(this,arguments):Vu.apply(this,arguments)}function Bu(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[d];if(d>=o||d<0)break;if(Ru(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]);else if(l>0){var g=e[c],m="y"===u?1:0,v=(p[m]-g[m])*l;_D(bD,g),bD[m]=g[m]+v,_D(SD,p),SD[m]=p[m]-v,t.bezierCurveTo(bD[0],bD[1],SD[0],SD[1],p[0],p[1])}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Vu(t,e,i,n,o,a,r,s,l,u,h){for(var c=0,d=i,f=0;f<n;f++){var p=e[d];if(d>=o||d<0)break;if(Ru(p)){if(h){d+=a;continue}break}if(d===i)t[a>0?"moveTo":"lineTo"](p[0],p[1]),_D(bD,p);else if(l>0){var g=d+a,m=e[g];if(h)for(;m&&Ru(e[g]);)m=e[g+=a];var v=.5,y=e[c];if(!(m=e[g])||Ru(m))_D(SD,p);else{Ru(m)&&!h&&(m=p),U(wD,m,y);var x,_;if("x"===u||"y"===u){var w="x"===u?0:1;x=Math.abs(p[w]-y[w]),_=Math.abs(p[w]-m[w])}else x=uw(p,y),_=uw(p,m);xD(SD,p,wD,-l*(1-(v=_/(_+x))))}vD(bD,bD,s),yD(bD,bD,r),vD(SD,SD,s),yD(SD,SD,r),t.bezierCurveTo(bD[0],bD[1],SD[0],SD[1],p[0],p[1]),xD(bD,p,wD,l*v)}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Gu(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var o=0;o<t.length;o++){var a=t[o];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[0]>n[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}function Fu(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++){var n=t[i],o=e[i];if(n[0]!==o[0]||n[1]!==o[1])return}return!0}}function Wu(t){return"number"==typeof t?t:t?.5:0}function Hu(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function Zu(t,e,i){if(!i.valueDim)return[];for(var n=[],o=0,a=e.count();o<a;o++)n.push(Ou(i,t,e,o));return n}function Uu(t,e,i,n){var o=Hu(t.getAxis("x")),a=Hu(t.getAxis("y")),r=t.getBaseAxis().isHorizontal(),s=Math.min(o[0],o[1]),l=Math.min(a[0],a[1]),u=Math.max(o[0],o[1])-s,h=Math.max(a[0],a[1])-l;if(i)s-=.5,u+=.5,l-=.5,h+=.5;else{var c=n.get("lineStyle.width")||2,d=n.get("clipOverflow")?c/2:Math.max(u,h);r?(l-=d,h+=2*d):(s-=d,u+=2*d)}var f=new yM({shape:{x:s,y:l,width:u,height:h}});return e&&(f.shape[r?"width":"height"]=0,To(f,{shape:{width:u,height:h}},n)),f}function Xu(t,e,i,n){var o=t.getAngleAxis(),a=t.getRadiusAxis().getExtent().slice();a[0]>a[1]&&a.reverse();var r=o.getExtent(),s=Math.PI/180;i&&(a[0]-=.5,a[1]+=.5);var l=new hM({shape:{cx:Go(t.cx,1),cy:Go(t.cy,1),r0:Go(a[0],1),r:Go(a[1],1),startAngle:-r[0]*s,endAngle:-r[1]*s,clockwise:o.inverse}});return e&&(l.shape.endAngle=-r[0]*s,To(l,{shape:{endAngle:-r[1]*s}},n)),l}function ju(t,e,i,n){return"polar"===t.type?Xu(t,e,i,n):Uu(t,e,i,n)}function Yu(t,e,i){for(var n=e.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,a=[],r=0;r<t.length-1;r++){var s=t[r+1],l=t[r];a.push(l);var u=[];switch(i){case"end":u[o]=s[o],u[1-o]=l[1-o],a.push(u);break;case"middle":var h=(l[o]+s[o])/2,c=[];u[o]=c[o]=h,u[1-o]=l[1-o],c[1-o]=s[1-o],a.push(u),a.push(c);break;default:u[o]=l[o],u[1-o]=s[1-o],a.push(u)}}return t[r]&&a.push(t[r]),a}function qu(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var n,o,a=i.length-1;a>=0;a--){var r=i[a].dimension,s=t.dimensions[r],l=t.getDimensionInfo(s);if("x"===(n=l&&l.coordDim)||"y"===n){o=i[a];break}}if(o){var u=e.getAxis(n),h=f(o.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,p=o.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),p.reverse());var g=h[0].coord-10,m=h[c-1].coord+10,v=m-g;if(v<.001)return"transparent";d(h,function(t){t.offset=(t.coord-g)/v}),h.push({offset:c?h[c-1].offset:.5,color:p[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:p[0]||"transparent"});var y=new TM(0,0,0,0,h,!0);return y[n]=g,y[n+"2"]=m,y}}}function Ku(t,e,i){var n=t.get("showAllSymbol"),o="auto"===n;if(!n||o){var a=i.getAxesByScale("ordinal")[0];if(a&&(!o||!$u(a,e))){var r=e.mapDimension(a.dim),s={};return d(a.getViewLabels(),function(t){s[t.tickValue]=1}),function(t){return!s.hasOwnProperty(e.get(r,t))}}}}function $u(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var o=e.count(),a=Math.max(1,Math.round(o/5)),r=0;r<o;r+=a)if(1.5*wu.getSymbolSize(e,r)[t.isHorizontal()?1:0]>n)return!1;return!0}function Ju(t){return this._axes[t]}function Qu(t){LD.call(this,t)}function th(t,e){return e.type||(e.data?"category":"value")}function eh(t,e,i){return t.getCoordSysModel()===e}function ih(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}function nh(t,e,i,n){function o(t){return t.dim+"_"+t.index}i.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],s=i.model,l=s.get("axisLine.onZero"),u=s.get("axisLine.onZeroAxisIndex");if(l){if(null!=u)oh(r[u])&&(a=r[u]);else for(var h in r)if(r.hasOwnProperty(h)&&oh(r[h])&&!n[o(r[h])]){a=r[h];break}a&&(n[o(a)]=!0)}}function oh(t){return t&&"category"!==t.type&&"time"!==t.type&&Zl(t)}function ah(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}function rh(t,e){return f(VD,function(e){return t.getReferringComponents(e)[0]})}function sh(t){return"cartesian2d"===t.get("coordinateSystem")}function lh(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e}function uh(t,e,i,n){var o,a,r=Xo(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return jo(r-GD/2)?(a=l?"bottom":"top",o="center"):jo(r-1.5*GD)?(a=l?"top":"bottom",o="center"):(a="middle",o=r<1.5*GD&&r>GD/2?l?"left":"right":l?"right":"left"),{rotation:r,textAlign:o,textVerticalAlign:a}}function hh(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function ch(t,e,i){if(!Kl(t.axis)){var n=t.get("axisLabel.showMinLabel"),o=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var a=e[0],r=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],h=i[1],c=i[i.length-1],d=i[i.length-2];!1===n?(dh(a),dh(u)):fh(a,r)&&(n?(dh(r),dh(h)):(dh(a),dh(u))),!1===o?(dh(s),dh(c)):fh(l,s)&&(o?(dh(l),dh(d)):(dh(s),dh(c)))}}function dh(t){t&&(t.ignore=!0)}function fh(t,e,i){var n=t&&t.getBoundingRect().clone(),o=e&&e.getBoundingRect().clone();if(n&&o){var a=_t([]);return Mt(a,a,-t.rotation),n.applyTransform(bt([],a,t.getLocalTransform())),o.applyTransform(bt([],a,e.getLocalTransform())),n.intersect(o)}}function ph(t){return"middle"===t||"center"===t}function gh(t,e,i){var n=e.axis;if(e.get("axisTick.show")&&!n.scale.isBlank()){for(var o=e.getModel("axisTick"),a=o.getModel("lineStyle"),s=o.get("length"),l=n.getTicksCoords(),u=[],h=[],c=t._transform,d=[],f=0;f<l.length;f++){var p=l[f].coord;u[0]=p,u[1]=0,h[0]=p,h[1]=i.tickDirection*s,c&&(Q(u,u,c),Q(h,h,c));var g=new _M(Kn({anid:"tick_"+l[f].tickValue,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:r(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0}));t.group.add(g),d.push(g)}return d}}function mh(t,e,i){var n=e.axis;if(T(i.axisLabelShow,e.get("axisLabel.show"))&&!n.scale.isBlank()){var o=e.getModel("axisLabel"),a=o.get("margin"),r=n.getViewLabels(),s=(T(i.labelRotate,o.get("rotate"))||0)*GD/180,l=HD(i.rotation,s,i.labelDirection),u=e.getCategories(!0),h=[],c=hh(e),f=e.get("triggerEvent");return d(r,function(r,s){var d=r.tickValue,p=r.formattedLabel,g=r.rawLabel,m=o;u&&u[d]&&u[d].textStyle&&(m=new No(u[d].textStyle,o,e.ecModel));var v=m.getTextColor()||e.get("axisLine.lineStyle.color"),y=[n.dataToCoord(d),i.labelOffset+i.labelDirection*a],x=new rM({anid:"label_"+d,position:y,rotation:l.rotation,silent:c,z2:10});mo(x.style,m,{text:p,textAlign:m.getShallow("align",!0)||l.textAlign,textVerticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||l.textVerticalAlign,textFill:"function"==typeof v?v("category"===n.type?g:"value"===n.type?d+"":d,s):v}),f&&(x.eventData=lh(e),x.eventData.targetType="axisLabel",x.eventData.value=g),t._dumbGroup.add(x),x.updateTransform(),h.push(x),t.group.add(x),x.decomposeTransform()}),h}}function vh(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return yh(i,t,e),i.seriesInvolved&&_h(i,t),i}function yh(t,e,i){var n=e.getComponent("tooltip"),o=e.getComponent("axisPointer"),a=o.get("link",!0)||[],r=[];ZD(i.getCoordinateSystems(),function(i){function s(n,s,l){var c=l.model.getModel("axisPointer",o),d=c.get("show");if(d&&("auto"!==d||n||Th(c))){null==s&&(s=c.get("triggerTooltip"));var f=(c=n?xh(l,h,o,e,n,s):c).get("snap"),p=Ah(l.model),g=s||f||"category"===l.type,m=t.axesInfo[p]={key:p,axis:l,coordSys:i,axisPointerModel:c,triggerTooltip:s,involveSeries:g,snap:f,useHandle:Th(c),seriesModels:[]};u[p]=m,t.seriesInvolved|=g;var v=wh(a,l);if(null!=v){var y=r[v]||(r[v]={axesInfo:{}});y.axesInfo[p]=m,y.mapper=a[v].mapper,m.linkGroup=y}}}if(i.axisPointerEnabled){var l=Ah(i.model),u=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=i;var h=i.model.getModel("tooltip",n);if(ZD(i.getAxes(),UD(s,!1,null)),i.getTooltipAxes&&n&&h.get("show")){var c="axis"===h.get("trigger"),d="cross"===h.get("axisPointer.type"),f=i.getTooltipAxes(h.get("axisPointer.axis"));(c||d)&&ZD(f.baseAxes,UD(s,!d||"cross",c)),d&&ZD(f.otherAxes,UD(s,"cross",!1))}}})}function xh(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};ZD(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=i(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get("label.show");if(h.show=null==c||c,!s){var d=u.lineStyle=l.get("crossStyle");d&&r(h,d.textStyle)}}return t.model.getModel("axisPointer",new No(u,n,o))}function _h(t,e){e.eachSeries(function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),o=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==o&&!1!==e.get("axisPointer.show",!0)&&ZD(t.coordSysAxesInfo[Ah(i.model)],function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})},this)}function wh(t,e){for(var i=e.model,n=e.dim,o=0;o<t.length;o++){var a=t[o]||{};if(bh(a[n+"AxisId"],i.id)||bh(a[n+"AxisIndex"],i.componentIndex)||bh(a[n+"AxisName"],i.name))return o}}function bh(t,e){return"all"===t||y(t)&&l(t,e)>=0||t===e}function Sh(t){var e=Mh(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,o=i.option,a=i.get("status"),r=i.get("value");null!=r&&(r=n.parse(r));var s=Th(i);null==a&&(o.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==r||r>l[1])&&(r=l[1]),r<l[0]&&(r=l[0]),o.value=r,s&&(o.status=e.axis.scale.isBlank()?"hide":"show")}}function Mh(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Ah(t)]}function Ih(t){var e=Mh(t);return e&&e.axisPointerModel}function Th(t){return!!t.get("handle.show")}function Ah(t){return t.type+"||"+t.id}function Dh(t,e,i,n,o,a){var r=XD.getAxisPointerClass(t.axisPointerClass);if(r){var s=Ih(e);s?(t._axisPointer||(t._axisPointer=new r)).render(e,s,n,a):Ch(t,n)}}function Ch(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}function Lh(t,e,i){i=i||{};var n=t.coordinateSystem,o=e.axis,a={},r=o.getAxesOnZeroOf()[0],s=o.position,l=r?"onZero":s,u=o.dim,h=n.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},f=e.get("offset")||0,p="x"===u?[c[2]-f,c[3]+f]:[c[0]-f,c[1]+f];if(r){var g=r.toGlobalCoord(r.dataToCoord(0));p[d.onZero]=Math.max(Math.min(g,p[1]),p[0])}a.position=["y"===u?p[d[l]]:c[0],"x"===u?p[d[l]]:c[3]],a.rotation=Math.PI/2*("x"===u?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[s],a.labelOffset=r?p[d[s]]-p[d.onZero]:0,e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),T(i.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var v=e.get("axisLabel.rotate");return a.labelRotate="top"===l?-v:v,a.z2=1,a}function kh(t,e,i,n,o,a,r){go(t,e,i.getModel("label"),i.getModel("emphasis.label"),{labelFetcher:o,labelDataIndex:a,defaultText:_u(o.getData(),a),isRectText:!0,autoColor:n}),Ph(t),Ph(e)}function Ph(t,e){"outside"===t.textPosition&&(t.textPosition=e)}function Nh(t,e,i){i.style.text=null,Io(i,{shape:{width:0}},e,t,function(){i.parent&&i.parent.remove(i)})}function Oh(t,e,i){i.style.text=null,Io(i,{shape:{r:i.shape.r0}},e,t,function(){i.parent&&i.parent.remove(i)})}function Eh(t,e,i,n,o,a,s,l){var u=e.getItemVisual(i,"color"),h=e.getItemVisual(i,"opacity"),c=n.getModel("itemStyle"),d=n.getModel("emphasis.itemStyle").getBarItemStyle();l||t.setShape("r",c.get("barBorderRadius")||0),t.useStyle(r({fill:u,opacity:h},c.getBarItemStyle()));var f=n.getShallow("cursor");f&&t.attr("cursor",f);var p=s?o.height>0?"bottom":"top":o.width>0?"left":"right";l||kh(t.style,d,n,u,a,i,p),fo(t,d)}function Rh(t,e){var i=t.get(tC)||0;return Math.min(i,Math.abs(e.width),Math.abs(e.height))}function zh(t,e,i){var n=t.getData(),o=[],a=n.getLayout("valueAxisHorizontal")?1:0;o[1-a]=n.getLayout("valueAxisStart");var r=new nC({shape:{points:n.getLayout("largePoints")},incremental:!!i,__startPoint:o,__valueIdx:a});e.add(r),Bh(r,t,n)}function Bh(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),o=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(o),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function Vh(t,e,i,n){var o=e.getData(),a=this.dataIndex,r=o.getName(a),s=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:r,seriesId:e.id}),o.each(function(t){Gh(o.getItemGraphicEl(t),o.getItemLayout(t),e.isSelected(o.getName(t)),s,i)})}function Gh(t,e,i,n,o){var a=(e.startAngle+e.endAngle)/2,r=Math.cos(a),s=Math.sin(a),l=i?n:0,u=[r*l,s*l];o?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function Fh(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function n(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}tb.call(this);var o=new hM({z2:2}),a=new gM,r=new rM;this.add(o),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function Wh(t,e,i,n,o,a,r){function s(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function l(t,e,i,n,o,a){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++){var u=Math.abs(t[s].y-n),h=t[s].len,c=t[s].len2,d=u<o+h?Math.sqrt((o+h+c)*(o+h+c)-u*u):Math.abs(t[s].x-i);e&&d>=r&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=i+d*a,r=d}}t.sort(function(t,e){return t.y-e.y});for(var u,h=0,c=t.length,d=[],f=[],p=0;p<c;p++)(u=t[p].y-h)<0&&function(e,i,n,o){for(var a=e;a<i;a++)if(t[a].y+=n,a>e&&a+1<i&&t[a+1].y>t[a].y+t[a].height)return void s(a,n/2);s(i-1,n/2)}(p,c,-u),h=t[p].y+t[p].height;r-h<0&&s(c-1,h-r);for(p=0;p<c;p++)t[p].y>=i?f.push(t[p]):d.push(t[p]);l(d,!1,e,i,n,o),l(f,!0,e,i,n,o)}function Hh(t,e,i,n,o,a){for(var r=[],s=[],l=0;l<t.length;l++)Zh(t[l])||(t[l].x<e?r.push(t[l]):s.push(t[l]));Wh(s,e,i,n,1,o,a),Wh(r,e,i,n,-1,o,a);for(l=0;l<t.length;l++)if(!Zh(t[l])){var u=t[l].linePoints;if(u){var h=u[1][0]-u[2][0];t[l].x<e?u[2][0]=t[l].x+3:u[2][0]=t[l].x-3,u[1][1]=u[2][1]=t[l].y,u[1][0]=u[2][0]+h}}}function Zh(t){return"center"===t.position}function Uh(){this.group=new tb}function Xh(t,e,i){aD.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}function jh(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=f(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new Xh(i,new TA);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}function Yh(t,e){return r({show:e},t)}function qh(t){return y(t)||(t=[+t,+t]),t}function Kh(t){for(var e,i=0;i<t.length;i++){var n=t[i].getBoundingRect();(e=e||n.clone()).union(n)}return e}function $h(t,e){var i,n,o=t.svgXML;try{k(null!=(n=(i=o&&rs(o,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var a=i.width,r=i.height,s=i.viewBoxRect;if(e||(e=null==a||null==r?n.getBoundingRect():new de(0,0,0,0),null!=a&&(e.width=a),null!=r&&(e.height=r)),s){var l=as(s,e.width,e.height),u=n;(n=new tb).add(u),u.scale=l.scale,u.position=l.position}return n.setClipPath(new yM({shape:e.plain()})),{root:n,boundingRect:e}}function Jh(t){return function(e,i){var n=[];return d(Qh(e),function(o){var a=NC[o.type][t];a&&n.push(a(e,o,i))}),n}}function Qh(t){return DT.retrieveMap(t)||[]}function tc(t,e,i){nc(t)[e]=i}function ec(t,e,i){var n=nc(t);n[e]===i&&(n[e]=null)}function ic(t,e){return!!nc(t)[e]}function nc(t){return t[EC]||(t[EC]={})}function oc(t){this.pointerChecker,this._zr=t,this._opt={};var e=m,n=e(ac,this),o=e(rc,this),a=e(sc,this),s=e(lc,this),l=e(uc,this);fw.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,u){this.disable(),this._opt=r(i(u)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",l))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",a),t.off("mousewheel",s),t.off("pinch",l)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function ac(t){if(!(dt(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function rc(t){if(this._dragging&&dc("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!ic(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,o=this._y,a=e-n,r=i-o;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&mw(t.event),cc(this,"pan","moveOnMouseMove",t,{dx:a,dy:r,oldX:n,oldY:o,newX:e,newY:i})}}function sc(t){dt(t)||(this._dragging=!1)}function lc(t){var e=dc("zoomOnMouseWheel",t,this._opt),i=dc("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,o=Math.abs(n),a=t.offsetX,r=t.offsetY;if(0!==n&&(e||i)){if(e){var s=o>3?1.4:o>1?1.2:1.1;hc(this,"zoom","zoomOnMouseWheel",t,{scale:n>0?s:1/s,originX:a,originY:r})}if(i){var l=Math.abs(n);hc(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(n>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:r})}}}function uc(t){ic(this._zr,"globalPan")||hc(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function hc(t,e,i,n,o){t.pointerChecker&&t.pointerChecker(n,o.originX,o.originY)&&(mw(n.event),cc(t,e,i,n,o))}function cc(t,e,i,n,o){o.isAvailableBehavior=m(dc,null,i,n),t.trigger(e,o)}function dc(t,e,i){var n=i[t];return!t||n&&(!_(n)||e.event[n+"Key"])}function fc(t,e,i){var n=t.target,o=n.position;o[0]+=e,o[1]+=i,n.dirty()}function pc(t,e,i,n){var o=t.target,a=t.zoomLimit,r=o.position,s=o.scale,l=t.zoom=t.zoom||1;if(l*=e,a){var u=a.min||0,h=a.max||1/0;l=Math.max(Math.min(h,l),u)}var c=l/t.zoom;t.zoom=l,r[0]-=(i-r[0])*(c-1),r[1]-=(n-r[1])*(c-1),s[0]*=c,s[1]*=c,o.dirty()}function gc(t,e,i){var n=e.getComponentByElement(t.topTarget),o=n&&n.coordinateSystem;return n&&n!==i&&!RC[n.mainType]&&o&&o.model!==i}function mc(t,e){var i=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(i.fill=n),i}function vc(t,e,i,n,o){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var r=a.target;!r.__regions;)r=r.parent;if(r){var s={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:f(r.__regions,function(t){return{name:t.name,from:o.uid}})};s[e.mainType+"Id"]=e.id,n.dispatchAction(s),yc(e,i)}}}))}function yc(t,e){e.eachChild(function(e){d(e.__regions,function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")})})}function xc(t,e){var i=new tb;this.uid=Ro("ec_map_draw"),this._controller=new oc(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new tb),i.add(this._backgroundGroup=new tb)}function _c(t){var e=this[zC];e&&e.recordVersion===this[BC]&&wc(e,t)}function wc(t,e){var i=t.circle,n=t.labelModel,o=t.hoverLabelModel,a=t.emphasisText,r=t.normalText;e?(i.style.extendFrom(mo({},o,{text:o.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=NM):(mo(i.style,n,{text:n.get("show")?r:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}function bc(t,e,i){var n=t.getZoom(),o=t.getCenter(),a=e.zoom,r=t.dataToPoint(o);if(null!=e.dx&&null!=e.dy){r[0]-=e.dx,r[1]-=e.dy;o=t.pointToData(r);t.setCenter(o)}if(null!=a){if(i){var s=i.min||0,l=i.max||1/0;a=Math.max(Math.min(n*a,l),s)/n}t.scale[0]*=a,t.scale[1]*=a;var u=t.position,h=(e.originX-u[0])*(a-1),c=(e.originY-u[1])*(a-1);u[0]-=h,u[1]-=c,t.updateTransform();o=t.pointToData(r);t.setCenter(o),t.setZoom(a*n)}return{center:t.getCenter(),zoom:t.getZoom()}}function Sc(){Tw.call(this)}function Mc(t){this.name=t,this.zoomLimit,Tw.call(this),this._roamTransformable=new Sc,this._rawTransformable=new Sc,this._center,this._zoom}function Ic(t,e,i,n){var o=i.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[t](n):null}function Tc(t,e,i,n){Mc.call(this,t),this.map=e;var o=OC.load(e,i);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.regionsMap,this._invertLongitute=null==n||n,this.regions=o.regions,this._rect=o.boundingRect}function Ac(t,e,i,n){var o=i.geoModel,a=i.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem||(a.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[t](n):null}function Dc(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],o=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(o[0])||isNaN(o[1])||this.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1])}var a,r=this.getBoundingRect(),s=t.get("layoutCenter"),l=t.get("layoutSize"),u=e.getWidth(),h=e.getHeight(),c=r.width/r.height*this.aspectScale,d=!1;s&&l&&(s=[Vo(s[0],u),Vo(s[1],h)],l=Vo(l,Math.min(u,h)),isNaN(s[0])||isNaN(s[1])||isNaN(l)||(d=!0));if(d){var f={};c>1?(f.width=l,f.height=l/c):(f.height=l,f.width=l*c),f.y=s[1]-f.height/2,f.x=s[0]-f.width/2}else(a=t.getBoxLayoutParams()).aspect=c,f=ca(a,{width:u,height:h});this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function Cc(t,e){d(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}function Lc(t,e){var i={};return d(t,function(t){t.each(t.mapDimension("value"),function(e,n){var o="ec-"+t.getName(n);i[o]=i[o]||[],isNaN(e)||i[o].push(e)})}),t[0].map(t[0].mapDimension("value"),function(n,o){for(var a="ec-"+t[0].getName(o),r=0,s=1/0,l=-1/0,u=i[a].length,h=0;h<u;h++)s=Math.min(s,i[a][h]),l=Math.max(l,i[a][h]),r+=i[a][h];var c;return c="min"===e?s:"max"===e?l:"average"===e?r/u:r,0===u?NaN:c})}function kc(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,zc(e,i,t),FC(i,function(i){FC(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,v(Pc,t))})}),e.wrapMethod("cloneShallow",v(Oc,t)),FC(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,v(Nc,t))}),k(i[e.dataType]===e)}function Pc(t,e){if(Rc(this)){var i=a({},this[WC]);i[this.dataType]=e,zc(e,i,t)}else Bc(e,this.dataType,this[HC],t);return e}function Nc(t,e){return t.struct&&t.struct.update(this),e}function Oc(t,e){return FC(e[WC],function(i,n){i!==e&&Bc(i.cloneShallow(),n,e,t)}),e}function Ec(t){var e=this[HC];return null==t||null==e?e:e[WC][t]}function Rc(t){return t[HC]===t}function zc(t,e,i){t[WC]={},FC(e,function(e,n){Bc(e,n,t,i)})}function Bc(t,e,i,n){i[WC][e]=t,t[HC]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=Ec}function Vc(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=f(e||[],function(e){return new No(e,t,t.ecModel)}),this.leavesModel=new No(i||{},t,t.ecModel)}function Gc(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}function Fc(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,i,n=[t];e=n.pop();)if(i=e.children,e.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},n.push(a)}}function Wc(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,o=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){jc(t);var a=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;o?(t.hierNode.prelim=o.hierNode.prelim+e(t,o),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else o&&(t.hierNode.prelim=o.hierNode.prelim+e(t,o));t.parentNode.hierNode.defaultAncestor=Yc(t,o,t.parentNode.hierNode.defaultAncestor||n[0],e)}function Hc(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function Zc(t){return arguments.length?t:Qc}function Uc(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function Xc(t,e){return ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function jc(t){for(var e=t.children,i=e.length,n=0,o=0;--i>=0;){var a=e[i];a.hierNode.prelim+=n,a.hierNode.modifier+=n,o+=a.hierNode.change,n+=a.hierNode.shift+o}}function Yc(t,e,i,n){if(e){for(var o=t,a=t,r=a.parentNode.children[0],s=e,l=o.hierNode.modifier,u=a.hierNode.modifier,h=r.hierNode.modifier,c=s.hierNode.modifier;s=qc(s),a=Kc(a),s&&a;){o=qc(o),r=Kc(r),o.hierNode.ancestor=t;var d=s.hierNode.prelim+c-a.hierNode.prelim-u+n(s,a);d>0&&(Jc($c(s,t,i),t,d),u+=d,l+=d),c+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=o.hierNode.modifier,h+=r.hierNode.modifier}s&&!qc(o)&&(o.hierNode.thread=s,o.hierNode.modifier+=c-l),a&&!Kc(r)&&(r.hierNode.thread=a,r.hierNode.modifier+=u-h,i=t)}return i}function qc(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function Kc(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function $c(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function Jc(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function Qc(t,e){return t.parentNode===e.parentNode?1:2}function td(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)&&"none"!==t.getItemVisual(e,"symbol")}function ed(t,e,i){return i.itemModel=e,i.itemStyle=e.getModel("itemStyle").getItemStyle(),i.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),i.lineStyle=e.getModel("lineStyle").getLineStyle(),i.labelModel=e.getModel("label"),i.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?i.symbolInnerColor=i.itemStyle.fill:i.symbolInnerColor="#fff",i}function id(t,e,i,n,o,a){var s=!i,l=t.tree.getNodeByDataIndex(e),a=ed(l,l.getModel(),a),u=t.tree.root,h=l.parentNode===u?l:l.parentNode||l,c=t.getItemGraphicEl(h.dataIndex),d=h.getLayout(),f=c?{x:c.position[0],y:c.position[1],rawX:c.__radialOldRawX,rawY:c.__radialOldRawY}:d,p=l.getLayout();s?(i=new wu(t,e,a)).attr("position",[f.x,f.y]):i.updateData(t,e,a),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=p.rawX,i.__radialRawY=p.rawY,n.add(i),t.setItemGraphicEl(e,i),Io(i,{position:[p.x,p.y]},o);var g=i.getSymbolPath();if("radial"===a.layout){var m,v,y=u.children[0],x=y.getLayout(),_=y.children.length;if(p.x===x.x&&!0===l.isExpand){var w={};w.x=(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,w.y=(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2,(m=Math.atan2(w.y-x.y,w.x-x.x))<0&&(m=2*Math.PI+m),(v=w.x<x.x)&&(m-=Math.PI)}else(m=Math.atan2(p.y-x.y,p.x-x.x))<0&&(m=2*Math.PI+m),0===l.children.length||0!==l.children.length&&!1===l.isExpand?(v=p.x<x.x)&&(m-=Math.PI):(v=p.x>x.x)||(m-=Math.PI);var b=v?"left":"right";g.setStyle({textPosition:b,textRotation:-m,textOrigin:"center",verticalAlign:"middle"})}if(l.parentNode&&l.parentNode!==u){var S=i.__edge;S||(S=i.__edge=new bM({shape:od(a,f,f),style:r({opacity:0,strokeNoScale:!0},a.lineStyle)})),Io(S,{shape:od(a,d,p),style:{opacity:1}},o),n.add(S)}}function nd(t,e,i,n,o,a){for(var r,s=t.tree.getNodeByDataIndex(e),l=t.tree.root,a=ed(s,s.getModel(),a),u=s.parentNode===l?s:s.parentNode||s;null==(r=u.getLayout());)u=u.parentNode===l?u:u.parentNode||u;Io(i,{position:[r.x+1,r.y+1]},o,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var h=i.__edge;h&&Io(h,{shape:od(a,r,r),style:{opacity:0}},o,function(){n.remove(h)})}function od(t,e,i){var n,o,a,r,s,l,u,h,c=t.orient;if("radial"===t.layout){s=e.rawX,u=e.rawY,l=i.rawX,h=i.rawY;var d=Uc(s,u),f=Uc(s,u+(h-u)*t.curvature),p=Uc(l,h+(u-h)*t.curvature),g=Uc(l,h);return{x1:d.x,y1:d.y,x2:g.x,y2:g.y,cpx1:f.x,cpy1:f.y,cpx2:p.x,cpy2:p.y}}return s=e.x,u=e.y,l=i.x,h=i.y,"LR"!==c&&"RL"!==c||(n=s+(l-s)*t.curvature,o=u,a=l+(s-l)*t.curvature,r=h),"TB"!==c&&"BT"!==c||(n=s,o=u+(h-u)*t.curvature,a=l,r=h+(u-h)*t.curvature),{x1:s,y1:u,x2:l,y2:h,cpx1:n,cpy1:o,cpx2:a,cpy2:r}}function ad(t,e,i){for(var n,o=[t],a=[];n=o.pop();)if(a.push(n),n.isExpand){var r=n.children;if(r.length)for(var s=0;s<r.length;s++)o.push(r[s])}for(;n=a.pop();)e(n,i)}function rd(t,e){for(var i,n=[t];i=n.pop();)if(e(i),i.isExpand){var o=i.children;if(o.length)for(var a=o.length-1;a>=0;a--)n.push(o[a])}}function sd(t,e){var i=Xc(t,e);t.layoutInfo=i;var n=t.get("layout"),o=0,a=0,r=null;"radial"===n?(o=2*Math.PI,a=Math.min(i.height,i.width)/2,r=Zc(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(o=i.width,a=i.height,r=Zc());var s=t.getData().tree.root,l=s.children[0];if(l){Fc(s),ad(l,Wc,r),s.hierNode.modifier=-l.hierNode.prelim,rd(l,Hc);var u=l,h=l,c=l;rd(l,function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>h.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)});var d=u===h?1:r(u,h)/2,f=d-u.getLayout().x,p=0,g=0,m=0,v=0;if("radial"===n)p=o/(h.getLayout().x+d+f),g=a/(c.depth-1||1),rd(l,function(t){m=(t.getLayout().x+f)*p,v=(t.depth-1)*g;var e=Uc(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)});else{var y=t.getOrient();"RL"===y||"LR"===y?(g=a/(h.getLayout().x+d+f),p=o/(c.depth-1||1),rd(l,function(t){v=(t.getLayout().x+f)*g,m="LR"===y?(t.depth-1)*p:o-(t.depth-1)*p,t.setLayout({x:m,y:v},!0)})):"TB"!==y&&"BT"!==y||(p=o/(h.getLayout().x+d+f),g=a/(c.depth-1||1),rd(l,function(t){m=(t.getLayout().x+f)*p,v="TB"===y?(t.depth-1)*g:a-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)}))}}}function ld(t,e,i){if(t&&l(e,t.type)>=0){var n=i.getData().tree.root,o=t.targetNode;if("string"==typeof o&&(o=n.getNodeById(o)),o&&n.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=n.getNodeById(a)))return{node:o}}}function ud(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function hd(t,e){return l(ud(t),e)>=0}function cd(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}function dd(t){var e=0;d(t.children,function(t){dd(t);var i=t.value;y(i)&&(i=i[0]),e+=i});var i=t.value;y(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),y(t.value)?t.value[0]=i:t.value=i}function fd(t,e){var i=e.get("color");if(i){var n;return d(t=t||[],function(t){var e=new No(t),i=e.get("color");(e.get("itemStyle.color")||i&&"none"!==i)&&(n=!0)}),n||((t[0]||(t[0]={})).color=i.slice()),t}}function pd(t){this.group=new tb,t.add(this.group)}function gd(t,e,i,n,o,a){var r=[[o?t:t-UC,e],[t+i,e],[t+i,e+n],[o?t:t-UC,e+n]];return!a&&r.splice(2,0,[t+i+UC,e+n/2]),!o&&r.push([t,e+n/2]),r}function md(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&cd(i,e)}}function vd(){var t,e=[],i={};return{add:function(t,n,o,a,r){return _(a)&&(r=a,a=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:n,time:o,delay:a,easing:r}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,o=0,a=e.length;o<a;o++){var r=e[o];r.el.animateTo(r.target,r.time,r.delay,r.easing,function(){--n||(e.length=0,i={},t&&t())})}return this}}}function yd(t,e,n,o,r,s,l,u,h,c){function d(t,e){w?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function f(e,n,o,a,r,s){var u=l.getModel(),h=T(t.getFormattedLabel(l.dataIndex,"normal",null,null,s?"upperLabel":"label"),u.get("name"));if(!s&&v.isLeafRoot){var c=t.get("drillDownIcon",!0);h=c?c+" "+h:h}var d=u.getModel(s?JC:KC),f=u.getModel(s?QC:$C),p=d.getShallow("show");go(e,n,d,f,{defaultText:p?h:null,autoColor:o,isRectText:!0}),s&&(e.textRect=i(s)),e.truncate=p&&d.get("ellipsis")?{outerWidth:a,outerHeight:r,minChar:2}:null}function p(t,i,o,a){var s=null!=S&&n[t][S],l=r[t];return s?(n[t][S]=null,g(l,s,t)):w||((s=new i({z:xd(o,a)})).__tmDepth=o,s.__tmStorageName=t,m(l,s,t)),e[t][b]=s}function g(t,e,i){(t[b]={}).old="nodeGroup"===i?e.position.slice():a({},e.shape)}function m(t,e,i){var n=t[b]={},a=l.parentNode;if(a&&(!o||"drillDown"===o.direction)){var s=0,u=0,h=r.background[a.getRawIndex()];!o&&h&&h.old&&(s=h.old.width,u=h.old.height),n.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}n.fadein="nodeGroup"!==i}if(l){var v=l.getLayout();if(v&&v.isInView){var y=v.width,x=v.height,_=v.borderWidth,w=v.invisible,b=l.getRawIndex(),S=u&&u.getRawIndex(),M=l.viewChildren,I=v.upperHeight,A=M&&M.length,D=l.getModel("itemStyle"),C=l.getModel("emphasis.itemStyle"),L=p("nodeGroup",jC);if(L){if(h.add(L),L.attr("position",[v.x||0,v.y||0]),L.__tmNodeWidth=y,L.__tmNodeHeight=x,v.isAboveViewRoot)return L;var k=p("background",YC,c,eL);if(k&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:y,height:x});var o=l.getVisual("borderColor",!0),a=C.get("borderColor");d(i,function(){var t=oL(D);t.fill=o;var e=nL(C);if(e.fill=a,n){var r=y-2*_;f(t,e,o,r,I,{x:_,y:0,width:r,height:I})}else t.text=e.text=null;i.setStyle(t),fo(i,e)}),e.add(i)}(L,k,A&&v.upperHeight),!A){var P=p("content",YC,c,iL);P&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(y-2*_,0),o=Math.max(x-2*_,0);i.culling=!0,i.setShape({x:_,y:_,width:n,height:o});var a=l.getVisual("color",!0);d(i,function(){var t=oL(D);t.fill=a;var e=nL(C);f(t,e,a,n,o),i.setStyle(t),fo(i,e)}),e.add(i)}(L,P)}return L}}}}function xd(t,e){var i=t*tL+e;return(i-1)/i}function _d(t){var e=t.pieceList;t.hasSpecialVisual=!1,d(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}function wd(t){var e=t.categories,i=t.visual,n=t.categoryMap={};if(sL(e,function(t,e){n[t]=e}),!y(i)){var o=[];w(i)?sL(i,function(t,e){var i=n[e];o[null!=i?i:uL]=t}):o[uL]=i,i=Ld(t,o)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}function bd(t,e){var i=t.visual,n=[];w(i)?sL(i,function(t){n.push(t)}):null!=i&&n.push(i);var o={color:1,symbol:1};e||1!==n.length||o.hasOwnProperty(t.type)||(n[1]=n[0]),Ld(t,n)}function Sd(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:Dd([0,1])}}function Md(t){var e=this.option.visual;return e[Math.round(Bo(t,[0,1],[0,e.length-1],!0))]||{}}function Id(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function Td(t){var e=this.option.visual;return e[this.option.loop&&t!==uL?t%e.length:t]}function Ad(){return this.option.visual[0]}function Dd(t){return{linear:function(e){return Bo(e,t,this.option.visual,!0)},category:Td,piecewise:function(e,i){var n=Cd.call(this,i);return null==n&&(n=Bo(e,t,this.option.visual,!0)),n},fixed:Ad}}function Cd(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[hL.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function Ld(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=f(e,function(t){return Gt(t)})),e}function kd(t,e,i){return t?e<=i:e<i}function Pd(t,e,i,n,o,a){var r=t.getModel(),s=t.getLayout();if(s&&!s.invisible&&s.isInView){var l,u=t.getModel(pL),h=Nd(u,e,i[t.depth],n),c=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(c=Ed(f,l=Od(h))),t.setVisual("borderColor",c);var p=t.viewChildren;if(p&&p.length){var g=zd(t,r,s,u,h,p);d(p,function(t,e){(t.depth>=o.length||t===o[t.depth])&&Pd(t,Vd(r,h,t,e,g,a),i,n,o,a)})}else l=Od(h),t.setVisual("color",l)}}function Nd(t,e,i,n){var o=a({},e);return d(["color","colorAlpha","colorSaturation"],function(a){var r=t.get(a,!0);null==r&&i&&(r=i[a]),null==r&&(r=e[a]),null==r&&(r=n.get(a)),null!=r&&(o[a]=r)}),o}function Od(t){var e=Rd(t,"color");if(e){var i=Rd(t,"colorAlpha"),n=Rd(t,"colorSaturation");return n&&(e=jt(e,null,null,n)),i&&(e=Yt(e,i)),e}}function Ed(t,e){return null!=e?jt(e,null,null,t):null}function Rd(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function zd(t,e,i,n,o,a){if(a&&a.length){var r=Bd(e,"color")||null!=o.color&&"none"!==o.color&&(Bd(e,"colorAlpha")||Bd(e,"colorSaturation"));if(r){var s=e.get("visualMin"),l=e.get("visualMax"),u=i.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:r.name,dataExtent:u,visual:r.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var d=new hL(c);return d.__drColorMappingBy=h,d}}}function Bd(t,e){var i=t.get(e);return fL(i)&&i.length?{name:e,range:i}:null}function Vd(t,e,i,n,o,r){var s=a({},e);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,h="index"===u?n:"id"===u?r.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(h)}return s}function Gd(t,e,i,n){var o,a;if(!t.isRemoved()){var r=t.getLayout();o=r.width,a=r.height;var s=(f=t.getModel()).get(_L),l=f.get(wL)/2,u=Kd(f),h=Math.max(s,u),c=s-l,d=h-l,f=t.getModel();t.setLayout({borderWidth:s,upperHeight:h,upperLabelHeight:u},!0);var p=(o=mL(o-2*c,0))*(a=mL(a-c-d,0)),g=Fd(t,f,p,e,i,n);if(g.length){var m={x:c,y:d,width:o,height:a},v=vL(o,a),y=1/0,x=[];x.area=0;for(var _=0,w=g.length;_<w;){var b=g[_];x.push(b),x.area+=b.getLayout().area;var S=Ud(x,v,e.squareRatio);S<=y?(_++,y=S):(x.area-=x.pop().getLayout().area,Xd(x,v,m,l,!1),v=vL(m.width,m.height),x.length=x.area=0,y=1/0)}if(x.length&&Xd(x,v,m,l,!0),!i){var M=f.get("childrenVisibleMin");null!=M&&p<M&&(i=!0)}for(var _=0,w=g.length;_<w;_++)Gd(g[_],e,i,n+1)}}}function Fd(t,e,i,n,o,a){var r=t.children||[],s=n.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=n.leafDepth&&n.leafDepth<=a;if(o&&!l)return t.viewChildren=[];Hd(r=g(r,function(t){return!t.isRemoved()}),s);var u=Zd(e,r,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=Wd(e,i,u.sum,s,r),0===u.sum)return t.viewChildren=[];for(var h=0,c=r.length;h<c;h++){var d=r[h].getValue()/u.sum*i;r[h].setLayout({area:d})}return l&&(r.length&&t.setLayout({isLeafRoot:!0},!0),r.length=0),t.viewChildren=r,t.setLayout({dataExtent:u.dataExtent},!0),r}function Wd(t,e,i,n,o){if(!n)return i;for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===n?r-l-1:l].getValue();u/i*e<a&&(s=l,i-=u)}return"asc"===n?o.splice(0,r-s):o.splice(s,r-s),i}function Hd(t,e){return e&&t.sort(function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n}),t}function Zd(t,e,i){for(var n=0,o=0,a=e.length;o<a;o++)n+=e[o].getValue();var r=t.get("visualDimension");if(e&&e.length)if("value"===r&&i)s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&s.reverse();else{var s=[1/0,-1/0];xL(e,function(t){var e=t.getValue(r);e<s[0]&&(s[0]=e),e>s[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function Ud(t,e,i){for(var n,o=0,a=1/0,r=0,s=t.length;r<s;r++)(n=t[r].getLayout().area)&&(n<a&&(a=n),n>o&&(o=n));var l=t.area*t.area,u=e*e*i;return l?mL(u*o/l,l/(u*a)):1/0}function Xd(t,e,i,n,o){var a=e===i.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=i[s[a]],h=e?t.area/e:0;(o||h>i[l[r]])&&(h=i[l[r]]);for(var c=0,d=t.length;c<d;c++){var f=t[c],p={},g=h?f.getLayout().area/h:0,m=p[l[r]]=mL(h-2*n,0),v=i[s[a]]+i[l[a]]-u,y=c===d-1||v<g?v:g,x=p[l[a]]=mL(y-2*n,0);p[s[r]]=i[s[r]]+vL(n,m/2),p[s[a]]=u+vL(n,x/2),u+=y,f.setLayout(p,!0)}i[s[r]]+=h,i[l[r]]-=h}function jd(t,e,i,n,o){var a=(e||{}).node,r=[n,o];if(!a||a===i)return r;for(var s,l=n*o,u=l*t.option.zoomToNodeRatio;s=a.parentNode;){for(var h=0,c=s.children,d=0,f=c.length;d<f;d++)h+=c[d].getValue();var p=a.getValue();if(0===p)return r;u*=h/p;var g=s.getModel(),m=g.get(_L);(u+=4*m*m+(3*m+Math.max(m,Kd(g)))*Math.pow(u,.5))>XM&&(u=XM),a=s}u<l&&(u=l);var v=Math.pow(u/l,.5);return[n*v,o*v]}function Yd(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var o=i.node,a=o.getLayout();if(!a)return n;for(var r=[a.width/2,a.height/2],s=o;s;){var l=s.getLayout();r[0]+=l.x,r[1]+=l.y,s=s.parentNode}return{x:t.width/2-r[0],y:t.height/2-r[1]}}function qd(t,e,i,n,o){var a=t.getLayout(),r=i[o],s=r&&r===t;if(!(r&&!s||o===i.length&&t!==n)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var l=new de(e.x-a.x,e.y-a.y,e.width,e.height);xL(t.viewChildren||[],function(t){qd(t,l,i,n,o+1)})}}function Kd(t){return t.get(bL)?t.get(SL):0}function $d(t){return"_EC_"+t}function Jd(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function Qd(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}function tf(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}function ef(t){return"_"+t+"Type"}function nf(t,e,i){var n=e.getItemVisual(i,"color"),o=e.getItemVisual(i,t),a=e.getItemVisual(i,t+"Size");if(o&&"none"!==o){y(a)||(a=[a,a]);var r=Jl(o,-a[0]/2,-a[1]/2,a[0],a[1],n);return r.name=t,r}}function of(t){var e=new PL({name:"line"});return af(e.shape,t),e}function af(t,e){var i=e[0],n=e[1],o=e[2];t.x1=i[0],t.y1=i[1],t.x2=n[0],t.y2=n[1],t.percent=1,o?(t.cpx1=o[0],t.cpy1=o[1]):(t.cpx1=NaN,t.cpy1=NaN)}function rf(t,e,i){tb.call(this),this._createLine(t,e,i)}function sf(t){this._ctor=t||rf,this.group=new tb}function lf(t,e,i,n){if(df(e.getItemLayout(i))){var o=new t._ctor(e,i,n);e.setItemGraphicEl(i,o),t.group.add(o)}}function uf(t,e,i,n,o,a){var r=e.getItemGraphicEl(n);df(i.getItemLayout(o))?(r?r.updateData(i,o,a):r=new t._ctor(i,o,a),i.setItemGraphicEl(o,r),t.group.add(r)):t.group.remove(r)}function hf(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 cf(t){return isNaN(t[0])||isNaN(t[1])}function df(t){return!cf(t[0])&&!cf(t[1])}function ff(t,e,i){for(var n,o=t[0],a=t[1],r=t[2],s=1/0,l=i*i,u=.1,h=.1;h<=.9;h+=.1)RL[0]=VL(o[0],a[0],r[0],h),RL[1]=VL(o[1],a[1],r[1],h),(f=FL(GL(RL,e)-l))<s&&(s=f,n=h);for(var c=0;c<32;c++){var d=n+u;zL[0]=VL(o[0],a[0],r[0],n),zL[1]=VL(o[1],a[1],r[1],n),BL[0]=VL(o[0],a[0],r[0],d),BL[1]=VL(o[1],a[1],r[1],d);var f=GL(zL,e)-l;if(FL(f)<.01)break;var p=GL(BL,e)-l;u/=2,f<0?p>=0?n+=u:n-=u:p>=0?n-=u:n+=u}return n}function pf(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function gf(t,e,i){var n=t.getGraphicEl(),o=pf(t,e);null!=i&&(null==o&&(o=1),o*=i),n.downplay&&n.downplay(),n.traverse(function(t){if("group"!==t.type){var e=t.lineLabelOriginalOpacity;null!=e&&null==i||(e=o),t.setStyle("opacity",e)}})}function mf(t,e){var i=pf(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}function vf(t){return t instanceof Array||(t=[t,t]),t}function yf(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),xf(i)}}function xf(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.curveness")||0,i=F(t.node1.getLayout()),n=F(t.node2.getLayout()),o=[i,n];+e&&o.push([(i[0]+n[0])/2-(i[1]-n[1])*e,(i[1]+n[1])/2-(n[0]-i[0])*e]),t.setLayout(o)})}function _f(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=e.getBoundingRect(),n=t.getData(),o=n.graph,a=0,r=n.getSum("value"),s=2*Math.PI/(r||n.count()),l=i.width/2+i.x,u=i.height/2+i.y,h=Math.min(i.width,i.height)/2;o.eachNode(function(t){var e=t.getValue("value");a+=s*(r?e:1)/2,t.setLayout([h*Math.cos(a)+l,h*Math.sin(a)+u]),a+=s*(r?e:1)/2}),n.setLayout({cx:l,cy:u}),o.eachEdge(function(t){var e,i=t.getModel().get("lineStyle.curveness")||0,n=F(t.node1.getLayout()),o=F(t.node2.getLayout()),a=(n[0]+o[0])/2,r=(n[1]+o[1])/2;+i&&(e=[l*(i*=3)+a*(1-i),u*i+r*(1-i)]),t.setLayout([n,o,e])})}}function wf(t,e,i){for(var n=i.rect,o=n.width,a=n.height,r=[n.x+o/2,n.y+a/2],s=null==i.gravity?.1:i.gravity,l=0;l<t.length;l++){var u=t[l];u.p||(u.p=V(o*(Math.random()-.5)+r[0],a*(Math.random()-.5)+r[1])),u.pp=F(u.p),u.edges=null}var h=.6;return{warmUp:function(){h=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(i){for(var n=[],o=t.length,a=0;a<e.length;a++){var l=e[a],u=l.n1;U(n,(p=l.n2).p,u.p);var c=X(n)-l.d,d=p.w/(u.w+p.w);isNaN(d)&&(d=0),q(n,n),!u.fixed&&XL(u.p,u.p,n,d*c*h),!p.fixed&&XL(p.p,p.p,n,-(1-d)*c*h)}for(a=0;a<o;a++)(v=t[a]).fixed||(U(n,r,v.p),XL(v.p,v.p,n,s*h));for(a=0;a<o;a++)for(var u=t[a],f=a+1;f<o;f++){var p=t[f];U(n,p.p,u.p),0===(c=X(n))&&(W(n,Math.random()-.5,Math.random()-.5),c=1);var g=(u.rep+p.rep)/c/c;!u.fixed&&XL(u.pp,u.pp,n,g),!p.fixed&&XL(p.pp,p.pp,n,-g)}for(var m=[],a=0;a<o;a++){var v=t[a];v.fixed||(U(m,v.p,v.pp),XL(v.p,v.p,m,h),G(v.pp,v.p))}h*=.992,i&&i(t,e,h<.01)}}}function bf(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,ca(n,{width:e.getWidth(),height:e.getHeight()})}function Sf(t,e){var i=t.get("center"),n=e.getWidth(),o=e.getHeight(),a=Math.min(n,o);return{cx:Vo(i[0],e.getWidth()),cy:Vo(i[1],e.getHeight()),r:Vo(t.get("radius"),a/2)}}function Mf(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}function If(t,e){function i(){a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore}function n(){a.ignore=a.normalIgnore,r.ignore=r.normalIgnore}tb.call(this);var o=new pM,a=new gM,r=new rM;this.add(o),this.add(a),this.add(r),this.updateData(t,e,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function Tf(t,e){return ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Af(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,function(t){return t}),o=[],a="ascending"===e,r=0,s=t.count();r<s;r++)o[r]=r;return"function"==typeof e?o.sort(e):"none"!==e&&o.sort(function(t,e){return a?n[t]-n[e]:n[e]-n[t]}),o}function Df(t){t.each(function(e){var i,n,o,a,r=t.getItemModel(e),s=r.getModel("label").get("position"),l=r.getModel("labelLine"),u=t.getItemLayout(e),h=u.points,c="inner"===s||"inside"===s||"center"===s;if(c)i="center",a=[[n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4],[n,o]];else{var d,f,p,g=l.get("length");"left"===s?(d=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,n=(p=d-g)-5,i="right"):(d=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,n=(p=d+g)+5,i="left");var m=f;a=[[d,f],[p,m]],o=m}u.label={linePoints:a,x:n,y:o,verticalAlign:"middle",textAlign:i,inside:c}})}function Cf(t){if(!t.parallel){var e=!1;d(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function Lf(t){d(Di(t.parallelAxis),function(e){if(w(e)){var i=e.parallelIndex||0,o=Di(t.parallel)[i];o&&o.parallelAxisDefault&&n(e,o.parallelAxisDefault,!1)}})}function kf(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function Pf(t,e){return Math.min(e[1],Math.max(e[0],t))}function Nf(t,e,i){this._axesMap=R(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,i)}function Of(t,e){return ek(ik(t,e[0]),e[1])}function Ef(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function Rf(t,e){var i,n,o=e.layoutLength,a=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],u=a,h=!0):(i=o-(r-1-t)*s,n=s),{position:i,axisNameAvailableWidth:u,axisLabelShow:h,nameTruncateMaxWidth:n}}function zf(t){fw.call(this),this._zr=t,this.group=new tb,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+bk++,this._handlers={},hk(Sk,function(t,e){this._handlers[e]=m(t,this)},this)}function Bf(t,e){var o=t._zr;t._enableGlobalPan||tc(o,yk,t._uid),hk(t._handlers,function(t,e){o.on(e,t)}),t._brushType=e.brushType,t._brushOption=n(i(wk),e,!0)}function Vf(t){var e=t._zr;ec(e,yk,t._uid),hk(t._handlers,function(t,i){e.off(i,t)}),t._brushType=t._brushOption=null}function Gf(t,e){var i=Mk[e.brushType].createCover(t,e);return i.__brushOption=e,Hf(i,e),t.group.add(i),i}function Ff(t,e){var i=Uf(e);return i.endCreating&&(i.endCreating(t,e),Hf(e,e.__brushOption)),e}function Wf(t,e){var i=e.__brushOption;Uf(e).updateCoverShape(t,e,i.range,i)}function Hf(t,e){var i=e.z;null==i&&(i=gk),t.traverse(function(t){t.z=i,t.z2=i})}function Zf(t,e){Uf(e).updateCommon(t,e),Wf(t,e)}function Uf(t){return Mk[t.__brushOption.brushType]}function Xf(t,e,i){var n=t._panels;if(!n)return!0;var o,a=t._transform;return hk(n,function(t){t.isTargetByCursor(e,i,a)&&(o=t)}),o}function jf(t,e){var i=t._panels;if(!i)return!0;var n=e.__brushOption.panelId;return null==n||i[n]}function Yf(t){var e=t._covers,i=e.length;return hk(e,function(e){t.group.remove(e)},t),e.length=0,!!i}function qf(t,e){var n=ck(t._covers,function(t){var e=t.__brushOption,n=i(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function Kf(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],o=i[0]-n[0],a=i[1]-n[1];return pk(o*o+a*a,.5)>mk}function $f(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function Jf(t,e,i,n){var o=new tb;return o.add(new yM({name:"main",style:ip(i),silent:!0,draggable:!0,cursor:"move",drift:uk(t,e,o,"nswe"),ondragend:uk(qf,e,{isEnd:!0})})),hk(n,function(i){o.add(new yM({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:uk(t,e,o,i),ondragend:uk(qf,e,{isEnd:!0})}))}),o}function Qf(t,e,i,n){var o=n.brushStyle.lineWidth||0,a=fk(o,vk),r=i[0][0],s=i[1][0],l=r-o/2,u=s-o/2,h=i[0][1],c=i[1][1],d=h-a+o/2,f=c-a+o/2,p=h-r,g=c-s,m=p+o,v=g+o;ep(t,e,"main",r,s,p,g),n.transformable&&(ep(t,e,"w",l,u,a,v),ep(t,e,"e",d,u,a,v),ep(t,e,"n",l,u,m,a),ep(t,e,"s",l,f,m,a),ep(t,e,"nw",l,u,a,a),ep(t,e,"ne",d,u,a,a),ep(t,e,"sw",l,f,a,a),ep(t,e,"se",d,f,a,a))}function tp(t,e){var i=e.__brushOption,n=i.transformable,o=e.childAt(0);o.useStyle(ip(i)),o.attr({silent:!n,cursor:n?"move":"default"}),hk(["w","e","n","s","se","sw","ne","nw"],function(i){var o=e.childOfName(i),a=ap(t,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?_k[a]+"-resize":null})})}function ep(t,e,i,n,o,a,r){var s=e.childOfName(i);s&&s.setShape(hp(up(t,e,[[n,o],[n+a,o+r]])))}function ip(t){return r({strokeNoScale:!0},t.brushStyle)}function np(t,e,i,n){var o=[dk(t,i),dk(e,n)],a=[fk(t,i),fk(e,n)];return[[o[0],a[0]],[o[1],a[1]]]}function op(t){return Ao(t.group)}function ap(t,e){if(e.length>1)return("e"===(n=[ap(t,(e=e.split(""))[0]),ap(t,e[1])])[0]||"w"===n[0])&&n.reverse(),n.join("");var i={left:"w",right:"e",top:"n",bottom:"s"},n=Co({w:"left",e:"right",n:"top",s:"bottom"}[e],op(t));return i[n]}function rp(t,e,i,n,o,a,r,s){var l=n.__brushOption,u=t(l.range),h=lp(i,a,r);hk(o.split(""),function(t){var e=xk[t];u[e[0]][e[1]]+=h[e[0]]}),l.range=e(np(u[0][0],u[1][0],u[0][1],u[1][1])),Zf(i,n),qf(i,{isEnd:!1})}function sp(t,e,i,n,o){var a=e.__brushOption.range,r=lp(t,i,n);hk(a,function(t){t[0]+=r[0],t[1]+=r[1]}),Zf(t,e),qf(t,{isEnd:!1})}function lp(t,e,i){var n=t.group,o=n.transformCoordToLocal(e,i),a=n.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function up(t,e,n){var o=jf(t,e);return o&&!0!==o?o.clipPath(n,t._transform):i(n)}function hp(t){var e=dk(t[0][0],t[1][0]),i=dk(t[0][1],t[1][1]);return{x:e,y:i,width:fk(t[0][0],t[1][0])-e,height:fk(t[0][1],t[1][1])-i}}function cp(t,e,i){if(t._brushType){var n=t._zr,o=t._covers,a=Xf(t,e,i);if(!t._dragging)for(var r=0;r<o.length;r++){var s=o[r].__brushOption;if(a&&(!0===a||s.panelId===a.panelId)&&Mk[s.brushType].contain(o[r],i[0],i[1]))return}a&&n.setCursorStyle("crosshair")}}function dp(t){var e=t.event;e.preventDefault&&e.preventDefault()}function fp(t,e,i){return t.childOfName("main").contain(e,i)}function pp(t,e,n,o){var a,r=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),Kf(t)||r){if(s&&!r){"single"===l.brushMode&&Yf(t);var u=i(l);u.brushType=gp(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=t._creatingCover=Gf(t,u),t._covers.push(r)}if(r){var h=Mk[gp(t._brushType,s)];r.__brushOption.range=h.getCreatingRange(up(t,r,t._track)),o&&(Ff(t,r),h.updateCommon(t,r)),Wf(t,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&Xf(t,e,n)&&Yf(t)&&(a={isEnd:o,removeOnClick:!0});return a}function gp(t,e){return"auto"===t?e.defaultBrushType:t}function mp(t){if(this._dragging){dp(t);var e=pp(this,t,this.group.transformCoordToLocal(t.offsetX,t.offsetY),!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&qf(this,e)}}function vp(t){return{createCover:function(e,i){return Jf(uk(rp,function(e){var i=[e,[0,100]];return t&&i.reverse(),i},function(e){return e[t]}),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=$f(e);return[dk(i[0][t],i[1][t]),fk(i[0][t],i[1][t])]},updateCoverShape:function(e,i,n,o){var a,r=jf(e,i);if(!0!==r&&r.getLinearBrushOtherExtent)a=r.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,a];t&&l.reverse(),Qf(e,i,l,o)},updateCommon:tp,contain:fp}}function yp(t){return t=wp(t),function(e,i){return ko(e,t)}}function xp(t,e){return t=wp(t),function(i){var n=null!=e?e:i,o=n?t.width:t.height,a=n?t.x:t.y;return[a,a+(o||0)]}}function _p(t,e,i){return t=wp(t),function(n,o,a){return t.contain(o[0],o[1])&&!gc(n,e,i)}}function wp(t){return de.create(t)}function bp(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}function Sp(t){var e=t.axis;return f(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function Mp(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}function Ip(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}function Tp(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(i){var n=t.encodeDefine=R();d(i.dimensions,function(t){var e=Ap(t);n.set(t,e)})}}}function Ap(t){return+t.replace("dim","")}function Dp(t,e,i){var n=t.model,o=t.getRect(),a=new yM({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),r="horizontal"===n.get("layout")?"width":"height";return a.setShape(r,0),To(a,{shape:{width:o.width,height:o.height}},e,i),a}function Cp(t,e,i,n){for(var o=[],a=0;a<i.length;a++){var r=i[a],s=t.get(t.mapDimension(r),e);Np(s,n.getAxis(r).type)||o.push(n.dataToPoint(s,r))}return o}function Lp(t,e,i,n,o){var a=Cp(t,i,n,o),r=new gM({shape:{points:a},silent:!0,z2:10});return e.add(r),t.setItemGraphicEl(i,r),r}function kp(t){var e=t.get("smooth",!0);return!0===e&&(e=Dk),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:Dk}}function Pp(t,e,i,n){var o=n.lineStyle;e.hasItemOption&&(o=e.getItemModel(i).getModel("lineStyle").getLineStyle()),t.useStyle(o);var a=t.style;a.fill=null,a.stroke=e.getItemVisual(i,"color"),a.opacity=e.getItemVisual(i,"opacity"),n.smooth&&(t.shape.smooth=n.smooth)}function Np(t,e){return"category"===e?null==t:null==t||isNaN(t)}function Op(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function Ep(t,e,i){var n=t.getGraphicEl(),o=Op(t,e);null!=i&&(null==o&&(o=1),o*=i),n.downplay&&n.downplay(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",o)})}function Rp(t,e){var i=Op(t,e),n=t.getGraphicEl();n.highlight&&n.highlight(),n.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",i)})}function zp(t,e,i){var n=new yM({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return To(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}function Bp(t,e){return ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Vp(t,e,i,n,o,a,r,s){Fp(t,e,i,o,a,s),Zp(t,e,a,o,n,r,s),eg(t,s)}function Gp(t){d(t,function(t){var e=Qp(t.outEdges,Jp),i=Qp(t.inEdges,Jp),n=Math.max(e,i);t.setLayout({value:n},!0)})}function Fp(t,e,i,n,o,a){for(var r=[],s=[],l=[],u=[],h=0,c=0;c<e.length;c++)r[c]=1;for(c=0;c<t.length;c++)s[c]=t[c].inEdges.length,0===s[c]&&l.push(t[c]);for(;l.length;){for(var d=0;d<l.length;d++){var f=l[d];"vertical"===a?(f.setLayout({y:h},!0),f.setLayout({dy:i},!0)):(f.setLayout({x:h},!0),f.setLayout({dx:i},!0));for(var p=0;p<f.outEdges.length;p++){var g=f.outEdges[p];r[e.indexOf(g)]=0;var m=g.node2;0==--s[t.indexOf(m)]&&u.push(m)}}++h,l=u,u=[]}for(c=0;c<r.length;c++);Wp(t,h,a),Hp(t,"vertical"===a?(o-i)/(h-1):(n-i)/(h-1),a)}function Wp(t,e,i){d(t,function(t){t.outEdges.length||("vertical"===i?t.setLayout({y:e-1},!0):t.setLayout({x:e-1},!0))})}function Hp(t,e,i){d(t,function(t){if("vertical"===i){var n=t.getLayout().y*e;t.setLayout({y:n},!0)}else{var o=t.getLayout().x*e;t.setLayout({x:o},!0)}})}function Zp(t,e,i,n,o,a,r){var s=Up(t,r);Xp(t,s,e,i,n,o,r),jp(s,o,i,n,r);for(var l=1;a>0;a--)Yp(s,l*=.99,r),jp(s,o,i,n,r),tg(s,l,r),jp(s,o,i,n,r)}function Up(t,e){var i=[],n="vertical"===e?"y":"x",o=Zi(t,function(t){return t.getLayout()[n]});return o.keys.sort(function(t,e){return t-e}),d(o.keys,function(t){i.push(o.buckets.get(t))}),i}function Xp(t,e,i,n,o,a,r){var s=[];d(e,function(t){var e=t.length,i=0,l=0;d(t,function(t){i+=t.getLayout().value}),l="vertical"===r?(o-(e-1)*a)/i:(n-(e-1)*a)/i,s.push(l)}),s.sort(function(t,e){return t-e});var l=s[0];d(e,function(t){d(t,function(t,e){var i=t.getLayout().value*l;"vertical"===r?(t.setLayout({x:e},!0),t.setLayout({dx:i},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:i},!0))})}),d(i,function(t){var e=+t.getValue()*l;t.setLayout({dy:e},!0)})}function jp(t,e,i,n,o){d(t,function(t){var a,r,s,l=0,u=t.length;if("vertical"===o){var h;for(t.sort(function(t,e){return t.getLayout().x-e.getLayout().x}),s=0;s<u;s++)(r=l-(a=t[s]).getLayout().x)>0&&(h=a.getLayout().x+r,a.setLayout({x:h},!0)),l=a.getLayout().x+a.getLayout().dx+e;if((r=l-e-n)>0)for(h=a.getLayout().x-r,a.setLayout({x:h},!0),l=h,s=u-2;s>=0;--s)(r=(a=t[s]).getLayout().x+a.getLayout().dx+e-l)>0&&(h=a.getLayout().x-r,a.setLayout({x:h},!0)),l=a.getLayout().x}else{var c;for(t.sort(function(t,e){return t.getLayout().y-e.getLayout().y}),s=0;s<u;s++)(r=l-(a=t[s]).getLayout().y)>0&&(c=a.getLayout().y+r,a.setLayout({y:c},!0)),l=a.getLayout().y+a.getLayout().dy+e;if((r=l-e-i)>0)for(c=a.getLayout().y-r,a.setLayout({y:c},!0),l=c,s=u-2;s>=0;--s)(r=(a=t[s]).getLayout().y+a.getLayout().dy+e-l)>0&&(c=a.getLayout().y-r,a.setLayout({y:c},!0)),l=a.getLayout().y}})}function Yp(t,e,i){d(t.slice().reverse(),function(t){d(t,function(t){if(t.outEdges.length){var n=Qp(t.outEdges,qp,i)/Qp(t.outEdges,Jp,i);if("vertical"===i){var o=t.getLayout().x+(n-$p(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-$p(t,i))*e;t.setLayout({y:a},!0)}}})})}function qp(t,e){return $p(t.node2,e)*t.getValue()}function Kp(t,e){return $p(t.node1,e)*t.getValue()}function $p(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function Jp(t){return t.getValue()}function Qp(t,e,i){for(var n=0,o=t.length,a=-1;++a<o;){var r=+e.call(t,t[a],i);isNaN(r)||(n+=r)}return n}function tg(t,e,i){d(t,function(t){d(t,function(t){if(t.inEdges.length){var n=Qp(t.inEdges,Kp,i)/Qp(t.inEdges,Jp,i);if("vertical"===i){var o=t.getLayout().x+(n-$p(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-$p(t,i))*e;t.setLayout({y:a},!0)}}})})}function eg(t,e){d(t,function(t){"vertical"===e?(t.outEdges.sort(function(t,e){return t.node2.getLayout().x-e.node2.getLayout().x}),t.inEdges.sort(function(t,e){return t.node1.getLayout().x-e.node1.getLayout().x})):(t.outEdges.sort(function(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}),t.inEdges.sort(function(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}))}),d(t,function(t){var e=0,i=0;d(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),d(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}function ig(t,e,i,n,o){var a=t.ends,r=new zk({shape:{points:o?og(a,n,t):a}});return ng(t,r,e,i,o),r}function ng(t,e,i,n,o){var a=i.hostModel;(0,zM[o?"initProps":"updateProps"])(e,{shape:{points:t.ends}},a,n);var r=i.getItemModel(n),s=r.getModel(Ek),l=i.getItemVisual(n,"color"),u=s.getItemStyle(["borderColor"]);u.stroke=l,u.strokeNoScale=!0,e.useStyle(u),e.z2=100,fo(e,r.getModel(Rk).getItemStyle())}function og(t,e,i){return f(t,function(t){return t=t.slice(),t[e]=i.initBaseline,t})}function ag(t){var e=[],i=[];return t.eachSeriesByType("boxplot",function(t){var n=t.getBaseAxis(),o=l(i,n);o<0&&(o=i.length,i[o]=n,e[o]={axis:n,seriesModels:[]}),e[o].seriesModels.push(t)}),e}function rg(t){var e,i,n=t.axis,o=t.seriesModels,a=o.length,r=t.boxWidthList=[],s=t.boxOffsetList=[],l=[];if("category"===n.type)i=n.getBandWidth();else{var u=0;Vk(o,function(t){u=Math.max(u,t.getData().count())}),e=n.getExtent(),Math.abs(e[1]-e[0])}Vk(o,function(t){var e=t.get("boxWidth");y(e)||(e=[e,e]),l.push([Vo(e[0],i)||0,Vo(e[1],i)||0])});var h=.8*i-2,c=h/a*.3,d=(h-c*(a-1))/a,f=d/2-h/2;Vk(o,function(t,e){s.push(f),f+=c+d,r.push(Math.min(Math.max(d,l[e][0]),l[e][1]))})}function sg(t,e,i){function n(t,i,n){var o=s.get(i,n),a=[];a[u]=t,a[h]=o;var l;return isNaN(t)||isNaN(o)?l=[NaN,NaN]:(l=r.dataToPoint(a))[u]+=e,l}function o(t,e,i){var n=e.slice(),o=e.slice();n[u]+=l,o[u]-=l,i?t.push(n,o):t.push(o,n)}function a(t,e){var i=e.slice(),n=e.slice();i[u]-=l,n[u]+=l,t.push(i,n)}var r=t.coordinateSystem,s=t.getData(),l=i/2,u="horizontal"===t.get("layout")?0:1,h=1-u,c=["x","y"],d=s.mapDimension(c[u]),f=s.mapDimension(c[h],!0);if(!(null==d||f.length<5))for(var p=0;p<s.count();p++){var g=s.get(d,p),m=n(g,f[2],p),v=n(g,f[0],p),y=n(g,f[1],p),x=n(g,f[3],p),_=n(g,f[4],p),w=[];o(w,y,0),o(w,x,1),w.push(v,y,_,x),a(w,v),a(w,_),a(w,m),s.setItemLayout(p,{initBaseline:m[h],ends:w})}}function lg(t,e,i){var n=t.ends;return new Hk({shape:{points:i?hg(n,t):n},z2:100})}function ug(t,e,i,n){var o=e.getItemModel(i),a=o.getModel(Gk),r=e.getItemVisual(i,"color"),s=e.getItemVisual(i,"borderColor")||r,l=a.getItemStyle(Wk);t.useStyle(l),t.style.strokeNoScale=!0,t.style.fill=r,t.style.stroke=s,t.__simpleBox=n,fo(t,o.getModel(Fk).getItemStyle())}function hg(t,e){return f(t,function(t){return t=t.slice(),t[1]=e.initBaseline,t})}function cg(t,e,i){var n=t.getData(),o=n.getLayout("largePoints"),a=new Zk({shape:{points:o},__sign:1});e.add(a);var r=new Zk({shape:{points:o},__sign:-1});e.add(r),dg(1,a,t,n),dg(-1,r,t,n),i&&(a.incremental=!0,r.incremental=!0)}function dg(t,e,i,n){var o=t>0?"P":"N",a=n.getVisual("borderColor"+o)||n.getVisual("color"+o),r=i.getModel(Gk).getItemStyle(Wk);e.useStyle(r),e.style.fill=null,e.style.stroke=a}function fg(t,e,i,n,o){return i>n?-1:i<n?1:e>0?t.get(o,e-1)<=n?1:-1:1}function pg(t,e){var i,n=t.getBaseAxis(),o="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),a=Vo(A(t.get("barMaxWidth"),o),o),r=Vo(A(t.get("barMinWidth"),1),o),s=t.get("barWidth");return null!=s?Vo(s,o):Math.max(Math.min(o/2,a),r)}function gg(t){return y(t)||(t=[+t,+t]),t}function mg(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function vg(t,e){tb.call(this);var i=new wu(t,e),n=new tb;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(t,e)}function yg(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=f(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),o([e,t[0],t[1]])}))}function xg(t,e,i){tb.call(this),this.add(this.createLine(t,e,i)),this._updateEffectSymbol(t,e)}function _g(t,e,i){tb.call(this),this._createPolyline(t,e,i)}function wg(t,e,i){xg.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}function bg(){this.group=new tb}function Sg(t){return t instanceof Array||(t=[t,t]),t}function Mg(){var t=iw();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}function Ig(t,e,i){var n=t[1]-t[0],o=(e=f(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,a=0;return function(t){for(n=a;n<o;n++)if((r=e[n].interval)[0]<=t&&t<=r[1]){a=n;break}if(n===o)for(var n=a-1;n>=0;n--){var r=e[n].interval;if(r[0]<=t&&t<=r[1]){a=n;break}}return n>=0&&n<o&&i[n]}}function Tg(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}function Ag(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}function Dg(t,e,i,n){var o=t.getItemLayout(e),a=i.get("symbolRepeat"),r=i.get("symbolClip"),s=i.get("symbolPosition")||"start",l=(i.get("symbolRotate")||0)*Math.PI/180||0,u=i.get("symbolPatternSize")||2,h=i.isAnimationEnabled(),c={dataIndex:e,layout:o,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:r,symbolRepeat:a,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:h?i:null,hoverAnimation:h&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};Cg(i,a,o,n,c),kg(t,e,o,a,r,c.boundingLength,c.pxSign,u,n,c),Pg(i,c.symbolScale,l,n,c);var d=c.symbolSize,f=i.get("symbolOffset");return y(f)&&(f=[Vo(f[0],d[0]),Vo(f[1],d[1])]),Ng(i,d,o,a,r,f,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,n,c),c}function Cg(t,e,i,n,o){var a,r=n.valueDim,s=t.get("symbolBoundingData"),l=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),h=1-+(i[r.wh]<=0);if(y(s)){var c=[Lg(l,s[0])-u,Lg(l,s[1])-u];c[1]<c[0]&&c.reverse(),a=c[h]}else a=null!=s?Lg(l,s)-u:e?n.coordSysExtent[r.index][h]-u:i[r.wh];o.boundingLength=a,e&&(o.repeatCutLength=i[r.wh]),o.pxSign=a>0?1:a<0?-1:0}function Lg(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function kg(t,e,i,n,o,a,r,s,l,u){var h=l.valueDim,c=l.categoryDim,d=Math.abs(i[c.wh]),f=t.getItemVisual(e,"symbolSize");y(f)?f=f.slice():(null==f&&(f="100%"),f=[f,f]),f[c.index]=Vo(f[c.index],d),f[h.index]=Vo(f[h.index],n?d:Math.abs(a)),u.symbolSize=f,(u.symbolScale=[f[0]/s,f[1]/s])[h.index]*=(l.isHorizontal?-1:1)*r}function Pg(t,e,i,n,o){var a=t.get(cP)||0;a&&(fP.attr({scale:e.slice(),rotation:i}),fP.updateTransform(),a/=fP.getLineScale(),a*=e[n.valueDim.index]),o.valueLineWidth=a}function Ng(t,e,i,n,o,r,s,l,u,h,c,d){var f=c.categoryDim,p=c.valueDim,g=d.pxSign,m=Math.max(e[p.index]+l,0),v=m;if(n){var y=Math.abs(u),x=T(t.get("symbolMargin"),"15%")+"",_=!1;x.lastIndexOf("!")===x.length-1&&(_=!0,x=x.slice(0,x.length-1)),x=Vo(x,e[p.index]);var w=Math.max(m+2*x,0),b=_?0:2*x,S=Qo(n),M=S?n:Kg((y+b)/w);w=m+2*(x=(y-M*m)/2/(_?M:M-1)),b=_?0:2*x,S||"fixed"===n||(M=h?Kg((Math.abs(h)+b)/w):0),v=M*w-b,d.repeatTimes=M,d.symbolMargin=x}var I=g*(v/2),A=d.pathPosition=[];A[f.index]=i[f.wh]/2,A[p.index]="start"===s?I:"end"===s?u-I:u/2,r&&(A[0]+=r[0],A[1]+=r[1]);var D=d.bundlePosition=[];D[f.index]=i[f.xy],D[p.index]=i[p.xy];var C=d.barRectShape=a({},i);C[p.wh]=g*Math.max(Math.abs(i[p.wh]),Math.abs(A[p.index]+I)),C[f.wh]=i[f.wh];var L=d.clipShape={};L[f.xy]=-i[f.xy],L[f.wh]=c.ecSize[f.wh],L[p.xy]=0,L[p.wh]=i[p.wh]}function Og(t){var e=t.symbolPatternSize,i=Jl(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function Eg(t,e,i,n){function o(t){var e=l.slice(),n=i.pxSign,o=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(o=h-1-t),e[u.index]=d*(o-h/2+.5)+l[u.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}var a=t.__pictorialBundle,r=i.symbolSize,s=i.valueLineWidth,l=i.pathPosition,u=e.valueDim,h=i.repeatTimes||0,c=0,d=r[e.valueDim.index]+s+2*i.symbolMargin;for(jg(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=h,c<h?Yg(t,null,o(c),i,n):Yg(t,null,{scale:[0,0]},i,n,function(){a.remove(t)}),Wg(t,i),c++});c<h;c++){var f=Og(i);f.__pictorialAnimationIndex=c,f.__pictorialRepeatTimes=h,a.add(f);var p=o(c);Yg(f,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},i,n),f.on("mouseover",function(){jg(t,function(t){t.trigger("emphasis")})}).on("mouseout",function(){jg(t,function(t){t.trigger("normal")})}),Wg(f,i)}}function Rg(t,e,i,n){var o=t.__pictorialBundle,a=t.__pictorialMainPath;a?Yg(a,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(a=t.__pictorialMainPath=Og(i),o.add(a),Yg(a,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),a.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),Wg(a,i)}function zg(t,e,i){var n=a({},e.barRectShape),o=t.__pictorialBarRect;o?Yg(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new yM({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function Bg(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,r=a({},i.clipShape),s=e.valueDim,l=i.animationModel,u=i.dataIndex;if(o)Io(o,{shape:r},l,u);else{r[s.wh]=0,o=new yM({shape:r}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[s.wh]=i.clipShape[s.wh],zM[n?"updateProps":"initProps"](o,{shape:h},l,u)}}}function Vg(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=Gg,i.isAnimationEnabled=Fg,i}function Gg(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function Fg(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Wg(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function Hg(t,e,i,n){var o=new tb,a=new tb;return o.add(a),o.__pictorialBundle=a,a.attr("position",i.bundlePosition.slice()),i.symbolRepeat?Eg(o,e,i):Rg(o,e,i),zg(o,i,n),Bg(o,e,i,n),o.__pictorialShapeStr=Xg(t,i),o.__pictorialSymbolMeta=i,o}function Zg(t,e,i){var n=i.animationModel,o=i.dataIndex;Io(t.__pictorialBundle,{position:i.bundlePosition.slice()},n,o),i.symbolRepeat?Eg(t,e,i,!0):Rg(t,e,i,!0),zg(t,i,!0),Bg(t,e,i,!0)}function Ug(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var a=[];jg(n,function(t){a.push(t)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),d(a,function(t){Io(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function Xg(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function jg(t,e,i){d(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function Yg(t,e,i,n,o,a){e&&t.attr(e),n.symbolClip&&!o?i&&t.attr(i):i&&zM[o?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,a)}function qg(t,e,i){var n=i.color,o=i.dataIndex,a=i.itemModel,s=a.getModel("itemStyle").getItemStyle(["color"]),l=a.getModel("emphasis.itemStyle").getItemStyle(),u=a.getShallow("cursor");jg(t,function(t){t.setColor(n),t.setStyle(r({fill:n,opacity:i.opacity},s)),fo(t,l),u&&(t.cursor=u),t.z2=i.z2});var h={},c=e.valueDim.posDesc[+(i.boundingLength>0)],d=t.__pictorialBarRect;kh(d.style,h,a,n,e.seriesModel,o,c),fo(d,h)}function Kg(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}function $g(t,e,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,i),this.model=t}function Jg(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,o={},a=n.position,r=n.orient,s=i.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]}};o.position=["vertical"===r?u.vertical[a]:l[0],"horizontal"===r?u.horizontal[a]:l[3]];var h={horizontal:0,vertical:1};o.rotation=Math.PI/2*h[r];var c={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=c[a],t.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),T(e.labelInside,t.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var d=e.rotate;return null==d&&(d=t.get("axisLabel.rotate")),o.labelRotation="top"===a?-d:d,o.z2=1,o}function Qg(t,e,i,n,o){var r=t.axis;if(!r.scale.isBlank()&&r.containData(e))if(t.involveSeries){var s=tm(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&a(o,l[0]),!n&&t.snap&&r.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l,o),i.showTooltip(t,s,u)}else i.showPointer(t,e)}function tm(t,e){var i=e.axis,n=i.dim,o=t,a=[],r=Number.MAX_VALUE,s=-1;return _P(e.seriesModels,function(e,l){var u,h,c=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(c,t,i);h=d.dataIndices,u=d.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===i.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=r&&((p<r||f>=0&&s<0)&&(r=p,s=f,o=u,a.length=0),_P(h,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:o}}function em(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function im(t,e,i,n){var o=i.payloadBatch,a=e.axis,r=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&o.length){var l=e.coordSys.model,u=Ah(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:a.dim,axisIndex:r.componentIndex,axisType:r.type,axisId:r.id,value:n,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:o.slice()})}}function nm(t,e,i){var n=i.axesInfo=[];_P(e,function(e,i){var o=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(o.status="show"),o.value=a.value,o.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(o.status="hide"),"show"===o.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:o.value})})}function om(t,e,i,n){if(!lm(e)&&t.list.length){var o=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function am(t,e,i){var n=i.getZr(),o=bP(n).axisPointerLastHighlights||{},a=bP(n).axisPointerLastHighlights={};_P(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&_P(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t})});var r=[],s=[];d(o,function(t,e){!a[e]&&s.push(t)}),d(a,function(t,e){!o[e]&&r.push(t)}),s.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:s}),r.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:r})}function rm(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function sm(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function lm(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function um(t,e,i){if(!U_.node){var n=e.getZr();SP(n).records||(SP(n).records={}),hm(n,e),(SP(n).records[t]||(SP(n).records[t]={})).handler=i}}function hm(t,e){function i(i,n){t.on(i,function(i){var o=pm(e);MP(SP(t).records,function(t){t&&n(t,i,o.dispatchAction)}),cm(o.pendings,e)})}SP(t).initialized||(SP(t).initialized=!0,i("click",v(fm,"click")),i("mousemove",v(fm,"mousemove")),i("globalout",dm))}function cm(t,e){var i,n=t.showTip.length,o=t.hideTip.length;n?i=t.showTip[n-1]:o&&(i=t.hideTip[o-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function dm(t,e,i){t.handler("leave",null,i)}function fm(t,e,i,n){e.handler(t,i,n)}function pm(t){var e={showTip:[],hideTip:[]},i=function(n){var o=e[n.type];o?o.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function gm(t,e){if(!U_.node){var i=e.getZr();(SP(i).records||{})[t]&&(SP(i).records[t]=null)}}function mm(){}function vm(t,e,i,n){ym(TP(i).lastProp,n)||(TP(i).lastProp=n,e?Io(i,n,t):(i.stopAnimation(),i.attr(n)))}function ym(t,e){if(w(t)&&w(e)){var i=!0;return d(e,function(e,n){i=i&&ym(t[n],e)}),!!i}return t===e}function xm(t,e){t[e.get("label.show")?"show":"hide"]()}function _m(t){return{position:t.position.slice(),rotation:t.rotation||0}}function wm(t,e,i){var n=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=o&&(t.zlevel=o),t.silent=i)})}function bm(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle()).fill=null:"shadow"===i&&((e=n.getAreaStyle()).stroke=null),e}function Sm(t,e,i,n,o){var a=Im(i.get("value"),e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),r=i.getModel("label"),s=qM(r.get("padding")||0),l=r.getFont(),u=ke(a,l),h=o.position,c=u.width+s[1]+s[3],d=u.height+s[0]+s[2],f=o.align;"right"===f&&(h[0]-=c),"center"===f&&(h[0]-=c/2);var p=o.verticalAlign;"bottom"===p&&(h[1]-=d),"middle"===p&&(h[1]-=d/2),Mm(h,c,d,n);var g=r.get("backgroundColor");g&&"auto"!==g||(g=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:c,height:d,r:r.get("borderRadius")},position:h.slice(),style:{text:a,textFont:l,textFill:r.getTextColor(),textPosition:"inside",fill:g,stroke:r.get("borderColor")||"transparent",lineWidth:r.get("borderWidth")||0,shadowBlur:r.get("shadowBlur"),shadowColor:r.get("shadowColor"),shadowOffsetX:r.get("shadowOffsetX"),shadowOffsetY:r.get("shadowOffsetY")},z2:10}}function Mm(t,e,i,n){var o=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,o)-e,t[1]=Math.min(t[1]+i,a)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function Im(t,e,i,n,o){t=e.scale.parse(t);var a=e.scale.getLabel(t,{precision:o.precision}),r=o.formatter;if(r){var s={value:Xl(e,t),seriesData:[]};d(n,function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,o=e&&e.getDataParams(n);o&&s.seriesData.push(o)}),_(r)?a=r.replace("{value}",a):x(r)&&(a=r(s))}return a}function Tm(t,e,i){var n=xt();return Mt(n,n,i.rotation),St(n,n,i.position),Do([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function Am(t,e,i,n,o,a){var r=FD.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=o.get("label.margin"),Sm(e,n,o,a,{position:Tm(n.axis,t,i),align:r.textAlign,verticalAlign:r.textVerticalAlign})}function Dm(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function Cm(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function Lm(t,e,i,n,o,a){return{cx:t,cy:e,r0:i,r:n,startAngle:o,endAngle:a,clockwise:!0}}function km(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}function Pm(t){return"x"===t.dim?0:1}function Nm(t){return t.isHorizontal()?0:1}function Om(t,e){var i=t.getRect();return[i[kP[e]],i[kP[e]]+i[PP[e]]]}function Em(t,e,i){var n=new yM({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return To(n,{shape:{width:t.width+20,height:t.height+20}},e,i),n}function Rm(t,e,i){if(t.count())for(var n,o=e.coordinateSystem,a=e.getLayerSeries(),r=t.mapDimension("single"),s=t.mapDimension("value"),l=f(a,function(e){return f(e.indices,function(e){var i=o.dataToPoint(t.get(r,e));return i[1]=t.get(s,e),i})}),u=zm(l),h=u.y0,c=i/u.max,d=a.length,p=a[0].indices.length,g=0;g<p;++g){n=h[g]*c,t.setItemLayout(a[0].indices[g],{layerIndex:0,x:l[0][g][0],y0:n,y:l[0][g][1]*c});for(var m=1;m<d;++m)n+=l[m-1][g][1]*c,t.setItemLayout(a[m].indices[g],{layerIndex:m,x:l[m][g][0],y0:n,y:l[m][g][1]*c})}}function zm(t){for(var e=t.length,i=t[0].length,n=[],o=[],a=0,r={},s=0;s<i;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];u>a&&(a=u),n.push(u)}for(var h=0;h<i;++h)o[h]=(a-n[h])/2;a=0;for(var c=0;c<i;++c){var d=n[c]+o[c];d>a&&(a=d)}return r.y0=o,r.max=a,r}function Bm(t){var e=0;d(t.children,function(t){Bm(t);var i=t.value;y(i)&&(i=i[0]),e+=i});var i=t.value;y(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),y(t.value)?t.value[0]=i:t.value=i}function Vm(t,e,i){function n(){r.ignore=r.hoverIgnore}function o(){r.ignore=r.normalIgnore}tb.call(this);var a=new hM({z2:zP});a.seriesIndex=e.seriesIndex;var r=new rM({z2:BP,silent:t.getModel("label").get("silent")});this.add(a),this.add(r),this.updateData(!0,t,"normal",e,i),this.on("emphasis",n).on("normal",o).on("mouseover",n).on("mouseout",o)}function Gm(t,e,i){var n=t.getVisual("color"),o=t.getVisual("visualMeta");o&&0!==o.length||(n=null);var a=t.getModel("itemStyle").get("color");if(a)return a;if(n)return n;if(0===t.depth)return i.option.color[0];var r=i.option.color.length;return a=i.option.color[Fm(t)%r]}function Fm(t){for(var e=t;e.depth>1;)e=e.parentNode;return l(t.getAncestors()[0].children,e)}function Wm(t,e,i){return i!==RP.NONE&&(i===RP.SELF?t===e:i===RP.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function Hm(t,e,i){e.getData().setItemVisual(t.dataIndex,"color",i)}function Zm(t,e){var i=t.children||[];t.children=Um(i,e),i.length&&d(t.children,function(t){Zm(t,e)})}function Um(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}function Xm(t,e){return e=e||[0,0],f(["x","y"],function(i,n){var o=this.getAxis(i),a=e[n],r=t[n]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-r)-o.dataToCoord(a+r))},this)}function jm(t,e){return e=e||[0,0],f([0,1],function(i){var n=e[i],o=t[i]/2,a=[],r=[];return a[i]=n-o,r[i]=n+o,a[1-i]=r[1-i]=e[1-i],Math.abs(this.dataToPoint(a)[i]-this.dataToPoint(r)[i])},this)}function Ym(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,o=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-o)-i.dataToCoord(n+o))}function qm(t,e){return f(["Radius","Angle"],function(i,n){var o=this["get"+i+"Axis"](),a=e[n],r=t[n]/2,s="dataTo"+i,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===i&&(l=l*Math.PI/180),l},this)}function Km(t){var e,i=t.type;if("path"===i){var n=t.shape,o=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,a=lv(n);(e=Xn(a,null,o,n.layout||"center")).__customPathData=a}else"image"===i?(e=new fi({})).__customImagePath=t.style.image:"text"===i?(e=new rM({})).__customText=t.style.text:e=new(0,zM[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}function $m(t,e,n,o,a,r,s){var l={},u=n.style||{};if(n.shape&&(l.shape=i(n.shape)),n.position&&(l.position=n.position.slice()),n.scale&&(l.scale=n.scale.slice()),n.origin&&(l.origin=n.origin.slice()),n.rotation&&(l.rotation=n.rotation),"image"===t.type&&n.style){h=l.style={};d(["x","y","width","height"],function(e){Jm(e,h,u,t.style,r)})}if("text"===t.type&&n.style){var h=l.style={};d(["x","y"],function(e){Jm(e,h,u,t.style,r)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke)}if("group"!==t.type&&(t.useStyle(u),r)){t.style.opacity=0;var c=u.opacity;null==c&&(c=1),To(t,{style:{opacity:c}},o,e)}r?t.attr(l):Io(t,l,o,e),n.hasOwnProperty("z2")&&t.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&t.attr("silent",n.silent),n.hasOwnProperty("invisible")&&t.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&t.attr("ignore",n.ignore),n.hasOwnProperty("info")&&t.attr("info",n.info);var f=n.styleEmphasis,p=!1===f;t.__cusHasEmphStl&&null==f||!t.__cusHasEmphStl&&p||(ro(t,f),t.__cusHasEmphStl=!p),s&&po(t,!p)}function Jm(t,e,i,n,o){null==i[t]||o||(e[t]=i[t],i[t]=n[t])}function Qm(t,e,i,n){function o(t){null==t&&(t=h),v&&(c=e.getItemModel(t),d=c.getModel(UP),f=c.getModel(XP),p=e.getItemVisual(t,"color"),v=!1)}var s=t.get("renderItem"),l=t.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():YP[l.type](l));var h,c,d,f,p,g=r({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,i){return null==i&&(i=h),e.get(e.getDimension(t||0),i)},style:function(i,n){null==n&&(n=h),o(n);var r=c.getModel(HP).getItemStyle();null!=p&&(r.fill=p);var s=e.getItemVisual(n,"opacity");return null!=s&&(r.opacity=s),mo(r,d,null,{autoColor:p,isRectText:!0}),r.text=d.getShallow("show")?A(t.getFormattedLabel(n,"normal"),_u(e,n)):null,i&&a(r,i),r},styleEmphasis:function(i,n){null==n&&(n=h),o(n);var r=c.getModel(ZP).getItemStyle();return mo(r,f,null,{isRectText:!0},!0),r.text=f.getShallow("show")?D(t.getFormattedLabel(n,"emphasis"),t.getFormattedLabel(n,"normal"),_u(e,n)):null,i&&a(r,i),r},visual:function(t,i){return null==i&&(i=h),e.getItemVisual(i,t)},barLayout:function(t){if(l.getBaseAxis)return Ll(r({axis:l.getBaseAxis()},t),n)},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(t){return So(t,i)}},u.api||{}),m={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:u.coordSys,dataInsideLength:e.count(),encode:tv(t.getData())},v=!0;return function(t,i){return h=t,v=!0,s&&s(r({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:i?i.type:null},m),g)}}function tv(t){var e={};return d(t.dimensions,function(i,n){var o=t.getDimensionInfo(i);if(!o.isExtraCoord){var a=o.coordDim;(e[a]=e[a]||[])[o.coordDimIndex]=n}}),e}function ev(t,e,i,n,o,a){return(t=iv(t,e,i,n,o,a,!0))&&a.setItemGraphicEl(e,t),t}function iv(t,e,i,n,o,a,r){var s=!i,l=(i=i||{}).type,u=i.shape,h=i.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&uv(u)&&lv(u)!==t.__customPathData||"image"===l&&hv(h,"image")&&h.image!==t.__customImagePath||"text"===l&&hv(u,"text")&&h.text!==t.__customText)&&(o.remove(t),t=null),!s){var c=!t;return!t&&(t=Km(i)),$m(t,e,i,n,a,c,r),"group"===l&&nv(t,e,i,n,a),o.add(t),t}}function nv(t,e,i,n,o){var a=i.children,r=a?a.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(r||l||u)if(l)ov({oldChildren:t.children()||[],newChildren:a||[],dataIndex:e,animatableModel:n,group:t,data:o});else{u&&t.removeAll();for(var h=0;h<r;h++)a[h]&&iv(t.childAt(h),e,a[h],n,t,o)}}function ov(t){new Xs(t.oldChildren,t.newChildren,av,av,t).add(rv).update(rv).remove(sv).execute()}function av(t,e){var i=t&&t.name;return null!=i?i:jP+e}function rv(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null;iv(null!=e?i.oldChildren[e]:null,i.dataIndex,n,i.animatableModel,i.group,i.data)}function sv(t){var e=this.context,i=e.oldChildren[t];i&&e.group.remove(i)}function lv(t){return t&&(t.pathData||t.d)}function uv(t){return t&&(t.hasOwnProperty("pathData")||t.hasOwnProperty("d"))}function hv(t,e){return t&&t.hasOwnProperty(e)}function cv(t,e,i,n){var o=i.type,a=new(0,zM[o.charAt(0).toUpperCase()+o.slice(1)])(i);e.add(a),n.set(t,a),a.__ecGraphicId=t}function dv(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){dv(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function fv(t){return t=a({},t),d(["id","parentId","$action","hv","bounding"].concat(nI),function(e){delete t[e]}),t}function pv(t,e){var i;return d(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}function gv(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function mv(t,e,i){var o=a({},i),r=t[e],s=i.$action||"merge";"merge"===s?r?(n(r,o,!0),pa(r,o,{ignoreSize:!0}),ma(i,r)):t[e]=o:"replace"===s?t[e]=o:"remove"===s&&r&&(t[e]=null)}function vv(t,e){t&&(t.hv=e.hv=[pv(e,["left","right"]),pv(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function yv(t,e,i){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=t.info)}function xv(t,e,i){var n,o={},a="toggleSelected"===t;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name)),d(i.getData(),function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&n:o[e]=n}})}),{name:e.name,selected:o}}function _v(t,e,i){var n=e.getBoxLayoutParams(),o=e.get("padding"),a={width:i.getWidth(),height:i.getHeight()},r=ca(n,a,o);aI(e.get("orient"),t,e.get("itemGap"),r.width,r.height),da(t,n,a,o)}function wv(t,e){var i=qM(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new yM({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1})}function bv(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function Sv(t,e,i,n){var o=i.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function Mv(t,e,i,n){var o=i.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}function Iv(t,e,i){var n=[1,1];n[t.getOrient().index]=0,pa(e,i,{type:"box",ignoreSize:n})}function Tv(t){var e="left "+t+"s cubic-bezier(0.23, 1, 0.32, 1),top "+t+"s cubic-bezier(0.23, 1, 0.32, 1)";return f(lN,function(t){return t+"transition:"+e}).join(";")}function Av(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),rN(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function Dv(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),o=t.getModel("textStyle"),a=t.get("padding");return i&&e.push(Tv(i)),n&&(U_.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+Zt(n)),e.push("filter:alpha(opacity=70)"))),rN(["width","color","radius"],function(i){var n="border-"+i,o=sN(n),a=t.get(o);null!=a&&e.push(n+":"+a+("color"===i?"":"px"))}),e.push(Av(o)),null!=a&&e.push("padding:"+qM(a).join("px ")+"px"),e.join(";")+";"}function Cv(t,e){if(U_.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!o._enterable){var i=n.handler;ut(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}function Lv(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}function kv(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(No.isInstance(i)&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new No(i,e,e.ecModel))}return e}function Pv(t,e){return t.dispatchAction||m(e.dispatchAction,e)}function Nv(t,e,i,n,o,a,r){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a>n?t-=l+a:t+=a),null!=r&&(e+u+r>o?e-=u+r:e+=r),[t,e]}function Ov(t,e,i,n,o){var a=i.getOuterSize(),r=a.width,s=a.height;return t=Math.min(t+r,n)-r,e=Math.min(e+s,o)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function Ev(t,e,i){var n=i[0],o=i[1],a=0,r=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-n/2,r=e.y+l/2-o/2;break;case"top":a=e.x+s/2-n/2,r=e.y-o-5;break;case"bottom":a=e.x+s/2-n/2,r=e.y+l+5;break;case"left":a=e.x-n-5,r=e.y+l/2-o/2;break;case"right":a=e.x+s+5,r=e.y+l/2-o/2}return[a,r]}function Rv(t){return"center"===t||"middle"===t}function zv(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function Bv(t){return t.dim}function Vv(t,e){var i={};d(t,function(t,e){var n=t.getData(),o=t.coordinateSystem.getBaseAxis(),a=o.getExtent(),r="category"===o.type?o.getBandWidth():Math.abs(a[1]-a[0])/n.count(),s=i[Bv(o)]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},l=s.stacks;i[Bv(o)]=s;var u=zv(t);l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var h=Vo(t.get("barWidth"),r),c=Vo(t.get("barMaxWidth"),r),d=t.get("barGap"),f=t.get("barCategoryGap");h&&!l[u].width&&(h=Math.min(s.remainedWidth,h),l[u].width=h,s.remainedWidth-=h),c&&(l[u].maxWidth=c),null!=d&&(s.gap=d),null!=f&&(s.categoryGap=f)});var n={};return d(i,function(t,e){n[e]={};var i=t.stacks,o=t.bandWidth,a=Vo(t.categoryGap,o),r=Vo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*r);u=Math.max(u,0),d(i,function(t,e){var i=t.maxWidth;i&&i<u&&(i=Math.min(i,s),t.width&&(i=Math.min(i,t.width)),s-=i,t.width=i,l--)}),u=(s-a)/(l+(l-1)*r),u=Math.max(u,0);var h,c=0;d(i,function(t,e){t.width||(t.width=u),h=t,c+=t.width*(1+r)}),h&&(c-=h.width*r);var f=-c/2;d(i,function(t,i){n[e][i]=n[e][i]||{offset:f,width:t.width},f+=t.width*(1+r)})}),n}function Gv(t,e){aD.call(this,"radius",t,e),this.type="category"}function Fv(t,e){e=e||[0,360],aD.call(this,"angle",t,e),this.type="category"}function Wv(t,e){return e.type||(e.data?"category":"value")}function Hv(t,e,i){var n=e.get("center"),o=i.getWidth(),a=i.getHeight();t.cx=Vo(n[0],o),t.cy=Vo(n[1],a);var r=t.getRadiusAxis(),s=Math.min(o,a)/2,l=Vo(e.get("radius"),s);r.inverse?r.setExtent(l,0):r.setExtent(0,l)}function Zv(t,e){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();d(e.mapDimension("radius",!0),function(t){o.scale.unionExtentFromData(e,gl(e,t))}),d(e.mapDimension("angle",!0),function(t){n.scale.unionExtentFromData(e,gl(e,t))})}}),Wl(n.scale,n.model),Wl(o.scale,o.model),"category"===n.type&&!n.onBand){var a=n.getExtent(),r=360/n.scale.count();n.inverse?a[1]+=r:a[1]-=r,n.setExtent(a[0],a[1])}}function Uv(t,e){if(t.type=e.get("type"),t.scale=Hl(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}function Xv(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),o=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:o[0],y2:o[1]}}function jv(t){return t.getRadiusAxis().inverse?0:1}function Yv(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}function qv(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}function Kv(t,e,i,n,o){var a=e.axis,r=a.dataToCoord(t),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=n.getRadiusAxis().getExtent();if("radius"===a.dim){var d=xt();Mt(d,d,s),St(d,d,[n.cx,n.cy]),l=Do([r,-o],d);var f=e.getModel("axisLabel").get("rotate")||0,p=FD.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,h=p.textVerticalAlign}else{var g=c[1];l=n.coordToPoint([g+o,r]);var m=n.cx,v=n.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}function $v(t,e){e.update="updateView",Es(e,function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},function(i){i[t](e.name),d(i.coordinateSystem.regions,function(t){n[t.name]=i.isSelected(t.name)||!1})}),{selected:n,name:e.name}})}function Jv(t){var e={};d(t,function(t){e[t]=1}),t.length=0,d(e,function(e,i){t.push(i)})}function Qv(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function ty(t,e,n){function o(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}var a={};return MN(e,function(e){var r=a[e]=o();MN(t[e],function(t,o){if(hL.isValidType(o)){var a={type:o,visual:t};n&&n(a,e),r[o]=new hL(a),"opacity"===o&&((a=i(a)).type="colorAlpha",r.__hidden.__alphaForOpacity=new hL(a))}})}),a}function ey(t,e,n){var o;d(n,function(t){e.hasOwnProperty(t)&&Qv(e[t])&&(o=!0)}),o&&d(n,function(n){e.hasOwnProperty(n)&&Qv(e[n])?t[n]=i(e[n]):delete t[n]})}function iy(t,e,i,n,o,a){function r(t){return i.getItemVisual(h,t)}function s(t,e){i.setItemVisual(h,t,e)}function l(t,l){h=null==a?t:l;var c=i.getRawDataItem(h);if(!c||!1!==c.visualMap)for(var d=n.call(o,t),f=e[d],p=u[d],g=0,m=p.length;g<m;g++){var v=p[g];f[v]&&f[v].applyVisual(t,r,s)}}var u={};d(t,function(t){var i=hL.prepareVisualTypes(e[t]);u[t]=i});var h;null==a?i.each(l):i.each([a],l)}function ny(t,e,i,n){var o={};return d(t,function(t){var i=hL.prepareVisualTypes(e[t]);o[t]=i}),{progress:function(t,a){null!=n&&(n=a.getDimension(n));for(var r;null!=(r=t.next());){var s=a.getRawDataItem(r);if(!s||!1!==s.visualMap)for(var l=null!=n?a.get(n,r,!0):r,u=i(l),h=e[u],c=o[u],d=0,f=c.length;d<f;d++){var p=c[d];h[p]&&h[p].applyVisual(l,function(t){return a.getItemVisual(r,t)},function(t,e){a.setItemVisual(r,t,e)})}}}}}function oy(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var o=n.range;return ay(e[t],o)}},rect:function(n,o,a){if(n){var r=a.range,s=[n[e[t]],n[e[t]]+n[i[t]]];return s[1]<s[0]&&s.reverse(),ay(s[0],r)||ay(s[1],r)||ay(r[0],s)||ay(r[1],s)}}}}function ay(t,e){return e[0]<=t&&t<=e[1]}function ry(t,e,i,n,o){for(var a=0,r=o[o.length-1];a<o.length;a++){var s=o[a];if(sy(t,e,i,n,s[0],s[1],r[0],r[1]))return!0;r=s}}function sy(t,e,i,n,o,a,r,s){var l=uy(i-t,o-r,n-e,a-s);if(ly(l))return!1;var u=uy(o-t,o-r,a-e,a-s)/l;if(u<0||u>1)return!1;var h=uy(i-t,o-t,n-e,a-e)/l;return!(h<0||h>1)}function ly(t){return t<=1e-6&&t>=-1e-6}function uy(t,e,i,n){return t*n-e*i}function hy(t,e,i){var n=this._targetInfoList=[],o={},a=dy(e,t);TN(PN,function(t,e){(!i||!i.include||AN(i.include,e)>=0)&&t(a,n,o)})}function cy(t){return t[0]>t[1]&&t.reverse(),t}function dy(t,e){return Vi(t,e,{includeMainTypes:LN})}function fy(t,e,i,n){var o=i.getAxis(["x","y"][t]),a=cy(f([0,1],function(t){return e?o.coordToData(o.toLocalCoord(n[t])):o.toGlobalCoord(o.dataToCoord(n[t]))})),r=[];return r[t]=a,r[1-t]=[NaN,NaN],{values:a,xyMinMax:r}}function py(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function gy(t,e){var i=my(t),n=my(e),o=[i[0]/n[0],i[1]/n[1]];return isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o}function my(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}function vy(t,e,i,n,o){if(o){var a=t.getZr();a[VN]||(a[BN]||(a[BN]=yy),Nr(a,BN,i,e)(t,n))}}function yy(t,e){if(!t.isDisposed()){var i=t.getZr();i[VN]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[VN]=!1}}function xy(t,e,i,n){for(var o=0,a=e.length;o<a;o++){var r=e[o];if(t[r.brushType](n,i,r.selectors,r))return!0}}function _y(t){var e=t.brushSelector;if(_(e)){var i=[];return d(IN,function(t,n){i[n]=function(i,n,o,a){var r=n.getItemLayout(i);return t[e](r,o,a)}}),i}if(x(e)){var n={};return d(IN,function(t,i){n[i]=e}),n}return e}function wy(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(y(i)?l(i,e)<0:e!==i)}function by(t){var e=t.selectors={};return d(IN[t.brushType],function(i,n){e[n]=function(n){return i(n,e,t)}}),t}function Sy(t){return new de(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}function My(t,e){return n({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new No(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}function Iy(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}function Ty(t,e){HN[t]=e}function Ay(t){return HN[t]}function Dy(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushType,this._brushMode}function Cy(t,e,i){this._model=t}function Ly(t,e,i,n){var o=i.calendarModel,a=i.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem:null;return r===this?r[t](n):null}function ky(t,e){var i=t.cellSize;y(i)?1===i.length&&(i[1]=i[0]):i=t.cellSize=[i,i];var n=f([0,1],function(t){return fa(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]});pa(t,e,{type:"box",ignoreSize:n})}function Py(t){return l(qN,t)>=0}function Ny(t,e,i){function n(t,e){return l(e.nodes,t)>=0}function o(t,n){var o=!1;return e(function(e){d(i(t,e)||[],function(t){n.records[e.name][t]&&(o=!0)})}),o}function a(t,n){n.nodes.push(t),e(function(e){d(i(t,e)||[],function(t){n.records[e.name][t]=!0})})}return function(i){var r={nodes:[],records:{}};if(e(function(t){r.records[t.name]={}}),!i)return r;a(i,r);var s;do{s=!1,t(function(t){!n(t,r)&&o(t,r)&&(a(t,r),s=!0)})}while(s);return r}}function Oy(t,e,i){var n=[1/0,-1/0];return $N(i,function(t){var i=t.getData();i&&$N(i.mapDimension(e,!0),function(t){var e=i.getApproximateExtent(t);e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])})}),n[1]<n[0]&&(n=[NaN,NaN]),Ey(t,n),n}function Ey(t,e){var i=t.getAxisModel(),n=i.getMin(!0),o="category"===i.get("type"),a=o&&i.getCategories().length;null!=n&&"dataMin"!==n&&"function"!=typeof n?e[0]=n:o&&(e[0]=a>0?0:NaN);var r=i.getMax(!0);return null!=r&&"dataMax"!==r&&"function"!=typeof r?e[1]=r:o&&(e[1]=a>0?a-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function Ry(t,e){var i=t.getAxisModel(),n=t._percentWindow,o=t._valueWindow;if(n){var a=Zo(o,[0,500]);a=Math.min(a,20);var r=e||0===n[0]&&100===n[1];i.setRange(r?null:+o[0].toFixed(a),r?null:+o[1].toFixed(a))}}function zy(t){var e=t._minMaxSpan={},i=t._dataZoomModel;$N(["min","max"],function(n){e[n+"Span"]=i.get(n+"Span");var o=i.get(n+"ValueSpan");if(null!=o&&(e[n+"ValueSpan"]=o,null!=(o=t.getAxisModel().axis.scale.parse(o)))){var a=t._dataExtent;e[n+"Span"]=Bo(a[0]+o,a,[0,100],!0)}})}function By(t){var e={};return tO(["start","end","startValue","endValue","throttle"],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e}function Vy(t,e){var i=t._rangePropMode,n=t.get("rangeMode");tO([["start","startValue"],["end","endValue"]],function(t,o){var a=null!=e[t[0]],r=null!=e[t[1]];a&&!r?i[o]="percent":!a&&r?i[o]="value":n?i[o]=n[o]:a&&(i[o]="percent")})}function Gy(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}function Fy(t){return"vertical"===t?"ns-resize":"ew-resize"}function Wy(t,e){var i=Uy(t),n=e.dataZoomId,o=e.coordId;d(i,function(t,i){var a=t.dataZoomInfos;a[n]&&l(e.allCoordIds,o)<0&&(delete a[n],t.count--)}),jy(i);var a=i[o];a||((a=i[o]={coordId:o,dataZoomInfos:{},count:0}).controller=Xy(t,a),a.dispatchAction=v(Yy,t)),!a.dataZoomInfos[n]&&a.count++,a.dataZoomInfos[n]=e;var r=qy(a.dataZoomInfos);a.controller.enable(r.controlType,r.opt),a.controller.setPointerChecker(e.containsPoint),Nr(a,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function Hy(t,e){var i=Uy(t);d(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),jy(i)}function Zy(t){return t.type+"\0_"+t.id}function Uy(t){var e=t.getZr();return e[fO]||(e[fO]={})}function Xy(t,e){var i=new oc(t.getZr());return d(["pan","zoom","scrollMove"],function(t){i.on(t,function(i){var n=[];d(e.dataZoomInfos,function(o){if(i.isAvailableBehavior(o.dataZoomModel.option)){var a=(o.getRange||{})[t],r=a&&a(e.controller,i);!o.dataZoomModel.get("disabled",!0)&&r&&n.push({dataZoomId:o.dataZoomId,start:r[0],end:r[1]})}}),n.length&&e.dispatchAction(n)})}),i}function jy(t){d(t,function(e,i){e.count||(e.controller.dispose(),delete t[i])})}function Yy(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function qy(t){var e,i={type_true:2,type_move:1,type_false:0,type_undefined:-1},n=!0;return d(t,function(t){var o=t.dataZoomModel,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i["type_"+a]>i["type_"+e]&&(e=a),n&=o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function Ky(t){return function(e,i,n,o){var a=this._range,r=a.slice(),s=e.axisModels[0];if(s){var l=t(r,s,e,i,n,o);return QL(l,r,[0,100],"all"),this._range=r,a[0]!==r[0]||a[1]!==r[1]?r:void 0}}}function $y(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}function Jy(t,e,i,n){for(var o=e.targetVisuals[n],a=hL.prepareVisualTypes(o),r={color:t.getData().getVisual("color")},s=0,l=a.length;s<l;s++){var u=a[s],h=o["opacity"===u?"__alphaForOpacity":u];h&&h.applyVisual(i,function(t){return r[t]},function(t,e){r[t]=e})}return r.color}function Qy(t,e,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,o=i[0],a=[],r=0;r<=200&&o<i[1];r++)a.push(o),o+=n;return a.push(i[1]),a}function tx(t,e,i){var n=t.option,o=n.align;if(null!=o&&"auto"!==o)return o;for(var a={width:e.getWidth(),height:e.getHeight()},r="horizontal"===n.orient?1:0,s=[["left","right","width"],["top","bottom","height"]],l=s[r],u=[0,null,10],h={},c=0;c<3;c++)h[s[1-r][c]]=u[c],h[l[c]]=2===c?i[0]:n[l[c]];var d=[["x","width",3],["y","height",0]][r],f=ca(h,a,n.padding);return l[(f.margin[d[2]]||0)+f[d[0]]+.5*f[d[1]]<.5*a[d[1]]?0:1]}function ex(t){return d(t||[],function(e){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null)}),t}function ix(t,e,i,n){return new pM({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){mw(t.event)},ondragend:n})}function nx(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function ox(t,e,i,n){return t?[[0,-RO(e,zO(i,0))],[VO,0],[0,RO(e,zO(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function ax(t,e,i){var n=BO/2,o=t.get("hoverLinkDataSize");return o&&(n=OO(o,e,i,!0)/2),n}function rx(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function sx(t){return"vertical"===t?"ns-resize":"ew-resize"}function lx(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}function ux(t){Ci(t,"label",["show"])}function hx(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function cx(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function dx(t,e,i,n,o,a){var r=[],s=pl(e,n)?e.getCalculationInfo("stackResultDimension"):n,l=yx(e,s,t),u=e.indicesOfNearest(s,l)[0];r[o]=e.get(i,u),r[a]=e.get(n,u);var h=Wo(e.get(n,u));return(h=Math.min(h,20))>=0&&(r[a]=+r[a].toFixed(h)),r}function fx(t,e){var n=t.getData(),o=t.coordinateSystem;if(e&&!cx(e)&&!y(e.coord)&&o){var a=o.dimensions,r=px(e,n,o,t);if((e=i(e)).type&&YO[e.type]&&r.baseAxis&&r.valueAxis){var s=XO(a,r.baseAxis.dim),l=XO(a,r.valueAxis.dim);e.coord=YO[e.type](n,r.baseDataDim,r.valueDataDim,s,l),e.value=e.coord[l]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],h=0;h<2;h++)YO[u[h]]&&(u[h]=yx(n,n.mapDimension(a[h]),u[h]));e.coord=u}}return e}function px(t,e,i,n){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=i.getAxis(gx(n,o.valueDataDim)),o.baseAxis=i.getOtherAxis(o.valueAxis),o.baseDataDim=e.mapDimension(o.baseAxis.dim)):(o.baseAxis=n.getBaseAxis(),o.valueAxis=i.getOtherAxis(o.baseAxis),o.baseDataDim=e.mapDimension(o.baseAxis.dim),o.valueDataDim=e.mapDimension(o.valueAxis.dim)),o}function gx(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var o=0;o<n.length;o++){var a=i.getDimensionInfo(n[o]);if(a.name===e)return a.coordDim}}function mx(t,e){return!(t&&t.containData&&e.coord&&!hx(e))||t.containData(e.coord)}function vx(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value}function yx(t,e,i){if("average"===i){var n=0,o=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,o++)}),n/o}return"median"===i?t.getMedian(e):t.getDataExtent(e,!0)["max"===i?1:0]}function xx(t,e,i){var n=e.coordinateSystem;t.each(function(o){var a,r=t.getItemModel(o),s=Vo(r.get("x"),i.getWidth()),l=Vo(r.get("y"),i.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,o));else if(n){var u=t.get(n.dimensions[0],o),h=t.get(n.dimensions[1],o);a=n.dataToPoint([u,h])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),t.setItemLayout(o,a)})}function _x(t,e,i){var n;n=t?f(t&&t.dimensions,function(t){return r({name:t},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{})}):[{name:"value",type:"float"}];var o=new vA(n,i),a=f(i.get("data"),v(fx,e));return t&&(a=g(a,v(mx,t))),o.initData(a,null,t?vx:function(t){return t.value}),o}function bx(t){return!isNaN(t)&&!isFinite(t)}function Sx(t,e,i,n){var o=1-t,a=n.dimensions[t];return bx(e[o])&&bx(i[o])&&e[t]===i[t]&&n.getAxis(a).containData(e[t])}function Mx(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(Sx(1,i,n,t)||Sx(0,i,n,t)))return!0}return mx(t,e[0])&&mx(t,e[1])}function Ix(t,e,i,n,o){var a,r=n.coordinateSystem,s=t.getItemModel(e),l=Vo(s.get("x"),o.getWidth()),u=Vo(s.get("y"),o.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)a=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=r.dimensions,c=t.get(h[0],e),d=t.get(h[1],e);a=r.dataToPoint([c,d])}if("cartesian2d"===r.type){var f=r.getAxis("x"),p=r.getAxis("y"),h=r.dimensions;bx(t.get(h[0],e))?a[0]=f.toGlobalCoord(f.getExtent()[i?0:1]):bx(t.get(h[1],e))&&(a[1]=p.toGlobalCoord(p.getExtent()[i?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];t.setItemLayout(e,a)}function Tx(t,e,i){var n;n=t?f(t&&t.dimensions,function(t){return r({name:t},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{})}):[{name:"value",type:"float"}];var o=new vA(n,i),a=new vA(n,i),s=new vA([],i),l=f(i.get("data"),v(KO,e,t,i));t&&(l=g(l,v(Mx,t)));var u=t?vx:function(t){return t.value};return o.initData(f(l,function(t){return t[0]}),null,u),a.initData(f(l,function(t){return t[1]}),null,u),s.initData(f(l,function(t){return t[2]})),s.hasItemOption=!0,{from:o,to:a,line:s}}function Ax(t){return!isNaN(t)&&!isFinite(t)}function Dx(t,e,i,n){var o=1-t;return Ax(e[o])&&Ax(i[o])}function Cx(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!Dx(1,i,n,t)&&!Dx(0,i,n,t))||(mx(t,{coord:i,x:e.x0,y:e.y0})||mx(t,{coord:n,x:e.x1,y:e.y1}))}function Lx(t,e,i,n,o){var a,r=n.coordinateSystem,s=t.getItemModel(e),l=Vo(s.get(i[0]),o.getWidth()),u=Vo(s.get(i[1]),o.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)a=n.getMarkerPosition(t.getValues(i,e));else{var h=[f=t.get(i[0],e),p=t.get(i[1],e)];r.clampData&&r.clampData(h,h),a=r.dataToPoint(h,!0)}if("cartesian2d"===r.type){var c=r.getAxis("x"),d=r.getAxis("y"),f=t.get(i[0],e),p=t.get(i[1],e);Ax(f)?a[0]=c.toGlobalCoord(c.getExtent()["x0"===i[0]?0:1]):Ax(p)&&(a[1]=d.toGlobalCoord(d.getExtent()["y0"===i[1]?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];return a}function kx(t,e,i){var n,o,a=["x0","y0","x1","y1"];t?(n=f(t&&t.dimensions,function(t){var i=e.getData();return r({name:t},i.getDimensionInfo(i.mapDimension(t))||{})}),o=new vA(f(a,function(t,e){return{name:t,type:n[e%2].type}}),i)):o=new vA(n=[{name:"value",type:"float"}],i);var s=f(i.get("data"),v($O,e,t,i));t&&(s=g(s,v(Cx,t)));var l=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(s,null,l),o.hasItemOption=!0,o}function Px(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),Nx(t),Ox(t,"controlPosition")){var n=t.controlStyle||(t.controlStyle={});Ox(n,"position")||(n.position=t.controlPosition),"none"!==n.position||Ox(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition}d(t.data||[],function(t){w(t)&&!y(t)&&(!Ox(t,"value")&&Ox(t,"name")&&(t.value=t.name),Nx(t))})}function Nx(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),n=t.label||t.label||{},o=n.normal||(n.normal={}),a={normal:1,emphasis:1};d(n,function(t,e){a[e]||Ox(o,e)||(o[e]=t)}),i.label&&!Ox(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function Ox(t,e){return t.hasOwnProperty(e)}function Ex(t,e){return ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function Rx(t,e,n,o){return Xn(t.get(e).replace(/^path:\/\//,""),i(o||{}),new de(n[0],n[1],n[2],n[3]),"center")}function zx(t,e,i,o,a,r){var s=e.get("color");a?(a.setColor(s),i.add(a),r&&r.onUpdate(a)):((a=Jl(t.get("symbol"),-1,-1,2,2,s)).setStyle("strokeNoScale",!0),i.add(a),r&&r.onCreate(a));var l=e.getItemStyle(["color","symbol","symbolSize"]);a.setStyle(l),o=n({rectHover:!0,z2:100},o,!0);var u=t.get("symbolSize");(u=u instanceof Array?u.slice():[+u,+u])[0]/=2,u[1]/=2,o.scale=u;var h=t.get("symbolOffset");if(h){var c=o.position=o.position||[0,0];c[0]+=Vo(h[0],u[0]),c[1]+=Vo(h[1],u[1])}var d=t.get("symbolRotate");return o.rotation=(d||0)*Math.PI/180||0,a.attr(o),a.updateTransform(),a}function Bx(t,e,i,n,o){if(!t.dragging){var a=n.getModel("checkpointStyle"),r=i.dataToCoord(n.getData().get(["value"],e));o||!a.get("animation",!0)?t.attr({position:[r,0]}):(t.stopAnimation(!0),t.animateTo({position:[r,0]},a.get("animationDuration",!0),a.get("animationEasing",!0)))}}function Vx(t){return 0===t.indexOf("my")}function Gx(t){this.model=t}function Fx(t){this.model=t}function Wx(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var o=t.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)i.push(t);else{var a=o.getBaseAxis();if("category"===a.type){var r=a.dim+"_"+a.index;e[r]||(e[r]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},n.push({axisDim:a.dim,axisIndex:a.index})),e[r].series.push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function Hx(t){var e=[];return d(t,function(t,i){var n=t.categoryAxis,o=t.valueAxis.dim,a=[" "].concat(f(t.series,function(t){return t.name})),r=[n.model.getCategories()];d(t.series,function(t){r.push(t.getRawData().mapArray(o,function(t){return t}))});for(var s=[a.join(fE)],l=0;l<r[0].length;l++){for(var u=[],h=0;h<r.length;h++)u.push(r[h][l]);s.push(u.join(fE))}e.push(s.join("\n"))}),e.join("\n\n"+dE+"\n\n")}function Zx(t){return f(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,function(){for(var t=arguments.length,o=arguments[t-1],a=e.getName(o),r=0;r<t-1;r++)n[r]=arguments[r];i.push((a?a+fE:"")+n.join(fE))}),i.join("\n")}).join("\n\n"+dE+"\n\n")}function Ux(t){var e=Wx(t);return{value:g([Hx(e.seriesGroupByCategoryAxis),Zx(e.other)],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+dE+"\n\n"),meta:e.meta}}function Xx(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jx(t){if(t.slice(0,t.indexOf("\n")).indexOf(fE)>=0)return!0}function Yx(t){for(var e=t.split(/\n+/g),i=[],n=f(Xx(e.shift()).split(pE),function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var a=Xx(e[o]).split(pE);i.push(a.shift());for(var r=0;r<a.length;r++)n[r]&&(n[r].data[o]=a[r])}return{series:n,categories:i}}function qx(t){for(var e=t.split(/\n+/g),i=Xx(e.shift()),n=[],o=0;o<e.length;o++){var a,r=Xx(e[o]).split(pE),s="",l=!1;isNaN(r[0])?(l=!0,s=r[0],r=r.slice(1),n[o]={name:s,value:[]},a=n[o].value):a=n[o]=[];for(var u=0;u<r.length;u++)a.push(+r[u]);1===a.length&&(l?n[o].value=a[0]:n[o]=a[0])}return{name:i,data:n}}function Kx(t,e){var i={series:[]};return d(t.split(new RegExp("\n*"+dE+"\n*","g")),function(t,n){if(jx(t)){var o=Yx(t),a=e[n],r=a.axisDim+"Axis";a&&(i[r]=i[r]||[],i[r][a.axisIndex]={data:o.categories},i.series=i.series.concat(o.series))}else{o=qx(t);i.series.push(o)}}),i}function $x(t){this._dom=null,this.model=t}function Jx(t,e){return f(t,function(t,i){var n=e&&e[i];return w(n)&&!y(n)?(w(t)&&!y(t)&&(t=t.value),r({value:t},n)):t})}function Qx(t,e){var i=n_(t);gE(e,function(e,n){for(var o=i.length-1;o>=0&&!i[o][n];o--);if(o<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var r=a.getPercentRange();i[0][n]={dataZoomId:n,start:r[0],end:r[1]}}}}),i.push(e)}function t_(t){var e=n_(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return gE(i,function(t,i){for(var o=e.length-1;o>=0;o--)if(t=e[o][i]){n[i]=t;break}}),n}function e_(t){t[mE]=null}function i_(t){return n_(t).length}function n_(t){var e=t[mE];return e||(e=t[mE]=[{}]),e}function o_(t,e,i){(this._brushController=new zf(i.getZr())).on("brush",m(this._onBrush,this)).mount(),this._isZoomActive}function a_(t){var e={};return d(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}function r_(t,e){t.setIconStatus("back",i_(e)>1?"emphasis":"normal")}function s_(t,e,i,n,o){var a=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(a="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var r=new hy(a_(t.option),e,{include:["grid"]});i._brushController.setPanels(r.makePanelOpts(o,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!a&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}function l_(t){this.model=t}function u_(t){return SE(t)}function h_(){if(!TE&&AE){TE=!0;var t=AE.styleSheets;t.length<31?AE.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}function c_(t){return parseInt(t,10)}function d_(t,e){h_(),this.root=t,this.storage=e;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var o=e.delFromStorage,a=e.addToStorage;e.delFromStorage=function(t){o.call(e,t),t&&t.onRemove&&t.onRemove(n)},e.addToStorage=function(t){t.onAdd&&t.onAdd(n),a.call(e,t)},this._firstPaint=!0}function f_(t){return function(){Yw('In IE8.0 VML mode painter not support method "'+t+'"')}}function p_(t){return document.createElementNS(sR,t)}function g_(t){return cR(1e4*t)/1e4}function m_(t){return t<vR&&t>-vR}function v_(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==hR}function y_(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==hR}function x_(t,e){e&&__(t,"transform","matrix("+uR.call(e,",")+")")}function __(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function w_(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}function b_(t,e,i,n){if(v_(e,i)){var o=i?e.textFill:e.fill;o="transparent"===o?hR:o,"none"!==t.getAttribute("clip-path")&&o===hR&&(o="rgba(0, 0, 0, 0.002)"),__(t,"fill",o),__(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else __(t,"fill",hR);if(y_(e,i)){var a=i?e.textStroke:e.stroke;__(t,"stroke",a="transparent"===a?hR:a),__(t,"stroke-width",(i?e.textStrokeWidth:e.lineWidth)/(!i&&e.strokeNoScale?n.getLineScale():1)),__(t,"paint-order",i?"stroke":"fill"),__(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(__(t,"stroke-dasharray",e.lineDash.join(",")),__(t,"stroke-dashoffset",cR(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",hR)}function S_(t){for(var e=[],i=t.data,n=t.len(),o=0;o<n;){var a="",r=0;switch(i[o++]){case lR.M:a="M",r=2;break;case lR.L:a="L",r=2;break;case lR.Q:a="Q",r=4;break;case lR.C:a="C",r=6;break;case lR.A:var s=i[o++],l=i[o++],u=i[o++],h=i[o++],c=i[o++],d=i[o++],f=i[o++],p=i[o++],g=Math.abs(d),m=m_(g-gR)&&!m_(g),v=!1;v=g>=gR||!m_(g)&&(d>-pR&&d<0||d>pR)==!!p;var y=g_(s+u*fR(c)),x=g_(l+h*dR(c));m&&(d=p?gR-1e-4:1e-4-gR,v=!0,9===o&&e.push("M",y,x));var _=g_(s+u*fR(c+d)),w=g_(l+h*dR(c+d));e.push("A",g_(u),g_(h),cR(f*mR),+v,+p,_,w);break;case lR.Z:a="Z";break;case lR.R:var _=g_(i[o++]),w=g_(i[o++]),b=g_(i[o++]),S=g_(i[o++]);e.push("M",_,w,"L",_+b,w,"L",_+b,w+S,"L",_,w+S,"L",_,w)}a&&e.push(a);for(var M=0;M<r;M++)e.push(g_(i[o++]))}return e.join(" ")}function M_(t){return"middle"===t?"middle":"bottom"===t?"after-edge":"hanging"}function I_(){}function T_(t,e,i,n){for(var o=0,a=e.length,r=0,s=0;o<a;o++){var l=e[o];if(l.removed){for(var u=[],h=s;h<s+l.count;h++)u.push(h);l.indices=u,s+=l.count}else{for(var u=[],h=r;h<r+l.count;h++)u.push(h);l.indices=u,r+=l.count,l.added||(s+=l.count)}}return e}function A_(t){return{newPos:t.newPos,components:t.components.slice(0)}}function D_(t,e,i,n,o){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof i?[i]:i,this._markLabel=n,this._domName=o||"_dom",this.nextId=0}function C_(t,e){D_.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}function L_(t,e){D_.call(this,t,e,"clipPath","__clippath_in_use__")}function k_(t,e){D_.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function P_(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}function N_(t){return parseInt(t,10)}function O_(t){return t instanceof Pn?yR:t instanceof fi?xR:t instanceof rM?_R:yR}function E_(t,e){return e&&t&&e.parentNode!==t}function R_(t,e,i){if(E_(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function z_(t,e){if(E_(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function B_(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function V_(t){return t.__textSvgEl}function G_(t){return t.__svgEl}function F_(t){return function(){Yw('In SVG mode painter not support method "'+t+'"')}}var W_=2311,H_=function(){return W_++},Z_={},U_=Z_="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),o=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),r=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),o&&(i.ie=!0,i.version=o[1]),a&&(i.edge=!0,i.version=a[1]),r&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!=typeof document}}(navigator.userAgent),X_={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},j_={"[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},Y_=Object.prototype.toString,q_=Array.prototype,K_=q_.forEach,$_=q_.filter,J_=q_.slice,Q_=q_.map,tw=q_.reduce,ew={},iw=function(){return ew.createCanvas()};ew.createCanvas=function(){return document.createElement("canvas")};var nw,ow="__ec_primitive__";E.prototype={constructor:E,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){void 0!==e&&(t=m(t,e));for(var i in this.data)this.data.hasOwnProperty(i)&&t(this.data[i],i)},removeKey:function(t){delete this.data[t]}};var aw=(Object.freeze||Object)({$override:e,clone:i,merge:n,mergeAll:o,extend:a,defaults:r,createCanvas:iw,getContext:s,indexOf:l,inherits:u,mixin:h,isArrayLike:c,each:d,map:f,reduce:p,filter:g,find:function(t,e,i){if(t&&e)for(var n=0,o=t.length;n<o;n++)if(e.call(i,t[n],n,t))return t[n]},bind:m,curry:v,isArray:y,isFunction:x,isString:_,isObject:w,isBuiltInObject:b,isTypedArray:S,isDom:M,eqNaN:I,retrieve:T,retrieve2:A,retrieve3:D,slice:C,normalizeCssArray:L,assert:k,trim:P,setAsPrimitive:N,isPrimitive:O,createHashMap:R,concatArray:z,noop:B}),rw="undefined"==typeof Float32Array?Array:Float32Array,sw=X,lw=j,uw=K,hw=$,cw=(Object.freeze||Object)({create:V,copy:G,clone:F,set:W,add:H,scaleAndAdd:Z,sub:U,len:X,length:sw,lenSquare:j,lengthSquare:lw,mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:Y,normalize:q,distance:K,dist:uw,distanceSquare:$,distSquare:hw,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:J,applyTransform:Q,min:tt,max:et});it.prototype={constructor:it,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(nt(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,o=i-this._x,a=n-this._y;this._x=i,this._y=n,e.drift(o,a,t),this.dispatchToElement(nt(e,t),"drag",t.event);var r=this.findHover(i,n,e).target,s=this._dropTarget;this._dropTarget=r,e!==r&&(s&&r!==s&&this.dispatchToElement(nt(s,t),"dragleave",t.event),r&&r!==s&&this.dispatchToElement(nt(r,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(nt(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(nt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var dw=Array.prototype.slice,fw=function(t){this._$handlers={},this._$eventProcessor=t};fw.prototype={constructor:fw,one:function(t,e,i,n){return at(this,t,e,i,n,!0)},on:function(t,e,i,n){return at(this,t,e,i,n,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],o=0,a=i[t].length;o<a;o++)i[t][o].h!==e&&n.push(i[t][o]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},trigger:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var n=arguments,o=n.length;o>3&&(n=dw.call(n,1));for(var a=e.length,r=0;r<a;){var s=e[r];if(i&&i.filter&&null!=s.query&&!i.filter(t,s.query))r++;else{switch(o){case 1:s.h.call(s.ctx);break;case 2:s.h.call(s.ctx,n[1]);break;case 3:s.h.call(s.ctx,n[1],n[2]);break;default:s.h.apply(s.ctx,n)}s.one?(e.splice(r,1),a--):r++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var n=arguments,o=n.length;o>4&&(n=dw.call(n,1,n.length-1));for(var a=n[n.length-1],r=e.length,s=0;s<r;){var l=e[s];if(i&&i.filter&&null!=l.query&&!i.filter(t,l.query))s++;else{switch(o){case 1:l.h.call(a);break;case 2:l.h.call(a,n[1]);break;case 3:l.h.call(a,n[1],n[2]);break;default:l.h.apply(a,n)}l.one?(e.splice(s,1),r--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this}};var pw="undefined"!=typeof window&&!!window.addEventListener,gw=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,mw=pw?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0},vw=function(){this._track=[]};vw.prototype={constructor:vw,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var n=t.touches;if(n){for(var o={points:[],touches:[],target:e,event:t},a=0,r=n.length;a<r;a++){var s=n[a],l=st(i,s,{});o.points.push([l.zrX,l.zrY]),o.touches.push(s)}this._track.push(o)}},_recognize:function(t){for(var e in yw)if(yw.hasOwnProperty(e)){var i=yw[e](this._track,t);if(i)return i}}};var yw={pinch:function(t,e){var i=t.length;if(i){var n=(t[i-1]||{}).points,o=(t[i-2]||{}).points||n;if(o&&o.length>1&&n&&n.length>1){var a=ft(n)/ft(o);!isFinite(a)&&(a=1),e.pinchScale=a;var r=pt(n);return e.pinchX=r[0],e.pinchY=r[1],{type:"pinch",target:t[0].target,event:e}}}}},xw="silent";vt.prototype.dispose=function(){};var _w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ww=function(t,e,i,n){fw.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new vt,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,it.call(this),this.setHandlerProxy(i)};ww.prototype={constructor:ww,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(d(_w,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=this._hovered,o=n.target;o&&!o.__zr&&(o=(n=this.findHover(n.x,n.y)).target);var a=this._hovered=this.findHover(e,i),r=a.target,s=this.proxy;s.setCursor&&s.setCursor(r?r.cursor:"default"),o&&r!==o&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(a,"mousemove",t),r&&r!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!==i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.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,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var o="on"+e,a=gt(e,t,i);n&&(n[o]&&(a.cancelBubble=n[o].call(n,a)),n.trigger(e,a),n=n.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),o={x:t,y:e},a=n.length-1;a>=0;a--){var r;if(n[a]!==i&&!n[a].ignore&&(r=yt(n[a],t,e))&&(!o.topTarget&&(o.topTarget=n[a]),r!==xw)){o.target=n[a];break}}return o},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new vw);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var o=n.type;t.gestureEvent=o,this.dispatchToElement({target:n.target},o,n.event)}}},d(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){ww.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||uw(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),h(ww,fw),h(ww,it);var bw="undefined"==typeof Float32Array?Array:Float32Array,Sw=(Object.freeze||Object)({create:xt,identity:_t,copy:wt,mul:bt,translate:St,rotate:Mt,scale:It,invert:Tt,clone:At}),Mw=_t,Iw=5e-5,Tw=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},Aw=Tw.prototype;Aw.transform=null,Aw.needLocalTransform=function(){return Dt(this.rotation)||Dt(this.position[0])||Dt(this.position[1])||Dt(this.scale[0]-1)||Dt(this.scale[1]-1)};var Dw=[];Aw.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),n=this.transform;if(i||e){n=n||xt(),i?this.getLocalTransform(n):Mw(n),e&&(i?bt(n,t.transform,n):wt(n,t.transform)),this.transform=n;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(Dw);var a=Dw[0]<0?-1:1,r=Dw[1]<0?-1:1,s=((Dw[0]-a)*o+a)/Dw[0]||0,l=((Dw[1]-r)*o+r)/Dw[1]||0;n[0]*=s,n[1]*=s,n[2]*=l,n[3]*=l}this.invTransform=this.invTransform||xt(),Tt(this.invTransform,n)}else n&&Mw(n)},Aw.getLocalTransform=function(t){return Tw.getLocalTransform(this,t)},Aw.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},Aw.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var Cw=[],Lw=xt();Aw.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,o=this.scale;Dt(e-1)&&(e=Math.sqrt(e)),Dt(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],o[0]=e,o[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},Aw.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(bt(Cw,t.invTransform,e),e=Cw);var i=this.origin;i&&(i[0]||i[1])&&(Lw[4]=i[0],Lw[5]=i[1],bt(Cw,e,Lw),Cw[4]-=i[0],Cw[5]-=i[1],e=Cw),this.setLocalTransform(e)}},Aw.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)},Aw.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&Q(i,i,n),i},Aw.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&Q(i,i,n),i},Tw.getLocalTransform=function(t,e){Mw(e=e||[]);var i=t.origin,n=t.scale||[1,1],o=t.rotation||0,a=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),It(e,e,n),o&&Mt(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=a[0],e[5]+=a[1],e};var kw={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,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,i=.1;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=.1):e=.4*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.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-kw.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*kw.bounceIn(2*t):.5*kw.bounceOut(2*t-1)+.5}};Ct.prototype={constructor:Ct,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var i=(t-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var n=this.easing,o="string"==typeof n?kw[n]:n,a="function"==typeof o?o(i):i;return this.fire("frame",a),1===i?this.loop?(this.restart(t),"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}};var Pw=function(){this.head=null,this.tail=null,this._len=0},Nw=Pw.prototype;Nw.insert=function(t){var e=new Ow(t);return this.insertEntry(e),e},Nw.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++},Nw.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},Nw.len=function(){return this._len},Nw.clear=function(){this.head=this.tail=null,this._len=0};var Ow=function(t){this.value=t,this.next,this.prev},Ew=function(t){this._list=new Pw,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},Rw=Ew.prototype;Rw.put=function(t,e){var i=this._list,n=this._map,o=null;if(null==n[t]){var a=i.len(),r=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=i.head;i.remove(s),delete n[s.key],o=s.value,this._lastRemovedEntry=s}r?r.value=e:r=new Ow(e),r.key=t,i.insertEntry(r),n[t]=r}return o},Rw.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},Rw.clear=function(){this._list.clear(),this._map={}};var zw={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]},Bw=new Ew(20),Vw=null,Gw=Ut,Fw=Xt,Ww=(Object.freeze||Object)({parse:Gt,lift:Ht,toHex:Zt,fastLerp:Ut,fastMapToColor:Gw,lerp:Xt,mapToColor:Fw,modifyHSL:jt,modifyAlpha:Yt,stringify:qt}),Hw=Array.prototype.slice,Zw=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||Kt,this._setter=n||$t,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};Zw.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var o=this._getter(this._target,n);if(null==o)continue;0!==t&&i[n].push({time:0,value:ae(o)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,i=0;i<e;i++)t[i].call(this)},start:function(t,e){var i,n=this,o=0;for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var r=le(this,t,function(){--o||n._doneCallback()},this._tracks[a],a,e);r&&(this._clipList.push(r),o++,this.animation&&this.animation.addClip(r),i=r)}if(i){var s=i.onframe;i.onframe=function(t,e){s(t,e);for(var i=0;i<n._onframeList.length;i++)n._onframeList[i](t,e)}}return o||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this.animation,n=0;n<e.length;n++){var o=e[n];t&&o.onframe(this._target,1),i&&i.removeClip(o)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var Uw=1;"undefined"!=typeof window&&(Uw=Math.max(window.devicePixelRatio||1,1));var Xw=Uw,jw=function(){},Yw=jw,qw=function(){this.animators=[]};qw.prototype={constructor:qw,animate:function(t,e){var i,n=!1,o=this,a=this.__zr;if(t){var r=t.split("."),s=o;n="shape"===r[0];for(var u=0,h=r.length;u<h;u++)s&&(s=s[r[u]]);s&&(i=s)}else i=o;if(i){var c=o.animators,d=new Zw(i,e);return d.during(function(t){o.dirty(n)}).done(function(){c.splice(l(c,d),1)}),c.push(d),a&&a.animation.addAnimator(d),d}Yw('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,i=e.length,n=0;n<i;n++)e[n].stop(t);return e.length=0,this},animateTo:function(t,e,i,n,o,a){ue(this,t,e,i,n,o,a)},animateFrom:function(t,e,i,n,o,a){ue(this,t,e,i,n,o,a,!0)}};var Kw=function(t){Tw.call(this,t),fw.call(this,t),qw.call(this,t),this.id=t.id||H_()};Kw.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(w(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},h(Kw,qw),h(Kw,Tw),h(Kw,fw);var $w=Q,Jw=Math.min,Qw=Math.max;de.prototype={constructor:de,union:function(t){var e=Jw(t.x,this.x),i=Jw(t.y,this.y);this.width=Qw(t.x+t.width,this.x+this.width)-e,this.height=Qw(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[],i=[],n=[];return function(o){if(o){t[0]=i[0]=this.x,t[1]=n[1]=this.y,e[0]=n[0]=this.x+this.width,e[1]=i[1]=this.y+this.height,$w(t,t,o),$w(e,e,o),$w(i,i,o),$w(n,n,o),this.x=Jw(t[0],e[0],i[0],n[0]),this.y=Jw(t[1],e[1],i[1],n[1]);var a=Qw(t[0],e[0],i[0],n[0]),r=Qw(t[1],e[1],i[1],n[1]);this.width=a-this.x,this.height=r-this.y}}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,n=t.height/e.height,o=xt();return St(o,o,[-e.x,-e.y]),It(o,o,[i,n]),St(o,o,[t.x,t.y]),o},intersect:function(t){if(!t)return!1;t instanceof de||(t=de.create(t));var e=this,i=e.x,n=e.x+e.width,o=e.y,a=e.y+e.height,r=t.x,s=t.x+t.width,l=t.y,u=t.y+t.height;return!(n<r||s<i||a<l||u<o)},contain:function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new de(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}}},de.create=function(t){return new de(t.x,t.y,t.width,t.height)};var tb=function(t){t=t||{},Kw.call(this,t);for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};tb.prototype={constructor:tb,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,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof tb&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,n=this._children,o=l(n,t);return o<0?this:(n.splice(o,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof tb&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e<i.length;e++)t=i[e],n&&(n.delFromStorage(t),t instanceof tb&&t.delChildrenFromStorage(n)),t.parent=null;return i.length=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i.length;n++){var o=i[n];t.call(e,o,n)}return this},traverse:function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.addToStorage(i),i instanceof tb&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var i=this._children[e];t.delFromStorage(i),i instanceof tb&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new de(0,0,0,0),n=t||this._children,o=[],a=0;a<n.length;a++){var r=n[a];if(!r.ignore&&!r.invisible){var s=r.getBoundingRect(),l=r.getLocalTransform(o);l?(i.copy(s),i.applyTransform(l),(e=e||i.clone()).union(i)):(e=e||s.clone()).union(s)}}return e||i}},u(tb,Kw);var eb=32,ib=7,nb=function(){this._roots=[],this._displayList=[],this._displayListLen=0};nb.prototype={constructor:nb,traverse:function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,o=e.length;n<o;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,U_.canvasSupported&&_e(i,we)},_updateAndAddDisplayable:function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var n=t.clipPath;if(n){e=e?e.slice():[];for(var o=n,a=t;o;)o.parent=a,o.updateTransform(),e.push(o),a=o,o=o.clipPath}if(t.isGroup){for(var r=t._children,s=0;s<r.length;s++){var l=r[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof tb&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(i=0;i<this._roots.length;i++){var e=this._roots[i];e instanceof tb&&e.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array)for(var i=0,n=t.length;i<n;i++)this.delRoot(t[i]);else{var o=l(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof tb&&t.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:we};var ob={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1},ab=function(t,e,i){return ob.hasOwnProperty(e)?i*=t.dpr:i},rb={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},sb=9,lb=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],ub=function(t){this.extendFrom(t,!1)};ub.prototype={constructor:ub,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(t,e,i){var n=this,o=i&&i.style,a=!o||t.__attrCachedBy!==rb.STYLE_BIND;t.__attrCachedBy=rb.STYLE_BIND;for(var r=0;r<lb.length;r++){var s=lb[r],l=s[0];(a||n[l]!==o[l])&&(t[l]=ab(t,l,n[l]||s[1]))}if((a||n.fill!==o.fill)&&(t.fillStyle=n.fill),(a||n.stroke!==o.stroke)&&(t.strokeStyle=n.stroke),(a||n.opacity!==o.opacity)&&(t.globalAlpha=null==n.opacity?1:n.opacity),(a||n.blend!==o.blend)&&(t.globalCompositeOperation=n.blend||"source-over"),this.hasStroke()){var u=n.lineWidth;t.lineWidth=u/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},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,i){for(var n=("radial"===e.type?Se:be)(t,e,i),o=e.colorStops,a=0;a<o.length;a++)n.addColorStop(o[a].offset,o[a].color);return n}};for(var hb=ub.prototype,cb=0;cb<lb.length;cb++){var db=lb[cb];db[0]in hb||(hb[db[0]]=db[1])}ub.getGradient=hb.getGradient;var fb=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};fb.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var pb=function(t,e,i){var n;i=i||Xw,"string"==typeof t?n=Ie(t,e,i):w(t)&&(t=(n=t).id),this.id=t,this.dom=n;var o=n.style;o&&(n.onselectstart=Me,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o.padding=0,o.margin=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};pb.prototype={constructor:pb,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=Ie("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,o=n.style,a=this.domBack;o&&(o.width=t+"px",o.height=e+"px"),n.width=t*i,n.height=e*i,a&&(a.width=t*i,a.height=e*i,1!==i&&this.ctxBack.scale(i,i))},clear:function(t,e){var i=this.dom,n=this.ctx,o=i.width,a=i.height,e=e||this.clearColor,r=this.motionBlur&&!t,s=this.lastFrameAlpha,l=this.dpr;if(r&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/l,a/l)),n.clearRect(0,0,o,a),e&&"transparent"!==e){var u;e.colorStops?(u=e.__canvasGradient||ub.getGradient(n,e,{x:0,y:0,width:o,height:a}),e.__canvasGradient=u):e.image&&(u=fb.prototype.getCanvasPattern.call(e,n)),n.save(),n.fillStyle=u||e,n.fillRect(0,0,o,a),n.restore()}if(r){var h=this.domBack;n.save(),n.globalAlpha=s,n.drawImage(h,0,0,o,a),n.restore()}}};var gb="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)},mb=new Ew(50),vb={},yb=0,xb=5e3,_b=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,wb="12px sans-serif",bb={};bb.measureText=function(t,e){var i=s();return i.font=e||wb,i.measureText(t)};var Sb=wb,Mb={left:1,right:1,center:1},Ib={top:1,bottom:1,middle:1},Tb=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],Ab=new de,Db=function(){};Db.prototype={constructor:Db,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&Ye(i);var n=i.text;if(null!=n&&(n+=""),ci(n,i)){t.save();var o=this.transform;i.transformText?this.setTransform(t):o&&(Ab.copy(e),Ab.applyTransform(o),e=Ab),Ke(this,t,n,i,e,sb),t.restore()}}},di.prototype={constructor:di,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(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?Kw.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new ub(t,this),this.dirty(!1),this}},u(di,Kw),h(di,Db),fi.prototype={constructor:fi,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var o=this._image=Ae(n,this._image,this,this.onload);if(o&&Ce(o)){var a=i.x||0,r=i.y||0,s=i.width,l=i.height,u=o.width/o.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=o.width,l=o.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,c=i.sy||0;t.drawImage(o,h,c,i.sWidth,i.sHeight,a,r,s,l)}else if(i.sx&&i.sy){var d=s-(h=i.sx),f=l-(c=i.sy);t.drawImage(o,h,c,d,f,a,r,s,l)}else t.drawImage(o,a,r,s,l);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new de(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},u(fi,di);var Cb=new de(0,0,0,0),Lb=new de(0,0,0,0),kb=function(t,e,i){this.type="canvas";var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=a({},i||{}),this.dpr=i.devicePixelRatio||Xw,this._singleCanvas=n,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var r=this._zlevelList=[],s=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,n){var l=t.width,u=t.height;null!=i.width&&(l=i.width),null!=i.height&&(u=i.height),this.dpr=i.devicePixelRatio||1,t.width=l*this.dpr,t.height=u*this.dpr,this._width=l,this._height=u;var h=new pb(t,this,this.dpr);h.__builtin__=!0,h.initContext(),s[314159]=h,h.zlevel=314159,r.push(314159),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var c=this._domRoot=xi(this._width,this._height);t.appendChild(c)}this._hoverlayer=null,this._hoverElements=[]};kb.prototype={constructor:kb,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var n=0;n<i.length;n++){var o=i[n],a=this._layers[o];if(!a.__builtin__&&a.refresh){var r=0===n?this._backgroundColor:null;a.refresh(r)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var i=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return i.__from=t,t.__hoverMir=i,e&&i.setStyle(e),this._hoverElements.push(i),i}},removeHover:function(t){var e=t.__hoverMir,i=this._hoverElements,n=l(i,e);n>=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i<e.length;i++){var n=e[i].__from;n&&(n.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){_e(t,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(1e5));var n={};i.ctx.save();for(var o=0;o<e;){var a=t[o],r=a.__from;r&&r.__zr?(o++,r.invisible||(a.transform=r.transform,a.invTransform=r.invTransform,a.__clipPaths=r.__clipPaths,this._doPaintEl(a,i,!0,n))):(t.splice(o,1),r.__hoverMir=null,e--)}i.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,i){if(this._redrawId===i){e=e||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!n){var o=this;gb(function(){o._paintList(t,e,i)})}}},_compositeManually:function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)})},_doPaintList:function(t,e){for(var i=[],n=0;n<this._zlevelList.length;n++){var o=this._zlevelList[n];(s=this._layers[o]).__builtin__&&s!==this._hoverlayer&&(s.__dirty||e)&&i.push(s)}for(var a=!0,r=0;r<i.length;r++){var s=i[r],l=s.ctx,u={};l.save();var h=e?s.__startIndex:s.__drawIndex,c=!e&&s.incremental&&Date.now,f=c&&Date.now(),p=s.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,p);else if(h===s.__startIndex){var g=t[h];g.incremental&&g.notClear&&!e||s.clear(!1,p)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=s.__startIndex);for(var m=h;m<s.__endIndex;m++){var v=t[m];if(this._doPaintEl(v,s,e,u),v.__dirty=v.__dirtyText=!1,c&&Date.now()-f>15)break}s.__drawIndex=m,s.__drawIndex<s.__endIndex&&(a=!1),u.prevElClipPaths&&l.restore(),l.restore()}return U_.wxa&&d(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),a},_doPaintEl:function(t,e,i,n){var o=e.ctx,a=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||!mi(t,this._width,this._height))){var r=t.__clipPaths;n.prevElClipPaths&&!vi(r,n.prevElClipPaths)||(n.prevElClipPaths&&(e.ctx.restore(),n.prevElClipPaths=null,n.prevEl=null),r&&(o.save(),yi(r,o),n.prevElClipPaths=r)),t.beforeBrush&&t.beforeBrush(o),t.brush(o,n.prevEl||null),n.prevEl=t,t.afterBrush&&t.afterBrush(o)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var i=this._layers[t];return i||((i=new pb("zr_"+t,this,this.dpr)).zlevel=t,i.__builtin__=!0,this._layerConfig[t]&&n(i,this._layerConfig[t],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},insertLayer:function(t,e){var i=this._layers,n=this._zlevelList,o=n.length,a=null,r=-1,s=this._domRoot;if(i[t])Yw("ZLevel "+t+" has been used already");else if(gi(e)){if(o>0&&t>n[0]){for(r=0;r<o-1&&!(n[r]<t&&n[r+1]>t);r++);a=i[n[r]]}if(n.splice(r+1,0,t),i[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?s.insertBefore(e.dom,l.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom)}else Yw("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,o=this._zlevelList;for(n=0;n<o.length;n++)i=o[n],t.call(e,this._layers[i],i)},eachBuiltinLayer:function(t,e){var i,n,o,a=this._zlevelList;for(o=0;o<a.length;o++)n=a[o],(i=this._layers[n]).__builtin__&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,o,a=this._zlevelList;for(o=0;o<a.length;o++)n=a[o],(i=this._layers[n]).__builtin__||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){i&&(i.__endIndex!==t&&(i.__dirty=!0),i.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(o=1;o<t.length;o++)if((r=t[o]).zlevel!==t[o-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}for(var i=null,n=0,o=0;o<t.length;o++){var a,r=t[o],s=r.zlevel;r.incremental?((a=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,n=1):a=this.getLayer(s+(n>0?.01:0),this._needsManuallyCompositing),a.__builtin__||Yw("ZLevel "+s+" has been used by unkown layer "+a.id),a!==i&&(a.__used=!0,a.__startIndex!==o&&(a.__dirty=!0),a.__startIndex=o,a.incremental?a.__drawIndex=-1:a.__drawIndex=o,e(o),i=a),r.__dirty&&(a.__dirty=!0,a.incremental&&a.__drawIndex<0&&(a.__drawIndex=o))}e(o),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,e){if(e){var i=this._layerConfig;i[t]?n(i[t],e,!0):i[t]=e;for(var o=0;o<this._zlevelList.length;o++){var a=this._zlevelList[o];a!==t&&a!==t+.01||n(this._layers[a],i[t],!0)}}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(l(i,t),1))},resize:function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||e!==this._height){i.style.width=t+"px",i.style.height=e+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);d(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new pb("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,n=e.dom.height,o=e.ctx;this.eachLayer(function(t){t.__builtin__?o.drawImage(t.dom,0,0,i,n):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var a={},r=this.storage.getDisplayList(!0),s=0;s<r.length;s++){var l=r[s];this._doPaintEl(l,e,!0,a)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[n]||pi(s[i])||pi(r.style[i]))-(pi(s[o])||0)-(pi(s[a])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var i=document.createElement("canvas"),n=i.getContext("2d"),o=t.getBoundingRect(),a=t.style,r=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,u=a.hasStroke()?a.lineWidth:0,h=Math.max(u/2,-s+r),c=Math.max(u/2,s+r),d=Math.max(u/2,-l+r),f=Math.max(u/2,l+r),p=o.width+h+c,g=o.height+d+f;i.width=p*e,i.height=g*e,n.scale(e,e),n.clearRect(0,0,p,g),n.dpr=e;var m={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[h-o.x,d-o.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(n);var v=new fi({style:{x:0,y:0,image:i}});return null!=m.position&&(v.position=t.position=m.position),null!=m.rotation&&(v.rotation=t.rotation=m.rotation),null!=m.scale&&(v.scale=t.scale=m.scale),v}};var Pb=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,fw.call(this)};Pb.prototype={constructor:Pb,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i<e.length;i++)this.addClip(e[i])},removeClip:function(t){var e=l(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e.length;i++)this.removeClip(e[i]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,i=this._clips,n=i.length,o=[],a=[],r=0;r<n;r++){var s=i[r],l=s.step(t,e);l&&(o.push(l),a.push(s))}for(r=0;r<n;)i[r]._needsRemove?(i[r]=i[n-1],i.pop(),n--):r++;n=o.length;for(r=0;r<n;r++)a[r].fire(o[r]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){function t(){e._running&&(gb(t),!e._paused&&e._update())}var e=this;this._running=!0,gb(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){var i=new Zw(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(i),i}},h(Pb,fw);var Nb=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ob=["touchstart","touchend","touchmove"],Eb={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},Rb=f(Nb,function(t){var e=t.replace("mouse","pointer");return Eb[e]?e:t}),zb={mousemove:function(t){t=ut(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=ut(this.dom,t)).toElement||t.relatedTarget;if(e!==this.dom)for(;e&&9!==e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=ut(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,this.handler.processGesture(this,t,"start"),zb.mousemove.call(this,t),zb.mousedown.call(this,t),wi(this)},touchmove:function(t){(t=ut(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"change"),zb.mousemove.call(this,t),wi(this)},touchend:function(t){(t=ut(this.dom,t)).zrByTouch=!0,this.handler.processGesture(this,t,"end"),zb.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&zb.click.call(this,t),wi(this)},pointerdown:function(t){zb.mousedown.call(this,t)},pointermove:function(t){bi(t)||zb.mousemove.call(this,t)},pointerup:function(t){zb.mouseup.call(this,t)},pointerout:function(t){bi(t)||zb.mouseout.call(this,t)}};d(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){zb[t]=function(e){e=ut(this.dom,e),this.trigger(t,e)}});var Bb=Mi.prototype;Bb.dispose=function(){for(var t=Nb.concat(Ob),e=0;e<t.length;e++){var i=t[e];ct(this.dom,_i(i),this._handlers[i])}},Bb.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},h(Mi,fw);var Vb=!U_.canvasSupported,Gb={canvas:kb},Fb={},Wb=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,o=new nb,a=i.renderer;if(Vb){if(!Gb.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");a="vml"}else a&&Gb[a]||(a="canvas");var r=new Gb[a](e,o,i,t);this.storage=o,this.painter=r;var s=U_.node||U_.worker?null:new Mi(r.getViewportRoot());this.handler=new ww(o,r,s,r.root),this.animation=new Pb({stage:{update:m(this.flush,this)}}),this.animation.start(),this._needsRefresh;var l=o.delFromStorage,u=o.addToStorage;o.delFromStorage=function(t){l.call(o,t),t&&t.removeSelfFromZr(n)},o.addToStorage=function(t){u.call(o,t),t.addSelfToZr(n)}};Wb.prototype={constructor:Wb,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var i=this.painter.addHover(t,e);return this.refreshHover(),i}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,Ai(this.id)}};var Hb=(Object.freeze||Object)({version:"4.0.7",init:Ii,dispose:function(t){if(t)t.dispose();else{for(var e in Fb)Fb.hasOwnProperty(e)&&Fb[e].dispose();Fb={}}return this},getInstance:function(t){return Fb[t]},registerPainter:Ti}),Zb=d,Ub=w,Xb=y,jb="series\0",Yb=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],qb=0,Kb=".",$b="___EC__COMPONENT__CONTAINER___",Jb=0,Qb=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,i,n){for(var o={},a=0;a<t.length;a++){var r=t[a][1];if(!(i&&l(i,r)>=0||n&&l(n,r)<0)){var s=e.getShallow(r);null!=s&&(o[t[a][0]]=s)}}return o}},tS=Qb([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),eS={getLineStyle:function(t){var e=tS(this,t),i=this.getLineDash(e.lineWidth);return i&&(e.lineDash=i),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"===e||null==e?null:"dashed"===e?[n,n]:[i,i]}},iS=Qb([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),nS={getAreaStyle:function(t,e){return iS(this,t,e)}},oS=Math.pow,aS=Math.sqrt,rS=1e-8,sS=1e-4,lS=aS(3),uS=1/3,hS=V(),cS=V(),dS=V(),fS=Math.min,pS=Math.max,gS=Math.sin,mS=Math.cos,vS=2*Math.PI,yS=V(),xS=V(),_S=V(),wS=[],bS=[],SS={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},MS=[],IS=[],TS=[],AS=[],DS=Math.min,CS=Math.max,LS=Math.cos,kS=Math.sin,PS=Math.sqrt,NS=Math.abs,OS="undefined"!=typeof Float32Array,ES=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};ES.prototype={constructor:ES,_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){this._ux=NS(1/Xw/t)||0,this._uy=NS(1/Xw/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(SS.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 i=NS(t-this._xi)>this._ux||NS(e-this._yi)>this._uy||this._len<5;return this.addData(SS.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,o,a){return this.addData(SS.C,t,e,i,n,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,o,a):this._ctx.bezierCurveTo(t,e,i,n,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,i,n){return this.addData(SS.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,o,a){return this.addData(SS.A,t,e,i,i,n,o-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,o,a),this._xi=LS(o)*i+t,this._yi=kS(o)*i+e,this},arcTo:function(t,e,i,n,o){return this._ctx&&this._ctx.arcTo(t,e,i,n,o),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(SS.R,t,e,i,n),this},closePath:function(){this.addData(SS.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,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,i=0;i<t.length;i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!OS||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,o=0;o<e;o++)i+=t[o].len();OS&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(o=0;o<e;o++)for(var a=t[o].data,r=0;r<a.length;r++)this.data[n++]=a[r];this._len=n},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var i=0;i<arguments.length;i++)e[this._len++]=arguments[i];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var i,n,o=this._dashSum,a=this._dashOffset,r=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,h=t-l,c=e-u,d=PS(h*h+c*c),f=l,p=u,g=r.length;for(h/=d,c/=d,a<0&&(a=o+a),f-=(a%=o)*h,p-=a*c;h>0&&f<=t||h<0&&f>=t||0===h&&(c>0&&p<=e||c<0&&p>=e);)f+=h*(i=r[n=this._dashIdx]),p+=c*i,this._dashIdx=(n+1)%g,h>0&&f<l||h<0&&f>l||c>0&&p<u||c<0&&p>u||s[n%2?"moveTo":"lineTo"](h>=0?DS(f,t):CS(f,t),c>=0?DS(p,e):CS(p,e));h=f-t,c=p-e,this._dashOffset=-PS(h*h+c*c)},_dashedBezierTo:function(t,e,i,n,o,a){var r,s,l,u,h,c=this._dashSum,d=this._dashOffset,f=this._lineDash,p=this._ctx,g=this._xi,m=this._yi,v=tn,y=0,x=this._dashIdx,_=f.length,w=0;for(d<0&&(d=c+d),d%=c,r=0;r<1;r+=.1)s=v(g,t,i,o,r+.1)-v(g,t,i,o,r),l=v(m,e,n,a,r+.1)-v(m,e,n,a,r),y+=PS(s*s+l*l);for(;x<_&&!((w+=f[x])>d);x++);for(r=(w-d)/y;r<=1;)u=v(g,t,i,o,r),h=v(m,e,n,a,r),x%2?p.moveTo(u,h):p.lineTo(u,h),r+=f[x]/y,x=(x+1)%_;x%2!=0&&p.lineTo(o,a),s=o-u,l=a-h,this._dashOffset=-PS(s*s+l*l)},_dashedQuadraticTo:function(t,e,i,n){var o=i,a=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,o,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,OS&&(this.data=new Float32Array(t)))},getBoundingRect:function(){MS[0]=MS[1]=TS[0]=TS[1]=Number.MAX_VALUE,IS[0]=IS[1]=AS[0]=AS[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,o=0,a=0;a<t.length;){var r=t[a++];switch(1===a&&(n=e=t[a],o=i=t[a+1]),r){case SS.M:e=n=t[a++],i=o=t[a++],TS[0]=n,TS[1]=o,AS[0]=n,AS[1]=o;break;case SS.L:pn(e,i,t[a],t[a+1],TS,AS),e=t[a++],i=t[a++];break;case SS.C:gn(e,i,t[a++],t[a++],t[a++],t[a++],t[a],t[a+1],TS,AS),e=t[a++],i=t[a++];break;case SS.Q:mn(e,i,t[a++],t[a++],t[a],t[a+1],TS,AS),e=t[a++],i=t[a++];break;case SS.A:var s=t[a++],l=t[a++],u=t[a++],h=t[a++],c=t[a++],d=t[a++]+c;a+=1;var f=1-t[a++];1===a&&(n=LS(c)*u+s,o=kS(c)*h+l),vn(s,l,u,h,c,d,f,TS,AS),e=LS(d)*u+s,i=kS(d)*h+l;break;case SS.R:pn(n=e=t[a++],o=i=t[a++],n+t[a++],o+t[a++],TS,AS);break;case SS.Z:e=n,i=o}tt(MS,MS,TS),et(IS,IS,AS)}return 0===a&&(MS[0]=MS[1]=IS[0]=IS[1]=0),new de(MS[0],MS[1],IS[0]-MS[0],IS[1]-MS[1])},rebuildPath:function(t){for(var e,i,n,o,a,r,s=this.data,l=this._ux,u=this._uy,h=this._len,c=0;c<h;){var d=s[c++];switch(1===c&&(e=n=s[c],i=o=s[c+1]),d){case SS.M:e=n=s[c++],i=o=s[c++],t.moveTo(n,o);break;case SS.L:a=s[c++],r=s[c++],(NS(a-n)>l||NS(r-o)>u||c===h-1)&&(t.lineTo(a,r),n=a,o=r);break;case SS.C:t.bezierCurveTo(s[c++],s[c++],s[c++],s[c++],s[c++],s[c++]),n=s[c-2],o=s[c-1];break;case SS.Q:t.quadraticCurveTo(s[c++],s[c++],s[c++],s[c++]),n=s[c-2],o=s[c-1];break;case SS.A:var f=s[c++],p=s[c++],g=s[c++],m=s[c++],v=s[c++],y=s[c++],x=s[c++],_=s[c++],w=g>m?g:m,b=g>m?1:g/m,S=g>m?m/g:1,M=v+y;Math.abs(g-m)>.001?(t.translate(f,p),t.rotate(x),t.scale(b,S),t.arc(0,0,w,v,M,1-_),t.scale(1/b,1/S),t.rotate(-x),t.translate(-f,-p)):t.arc(f,p,w,v,M,1-_),1===c&&(e=LS(v)*g+f,i=kS(v)*m+p),n=LS(M)*g+f,o=kS(M)*m+p;break;case SS.R:e=n=s[c],i=o=s[c+1],t.rect(s[c++],s[c++],s[c++],s[c++]);break;case SS.Z:t.closePath(),n=e,o=i}}}},ES.CMD=SS;var RS=2*Math.PI,zS=2*Math.PI,BS=ES.CMD,VS=2*Math.PI,GS=1e-4,FS=[-1,-1,-1],WS=[-1,-1],HS=fb.prototype.getCanvasPattern,ZS=Math.abs,US=new ES(!0);Pn.prototype={constructor:Pn,type:"path",__dirtyPath:!0,strokeContainThreshold:5,subPixelOptimize:!1,brush:function(t,e){var i=this.style,n=this.path||US,o=i.hasStroke(),a=i.hasFill(),r=i.fill,s=i.stroke,l=a&&!!r.colorStops,u=o&&!!s.colorStops,h=a&&!!r.image,c=o&&!!s.image;if(i.bind(t,this,e),this.setTransform(t),this.__dirty){var d;l&&(d=d||this.getBoundingRect(),this._fillGradient=i.getGradient(t,r,d)),u&&(d=d||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,s,d))}l?t.fillStyle=this._fillGradient:h&&(t.fillStyle=HS.call(r,t)),u?t.strokeStyle=this._strokeGradient:c&&(t.strokeStyle=HS.call(s,t));var f=i.lineDash,p=i.lineDashOffset,g=!!t.setLineDash,m=this.getGlobalScale();if(n.setScale(m[0],m[1]),this.__dirtyPath||f&&!g&&o?(n.beginPath(t),f&&!g&&(n.setLineDash(f),n.setLineDashOffset(p)),this.buildPath(n,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=i.fillOpacity){v=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,n.fill(t),t.globalAlpha=v}else n.fill(t);if(f&&g&&(t.setLineDash(f),t.lineDashOffset=p),o)if(null!=i.strokeOpacity){var v=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,n.stroke(t),t.globalAlpha=v}else n.stroke(t);f&&g&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new ES},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new ES),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.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,r=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),r>1e-10&&(o.width+=a/r,o.height+=a/r,o.x-=a/r/2,o.y-=a/r/2)}return o}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),o=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path.data;if(o.hasStroke()){var r=o.lineWidth,s=o.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(o.hasFill()||(r=Math.max(r,this.strokeContainThreshold)),kn(a,r/s,t,e)))return!0}if(o.hasFill())return Ln(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(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):di.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(w(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&ZS(t[0]-1)>1e-10&&ZS(t[3]-1)>1e-10?Math.sqrt(ZS(t[0]*t[3]-t[2]*t[1])):1}},Pn.extend=function(t){var e=function(e){Pn.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var o in i)!n.hasOwnProperty(o)&&i.hasOwnProperty(o)&&(n[o]=i[o])}t.init&&t.init.call(this,e)};u(e,Pn);for(var i in t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},u(Pn,di);var XS=ES.CMD,jS=[[],[],[]],YS=Math.sqrt,qS=Math.atan2,KS=function(t,e){var i,n,o,a,r,s,l=t.data,u=XS.M,h=XS.C,c=XS.L,d=XS.R,f=XS.A,p=XS.Q;for(o=0,a=0;o<l.length;){switch(i=l[o++],a=o,n=0,i){case u:case c:n=1;break;case h:n=3;break;case p:n=2;break;case f:var g=e[4],m=e[5],v=YS(e[0]*e[0]+e[1]*e[1]),y=YS(e[2]*e[2]+e[3]*e[3]),x=qS(-e[1]/y,e[0]/v);l[o]*=v,l[o++]+=g,l[o]*=y,l[o++]+=m,l[o++]*=v,l[o++]*=y,l[o++]+=x,l[o++]+=x,a=o+=2;break;case d:s[0]=l[o++],s[1]=l[o++],Q(s,s,e),l[a++]=s[0],l[a++]=s[1],s[0]+=l[o++],s[1]+=l[o++],Q(s,s,e),l[a++]=s[0],l[a++]=s[1]}for(r=0;r<n;r++)(s=jS[r])[0]=l[o++],s[1]=l[o++],Q(s,s,e),l[a++]=s[0],l[a++]=s[1]}},$S=Math.sqrt,JS=Math.sin,QS=Math.cos,tM=Math.PI,eM=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},iM=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(eM(t)*eM(e))},nM=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(iM(t,e))},oM=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,aM=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,rM=function(t){di.call(this,t)};rM.prototype={constructor:rM,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&Ye(i),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),ci(n,i)?(this.setTransform(t),Ke(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=rb.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&Ye(t),!this._rect){var e=t.text;null!=e?e+="":e="";var i=ke(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,si(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},u(rM,di);var sM=Pn.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),lM=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]],uM=function(t){return U_.browser.ie&&U_.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var o=0;o<i.length;o++){var a=i[o],r=a&&a.shape,s=a&&a.type;if(r&&("sector"===s&&r.startAngle===r.endAngle||"rect"===s&&(!r.width||!r.height))){for(l=0;l<lM.length;l++)lM[l][2]=n[lM[l][0]],n[lM[l][0]]=lM[l][1];e=!0;break}}if(t.apply(this,arguments),e)for(var l=0;l<lM.length;l++)n[lM[l][0]]=lM[l][2]}:t},hM=Pn.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:uM(Pn.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,o=Math.max(e.r0||0,0),a=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(r),h=Math.sin(r);t.moveTo(u*o+i,h*o+n),t.lineTo(u*a+i,h*a+n),t.arc(i,n,a,r,s,!l),t.lineTo(Math.cos(s)*o+i,Math.sin(s)*o+n),0!==o&&t.arc(i,n,o,s,r,l),t.closePath()}}),cM=Pn.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,o=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,o,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,o,!0)}}),dM=function(t,e){for(var i=t.length,n=[],o=0,a=1;a<i;a++)o+=K(t[a-1],t[a]);var r=o/2;r=r<i?i:r;for(a=0;a<r;a++){var s,l,u,h=a/(r-1)*(e?i:i-1),c=Math.floor(h),d=h-c,f=t[c%i];e?(s=t[(c-1+i)%i],l=t[(c+1)%i],u=t[(c+2)%i]):(s=t[0===c?c:c-1],l=t[c>i-2?i-1:c+1],u=t[c>i-3?i-1:c+2]);var p=d*d,g=d*p;n.push([Bn(s[0],f[0],l[0],u[0],d,p,g),Bn(s[1],f[1],l[1],u[1],d,p,g)])}return n},fM=function(t,e,i,n){var o,a,r,s,l=[],u=[],h=[],c=[];if(n){r=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)tt(r,r,t[d]),et(s,s,t[d]);tt(r,r,n[0]),et(s,s,n[1])}for(var d=0,f=t.length;d<f;d++){var p=t[d];if(i)o=t[d?d-1:f-1],a=t[(d+1)%f];else{if(0===d||d===f-1){l.push(F(t[d]));continue}o=t[d-1],a=t[d+1]}U(u,a,o),Y(u,u,e);var g=K(p,o),m=K(p,a),v=g+m;0!==v&&(g/=v,m/=v),Y(h,u,-g),Y(c,u,m);var y=H([],p,h),x=H([],p,c);n&&(et(y,y,r),tt(y,y,s),et(x,x,r),tt(x,x,s)),l.push(y),l.push(x)}return i&&l.push(l.shift()),l},pM=Pn.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){Vn(t,e,!0)}}),gM=Pn.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){Vn(t,e,!1)}}),mM=Math.round,vM={},yM=Pn.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var i,n,o,a;this.subPixelOptimize?(Fn(vM,e,this.style),i=vM.x,n=vM.y,o=vM.width,a=vM.height,vM.r=e.r,e=vM):(i=e.x,n=e.y,o=e.width,a=e.height),e.r?je(t,e):t.rect(i,n,o,a),t.closePath()}}),xM={},_M=Pn.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i,n,o,a;this.subPixelOptimize?(Gn(xM,e,this.style),i=xM.x1,n=xM.y1,o=xM.x2,a=xM.y2):(i=e.x1,n=e.y1,o=e.x2,a=e.y2);var r=e.percent;0!==r&&(t.moveTo(i,n),r<1&&(o=i*(1-r)+o*r,a=n*(1-r)+a*r),t.lineTo(o,a))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}}),wM=[],bM=Pn.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,o=e.x2,a=e.y2,r=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(i,n),null==l||null==u?(h<1&&(cn(i,r,o,h,wM),r=wM[1],o=wM[2],cn(n,s,a,h,wM),s=wM[1],a=wM[2]),t.quadraticCurveTo(r,s,o,a)):(h<1&&(an(i,r,l,o,h,wM),r=wM[1],l=wM[2],o=wM[3],an(n,s,u,a,h,wM),s=wM[1],u=wM[2],a=wM[3]),t.bezierCurveTo(r,s,l,u,o,a)))},pointAt:function(t){return Hn(this.shape,t,!1)},tangentAt:function(t){var e=Hn(this.shape,t,!0);return q(e,e)}}),SM=Pn.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,o=Math.max(e.r,0),a=e.startAngle,r=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*o+i,u*o+n),t.arc(i,n,o,a,r,!s)}}),MM=Pn.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e.length;i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),Pn.prototype.getBoundingRect.call(this)}}),IM=function(t){this.colorStops=t||[]};IM.prototype={constructor:IM,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var TM=function(t,e,i,n,o,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=a||!1,IM.call(this,o)};TM.prototype={constructor:TM},u(TM,IM);var AM=function(t,e,i,n,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=o||!1,IM.call(this,n)};AM.prototype={constructor:AM},u(AM,IM),Zn.prototype.incremental=!0,Zn.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},Zn.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},Zn.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},Zn.prototype.eachPendingDisplayable=function(t){for(e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},Zn.prototype.update=function(){this.updateTransform();for(t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},Zn.prototype.brush=function(t,e){for(i=this._cursor;i<this._displayables.length;i++)(n=this._displayables[i]).beforeBrush&&n.beforeBrush(t),n.brush(t,i===this._cursor?null:this._displayables[i-1]),n.afterBrush&&n.afterBrush(t);this._cursor=i;for(var i=0;i<this._temporaryDisplayables.length;i++){var n=this._temporaryDisplayables[i];n.beforeBrush&&n.beforeBrush(t),n.brush(t,0===i?null:this._temporaryDisplayables[i-1]),n.afterBrush&&n.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var DM=[];Zn.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new de(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(DM)),t.union(n)}this._rect=t}return this._rect},Zn.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(i[0],i[1]))for(var n=0;n<this._displayables.length;n++)if(this._displayables[n].contain(t,e))return!0;return!1},u(Zn,di);var CM=Math.round,LM=Math.max,kM=Math.min,PM={},NM=1,OM=function(t,e){for(var i=[],n=t.length,o=0;o<n;o++){var a=t[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),i.push(a.path)}var r=new Pn(e);return r.createPathProxy(),r.buildPath=function(t){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e)},r},EM=R(),RM=0,zM=(Object.freeze||Object)({Z2_EMPHASIS_LIFT:NM,extendShape:Un,extendPath:function(t,e){return zn(t,e)},makePath:Xn,makeImage:jn,mergePath:OM,resizePath:qn,subPixelOptimizeLine:Kn,subPixelOptimizeRect:$n,subPixelOptimize:Jn,setElementHoverStyle:ro,isInEmphasis:so,setHoverStyle:fo,setAsHoverStyleTrigger:po,setLabelStyle:go,setTextStyle:mo,setText:function(t,e,i){var n,o={isRectText:!0};!1===i?n=!0:o.autoColor=i,vo(t,e,o,n)},getFont:So,updateProps:Io,initProps:To,getTransform:Ao,applyTransform:Do,transformDirection:Co,groupTransition:Lo,clipPointsByRect:ko,clipRectByRect:function(t,e){var i=LM(t.x,e.x),n=kM(t.x+t.width,e.x+e.width),o=LM(t.y,e.y),a=kM(t.y+t.height,e.y+e.height);if(n>=i&&a>=o)return{x:i,y:o,width:n-i,height:a-o}},createIcon:Po,Group:tb,Image:fi,Text:rM,Circle:sM,Sector:hM,Ring:cM,Polygon:pM,Polyline:gM,Rect:yM,Line:_M,BezierCurve:bM,Arc:SM,IncrementalDisplayable:Zn,CompoundPath:MM,LinearGradient:TM,RadialGradient:AM,BoundingRect:de}),BM=["textStyle","color"],VM={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(BM):null)},getFont:function(){return So({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return ke(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}},GM=Qb([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),FM={getItemStyle:function(t,e){var i=GM(this,t,e),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}},WM=h,HM=Bi();No.prototype={constructor:No,init:null,mergeOption:function(t){n(this.option,t,!0)},get:function(t,e){return null==t?this.option:Oo(this.option,this.parsePath(t),!e&&Eo(this,t))},getShallow:function(t,e){var i=this.option,n=null==i?i:i[t],o=!e&&Eo(this,t);return null==n&&o&&(n=o.getShallow(t)),n},getModel:function(t,e){var i,n=null==t?this.option:Oo(this.option,t=this.parsePath(t));return e=e||(i=Eo(this,t))&&i.getModel(t),new No(n,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(i(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){HM(this).getParent=t},isAnimationEnabled:function(){if(!U_.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},ji(No),Yi(No),WM(No,eS),WM(No,nS),WM(No,VM),WM(No,FM);var ZM=0,UM=1e-4,XM=9007199254740991,jM=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/,YM=(Object.freeze||Object)({linearMap:Bo,parsePercent:Vo,round:Go,asc:Fo,getPrecision:Wo,getPrecisionSafe:Ho,getPixelPrecision:Zo,getPercentWithPrecision:Uo,MAX_SAFE_INTEGER:XM,remRadian:Xo,isRadianAroundZero:jo,parseDate:Yo,quantity:qo,nice:$o,quantile:function(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),o=+t[n-1],a=i-n;return a?o+a*(t[n]-o):o},reformIntervals:Jo,isNumeric:Qo}),qM=L,KM=/([&<>"'])/g,$M={"&":"&","<":"<",">":">",'"':""","'":"'"},JM=["a","b","c","d","e","f","g"],QM=function(t,e){return"{"+t+(null==e?"":e)+"}"},tI=ze,eI=(Object.freeze||Object)({addCommas:ta,toCamelCase:ea,normalizeCssArray:qM,encodeHTML:ia,formatTpl:na,formatTplSimple:oa,getTooltipMarker:aa,formatTime:sa,capitalFirst:la,truncateText:tI,getTextBoundingRect:function(t){return ke(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},getTextRect:function(t,e,i,n,o,a,r,s){return ke(t,e,i,n,o,s,a,r)}}),iI=d,nI=["left","right","top","bottom","width","height"],oI=[["width","left","right"],["height","top","bottom"]],aI=ua,rI=(v(ua,"vertical"),v(ua,"horizontal"),{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}),sI=Bi(),lI=No.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,i,n){No.call(this,t,e,i,n),this.uid=Ro("ec_cpt_model")},init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,o=i?ga(t):{};n(t,e.getTheme().get(this.mainType)),n(t,this.getDefaultOption()),i&&pa(t,o,i)},mergeOption:function(t,e){n(this.option,t,!0);var i=this.layoutMode;i&&pa(this.option,t,i)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=sI(this);if(!t.defaultOption){for(var e=[],i=this.constructor;i;){var o=i.prototype.defaultOption;o&&e.push(o),i=i.superClass}for(var a={},r=e.length-1;r>=0;r--)a=n(a,e[r],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});$i(lI,{registerWhenExtend:!0}),function(t){var e={};t.registerSubTypeDefaulter=function(t,i){t=Ui(t),e[t.main]=i},t.determineSubType=function(i,n){var o=n.type;if(!o){var a=Ui(i).main;t.hasSubTypes(i)&&e[a]&&(o=e[a](n))}return o}}(lI),function(t,e){function i(t){var i={},a=[];return d(t,function(r){var s=n(i,r),u=o(s.originalDeps=e(r),t);s.entryCount=u.length,0===s.entryCount&&a.push(r),d(u,function(t){l(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(i,t);l(e.successor,t)<0&&e.successor.push(r)})}),{graph:i,noEntryList:a}}function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var i=[];return d(t,function(t){l(e,t)>=0&&i.push(t)}),i}t.topologicalTravel=function(t,e,n,o){function a(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}if(t.length){var r=i(e),s=r.graph,l=r.noEntryList,u={};for(d(t,function(t){u[t]=!0});l.length;){var h=l.pop(),c=s[h],f=!!u[h];f&&(n.call(o,h,c.originalDeps.slice()),delete u[h]),d(c.successor,f?function(t){u[t]=!0,a(t)}:a)}d(u,function(){throw new Error("Circle dependency may exists")})}}}(lI,function(t){var e=[];return d(lI.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=f(e,function(t){return Ui(t).main}),"dataset"!==t&&l(e,"dataset")<=0&&e.unshift("dataset"),e}),h(lI,rI);var uI="";"undefined"!=typeof navigator&&(uI=navigator.platform||"");var hI={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:uI.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},cI=Bi(),dI={clearColorPalette:function(){cI(this).colorIdx=0,cI(this).colorNameMap={}},getColorFromPalette:function(t,e,i){var n=cI(e=e||this),o=n.colorIdx||0,a=n.colorNameMap=n.colorNameMap||{};if(a.hasOwnProperty(t))return a[t];var r=Di(this.get("color",!0)),s=this.get("colorLayer",!0),l=null!=i&&s?va(s,i):r;if((l=l||r)&&l.length){var u=l[o];return t&&(a[t]=u),n.colorIdx=(o+1)%l.length,u}}},fI={cartesian2d:function(t,e,i,n){var o=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",o),i.set("y",a),xa(o)&&(n.set("x",o),e.firstCategoryDimIndex=0),xa(a)&&(n.set("y",a),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var o=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",o),xa(o)&&(n.set("single",o),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var o=t.getReferringComponents("polar")[0],a=o.findAxisModel("radiusAxis"),r=o.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",a),i.set("angle",r),xa(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),xa(r)&&(n.set("angle",r),e.firstCategoryDimIndex=1)},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),r=e.coordSysDims=a.dimensions.slice();d(a.parallelAxisIndex,function(t,a){var s=o.getComponent("parallelAxis",t),l=r[a];i.set(l,s),xa(s)&&null==e.firstCategoryDimIndex&&(n.set(l,s),e.firstCategoryDimIndex=a)})}},pI="original",gI="arrayRows",mI="objectRows",vI="keyedColumns",yI="unknown",xI="typedArray",_I="column",wI="row";_a.seriesDataToSource=function(t){return new _a({data:t,sourceFormat:S(t)?xI:pI,fromDataset:!1})},Yi(_a);var bI=Bi(),SI="\0_ec_inner",MI=No.extend({init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new No(i),this._optionManager=n},setOption:function(t,e){k(!(SI in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var n=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(n)):Ea.call(this,n),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(this.mergeOption(o),e=!0)}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this,this._api);a.length&&d(a,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,o=this._componentsMap,r=[];Sa(this),d(t,function(t,o){null!=t&&(lI.hasClass(o)?o&&r.push(o):e[o]=null==e[o]?i(t):n(e[o],t,!0))}),lI.topologicalTravel(r,lI.getAllClassMainTypes(),function(i,n){var r=Di(t[i]),s=Pi(o.get(i),r);Ni(s),d(s,function(t,e){var n=t.option;w(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=za(i,n,t.exist))});var l=Ra(o,n);e[i]=[],o.set(i,[]),d(s,function(t,n){var r=t.exist,s=t.option;if(k(w(s)||r,"Empty component definition"),s){var u=lI.getClass(i,t.keyInfo.subType,!0);if(r&&r instanceof u)r.name=t.keyInfo.name,r.mergeOption(s,this),r.optionUpdated(s,!1);else{var h=a({dependentModels:l,componentIndex:n},t.keyInfo);a(r=new u(s,this,this,h),h),r.init(s,this,this,h),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);o.get(i)[n]=r,e[i][n]=r.option},this),"series"===i&&Ba(this,o.get("series"))},this),this._seriesIndicesMap=R(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=i(this.option);return d(t,function(e,i){if(lI.hasClass(i)){for(var n=(e=Di(e)).length-1;n>=0;n--)Ei(e[n])&&e.splice(n,1);t[i]=e}}),delete t[SI],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i=t.index,n=t.id,o=t.name,a=this._componentsMap.get(e);if(!a||!a.length)return[];var r;if(null!=i)y(i)||(i=[i]),r=g(f(i,function(t){return a[t]}),function(t){return!!t});else if(null!=n){var s=y(n);r=g(a,function(t){return s&&l(n,t.id)>=0||!s&&t.id===n})}else if(null!=o){var u=y(o);r=g(a,function(t){return u&&l(o,t.name)>=0||!u&&t.name===o})}else r=a.slice();return Va(r,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=function(t){var e=i+"Index",n=i+"Id",o=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[o]?null:{mainType:i,index:t[e],id:t[n],name:t[o]}}(e);return function(e){return t.filter?g(e,t.filter):e}(Va(n?this.queryComponents(n):this._componentsMap.get(i),t))},eachComponent:function(t,e,i){var n=this._componentsMap;"function"==typeof t?(i=e,e=t,n.each(function(t,n){d(t,function(t,o){e.call(i,n,t,o)})})):_(t)?d(n.get(t),e,i):w(t)&&d(this.findComponents(t),e,i)},getSeriesByName:function(t){return g(this._componentsMap.get("series"),function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){return g(this._componentsMap.get("series"),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,e){d(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){d(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){d(this._seriesIndices,function(n){var o=this._componentsMap.get("series")[n];o.subType===t&&e.call(i,o,n)},this)},eachRawSeriesByType:function(t,e,i){return d(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){Ba(this,g(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;Ba(this,e.get("series"));var i=[];e.each(function(t,e){i.push(e)}),lI.topologicalTravel(i,lI.getAllClassMainTypes(),function(i,n){d(e.get(i),function(e){("series"!==i||!Na(e,t))&&e.restoreData()})})}});h(MI,dI);var II=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"],TI={};Fa.prototype={constructor:Fa,create:function(t,e){var i=[];d(TI,function(n,o){var a=n.create(t,e);i=i.concat(a||[])}),this._coordinateSystems=i},update:function(t,e){d(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},Fa.register=function(t,e){TI[t]=e},Fa.get=function(t){return TI[t]};var AI=d,DI=i,CI=f,LI=n,kI=/^(min|max)?(.+)$/;Wa.prototype={constructor:Wa,setOption:function(t,e){t&&d(Di(t.series),function(t){t&&t.data&&S(t.data)&&N(t.data)}),t=DI(t,!0);var i=this._optionBackup,n=Ha.call(this,t,e,!i);this._newBaseOption=n.baseOption,i?(ja(i.baseOption,n.baseOption),n.timelineOptions.length&&(i.timelineOptions=n.timelineOptions),n.mediaList.length&&(i.mediaList=n.mediaList),n.mediaDefault&&(i.mediaDefault=n.mediaDefault)):this._optionBackup=n},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=CI(e.timelineOptions,DI),this._mediaList=CI(e.mediaList,DI),this._mediaDefault=DI(e.mediaDefault),this._currentMediaIndices=[],DI(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=DI(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,o=this._mediaDefault,a=[],r=[];if(!n.length&&!o)return r;for(var s=0,l=n.length;s<l;s++)Za(n[s].query,e,i)&&a.push(s);return!a.length&&o&&(a=[-1]),a.length&&!Xa(a,this._currentMediaIndices)&&(r=CI(a,function(t){return DI(-1===t?o.option:n[t].option)})),this._currentMediaIndices=a,r}};var PI=d,NI=w,OI=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"],EI=function(t,e){PI(tr(t.series),function(t){NI(t)&&Qa(t)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),PI(i,function(e){PI(tr(t[e]),function(t){t&&($a(t,"axisLabel"),$a(t.axisPointer,"label"))})}),PI(tr(t.parallel),function(t){var e=t&&t.parallelAxisDefault;$a(e,"axisLabel"),$a(e&&e.axisPointer,"label")}),PI(tr(t.calendar),function(t){qa(t,"itemStyle"),$a(t,"dayLabel"),$a(t,"monthLabel"),$a(t,"yearLabel")}),PI(tr(t.radar),function(t){$a(t,"name")}),PI(tr(t.geo),function(t){NI(t)&&(Ja(t),PI(tr(t.regions),function(t){Ja(t)}))}),PI(tr(t.timeline),function(t){Ja(t),qa(t,"label"),qa(t,"itemStyle"),qa(t,"controlStyle",!0);var e=t.data;y(e)&&d(e,function(t){w(t)&&(qa(t,"label"),qa(t,"itemStyle"))})}),PI(tr(t.toolbox),function(t){qa(t,"iconStyle"),PI(t.feature,function(t){qa(t,"iconStyle")})}),$a(er(t.axisPointer),"label"),$a(er(t.tooltip).axisPointer,"label")},RI=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],zI=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],BI=function(t,e){EI(t,e),t.series=Di(t.series),d(t.series,function(t){if(w(t)){var e=t.type;if("pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var i=ir(t,"pointer.color");null!=i&&nr(t,"itemStyle.normal.color",i)}or(t)}}),t.dataRange&&(t.visualMap=t.dataRange),d(zI,function(e){var i=t[e];i&&(y(i)||(i=[i]),d(i,function(t){or(t)}))})},VI=rr.prototype;VI.pure=!1,VI.persistent=!0,VI.getSource=function(){return this._source};var GI={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:ur},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=[],i=this._data,n=0;n<i.length;n++){var o=i[n];e.push(o?o[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:sr,getItem:lr,appendData:ur},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],i=this._source.dimensionsDefine,n=0;n<i.length;n++){var o=this._data[i[n].name];e.push(o?o[t]:null)}return e},appendData:function(t){var e=this._data;d(t,function(t,i){for(var n=e[i]||(e[i]=[]),o=0;o<(t||[]).length;o++)n.push(t[o])})}},original:{count:sr,getItem:lr,appendData:ur},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var i=this._dimSize*t,n=0;n<this._dimSize;n++)e[n]=this._data[i+n];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}},FI={arrayRows:hr,objectRows:function(t,e,i,n){return null!=i?t[n]:t},keyedColumns:hr,original:function(t,e,i,n){var o=Li(t);return null!=i&&o instanceof Array?o[i]:o},typedArray:hr},WI={arrayRows:cr,objectRows:function(t,e,i,n){return dr(t[e],this._dimensionInfos[e])},keyedColumns:cr,original:function(t,e,i,n){var o=t&&(null==t.value?t:t.value);return!this._rawData.pure&&ki(t)&&(this.hasItemOption=!0),dr(o instanceof Array?o[n]:o,this._dimensionInfos[e])},typedArray:function(t,e,i,n){return t[n]}},HI=/\{@(.+?)\}/g,ZI={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),o=i.getRawIndex(t),a=i.getName(t),r=i.getRawDataItem(t),s=i.getItemVisual(t,"color"),l=this.ecModel.getComponent("tooltip"),u=Hi(l&&l.get("renderMode")),h=this.mainType,c="series"===h;return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:o,data:r,dataType:e,value:n,color:s,marker:aa({color:s,renderMode:u}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,o){e=e||"normal";var a=this.getData(i),r=a.getItemModel(t),s=this.getDataParams(t,i);null!=n&&s.value instanceof Array&&(s.value=s.value[n]);var l=r.get("normal"===e?[o||"label","formatter"]:[e,o||"label","formatter"]);return"function"==typeof l?(s.status=e,l(s)):"string"==typeof l?na(l,s).replace(HI,function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),fr(a,t,i)}):void 0},getRawValue:function(t,e){return fr(this.getData(e),t)},formatTooltip:function(){}},UI=mr.prototype;UI.perform=function(t){function e(t){return!(t>=1)&&(t=1),t}var i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var o=this.context;o.data=o.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var r=e(this._modBy),s=this._modDataCount||0,l=e(t&&t.modBy),u=t&&t.modDataCount||0;r===l&&s===u||(a="reset");var h;(this._dirty||"reset"===a)&&(this._dirty=!1,h=yr(this,n)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!n&&(h||d<f)){var p=this._progress;if(y(p))for(var g=0;g<p.length;g++)vr(this,p[g],d,f,l,u);else vr(this,p,d,f,l,u)}this._dueIndex=f;var m=null!=this._settedOutputEnd?this._settedOutputEnd:f;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var XI=function(){function t(){return n<i?n++:null}function e(){var t=n%r*o+Math.ceil(n/r),e=n>=i?null:t<a?t:n;return n++,e}var i,n,o,a,r,s={reset:function(l,u,h,c){n=l,i=u,o=h,a=c,r=Math.ceil(a/o),s.next=o>1&&a>0?e:t}};return s}();UI.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},UI.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},UI.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},UI.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},UI.getUpstream=function(){return this._upstream},UI.getDownstream=function(){return this._downstream},UI.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t};var jI=Bi(),YI=lI.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=gr({count:wr,reset:br}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),Ma(this);var o=this.getInitialData(t,i);Mr(o,this),this.dataTask.context.data=o,jI(this).dataBeforeProcessed=o,xr(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,o=i?ga(t):{},a=this.subType;lI.hasClass(a)&&(a+="Series"),n(t,e.getTheme().get(this.subType)),n(t,this.getDefaultOption()),Ci(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&pa(t,o,i)},mergeOption:function(t,e){t=n(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&pa(this.option,t,i),Ma(this);var o=this.getInitialData(t,e);Mr(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,jI(this).dataBeforeProcessed=o,xr(this)},fillDataTextStyle:function(t){if(t&&!S(t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&Ci(t[i],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=Tr(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return jI(this).data},setData:function(t){var e=Tr(this);if(e){var i=e.context;i.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),i.outputData=t,e!==this.dataTask&&(i.data=t)}jI(this).data=t},getSource:function(){return ba(this)},getRawData:function(){return jI(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,i,n){function o(t){return{renderMode:n,content:ia(ta(t)),style:l}}var a=this,r="html"===(n=n||"html")?"<br/>":"\n",s="richText"===n,l={},u=0,h=this.getData(),c=h.mapDimension("defaultedTooltip",!0),f=c.length,g=this.getRawValue(t),m=y(g),v=h.getItemVisual(t,"color");w(v)&&v.colorStops&&(v=(v.colorStops[0]||{}).color),v=v||"transparent";var x=(f>1||m&&!f?function(i){function o(t,i){var o=h.getDimensionInfo(i);if(o&&!1!==o.otherDims.tooltip){var c=o.type,d="sub"+a.seriesIndex+"at"+u,p=aa({color:v,type:"subItem",renderMode:n,markerId:d}),g="string"==typeof p?p:p.content,m=(r?g+ia(o.displayName||"-")+": ":"")+ia("ordinal"===c?t+"":"time"===c?e?"":sa("yyyy/MM/dd hh:mm:ss",t):ta(t));m&&f.push(m),s&&(l[d]=v,++u)}}var r=p(i,function(t,e,i){var n=h.getDimensionInfo(i);return t|=n&&!1!==n.tooltip&&null!=n.displayName},0),f=[];c.length?d(c,function(e){o(fr(h,t,e),e)}):d(i,o);var g=r?s?"\n":"<br/>":"",m=g+f.join(g||", ");return{renderMode:n,content:m,style:l}}(g):o(f?fr(h,t,c[0]):m?g[0]:g)).content,_=a.seriesIndex+"at"+u,b=aa({color:v,type:"item",renderMode:n,markerId:_});l[_]=v,++u;var S=h.getName(t),M=this.name;Oi(this)||(M=""),M=M?ia(M)+(e?": ":r):"";var I="string"==typeof b?b:b.content;return{html:e?I+M+x:M+I+(S?ia(S)+": "+x:x),markers:l}},isAnimationEnabled:function(){if(U_.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,i){var n=this.ecModel,o=dI.getColorFromPalette.call(this,t,e,i);return o||(o=n.getColorFromPalette(t,e,i)),o},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});h(YI,ZI),h(YI,dI);var qI=function(){this.group=new tb,this.uid=Ro("viewComponent")};qI.prototype={constructor:qI,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};var KI=qI.prototype;KI.updateView=KI.updateLayout=KI.updateVisual=function(t,e,i,n){},ji(qI),$i(qI,{registerWhenExtend:!0});var $I=function(){var t=Bi();return function(e){var i=t(e),n=e.pipelineContext,o=i.large,a=i.progressiveRender,r=i.large=n.large,s=i.progressiveRender=n.progressiveRender;return!!(o^r||a^s)&&"reset"}},JI=Bi(),QI=$I();Ar.prototype={type:"chart",init:function(t,e){},render:function(t,e,i,n){},highlight:function(t,e,i,n){Cr(t.getData(),n,"emphasis")},downplay:function(t,e,i,n){Cr(t.getData(),n,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var tT=Ar.prototype;tT.updateView=tT.updateLayout=tT.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},ji(Ar),$i(Ar,{registerWhenExtend:!0}),Ar.markUpdateMethod=function(t,e){JI(t).updateMethod=e};var eT={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)}}},iT="\0__throttleOriginMethod",nT="\0__throttleRate",oT="\0__throttleType",aT={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=(t.visualColorAccessPath||"itemStyle.color").split("."),o=t.get(n)||t.getColorFromPalette(t.name,null,e.getSeriesCount());if(i.setVisual("color",o),!e.isSeriesFiltered(t)){"function"!=typeof o||o instanceof IM||i.each(function(e){i.setItemVisual(e,"color",o(t.getDataParams(e)))});return{dataEach:i.hasItemOption?function(t,e){var i=t.getItemModel(e).get(n,!0);null!=i&&t.setItemVisual(e,"color",i)}:null}}}},rT={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:""}}}},sT=function(t,e){function i(t,e){if("string"!=typeof t)return t;var i=t;return d(e,function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),i}function n(t){var e=a.get(t);if(null==e){for(var i=t.split("."),n=rT.aria,o=0;o<i.length;++o)n=n[i[o]];return n}return e}function o(t){return rT.series.typeNames[t]||"自定义图"}var a=e.getModel("aria");if(a.get("show"))if(a.get("description"))t.setAttribute("aria-label",a.get("description"));else{var r=0;e.eachSeries(function(t,e){++r},this);var s,l=a.get("data.maxCount")||10,u=a.get("series.maxCount")||10,h=Math.min(r,u);if(!(r<1)){var c=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}();s=c?i(n("general.withTitle"),{title:c}):n("general.withoutTitle");var f=[];s+=i(n(r>1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:r}),e.eachSeries(function(t,e){if(e<h){var a,s=t.get("name"),u="series."+(r>1?"multiple":"single")+".";a=i(a=n(s?u+"withName":u+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:o(t.subType)});var c=t.getData();window.data=c,c.count()>l?a+=i(n("data.partialData"),{displayCnt:l}):a+=n("data.allData");for(var d=[],p=0;p<c.count();p++)if(p<l){var g=c.getName(p),m=fr(c,p);d.push(i(n(g?"data.withName":"data.withoutName"),{name:g,value:m}))}a+=d.join(n("data.separator.middle"))+n("data.separator.end"),f.push(a)}}),s+=f.join(n("series.multiple.separator.middle"))+n("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}},lT=Math.PI,uT=Er.prototype;uT.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},uT.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,o=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex?i.step:null,a=n&&n.modDataCount;return{step:o,modBy:null!=a?Math.ceil(a/o):null,modDataCount:a}}},uT.getPipeline=function(t){return this._pipelineMap.get(t)},uT.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData().count(),o=i.progressiveEnabled&&e.incrementalPrepareRender&&n>=i.threshold,a=t.get("large")&&n>=t.get("largeThreshold"),r="mod"===t.get("progressiveChunkMode")?n:null;t.pipelineContext=i.context={progressiveRender:o,modDataCount:r,large:a}},uT.restorePipelines=function(t){var e=this,i=e._pipelineMap=R();t.eachSeries(function(t){var n=t.getProgressive(),o=t.uid;i.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),jr(e,t,t.dataTask)})},uT.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;d(this._allHandlers,function(n){var o=t.get(n.uid)||t.set(n.uid,[]);n.reset&&zr(this,n,o,e,i),n.overallReset&&Br(this,n,o,e,i)},this)},uT.prepareView=function(t,e,i,n){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=i,a.api=n,o.__block=!t.incrementalPrepareRender,jr(this,e,o)},uT.performDataProcessorTasks=function(t,e){Rr(this,this._dataProcessorHandlers,t,e,{block:!0})},uT.performVisualTasks=function(t,e,i){Rr(this,this._visualHandlers,t,e,i)},uT.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},uT.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 hT=uT.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},cT=Ur(0);Er.wrapStageHandler=function(t,e){return x(t)&&(t={overallReset:t,seriesType:Yr(t)}),t.uid=Ro("stageHandler"),e&&(t.visualType=e),t};var dT,fT={},pT={};qr(fT,MI),qr(pT,Ga),fT.eachSeriesByType=fT.eachRawSeriesByType=function(t){dT=t},fT.eachComponent=function(t){"series"===t.mainType&&t.subType&&(dT=t.subType)};var gT=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],mT={color:gT,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],gT]},vT=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],yT={color:vT,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:"#eee"},crossStyle:{color:"#eee"}}},legend:{textStyle:{color:"#eee"}},textStyle:{color:"#eee"},title:{textStyle:{color:"#eee"}},toolbox:{iconStyle:{normal:{borderColor:"#eee"}}},dataZoom:{textStyle:{color:"#eee"}},visualMap:{textStyle:{color:"#eee"}},timeline:{lineStyle:{color:"#eee"},itemStyle:{normal:{color:vT[1]}},label:{normal:{textStyle:{color:"#eee"}}},controlStyle:{normal:{color:"#eee",borderColor:"#eee"}}},timeAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},logAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},valueAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},categoryAxis:{axisLine:{lineStyle:{color:"#eee"}},axisTick:{lineStyle:{color:"#eee"}},axisLabel:{textStyle:{color:"#eee"}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:"#eee"}}},line:{symbol:"circle"},graph:{color:vT},gauge:{title:{textStyle:{color:"#eee"}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};yT.categoryAxis.splitLine.show=!1,lI.extend({type:"dataset",defaultOption:{seriesLayoutBy:_I,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){wa(this)}}),qI.extend({type:"dataset"});var xT=Pn.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,o=e.cy,a=e.rx,r=e.ry,s=a*i,l=r*i;t.moveTo(n-a,o),t.bezierCurveTo(n-a,o-l,n-s,o-r,n,o-r),t.bezierCurveTo(n+s,o-r,n+a,o-l,n+a,o),t.bezierCurveTo(n+a,o+l,n+s,o+r,n,o+r),t.bezierCurveTo(n-s,o+r,n-a,o+l,n-a,o),t.closePath()}}),_T=/[\s,]+/;$r.prototype.parse=function(t,e){e=e||{};var i=Kr(t);if(!i)throw new Error("Illegal svg");var n=new tb;this._root=n;var o=i.getAttribute("viewBox")||"",a=parseFloat(i.getAttribute("width")||e.width),r=parseFloat(i.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(r)&&(r=null),es(i,n,null,!0);for(var s=i.firstChild;s;)this._parseNode(s,n),s=s.nextSibling;var l,u;if(o){var h=P(o).split(_T);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=r&&(u=as(l,a,r),!e.ignoreViewBox)){var c=n;(n=new tb).add(c),c.scale=u.scale.slice(),c.position=u.position.slice()}return e.ignoreRootClip||null==a||null==r||n.setClipPath(new yM({shape:{x:0,y:0,width:a,height:r}})),{root:n,width:a,height:r,viewBoxRect:l,viewBoxTransform:u}},$r.prototype._parseNode=function(t,e){var i=t.nodeName.toLowerCase();"defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0);var n;if(this._isDefine){if(r=bT[i]){var o=r.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else{var r=wT[i];r&&(n=r.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"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},$r.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var o=new rM({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});Qr(e,o),es(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 r=o.getBoundingRect();return this._textX+=r.width,e.add(o),o};var wT={g:function(t,e){var i=new tb;return Qr(e,i),es(t,i,this._defs),i},rect:function(t,e){var i=new yM;return Qr(e,i),es(t,i,this._defs),i.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)}),i},circle:function(t,e){var i=new sM;return Qr(e,i),es(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new _M;return Qr(e,i),es(t,i,this._defs),i.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)}),i},ellipse:function(t,e){var i=new xT;return Qr(e,i),es(t,i,this._defs),i.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)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=ts(i));var n=new pM({shape:{points:i||[]}});return Qr(e,n),es(t,n,this._defs),n},polyline:function(t,e){var i=new Pn;Qr(e,i),es(t,i,this._defs);var n=t.getAttribute("points");return n&&(n=ts(n)),new gM({shape:{points:n||[]}})},image:function(t,e){var i=new fi;return Qr(e,i),es(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(t,e){var i=t.getAttribute("x")||0,n=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(o),this._textY=parseFloat(n)+parseFloat(a);var r=new tb;return Qr(e,r),es(t,r,this._defs),r},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,r=new tb;return Qr(e,r),es(t,r,this._defs),this._textX+=o,this._textY+=a,r},path:function(t,e){var i=Rn(t.getAttribute("d")||"");return Qr(e,i),es(t,i,this._defs),i}},bT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),o=parseInt(t.getAttribute("y2")||0,10),a=new TM(e,i,n,o);return Jr(t,a),a},radialgradient:function(t){}},ST={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-align":"textAlign","alignment-baseline":"textBaseline"},MT=/url\(\s*#(.*?)\)/,IT=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,TT=/([^\s:;]+)\s*:\s*([^:;]+)/g,AT=R(),DT={registerMap:function(t,e,i){var n;return y(e)?n=e:e.svg?n=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),n=[{type:"geoJSON",source:e,specialAreas:i}]),d(n,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,CT[e])(t)}),AT.set(t,n)},retrieveMap:function(t){return AT.get(t)}},CT={geoJSON:function(t){var e=t.source;t.geoJSON=_(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=Kr(t.source)}},LT=k,kT=d,PT=x,NT=w,OT=lI.parseClassType,ET={zrender:"4.0.6"},RT=1e3,zT=1e3,BT=3e3,VT={PROCESSOR:{FILTER:RT,STATISTIC:5e3},VISUAL:{LAYOUT:zT,GLOBAL:2e3,CHART:BT,COMPONENT:4e3,BRUSH:5e3}},GT="__flagInMainProcess",FT="__optionUpdated",WT=/^[a-zA-Z0-9_]+$/;ls.prototype.on=ss("on"),ls.prototype.off=ss("off"),ls.prototype.one=ss("one"),h(ls,fw);var HT=us.prototype;HT._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[FT]){var e=this[FT].silent;this[GT]=!0,cs(this),ZT.update.call(this),this[GT]=!1,this[FT]=!1,gs.call(this,e),ms.call(this,e)}else if(t.unfinished){var i=1,n=this._model;this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),fs(this,n),t.performVisualTasks(n),bs(this,this._model,0,"remain"),i-=+new Date-o}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},HT.getDom=function(){return this._dom},HT.getZr=function(){return this._zr},HT.setOption=function(t,e,i){var n;if(NT(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[GT]=!0,!this._model||e){var o=new Wa(this._api),a=this._theme,r=this._model=new MI(null,null,a,o);r.scheduler=this._scheduler,r.init(null,null,a,o)}this._model.setOption(t,qT),i?(this[FT]={silent:n},this[GT]=!1):(cs(this),ZT.update.call(this),this._zr.flush(),this[FT]=!1,this[GT]=!1,gs.call(this,n),ms.call(this,n))},HT.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},HT.getModel=function(){return this._model},HT.getOption=function(){return this._model&&this._model.getOption()},HT.getWidth=function(){return this._zr.getWidth()},HT.getHeight=function(){return this._zr.getHeight()},HT.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},HT.getRenderedCanvas=function(t){if(U_.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},HT.getSvgDataUrl=function(){if(U_.svgSupported){var t=this._zr;return d(t.storage.getDisplayList(),function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},HT.getDataURL=function(t){var e=(t=t||{}).excludeComponents,i=this._model,n=[],o=this;kT(e,function(t){i.eachComponent({mainType:t},function(t){var e=o._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return kT(n,function(t){t.group.ignore=!1}),a},HT.getConnectedDataURL=function(t){if(U_.canvasSupported){var e=this.group,n=Math.min,o=Math.max;if(eA[e]){var a=1/0,r=1/0,s=-1/0,l=-1/0,u=[],h=t&&t.pixelRatio||1;d(tA,function(h,c){if(h.group===e){var d=h.getRenderedCanvas(i(t)),f=h.getDom().getBoundingClientRect();a=n(f.left,a),r=n(f.top,r),s=o(f.right,s),l=o(f.bottom,l),u.push({dom:d,left:f.left,top:f.top})}});var c=(s*=h)-(a*=h),f=(l*=h)-(r*=h),p=iw();p.width=c,p.height=f;var g=Ii(p);return kT(u,function(t){var e=new fi({style:{x:t.left*h-a,y:t.top*h-r,image:t.dom}});g.add(e)}),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},HT.convertToPixel=v(hs,"convertToPixel"),HT.convertFromPixel=v(hs,"convertFromPixel"),HT.containPixel=function(t,e){var i;return t=Vi(this._model,t),d(t,function(t,n){n.indexOf("Models")>=0&&d(t,function(t){var o=t.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}},this)},this),!!i},HT.getVisual=function(t,e){var i=(t=Vi(this._model,t,{defaultMainType:"series"})).seriesModel.getData(),n=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?i.indexOfRawIndex(t.dataIndex):null;return null!=n?i.getItemVisual(n,e):i.getVisual(e)},HT.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},HT.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var ZT={prepareAndUpdate:function(t){cs(this),ZT.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,o=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),o.create(e,i),a.performDataProcessorTasks(e,t),fs(this,e),o.update(e,i),xs(e),a.performVisualTasks(e,t),_s(this,e,i,t);var r=e.get("backgroundColor")||"transparent";if(U_.canvasSupported)n.setBackgroundColor(r);else{var s=Gt(r);r=qt(s,"rgb"),0===s[3]&&(r="transparent")}Ss(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var o=[];e.eachComponent(function(a,r){var s=i.getViewOfComponentModel(r);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(r,e,n,t);l&&l.update&&o.push(s)}else o.push(s)});var a=R();e.eachSeries(function(o){var r=i._chartsMap[o.__viewId];if(r.updateTransform){var s=r.updateTransform(o,e,n,t);s&&s.update&&a.set(o.uid,1)}else a.set(o.uid,1)}),xs(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),bs(i,e,0,t,a),Ss(e,this._api)}},updateView:function(t){var e=this._model;e&&(Ar.markUpdateMethod(t,"updateView"),xs(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),_s(this,this._model,this._api,t),Ss(e,this._api))},updateVisual:function(t){ZT.update.call(this,t)},updateLayout:function(t){ZT.update.call(this,t)}};HT.resize=function(t){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[GT]=!0,i&&cs(this),ZT.update.call(this),this[GT]=!1,gs.call(this,n),ms.call(this,n)}},HT.showLoading=function(t,e){if(NT(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),QT[t]){var i=QT[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},HT.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},HT.makeActionFromEvent=function(t){var e=a({},t);return e.type=jT[t.type],e},HT.dispatchAction=function(t,e){NT(e)||(e={silent:!!e}),XT[t.type]&&this._model&&(this[GT]?this._pendingActions.push(t):(ps.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&U_.browser.weChat&&this._throttledZrFlush(),gs.call(this,e.silent),ms.call(this,e.silent)))},HT.appendData=function(t){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0},HT.on=ss("on"),HT.off=ss("off"),HT.one=ss("one");var UT=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];HT._initEvents=function(){kT(UT,function(t){var e=function(e){var i,n=this.getModel(),o=e.target;if("globalout"===t)i={};else if(o&&null!=o.dataIndex){var r=o.dataModel||n.getSeriesByIndex(o.seriesIndex);i=r&&r.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(i=a({},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&&n.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),kT(jT,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},HT.isDisposed=function(){return this._disposed},HT.clear=function(){this.setOption({series:[]},!0)},HT.dispose=function(){if(!this._disposed){this._disposed=!0,Fi(this.getDom(),oA,"");var t=this._api,e=this._model;kT(this._componentsViews,function(i){i.dispose(e,t)}),kT(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete tA[this.id]}},h(us,fw),Ds.prototype={constructor:Ds,normalizeQuery:function(t){var e={},i={},n={};if(_(t)){var o=OT(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],r={name:1,dataIndex:1,dataType:1};d(t,function(t,o){for(var s=!1,l=0;l<a.length;l++){var u=a[l],h=o.lastIndexOf(u);if(h>0&&h===o.length-u.length){var c=o.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}r.hasOwnProperty(o)&&(i[o]=t,s=!0),s||(n[o]=t)})}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){function n(t,e,i,n){return null==t[i]||e[n||i]===t[i]}var o=this.eventInfo;if(!o)return!0;var a=o.targetEl,r=o.packedEvent,s=o.model,l=o.view;if(!s||!l)return!0;var u=e.cptQuery,h=e.dataQuery;return n(u,s,"mainType")&&n(u,s,"subType")&&n(u,s,"index","componentIndex")&&n(u,s,"name")&&n(u,s,"id")&&n(h,r,"name")&&n(h,r,"dataIndex")&&n(h,r,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,e.otherQuery,a,r))},afterTrigger:function(){this.eventInfo=null}};var XT={},jT={},YT=[],qT=[],KT=[],$T=[],JT={},QT={},tA={},eA={},iA=new Date-0,nA=new Date-0,oA="_echarts_instance_",aA=Ls;Bs(2e3,aT),Ns(BI),Os(5e3,function(t){var e=R();t.eachSeries(function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),o=t.getData(),a={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;n.length&&o.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(a)}}),e.each(ar)}),Gs("default",function(t,e){r(e=e||{},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new yM({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),n=new SM({shape:{startAngle:-lT/2,endAngle:-lT/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),o=new yM({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});n.animateShape(!0).when(1e3,{endAngle:3*lT/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*lT/2}).delay(300).start("circularInOut");var a=new tb;return a.add(n),a.add(o),a.add(i),a.resize=function(){var e=t.getWidth()/2,a=t.getHeight()/2;n.setShape({cx:e,cy:a});var r=n.shape.r;o.setShape({x:e-r,y:a-r,width:2*r,height:2*r}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},a.resize(),a}),Es({type:"highlight",event:"highlight",update:"highlight"},B),Es({type:"downplay",event:"downplay",update:"downplay"},B),Ps("light",mT),Ps("dark",yT);var rA={};Xs.prototype={constructor:Xs,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,i={},n=[],o=[];for(js(t,{},n,"_oldKeyGetter",this),js(e,i,o,"_newKeyGetter",this),a=0;a<t.length;a++)null!=(s=i[r=n[a]])?((u=s.length)?(1===u&&(i[r]=null),s=s.unshift()):i[r]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a);for(var a=0;a<o.length;a++){var r=o[a];if(i.hasOwnProperty(r)){var s=i[r];if(null==s)continue;if(s.length)for(var l=0,u=s.length;l<u;l++)this._add&&this._add(s[l]);else this._add&&this._add(s)}}}};var sA=R(["tooltip","label","itemName","itemId","seriesName"]),lA=w,uA=-1,hA="e\0\0",cA={float:"undefined"==typeof Float64Array?Array:Float64Array,int:"undefined"==typeof Int32Array?Array:Int32Array,ordinal:Array,number:Array,time:Array},dA="undefined"==typeof Uint32Array?Array:Uint32Array,fA="undefined"==typeof Int32Array?Array:Int32Array,pA="undefined"==typeof Uint16Array?Array:Uint16Array,gA=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],mA=["_extent","_approximateExtent","_rawExtent"],vA=function(t,e){t=t||["x","y"];for(var i={},n=[],o={},a=0;a<t.length;a++){var r=t[a];_(r)&&(r={name:r});var s=r.name;r.type=r.type||"float",r.coordDim||(r.coordDim=s,r.coordDimIndex=0),r.otherDims=r.otherDims||{},n.push(s),i[s]=r,r.index=a,r.createInvertedIndices&&(o[s]=[])}this.dimensions=n,this._dimensionInfos=i,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=Ys(this),this._invertedIndicesMap=o,this._calculationInfo={}},yA=vA.prototype;yA.type="list",yA.hasItemOption=!0,yA.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},yA.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},yA.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},yA.mapDimension=function(t,e){var i=this._dimensionsSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return!0===e?(n||[]).slice():n&&n[e]},yA.initData=function(t,e,i){(_a.isInstance(t)||c(t))&&(t=new rr(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},i||(this.hasItemOption=!1),this.defaultDimValueGetter=WI[this._rawData.getSource().sourceFormat],this._dimValueGetter=i=i||this.defaultDimValueGetter,this._dimValueGetterArrayRows=WI.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},yA.getProvider=function(){return this._rawData},yA.appendData=function(t){var e=this._rawData,i=this.count();e.appendData(t);var n=e.count();e.persistent||(n+=i),this._initDataFromProvider(i,n)},yA.appendValues=function(t,e){for(var i=this._chunkSize,n=this._storage,o=this.dimensions,a=o.length,r=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,h=0;h<a;h++)r[v=o[h]]||(r[v]=[1/0,-1/0]),n[v]||(n[v]=[]),tl(n,this._dimensionInfos[v],i,u,l),this._chunkCount=n[v].length;for(var c=new Array(a),d=s;d<l;d++){for(var f=d-s,p=Math.floor(d/i),g=d%i,m=0;m<a;m++){var v=o[m],y=this._dimValueGetterArrayRows(t[f]||c,v,f,m);n[v][p][g]=y;var x=r[v];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},el(this)},yA._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,o=this._rawData,a=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){c[w=r[p]]||(c[w]=[1/0,-1/0]);var g=l[w];0===g.otherDims.itemName&&(i=this._nameDimIdx=p),0===g.otherDims.itemId&&(this._idDimIdx=p),a[w]||(a[w]=[]),tl(a,g,n,f,e),this._chunkCount=a[w].length}for(var m=new Array(s),v=t;v<e;v++){m=o.getItem(v,m);for(var y=Math.floor(v/n),x=v%n,_=0;_<s;_++){var w=r[_],b=a[w][y],S=this._dimValueGetter(m,w,v,_);b[x]=S;var M=c[w];S<M[0]&&(M[0]=S),S>M[1]&&(M[1]=S)}if(!o.pure){var I=u[v];if(m&&null==I)if(null!=m.name)u[v]=I=m.name;else if(null!=i){var T=r[i],A=a[T][y];if(A){I=A[x];var D=l[T].ordinalMeta;D&&D.categories.length&&(I=D.categories[I])}}var C=null==m?null:m.id;null==C&&null!=I&&(d[I]=d[I]||0,C=I,d[I]>0&&(C+="__ec__"+d[I]),d[I]++),null!=C&&(h[v]=C)}}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=e,this._extent={},el(this)}},yA.count=function(){return this._count},yA.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){n=new e(i);for(o=0;o<i;o++)n[o]=t[o]}else n=new e(t.buffer,0,i)}else for(var n=new(e=$s(this))(this.count()),o=0;o<n.length;o++)n[o]=o;return n},yA.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._storage;if(!i[t])return NaN;e=this.getRawIndex(e);var n=Math.floor(e/this._chunkSize),o=e%this._chunkSize;return i[t][n][o]},yA.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._storage[t];if(!i)return NaN;var n=Math.floor(e/this._chunkSize),o=e%this._chunkSize;return i[n][o]},yA._getFast=function(t,e){var i=Math.floor(e/this._chunkSize),n=e%this._chunkSize;return this._storage[t][i][n]},yA.getValues=function(t,e){var i=[];y(t)||(e=t,t=this.dimensions);for(var n=0,o=t.length;n<o;n++)i.push(this.get(t[n],e));return i},yA.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,i=this._dimensionInfos,n=0,o=e.length;n<o;n++)if("ordinal"!==i[e[n]].type&&isNaN(this.get(e[n],t)))return!1;return!0},yA.getDataExtent=function(t){t=this.getDimension(t);var e=[1/0,-1/0];if(!this._storage[t])return e;var i,n=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=e)[0],a=i[1],r=0;r<n;r++){var s=this._getFast(t,this.getRawIndex(r));s<o&&(o=s),s>a&&(a=s)}return i=[o,a],this._extent[t]=i,i},yA.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},yA.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},yA.getCalculationInfo=function(t){return this._calculationInfo[t]},yA.setCalculationInfo=function(t,e){lA(t)?a(this._calculationInfo,t):this._calculationInfo[t]=e},yA.getSum=function(t){var e=0;if(this._storage[t])for(var i=0,n=this.count();i<n;i++){var o=this.get(t,i);isNaN(o)||(e+=o)}return e},yA.getMedian=function(t){var e=[];this.each(t,function(t,i){isNaN(t)||e.push(t)});var i=[].concat(e).sort(function(t,e){return t-e}),n=this.count();return 0===n?0:n%2==1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},yA.rawIndexOf=function(t,e){var i=(t&&this._invertedIndicesMap[t])[e];return null==i||isNaN(i)?uA:i},yA.indexOfName=function(t){for(var e=0,i=this.count();e<i;e++)if(this.getName(e)===t)return e;return-1},yA.indexOfRawIndex=function(t){if(!this._indices)return t;if(t>=this._rawCount||t<0)return-1;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;for(var n=0,o=this._count-1;n<=o;){var a=(n+o)/2|0;if(e[a]<t)n=a+1;else{if(!(e[a]>t))return a;o=a-1}}return-1},yA.indicesOfNearest=function(t,e,i){var n=[];if(!this._storage[t])return n;null==i&&(i=1/0);for(var o=Number.MAX_VALUE,a=-1,r=0,s=this.count();r<s;r++){var l=e-this.get(t,r),u=Math.abs(l);l<=i&&u<=o&&((u<o||l>=0&&a<0)&&(o=u,a=l,n.length=0),n.push(r))}return n},yA.getRawIndex=nl,yA.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i<this.dimensions.length;i++){var n=this.dimensions[i];e.push(this.get(n,t))}return e},yA.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||il(this,this._nameDimIdx,e)||""},yA.getId=function(t){return al(this,this.getRawIndex(t))},yA.each=function(t,e,i,n){if(this._count){"function"==typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;for(var o=(t=f(rl(t),this.getDimension,this)).length,a=0;a<this.count();a++)switch(o){case 0:e.call(i,a);break;case 1:e.call(i,this.get(t[0],a),a);break;case 2:e.call(i,this.get(t[0],a),this.get(t[1],a),a);break;default:for(var r=0,s=[];r<o;r++)s[r]=this.get(t[r],a);s[r]=a,e.apply(i,s)}}},yA.filterSelf=function(t,e,i,n){if(this._count){"function"==typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this,t=f(rl(t),this.getDimension,this);for(var o=this.count(),a=new($s(this))(o),r=[],s=t.length,l=0,u=t[0],h=0;h<o;h++){var c,d=this.getRawIndex(h);if(0===s)c=e.call(i,h);else if(1===s){var p=this._getFast(u,d);c=e.call(i,p,h)}else{for(var g=0;g<s;g++)r[g]=this._getFast(u,d);r[g]=h,c=e.apply(i,r)}c&&(a[l++]=d)}return l<o&&(this._indices=a),this._count=l,this._extent={},this.getRawIndex=this._indices?ol:nl,this}},yA.selectRange=function(t){if(this._count){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var n=e.length;if(n){var o=this.count(),a=new($s(this))(o),r=0,s=e[0],l=t[s][0],u=t[s][1],h=!1;if(!this._indices){var c=0;if(1===n){for(var d=this._storage[e[0]],f=0;f<this._chunkCount;f++)for(var p=d[f],g=Math.min(this._count-f*this._chunkSize,this._chunkSize),m=0;m<g;m++)((w=p[m])>=l&&w<=u||isNaN(w))&&(a[r++]=c),c++;h=!0}else if(2===n){for(var d=this._storage[s],v=this._storage[e[1]],y=t[e[1]][0],x=t[e[1]][1],f=0;f<this._chunkCount;f++)for(var p=d[f],_=v[f],g=Math.min(this._count-f*this._chunkSize,this._chunkSize),m=0;m<g;m++){var w=p[m],b=_[m];(w>=l&&w<=u||isNaN(w))&&(b>=y&&b<=x||isNaN(b))&&(a[r++]=c),c++}h=!0}}if(!h)if(1===n)for(m=0;m<o;m++){M=this.getRawIndex(m);((w=this._getFast(s,M))>=l&&w<=u||isNaN(w))&&(a[r++]=M)}else for(m=0;m<o;m++){for(var S=!0,M=this.getRawIndex(m),f=0;f<n;f++){var I=e[f];((w=this._getFast(i,M))<t[I][0]||w>t[I][1])&&(S=!1)}S&&(a[r++]=this.getRawIndex(m))}return r<o&&(this._indices=a),this._count=r,this._extent={},this.getRawIndex=this._indices?ol:nl,this}}},yA.mapArray=function(t,e,i,n){"function"==typeof t&&(n=i,i=e,e=t,t=[]),i=i||n||this;var o=[];return this.each(t,function(){o.push(e&&e.apply(this,arguments))},i),o},yA.map=function(t,e,i,n){i=i||n||this;var o=sl(this,t=f(rl(t),this.getDimension,this));o._indices=this._indices,o.getRawIndex=o._indices?ol:nl;for(var a=o._storage,r=[],s=this._chunkSize,l=t.length,u=this.count(),h=[],c=o._rawExtent,d=0;d<u;d++){for(var p=0;p<l;p++)h[p]=this.get(t[p],d);h[l]=d;var g=e&&e.apply(i,h);if(null!=g){"object"!=typeof g&&(r[0]=g,g=r);for(var m=this.getRawIndex(d),v=Math.floor(m/s),y=m%s,x=0;x<g.length;x++){var _=t[x],w=g[x],b=c[_],S=a[_];S&&(S[v][y]=w),w<b[0]&&(b[0]=w),w>b[1]&&(b[1]=w)}}}return o},yA.downSample=function(t,e,i,n){for(var o=sl(this,[t]),a=o._storage,r=[],s=Math.floor(1/e),l=a[t],u=this.count(),h=this._chunkSize,c=o._rawExtent[t],d=new($s(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,r.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(p+g),v=Math.floor(m/h),y=m%h;r[g]=l[v][y]}var x=i(r),_=this.getRawIndex(Math.min(p+n(r,x)||0,u-1)),w=_%h;l[Math.floor(_/h)][w]=x,x<c[0]&&(c[0]=x),x>c[1]&&(c[1]=x),d[f++]=_}return o._count=f,o._indices=d,o.getRawIndex=ol,o},yA.getItemModel=function(t){var e=this.hostModel;return new No(this.getRawDataItem(t),e,e&&e.ecModel)},yA.diff=function(t){var e=this;return new Xs(t?t.getIndices():[],this.getIndices(),function(e){return al(t,e)},function(t){return al(e,t)})},yA.getVisual=function(t){var e=this._visual;return e&&e[t]},yA.setVisual=function(t,e){if(lA(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},yA.setLayout=function(t,e){if(lA(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},yA.getLayout=function(t){return this._layout[t]},yA.getItemLayout=function(t){return this._itemLayouts[t]},yA.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?a(this._itemLayouts[t]||{},e):e},yA.clearItemLayouts=function(){this._itemLayouts.length=0},yA.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],o=n&&n[e];return null!=o||i?o:this.getVisual(e)},yA.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=n,lA(e))for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a],o[a]=!0);else n[e]=i,o[e]=!0},yA.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var xA=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};yA.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(xA,e)),this._graphicEls[t]=e},yA.getItemGraphicEl=function(t){return this._graphicEls[t]},yA.eachItemGraphicEl=function(t,e){d(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},yA.cloneShallow=function(t){if(!t){var e=f(this.dimensions,this.getDimensionInfo,this);t=new vA(e,this.hostModel)}if(t._storage=this._storage,Qs(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?ol:nl,t},yA.wrapMethod=function(t,e){var i=this[t];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(C(arguments)))})},yA.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],yA.CHANGABLE_METHODS=["filterSelf","selectRange"];var _A=function(t,e){return e=e||{},hl(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})};xl.prototype.parse=function(t){return t},xl.prototype.getSetting=function(t){return this._setting[t]},xl.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},xl.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},xl.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},xl.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},xl.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},xl.prototype.getExtent=function(){return this._extent.slice()},xl.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},xl.prototype.isBlank=function(){return this._isBlank},xl.prototype.setBlank=function(t){this._isBlank=t},xl.prototype.getLabel=null,ji(xl),$i(xl,{registerWhenExtend:!0}),_l.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&f(i,bl);return new _l({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var wA=_l.prototype;wA.getOrdinal=function(t){return wl(this).get(t)},wA.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!=typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=wl(this);return null==(e=n.get(t))&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var bA=xl.prototype,SA=xl.extend({type:"ordinal",init:function(t,e){t&&!y(t)||(t=new _l({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.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),bA.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return bA.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(bA.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,i=e[0];i<=e[1];)t.push(i),i++;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:B,niceExtent:B});SA.create=function(){return new SA};var MA=Go,IA=Go,TA=xl.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),TA.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=Ml(t)},getTicks:function(){return Al(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getLabel:function(t,e){if(null==t)return"";var i=e&&e.precision;return null==i?i=Ho(t)||0:"auto"===i&&(i=this._intervalPrecision),t=IA(t,i,!0),ta(t)},niceTicks:function(t,e,i){t=t||5;var n=this._extent,o=n[1]-n[0];if(isFinite(o)){o<0&&(o=-o,n.reverse());var a=Sl(n,t,e,i);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax?e[0]-=i/2:(e[1]+=i/2,e[0]-=i/2)}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var o=this._interval;t.fixMin||(e[0]=IA(Math.floor(e[0]/o)*o)),t.fixMax||(e[1]=IA(Math.ceil(e[1]/o)*o))}});TA.create=function(){return new TA};var AA="__ec_stack_",DA="undefined"!=typeof Float32Array?Float32Array:Array,CA={seriesType:"bar",plan:$I(),reset:function(t){if(Rl(t)&&zl(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),o=i.getOtherAxis(n),a=e.mapDimension(o.dim),r=e.mapDimension(n.dim),s=o.isHorizontal(),l=s?0:1,u=Ol(Pl([t]),n,t).width;return u>.5||(u=.5),{progress:function(t,e){for(var n,h=new DA(2*t.count),c=[],d=[],f=0;null!=(n=t.next());)d[l]=e.get(a,n),d[1-l]=e.get(r,n),c=i.dataToPoint(d,null,c),h[f++]=c[0],h[f++]=c[1];e.setLayout({largePoints:h,barWidth:u,valueAxisStart:Bl(0,o),valueAxisHorizontal:s})}}}}},LA=TA.prototype,kA=Math.ceil,PA=Math.floor,NA=function(t,e,i,n){for(;i<n;){var o=i+n>>>1;t[o][1]<e?i=o+1:n=o}return i},OA=TA.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return sa(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=Go(PA(e[0]/n)*n)),t.fixMax||(e[1]=Go(kA(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,o=n[1]-n[0],a=o/t;null!=e&&a<e&&(a=e),null!=i&&a>i&&(a=i);var r=EA.length,s=NA(EA,a,0,r),l=EA[Math.min(s,r-1)],u=l[1];"year"===l[0]&&(u*=$o(o/u/t,!0));var h=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,c=[Math.round(kA((n[0]-h)/u)*u+h),Math.round(PA((n[1]-h)/u)*u+h)];Tl(c,n),this._stepLvl=l,this._interval=u,this._niceExtent=c},parse:function(t){return+Yo(t)}});d(["contain","normalize"],function(t){OA.prototype[t]=function(e){return LA[t].call(this,this.parse(e))}});var EA=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",864e5],["MM-dd\nyyyy",1728e5],["MM-dd\nyyyy",2592e5],["MM-dd\nyyyy",3456e5],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",5184e5],["week",6048e5],["MM-dd\nyyyy",864e6],["week",12096e5],["week",18144e5],["month",26784e5],["week",36288e5],["month",53568e5],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];OA.create=function(t){return new OA({useUTC:t.ecModel.get("useUTC")})};var RA=xl.prototype,zA=TA.prototype,BA=Ho,VA=Go,GA=Math.floor,FA=Math.ceil,WA=Math.pow,HA=Math.log,ZA=xl.extend({type:"log",base:10,$constructor:function(){xl.apply(this,arguments),this._originalScale=new TA},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return f(zA.getTicks.call(this),function(n){var o=Go(WA(this.base,n));return o=n===e[0]&&t.__fixMin?Vl(o,i[0]):o,o=n===e[1]&&t.__fixMax?Vl(o,i[1]):o},this)},getLabel:zA.getLabel,scale:function(t){return t=RA.scale.call(this,t),WA(this.base,t)},setExtent:function(t,e){var i=this.base;t=HA(t)/HA(i),e=HA(e)/HA(i),zA.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=RA.getExtent.call(this);e[0]=WA(t,e[0]),e[1]=WA(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=Vl(e[0],n[0])),i.__fixMax&&(e[1]=Vl(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=HA(t[0])/HA(e),t[1]=HA(t[1])/HA(e),RA.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=qo(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var o=[Go(FA(e[0]/n)*n),Go(GA(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){zA.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});d(["contain","normalize"],function(t){ZA.prototype[t]=function(e){return e=HA(e)/HA(this.base),RA[t].call(this,e)}}),ZA.create=function(){return new ZA};var UA={getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!=typeof i&&!I(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!=typeof i&&!I(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:B,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}},XA=Un({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,o=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+o,n+a),t.lineTo(i-o,n+a),t.closePath()}}),jA=Un({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,o=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+o,n),t.lineTo(i,n+a),t.lineTo(i-o,n),t.closePath()}}),YA=Un({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,o=e.width/5*3,a=Math.max(o,e.height),r=o/2,s=r*r/(a-r),l=n-a+r+s,u=Math.asin(s/r),h=Math.cos(u)*r,c=Math.sin(u),d=Math.cos(u),f=.6*r,p=.7*r;t.moveTo(i-h,l+s),t.arc(i,l,r,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-h+c*f,l+s+d*f,i-h,l+s),t.closePath()}}),qA=Un({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,o=e.x,a=e.y,r=n/3*2;t.moveTo(o,a),t.lineTo(o+r,a+i),t.lineTo(o,a+i/4*3),t.lineTo(o-r,a+i),t.lineTo(o,a),t.closePath()}}),KA={line:function(t,e,i,n,o){o.x1=t,o.y1=e+n/2,o.x2=t+i,o.y2=e+n/2},rect:function(t,e,i,n,o){o.x=t,o.y=e,o.width=i,o.height=n},roundRect:function(t,e,i,n,o){o.x=t,o.y=e,o.width=i,o.height=n,o.r=Math.min(i,n)/4},square:function(t,e,i,n,o){var a=Math.min(i,n);o.x=t,o.y=e,o.width=a,o.height=a},circle:function(t,e,i,n,o){o.cx=t+i/2,o.cy=e+n/2,o.r=Math.min(i,n)/2},diamond:function(t,e,i,n,o){o.cx=t+i/2,o.cy=e+n/2,o.width=i,o.height=n},pin:function(t,e,i,n,o){o.x=t+i/2,o.y=e+n/2,o.width=i,o.height=n},arrow:function(t,e,i,n,o){o.x=t+i/2,o.y=e+n/2,o.width=i,o.height=n},triangle:function(t,e,i,n,o){o.cx=t+i/2,o.cy=e+n/2,o.width=i,o.height=n}},$A={};d({line:_M,rect:yM,roundRect:yM,square:yM,circle:sM,diamond:jA,pin:YA,arrow:qA,triangle:XA},function(t,e){$A[e]=new t});var JA=Un({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style;"pin"===this.shape.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,i){var n=e.symbolType,o=$A[n];"none"!==e.symbolType&&(o||(o=$A[n="rect"]),KA[n](e.x,e.y,e.width,e.height,o.shape),o.buildPath(t,o.shape,i))}}),QA={isDimensionStacked:pl,enableDataStack:fl,getStackedDimension:gl},tD=(Object.freeze||Object)({createList:function(t){return ml(t.getSource(),t)},getLayoutRect:ca,dataStack:QA,createScale:function(t,e){var i=e;No.isInstance(e)||h(i=new No(e),UA);var n=Hl(i);return n.setExtent(t[0],t[1]),Wl(n,i),n},mixinAxisModelCommonMethods:function(t){h(t,UA)},completeDimensions:hl,createDimensions:_A,createSymbol:Jl}),eD=1e-8;eu.prototype={constructor:eu,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],n=[-e,-e],o=[],a=[],r=this.geometries,s=0;s<r.length;s++)"polygon"===r[s].type&&(fn(r[s].exterior,o,a),tt(i,i,o),et(n,n,a));return 0===s&&(i[0]=i[1]=n[0]=n[1]=0),this._rect=new de(i[0],i[1],n[0]-i[0],n[1]-i[1])},contain:function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,o=i.length;n<o;n++)if("polygon"===i[n].type){var a=i[n].exterior,r=i[n].interiors;if(tu(a,t[0],t[1])){for(var s=0;s<(r?r.length:0);s++)if(tu(r[s]))continue t;return!0}}return!1},transformTo:function(t,e,i,n){var o=this.getBoundingRect(),a=o.width/o.height;i?n||(n=i/a):i=a*n;for(var r=new de(t,e,i,n),s=o.calculateTransform(r),l=this.geometries,u=0;u<l.length;u++)if("polygon"===l[u].type){for(var h=l[u].exterior,c=l[u].interiors,d=0;d<h.length;d++)Q(h[d],h[d],s);for(var f=0;f<(c?c.length:0);f++)for(d=0;d<c[f].length;d++)Q(c[f][d],c[f][d],s)}(o=this._rect).copy(r),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new eu(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var iD=function(t){return iu(t),f(g(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var e=t.properties,i=t.geometry,n=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:n[0],interiors:n.slice(1)}),"MultiPolygon"===i.type&&d(n,function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var a=new eu(e.name,o,e.cp);return a.properties=e,a})},nD=Bi(),oD=[0,1],aD=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};aD.prototype={constructor:aD,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return Zo(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&yu(i=i.slice(),n.count()),Bo(t,oD,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&yu(i=i.slice(),n.count());var o=Bo(t,i,oD,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),i=au(this,e),n=f(i.ticks,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),o=e.get("alignWithLabel");return xu(this,n,i.tickCategoryInterval,o,t.clamp),n},getViewLabels:function(){return ou(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(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return pu(this)}};var rD=iD,sD={};d(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){sD[t]=aw[t]});var lD={};d(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){lD[t]=zM[t]}),YI.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return ml(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},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}});var uD=wu.prototype,hD=wu.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};uD._createSymbol=function(t,e,i,n,o){this.removeAll();var a=Jl(t,-1,-1,2,2,e.getItemVisual(i,"color"),o);a.attr({z2:100,culling:!0,scale:bu(n)}),a.drift=Su,this._symbolType=t,this.add(a)},uD.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},uD.getSymbolPath=function(){return this.childAt(0)},uD.getScale=function(){return this.childAt(0).scale},uD.highlight=function(){this.childAt(0).trigger("emphasis")},uD.downplay=function(){this.childAt(0).trigger("normal")},uD.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},uD.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},uD.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",o=t.hostModel,a=hD(t,e),r=n!==this._symbolType;if(r){var s=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,a,s)}else(l=this.childAt(0)).silent=!1,Io(l,{scale:bu(a)},o,e);if(this._updateCommon(t,e,a,i),r){var l=this.childAt(0),u=i&&i.fadeIn,h={scale:l.scale.slice()};u&&(h.style={opacity:l.style.opacity}),l.scale=[0,0],u&&(l.style.opacity=0),To(l,h,o,e)}this._seriesModel=o};var cD=["itemStyle"],dD=["emphasis","itemStyle"],fD=["label"],pD=["emphasis","label"];uD._updateCommon=function(t,e,i,n){var o=this.childAt(0),r=t.hostModel,s=t.getItemVisual(e,"color");"image"!==o.type&&o.useStyle({strokeNoScale:!0});var l=n&&n.itemStyle,u=n&&n.hoverItemStyle,h=n&&n.symbolRotate,c=n&&n.symbolOffset,d=n&&n.labelModel,f=n&&n.hoverLabelModel,p=n&&n.hoverAnimation,g=n&&n.cursorStyle;if(!n||t.hasItemOption){var m=n&&n.itemModel?n.itemModel:t.getItemModel(e);l=m.getModel(cD).getItemStyle(["color"]),u=m.getModel(dD).getItemStyle(),h=m.getShallow("symbolRotate"),c=m.getShallow("symbolOffset"),d=m.getModel(fD),f=m.getModel(pD),p=m.getShallow("hoverAnimation"),g=m.getShallow("cursor")}else u=a({},u);var v=o.style;o.attr("rotation",(h||0)*Math.PI/180||0),c&&o.attr("position",[Vo(c[0],i[0]),Vo(c[1],i[1])]),g&&o.attr("cursor",g),o.setColor(s,n&&n.symbolInnerColor),o.setStyle(l);var y=t.getItemVisual(e,"opacity");null!=y&&(v.opacity=y);var x=t.getItemVisual(e,"liftZ"),_=o.__z2Origin;null!=x?null==_&&(o.__z2Origin=o.z2,o.z2+=x):null!=_&&(o.z2=_,o.__z2Origin=null);var w=n&&n.useNameLabel;go(v,u,d,f,{labelFetcher:r,labelDataIndex:e,defaultText:function(e,i){return w?t.getName(e):_u(t,e)},isRectText:!0,autoColor:s}),o.off("mouseover").off("mouseout").off("emphasis").off("normal"),o.hoverStyle=u,fo(o),o.__symbolOriginalScale=bu(i),p&&r.isAnimationEnabled()&&o.on("mouseover",Mu).on("mouseout",Iu).on("emphasis",Tu).on("normal",Au)},uD.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,!(e&&e.keepLabel)&&(i.style.text=null),Io(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},u(wu,tb);var gD=Du.prototype;gD.updateData=function(t,e){e=Lu(e);var i=this.group,n=t.hostModel,o=this._data,a=this._symbolCtor,r=ku(t);o||i.removeAll(),t.diff(o).add(function(n){var o=t.getItemLayout(n);if(Cu(t,o,n,e)){var s=new a(t,n,r);s.attr("position",o),t.setItemGraphicEl(n,s),i.add(s)}}).update(function(s,l){var u=o.getItemGraphicEl(l),h=t.getItemLayout(s);Cu(t,h,s,e)?(u?(u.updateData(t,s,r),Io(u,{position:h},n)):(u=new a(t,s)).attr("position",h),i.add(u),t.setItemGraphicEl(s,u)):i.remove(u)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)})}).execute(),this._data=t},gD.isPersistent=function(){return!0},gD.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){var n=t.getItemLayout(i);e.attr("position",n)})},gD.incrementalPrepareUpdate=function(t){this._seriesScope=ku(t),this._data=null,this.group.removeAll()},gD.incrementalUpdate=function(t,e,i){i=Lu(i);for(var n=t.start;n<t.end;n++){var o=e.getItemLayout(n);if(Cu(e,o,n,i)){var a=new this._symbolCtor(e,n,this._seriesScope);a.traverse(function(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}),a.attr("position",o),this.group.add(a),e.setItemGraphicEl(n,a)}}},gD.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()};var mD=function(t,e,i,n,o,a,r,s){for(var l=Eu(t,e),u=[],h=[],c=[],d=[],f=[],p=[],g=[],m=Pu(o,e,r),v=Pu(a,t,s),y=0;y<l.length;y++){var x=l[y],_=!0;switch(x.cmd){case"=":var w=t.getItemLayout(x.idx),b=e.getItemLayout(x.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=b.slice()),u.push(w),h.push(b),c.push(i[x.idx]),d.push(n[x.idx1]),g.push(e.getRawIndex(x.idx1));break;case"+":S=x.idx;u.push(o.dataToPoint([e.get(m.dataDimsForPoint[0],S),e.get(m.dataDimsForPoint[1],S)])),h.push(e.getItemLayout(S).slice()),c.push(Ou(m,o,e,S)),d.push(n[S]),g.push(e.getRawIndex(S));break;case"-":var S=x.idx,M=t.getRawIndex(S);M!==S?(u.push(t.getItemLayout(S)),h.push(a.dataToPoint([t.get(v.dataDimsForPoint[0],S),t.get(v.dataDimsForPoint[1],S)])),c.push(i[S]),d.push(Ou(v,a,t,S)),g.push(M)):_=!1}_&&(f.push(x),p.push(p.length))}p.sort(function(t,e){return g[t]-g[e]});for(var I=[],T=[],A=[],D=[],C=[],y=0;y<p.length;y++){S=p[y];I[y]=u[S],T[y]=h[S],A[y]=c[S],D[y]=d[S],C[y]=f[S]}return{current:I,next:T,stackedOnCurrent:A,stackedOnNext:D,status:C}},vD=tt,yD=et,xD=Z,_D=G,wD=[],bD=[],SD=[],MD=Pn.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:uM(Pn.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,o=i.length,a=Gu(i,e.smoothConstraint);if(e.connectNulls){for(;o>0&&Ru(i[o-1]);o--);for(;n<o&&Ru(i[n]);n++);}for(;n<o;)n+=zu(t,i,n,o,o,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),ID=Pn.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:uM(Pn.prototype.brush),buildPath:function(t,e){var i=e.points,n=e.stackedOnPoints,o=0,a=i.length,r=e.smoothMonotone,s=Gu(i,e.smoothConstraint),l=Gu(n,e.smoothConstraint);if(e.connectNulls){for(;a>0&&Ru(i[a-1]);a--);for(;o<a&&Ru(i[o]);o++);}for(;o<a;){var u=zu(t,i,o,a,a,1,s.min,s.max,e.smooth,r,e.connectNulls);zu(t,n,o+u-1,u,a,-1,l.min,l.max,e.stackedOnSmooth,r,e.connectNulls),o+=u+1,t.closePath()}}});Ar.extend({type:"line",init:function(){var t=new tb,e=new Du;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),h="polar"===n.type,c=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=t.get("animation"),v=!l.isEmpty(),y=l.get("origin"),x=Zu(n,a,Pu(n,a,y)),_=t.get("showSymbol"),w=_&&!h&&Ku(t,a,n),b=this._data;b&&b.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),b.setItemGraphicEl(e,null))}),_||d.remove(),o.add(g);var S=!h&&t.get("step");f&&c.type===n.type&&S===this._step?(v&&!p?p=this._newPolygon(u,x,n,m):p&&!v&&(g.remove(p),p=this._polygon=null),g.setClipPath(ju(n,!1,!1,t)),_&&d.updateData(a,{isIgnore:w,clipShape:ju(n,!1,!0,t)}),a.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),Fu(this._stackedOnPoints,x)&&Fu(this._points,u)||(m?this._updateAnimation(a,x,n,i,S,y):(S&&(u=Yu(u,n,S),x=Yu(x,n,S)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:x})))):(_&&d.updateData(a,{isIgnore:w,clipShape:ju(n,!1,!0,t)}),S&&(u=Yu(u,n,S),x=Yu(x,n,S)),f=this._newPolyline(u,n,m),v&&(p=this._newPolygon(u,x,n,m)),g.setClipPath(ju(n,!0,!1,t)));var M=qu(a,n)||a.getVisual("color");f.useStyle(r(s.getLineStyle(),{fill:"none",stroke:M,lineJoin:"bevel"}));var I=t.get("smooth");if(I=Wu(t.get("smooth")),f.setShape({smooth:I,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var T=a.getCalculationInfo("stackedOnSeries"),A=0;p.useStyle(r(l.getAreaStyle(),{fill:M,opacity:.7,lineJoin:"bevel"})),T&&(A=Wu(T.get("smooth"))),p.setShape({smooth:I,stackedOnSmooth:A,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=n,this._stackedOnPoints=x,this._points=u,this._step=S,this._valueOrigin=y},dispose:function(){},highlight:function(t,e,i,n){var o=t.getData(),a=zi(o,n);if(!(a instanceof Array)&&null!=a&&a>=0){var r=o.getItemGraphicEl(a);if(!r){var s=o.getItemLayout(a);if(!s)return;(r=new wu(o,a)).position=s,r.setZ(t.get("zlevel"),t.get("z")),r.ignore=isNaN(s[0])||isNaN(s[1]),r.__temp=!0,o.setItemGraphicEl(a,r),r.stopSymbolAnimation(!0),this.group.add(r)}r.highlight()}else Ar.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var o=t.getData(),a=zi(o,n);if(null!=a&&a>=0){var r=o.getItemGraphicEl(a);r&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay())}else Ar.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new MD({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new ID({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,o,a){var r=this._polyline,s=this._polygon,l=t.hostModel,u=mD(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,a),h=u.current,c=u.stackedOnCurrent,d=u.next,f=u.stackedOnNext;o&&(h=Yu(u.current,i,o),c=Yu(u.stackedOnCurrent,i,o),d=Yu(u.next,i,o),f=Yu(u.stackedOnNext,i,o)),r.shape.__points=u.current,r.shape.points=h,Io(r,{shape:{points:d}},l),s&&(s.setShape({points:h,stackedOnPoints:c}),Io(s,{shape:{points:d,stackedOnPoints:f}},l));for(var p=[],g=u.status,m=0;m<g.length;m++)if("="===g[m].cmd){var v=t.getItemGraphicEl(g[m].idx1);v&&p.push({el:v,ptIdx:m})}r.animators&&r.animators.length&&r.animators[0].during(function(){for(var t=0;t<p.length;t++)p[t].el.attr("position",r.shape.__points[p[t].ptIdx])})},remove:function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});var TD=function(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,o){var a=t.getData(),r=t.get("symbol")||e,s=t.get("symbolSize"),l=t.get("symbolKeepAspect");if(a.setVisual({legendSymbol:i||r,symbol:r,symbolSize:s,symbolKeepAspect:l}),!n.isSeriesFiltered(t)){var u="function"==typeof s;return{dataEach:a.hasItemOption||u?function(e,i){if("function"==typeof s){var n=t.getRawValue(i),o=t.getDataParams(i);e.setItemVisual(i,"symbolSize",s(n,o))}if(e.hasItemOption){var a=e.getItemModel(i),r=a.getShallow("symbol",!0),l=a.getShallow("symbolSize",!0),u=a.getShallow("symbolKeepAspect",!0);null!=r&&e.setItemVisual(i,"symbol",r),null!=l&&e.setItemVisual(i,"symbolSize",l),null!=u&&e.setItemVisual(i,"symbolKeepAspect",u)}}:null}}}}},AD=function(t){return{seriesType:t,plan:$I(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext.large;if(i){var o=f(i.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),a=o.length,r=e.getCalculationInfo("stackResultDimension");return pl(e,o[0])&&(o[0]=r),pl(e,o[1])&&(o[1]=r),a&&{progress:function(t,e){for(var r=t.end-t.start,s=n&&new Float32Array(r*a),l=t.start,u=0,h=[],c=[];l<t.end;l++){var d;if(1===a)f=e.get(o[0],l),d=!isNaN(f)&&i.dataToPoint(f,null,c);else{var f=h[0]=e.get(o[0],l),p=h[1]=e.get(o[1],l);d=!isNaN(f)&&!isNaN(p)&&i.dataToPoint(h,null,c)}n?(s[u++]=d?d[0]:NaN,s[u++]=d?d[1]:NaN):e.setItemLayout(l,d&&d.slice()||[NaN,NaN])}n&&e.setLayout("symbolPoints",s)}}}}}},DD={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},CD=function(t,e){return Math.round(t.length/2)},LD=function(t){this._axes={},this._dimList=[],this.name=t||""};LD.prototype={constructor:LD,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return f(this._dimList,Ju,this)},getAxesByScale:function(t){return t=t.toLowerCase(),g(this.getAxes(),function(e){return e.scale.type===t})},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 i=this._dimList,n=t instanceof Array?[]:{},o=0;o<i.length;o++){var a=i[o],r=this._axes[a];n[a]=r[e](t[a])}return n}},Qu.prototype={constructor:Qu,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),o=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=o.toGlobalCoord(o.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,o=i.getExtent(),a=n.getExtent(),r=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(o[0],o[1]),r),Math.max(o[0],o[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},u(Qu,LD);var kD=function(t,e,i,n,o){aD.call(this,t,e,i),this.type=n||"value",this.position=o||"bottom"};kD.prototype={constructor:kD,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},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},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},u(kD,aD);var PD={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)"]}}},ND={};ND.categoryAxis=n({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},PD),ND.valueAxis=n({boundaryGap:[0,0],splitNumber:5},PD),ND.timeAxis=r({scale:!0,min:"dataMin",max:"dataMax"},ND.valueAxis),ND.logAxis=r({scale:!0,logBase:10},ND.valueAxis);var OD=["value","category","time","log"],ED=function(t,e,i,a){d(OD,function(r){e.extend({type:t+"Axis."+r,mergeDefaultAndTheme:function(e,o){var a=this.layoutMode,s=a?ga(e):{};n(e,o.getTheme().get(r+"Axis")),n(e,this.getDefaultOption()),e.type=i(t,e),a&&pa(e,s,a)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=_l.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:o([{},ND[r+"Axis"],a],!0)})}),lI.registerSubTypeDefaulter(t+"Axis",v(i,t))},RD=lI.extend({type:"cartesian2dAxis",axis:null,init:function(){RD.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){RD.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){RD.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});n(RD.prototype,UA);var zD={offset:0};ED("x",RD,th,zD),ED("y",RD,th,zD),lI.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"}});var BD=ih.prototype;BD.type="grid",BD.axisPointerEnabled=!0,BD.getRect=function(){return this._rect},BD.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),d(i.x,function(t){Wl(t.scale,t.model)}),d(i.y,function(t){Wl(t.scale,t.model)});var n={};d(i.x,function(t){nh(i,"y",t,n)}),d(i.y,function(t){nh(i,"x",t,n)}),this.resize(this.model,e)},BD.resize=function(t,e,i){function n(){d(a,function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,o.height],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),ah(t,e?o.x:o.y)})}var o=ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;n(),!i&&t.get("containLabel")&&(d(a,function(t){if(!t.model.get("axisLabel.inside")){var e=jl(t);if(e){var i=t.isHorizontal()?"height":"width",n=t.model.get("axisLabel.margin");o[i]-=e[i]+n,"top"===t.position?o.y+=e.height+n:"left"===t.position&&(o.x+=e.width+n)}}}),n())},BD.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},BD.getAxes=function(){return this._axesList.slice()},BD.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}w(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,o=this._coordsList;n<o.length;n++)if(o[n].getAxis("x").index===t||o[n].getAxis("y").index===e)return o[n]},BD.getCartesians=function(){return this._coordsList.slice()},BD.convertToPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},BD.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(t,e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},BD._findConvertTarget=function(t,e){var i,n,o=e.seriesModel,a=e.xAxisModel||o&&o.getReferringComponents("xAxis")[0],r=e.yAxisModel||o&&o.getReferringComponents("yAxis")[0],s=e.gridModel,u=this._coordsList;return o?l(u,i=o.coordinateSystem)<0&&(i=null):a&&r?i=this.getCartesian(a.componentIndex,r.componentIndex):a?n=this.getAxis("x",a.componentIndex):r?n=this.getAxis("y",r.componentIndex):s&&s.coordinateSystem===this&&(i=this._coordsList[0]),{cartesian:i,axis:n}},BD.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},BD._initCartesian=function(t,e,i){function n(i){return function(n,s){if(eh(n,t,e)){var l=n.get("position");"x"===i?"top"!==l&&"bottom"!==l&&o[l="bottom"]&&(l="top"===l?"bottom":"top"):"left"!==l&&"right"!==l&&o[l="left"]&&(l="left"===l?"right":"left"),o[l]=!0;var u=new kD(i,Hl(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=this,u.index=s,this._axesList.push(u),a[i][s]=u,r[i]++}}}var o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},r={x:0,y:0};if(e.eachComponent("xAxis",n("x"),this),e.eachComponent("yAxis",n("y"),this),!r.x||!r.y)return this._axesMap={},void(this._axesList=[]);this._axesMap=a,d(a.x,function(e,i){d(a.y,function(n,o){var a="x"+i+"y"+o,r=new Qu(a);r.grid=this,r.model=t,this._coordsMap[a]=r,this._coordsList.push(r),r.addAxis(e),r.addAxis(n)},this)},this)},BD._updateScale=function(t,e){function i(t,e,i){d(t.mapDimension(e.dim,!0),function(i){e.scale.unionExtentFromData(t,gl(t,i))})}d(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(n){if(sh(n)){var o=rh(n),a=o[0],r=o[1];if(!eh(a,e,t)||!eh(r,e,t))return;var s=this.getCartesian(a.componentIndex,r.componentIndex),l=n.getData(),u=s.getAxis("x"),h=s.getAxis("y");"list"===l.type&&(i(l,u),i(l,h))}},this)},BD.getTooltipAxes=function(t){var e=[],i=[];return d(this.getCartesians(),function(n){var o=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),a=n.getOtherAxis(o);l(e,o)<0&&e.push(o),l(i,a)<0&&i.push(a)}),{baseAxes:e,otherAxes:i}};var VD=["xAxis","yAxis"];ih.create=function(t,e){var i=[];return t.eachComponent("grid",function(n,o){var a=new ih(n,t,e);a.name="grid_"+o,a.resize(n,e,!0),n.coordinateSystem=a,i.push(a)}),t.eachSeries(function(t){if(sh(t)){var e=rh(t),i=e[0],n=e[1],o=i.getCoordSysModel().coordinateSystem;t.coordinateSystem=o.getCartesian(i.componentIndex,n.componentIndex)}}),i},ih.dimensions=ih.prototype.dimensions=Qu.prototype.dimensions,Fa.register("cartesian2d",ih);var GD=Math.PI,FD=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new tb;var i=new tb({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};FD.prototype={constructor:FD,hasBuilder:function(t){return!!WD[t]},add:function(t){WD[t].call(this)},getGroup:function(){return this.group}};var WD={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,o=[i[0],0],r=[i[1],0];n&&(Q(o,o,n),Q(r,r,n));var s=a({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new _M(Kn({anid:"line",shape:{x1:o[0],y1:o[1],x2:r[0],y2:r[1]},style:s,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})));var l=e.get("axisLine.symbol"),u=e.get("axisLine.symbolSize"),h=e.get("axisLine.symbolOffset")||0;if("number"==typeof h&&(h=[h,h]),null!=l){"string"==typeof l&&(l=[l,l]),"string"!=typeof u&&"number"!=typeof u||(u=[u,u]);var c=u[0],f=u[1];d([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((o[0]-r[0])*(o[0]-r[0])+(o[1]-r[1])*(o[1]-r[1]))}],function(e,i){if("none"!==l[i]&&null!=l[i]){var n=Jl(l[i],-c/2,-f/2,c,f,s.stroke,!0),a=e.r+e.offset,r=[o[0]+a*Math.cos(t.rotation),o[1]-a*Math.sin(t.rotation)];n.attr({rotation:e.rotate,position:r,silent:!0,z2:11}),this.group.add(n)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=gh(this,t,e);ch(t,mh(this,t,e),i)},axisName:function(){var t=this.opt,e=this.axisModel,i=T(t.axisName,e.get("name"));if(i){var n,o=e.get("nameLocation"),r=t.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=this.axisModel.axis.getExtent(),h=u[0]>u[1]?-1:1,c=["start"===o?u[0]-h*l:"end"===o?u[1]+h*l:(u[0]+u[1])/2,ph(o)?t.labelOffset+r*l:0],d=e.get("nameRotate");null!=d&&(d=d*GD/180);var f;ph(o)?n=HD(t.rotation,null!=d?d:t.rotation,r):(n=uh(t,o,d||0,u),null!=(f=t.axisNameAvailableWidth)&&(f=Math.abs(f/Math.sin(n.rotation)),!isFinite(f)&&(f=null)));var p=s.getFont(),g=e.get("nameTruncate",!0)||{},m=g.ellipsis,v=T(t.nameTruncateMaxWidth,g.maxWidth,f),y=null!=m&&null!=v?tI(i,v,p,m,{minChar:2,placeholder:g.placeholder}):i,x=e.get("tooltip",!0),_=e.mainType,w={componentType:_,name:i,$vars:["name"]};w[_+"Index"]=e.componentIndex;var b=new rM({anid:"name",__fullText:i,__truncatedText:y,position:c,rotation:n.rotation,silent:hh(e),z2:1,tooltip:x&&x.show?a({content:i,formatter:function(){return i},formatterParams:w},x):null});mo(b.style,s,{text:y,textFont:p,textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(b.eventData=lh(e),b.eventData.targetType="axisName",b.eventData.name=i),this._dumbGroup.add(b),b.updateTransform(),this.group.add(b),b.decomposeTransform()}}},HD=FD.innerTextLayout=function(t,e,i){var n,o,a=Xo(e-t);return jo(a)?(o=i>0?"top":"bottom",n="center"):jo(a-GD)?(o=i>0?"bottom":"top",n="center"):(o="middle",n=a>0&&a<GD?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:o}},ZD=d,UD=v,XD=Ws({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&Sh(t),XD.superApply(this,"render",arguments),Dh(this,t,0,i,0,!0)},updateAxisPointer:function(t,e,i,n,o){Dh(this,t,0,i,0,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),XD.superApply(this,"remove",arguments)},dispose:function(t,e){Ch(this,e),XD.superApply(this,"dispose",arguments)}}),jD=[];XD.registerAxisPointerClass=function(t,e){jD[t]=e},XD.getAxisPointerClass=function(t){return t&&jD[t]};var YD=["axisLine","axisTickLabel","axisName"],qD=["splitArea","splitLine"],KD=XD.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,n){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new tb,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),r=Lh(a,t),s=new FD(t,r);d(YD,s.add,s),this._axisGroup.add(s.getGroup()),d(qD,function(e){t.get(e+".show")&&this["_"+e](t,a)},this),Lo(o,this._axisGroup,t),KD.superCall(this,"render",t,e,i,n)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var n=t.getModel("splitLine"),o=n.getModel("lineStyle"),a=o.get("color");a=y(a)?a:[a];for(var s=e.coordinateSystem.getRect(),l=i.isHorizontal(),u=0,h=i.getTicksCoords({tickModel:n}),c=[],d=[],f=o.getLineStyle(),p=0;p<h.length;p++){var g=i.toGlobalCoord(h[p].coord);l?(c[0]=g,c[1]=s.y,d[0]=g,d[1]=s.y+s.height):(c[0]=s.x,c[1]=g,d[0]=s.x+s.width,d[1]=g);var m=u++%a.length,v=h[p].tickValue;this._axisGroup.add(new _M(Kn({anid:null!=v?"line_"+h[p].tickValue:null,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:r({stroke:a[m]},f),silent:!0})))}}},_splitArea:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var n=t.getModel("splitArea"),o=n.getModel("areaStyle"),a=o.get("color"),s=e.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:n,clamp:!0});if(l.length){var u=a.length,h=this._splitAreaColors,c=R(),d=0;if(h)for(m=0;m<l.length;m++){var f=h.get(l[m].tickValue);if(null!=f){d=(f+(u-1)*m)%u;break}}var p=i.toGlobalCoord(l[0].coord),g=o.getAreaStyle();a=y(a)?a:[a];for(var m=1;m<l.length;m++){var v,x,_,w,b=i.toGlobalCoord(l[m].coord);i.isHorizontal()?(v=p,x=s.y,_=b-v,w=s.height,p=v+_):(v=s.x,x=p,_=s.width,p=x+(w=b-x));var S=l[m-1].tickValue;null!=S&&c.set(S,d),this._axisGroup.add(new yM({anid:null!=S?"area_"+S:null,shape:{x:v,y:x,width:_,height:w},style:r({fill:a[d]},g),silent:!0})),d=(d+1)%u}this._splitAreaColors=c}}}});KD.extend({type:"xAxis"}),KD.extend({type:"yAxis"}),Ws({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new yM({shape:t.coordinateSystem.getRect(),style:r({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),Ns(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}),Bs(TD("line","circle","line")),zs(AD("line")),Os(VT.PROCESSOR.STATISTIC,function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,i){var n=t.getData(),o=t.get("sampling"),a=t.coordinateSystem;if("cartesian2d"===a.type&&o){var r=a.getBaseAxis(),s=a.getOtherAxis(r),l=r.getExtent(),u=l[1]-l[0],h=Math.round(n.count()/u);if(h>1){var c;"string"==typeof o?c=DD[o]:"function"==typeof o&&(c=o),c&&t.setData(n.downSample(n.mapDimension(s.dim),1/h,c,CD))}}}}}("line"));var $D=YI.extend({type:"series.__base_bar__",getInitialData:function(t,e){return ml(this.getSource(),this)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),o=n.getLayout("offset"),a=n.getLayout("size");return i[e.getBaseAxis().isHorizontal()?0:1]+=o+a/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});$D.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t}});var JD=Qb([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),QD={getBarItemStyle:function(t){var e=JD(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}},tC=["itemStyle","barBorderWidth"];a(No.prototype,QD),Zs({type:"bar",render:function(t,e,i){this._updateDrawMode(t);var n=t.get("coordinateSystem");return"cartesian2d"!==n&&"polar"!==n||(this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i)),this.group},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){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 n,o=this.group,a=t.getData(),r=this._data,s=t.coordinateSystem,l=s.getBaseAxis();"cartesian2d"===s.type?n=l.isHorizontal():"polar"===s.type&&(n="angle"===l.dim);var u=t.isAnimationEnabled()?t:null;a.diff(r).add(function(e){if(a.hasValue(e)){var i=a.getItemModel(e),r=iC[s.type](a,e,i),l=eC[s.type](a,e,i,r,n,u);a.setItemGraphicEl(e,l),o.add(l),Eh(l,a,e,i,r,t,n,"polar"===s.type)}}).update(function(e,i){var l=r.getItemGraphicEl(i);if(a.hasValue(e)){var h=a.getItemModel(e),c=iC[s.type](a,e,h);l?Io(l,{shape:c},u,e):l=eC[s.type](a,e,h,c,n,u,!0),a.setItemGraphicEl(e,l),o.add(l),Eh(l,a,e,h,c,t,n,"polar"===s.type)}else o.remove(l)}).remove(function(t){var e=r.getItemGraphicEl(t);"cartesian2d"===s.type?e&&Nh(t,u,e):e&&Oh(t,u,e)}).execute(),this._data=a},_renderLarge:function(t,e,i){this._clear(),zh(t,this.group)},_incrementalRenderLarge:function(t,e){zh(e,this.group,!0)},dispose:B,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,i=this._data;t&&t.get("animation")&&i&&!this._isLargeDraw?i.eachItemGraphicEl(function(e){"sector"===e.type?Oh(e.dataIndex,t,e):Nh(e.dataIndex,t,e)}):e.removeAll(),this._data=null}});var eC={cartesian2d:function(t,e,i,n,o,r,s){var l=new yM({shape:a({},n)});if(r){var u=l.shape,h=o?"height":"width",c={};u[h]=0,c[h]=n[h],zM[s?"updateProps":"initProps"](l,{shape:c},r,e)}return l},polar:function(t,e,i,n,o,a,s){var l=n.startAngle<n.endAngle,u=new hM({shape:r({clockwise:l},n)});if(a){var h=u.shape,c=o?"r":"endAngle",d={};h[c]=o?0:n.startAngle,d[c]=n[c],zM[s?"updateProps":"initProps"](u,{shape:d},a,e)}return u}},iC={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),o=Rh(i,n),a=n.width>0?1:-1,r=n.height>0?1:-1;return{x:n.x+a*o/2,y:n.y+r*o/2,width:n.width-a*o,height:n.height-r*o}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}},nC=Pn.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,o=this.__valueIdx,a=0;a<i.length;a+=2)n[this.__valueIdx]=i[a+o],t.moveTo(n[0],n[1]),t.lineTo(i[a],i[a+1])}});zs(v(El,"bar")),zs(CA),Bs({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}});var oC=function(t,e,i){e=y(e)&&{coordDimensions:e}||a({},e);var n=t.getSource(),o=_A(n,e),r=new vA(o,t);return r.initData(n,i),r},aC={updateSelectedMap:function(t){this._targetList=y(t)?t.slice():[],this._selectTargetMap=p(t||[],function(t,e){return t.set(e.name,e),t},R())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}},rC=Hs({type:"series.pie",init:function(t){rC.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){rC.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return oC(this,["value"])},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),i=[],n=0,o=t.count();n<o;n++)i.push({name:t.getName(n),value:t.get(e,n),selected:pr(t,n,"selected")});return i},getDataParams:function(t){var e=this.getData(),i=rC.superCall(this,"getDataParams",t),n=[];return e.each(e.mapDimension("value"),function(t){n.push(t)}),i.percent=Uo(n,t,e.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(t){Ci(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{rotate:!1,show:!0,position:"outer"},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationEasing:"cubicOut"}});h(rC,aC);var sC=Fh.prototype;sC.updateData=function(t,e,i){function n(){s.stopAnimation(!0),s.animateTo({shape:{r:h.r+l.get("hoverOffset")}},300,"elasticOut")}function o(){s.stopAnimation(!0),s.animateTo({shape:{r:h.r}},300,"elasticOut")}var s=this.childAt(0),l=t.hostModel,u=t.getItemModel(e),h=t.getItemLayout(e),c=a({},h);c.label=null,i?(s.setShape(c),"scale"===l.getShallow("animationType")?(s.shape.r=h.r0,To(s,{shape:{r:h.r}},l,e)):(s.shape.endAngle=h.startAngle,Io(s,{shape:{endAngle:h.endAngle}},l,e))):Io(s,{shape:c},l,e);var d=t.getItemVisual(e,"color");s.useStyle(r({lineJoin:"bevel",fill:d},u.getModel("itemStyle").getItemStyle())),s.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var f=u.getShallow("cursor");f&&s.attr("cursor",f),Gh(this,t.getItemLayout(e),l.isSelected(null,e),l.get("selectedOffset"),l.get("animation")),s.off("mouseover").off("mouseout").off("emphasis").off("normal"),u.get("hoverAnimation")&&l.isAnimationEnabled()&&s.on("mouseover",n).on("mouseout",o).on("emphasis",n).on("normal",o),this._updateLabel(t,e),fo(this)},sC._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),r=t.getItemLayout(e).label,s=t.getItemVisual(e,"color");Io(i,{shape:{points:r.linePoints||[[r.x,r.y],[r.x,r.y],[r.x,r.y]]}},o,e),Io(n,{style:{x:r.x,y:r.y}},o,e),n.attr({rotation:r.rotation,origin:[r.x,r.y],z2:10});var l=a.getModel("label"),u=a.getModel("emphasis.label"),h=a.getModel("labelLine"),c=a.getModel("emphasis.labelLine"),s=t.getItemVisual(e,"color");go(n.style,n.hoverStyle={},l,u,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:s,useInsideStyle:!!r.inside},{textAlign:r.textAlign,textVerticalAlign:r.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!l.get("show"),n.hoverIgnore=!u.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!c.get("show"),i.setStyle({stroke:s,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=c.getModel("lineStyle").getLineStyle();var d=h.get("smooth");d&&!0===d&&(d=.4),i.setShape({smooth:d})},u(Fh,tb);Ar.extend({type:"pie",init:function(){var t=new tb;this._sectorGroup=t},render:function(t,e,i,n){if(!n||n.from!==this.uid){var o=t.getData(),a=this._data,r=this.group,s=e.get("animation"),l=!a,u=t.get("animationType"),h=v(Vh,this.uid,t,s,i),c=t.get("selectedMode");if(o.diff(a).add(function(t){var e=new Fh(o,t);l&&"scale"!==u&&e.eachChild(function(t){t.stopAnimation(!0)}),c&&e.on("click",h),o.setItemGraphicEl(t,e),r.add(e)}).update(function(t,e){var i=a.getItemGraphicEl(e);i.updateData(o,t),i.off("click"),c&&i.on("click",h),r.add(i),o.setItemGraphicEl(t,i)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),s&&l&&o.count()>0&&"scale"!==u){var d=o.getItemLayout(0),f=Math.max(i.getWidth(),i.getHeight())/2,p=m(r.removeClipPath,r);r.setClipPath(this._createClipPath(d.cx,d.cy,f,d.startAngle,d.clockwise,p,t))}else r.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(t,e,i,n,o,a,r){var s=new hM({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:o}});return To(s,{shape:{endAngle:n+(o?1:-1)*Math.PI*2}},r,a),s},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(n*n+o*o);return a<=i.r&&a>=i.r0}}});var lC=function(t,e){d(e,function(e){e.update="updateView",Es(e,function(i,n){var o={};return n.eachComponent({mainType:"series",subType:t,query:i},function(t){t[e.method]&&t[e.method](i.name,i.dataIndex);var n=t.getData();n.each(function(e){var i=n.getName(e);o[i]=t.isSelected(i)||!1})}),{name:i.name,selected:o}})})},uC=function(t){return{getTargetSeries:function(e){var i={},n=R();return e.eachSeriesByType(t,function(t){t.__paletteScope=i,n.set(t.uid,t)}),n},reset:function(t,e){var i=t.getRawData(),n={},o=t.getData();o.each(function(t){var e=o.getRawIndex(t);n[e]=t}),i.each(function(e){var a=n[e],r=null!=a&&o.getItemVisual(a,"color",!0);if(r)i.setItemVisual(e,"color",r);else{var s=i.getItemModel(e).get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());i.setItemVisual(e,"color",s),null!=a&&o.setItemVisual(a,"color",s)}})}}},hC=function(t,e,i,n){var o,a,r=t.getData(),s=[],l=!1;r.each(function(i){var n,u,h,c,d=r.getItemLayout(i),f=r.getItemModel(i),p=f.getModel("label"),g=p.get("position")||f.get("emphasis.label.position"),m=f.getModel("labelLine"),v=m.get("length"),y=m.get("length2"),x=(d.startAngle+d.endAngle)/2,_=Math.cos(x),w=Math.sin(x);o=d.cx,a=d.cy;var b="inside"===g||"inner"===g;if("center"===g)n=d.cx,u=d.cy,c="center";else{var S=(b?(d.r+d.r0)/2*_:d.r*_)+o,M=(b?(d.r+d.r0)/2*w:d.r*w)+a;if(n=S+3*_,u=M+3*w,!b){var I=S+_*(v+e-d.r),T=M+w*(v+e-d.r),A=I+(_<0?-1:1)*y,D=T;n=A+(_<0?-5:5),u=D,h=[[S,M],[I,T],[A,D]]}c=b?"center":_>0?"left":"right"}var C=p.getFont(),L=p.get("rotate")?_<0?-x+Math.PI:-x:0,k=ke(t.getFormattedLabel(i,"normal")||r.getName(i),C,c,"top");l=!!L,d.label={x:n,y:u,position:g,height:k.height,len:v,len2:y,linePoints:h,textAlign:c,verticalAlign:"middle",rotation:L,inside:b},b||s.push(d.label)}),!l&&t.get("avoidLabelOverlap")&&Hh(s,o,a,e,i,n)},cC=2*Math.PI,dC=Math.PI/180,fC=function(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf(function(t){for(var e=n.getName(t),o=0;o<i.length;o++)if(!i[o].isSelected(e))return!1;return!0})}}}};lC("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),Bs(uC("pie")),zs(v(function(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.getData(),n=e.mapDimension("value"),o=t.get("center"),a=t.get("radius");y(a)||(a=[0,a]),y(o)||(o=[o,o]);var r=i.getWidth(),s=i.getHeight(),l=Math.min(r,s),u=Vo(o[0],r),h=Vo(o[1],s),c=Vo(a[0],l/2),d=Vo(a[1],l/2),f=-t.get("startAngle")*dC,p=t.get("minAngle")*dC,g=0;e.each(n,function(t){!isNaN(t)&&g++});var m=e.getSum(n),v=Math.PI/(m||g)*2,x=t.get("clockwise"),_=t.get("roseType"),w=t.get("stillShowZeroSum"),b=e.getDataExtent(n);b[0]=0;var S=cC,M=0,I=f,T=x?1:-1;if(e.each(n,function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:x,cx:u,cy:h,r0:c,r:_?NaN:d});else{(n="area"!==_?0===m&&w?v:t*v:cC/g)<p?(n=p,S-=p):M+=t;var o=I+T*n;e.setItemLayout(i,{angle:n,startAngle:I,endAngle:o,clockwise:x,cx:u,cy:h,r0:c,r:_?Bo(t,b,[c,d]):d}),I=o}}),S<cC&&g)if(S<=.001){var A=cC/g;e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=A,n.startAngle=f+T*i*A,n.endAngle=f+T*(i+1)*A}})}else v=S/M,I=f,e.each(n,function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),o=n.angle===p?p:t*v;n.startAngle=I,n.endAngle=I+T*o,I+=T*o}});hC(t,d,r,s)})},"pie")),Os(fC("pie")),YI.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return ml(this.getSource(),this)},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}}});var pC=Un({shape:{points:null},symbolProxy:null,buildPath:function(t,e){var i=e.points,n=e.size,o=this.symbolProxy,a=o.shape;if(!((t.getContext?t.getContext():t)&&n[0]<4))for(var r=0;r<i.length;){var s=i[r++],l=i[r++];isNaN(s)||isNaN(l)||(a.x=s-n[0]/2,a.y=l-n[1]/2,a.width=n[0],a.height=n[1],o.buildPath(t,a,!0))}},afterBrush:function(t){var e=this.shape,i=e.points,n=e.size;if(n[0]<4){this.setTransform(t);for(var o=0;o<i.length;){var a=i[o++],r=i[o++];isNaN(a)||isNaN(r)||t.fillRect(a-n[0]/2,r-n[1]/2,n[0],n[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var i=this.shape,n=i.points,o=i.size,a=Math.max(o[0],4),r=Math.max(o[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-a/2,h=n[l+1]-r/2;if(t>=u&&e>=h&&t<=u+a&&e<=h+r)return s}return-1}}),gC=Uh.prototype;gC.isPersistent=function(){return!this._incremental},gC.updateData=function(t){this.group.removeAll();var e=new pC({rectHover:!0,cursor:"default"});e.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},gC.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild(function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)})}},gC.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new Zn({silent:!0})),this.group.add(this._incremental)):this._incremental=null},gC.incrementalUpdate=function(t,e){var i;this._incremental?(i=new pC,this._incremental.addDisplayable(i,!0)):((i=new pC({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)},gC._setCommon=function(t,e,i){var n=e.hostModel,o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.symbolProxy=Jl(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]<4;t.useStyle(n.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var r=e.getVisual("color");r&&t.setColor(r),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>=0&&(t.dataIndex=i+(t.startIndex||0))}))},gC.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},gC._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},Zs({type:"scatter",render:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).updateData(n),this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).incrementalPrepareUpdate(n),this._finished=!1},incrementalRender:function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=AD().reset(t);o.progress&&o.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext.large;return i&&n===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=n?new Uh:new Du,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}}),Bs(TD("scatter","circle")),zs(AD("scatter")),u(Xh,aD),jh.prototype.getIndicatorAxes=function(){return this._indicatorAxes},jh.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},jh.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},jh.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var o,a=Math.atan2(-i,e),r=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],h=Math.abs(a-u.angle);h<r&&(o=u,s=l,r=h)}return[s,+(o&&o.coodToData(n))]},jh.prototype.resize=function(t,e){var i=t.get("center"),n=e.getWidth(),o=e.getHeight(),a=Math.min(n,o)/2;this.cx=Vo(i[0],n),this.cy=Vo(i[1],o),this.startAngle=t.get("startAngle")*Math.PI/180;var r=t.get("radius");"string"!=typeof r&&"number"!=typeof r||(r=[0,r]),this.r0=Vo(r[0],a),this.r=Vo(r[1],a),d(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i},this)},jh.prototype.update=function(t,e){function i(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),i=t/e;return 2===i?i=5:i*=2,i*e}var n=this._indicatorAxes,o=this._model;d(n,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,i){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===o){var a=e.getData();d(n,function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))})}},this);var a=o.get("splitNumber");d(n,function(t,e){var n=Gl(t.scale,t.model);Wl(t.scale,t.model);var o=t.model,r=t.scale,s=o.getMin(),l=o.getMax(),u=r.getInterval();if(null!=s&&null!=l)r.setExtent(+s,+l),r.setInterval((l-s)/a);else if(null!=s){var h;do{h=s+u*a,r.setExtent(+s,h),r.setInterval(u),u=i(u)}while(h<n[1]&&isFinite(h)&&isFinite(n[1]))}else if(null!=l){var c;do{c=l-u*a,r.setExtent(c,+l),r.setInterval(u),u=i(u)}while(c>n[0]&&isFinite(c)&&isFinite(n[0]))}else{r.getTicks().length-1>a&&(u=i(u));var d=Math.round((n[0]+n[1])/2/u)*u,f=Math.round(a/2);r.setExtent(Go(d-f*u),Go(d+(a-f)*u)),r.setInterval(u)}})},jh.dimensions=[],jh.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var o=new jh(n,t,e);i.push(o),n.coordinateSystem=o}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},Fa.register("radar",jh);var mC=ND.valueAxis,vC=(Fs({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),o=this.get("scale"),s=this.get("axisLine"),l=this.get("axisTick"),u=this.get("axisLabel"),h=this.get("name"),c=this.get("name.show"),d=this.get("name.formatter"),p=this.get("nameGap"),g=this.get("triggerEvent"),m=f(this.get("indicator")||[],function(f){null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var m=h;if(null!=f.color&&(m=r({color:f.color},h)),f=n(i(f),{boundaryGap:t,splitNumber:e,scale:o,axisLine:s,axisTick:l,axisLabel:u,name:f.text,nameLocation:"end",nameGap:p,nameTextStyle:m,triggerEvent:g},!1),c||(f.name=""),"string"==typeof d){var v=f.name;f.name=d.replace("{value}",null!=v?v:"")}else"function"==typeof d&&(f.name=d(f.name,f));var y=a(new No(f,null,this.ecModel),UA);return y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this.getIndicatorModels=function(){return m}},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:n({lineStyle:{color:"#bbb"}},mC.axisLine),axisLabel:Yh(mC.axisLabel,!1),axisTick:Yh(mC.axisTick,!1),splitLine:Yh(mC.splitLine,!0),splitArea:Yh(mC.splitArea,!0),indicator:[]}}),["axisLine","axisTickLabel","axisName"]);Ws({type:"radar",render:function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem;d(f(e.getIndicatorAxes(),function(t){return new FD(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(t){d(vC,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){function e(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}var i=t.coordinateSystem,n=i.getIndicatorAxes();if(n.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"),p=l.get("color"),g=u.get("color");p=y(p)?p:[p],g=y(g)?g:[g];var m=[],v=[];if("circle"===o)for(var x=n[0].getTicksCoords(),_=i.cx,w=i.cy,b=0;b<x.length;b++)h&&m[D=e(m,p,b)].push(new sM({shape:{cx:_,cy:w,r:x[b].coord}})),c&&b<x.length-1&&v[D=e(v,g,b)].push(new cM({shape:{cx:_,cy:w,r0:x[b].coord,r:x[b+1].coord}}));else for(var S,M=f(n,function(t,e){var n=t.getTicksCoords();return S=null==S?n.length-1:Math.min(n.length-1,S),f(n,function(t){return i.coordToPoint(t.coord,e)})}),I=[],b=0;b<=S;b++){for(var T=[],A=0;A<n.length;A++)T.push(M[A][b]);if(T[0]&&T.push(T[0].slice()),h&&m[D=e(m,p,b)].push(new gM({shape:{points:T}})),c&&I){var D=e(v,g,b-1);v[D].push(new pM({shape:{points:T.concat(I)}}))}I=T.slice().reverse()}var C=l.getLineStyle(),L=u.getAreaStyle();d(v,function(t,e){this.group.add(OM(t,{style:r({stroke:"none",fill:g[e%g.length]},L),silent:!0}))},this),d(m,function(t,e){this.group.add(OM(t,{style:r({fill:"none",stroke:p[e%p.length]},C),silent:!0}))},this)}}});var yC=YI.extend({type:"series.radar",dependencies:["radar"],init:function(t){yC.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){return oC(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),n=this.getData().getName(t);return ia(""===n?this.name:n)+"<br/>"+f(i,function(i,n){var o=e.get(e.mapDimension(i.dim),t);return ia(i.name+" : "+o)}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}});Zs({type:"radar",render:function(t,e,n){function o(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var o=qh(t.getItemVisual(e,"symbolSize")),a=Jl(i,-1,-1,2,2,n);return a.attr({style:{strokeNoScale:!0},z2:100,scale:[o[0]/2,o[1]/2]}),a}}function a(e,i,n,a,r,s){n.removeAll();for(var l=0;l<i.length-1;l++){var u=o(a,r);u&&(u.__dimIdx=l,e[l]?(u.attr("position",e[l]),zM[s?"initProps":"updateProps"](u,{position:i[l]},t,r)):u.attr("position",i[l]),n.add(u))}}function s(t){return f(t,function(t){return[l.cx,l.cy]})}var l=t.coordinateSystem,u=this.group,h=t.getData(),c=this._data;h.diff(c).add(function(e){var i=h.getItemLayout(e);if(i){var n=new pM,o=new gM,r={shape:{points:i}};n.shape.points=s(i),o.shape.points=s(i),To(n,r,t,e),To(o,r,t,e);var l=new tb,u=new tb;l.add(o),l.add(n),l.add(u),a(o.shape.points,i,u,h,e,!0),h.setItemGraphicEl(e,l)}}).update(function(e,i){var n=c.getItemGraphicEl(i),o=n.childAt(0),r=n.childAt(1),s=n.childAt(2),l={shape:{points:h.getItemLayout(e)}};l.shape.points&&(a(o.shape.points,l.shape.points,s,h,e,!1),Io(o,l,t),Io(r,l,t),h.setItemGraphicEl(e,n))}).remove(function(t){u.remove(c.getItemGraphicEl(t))}).execute(),h.eachItemGraphicEl(function(t,e){function n(){l.attr("ignore",m)}function o(){l.attr("ignore",g)}var a=h.getItemModel(e),s=t.childAt(0),l=t.childAt(1),c=t.childAt(2),d=h.getItemVisual(e,"color");u.add(t),s.useStyle(r(a.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:d})),s.hoverStyle=a.getModel("emphasis.lineStyle").getLineStyle();var f=a.getModel("areaStyle"),p=a.getModel("emphasis.areaStyle"),g=f.isEmpty()&&f.parentModel.isEmpty(),m=p.isEmpty()&&p.parentModel.isEmpty();m=m&&g,l.ignore=g,l.useStyle(r(f.getAreaStyle(),{fill:d,opacity:.7})),l.hoverStyle=p.getAreaStyle();var v=a.getModel("itemStyle").getItemStyle(["color"]),y=a.getModel("emphasis.itemStyle").getItemStyle(),x=a.getModel("label"),_=a.getModel("emphasis.label");c.eachChild(function(t){t.setStyle(v),t.hoverStyle=i(y),go(t.style,t.hoverStyle,x,_,{labelFetcher:h.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:h.get(h.dimensions[t.__dimIdx],e),autoColor:d,isRectText:!0})}),t.off("mouseover").off("mouseout").off("normal").off("emphasis"),t.on("emphasis",n).on("mouseover",n).on("normal",o).on("mouseout",o),fo(t)}),this._data=h},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});Bs(uC("radar")),Bs(TD("radar","circle")),zs(function(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){for(var o=n.getIndicatorAxes(),a=0;a<o.length;a++)e.each(e.mapDimension(o[a].dim),function(t,e){i[e]=i[e]||[],i[e][a]=n.dataToPoint(t,a)});e.each(function(t){i[t][0]&&i[t].push(i[t][0].slice()),e.setItemLayout(t,i[t])})}})}),Os(fC("radar")),Ns(function(t){var e=t.polar;if(e){y(e)||(e=[e]);var i=[];d(e,function(e,n){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],y(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):i.push(e)}),t.polar=i}d(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})});for(var xC=[126,25],_C=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],wC=0;wC<_C.length;wC++)for(var bC=0;bC<_C[wC].length;bC++)_C[wC][bC][0]/=10.5,_C[wC][bC][1]/=-14,_C[wC][bC][0]+=xC[0],_C[wC][bC][1]+=xC[1];var SC=function(t,e){"china"===t&&e.push(new eu("南海诸岛",f(_C,function(t){return{type:"polygon",exterior:t}}),xC))},MC={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]},IC=function(t,e){if("china"===t){var i=MC[e.name];if(i){var n=e.center;n[0]+=i[0]/10.5,n[1]+=-i[1]/14}}},TC={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]},AC=function(t,e){if("world"===t){var i=TC[e.name];if(i){var n=e.center;n[0]=i[0],n[1]=i[1]}}},DC=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]],CC=function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:DC[0]})},LC=Bi(),kC={load:function(t,e){var i=LC(e).parsed;if(i)return i;var n,o=e.specialAreas||{},a=e.geoJSON;try{n=a?iD(a):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return d(n,function(e){var i=e.name;IC(t,e),AC(t,e),CC(t,e);var n=o[i];n&&e.transformTo(n.left,n.top,n.width,n.height)}),SC(t,n),LC(e).parsed={regions:n,boundingRect:Kh(n)}}},PC=Bi(),NC={geoJSON:kC,svg:{load:function(t,e){var i=PC(e).originRoot;if(i)return{root:i,boundingRect:PC(e).boundingRect};var n=$h(e);return PC(e).originRoot=n.root,PC(e).boundingRect=n.boundingRect,n},makeGraphic:function(t,e,i){var n=PC(e),o=n.rootMap||(n.rootMap=R()),a=o.get(i);if(a)return a;var r=n.originRoot,s=n.boundingRect;return n.originRootHostKey?a=$h(e,s).root:(n.originRootHostKey=i,a=r),o.set(i,a)},removeGraphic:function(t,e,i){var n=PC(e),o=n.rootMap;o&&o.removeKey(i),i===n.originRootHostKey&&(n.originRootHostKey=null)}}},OC={load:function(t,e){var i,n=[],o=R(),a=R();return d(Qh(t),function(r){var s=NC[r.type].load(t,r);d(s.regions,function(t){var i=t.name;e&&e.hasOwnProperty(i)&&(t=t.cloneShallow(i=e[i])),n.push(t),o.set(i,t),a.set(i,t.center)});var l=s.boundingRect;l&&(i?i.union(l):i=l.clone())}),{regions:n,regionsMap:o,nameCoordMap:a,boundingRect:i||new de(0,0,0,0)}},makeGraphic:Jh("makeGraphic"),removeGraphic:Jh("removeGraphic")};h(YI.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=oC(this,["value"]),i=e.mapDimension("value"),n=R(),o=[],a=[],r=0,s=e.count();r<s;r++){var l=e.getName(r);n.set(l,!0),o.push({name:l,value:e.get(i,r),selected:pr(e,r,"selected")})}return d(OC.load(this.getMapType(),this.option.nameMap).regions,function(t){var e=t.name;n.get(e)||(o.push({name:e}),a.push(e))}),this.updateSelectedMap(o),e.appendValues([],a),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),i=ta(this.getRawValue(t)),n=e.getName(t),o=this.seriesGroup,a=[],r=0;r<o.length;r++){var s=o[r].originalData.indexOfName(n),l=e.mapDimension("value");isNaN(o[r].originalData.get(l,s))||a.push(ia(o[r].name))}return a.join(", ")+"<br />"+ia(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.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)"}}}}),aC);var EC="\0_ec_interaction_mutex";Es({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),h(oc,fw);var RC={axisPointer:1,tooltip:1,brush:1};xc.prototype={constructor:xc,draw:function(t,e,i,n,o){var a="geo"===t.mainType,r=t.getData&&t.getData();a&&e.eachComponent({mainType:"series",subType:"map"},function(e){r||e.getHostGeoModel()!==t||(r=e.getData())});var s=t.coordinateSystem;this._updateBackground(s);var l=this._regionsGroup,u=this.group,h=s.scale,c={position:s.position,scale:h};!l.childAt(0)||o?u.attr(c):Io(u,c,t),l.removeAll();var f=["itemStyle"],p=["emphasis","itemStyle"],g=["label"],m=["emphasis","label"],v=R();d(s.regions,function(e){var i=v.get(e.name)||v.set(e.name,new tb),n=new MM({shape:{paths:[]}});i.add(n);var o,s=(C=t.getRegionModel(e.name)||t).getModel(f),u=C.getModel(p),c=mc(s),y=mc(u),x=C.getModel(g),_=C.getModel(m);if(r){o=r.indexOfName(e.name);var w=r.getItemVisual(o,"color",!0);w&&(c.fill=w)}d(e.geometries,function(t){if("polygon"===t.type){n.shape.paths.push(new pM({shape:{points:t.exterior}}));for(var e=0;e<(t.interiors?t.interiors.length:0);e++)n.shape.paths.push(new pM({shape:{points:t.interiors[e]}}))}}),n.setStyle(c),n.style.strokeNoScale=!0,n.culling=!0;var b=x.get("show"),S=_.get("show"),M=r&&isNaN(r.get(r.mapDimension("value"),o)),I=r&&r.getItemLayout(o);if(a||M&&(b||S)||I&&I.showLabel){var T,A=a?e.name:o;(!r||o>=0)&&(T=t);var D=new rM({position:e.center.slice(),scale:[1/h[0],1/h[1]],z2:10,silent:!0});go(D.style,D.hoverStyle={},x,_,{labelFetcher:T,labelDataIndex:A,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(D)}if(r)r.setItemGraphicEl(o,i);else{var C=t.getRegionModel(e.name);n.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:C&&C.option||{}}}(i.__regions||(i.__regions=[])).push(e),fo(i,y,{hoverSilentOnTouch:!!t.get("selectedMode")}),l.add(i)}),this._updateController(t,e,i),vc(this,t,l,i,n),yc(t,l)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&OC.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&d(OC.makeGraphic(e,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=e},_updateController:function(t,e,i){function n(){var e={type:"geoRoam",componentType:l};return e[l+"Id"]=t.id,e}var o=t.coordinateSystem,r=this._controller,s=this._controllerHost;s.zoomLimit=t.get("scaleLimit"),s.zoom=o.getZoom(),r.enable(t.get("roam")||!1);var l=t.mainType;r.off("pan").on("pan",function(t){this._mouseDownFlag=!1,fc(s,t.dx,t.dy),i.dispatchAction(a(n(),{dx:t.dx,dy:t.dy}))},this),r.off("zoom").on("zoom",function(t){if(this._mouseDownFlag=!1,pc(s,t.scale,t.originX,t.originY),i.dispatchAction(a(n(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})}},this),r.setPointerChecker(function(e,n,a){return o.getViewRectAfterRoam().contain(n,a)&&!gc(e,i,t)})}};var zC="__seriesMapHighDown",BC="__seriesMapCallKey";Zs({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(a=this._mapDraw)&&o.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new xc(i,!0);o.add(a.group),a.draw(t,e,i,this,n),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},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,e,i){var n=t.originalData,o=this.group;n.each(n.mapDimension("value"),function(e,i){if(!isNaN(e)){var r=n.getItemLayout(i);if(r&&r.point){var s=r.point,l=r.offset,u=new sM({style:{fill:t.getData().getVisual("color")},shape:{cx:s[0]+9*l,cy:s[1],r:3},silent:!0,z2:8+(l?0:NM+1)});if(!l){var h=t.mainSeries.getData(),c=n.getName(i),d=h.indexOfName(c),f=n.getItemModel(i),p=f.getModel("label"),g=f.getModel("emphasis.label"),m=h.getItemGraphicEl(d),y=A(t.getFormattedLabel(d,"normal"),c),x=A(t.getFormattedLabel(d,"emphasis"),y),_=m[zC],w=Math.random();if(!_){_=m[zC]={};var b=v(_c,!0),S=v(_c,!1);m.on("mouseover",b).on("mouseout",S).on("emphasis",b).on("normal",S)}m[BC]=w,a(_,{recordVersion:w,circle:u,labelModel:p,hoverLabelModel:g,emphasisText:x,normalText:y}),wc(_,!1)}o.add(u)}}})}}),Es({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var o=bc(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&d(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})});var VC=Q;h(Sc,Tw),Mc.prototype={constructor:Mc,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new de(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new de(t,e,i,n)},transformTo:function(t,e,i,n){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new de(t,e,i,n)),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(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),o=this.getZoom();n=Q([],n,t),i=Q([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),wt(this.transform||(this.transform=[]),e.transform||xt()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],Tt(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?VC(i,t,n):G(i,t)},pointToData:function(t){var e=this.invTransform;return e?VC([],t,e):[t[0],t[1]]},convertToPixel:v(Ic,"dataToPoint"),convertFromPixel:v(Ic,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},h(Mc,Tw),Tc.prototype={constructor:Tc,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return!0;return!1},transformTo:function(t,e,i,n){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var r=this._rawTransformable;if(r.transform=o.calculateTransform(new de(t,e,i,n)),r.decomposeTransform(),a){var s=r.scale;s[1]=-s[1]}r.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,i=0;i<e.length;i++)if(e[i].contain(t))return e[i]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,i){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return Mc.prototype.dataToPoint.call(this,t,e,i)},convertToPixel:v(Ac,"dataToPoint"),convertFromPixel:v(Ac,"pointToData")},h(Tc,Mc);var GC={dimensions:Tc.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,n){var o=t.get("map"),a=t.get("aspectScale"),r=!0,s=DT.retrieveMap(o);s&&s[0]&&"svg"===s[0].type?(null==a&&(a=1),r=!1):null==a&&(a=.75);var l=new Tc(o+n,o,t.get("nameMap"),r);l.aspectScale=a,l.zoomLimit=t.get("scaleLimit"),i.push(l),Cc(l,t),t.coordinateSystem=l,l.model=t,l.resize=Dc,l.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}});var n={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}}),d(n,function(t,n){var a=new Tc(n,n,o(f(t,function(t){return t.get("nameMap")})));a.zoomLimit=T.apply(null,f(t,function(t){return t.get("scaleLimit")})),i.push(a),a.resize=Dc,a.aspectScale=t[0].get("aspectScale"),a.resize(t[0],e),d(t,function(t){t.coordinateSystem=a,Cc(a,t)})}),i},getFilledRegions:function(t,e,i){for(var n=(t||[]).slice(),o=R(),a=0;a<n.length;a++)o.set(n[a].name,n[a]);return d(OC.load(e,i).regions,function(t){var e=t.name;!o.get(e)&&n.push({name:e})}),n}};Rs("geo",GC);zs(function(t){var e={};t.eachSeriesByType("map",function(i){var n=i.getMapType();if(!i.getHostGeoModel()&&!e[n]){var o={};d(i.seriesGroup,function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),function(t,e){var a=n.getName(e),r=i.getRegion(a);if(r&&!isNaN(t)){var s=o[a]||0,l=i.dataToPoint(r.center);o[a]=s+1,n.setItemLayout(e,{point:l,offset:s})}})});var a=i.getData();a.each(function(t){var e=a.getName(t),i=a.getItemLayout(t)||{};i.showLabel=!o[e],a.setItemLayout(t,i)}),e[n]=!0}})}),Bs(function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),i=t.getModel("itemStyle"),n=i.get("areaColor"),o=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:o})})}),Os(VT.PROCESSOR.STATISTIC,function(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),d(e,function(t,e){for(var i=Lc(f(t,function(t){return t.getData()}),t[0].get("mapValueCalculation")),n=0;n<t.length;n++)t[n].originalData=t[n].getData();for(n=0;n<t.length;n++)t[n].seriesGroup=t,t[n].needsDrawMap=0===n&&!t[n].getHostGeoModel(),t[n].setData(i.cloneShallow()),t[n].mainSeries=t[0]})}),Ns(function(t){var e=[];d(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,r(t,t.mapLocation))})}),lC("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}]);var FC=d,WC="\0__link_datas",HC="\0__link_mainData",ZC=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};ZC.prototype={constructor:ZC,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,i){"function"==typeof t&&(i=e,e=t,t=null),_(t=t||{})&&(t={order:t});var n,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(n=e.call(i,this));for(var r=0;!n&&r<a.length;r++)a[r].eachNode(t,e,i);"postorder"===o&&e.call(i,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var o=i[e].getNodeById(t);if(o)return o}},contains:function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var o=i[e].contains(t);if(o)return o}},getAncestors:function(t){for(var e=[],i=t?this:this.parentNode;i;)e.push(i),i=i.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){this.dataIndex>=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)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),o=this.getLevelModel();return o||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(o||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},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)}},Vc.prototype={constructor:Vc,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},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,i=0,n=e.length;i<n;i++)e[i].dataIndex=-1;for(var i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},Vc.createTree=function(t,e,i){function n(t,e){var i=t.value;r=Math.max(r,y(i)?i.length:1),a.push(t);var s=new ZC(t.name,o);e?Gc(s,e):o.root=s,o._nodes.push(s);var l=t.children;if(l)for(var u=0;u<l.length;u++)n(l[u],s)}var o=new Vc(e,i.levels,i.leaves),a=[],r=1;n(t),o.root.updateDepthAndHeight(0);var s=_A(a,{coordDimensions:["value"],dimensionsCount:r}),l=new vA(s,e);return l.initData(a),kc({mainData:l,struct:o,structAttr:"tree"}),o.update(),o},YI.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var o=Vc.createTree(e,this,n),a=0;o.eachNode("preorder",function(t){t.depth>a&&(a=t.depth)});var r=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return o.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=r}),o.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],n=e.getNodeByDataIndex(t),o=n.getValue(),a=n.name;n&&n!==i;)a=n.parentNode.name+"."+a,n=n.parentNode;return ia(a+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",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}}),Zs({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new tb,this._controller=new oc(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,i,n){var o=t.getData(),a=t.layoutInfo,r=this._mainGroup,s=t.get("layout");"radial"===s?r.attr("position",[a.x+a.width/2,a.y+a.height/2]):r.attr("position",[a.x,a.y]),this._updateViewCoordSys(t),this._updateController(t,e,i);var l=this._data,u={expandAndCollapse:t.get("expandAndCollapse"),layout:s,orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};o.diff(l).add(function(e){td(o,e)&&id(o,e,null,r,t,u)}).update(function(e,i){var n=l.getItemGraphicEl(i);td(o,e)?id(o,e,n,r,t,u):n&&nd(l,i,n,r,t,u)}).remove(function(e){var i=l.getItemGraphicEl(e);i&&nd(l,e,i,r,t,u)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===u.expandAndCollapse&&o.eachItemGraphicEl(function(e,n){e.off("click").on("click",function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:n})})}),this._data=o},_updateViewCoordSys:function(t){var e=t.getData(),i=[];e.each(function(t){var n=e.getItemLayout(t);!n||isNaN(n.x)||isNaN(n.y)||i.push([+n.x,+n.y])});var n=[],o=[];fn(i,n,o),o[0]-n[0]==0&&(o[0]+=1,n[0]-=1),o[1]-n[1]==0&&(o[1]+=1,n[1]-=1);var a=t.coordinateSystem=new Mc;a.zoomLimit=t.get("scaleLimit"),a.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1]),a.setCenter(t.get("center")),a.setZoom(t.get("zoom")),this.group.attr({position:a.position,scale:a.scale}),this._viewCoordSys=a},_updateController:function(t,e,i){var n=this._controller,o=this._controllerHost,a=this.group;n.setPointerChecker(function(e,n,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(n,o)&&!gc(e,i,t)}),n.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){fc(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})},this).on("zoom",function(e){pc(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),i=this._getNodeGlobalScale(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,o=n&&n[0]||1;return((e.getZoom()-1)*i+1)/o},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}}),Es({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=t.dataIndex,n=e.getData().tree.getNodeByDataIndex(i);n.isExpand=!n.isExpand})}),Es({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=bc(e.coordinateSystem,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})});Bs(TD("tree","circle")),zs(function(t,e){t.eachSeriesByType("tree",function(t){sd(t,e)})}),YI.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/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:.1024,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(t,e){var i={name:t.name,children:t.data};dd(i);var n=t.levels||[];n=t.levels=fd(n,e);var o={};return o.levels=n,Vc.createTree(i,this,o).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),n=ta(y(i)?i[0]:i);return ia(e.getName(t)+": "+n)},getDataParams:function(t){var e=YI.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=cd(i,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},a(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=R(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},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)}});var UC=5;pd.prototype={constructor:pd,render:function(t,e,i,n){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&i){var r=o.getModel("itemStyle"),s=r.getModel("textStyle"),l={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,l,s),this._renderContent(t,l,r,s,n),da(a,l.pos,l.box)}},_prepare:function(t,e,i){for(var n=t;n;n=n.parentNode){var o=n.getModel().get("name"),a=i.getTextRect(o),r=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=r+8,e.renderList.push({node:n,text:o,width:r})}},_renderContent:function(t,e,i,n,o){for(var a=0,s=e.emptyItemWidth,l=t.get("breadcrumb.height"),u=ha(e.pos,e.box),h=e.totalWidth,c=e.renderList,d=c.length-1;d>=0;d--){var f=c[d],p=f.node,g=f.width,m=f.text;h>u.width&&(h-=g-s,g=s,m=null);var y=new pM({shape:{points:gd(a,0,g,l,d===c.length-1,0===d)},style:r(i.getItemStyle(),{lineJoin:"bevel",text:m,textFill:n.getTextColor(),textFont:n.getFont()}),z:10,onclick:v(o,p)});this.group.add(y),md(y,t,p),a+=g+8}},remove:function(){this.group.removeAll()}};var XC=m,jC=tb,YC=yM,qC=d,KC=["label"],$C=["emphasis","label"],JC=["upperLabel"],QC=["emphasis","upperLabel"],tL=10,eL=1,iL=2,nL=Qb([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),oL=function(t){var e=nL(t);return e.stroke=e.fill=e.lineWidth=null,e};Zs({type:"treemap",init:function(t,e){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){if(!(l(e.findComponents({mainType:"series",subType:"treemap",query:n}),t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=ld(n,["treemapZoomToNode","treemapRootToNode"],t),a=n&&n.type,r=t.layoutInfo,s=!this._oldTree,u=this._storage,h="treemapRootToNode"===a&&o&&u?{rootNodeGroup:u.nodeGroup[o.node.getRawIndex()],direction:n.direction}:null,c=this._giveContainerGroup(r),d=this._doRender(c,t,h);s||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?d.renderFinally():this._doAnimation(c,d,t,h),this._resetController(i),this._renderBreadcrumb(t,i,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new jC,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){function n(t,e,i,o,a){function r(t){return t.getId()}function s(r,s){var l=null!=r?t[r]:null,u=null!=s?e[s]:null,c=h(l,u,i,a);c&&n(l&&l.viewChildren||[],u&&u.viewChildren||[],c,o,a+1)}o?(e=t,qC(t,function(t,e){!t.isRemoved()&&s(e,e)})):new Xs(e,t,r,r).add(s).update(s).remove(v(s,null)).execute()}var o=e.getData().tree,a=this._oldTree,r={nodeGroup:[],background:[],content:[]},s={nodeGroup:[],background:[],content:[]},l=this._storage,u=[],h=v(yd,e,s,l,i,r,u);n(o.root?[o.root]:[],a&&a.root?[a.root]:[],t,o===a||!a,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&qC(t,function(t,i){var n=e[i];qC(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),e}(l);return this._oldTree=o,this._storage=s,{lastsForAnimation:r,willDeleteEls:c,renderFinally:function(){qC(c,function(t){qC(t,function(t){t.parent&&t.parent.remove(t)})}),qC(u,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var o=i.get("animationDurationUpdate"),r=i.get("animationEasing"),s=vd();qC(e.willDeleteEls,function(t,e){qC(t,function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,h=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,h=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,h],style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,o,r)}})}),qC(this._storage,function(t,i){qC(t,function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,o,r))})},this),this._state="animating",s.done(XC(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new oc(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",XC(this._onPan,this)),e.on("zoom",XC(this._onZoom,this)));var i=new de(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},_onZoom:function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var o=n.getLayout();if(!o)return;var a=new de(o.x,o.y,o.width,o.height),r=this.seriesModel.layoutInfo;e-=r.x,i-=r.y;var s=xt();St(s,s,[-e,-i]),It(s,s,[t.scale,t.scale]),St(s,s,[e,i]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var o=n.hostTree.data.getItemModel(n.dataIndex),a=o.get("link",!0),r=o.get("target",!0)||"blank";a&&window.open(a,r)}}}}},this)},_renderBreadcrumb:function(t,e,i){i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new pd(this.group))).render(t,e,i.node,XC(function(e){"animating"!==this._state&&(hd(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},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 i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var o=this._storage.background[n.getRawIndex()];if(o){var a=o.transformCoordToLocal(t,e),r=o.shape;if(!(r.x<=a[0]&&a[0]<=r.x+r.width&&r.y<=a[1]&&a[1]<=r.y+r.height))return!1;i={node:n,offsetX:a[0],offsetY:a[1]}}},this),i}});for(var aL=["treemapZoomToNode","treemapRender","treemapMove"],rL=0;rL<aL.length;rL++)Es({type:aL[rL],update:"updateView"},function(){});Es({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,i){var n=ld(t,["treemapZoomToNode","treemapRootToNode"],e);if(n){var o=e.getViewRoot();o&&(t.direction=hd(o,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}})});var sL=d,lL=w,uL=-1,hL=function(t){var e=t.mappingMethod,n=t.type,o=this.option=i(t);this.type=n,this.mappingMethod=e,this._normalizeData=dL[e];var a=cL[n];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._doMap=a._doMap[e],"piecewise"===e?(bd(o),_d(o)):"category"===e?o.categories?wd(o):bd(o,!0):(k("linear"!==e||o.dataExtent),bd(o))};hL.prototype={constructor:hL,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return m(this._normalizeData,this)}};var cL=hL.visualHandlers={color:{applyVisual:Id("color"),getColorMapper:function(){var t=this.option;return m("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),Td.call(this,t)}:function(e,i,n){var o=!!n;return!i&&(e=this._normalizeData(e)),n=Ut(e,t.parsedVisual,n),o?n:qt(n,"rgba")},this)},_doMap:{linear:function(t){return qt(Ut(t,this.option.parsedVisual),"rgba")},category:Td,piecewise:function(t,e){var i=Cd.call(this,e);return null==i&&(i=qt(Ut(t,this.option.parsedVisual),"rgba")),i},fixed:Ad}},colorHue:Sd(function(t,e){return jt(t,e)}),colorSaturation:Sd(function(t,e){return jt(t,null,e)}),colorLightness:Sd(function(t,e){return jt(t,null,null,e)}),colorAlpha:Sd(function(t,e){return Yt(t,e)}),opacity:{applyVisual:Id("opacity"),_doMap:Dd([0,1])},liftZ:{applyVisual:Id("liftZ"),_doMap:{linear:Ad,category:Ad,piecewise:Ad,fixed:Ad}},symbol:{applyVisual:function(t,e,i){var n=this.mapValueToVisual(t);if(_(n))i("symbol",n);else if(lL(n))for(var o in n)n.hasOwnProperty(o)&&i(o,n[o])},_doMap:{linear:Md,category:Td,piecewise:function(t,e){var i=Cd.call(this,e);return null==i&&(i=Md.call(this,t)),i},fixed:Ad}},symbolSize:{applyVisual:Id("symbolSize"),_doMap:Dd([0,1])}},dL={linear:function(t){return Bo(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=hL.findPieceIndex(t,e,!0);if(null!=i)return Bo(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?uL:e},fixed:B};hL.listVisualTypes=function(){var t=[];return d(cL,function(e,i){t.push(i)}),t},hL.addVisualHandler=function(t,e){cL[t]=e},hL.isValidType=function(t){return cL.hasOwnProperty(t)},hL.eachVisual=function(t,e,i){w(t)?d(t,e,i):e.call(i,t)},hL.mapVisual=function(t,e,i){var n,o=y(t)?[]:w(t)?{}:(n=!0,null);return hL.eachVisual(t,function(t,a){var r=e.call(i,t,a);n?o=r:o[a]=r}),o},hL.retrieveVisuals=function(t){var e,i={};return t&&sL(cL,function(n,o){t.hasOwnProperty(o)&&(i[o]=t[o],e=!0)}),e?i:null},hL.prepareVisualTypes=function(t){if(lL(t)){var e=[];sL(t,function(t,i){e.push(i)}),t=e}else{if(!y(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},hL.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},hL.findPieceIndex=function(t,e,i){function n(e,i){var n=Math.abs(e-t);n<a&&(a=n,o=i)}for(var o,a=1/0,r=0,s=e.length;r<s;r++){var l=e[r].value;if(null!=l){if(l===t||"string"==typeof l&&l===t+"")return r;i&&n(l,r)}}for(var r=0,s=e.length;r<s;r++){var u=e[r],h=u.interval,c=u.close;if(h){if(h[0]===-1/0){if(kd(c[1],t,h[1]))return r}else if(h[1]===1/0){if(kd(c[0],h[0],t))return r}else if(kd(c[0],h[0],t)&&kd(c[1],t,h[1]))return r;i&&n(h[0],r),i&&n(h[1],r)}}if(i)return t===1/0?e.length-1:t===-1/0?0:o};var fL=y,pL="itemStyle",gL={seriesType:"treemap",reset:function(t,e,i,n){var o=t.getData().tree,a=o.root,r=t.getModel(pL);a.isRemoved()||Pd(a,{},f(o.levelModels,function(t){return t?t.get(pL):null}),r,t.getViewRoot().getAncestors(),t)}},mL=Math.max,vL=Math.min,yL=T,xL=d,_L=["itemStyle","borderWidth"],wL=["itemStyle","gapWidth"],bL=["upperLabel","show"],SL=["upperLabel","height"],ML={seriesType:"treemap",reset:function(t,e,i,n){var o=i.getWidth(),r=i.getHeight(),s=t.option,l=ca(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),u=s.size||[],h=Vo(yL(l.width,u[0]),o),c=Vo(yL(l.height,u[1]),r),d=n&&n.type,f=ld(n,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===d||"treemapMove"===d?n.rootRect:null,g=t.getViewRoot(),m=ud(g);if("treemapMove"!==d){var v="treemapZoomToNode"===d?jd(t,f,g,h,c):p?[p.width,p.height]:[h,c],y=s.sort;y&&"asc"!==y&&"desc"!==y&&(y="desc");var x={squareRatio:s.squareRatio,sort:y,leafDepth:s.leafDepth};g.hostTree.clearLayouts();_={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};g.setLayout(_),Gd(g,x,!1,0);var _=g.getLayout();xL(m,function(t,e){var i=(m[e+1]||g).getValue();t.setLayout(a({dataExtent:[i,i],borderWidth:0,upperHeight:0},_))})}var w=t.getData().tree.root;w.setLayout(Yd(l,p,f),!0),t.setLayoutInfo(l),qd(w,new de(-l.x,-l.y,o,r),m,g,0)}};Bs(gL),zs(ML);var IL=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},TL=IL.prototype;TL.type="graph",TL.isDirected=function(){return this._directed},TL.addNode=function(t,e){t=t||""+e;var i=this._nodesMap;if(!i[$d(t)]){var n=new Jd(t,e);return n.hostGraph=this,this.nodes.push(n),i[$d(t)]=n,n}},TL.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},TL.getNodeById=function(t){return this._nodesMap[$d(t)]},TL.addEdge=function(t,e,i){var n=this._nodesMap,o=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),Jd.isInstance(t)||(t=n[$d(t)]),Jd.isInstance(e)||(e=n[$d(e)]),t&&e){var a=t.id+"-"+e.id;if(!o[a]){var r=new Qd(t,e,i);return r.hostGraph=this,this._directed&&(t.outEdges.push(r),e.inEdges.push(r)),t.edges.push(r),t!==e&&e.edges.push(r),this.edges.push(r),o[a]=r,r}}},TL.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},TL.getEdge=function(t,e){Jd.isInstance(t)&&(t=t.id),Jd.isInstance(e)&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},TL.eachNode=function(t,e){for(var i=this.nodes,n=i.length,o=0;o<n;o++)i[o].dataIndex>=0&&t.call(e,i[o],o)},TL.eachEdge=function(t,e){for(var i=this.edges,n=i.length,o=0;o<n;o++)i[o].dataIndex>=0&&i[o].node1.dataIndex>=0&&i[o].node2.dataIndex>=0&&t.call(e,i[o],o)},TL.breadthFirstTraverse=function(t,e,i,n){if(Jd.isInstance(e)||(e=this._nodesMap[$d(e)]),e){for(var o="out"===i?"outEdges":"in"===i?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(n,e,null))for(var r=[e];r.length;)for(var s=r.shift(),l=s[o],a=0;a<l.length;a++){var u=l[a],h=u.node1===s?u.node2:u.node1;if(!h.__visited){if(t.call(n,h,s))return;r.push(h),h.__visited=!0}}}},TL.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,o=0,a=i.length;o<a;o++)i[o].dataIndex=-1;for(var o=0,a=t.count();o<a;o++)i[t.getRawIndex(o)].dataIndex=o;e.filterSelf(function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0});for(var o=0,a=n.length;o<a;o++)n[o].dataIndex=-1;for(var o=0,a=e.count();o<a;o++)n[e.getRawIndex(o)].dataIndex=o},TL.clone=function(){for(var t=new IL(this._directed),e=this.nodes,i=this.edges,n=0;n<e.length;n++)t.addNode(e[n].id,e[n].dataIndex);for(n=0;n<i.length;n++){var o=i[n];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},Jd.prototype={constructor:Jd,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},Qd.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};var AL=function(t,e){return{getValue:function(i){var n=this[t][e];return n.get(n.getDimension(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},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)}}};h(Jd,AL("hostGraph","data")),h(Qd,AL("hostGraph","edgeData")),IL.Node=Jd,IL.Edge=Qd,Yi(Jd),Yi(Qd);var DL=function(t,e,i,n,o){for(var a=new IL(n),r=0;r<t.length;r++)a.addNode(T(t[r].id,t[r].name,r),r);for(var s=[],u=[],h=0,r=0;r<e.length;r++){var c=e[r],d=c.source,f=c.target;a.addEdge(d,f,h)&&(u.push(c),s.push(T(c.id,d+" > "+f)),h++)}var p,g=i.get("coordinateSystem");if("cartesian2d"===g||"polar"===g)p=ml(t,i);else{var m=Fa.get(g),v=m&&"view"!==m.type?m.dimensions||[]:[];l(v,"value")<0&&v.concat(["value"]);var y=_A(t,{coordDimensions:v});(p=new vA(y,i)).initData(t)}var x=new vA(["value"],i);return x.initData(u,s),o&&o(p,x),kc({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:x},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a},CL=Hs({type:"series.graph",init:function(t){CL.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){CL.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){CL.superApply(this,"mergeDefaultAndTheme",arguments),Ci(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],o=this;if(n&&i)return DL(n,i,this,!0,function(t,i){function n(t){return(t=this.parsePath(t))&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var a=o.getModel("edgeLabel"),r=new No({label:a.option},a.parentModel,e),s=o.getModel("emphasis.edgeLabel"),l=new No({emphasis:{label:s.option}},s.parentModel,e);i.wrapMethod("getItemModel",function(t){return t.customizeGetParent(n),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),o=this.getDataParams(t,i),a=n.graph.getEdgeByIndex(t),r=n.getName(a.node1.dataIndex),s=n.getName(a.node2.dataIndex),l=[];return null!=r&&l.push(r),null!=s&&l.push(s),l=ia(l.join(" > ")),o.value&&(l+=" : "+ia(o.value)),l}return CL.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=f(this.option.categories||[],function(t){return null!=t.value?t:a({value:0},t)}),e=new vA(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return CL.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,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),LL=_M.prototype,kL=bM.prototype,PL=Un({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(t,e){(tf(e)?LL:kL).buildPath(t,e)},pointAt:function(t){return tf(this.shape)?LL.pointAt.call(this,t):kL.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,i=tf(e)?[e.x2-e.x1,e.y2-e.y1]:kL.tangentAt.call(this,t);return q(i,i)}}),NL=["fromSymbol","toSymbol"],OL=rf.prototype;OL.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.childOfName("label");if(e||i||!n.ignore){for(var o=1,a=this.parent;a;)a.scale&&(o/=a.scale[0]),a=a.parent;var r=t.childOfName("line");if(this.__dirty||r.__dirty){var s=r.shape.percent,l=r.pointAt(0),u=r.pointAt(s),h=U([],u,l);if(q(h,h),e&&(e.attr("position",l),c=r.tangentAt(0),e.attr("rotation",Math.PI/2-Math.atan2(c[1],c[0])),e.attr("scale",[o*s,o*s])),i){i.attr("position",u);var c=r.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(c[1],c[0])),i.attr("scale",[o*s,o*s])}if(!n.ignore){n.attr("position",u);var d,f,p,g=5*o;if("end"===n.__position)d=[h[0]*g+u[0],h[1]*g+u[1]],f=h[0]>.8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var m=s/2,v=[(c=r.tangentAt(m))[1],-c[0]],y=r.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]),d=[y[0]+v[0]*g,y[1]+v[1]*g],f="center",p="bottom";var x=-Math.atan2(c[1],c[0]);u[0]<l[0]&&(x=Math.PI+x),n.attr("rotation",x)}else d=[-h[0]*g+l[0],-h[1]*g+l[1]],f=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||f},position:d,scale:[o,o]})}}}},OL._createLine=function(t,e,i){var n=t.hostModel,o=of(t.getItemLayout(e));o.shape.percent=0,To(o,{shape:{percent:1}},n,e),this.add(o);var a=new rM({name:"label",lineLabelOriginalOpacity:1});this.add(a),d(NL,function(i){var n=nf(i,t,e);this.add(n),this[ef(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},OL.updateData=function(t,e,i){var n=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),r={shape:{}};af(r.shape,a),Io(o,r,n,e),d(NL,function(i){var n=t.getItemVisual(e,i),o=ef(i);if(this[o]!==n){this.remove(this.childOfName(i));var a=nf(i,t,e);this.add(a)}this[o]=n},this),this._updateCommonStl(t,e,i)},OL._updateCommonStl=function(t,e,i){var n=t.hostModel,o=this.childOfName("line"),a=i&&i.lineStyle,s=i&&i.hoverLineStyle,l=i&&i.labelModel,u=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var h=t.getItemModel(e);a=h.getModel("lineStyle").getLineStyle(),s=h.getModel("emphasis.lineStyle").getLineStyle(),l=h.getModel("label"),u=h.getModel("emphasis.label")}var c=t.getItemVisual(e,"color"),f=D(t.getItemVisual(e,"opacity"),a.opacity,1);o.useStyle(r({strokeNoScale:!0,fill:"none",stroke:c,opacity:f},a)),o.hoverStyle=s,d(NL,function(t){var e=this.childOfName(t);e&&(e.setColor(c),e.setStyle({opacity:f}))},this);var p,g,m=l.getShallow("show"),v=u.getShallow("show"),y=this.childOfName("label");if((m||v)&&(p=c||"#000",null==(g=n.getFormattedLabel(e,"normal",t.dataType)))){var x=n.getRawValue(e);g=null==x?t.getName(e):isFinite(x)?Go(x):x}var _=m?g:null,w=v?A(n.getFormattedLabel(e,"emphasis",t.dataType),g):null,b=y.style;null==_&&null==w||(mo(y.style,l,{text:_},{autoColor:p}),y.__textAlign=b.textAlign,y.__verticalAlign=b.textVerticalAlign,y.__position=l.get("position")||"middle"),y.hoverStyle=null!=w?{text:w,textFill:u.getTextColor(!0),fontStyle:u.getShallow("fontStyle"),fontWeight:u.getShallow("fontWeight"),fontSize:u.getShallow("fontSize"),fontFamily:u.getShallow("fontFamily")}:{text:null},y.ignore=!m&&!v,fo(this)},OL.highlight=function(){this.trigger("emphasis")},OL.downplay=function(){this.trigger("normal")},OL.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},OL.setLinePoints=function(t){var e=this.childOfName("line");af(e.shape,t),e.dirty()},u(rf,tb);var EL=sf.prototype;EL.isPersistent=function(){return!0},EL.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var o=hf(t);t.diff(n).add(function(i){lf(e,t,i,o)}).update(function(i,a){uf(e,n,t,a,i,o)}).remove(function(t){i.remove(n.getItemGraphicEl(t))}).execute()},EL.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},EL.incrementalPrepareUpdate=function(t){this._seriesScope=hf(t),this._lineData=null,this.group.removeAll()},EL.incrementalUpdate=function(t,e){for(var i=t.start;i<t.end;i++)if(df(e.getItemLayout(i))){var n=new this._ctor(e,i,this._seriesScope);n.traverse(function(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}),this.group.add(n),e.setItemGraphicEl(i,n)}},EL.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},EL._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var RL=[],zL=[],BL=[],VL=sn,GL=hw,FL=Math.abs,WL=function(t,e){function i(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}var n=[],o=cn,a=[[],[],[]],r=[[],[]],s=[];e/=2,t.eachEdge(function(t,l){var u=t.getLayout(),h=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");u.__original||(u.__original=[F(u[0]),F(u[1])],u[2]&&u.__original.push(F(u[2])));var d=u.__original;if(null!=u[2]){if(G(a[0],d[0]),G(a[1],d[2]),G(a[2],d[1]),h&&"none"!==h){var f=i(t.node1),p=ff(a,d[0],f*e);o(a[0][0],a[1][0],a[2][0],p,n),a[0][0]=n[3],a[1][0]=n[4],o(a[0][1],a[1][1],a[2][1],p,n),a[0][1]=n[3],a[1][1]=n[4]}if(c&&"none"!==c){var f=i(t.node2),p=ff(a,d[1],f*e);o(a[0][0],a[1][0],a[2][0],p,n),a[1][0]=n[1],a[2][0]=n[2],o(a[0][1],a[1][1],a[2][1],p,n),a[1][1]=n[1],a[2][1]=n[2]}G(u[0],a[0]),G(u[1],a[2]),G(u[2],a[1])}else{if(G(r[0],d[0]),G(r[1],d[1]),U(s,r[1],r[0]),q(s,s),h&&"none"!==h){f=i(t.node1);Z(r[0],r[0],s,f*e)}if(c&&"none"!==c){f=i(t.node2);Z(r[1],r[1],s,-f*e)}G(u[0],r[0]),G(u[1],r[1])}})},HL="__focusNodeAdjacency",ZL=["itemStyle","opacity"],UL=["lineStyle","opacity"];Zs({type:"graph",init:function(t,e){var i=new Du,n=new sf,o=this.group;this._controller=new oc(e.getZr()),this._controllerHost={target:o},o.add(i.group),o.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},render:function(t,e,i){var n=t.coordinateSystem;this._model=t,this._nodeScaleRatio=t.get("nodeScaleRatio");var o=this._symbolDraw,a=this._lineDraw,r=this.group;if("view"===n.type){var s={position:n.position,scale:n.scale};this._firstRender?r.attr(s):Io(r,s,t)}WL(t.getGraph(),this._getNodeGlobalScale(t));var l=t.getData();o.updateData(l);var u=t.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var h=t.forceLayout,c=t.get("force.layoutAnimation");h&&this._startForceLayoutIteration(h,c),l.eachItemGraphicEl(function(e,n){var o=l.getItemModel(n);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",function(){h&&(h.warmUp(),!this._layouting&&this._startForceLayoutIteration(h,c),h.setFixed(n),l.setItemLayout(n,e.position))},this).on("dragend",function(){h&&h.setUnfixed(n)},this),e.setDraggable(a&&h),e[HL]&&e.off("mouseover",e[HL]),e.__unfocusNodeAdjacency&&e.off("mouseout",e.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[HL]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this),l.graph.eachEdge(function(e){var n=e.getGraphicEl();n[HL]&&n.off("mouseover",n[HL]),n.__unfocusNodeAdjacency&&n.off("mouseout",n.__unfocusNodeAdjacency),e.getModel().get("focusNodeAdjacency")&&(n.on("mouseover",n[HL]=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),n.on("mouseout",n.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))});var d="circular"===t.get("layout")&&t.get("circular.rotateLabel"),f=l.getLayout("cx"),p=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var i=t.getSymbolPath();if(d){var n=l.getItemLayout(e),o=Math.atan2(n[1]-p,n[0]-f);o<0&&(o=2*Math.PI+o);var a=n[0]<f;a&&(o-=Math.PI);var r=a?"left":"right";i.setStyle({textRotation:-o,textPosition:r,textOrigin:"center"}),i.hoverStyle&&(i.hoverStyle.textPosition=r)}else i.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},focusNodeAdjacency:function(t,e,i,n){var o=this._model.getData().graph,a=n.dataIndex,r=n.edgeDataIndex,s=o.getNodeByIndex(a),l=o.getEdgeByIndex(r);(s||l)&&(o.eachNode(function(t){gf(t,ZL,.1)}),o.eachEdge(function(t){gf(t,UL,.1)}),s&&(mf(s,ZL),d(s.edges,function(t){t.dataIndex<0||(mf(t,UL),mf(t.node1,ZL),mf(t.node2,ZL))})),l&&(mf(l,UL),mf(l.node1,ZL),mf(l.node2,ZL)))},unfocusNodeAdjacency:function(t,e,i,n){var o=this._model.getData().graph;o.eachNode(function(t){gf(t,ZL)}),o.eachEdge(function(t){gf(t,UL)})},_startForceLayoutIteration:function(t,e){var i=this;!function n(){t.step(function(t){i.updateLayout(i._model),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())})}()},_updateController:function(t,e,i){var n=this._controller,o=this._controllerHost,a=this.group;n.setPointerChecker(function(e,n,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(n,o)&&!gc(e,i,t)}),"view"===t.coordinateSystem.type?(n.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",function(e){fc(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){pc(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),WL(t.getGraph(),this._getNodeGlobalScale(t)),this._lineDraw.updateLayout()},this)):n.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),i=this._getNodeGlobalScale(t),n=[i,i];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scale,o=n&&n[0]||1;return((e.getZoom()-1)*i+1)/o},updateLayout:function(t){WL(t.getGraph(),this._getNodeGlobalScale(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}}),Es({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),Es({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){}),Es({type:"graphRoam",event:"graphRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var i=bc(e.coordinateSystem,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})});var XL=Z;Os(function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getGraph().data,o=i.mapArray(i.getName);n.filterSelf(function(t){var i=n.getItemModel(t).getShallow("category");if(null!=i){"number"==typeof i&&(i=o[i]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(i))return!1}return!0})},this)}),Bs(TD("graph","circle",null)),Bs(function(t){var e={};t.eachSeriesByType("graph",function(t){var i=t.getCategoriesData(),n=t.getData(),o={};i.each(function(n){var a=i.getName(n);o["ec-"+a]=n;var r=i.getItemModel(n).get("itemStyle.color")||t.getColorFromPalette(a,e);i.setItemVisual(n,"color",r)}),i.count()&&n.each(function(t){var e=n.getItemModel(t).getShallow("category");null!=e&&("string"==typeof e&&(e=o["ec-"+e]),n.getItemVisual(t,"color",!0)||n.setItemVisual(t,"color",i.getItemVisual(e,"color")))})})}),Bs(function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),i=t.getEdgeData(),n=vf(t.get("edgeSymbol")),o=vf(t.get("edgeSymbolSize")),a="lineStyle.color".split("."),r="lineStyle.opacity".split(".");i.setVisual("fromSymbol",n&&n[0]),i.setVisual("toSymbol",n&&n[1]),i.setVisual("fromSymbolSize",o&&o[0]),i.setVisual("toSymbolSize",o&&o[1]),i.setVisual("color",t.get(a)),i.setVisual("opacity",t.get(r)),i.each(function(t){var n=i.getItemModel(t),o=e.getEdgeByIndex(t),s=vf(n.getShallow("symbol",!0)),l=vf(n.getShallow("symbolSize",!0)),u=n.get(a),h=n.get(r);switch(u){case"source":u=o.node1.getVisual("color");break;case"target":u=o.node2.getVisual("color")}s[0]&&o.setVisual("fromSymbol",s[0]),s[1]&&o.setVisual("toSymbol",s[1]),l[0]&&o.setVisual("fromSymbolSize",l[0]),l[1]&&o.setVisual("toSymbolSize",l[1]),o.setVisual("color",u),o.setVisual("opacity",h)})})}),zs(function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),o=[];d(i.dimensions,function(t){o=o.concat(n.mapDimension(t,!0))});for(var a=0;a<n.count();a++){for(var r=[],s=!1,l=0;l<o.length;l++){var u=n.get(o[l],a);isNaN(u)||(s=!0),r.push(u)}s?n.setItemLayout(a,i.dataToPoint(r)):n.setItemLayout(a,[NaN,NaN])}xf(n.graph)}else e&&"none"!==e||yf(t)})}),zs(function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&_f(t)})}),zs(function(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),o=n.data,a=n.edgeData,r=t.getModel("force"),s=r.get("initLayout");t.preservedPoints?o.each(function(t){var e=o.getId(t);o.setItemLayout(t,i[e]||[NaN,NaN])}):s&&"none"!==s?"circular"===s&&_f(t):yf(t);var l=o.getDataExtent("value"),u=a.getDataExtent("value"),h=r.get("repulsion"),c=r.get("edgeLength");y(h)||(h=[h,h]),y(c)||(c=[c,c]),c=[c[1],c[0]];var d=o.mapArray("value",function(t,e){var i=o.getItemLayout(e),n=Bo(t,l,h);return isNaN(n)&&(n=(h[0]+h[1])/2),{w:n,rep:n,fixed:o.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),f=a.mapArray("value",function(t,e){var i=n.getEdgeByIndex(e),o=Bo(t,u,c);return isNaN(o)&&(o=(c[0]+c[1])/2),{n1:d[i.node1.dataIndex],n2:d[i.node2.dataIndex],d:o,curveness:i.getModel().get("lineStyle.curveness")||0}}),p=(e=t.coordinateSystem).getBoundingRect(),g=wf(d,f,{rect:p,gravity:r.get("gravity")}),m=g.step;g.step=function(t){for(var e=0,a=d.length;e<a;e++)d[e].fixed&&G(d[e].p,n.getNodeByIndex(e).getLayout());m(function(e,a,r){for(var s=0,l=e.length;s<l;s++)e[s].fixed||n.getNodeByIndex(s).setLayout(e[s].p),i[o.getId(s)]=e[s].p;for(var s=0,l=a.length;s<l;s++){var u=a[s],h=n.getEdgeByIndex(s),c=u.n1.p,d=u.n2.p,f=h.getLayout();(f=f?f.slice():[])[0]=f[0]||[],f[1]=f[1]||[],G(f[0],c),G(f[1],d),+u.curveness&&(f[2]=[(c[0]+d[0])/2-(c[1]-d[1])*u.curveness,(c[1]+d[1])/2-(d[0]-c[0])*u.curveness]),h.setLayout(f)}t&&t(r)})},t.forceLayout=g,t.preservedPoints=i,g.step()}else t.forceLayout=null})}),Rs("graphView",{create:function(t,e){var i=[];return t.eachSeriesByType("graph",function(t){var n=t.get("coordinateSystem");if(!n||"view"===n){var o=t.getData(),a=[],r=[];fn(o.mapArray(function(t){var e=o.getItemModel(t);return[+e.get("x"),+e.get("y")]}),a,r),r[0]-a[0]==0&&(r[0]+=1,a[0]-=1),r[1]-a[1]==0&&(r[1]+=1,a[1]-=1);var s=(r[0]-a[0])/(r[1]-a[1]),l=bf(t,e,s);isNaN(s)&&(a=[l.x,l.y],r=[l.x+l.width,l.y+l.height]);var u=r[0]-a[0],h=r[1]-a[1],c=l.width,d=l.height,f=t.coordinateSystem=new Mc;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(a[0],a[1],u,h),f.setViewRect(l.x,l.y,c,d),f.setCenter(t.get("center")),f.setZoom(t.get("zoom")),i.push(f)}}),i}});YI.extend({type:"series.gauge",getInitialData:function(t,e){var i=t.data||[];return y(i)||(i=[i]),t.data=i,oC(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});var jL=Pn.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,o=e.r,a=e.width,r=e.angle,s=e.x-i(r)*a*(a>=o/3?1:2),l=e.y-n(r)*a*(a>=o/3?1:2);r=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(r)*a,e.y+n(r)*a),t.lineTo(e.x+i(e.angle)*o,e.y+n(e.angle)*o),t.lineTo(e.x-i(r)*a,e.y-n(r)*a),t.lineTo(s,l)}}),YL=2*Math.PI,qL=(Ar.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),o=Sf(t,i);this._renderMain(t,e,i,n,o)},dispose:function(){},_renderMain:function(t,e,i,n,o){for(var a=this.group,r=t.getModel("axisLine").getModel("lineStyle"),s=t.get("clockwise"),l=-t.get("startAngle")/180*Math.PI,u=-t.get("endAngle")/180*Math.PI,h=(u-l)%YL,c=l,d=r.get("width"),f=0;f<n.length;f++){var p=Math.min(Math.max(n[f][0],0),1),g=new hM({shape:{startAngle:c,endAngle:u=l+h*p,cx:o.cx,cy:o.cy,clockwise:s,r0:o.r-d,r:o.r},silent:!0});g.setStyle({fill:n[f][1]}),g.setStyle(r.getLineStyle(["color","borderWidth","borderColor"])),a.add(g),c=u}var m=function(t){if(t<=0)return n[0][1];for(var e=0;e<n.length;e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};if(!s){var v=l;l=u,u=v}this._renderTicks(t,e,i,m,o,l,u,s),this._renderPointer(t,e,i,m,o,l,u,s),this._renderTitle(t,e,i,m,o),this._renderDetail(t,e,i,m,o)},_renderTicks:function(t,e,i,n,o,a,r,s){for(var l=this.group,u=o.cx,h=o.cy,c=o.r,d=+t.get("min"),f=+t.get("max"),p=t.getModel("splitLine"),g=t.getModel("axisTick"),m=t.getModel("axisLabel"),v=t.get("splitNumber"),y=g.get("splitNumber"),x=Vo(p.get("length"),c),_=Vo(g.get("length"),c),w=a,b=(r-a)/v,S=b/y,M=p.getModel("lineStyle").getLineStyle(),I=g.getModel("lineStyle").getLineStyle(),T=0;T<=v;T++){var A=Math.cos(w),D=Math.sin(w);if(p.get("show")){var C=new _M({shape:{x1:A*c+u,y1:D*c+h,x2:A*(c-x)+u,y2:D*(c-x)+h},style:M,silent:!0});"auto"===M.stroke&&C.setStyle({stroke:n(T/v)}),l.add(C)}if(m.get("show")){var L=Mf(Go(T/v*(f-d)+d),m.get("formatter")),k=m.get("distance"),P=n(T/v);l.add(new rM({style:mo({},m,{text:L,x:A*(c-x-k)+u,y:D*(c-x-k)+h,textVerticalAlign:D<-.4?"top":D>.4?"bottom":"middle",textAlign:A<-.4?"left":A>.4?"right":"center"},{autoColor:P}),silent:!0}))}if(g.get("show")&&T!==v){for(var N=0;N<=y;N++){var A=Math.cos(w),D=Math.sin(w),O=new _M({shape:{x1:A*c+u,y1:D*c+h,x2:A*(c-_)+u,y2:D*(c-_)+h},silent:!0,style:I});"auto"===I.stroke&&O.setStyle({stroke:n((T+N/y)/v)}),l.add(O),w+=S}w-=S}else w+=b}},_renderPointer:function(t,e,i,n,o,a,r,s){var l=this.group,u=this._data;if(t.get("pointer.show")){var h=[+t.get("min"),+t.get("max")],c=[a,r],d=t.getData(),f=d.mapDimension("value");d.diff(u).add(function(e){var i=new jL({shape:{angle:a}});To(i,{shape:{angle:Bo(d.get(f,e),h,c,!0)}},t),l.add(i),d.setItemGraphicEl(e,i)}).update(function(e,i){var n=u.getItemGraphicEl(i);Io(n,{shape:{angle:Bo(d.get(f,e),h,c,!0)}},t),l.add(n),d.setItemGraphicEl(e,n)}).remove(function(t){var e=u.getItemGraphicEl(t);l.remove(e)}).execute(),d.eachItemGraphicEl(function(t,e){var i=d.getItemModel(e),a=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:Vo(a.get("width"),o.r),r:Vo(a.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",n(Bo(d.get(f,e),h,[0,1],!0))),fo(t,i.getModel("emphasis.itemStyle").getItemStyle())}),this._data=d}else u&&u.eachItemGraphicEl(function(t){l.remove(t)})},_renderTitle:function(t,e,i,n,o){var a=t.getData(),r=a.mapDimension("value"),s=t.getModel("title");if(s.get("show")){var l=s.get("offsetCenter"),u=o.cx+Vo(l[0],o.r),h=o.cy+Vo(l[1],o.r),c=+t.get("min"),d=+t.get("max"),f=n(Bo(t.getData().get(r,0),[c,d],[0,1],!0));this.group.add(new rM({silent:!0,style:mo({},s,{x:u,y:h,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:f,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,o){var a=t.getModel("detail"),r=+t.get("min"),s=+t.get("max");if(a.get("show")){var l=a.get("offsetCenter"),u=o.cx+Vo(l[0],o.r),h=o.cy+Vo(l[1],o.r),c=Vo(a.get("width"),o.r),d=Vo(a.get("height"),o.r),f=t.getData(),p=f.get(f.mapDimension("value"),0),g=n(Bo(p,[r,s],[0,1],!0));this.group.add(new rM({silent:!0,style:mo({},a,{x:u,y:h,text:Mf(p,a.get("formatter")),textWidth:isNaN(c)?null:c,textHeight:isNaN(d)?null:d,textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}}}),Hs({type:"series.funnel",init:function(t){qL.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return oC(this,["value"])},_defaultLabelLine:function(t){Ci(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=qL.superCall(this,"getDataParams",t),n=e.mapDimension("value"),o=e.getSum(n);return i.percent=o?+(e.get(n,t)/o*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",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}}}})),KL=If.prototype,$L=["itemStyle","opacity"];KL.updateData=function(t,e,i){var n=this.childAt(0),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=t.getItemModel(e).get($L);l=null==l?1:l,n.useStyle({}),i?(n.setShape({points:s.points}),n.setStyle({opacity:0}),To(n,{style:{opacity:l}},o,e)):Io(n,{style:{opacity:l},shape:{points:s.points}},o,e);var u=a.getModel("itemStyle"),h=t.getItemVisual(e,"color");n.setStyle(r({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),n.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),fo(this)},KL._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),r=t.getItemLayout(e).label,s=t.getItemVisual(e,"color");Io(i,{shape:{points:r.linePoints||r.linePoints}},o,e),Io(n,{style:{x:r.x,y:r.y}},o,e),n.attr({rotation:r.rotation,origin:[r.x,r.y],z2:10});var l=a.getModel("label"),u=a.getModel("emphasis.label"),h=a.getModel("labelLine"),c=a.getModel("emphasis.labelLine"),s=t.getItemVisual(e,"color");go(n.style,n.hoverStyle={},l,u,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:s,useInsideStyle:!!r.inside},{textAlign:r.textAlign,textVerticalAlign:r.verticalAlign}),n.ignore=n.normalIgnore=!l.get("show"),n.hoverIgnore=!u.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!c.get("show"),i.setStyle({stroke:s}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=c.getModel("lineStyle").getLineStyle()},u(If,tb);Ar.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),o=this._data,a=this.group;n.diff(o).add(function(t){var e=new If(n,t);n.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){var i=o.getItemGraphicEl(e);i.updateData(n,t),a.add(i),n.setItemGraphicEl(t,i)}).remove(function(t){var e=o.getItemGraphicEl(t);a.remove(e)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});Bs(uC("funnel")),zs(function(t,e,i){t.eachSeriesByType("funnel",function(t){var i=t.getData(),n=i.mapDimension("value"),o=t.get("sort"),a=Tf(t,e),r=Af(i,o),s=[Vo(t.get("minSize"),a.width),Vo(t.get("maxSize"),a.width)],l=i.getDataExtent(n),u=t.get("min"),h=t.get("max");null==u&&(u=Math.min(l[0],0)),null==h&&(h=l[1]);var c=t.get("funnelAlign"),d=t.get("gap"),f=(a.height-d*(i.count()-1))/i.count(),p=a.y,g=function(t,e){var o,r=Bo(i.get(n,t)||0,[u,h],s,!0);switch(c){case"left":o=a.x;break;case"center":o=a.x+(a.width-r)/2;break;case"right":o=a.x+a.width-r}return[[o,e],[o+r,e]]};"ascending"===o&&(f=-f,d=-d,p+=a.height,r=r.reverse());for(var m=0;m<r.length;m++){var v=r[m],y=r[m+1],x=i.getItemModel(v).get("itemStyle.height");null==x?x=f:(x=Vo(x,a.height),"ascending"===o&&(x=-x));var _=g(v,p),w=g(y,p+x);p+=x+d,i.setItemLayout(v,{points:_.concat(w.slice().reverse())})}Df(i)})}),Os(fC("funnel"));var JL=function(t,e,i,n,o){aD.call(this,t,e,i),this.type=n||"value",this.axisIndex=o};JL.prototype={constructor:JL,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},u(JL,aD);var QL=function(t,e,i,n,o,a){e[0]=Pf(e[0],i),e[1]=Pf(e[1],i),t=t||0;var r=i[1]-i[0];null!=o&&(o=Pf(o,[0,r])),null!=a&&(a=Math.max(a,null!=o?o:0)),"all"===n&&(o=a=Math.abs(e[1]-e[0]),n=0);var s=kf(e,n);e[n]+=t;var l=o||0,u=i.slice();s.sign<0?u[0]+=l:u[1]-=l,e[n]=Pf(e[n],u);h=kf(e,n);null!=o&&(h.sign!==s.sign||h.span<o)&&(e[1-n]=e[n]+s.sign*o);var h=kf(e,n);return null!=a&&h.span>a&&(e[1-n]=e[n]+h.sign*a),e},tk=d,ek=Math.min,ik=Math.max,nk=Math.floor,ok=Math.ceil,ak=Go,rk=Math.PI;Nf.prototype={type:"parallel",constructor:Nf,_init:function(t,e,i){var n=t.dimensions,o=t.parallelAxisIndex;tk(n,function(t,i){var n=o[i],a=e.getComponent("parallelAxis",n),r=this._axesMap.set(t,new JL(t,Hl(a),[0,0],a.get("type"),n)),s="category"===r.type;r.onBand=s&&a.get("boundaryGap"),r.inverse=a.get("inverse"),a.axis=r,r.model=a,r.coordinateSystem=a.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,o=e.pixelDimIndex,a=t[1-o],r=t[o];return a>=i&&a<=i+e.axisLength&&r>=n&&r<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();tk(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),Wl(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=ca(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],o=["width","height"],a=e.get("layout"),r="horizontal"===a?0:1,s=i[o[r]],l=[0,s],u=this.dimensions.length,h=Of(e.get("axisExpandWidth"),l),c=Of(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,f=e.get("axisExpandWindow");f?(t=Of(f[1]-f[0],l),f[1]=f[0]+t):(t=Of(h*(c-1),l),(f=[h*(e.get("axisExpandCenter")||nk(u/2))-t/2])[1]=f[0]+t);var p=(s-t)/(u-c);p<3&&(p=0);var g=[nk(ak(f[0]/h,1))+1,ok(ak(f[1]/h,1))-1],m=p/h*f[0];return{layout:a,pixelDimIndex:r,layoutBase:i[n[r]],layoutLength:s,axisBase:i[n[1-r]],axisLength:i[o[1-r]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:p,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),o=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),tk(i,function(e,i){var a=(n.axisExpandable?Rf:Ef)(i,n),r={horizontal:{x:a.position,y:n.axisLength},vertical:{x:0,y:a.position}},s={horizontal:rk/2,vertical:0},l=[r[o].x+t.x,r[o].y+t.y],u=s[o],h=xt();Mt(h,h,u),St(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,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(t,e,i,n){null==i&&(i=0),null==n&&(n=t.count());var o=this._axesMap,a=this.dimensions,r=[],s=[];d(a,function(e){r.push(t.mapDimension(e)),s.push(o.get(e).model)});for(var l=this.hasAxisBrushed(),u=i;u<n;u++){var h;if(l){h="active";for(var c=t.getValues(r,u),f=0,p=a.length;f<p;f++)if("inactive"===s[f].getActiveState(c[f])){h="inactive";break}}else h="normal";e(h,u)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,i=!1,n=0,o=t.length;n<o;n++)"normal"!==e.get(t[n]).model.getActiveState()&&(i=!0);return i},axisCoordToPoint:function(t,e){return Do([t,0],this._axesLayout[e].transform)},getAxisLayout:function(t){return i(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),i=e.pixelDimIndex,n=e.axisExpandWindow.slice(),o=n[1]-n[0],a=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:n};var r,s=t[i]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),c=null!=h[0];if(u)c&&u&&s<o*h[0]?(l="jump",r=s-o*h[2]):c&&u&&s>o*(1-h[0])?(l="jump",r=s-o*(1-h[2])):(r=s-o*h[1])>=0&&(r=s-o*(1-h[1]))<=0&&(r=0),(r*=e.axisExpandWidth/u)?QL(r,n,a,"all"):l="none";else{o=n[1]-n[0];(n=[ik(0,a[1]*s/o-o/2)])[1]=ek(a[1],n[0]+o),n[0]=n[1]-o}return{axisExpandWindow:n,behavior:l}}},Fa.register("parallel",{create:function(t,e){var i=[];return t.eachComponent("parallel",function(n,o){var a=new Nf(n,t,e);a.name="parallel_"+o,a.resize(n,e),n.coordinateSystem=a,a.model=n,i.push(a)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}});var sk=lI.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return Qb([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i(t);if(e)for(var n=e.length-1;n>=0;n--)Fo(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,o=e.length;n<o;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"}}),lk={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};n(sk.prototype,UA),ED("parallel",sk,function(t,e){return e.type||(e.data?"category":"value")},lk),lI.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,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},init:function(){lI.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){d(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];d(g(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this),function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}}),Es({type:"axisAreaSelect",event:"axisAreaSelected"},function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),Es("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})});var uk=v,hk=d,ck=f,dk=Math.min,fk=Math.max,pk=Math.pow,gk=1e4,mk=6,vk=6,yk="globalPan",xk={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_k={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},wk={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},bk=0;zf.prototype={constructor:zf,enableBrush:function(t){return this._brushType&&Vf(this),t.brushType&&Bf(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};d(t,function(t){e[t.panelId]=i(t)})}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){hk(this._covers,t,e)},updateCovers:function(t){function e(t,e){return(null!=t.id?t.id:a+e)+"-"+t.brushType}function o(e,i){var n=t[e];if(null!=i&&r[i]===u)s[e]=r[i];else{var o=s[e]=null!=i?(r[i].__brushOption=n,r[i]):Ff(l,Gf(l,n));Zf(l,o)}}t=f(t,function(t){return n(i(wk),t,!0)});var a="\0-brush-index-",r=this._covers,s=this._covers=[],l=this,u=this._creatingCover;return new Xs(r,t,function(t,i){return e(t.__brushOption,i)},e).add(o).update(o).remove(function(t){r[t]!==u&&l.group.remove(r[t])}).execute(),this},unmount:function(){return this.enableBrush(!1),Yf(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},h(zf,fw);var Sk={mousedown:function(t){if(this._dragging)mp.call(this,t);else if(!t.target||!t.target.draggable){dp(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=Xf(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(cp(this,t,e),this._dragging){dp(t);var i=pp(this,t,e,!1);i&&qf(this,i)}},mouseup:mp},Mk={lineX:vp(0),lineY:vp(1),rect:{createCover:function(t,e){return Jf(uk(rp,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=$f(t);return np(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){Qf(t,e,i,n)},updateCommon:tp,contain:fp},polygon:{createCover:function(t,e){var i=new tb;return i.add(new gM({name:"main",style:ip(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new pM({name:"main",draggable:!0,drift:uk(sp,t,e),ondragend:uk(qf,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:up(t,e,i)})},updateCommon:tp,contain:fp}},Ik=["axisLine","axisTickLabel","axisName"],Tk=Ws({type:"parallelAxis",init:function(t,e){Tk.superApply(this,"init",arguments),(this._brushController=new zf(e.getZr())).on("brush",m(this._onBrush,this))},render:function(t,e,i,n){if(!bp(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new tb,this.group.add(this._axisGroup),t.get("show")){var r=Mp(t,e),s=r.coordinateSystem,l=t.getAreaSelectStyle(),u=l.width,h=t.axis.dim,c=a({strokeContainThreshold:u},s.getAxisLayout(h)),f=new FD(t,c);d(Ik,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(c,l,t,r,u,i);var p=n&&!1===n.animation?null:t;Lo(o,this._axisGroup,p)}}},_refreshBrushController:function(t,e,i,n,o,a){var r=i.axis.getExtent(),s=r[1]-r[0],l=Math.min(30,.1*Math.abs(s)),u=de.create({x:r[0],y:-o/2,width:s,height:o});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:yp(u),isTargetByCursor:_p(u,a,n),getLinearBrushOtherExtent:xp(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(Sp(i))},_onBrush:function(t,e){var i=this.axisModel,n=i.axis,o=f(t,function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]});(!i.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:o})},dispose:function(){this._brushController.dispose()}});Ws({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},d(Ak,function(t,e){i.getZr().on(e,this._handlers[e]=m(t,this))},this)),Nr(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){d(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a({type:"parallelAxisExpand"},t))}});var Ak={mousedown:function(t){Ip(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(Ip(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Ip(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};Ns(function(t){Cf(t),Lf(t)}),YI.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var i=this.getSource();return Tp(i,this),ml(i,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,function(e,o){t===e&&n.push(i.getRawIndex(o))}),n},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"}});var Dk=.3,Ck=(Ar.extend({type:"parallel",init:function(){this._dataGroup=new tb,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,i,n){var o=this._dataGroup,a=t.getData(),r=this._data,s=t.coordinateSystem,l=s.dimensions,u=kp(t);if(a.diff(r).add(function(t){Pp(Lp(a,o,t,l,s),a,t,u)}).update(function(e,i){var o=r.getItemGraphicEl(i),h=Cp(a,e,l,s);a.setItemGraphicEl(e,o),Io(o,{shape:{points:h}},n&&!1===n.animation?null:t,e),Pp(o,a,e,u)}).remove(function(t){var e=r.getItemGraphicEl(t);o.remove(e)}).execute(),!this._initialized){this._initialized=!0;var h=Dp(s,t,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(h)}this._data=a},incrementalPrepareRender:function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,i){for(var n=e.getData(),o=e.coordinateSystem,a=o.dimensions,r=kp(e),s=t.start;s<t.end;s++){var l=Lp(n,this._dataGroup,s,a,o);l.incremental=!0,Pp(l,n,s,r)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}}),["lineStyle","normal","opacity"]);Bs({seriesType:"parallel",reset:function(t,e,i){var n=t.getModel("itemStyle"),o=t.getModel("lineStyle"),a=e.get("color"),r=o.get("color")||n.get("color")||a[t.seriesIndex%a.length],s=t.get("inactiveOpacity"),l=t.get("activeOpacity"),u=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,c=t.getData(),d={normal:u.opacity,active:l,inactive:s};return c.setVisual("color",r),{progress:function(t,e){h.eachActiveState(e,function(t,i){var n=d[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(i).get(Ck,!0);null!=o&&(n=o)}e.setItemVisual(i,"opacity",n)},t.start,t.end)}}}});var Lk=YI.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,i=t.data||t.nodes;if(i&&e)return DL(i,e,this,!0).data},setNodePosition:function(t,e){var i=this.option.data[t];i.localX=e[0],i.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),o=n.data,a=o.source+" -- "+o.target;return n.value&&(a+=" : "+n.value),ia(a)}return Lk.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},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},itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),kk=["itemStyle","opacity"],Pk=["lineStyle","opacity"],Nk=Un({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 i=e.extent;"vertical"===e.orient?(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()}});Zs({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,i){var n=this,o=t.getGraph(),a=this.group,r=t.layoutInfo,s=r.width,l=r.height,u=t.getData(),h=t.getData("edge"),c=t.get("orient");this._model=t,a.removeAll(),a.attr("position",[r.x,r.y]),o.eachEdge(function(e){var i=new Nk;i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var n,o,r,u,d,f,p,g,m=e.getModel("lineStyle"),v=m.get("curveness"),y=e.node1.getLayout(),x=e.node1.getModel(),_=x.get("localX"),w=x.get("localY"),b=e.node2.getLayout(),S=e.node2.getModel(),M=S.get("localX"),I=S.get("localY"),T=e.getLayout();switch(i.shape.extent=Math.max(1,T.dy),i.shape.orient=c,"vertical"===c?(n=(null!=_?_*s:y.x)+T.sy,o=(null!=w?w*l:y.y)+y.dy,r=(null!=M?M*s:b.x)+T.ty,d=n,f=o*(1-v)+(u=null!=I?I*l:b.y)*v,p=r,g=o*v+u*(1-v)):(n=(null!=_?_*s:y.x)+y.dx,o=(null!=w?w*l:y.y)+T.sy,d=n*(1-v)+(r=null!=M?M*s:b.x)*v,f=o,p=n*v+r*(1-v),g=u=(null!=I?I*l:b.y)+T.ty),i.setShape({x1:n,y1:o,x2:r,y2:u,cpx1:d,cpy1:f,cpx2:p,cpy2:g}),i.setStyle(m.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color");break;case"target":i.style.fill=e.node2.getVisual("color")}fo(i,e.getModel("emphasis.lineStyle").getItemStyle()),a.add(i),h.setItemGraphicEl(e.dataIndex,i)}),o.eachNode(function(e){var i=e.getLayout(),n=e.getModel(),o=n.get("localX"),r=n.get("localY"),h=n.getModel("label"),c=n.getModel("emphasis.label"),d=new yM({shape:{x:null!=o?o*s:i.x,y:null!=r?r*l:i.y,width:i.dx,height:i.dy},style:n.getModel("itemStyle").getItemStyle()}),f=e.getModel("emphasis.itemStyle").getItemStyle();go(d.style,f,h,c,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),d.setStyle("fill",e.getVisual("color")),fo(d,f),a.add(d),u.setItemGraphicEl(e.dataIndex,d),d.dataType="node"}),u.eachItemGraphicEl(function(e,o){var a=u.getItemModel(o);a.get("draggable")&&(e.drift=function(e,a){n._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=a,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(o),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){n._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),a.get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){n._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){n._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),h.eachItemGraphicEl(function(e,o){h.getItemModel(o).get("focusNodeAdjacency")&&(e.off("mouseover").on("mouseover",function(){n._focusAdjacencyDisabled||i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),e.off("mouseout").on("mouseout",function(){n._focusAdjacencyDisabled||i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))}),!this._data&&t.get("animation")&&a.setClipPath(zp(a.getBoundingRect(),t,function(){a.removeClipPath()})),this._data=t.getData()},dispose:function(){},focusNodeAdjacency:function(t,e,i,n){var o=this._model.getData(),a=o.graph,r=n.dataIndex,s=o.getItemModel(r),l=n.edgeDataIndex;if(null!=r||null!=l){var u=a.getNodeByIndex(r),h=a.getEdgeByIndex(l);if(a.eachNode(function(t){Ep(t,kk,.1)}),a.eachEdge(function(t){Ep(t,Pk,.1)}),u){Rp(u,kk);var c=s.get("focusNodeAdjacency");"outEdges"===c?d(u.outEdges,function(t){t.dataIndex<0||(Rp(t,Pk),Rp(t.node2,kk))}):"inEdges"===c?d(u.inEdges,function(t){t.dataIndex<0||(Rp(t,Pk),Rp(t.node1,kk))}):"allEdges"===c&&d(u.edges,function(t){t.dataIndex<0||(Rp(t,Pk),Rp(t.node1,kk),Rp(t.node2,kk))})}h&&(Rp(h,Pk),Rp(h.node1,kk),Rp(h.node2,kk))}},unfocusNodeAdjacency:function(t,e,i,n){var o=this._model.getGraph();o.eachNode(function(t){Ep(t,kk)}),o.eachEdge(function(t){Ep(t,Pk)})}}),Es({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])})});zs(function(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),n=t.get("nodeGap"),o=Bp(t,e);t.layoutInfo=o;var a=o.width,r=o.height,s=t.getGraph(),l=s.nodes,u=s.edges;Gp(l),Vp(l,u,i,n,a,r,0!==g(l,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"))})}),Bs(function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;if(e.length){var i=1/0,n=-1/0;d(e,function(t){var e=t.getLayout().value;e<i&&(i=e),e>n&&(n=e)}),d(e,function(e){var o=new hL({type:"color",mappingMethod:"linear",dataExtent:[i,n],visual:t.get("color")}).mapValueToVisual(e.getLayout().value);e.setVisual("color",o);var a=e.getModel().get("itemStyle.color");null!=a&&e.setVisual("color",a)})}})});var Ok={_baseAxisDim:null,getInitialData:function(t,e){var i,n,o=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),r=o.get("type"),s=a.get("type");"category"===r?(t.layout="horizontal",i=o.getOrdinalMeta(),n=!0):"category"===s?(t.layout="vertical",i=a.getOrdinalMeta(),n=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],f=[o,a],p=f[u].get("type"),g=f[1-u].get("type"),m=t.data;if(m&&n){var v=[];d(m,function(t,e){var i;t.value&&y(t.value)?(i=t.value.slice(),t.value.unshift(e)):y(t)?(i=t.slice(),t.unshift(e)):i=t,v.push(i)}),t.data=v}var x=this.defaultValueDimensions;return oC(this,{coordDimensions:[{name:h,type:qs(p),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:qs(g),dimsDef:x.slice()}],dimensionsCount:x.length+1})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};h(YI.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}}),Ok,!0);var Ek=["itemStyle"],Rk=["emphasis","itemStyle"],zk=(Ar.extend({type:"boxplot",render:function(t,e,i){var n=t.getData(),o=this.group,a=this._data;this._data||o.removeAll();var r="horizontal"===t.get("layout")?1:0;n.diff(a).add(function(t){if(n.hasValue(t)){var e=ig(n.getItemLayout(t),n,t,r,!0);n.setItemGraphicEl(t,e),o.add(e)}}).update(function(t,e){var i=a.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?ng(s,i,n,t):i=ig(s,n,t,r),o.add(i),n.setItemGraphicEl(t,i)}else o.remove(i)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&o.remove(e)}).execute(),this._data=n},remove:function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(t){t&&e.remove(t)})},dispose:B}),Pn.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n<i.length;n++)t.moveTo(i[n][0],i[n][1]),n++,t.lineTo(i[n][0],i[n][1])}})),Bk=["itemStyle","borderColor"],Vk=d;Bs(function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var n=i[e.seriesIndex%i.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(Bk)||n}),t.isSeriesFiltered(e)||o.each(function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(Bk,!0)})})})}),zs(function(t){var e=ag(t);Vk(e,function(t){var e=t.seriesModels;e.length&&(rg(t),Vk(e,function(e,i){sg(e,t.boxOffsetList[i],t.boxWidthList[i])}))})}),h(YI.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)}}),Ok,!0);var Gk=["itemStyle"],Fk=["emphasis","itemStyle"],Wk=["color","color0","borderColor","borderColor0"],Hk=(Ar.extend({type:"candlestick",render:function(t,e,i){this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,o=e.getLayout("isSimpleBox");this._data||n.removeAll(),e.diff(i).add(function(i){if(e.hasValue(i)){var a,r=e.getItemLayout(i);To(a=lg(r,0,!0),{shape:{points:r.ends}},t,i),ug(a,e,i,o),n.add(a),e.setItemGraphicEl(i,a)}}).update(function(a,r){var s=i.getItemGraphicEl(r);if(e.hasValue(a)){var l=e.getItemLayout(a);s?Io(s,{shape:{points:l.ends}},t,a):s=lg(l),ug(s,e,a,o),n.add(s),e.setItemGraphicEl(a,s)}else n.remove(s)}).remove(function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)}).execute(),this._data=e},_renderLarge:function(t){this._clear(),cg(t,this.group)},_incrementalRenderNormal:function(t,e){for(var i,n=e.getData(),o=n.getLayout("isSimpleBox");null!=(i=t.next());){var a;ug(a=lg(n.getItemLayout(i)),n,i,o),a.incremental=!0,this.group.add(a)}},_incrementalRenderLarge:function(t,e){cg(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:B}),Pn.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}})),Zk=Pn.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var i=e.points,n=0;n<i.length;)if(this.__sign===i[n++]){var o=i[n++];t.moveTo(o,i[n++]),t.lineTo(o,i[n++])}else n+=3}}),Uk=["itemStyle","borderColor"],Xk=["itemStyle","borderColor0"],jk=["itemStyle","color"],Yk=["itemStyle","color0"],qk={seriesType:"candlestick",plan:$I(),performRawSeries:!0,reset:function(t,e){function i(t,e){return e.get(t>0?jk:Yk)}function n(t,e){return e.get(t>0?Uk:Xk)}var o=t.getData(),a=t.pipelineContext.large;if(o.setVisual({legendSymbol:"roundRect",colorP:i(1,t),colorN:i(-1,t),borderColorP:n(1,t),borderColorN:n(-1,t)}),!e.isSeriesFiltered(t))return!a&&{progress:function(t,e){for(var o;null!=(o=t.next());){var a=e.getItemModel(o),r=e.getItemLayout(o).sign;e.setItemVisual(o,{color:i(r,a),borderColor:n(r,a)})}}}}},Kk="undefined"!=typeof Float32Array?Float32Array:Array,$k={seriesType:"candlestick",plan:$I(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=pg(t,i),o=0,a=1,r=["x","y"],s=i.mapDimension(r[o]),l=i.mapDimension(r[a],!0),u=l[0],h=l[1],c=l[2],d=l[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==s||l.length<4))return{progress:t.pipelineContext.large?function(t,i){for(var n,r,l=new Kk(5*t.count),f=0,p=[],g=[];null!=(r=t.next());){var m=i.get(s,r),v=i.get(u,r),y=i.get(h,r),x=i.get(c,r),_=i.get(d,r);isNaN(m)||isNaN(x)||isNaN(_)?(l[f++]=NaN,f+=4):(l[f++]=fg(i,r,v,y,h),p[o]=m,p[a]=x,n=e.dataToPoint(p,null,g),l[f++]=n?n[0]:NaN,l[f++]=n?n[1]:NaN,p[a]=_,n=e.dataToPoint(p,null,g),l[f++]=n?n[1]:NaN)}i.setLayout("largePoints",l)}:function(t,i){function r(t,i){var n=[];return n[o]=i,n[a]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function l(t,e,i){var a=e.slice(),r=e.slice();a[o]=Jn(a[o]+n/2,1,!1),r[o]=Jn(r[o]-n/2,1,!0),i?t.push(a,r):t.push(r,a)}function f(t){return t[o]=Jn(t[o],1),t}for(var p;null!=(p=t.next());){var g=i.get(s,p),m=i.get(u,p),v=i.get(h,p),y=i.get(c,p),x=i.get(d,p),_=Math.min(m,v),w=Math.max(m,v),b=r(_,g),S=r(w,g),M=r(y,g),I=r(x,g),T=[];l(T,S,0),l(T,b,1),T.push(f(I),f(S),f(M),f(b)),i.setItemLayout(p,{sign:fg(i,p,m,v,h),initBaseline:m>v?S[a]:b[a],ends:T,brushRect:function(t,e,i){var s=r(t,i),l=r(e,i);return s[o]-=n/2,l[o]-=n/2,{x:s[0],y:s[1],width:a?n:l[0]-s[0],height:a?l[1]-s[1]:n}}(y,x,g)})}}}}};Ns(function(t){t&&y(t.series)&&d(t.series,function(t){w(t)&&"k"===t.type&&(t.type="candlestick")})}),Bs(qk),zs($k),YI.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return ml(this.getSource(),this)},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}});var Jk=vg.prototype;Jk.stopEffectAnimation=function(){this.childAt(1).removeAll()},Jk.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=this.childAt(1),o=0;o<3;o++){var a=Jl(e,-1,-1,2,2,i);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var r=-o/3*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(r).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(r).start(),n.add(a)}mg(n,t)},Jk.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],o=0;o<n.length;o++){var a=n[o];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}mg(i,t)},Jk.highlight=function(){this.trigger("emphasis")},Jk.downplay=function(){this.trigger("normal")},Jk.updateData=function(t,e){var i=t.hostModel;this.childAt(0).updateData(t,e);var n=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),r=gg(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"color");n.attr("scale",r),n.traverse(function(t){t.attr({fill:s})});var l=o.getShallow("symbolOffset");if(l){var u=n.position;u[0]=Vo(l[0],r[0]),u[1]=Vo(l[1],r[1])}n.rotation=(o.getShallow("symbolRotate")||0)*Math.PI/180||0;var h={};if(h.showEffectOn=i.get("showEffectOn"),h.rippleScale=o.get("rippleEffect.scale"),h.brushType=o.get("rippleEffect.brushType"),h.period=1e3*o.get("rippleEffect.period"),h.effectOffset=e/t.count(),h.z=o.getShallow("z")||0,h.zlevel=o.getShallow("zlevel")||0,h.symbolType=a,h.color=s,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===h.showEffectOn)this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h;else{this._effectCfg=null,this.stopEffectAnimation();var c=this.childAt(0),d=function(){c.highlight(),"render"!==h.showEffectOn&&this.startEffectAnimation(h)},f=function(){c.downplay(),"render"!==h.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",d,this).on("mouseout",f,this).on("emphasis",d,this).on("normal",f,this)}this._effectCfg=h},Jk.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},u(vg,tb),Zs({type:"effectScatter",init:function(){this._symbolDraw=new Du(vg)},render:function(t,e,i){var n=t.getData(),o=this._symbolDraw;o.updateData(n),this.group.add(o.group)},updateTransform:function(t,e,i){var n=t.getData();this.group.dirty();var o=AD().reset(t);o.progress&&o.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=At(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}}),Bs(TD("effectScatter","circle")),zs(AD("effectScatter"));var Qk="undefined"==typeof Uint32Array?Array:Uint32Array,tP="undefined"==typeof Float64Array?Array:Float64Array,eP=YI.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],yg(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),eP.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],yg(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}eP.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=z(this._flatCoords,e.flatCoords),this._flatCoordsOffset=z(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],o=0;o<n;o++)e[o]=e[o]||[],e[o][0]=this._flatCoords[i+2*o],e[o][1]=this._flatCoords[i+2*o+1];return n}for(var a=this._getCoordsFromItemModel(t),o=0;o<a.length;o++)e[o]=e[o]||[],e[o][0]=a[o][0],e[o][1]=a[o][1];return a.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var i=t.length,n=new Qk(i),o=new tP(i),a=0,r=0,s=0,l=0;l<i;){s++;var u=t[l++];n[r++]=a+e,n[r++]=u;for(var h=0;h<u;h++){var c=t[l++],d=t[l++];o[a++]=c,o[a++]=d}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,r),flatCoords:o,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var i=new vA(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(t,e,n,o){if(t instanceof Array)return NaN;i.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[o]:a:void 0}),i},formatTooltip:function(t){var e=this.getData().getItemModel(t),i=e.get("name");if(i)return i;var n=e.get("fromName"),o=e.get("toName"),a=[];return null!=n&&a.push(n),null!=o&&a.push(o),ia(a.join(" > "))},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,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),iP=xg.prototype;iP.createLine=function(t,e,i){return new rf(t,e,i)},iP._updateEffectSymbol=function(t,e){var i=t.getItemModel(e).getModel("effect"),n=i.get("symbolSize"),o=i.get("symbol");y(n)||(n=[n,n]);var a=i.get("color")||t.getItemVisual(e,"color"),r=this.childAt(1);this._symbolType!==o&&(this.remove(r),(r=Jl(o,-.5,-.5,1,1,a)).z2=100,r.culling=!0,this.add(r)),r&&(r.setStyle("shadowColor",a),r.setStyle(i.getItemStyle(["color"])),r.attr("scale",n),r.setColor(a),r.attr("scale",n),this._symbolType=o,this._updateEffectAnimation(t,i,e))},iP._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var o=this,a=t.getItemLayout(i),r=1e3*e.get("period"),s=e.get("loop"),l=e.get("constantSpeed"),u=T(e.get("delay"),function(e){return e/t.count()*r/3}),h="function"==typeof u;if(n.ignore=!0,this.updateAnimationPoints(n,a),l>0&&(r=this.getLineLength(n)/l*1e3),r!==this._period||s!==this._loop){n.stopAnimation();var c=u;h&&(c=u(i)),n.__t>0&&(c=-r*n.__t),n.__t=0;var d=n.animate("",s).when(r,{__t:1}).delay(c).during(function(){o.updateSymbolPosition(n)});s||d.done(function(){o.remove(n)}),d.start()}this._period=r,this._loop=s}},iP.getLineLength=function(t){return uw(t.__p1,t.__cp1)+uw(t.__cp1,t.__p2)},iP.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]},iP.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},iP.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,o=t.__t,a=t.position,r=sn,s=ln;a[0]=r(e[0],n[0],i[0],o),a[1]=r(e[1],n[1],i[1],o);var l=s(e[0],n[0],i[0],o),u=s(e[1],n[1],i[1],o);t.rotation=-Math.atan2(u,l)-Math.PI/2,t.ignore=!1},iP.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},u(xg,tb);var nP=_g.prototype;nP._createPolyline=function(t,e,i){var n=t.getItemLayout(e),o=new gM({shape:{points:n}});this.add(o),this._updateCommonStl(t,e,i)},nP.updateData=function(t,e,i){var n=t.hostModel;Io(this.childAt(0),{shape:{points:t.getItemLayout(e)}},n,e),this._updateCommonStl(t,e,i)},nP._updateCommonStl=function(t,e,i){var n=this.childAt(0),o=t.getItemModel(e),a=t.getItemVisual(e,"color"),s=i&&i.lineStyle,l=i&&i.hoverLineStyle;i&&!t.hasItemOption||(s=o.getModel("lineStyle").getLineStyle(),l=o.getModel("emphasis.lineStyle").getLineStyle()),n.useStyle(r({strokeNoScale:!0,fill:"none",stroke:a},s)),n.hoverStyle=l,fo(this)},nP.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},u(_g,tb);var oP=wg.prototype;oP.createLine=function(t,e,i){return new _g(t,e,i)},oP.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,o=1;o<e.length;o++){var a=e[o-1],r=e[o];n+=uw(a,r),i.push(n)}if(0!==n){for(o=0;o<i.length;o++)i[o]/=n;this._offsets=i,this._length=n}},oP.getLineLength=function(t){return this._length},oP.updateSymbolPosition=function(t){var e=t.__t,i=this._points,n=this._offsets,o=i.length;if(n){var a=this._lastFrame;if(e<this._lastFramePercent){for(r=Math.min(a+1,o-1);r>=0&&!(n[r]<=e);r--);r=Math.min(r,o-2)}else{for(var r=a;r<o&&!(n[r]>e);r++);r=Math.min(r-1,o-2)}J(t.position,i[r],i[r+1],(e-n[r])/(n[r+1]-n[r]));var s=i[r+1][0]-i[r][0],l=i[r+1][1]-i[r][1];t.rotation=-Math.atan2(l,s)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=e,t.ignore=!1}},u(wg,xg);var aP=Un({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var i=e.segs,n=e.curveness;if(e.polyline)for(r=0;r<i.length;){var o=i[r++];if(o>0){t.moveTo(i[r++],i[r++]);for(var a=1;a<o;a++)t.lineTo(i[r++],i[r++])}}else for(var r=0;r<i.length;){var s=i[r++],l=i[r++],u=i[r++],h=i[r++];if(t.moveTo(s,l),n>0){var c=(s+u)/2-(l-h)*n,d=(l+h)/2-(u-s)*n;t.quadraticCurveTo(c,d,u,h)}else t.lineTo(u,h)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,o=i.curveness;if(i.polyline)for(var a=0,r=0;r<n.length;){var s=n[r++];if(s>0)for(var l=n[r++],u=n[r++],h=1;h<s;h++)if(yn(l,u,c=n[r++],d=n[r++]))return a;a++}else for(var a=0,r=0;r<n.length;){var l=n[r++],u=n[r++],c=n[r++],d=n[r++];if(o>0){if(_n(l,u,(l+c)/2-(u-d)*o,(u+d)/2-(c-l)*o,c,d))return a}else if(yn(l,u,c,d))return a;a++}return-1}}),rP=bg.prototype;rP.isPersistent=function(){return!this._incremental},rP.updateData=function(t){this.group.removeAll();var e=new aP({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},rP.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new Zn({silent:!0})),this.group.add(this._incremental)):this._incremental=null},rP.incrementalUpdate=function(t,e){var i=new aP;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},rP.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},rP._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var o=e.getVisual("color");o&&t.setStyle("stroke",o),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)}))},rP._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var sP={seriesType:"lines",plan:$I(),reset:function(t){var e=t.coordinateSystem,i=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(o,a){var r=[];if(n){var s,l=o.end-o.start;if(i){for(var u=0,h=o.start;h<o.end;h++)u+=t.getLineCoordsCount(h);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);for(var c=0,d=[],h=o.start;h<o.end;h++){g=t.getLineCoords(h,r),i&&(s[c++]=g);for(var f=0;f<g;f++)d=e.dataToPoint(r[f],!1,d),s[c++]=d[0],s[c++]=d[1]}a.setLayout("linesPoints",s)}else for(h=o.start;h<o.end;h++){var p=a.getItemModel(h),g=t.getLineCoords(h,r),m=[];if(i)for(var v=0;v<g;v++)m.push(e.dataToPoint(r[v]));else{m[0]=e.dataToPoint(r[0]),m[1]=e.dataToPoint(r[1]);var y=p.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}a.setItemLayout(h,m)}}}}};Zs({type:"lines",init:function(){},render:function(t,e,i){var n=t.getData(),o=this._updateLineDraw(n,t),a=t.get("zlevel"),r=t.get("effect.trailLength"),s=i.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&r&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),o.updateData(n),this._lastZlevel=a,this._finished=!0},incrementalPrepareRender:function(t,e,i){var n=t.getData();this._updateLineDraw(n,t).incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},incrementalRender:function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,i){var n=t.getData(),o=t.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var a=sP.reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},_updateLineDraw:function(t,e){var i=this._lineDraw,n=this._showEffect(e),o=!!e.get("polyline"),a=e.pipelineContext.large;return i&&n===this._hasEffet&&o===this._isPolyline&&a===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=a?new bg:new sf(o?n?wg:_g:n?xg:rf),this._hasEffet=n,this._isPolyline=o,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},_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(){}});var lP="lineStyle.opacity".split("."),uP={seriesType:"lines",reset:function(t,e,i){var n=Sg(t.get("symbol")),o=Sg(t.get("symbolSize")),a=t.getData();return a.setVisual("fromSymbol",n&&n[0]),a.setVisual("toSymbol",n&&n[1]),a.setVisual("fromSymbolSize",o&&o[0]),a.setVisual("toSymbolSize",o&&o[1]),a.setVisual("opacity",t.get(lP)),{dataEach:a.hasItemOption?function(t,e){var i=t.getItemModel(e),n=Sg(i.getShallow("symbol",!0)),o=Sg(i.getShallow("symbolSize",!0)),a=i.get(lP);n[0]&&t.setItemVisual(e,"fromSymbol",n[0]),n[1]&&t.setItemVisual(e,"toSymbol",n[1]),o[0]&&t.setItemVisual(e,"fromSymbolSize",o[0]),o[1]&&t.setItemVisual(e,"toSymbolSize",o[1]),t.setItemVisual(e,"opacity",a)}:null}}};zs(sP),Bs(uP),YI.extend({type:"series.heatmap",getInitialData:function(t,e){return ml(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=Fa.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}});Mg.prototype={update:function(t,e,i,n,o,a){var r=this._getBrush(),s=this._getGradient(t,o,"inRange"),l=this._getGradient(t,o,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=t.length;h.width=e,h.height=i;for(var f=0;f<d;++f){var p=t[f],g=p[0],m=p[1],v=n(p[2]);c.globalAlpha=v,c.drawImage(r,g-u,m-u)}if(!h.width||!h.height)return h;for(var y=c.getImageData(0,0,h.width,h.height),x=y.data,_=0,w=x.length,b=this.minOpacity,S=this.maxOpacity-b;_<w;){var v=x[_+3]/256,M=4*Math.floor(255*v);if(v>0){var I=a(v)?s:l;v>0&&(v=v*S+b),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=iw()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var n=t.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-e,e,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,o=n[i]||(n[i]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)e[i](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}},Zs({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var o=t.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):Ag(o)&&this._renderOnGeo(o,t,n,i)},incrementalPrepareRender:function(t,e,i){this.group.removeAll()},incrementalRender:function(t,e,i,n){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,i,n,o){var r,s,l=t.coordinateSystem;if("cartesian2d"===l.type){var u=l.getAxis("x"),h=l.getAxis("y");r=u.getBandWidth(),s=h.getBandWidth()}for(var c=this.group,d=t.getData(),f=t.getModel("itemStyle").getItemStyle(["color"]),p=t.getModel("emphasis.itemStyle").getItemStyle(),g=t.getModel("label"),m=t.getModel("emphasis.label"),v=l.type,y="cartesian2d"===v?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],x=i;x<n;x++){var _;if("cartesian2d"===v){if(isNaN(d.get(y[2],x)))continue;var w=l.dataToPoint([d.get(y[0],x),d.get(y[1],x)]);_=new yM({shape:{x:w[0]-r/2,y:w[1]-s/2,width:r,height:s},style:{fill:d.getItemVisual(x,"color"),opacity:d.getItemVisual(x,"opacity")}})}else{if(isNaN(d.get(y[1],x)))continue;_=new yM({z2:1,shape:l.dataToRect([d.get(y[0],x)]).contentShape,style:{fill:d.getItemVisual(x,"color"),opacity:d.getItemVisual(x,"opacity")}})}var b=d.getItemModel(x);d.hasItemOption&&(f=b.getModel("itemStyle").getItemStyle(["color"]),p=b.getModel("emphasis.itemStyle").getItemStyle(),g=b.getModel("label"),m=b.getModel("emphasis.label"));var S=t.getRawValue(x),M="-";S&&null!=S[2]&&(M=S[2]),go(f,p,g,m,{labelFetcher:t,labelDataIndex:x,defaultText:M,isRectText:!0}),_.setStyle(f),fo(_,d.hasItemOption?p:a({},p)),_.incremental=o,o&&(_.useHoverLayer=!0),c.add(_),d.setItemGraphicEl(x,_)}},_renderOnGeo:function(t,e,i,n){var o=i.targetVisuals.inRange,a=i.targetVisuals.outOfRange,r=e.getData(),s=this._hmLayer||this._hmLayer||new Mg;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,n.getWidth()),f=Math.min(l.height+l.y,n.getHeight()),p=d-h,g=f-c,m=[r.mapDimension("lng"),r.mapDimension("lat"),r.mapDimension("value")],v=r.mapArray(m,function(e,i,n){var o=t.dataToPoint([e,i]);return o[0]-=h,o[1]-=c,o.push(n),o}),y=i.getExtent(),x="visualMap.continuous"===i.type?Tg(y,i.option.range):Ig(y,i.getPieceList(),i.option.selected);s.update(v,p,g,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:a.color.getColorMapper()},x);var _=new fi({style:{width:p,height:g,x:h,y:c,image:s.canvas},silent:!0});this.group.add(_)},dispose:function(){}});var hP=$D.extend({type:"series.pictorialBar",dependencies:["grid"],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%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,hP.superApply(this,"getInitialData",arguments)}}),cP=["itemStyle","borderWidth"],dP=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],fP=new sM;Zs({type:"pictorialBar",render:function(t,e,i){var n=this.group,o=t.getData(),a=this._data,r=t.coordinateSystem,s=!!r.getBaseAxis().isHorizontal(),l=r.grid.getRect(),u={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:r,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:dP[+s],categoryDim:dP[1-s]};return o.diff(a).add(function(t){if(o.hasValue(t)){var e=Vg(o,t),i=Dg(o,t,e,u),a=Hg(o,u,i);o.setItemGraphicEl(t,a),n.add(a),qg(a,u,i)}}).update(function(t,e){var i=a.getItemGraphicEl(e);if(o.hasValue(t)){var r=Vg(o,t),s=Dg(o,t,r,u),l=Xg(o,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),o.setItemGraphicEl(t,null),i=null),i?Zg(i,u,s):i=Hg(o,u,s,!0),o.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=s,n.add(i),qg(i,u,s)}else n.remove(i)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&Ug(a,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=o,this.group},dispose:B,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){Ug(n,e.dataIndex,t,e)}):i.removeAll()}});zs(v(El,"pictorialBar")),Bs(TD("pictorialBar","roundRect"));var pP=function(t,e,i,n,o){aD.call(this,t,e,i),this.type=n||"value",this.position=o||"bottom",this.orient=null};pP.prototype={constructor:pP,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},u(pP,aD),$g.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:$g,_init:function(t,e,i){var n=this.dimension,o=new pP(n,Hl(t),[0,0],t.get("type"),t.get("position")),a="category"===o.type;o.onBand=a&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();d(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),Wl(this._axis.scale,this._axis.model)}},this)},resize:function(t,e){this._rect=ca({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,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],o=e.reverse?1:0;e.setExtent(n[o],n[1-o]),this._updateAxisTransform(e,i?t.x:t.y)},_updateAxisTransform:function(t,e){var i=t.getExtent(),n=i[0]+i[1],o=t.isHorizontal();t.toGlobalCoord=o?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=o?function(t){return t-e}:function(t){return n-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(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.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(),i=this.getRect(),n=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[o]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-o]=0===o?i.y+i.height/2:i.x+i.width/2,n}},Fa.register("single",{create:function(t,e){var i=[];return t.eachComponent("singleAxis",function(n,o){var a=new $g(n,t,e);a.name="single_"+o,a.resize(n,e),n.coordinateSystem=a,i.push(a)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=i&&i.coordinateSystem}}),i},dimensions:$g.prototype.dimensions});var gP=["axisLine","axisTickLabel","axisName"],mP=XD.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,n){var o=this.group;o.removeAll();var a=Jg(t),r=new FD(t,a);d(gP,r.add,r),o.add(r.getGroup()),t.get("splitLine.show")&&this._splitLine(t),mP.superCall(this,"render",t,e,i,n)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),n=i.getModel("lineStyle"),o=n.get("width"),a=n.get("color");a=a instanceof Array?a:[a];for(var r=t.coordinateSystem.getRect(),s=e.isHorizontal(),l=[],u=0,h=e.getTicksCoords({tickModel:i}),c=[],d=[],f=0;f<h.length;++f){var p=e.toGlobalCoord(h[f].coord);s?(c[0]=p,c[1]=r.y,d[0]=p,d[1]=r.y+r.height):(c[0]=r.x,c[1]=p,d[0]=r.x+r.width,d[1]=p);var g=u++%a.length;l[g]=l[g]||[],l[g].push(new _M(Kn({shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:{lineWidth:o},silent:!0})))}for(f=0;f<l.length;++f)this.group.add(OM(l[f],{style:{stroke:a[f%a.length],lineDash:n.getLineDash(o),lineWidth:o},silent:!0}))}}}),vP=lI.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),yP={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};n(vP.prototype,UA),ED("single",vP,function(t,e){return e.type||(e.data?"category":"value")},yP);var xP=function(t,e){var i,n=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var a=i.getData(),r=zi(a,t);if(null==r||r<0||y(r))return{point:[]};var s=a.getItemGraphicEl(r),l=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(r)||[];else if(l&&l.dataToPoint)n=l.dataToPoint(a.getValues(f(l.dimensions,function(t){return a.mapDimension(t)}),r,!0))||[];else if(s){var u=s.getBoundingRect().clone();u.applyTransform(s.transform),n=[u.x+u.width/2,u.y+u.height/2]}return{point:n,el:s}},_P=d,wP=v,bP=Bi(),SP=(Fs({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}}}),Bi()),MP=d,IP=Ws({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),o=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";um("axisPointer",i,function(t,e,i){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){gm(e.getZr(),"axisPointer"),IP.superApply(this._model,"remove",arguments)},dispose:function(t,e){gm("axisPointer",e),IP.superApply(this._model,"dispose",arguments)}}),TP=Bi(),AP=i,DP=m;(mm.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,n){var o=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,n||this._lastValue!==o||this._lastStatus!==a){this._lastValue=o,this._lastStatus=a;var r=this._group,s=this._handle;if(!a||"hide"===a)return r&&r.hide(),void(s&&s.hide());r&&r.show(),s&&s.show();var l={};this.makeElOption(l,o,t,e,i);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(r){var c=v(vm,e,h);this.updatePointerEl(r,l,c,e),this.updateLabelEl(r,l,c,e)}else r=this._group=new tb,this.createPointerEl(r,l,t,e),this.createLabelEl(r,l,t,e),i.getZr().add(r);wm(r,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,o="category"===n.type,a=e.get("snap");if(!a&&!o)return!1;if("auto"===i||null==i){var r=this.animationThreshold;if(o&&n.getBandWidth()>r)return!0;if(a){var s=Mh(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>r}return!1}return!0===i},makeElOption:function(t,e,i,n,o){},createPointerEl:function(t,e,i,n){var o=e.pointer;if(o){var a=TP(t).pointerEl=new zM[o.type](AP(e.pointer));t.add(a)}},createLabelEl:function(t,e,i,n){if(e.label){var o=TP(t).labelEl=new yM(AP(e.label));t.add(o),xm(o,n)}},updatePointerEl:function(t,e,i){var n=TP(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var o=TP(t).labelEl;o&&(o.setStyle(e.label.style),i(o,{shape:e.label.shape,position:e.label.position}),xm(o,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e=this._axisPointerModel,i=this._api.getZr(),n=this._handle,o=e.getModel("handle"),a=e.get("status");if(!o.get("show")||!a||"hide"===a)return n&&i.remove(n),void(this._handle=null);var r;this._handle||(r=!0,n=this._handle=Po(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){mw(t.event)},onmousedown:DP(this._onHandleDragMove,this,0,0),drift:DP(this._onHandleDragMove,this),ondragend:DP(this._onHandleDragEnd,this)}),i.add(n)),wm(n,e,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];n.setStyle(o.getItemStyle(null,s));var l=o.get("size");y(l)||(l=[l,l]),n.attr("scale",[l[0]/2,l[1]/2]),Nr(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,r)}},_moveHandleToValue:function(t,e){vm(this._axisPointerModel,!e&&this._moveAnimation,this._handle,_m(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(_m(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(_m(n)),TP(i).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(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}}).constructor=mm,ji(mm);var CP=mm.extend({makeElOption:function(t,e,i,n,o){var a=i.axis,r=a.grid,s=n.get("type"),l=km(r,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var h=bm(n),c=LP[s](a,u,l,h);c.style=h,t.graphicKey=c.type,t.pointer=c}Am(e,t,Lh(r.model,i),i,n,o)},getHandleTransform:function(t,e,i){var n=Lh(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:Tm(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var o=i.axis,a=o.grid,r=o.getGlobalExtent(!0),s=km(a,o).getOtherAxis(o).getGlobalExtent(),l="x"===o.dim?0:1,u=t.position;u[l]+=e[l],u[l]=Math.min(r[1],u[l]),u[l]=Math.max(r[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:t.rotation,cursorPoint:c,tooltipOption:d[l]}}}),LP={line:function(t,e,i,n){var o=Dm([e,i[0]],[e,i[1]],Pm(t));return Kn({shape:o,style:n}),{type:"Line",shape:o}},shadow:function(t,e,i,n){var o=Math.max(1,t.getBandWidth()),a=i[1]-i[0];return{type:"Rect",shape:Cm([e-o/2,i[0]],[o,a],Pm(t))}}};XD.registerAxisPointerClass("CartesianAxisPointer",CP),Ns(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!y(e)&&(t.axisPointer.link=[e])}}),Os(VT.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=vh(t,e)}),Es({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},function(t,e,i){var n=t.currTrigger,o=[t.x,t.y],a=t,r=t.dispatchAction||m(i.dispatchAction,i),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){lm(o)&&(o=xP({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=lm(o),u=a.axesInfo,h=s.axesInfo,c="leave"===n||lm(o),d={},f={},p={list:[],map:{}},g={showPointer:wP(em,f),showTooltip:wP(im,p)};_P(s.coordSysMap,function(t,e){var i=l||t.containPoint(o);_P(s.coordSysAxesInfo[e],function(t,e){var n=t.axis,a=rm(u,t);if(!c&&i&&(!u||a)){var r=a&&a.value;null!=r||l||(r=n.pointToData(o)),null!=r&&Qg(t,r,g,!1,d)}})});var v={};return _P(h,function(t,e){var i=t.linkGroup;i&&!f[e]&&_P(i.axesInfo,function(e,n){var o=f[n];if(e!==t&&o){var a=o.value;i.mapper&&(a=t.axis.scale.parse(i.mapper(a,sm(e),sm(t)))),v[t.key]=a}})}),_P(v,function(t,e){Qg(h[e],t,g,!0,d)}),nm(f,h,d),om(p,o,t,r),am(h,0,i),d}});var kP=["x","y"],PP=["width","height"],NP=mm.extend({makeElOption:function(t,e,i,n,o){var a=i.axis,r=a.coordinateSystem,s=Om(r,1-Nm(a)),l=r.dataToPoint(e)[0],u=n.get("type");if(u&&"none"!==u){var h=bm(n),c=OP[u](a,l,s,h);c.style=h,t.graphicKey=c.type,t.pointer=c}Am(e,t,Jg(i),i,n,o)},getHandleTransform:function(t,e,i){var n=Jg(e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:Tm(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var o=i.axis,a=o.coordinateSystem,r=Nm(o),s=Om(a,r),l=t.position;l[r]+=e[r],l[r]=Math.min(s[1],l[r]),l[r]=Math.max(s[0],l[r]);var u=Om(a,1-r),h=(u[1]+u[0])/2,c=[h,h];return c[r]=l[r],{position:l,rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}}}),OP={line:function(t,e,i,n){var o=Dm([e,i[0]],[e,i[1]],Nm(t));return Kn({shape:o,style:n}),{type:"Line",shape:o}},shadow:function(t,e,i,n){var o=t.getBandWidth(),a=i[1]-i[0];return{type:"Rect",shape:Cm([e-o/2,i[0]],[o,a],Nm(t))}}};XD.registerAxisPointerClass("SingleAxisPointer",NP),Ws({type:"single"});var EP=YI.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){EP.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){var e=t.length,i=[];Zi(t,function(t){return t[2]}).buckets.each(function(t,e){i.push({name:e,dataList:t})});for(var n=i.length,o=-1,a=-1,r=0;r<n;++r){var s=i[r].dataList.length;s>o&&(o=s,a=r)}for(var l=0;l<n;++l)if(l!==a)for(var u=i[l].name,h=0;h<o;++h){for(var c=i[a].dataList[h][0],d=i[l].dataList.length,f=-1,p=0;p<d;++p)if(i[l].dataList[p][0]===c){f=p;break}-1===f&&(t[e]=[],t[e][0]=c,t[e][1]=0,t[e][2]=u,e++)}return t},getInitialData:function(t,e){for(var i=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),n=g(t.data,function(t){return void 0!==t[2]}),o=this.fixData(n||[]),a=[],r=this.nameMap=R(),s=0,l=0;l<o.length;++l)a.push(o[l][2]),r.get(o[l][2])||(r.set(o[l][2],s),s++);var u=_A(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:qs(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),h=new vA(u,this);return h.initData(o),h},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),i=[],n=0;n<e;++n)i[n]=n;var o=t.mapDimension("single"),a=[];return Zi(i,function(e){return t.get("name",e)}).buckets.each(function(e,i){e.sort(function(e,i){return t.get(o,e)-t.get(o,i)}),a.push({name:i,indices:e})}),a},getAxisTooltipData:function(t,e,i){y(t)||(t=t?[t]:[]);for(var n,o=this.getData(),a=this.getLayerSeries(),r=[],s=a.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,h=-1,c=a[l].indices.length,d=0;d<c;++d){var f=o.get(t[0],a[l].indices[d]),p=Math.abs(f-e);p<=u&&(n=f,u=p,h=a[l].indices[d])}r.push(h)}return{dataIndices:r,nestestValue:n}},formatTooltip:function(t){var e=this.getData(),i=e.getName(t),n=e.get(e.mapDimension("value"),t);return(isNaN(n)||null==n)&&(n="-"),ia(i+" : "+n)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}});Zs({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,i){function n(t){return t.name}function o(e,i,n){var o=this._layers;if("remove"!==e){for(var u,h=[],c=[],f=l[i].indices,p=0;p<f.length;p++){var g=r.getItemLayout(f[p]),m=g.x,v=g.y0,y=g.y;h.push([m,v]),c.push([m,v+y]),u=r.getItemVisual(f[p],"color")}var x,_,w=r.getItemLayout(f[0]),b=r.getItemModel(f[p-1]),S=b.getModel("label"),M=S.get("margin");if("add"===e){I=d[i]=new tb;x=new ID({shape:{points:h,stackedOnPoints:c,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),_=new rM({style:{x:w.x-M,y:w.y0+w.y/2}}),I.add(x),I.add(_),s.add(I),x.setClipPath(Em(x.getBoundingRect(),t,function(){x.removeClipPath()}))}else{var I=o[n];x=I.childAt(0),_=I.childAt(1),s.add(I),d[i]=I,Io(x,{shape:{points:h,stackedOnPoints:c}},t),Io(_,{style:{x:w.x-M,y:w.y0+w.y/2}},t)}var T=b.getModel("emphasis.itemStyle"),A=b.getModel("itemStyle");mo(_.style,S,{text:S.get("show")?t.getFormattedLabel(f[p-1],"normal")||r.getName(f[p-1]):null,textVerticalAlign:"middle"}),x.setStyle(a({fill:u},A.getItemStyle(["color"]))),fo(x,T.getItemStyle())}else s.remove(o[i])}var r=t.getData(),s=this.group,l=t.getLayerSeries(),u=r.getLayout("layoutInfo"),h=u.rect,c=u.boundaryGap;s.attr("position",[0,h.y+c[0]]);var d={};new Xs(this._layersSeries||[],l,n,n).add(m(o,this,"add")).update(m(o,this,"update")).remove(m(o,this,"remove")).execute(),this._layersSeries=l,this._layers=d},dispose:function(){}});zs(function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.coordinateSystem,n={},o=i.getRect();n.rect=o;var a=t.get("boundaryGap"),r=i.getAxis();n.boundaryGap=a,"horizontal"===r.orient?(a[0]=Vo(a[0],o.height),a[1]=Vo(a[1],o.height),Rm(e,t,o.height-a[0]-a[1])):(a[0]=Vo(a[0],o.width),a[1]=Vo(a[1],o.width),Rm(e,t,o.width-a[0]-a[1])),e.setLayout("layoutInfo",n)})}),Bs(function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),i=t.getRawData(),n=t.get("color"),o=R();e.each(function(t){o.set(e.getRawIndex(t),t)}),i.each(function(a){var r=i.getName(a),s=n[(t.nameMap.get(r)-1)%n.length];i.setItemVisual(a,"color",s);var l=o.get(a);null!=l&&e.setItemVisual(l,"color",s)})})}),Os(fC("themeRiver")),YI.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var i={name:t.name,children:t.data};Bm(i);var n=t.levels||[],o={};return o.levels=n,Vc.createTree(i,this,o).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=YI.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=cd(i,this),e},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,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},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)}});var RP={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},zP=2,BP=4,VP=Vm.prototype;VP.updateData=function(t,e,i,o,s){this.node=e,e.piece=this,o=o||this._seriesModel,s=s||this._ecModel;var l=this.childAt(0);l.dataIndex=e.dataIndex;var u=e.getModel(),h=e.getLayout(),c=a({},h);c.label=null;var d=Gm(e,0,s);Hm(e,o,d);var f,p=u.getModel("itemStyle").getItemStyle();f=r({lineJoin:"bevel",fill:(f="normal"===i?p:n(u.getModel(i+".itemStyle").getItemStyle(),p)).fill||d},f),t?(l.setShape(c),l.shape.r=h.r0,Io(l,{shape:{r:h.r}},o,e.dataIndex),l.useStyle(f)):"object"==typeof f.fill&&f.fill.type||"object"==typeof l.style.fill&&l.style.fill.type?(Io(l,{shape:c},o),l.useStyle(f)):Io(l,{shape:c,style:f},o),this._updateLabel(o,d,i);var g=u.getShallow("cursor");if(g&&l.attr("cursor",g),t){var m=o.getShallow("highlightPolicy");this._initEvents(l,e,o,m)}this._seriesModel=o||this._seriesModel,this._ecModel=s||this._ecModel},VP.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode(function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):Wm(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==RP.NONE&&i.piece.childAt(0).trigger("downplay"))})},VP.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},VP.onHighlight=function(){this.updateData(!1,this.node,"highlight")},VP.onDownplay=function(){this.updateData(!1,this.node,"downplay")},VP._updateLabel=function(t,e,i){function n(t){var e=r.get(t);return null==e?a.get(t):e}var o=this.node.getModel(),a=o.getModel("label"),r="normal"===i||"emphasis"===i?a:o.getModel(i+".label"),s=o.getModel("emphasis.label"),l=T(t.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===n("show")&&(l="");var u=this.node.getLayout(),h=r.get("minAngle");null==h&&(h=a.get("minAngle")),h=h/180*Math.PI;var c=u.endAngle-u.startAngle;null!=h&&Math.abs(c)<h&&(l="");var d=this.childAt(1);go(d.style,d.hoverStyle||{},a,s,{defaultText:r.getShallow("show")?l:null,autoColor:e,useInsideStyle:!0});var f,p=(u.startAngle+u.endAngle)/2,g=Math.cos(p),m=Math.sin(p),v=n("position"),y=n("distance")||0,x=n("align");"outside"===v?(f=u.r+y,x=p>Math.PI/2?"right":"left"):x&&"center"!==x?"left"===x?(f=u.r0+y,p>Math.PI/2&&(x="right")):"right"===x&&(f=u.r-y,p>Math.PI/2&&(x="left")):(f=(u.r+u.r0)/2,x="center"),d.attr("style",{text:l,textAlign:x,textVerticalAlign:n("verticalAlign")||"middle",opacity:n("opacity")});var _=f*g+u.cx,w=f*m+u.cy;d.attr("position",[_,w]);var b=n("rotate"),S=0;"radial"===b?(S=-p)<-Math.PI/2&&(S+=Math.PI):"tangential"===b?(S=Math.PI/2-p)>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI):"number"==typeof b&&(S=b*Math.PI/180),d.attr("rotation",S)},VP._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var o=this,a=function(){o.onEmphasis(n)},r=function(){o.onNormal()};i.isAnimationEnabled()&&t.on("mouseover",a).on("mouseout",r).on("emphasis",a).on("normal",r).on("downplay",function(){o.onDownplay()}).on("highlight",function(){o.onHighlight()})},u(Vm,tb);Ar.extend({type:"sunburst",init:function(){},render:function(t,e,i,n){function o(i,n){if(c||!i||i.getValue()||(i=null),i!==l&&n!==l)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),s.setItemGraphicEl(i.dataIndex,n.piece)):a(n);else if(i){var o=new Vm(i,t,e);h.add(o),s.setItemGraphicEl(i.dataIndex,o)}}function a(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}var r=this;this.seriesModel=t,this.api=i,this.ecModel=e;var s=t.getData(),l=s.tree.root,u=t.getViewRoot(),h=this.group,c=t.get("renderLabelForZeroData"),d=[];u.eachNode(function(t){d.push(t)});var f=this._oldChildren||[];if(function(t,e){function i(t){return t.getId()}function n(i,n){o(null==i?null:t[i],null==n?null:e[n])}0===t.length&&0===e.length||new Xs(e,t,i,i).add(n).update(n).remove(v(n,null)).execute()}(d,f),function(i,n){if(n.depth>0){r.virtualPiece?r.virtualPiece.updateData(!1,i,"normal",t,e):(r.virtualPiece=new Vm(i,t,e),h.add(r.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var o=function(t){r._rootToNode(n.parentNode)};n.piece._onclickEvent=o,r.virtualPiece.on("click",o)}else r.virtualPiece&&(h.remove(r.virtualPiece),r.virtualPiece=null)}(l,u),n&&n.highlight&&n.highlight.piece){var p=t.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(p)}else if(n&&n.unhighlight){var g=this.virtualPiece;!g&&l.children.length&&(g=l.children[0].piece),g&&g.onNormal()}this._initEvents(),this._oldChildren=d},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1;t.seriesModel.getViewRoot().eachNode(function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var o=n.getModel().get("nodeClick");if("rootToNode"===o)t._rootToNode(n);else if("link"===o){var a=n.getModel(),r=a.get("link");if(r){var s=a.get("target",!0)||"_blank";window.open(r,s)}}i=!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:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(n*n+o*o);return a<=i.r&&a>=i.r0}}});var GP="sunburstRootToNode";Es({type:GP,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){var n=ld(t,[GP],e);if(n){var o=e.getViewRoot();o&&(t.direction=hd(o,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}})});var FP="sunburstHighlight";Es({type:FP,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){var n=ld(t,[FP],e);n&&(t.highlight=n.node)})});Es({type:"sunburstUnhighlight",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,i){t.unhighlight=!0})});var WP=Math.PI/180;Bs(v(uC,"sunburst")),zs(v(function(t,e,i,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),n=t.get("radius");y(n)||(n=[0,n]),y(e)||(e=[e,e]);var o=i.getWidth(),a=i.getHeight(),r=Math.min(o,a),s=Vo(e[0],o),l=Vo(e[1],a),u=Vo(n[0],r/2),h=Vo(n[1],r/2),c=-t.get("startAngle")*WP,f=t.get("minAngle")*WP,p=t.getData().tree.root,g=t.getViewRoot(),m=g.depth,v=t.get("sort");null!=v&&Zm(g,v);var x=0;d(g.children,function(t){!isNaN(t.getValue())&&x++});var _=g.getValue(),w=Math.PI/(_||x)*2,b=g.depth>0,S=g.height-(b?-1:1),M=(h-u)/(S||1),I=t.get("clockwise"),T=t.get("stillShowZeroSum"),A=I?1:-1,D=function(t,e){if(t){var i=e;if(t!==p){var n=t.getValue(),o=0===_&&T?w:n*w;o<f&&(o=f),i=e+A*o;var a=t.depth-m-(b?-1:1),h=u+M*a,c=u+M*(a+1),g=t.getModel();null!=g.get("r0")&&(h=Vo(g.get("r0"),r/2)),null!=g.get("r")&&(c=Vo(g.get("r"),r/2)),t.setLayout({angle:o,startAngle:e,endAngle:i,clockwise:I,cx:s,cy:l,r0:h,r:c})}if(t.children&&t.children.length){var v=0;d(t.children,function(t){v+=D(t,e+v)})}return i-e}};if(b){var C=u,L=u+M,k=2*Math.PI;p.setLayout({angle:k,startAngle:c,endAngle:c+k,clockwise:I,cx:s,cy:l,r0:C,r:L})}D(g,c)})},"sunburst")),Os(v(fC,"sunburst"));var HP=["itemStyle"],ZP=["emphasis","itemStyle"],UP=["label"],XP=["emphasis","label"],jP="e\0\0",YP={cartesian2d:function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:m(Xm,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:m(jm,t)}}},singleAxis:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:m(Ym,t)}}},polar:function(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),n=e.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:n[1],r0:n[0]},api:{coord:m(function(n){var o=e.dataToRadius(n[0]),a=i.dataToAngle(n[1]),r=t.coordToPoint([o,a]);return r.push(o,a*Math.PI/180),r}),size:m(qm,t)}}},calendar:function(t){var e=t.getRect(),i=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:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}};YI.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0},getInitialData:function(t,e){return ml(this.getSource(),this)},getDataParams:function(t,e,i){var n=YI.prototype.getDataParams.apply(this,arguments);return i&&(n.info=i.info),n}}),Ar.extend({type:"custom",_data:null,render:function(t,e,i,n){var o=this._data,a=t.getData(),r=this.group,s=Qm(t,a,e,i);a.diff(o).add(function(e){ev(null,e,s(e,n),t,r,a)}).update(function(e,i){ev(o.getItemGraphicEl(i),e,s(e,n),t,r,a)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=a},incrementalPrepareRender:function(t,e,i){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,i,n,o){for(var a=e.getData(),r=Qm(e,a,i,n),s=t.start;s<t.end;s++)ev(null,s,r(s,o),e,this.group,a).traverse(function(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)})},dispose:B,filterForExposedEvent:function(t,e,i,n){var o=e.element;if(null==o||i.name===o)return!0;for(;(i=i.parent)&&i!==this.group;)if(i.name===o)return!0;return!1}}),Ns(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 qP=Fs({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,qP.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var i=this.option,n=(e?i:t).elements,o=i.elements=e?[]:i.elements,a=[];this._flatten(n,a);var r=Pi(o,a);Ni(r);var s=this._elOptionsToUpdate=[];d(r,function(t,e){var i=t.option;i&&(s.push(i),gv(t,i),mv(o,e,i),vv(o[e],i))},this);for(var l=o.length-1;l>=0;l--)null==o[l]?o.splice(l,1):delete o[l].$action},_flatten:function(t,e,i){d(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});Ws({type:"graphic",init:function(t,e){this._elMap=R(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group;d(e,function(e){var o=e.$action,a=e.id,r=i.get(a),s=e.parentId,l=null!=s?i.get(s):n,u=e.style;"text"===e.type&&u&&(e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var h=fv(e);o&&"merge"!==o?"replace"===o?(dv(r,i),cv(a,l,h,i)):"remove"===o&&dv(r,i):r?r.attr(h):cv(a,l,h,i);var c=i.get(a);c&&(c.__ecGraphicWidth=e.width,c.__ecGraphicHeight=e.height,yv(c,t))})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,o=this._elMap,a=i.length-1;a>=0;a--){var r=i[a],s=o.get(r.id);if(s){var l=s.parent;da(s,r,l===n?{width:e.getWidth(),height:e.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0},null,{hv:r.hv,boundingMode:r.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){dv(e,t)}),this._elMap=R()},dispose:function(){this._clear()}});var KP=Fs({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{}},mergeOption:function(t){KP.superCall(this,"mergeOption",t)},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},_updateData:function(t){var e=[],i=[];t.eachRawSeries(function(n){var o=n.name;i.push(o);var a;if(n.legendDataProvider){var r=n.legendDataProvider(),s=r.mapArray(r.getName);t.isSeriesFiltered(n)||(i=i.concat(s)),s.length?e=e.concat(s):a=!0}else a=!0;a&&Oi(n)&&e.push(n.name)}),this._availableNames=i;var n=f(this.get("data")||e,function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new No(t,this,this.ecModel)},this);this._data=n},getData:function(){return this._data},select:function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&d(this._data,function(t){e[t.get("name")]=!1}),e[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&l(this._availableNames,t)>=0},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",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});Es("legendToggleSelect","legendselectchanged",v(xv,"toggleSelected")),Es("legendSelect","legendselected",v(xv,"select")),Es("legendUnSelect","legendunselected",v(xv,"unSelect"));var $P=v,JP=d,QP=tb,tN=Ws({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new QP),this._backgroundEl,this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var o=t.get("align");o&&"auto"!==o||(o="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(o,t,e,i);var a=t.getBoxLayoutParams(),s={width:i.getWidth(),height:i.getHeight()},l=t.get("padding"),u=ca(a,s,l),h=this.layoutInner(t,o,u,n),c=ca(r({width:h.width,height:h.height},a),s,l);this.group.attr("position",[c.x-h.x,c.y-h.y]),this.group.add(this._backgroundEl=wv(h,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var o=this.getContentGroup(),a=R(),r=e.get("selectedMode"),s=[];i.eachRawSeries(function(t){!t.get("legendHoverLink")&&s.push(t.id)}),JP(e.getData(),function(l,u){var h=l.get("name");if(this.newlineDisabled||""!==h&&"\n"!==h){var c=i.getSeriesByName(h)[0];if(!a.get(h))if(c){var d=c.getData(),f=d.getVisual("color");"function"==typeof f&&(f=f(c.getDataParams(0)));var p=d.getVisual("legendSymbol")||"roundRect",g=d.getVisual("symbol");this._createItem(h,u,l,e,p,g,t,f,r).on("click",$P(bv,h,n)).on("mouseover",$P(Sv,c.name,null,n,s)).on("mouseout",$P(Mv,c.name,null,n,s)),a.set(h,!0)}else i.eachRawSeries(function(i){if(!a.get(h)&&i.legendDataProvider){var o=i.legendDataProvider(),c=o.indexOfName(h);if(c<0)return;var d=o.getItemVisual(c,"color");this._createItem(h,u,l,e,"roundRect",null,t,d,r).on("click",$P(bv,h,n)).on("mouseover",$P(Sv,null,h,n,s)).on("mouseout",$P(Mv,null,h,n,s)),a.set(h,!0)}},this)}else o.add(new QP({newline:!0}))},this)},_createItem:function(t,e,i,n,o,r,s,l,u){var h=n.get("itemWidth"),c=n.get("itemHeight"),d=n.get("inactiveColor"),f=n.get("symbolKeepAspect"),p=n.isSelected(t),g=new QP,m=i.getModel("textStyle"),v=i.get("icon"),y=i.getModel("tooltip"),x=y.parentModel;if(o=v||o,g.add(Jl(o,0,0,h,c,p?l:d,null==f||f)),!v&&r&&(r!==o||"none"===r)){var _=.8*c;"none"===r&&(r="circle"),g.add(Jl(r,(h-_)/2,(c-_)/2,_,_,p?l:d,null==f||f))}var w="left"===s?h+5:-5,b=s,S=n.get("formatter"),M=t;"string"==typeof S&&S?M=S.replace("{name}",null!=t?t:""):"function"==typeof S&&(M=S(t)),g.add(new rM({style:mo({},m,{text:M,x:w,y:c/2,textFill:p?m.getTextColor():d,textAlign:b,textVerticalAlign:"middle"})}));var I=new yM({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?a({content:t,formatter:x.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},y.option):null});return g.add(I),g.eachChild(function(t){t.silent=!0}),I.silent=!u,this.getContentGroup().add(g),fo(g),g.__legendDataIndex=e,g},layoutInner:function(t,e,i){var n=this.getContentGroup();aI(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var o=n.getBoundingRect();return n.attr("position",[-o.x,-o.y]),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});Os(function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0})}),lI.registerSubTypeDefaulter("legend",function(){return"plain"});var eN=KP.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,i,n){var o=ga(t);eN.superCall(this,"init",t,e,i,n),Iv(this,t,o)},mergeOption:function(t,e){eN.superCall(this,"mergeOption",t,e),Iv(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}}),iN=tb,nN=["width","height"],oN=["x","y"],aN=tN.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){aN.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new iN),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new iN),this._showController},resetInner:function(){aN.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,n){function o(t,i){var o=t+"DataIndex",l=Po(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:m(a._pageGo,a,o,e,n)},{x:-s[0]/2,y:-s[1]/2,width:s[0],height:s[1]});l.name=t,r.add(l)}var a=this;aN.superCall(this,"renderInner",t,e,i,n);var r=this._controllerGroup,s=e.get("pageIconSize",!0);y(s)||(s=[s,s]),o("pagePrev",0);var l=e.getModel("pageTextStyle");r.add(new rM({name:"pageText",style:{textFill:l.getTextColor(),font:l.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),o("pageNext",1)},layoutInner:function(t,e,i,n){var o=this.getContentGroup(),a=this._containerGroup,r=this._controllerGroup,s=t.getOrient().index,l=nN[s],u=nN[1-s],h=oN[1-s];aI(t.get("orient"),o,t.get("itemGap"),s?i.width:null,s?null:i.height),aI("horizontal",r,t.get("pageButtonItemGap",!0));var c=o.getBoundingRect(),d=r.getBoundingRect(),f=this._showController=c[l]>i[l],p=[-c.x,-c.y];n||(p[s]=o.position[s]);var g=[0,0],m=[-d.x,-d.y],v=A(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?m[s]+=i[l]-d[l]:g[s]+=d[l]+v),m[1-s]+=c[u]/2-d[u]/2,o.attr("position",p),a.attr("position",g),r.attr("position",m);var y=this.group.getBoundingRect();if((y={x:0,y:0})[l]=f?i[l]:c[l],y[u]=Math.max(c[u],d[u]),y[h]=Math.min(0,d[h]+m[1-s]),a.__rectSize=i[l],f){var x={x:0,y:0};x[l]=Math.max(i[l]-d[l]-v,0),x[u]=y[u],a.setClipPath(new yM({shape:x})),a.__rectSize=x[l]}else r.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(t);return null!=_.pageIndex&&Io(o,{position:_.contentPosition},!!f&&t),this._updatePageInfoView(t,_),y},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;d(["pagePrev","pageNext"],function(n){var o=null!=e[n+"DataIndex"],a=i.childOfName(n);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")});var n=i.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,r=null!=a?a+1:0,s=e.pageCount;n&&o&&n.setStyle("text",_(o)?o.replace("{current}",r).replace("{total}",s):o({current:r,total:s}))},_getPageInfo:function(t){function e(t){if(t){var e=t.getBoundingRect(),i=e[l]+t.position[r];return{s:i,e:i+e[s],i:t.__legendDataIndex}}}function i(t,e){return t.e>=e&&t.s<=e+a}var n=t.get("scrollDataIndex",!0),o=this.getContentGroup(),a=this._containerGroup.__rectSize,r=t.getOrient().index,s=nN[r],l=oN[r],u=this._findTargetItemIndex(n),h=o.children(),c=h[u],d=h.length,f=d?1:0,p={contentPosition:o.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return p;var g=e(c);p.contentPosition[r]=-g.s;for(var m=u+1,v=g,y=g,x=null;m<=d;++m)(!(x=e(h[m]))&&y.e>v.s+a||x&&!i(x,v.s))&&(v=y.i>v.i?y:x)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount),y=x;for(var m=u-1,v=g,y=g,x=null;m>=-1;--m)(x=e(h[m]))&&i(y,x.s)||!(v.i<y.i)||(y=v,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=v.i),++p.pageCount,++p.pageIndex),v=x;return p},_findTargetItemIndex:function(t){var e,i=this.getContentGroup();return this._showController?i.eachChild(function(i,n){i.__legendDataIndex===t&&(e=n)}):e=0,e}});Es("legendScroll","legendscroll",function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(i)})}),Fs({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}}});var rN=d,sN=ea,lN=["","-webkit-","-moz-","-o-"];Cv.prototype={constructor:Cv,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+Dv(t)+";left:"+this._x+"px;top:"+this._y+"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 i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var o=this.el.style;o.left=t+"px",o.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(m(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}},Lv.prototype={constructor:Lv,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);for(var n={},o=t,a=o.indexOf("{marker");a>=0;){var r=o.indexOf("|}"),s=o.substr(a+"{marker".length,r-a-"{marker".length);s.indexOf("sub")>-1?n["marker"+s]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[s],textOffset:[3,0]}:n["marker"+s]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[s]},a=(o=o.substr(r+1)).indexOf("{marker")}this.el=new rM({style:{rich:n,text:t,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(m(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){return this.getSize()}};var uN=m,hN=d,cN=Vo,dN=new yM({shape:{x:-1,y:-1,width:2,height:2}});Ws({type:"tooltip",init:function(t,e){if(!U_.node){var i=t.getComponent("tooltip").get("renderMode");this._renderMode=Hi(i);var n;"html"===this._renderMode?(n=new Cv(e.getDom(),e),this._newLine="<br/>"):(n=new Lv(e),this._newLine="\n"),this._tooltipContent=n}},render:function(t,e,i){if(!U_.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");um("itemTooltip",this._api,uN(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!U_.node){var o=Pv(n,i);this._ticket="";var a=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var r=dN;r.position=[n.x,n.y],r.update(),r.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:r},o)}else if(a)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},o);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var s=xP(n,e),l=s.point[0],u=s.point[1];null!=l&&null!=u&&this._tryShow({offsetX:l,offsetY:u,position:n.position,target:s.el,event:{}},o)}else null!=n.x&&null!=n.y&&(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,event:{}},o))}},manuallyHideTip:function(t,e,i,n){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(Pv(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var o=n.seriesIndex,a=n.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=a&&null!=r){var s=e.getSeriesByIndex(o);if(s&&"axis"===(t=kv([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:a,position:n.position}),!0}},_tryShow:function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=m(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,o=this._tooltipModel,a=[e.offsetX,e.offsetY],r=[],s=[],l=kv([e.tooltipOption,o]),u=this._renderMode,h=this._newLine,c={};hN(t,function(t){hN(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),o=t.value,a=[];if(e&&null!=o){var l=Im(o,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);d(t.seriesDataIndices,function(r){var h=i.getSeriesByIndex(r.seriesIndex),d=r.dataIndexInside,f=h&&h.getDataParams(d);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Xl(e.axis,o),f.axisValueLabel=l,f){s.push(f);var p,g=h.formatTooltip(d,!0,null,u);if(w(g)){p=g.html;var m=g.markers;n(c,m)}else p=g;a.push(p)}});var f=l;"html"!==u?r.push(a.join(h)):r.push((f?ia(f)+h:"")+a.join(h))}})},this),r.reverse(),r=r.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(l,f,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(l,r,s,Math.random(),a[0],a[1],f,void 0,c)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,o=e.seriesIndex,a=n.getSeriesByIndex(o),r=e.dataModel||a,s=e.dataIndex,l=e.dataType,u=r.getData(),h=kv([u.getItemModel(s),r,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),c=h.get("trigger");if(null==c||"item"===c){var d,f,p=r.getDataParams(s,l),g=r.formatTooltip(s,!1,l,this._renderMode);w(g)?(d=g.html,f=g.markers):(d=g,f=null);var m="item_"+r.name+"_"+s;this._showOrMove(h,function(){this._showTooltipContent(h,d,p,m,t.offsetX,t.offsetY,t.position,t.target,f)}),i({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){var o=n;n={content:o,formatter:o}}var a=new No(n,this._tooltipModel,this._ecModel),r=a.get("content"),s=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,o,a,r,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");r=r||t.get("position");var c=e;if(h&&"string"==typeof h)c=na(h,i,!0);else if("function"==typeof h){var d=uN(function(e,n){e===this._ticket&&(u.setContent(n,l,t),this._updatePosition(t,r,o,a,u,i,s))},this);this._ticket=n,c=h(i,n,d)}u.setContent(c,l,t),u.show(t),this._updatePosition(t,r,o,a,u,i,s)}},_updatePosition:function(t,e,i,n,o,a,r){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=o.getSize(),h=t.get("align"),c=t.get("verticalAlign"),d=r&&r.getBoundingRect().clone();if(r&&d.applyTransform(r.transform),"function"==typeof e&&(e=e([i,n],a,o.el,d,{viewSize:[s,l],contentSize:u.slice()})),y(e))i=cN(e[0],s),n=cN(e[1],l);else if(w(e)){e.width=u[0],e.height=u[1];var f=ca(e,{width:s,height:l});i=f.x,n=f.y,h=null,c=null}else"string"==typeof e&&r?(i=(p=Ev(e,d,u))[0],n=p[1]):(i=(p=Nv(i,n,o,s,l,h?null:20,c?null:20))[0],n=p[1]);if(h&&(i-=Rv(h)?u[0]/2:"right"===h?u[0]:0),c&&(n-=Rv(c)?u[1]/2:"bottom"===c?u[1]:0),t.get("confine")){var p=Ov(i,n,o,s,l);i=p[0],n=p[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&hN(e,function(e,n){var o=e.dataByAxis||{},a=(t[n]||{}).dataByAxis||[];(i&=o.length===a.length)&&hN(o,function(t,e){var n=a[e]||{},o=t.seriesDataIndices||[],r=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&o.length===r.length)&&hN(o,function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){U_.node||(this._tooltipContent.hide(),gm("itemTooltip",e))}}),Es({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),Es({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){}),Gv.prototype={constructor:Gv,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:aD.prototype.dataToCoord,radiusToData:aD.prototype.coordToData},u(Gv,aD);var fN=Bi();Fv.prototype={constructor:Fv,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:aD.prototype.dataToCoord,angleToData:aD.prototype.coordToData,calculateCategoryInterval:function(){var t=this,e=t.getLabelModel(),i=t.scale,n=i.getExtent(),o=i.count();if(n[1]-n[0]<1)return 0;var a=n[0],r=t.dataToCoord(a+1)-t.dataToCoord(a),s=Math.abs(r),l=ke(a,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=fN(t.model),d=c.lastAutoInterval,f=c.lastTickCount;return null!=d&&null!=f&&Math.abs(d-h)<=1&&Math.abs(f-o)<=1&&d>h?h=d:(c.lastTickCount=o,c.lastAutoInterval=h),h}},u(Fv,aD);var pN=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new Gv,this._angleAxis=new Fv,this._radiusAxis.polar=this._angleAxis.polar=this};pN.prototype={type:"polar",axisPointerEnabled:!0,constructor:pN,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=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),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 i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),o=n.getExtent(),a=Math.min(o[0],o[1]),r=Math.max(o[0],o[1]);n.inverse?a=r-360:r=a+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=l<a?1:-1;l<a||l>r;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]}};var gN=lI.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n(gN.prototype,UA);var mN={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};ED("angle",gN,Wv,mN.angle),ED("radius",gN,Wv,mN.radius),Fs({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%"}});var vN={dimensions:pN.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,n){var o=new pN(n);o.update=Zv;var a=o.getRadiusAxis(),r=o.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");Uv(a,s),Uv(r,l),Hv(o,t,e),i.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};Fa.register("polar",vN);var yN=["axisLine","axisLabel","axisTick","splitLine","splitArea"];XD.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=f(n.getViewLabels(),function(t){return(t=i(t)).coord=n.dataToCoord(t.tickValue),t});Yv(s),Yv(r),d(yN,function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,r,a,s)},this)}},_axisLine:function(t,e,i,n){var o=t.getModel("axisLine.lineStyle"),a=new sM({shape:{cx:e.cx,cy:e.cy,r:n[jv(e)]},style:o.getLineStyle(),z2:1,silent:!0});a.style.fill=null,this.group.add(a)},_axisTick:function(t,e,i,n){var o=t.getModel("axisTick"),a=(o.get("inside")?-1:1)*o.get("length"),s=n[jv(e)],l=f(i,function(t){return new _M({shape:Xv(e,[s,s+a],t.coord)})});this.group.add(OM(l,{style:r(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,n,o){var a=t.getCategories(!0),r=t.getModel("axisLabel"),s=r.get("margin");d(o,function(i,o){var l=r,u=i.tickValue,h=n[jv(e)],c=e.coordToPoint([h+s,i.coord]),d=e.cx,f=e.cy,p=Math.abs(c[0]-d)/h<.3?"center":c[0]>d?"left":"right",g=Math.abs(c[1]-f)/h<.3?"middle":c[1]>f?"top":"bottom";a&&a[u]&&a[u].textStyle&&(l=new No(a[u].textStyle,r,r.ecModel));var m=new rM({silent:!0});this.group.add(m),mo(m.style,l,{x:c[0],y:c[1],textFill:l.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:p,textVerticalAlign:g})},this)},_splitLine:function(t,e,i,n){var o=t.getModel("splitLine").getModel("lineStyle"),a=o.get("color"),s=0;a=a instanceof Array?a:[a];for(var l=[],u=0;u<i.length;u++){var h=s++%a.length;l[h]=l[h]||[],l[h].push(new _M({shape:Xv(e,n,i[u].coord)}))}for(u=0;u<l.length;u++)this.group.add(OM(l[u],{style:r({stroke:a[u%a.length]},o.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,i,n){if(i.length){var o=t.getModel("splitArea").getModel("areaStyle"),a=o.get("color"),s=0;a=a instanceof Array?a:[a];for(var l=[],u=Math.PI/180,h=-i[0].coord*u,c=Math.min(n[0],n[1]),d=Math.max(n[0],n[1]),f=t.get("clockwise"),p=1;p<i.length;p++){var g=s++%a.length;l[g]=l[g]||[],l[g].push(new hM({shape:{cx:e.cx,cy:e.cy,r0:c,r:d,startAngle:h,endAngle:-i[p].coord*u,clockwise:f},silent:!0})),h=-i[p].coord*u}for(p=0;p<l.length;p++)this.group.add(OM(l[p],{style:r({fill:a[p%a.length]},o.getAreaStyle()),silent:!0}))}}});var xN=["axisLine","axisTickLabel","axisName"],_N=["splitLine","splitArea"];XD.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,n=i.polar,o=n.getAngleAxis(),a=i.getTicksCoords(),r=o.getExtent()[0],s=i.getExtent(),l=qv(n,t,r),u=new FD(t,l);d(xN,u.add,u),this.group.add(u.getGroup()),d(_N,function(e){t.get(e+".show")&&!i.scale.isBlank()&&this["_"+e](t,n,r,s,a)},this)}},_splitLine:function(t,e,i,n,o){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h<o.length;h++){var c=l++%s.length;u[c]=u[c]||[],u[c].push(new sM({shape:{cx:e.cx,cy:e.cy,r:o[h].coord},silent:!0}))}for(h=0;h<u.length;h++)this.group.add(OM(u[h],{style:r({stroke:s[h%s.length],fill:null},a.getLineStyle()),silent:!0}))},_splitArea:function(t,e,i,n,o){if(o.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=o[0].coord,c=1;c<o.length;c++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new hM({shape:{cx:e.cx,cy:e.cy,r0:h,r:o[c].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[c].coord}for(c=0;c<u.length;c++)this.group.add(OM(u[c],{style:r({fill:s[c%s.length]},a.getAreaStyle()),silent:!0}))}}});var wN=mm.extend({makeElOption:function(t,e,i,n,o){var a=i.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var r,s=a.polar,l=s.getOtherAxis(a).getExtent();r=a["dataTo"+la(a.dim)](e);var u=n.get("type");if(u&&"none"!==u){var h=bm(n),c=bN[u](a,s,r,l,h);c.style=h,t.graphicKey=c.type,t.pointer=c}Sm(t,i,n,o,Kv(e,i,0,s,n.get("label.margin")))}}),bN={line:function(t,e,i,n,o){return"angle"===t.dim?{type:"Line",shape:Dm(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,o){var a=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:Lm(e.cx,e.cy,n[0],n[1],(-i-a/2)*r,(a/2-i)*r)}:{type:"Sector",shape:Lm(e.cx,e.cy,i-a/2,i+a/2,0,2*Math.PI)}}};XD.registerAxisPointerClass("PolarAxisPointer",wN),zs(v(function(t,e,i){i.getWidth(),i.getHeight();var n={},o=Vv(g(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),r=zv(t),s=o[Bv(a)][r],l=s.offset,u=s.width,h=i.getOtherAxis(a),c=t.coordinateSystem.cx,d=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,p=t.get("barMinAngle")||0;n[r]=n[r]||[];for(var g=e.mapDimension(h.dim),m=e.mapDimension(a.dim),v=pl(e,g),y=h.getExtent()[0],x=0,_=e.count();x<_;x++){var w=e.get(g,x),b=e.get(m,x);if(!isNaN(w)){var S=w>=0?"p":"n",M=y;v&&(n[r][b]||(n[r][b]={p:y,n:y}),M=n[r][b][S]);var I,T,A,D;if("radius"===h.dim){var C=h.dataToRadius(w)-y,L=a.dataToAngle(b);Math.abs(C)<f&&(C=(C<0?-1:1)*f),I=M,T=M+C,D=(A=L-l)-u,v&&(n[r][b][S]=T)}else{var k=h.dataToAngle(w,!0)-y,P=a.dataToRadius(b);Math.abs(k)<p&&(k=(k<0?-1:1)*p),T=(I=P+l)+u,A=M,D=M+k,v&&(n[r][b][S]=D)}e.setItemLayout(x,{cx:c,cy:d,r0:I,r:T,startAngle:-A*Math.PI/180,endAngle:-D*Math.PI/180})}}}},this)},"bar")),Ws({type:"polar"}),h(lI.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){lI.prototype.init.apply(this,arguments),Ci(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=GC.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=p(t.regions||[],function(t,i){return i.name&&t.set(i.name,new No(i,e)),t},R()),this.updateSelectedMap(t.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 No(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t).get("label."+e+".formatter"),n={name:t};return"function"==typeof i?(n.status=e,i(n)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}}),aC),Ws({type:"geo",init:function(t,e){var i=new xc(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var o=this._mapDraw;t.get("show")?o.draw(t,e,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}}),$v("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),$v("select",{type:"geoSelect",event:"geoselected"}),$v("unSelect",{type:"geoUnSelect",event:"geounselected"});var SN=["rect","polygon","keep","clear"],MN=d,IN={lineX:oy(0),lineY:oy(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&tu(i.range,t[0],t[1])},rect:function(t,e,i){var n=i.range;if(!t||n.length<=1)return!1;var o=t.x,a=t.y,r=t.width,s=t.height,l=n[0];return!!(tu(n,o,a)||tu(n,o+r,a)||tu(n,o,a+s)||tu(n,o+r,a+s)||de.create(t).contain(l[0],l[1])||ry(o,a,o+r,a,n)||ry(o,a,o,a+s,n)||ry(o+r,a,o+r,a+s,n)||ry(o,a+s,o+r,a+s,n))||void 0}}},TN=d,AN=l,DN=v,CN=["dataToPoint","pointToData"],LN=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],kN=hy.prototype;kN.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=EN[t.brushType](0,i,e);t.__rangeOffset={offset:RN[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},kN.matchOutputRanges=function(t,e,i){TN(t,function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&d(n.coordSyses,function(n){var o=EN[t.brushType](1,n,t.range);i(t,o.values,n,e)})},this)},kN.setInputRanges=function(t,e){TN(t,function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=EN[t.brushType](0,i.coordSys,t.coordRange),o=t.__rangeOffset;t.range=o?RN[t.brushType](n.values,o.offset,gy(n.xyMinMax,o.xyMinMax)):n.values}},this)},kN.makePanelOpts=function(t,e){return f(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:yp(n),isTargetByCursor:_p(n,t,i.coordSysModel),getLinearBrushOtherExtent:xp(n)}})},kN.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&AN(n.coordSyses,e.coordinateSystem)>=0},kN.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=dy(e,t),o=0;o<i.length;o++){var a=i[o],r=t.panelId;if(r){if(a.panelId===r)return a}else for(o=0;o<NN.length;o++)if(NN[o](n,a))return a}return!0};var PN={grid:function(t,e){var i=t.xAxisModels,n=t.yAxisModels,o=t.gridModels,a=R(),r={},s={};(i||n||o)&&(TN(i,function(t){var e=t.axis.grid.model;a.set(e.id,e),r[e.id]=!0}),TN(n,function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0}),TN(o,function(t){a.set(t.id,t),r[t.id]=!0,s[t.id]=!0}),a.each(function(t){var o=t.coordinateSystem,a=[];TN(o.getCartesians(),function(t,e){(AN(i,t.getAxis("x").model)>=0||AN(n,t.getAxis("y").model)>=0)&&a.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:ON.grid,xAxisDeclared:r[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){TN(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:ON.geo})})}},NN=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,o=t.gridModel;return!o&&i&&(o=i.axis.grid.model),!o&&n&&(o=n.axis.grid.model),o&&o===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],ON={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Ao(t)),e}},EN={lineX:DN(fy,0),lineY:DN(fy,1),rect:function(t,e,i){var n=e[CN[t]]([i[0][0],i[1][0]]),o=e[CN[t]]([i[0][1],i[1][1]]),a=[cy([n[0],o[0]]),cy([n[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,i){var n=[[1/0,-1/0],[1/0,-1/0]];return{values:f(i,function(i){var o=e[CN[t]](i);return n[0][0]=Math.min(n[0][0],o[0]),n[1][0]=Math.min(n[1][0],o[1]),n[0][1]=Math.max(n[0][1],o[0]),n[1][1]=Math.max(n[1][1],o[1]),o}),xyMinMax:n}}},RN={lineX:DN(py,0),lineY:DN(py,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return f(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}},zN=["inBrush","outOfBrush"],BN="__ecBrushSelect",VN="__ecInBrushSelectEvent",GN=VT.VISUAL.BRUSH;zs(GN,function(t,e,i){t.eachComponent({mainType:"brush"},function(e){i&&"takeGlobalCursor"===i.type&&e.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1}),(e.brushTargetManager=new hy(e.option,t)).setInputRanges(e.areas,t)})}),Bs(GN,function(t,e,n){var o,a,s=[];t.eachComponent({mainType:"brush"},function(e,n){function l(t){return"all"===m||v[t]}function u(t){return!!t.length}function h(t,e){var i=t.coordinateSystem;w|=i.hasAxisBrushed(),l(e)&&i.eachActiveState(t.getData(),function(t,e){"active"===t&&(x[e]=1)})}function c(i,n,o){var a=_y(i);if(a&&!wy(e,n)&&(d(b,function(n){a[n.brushType]&&e.brushTargetManager.controlSeries(n,i,t)&&o.push(n),w|=u(o)}),l(n)&&u(o))){var r=i.getData();r.each(function(t){xy(a,o,r,t)&&(x[t]=1)})}}var p={brushId:e.id,brushIndex:n,brushName:e.name,areas:i(e.areas),selected:[]};s.push(p);var g=e.option,m=g.brushLink,v=[],x=[],_=[],w=0;n||(o=g.throttleType,a=g.throttleDelay);var b=f(e.areas,function(t){return by(r({boundingRect:FN[t.brushType](t)},t))}),S=ty(e.option,zN,function(t){t.mappingMethod="fixed"});y(m)&&d(m,function(t){v[t]=1}),t.eachSeries(function(t,e){var i=_[e]=[];"parallel"===t.subType?h(t,e):c(t,e,i)}),t.eachSeries(function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};p.selected.push(i);var n=_y(t),o=_[e],a=t.getData(),r=l(e)?function(t){return x[t]?(i.dataIndex.push(a.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return xy(n,o,a,t)?(i.dataIndex.push(a.getRawIndex(t)),"inBrush"):"outOfBrush"};(l(e)?w:u(o))&&iy(zN,S,a,r)})}),vy(e,o,a,s,n)});var FN={lineX:B,lineY:B,rect:function(t){return Sy(t.range)},polygon:function(t){for(var e,i=t.range,n=0,o=i.length;n<o;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var a=i[n];a[0]<e[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&Sy(e)}},WN=["#ddd"];Fs({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&&ey(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:WN},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(t){t&&(this.areas=f(t,function(t){return My(this.option,t)},this))},setBrushOption:function(t){this.brushOption=My(this.option,t),this.brushType=this.brushOption.brushType}});Ws({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new zf(e.getZr())).on("brush",m(this._onBrush,this)).mount()},render:function(t){return this.model=t,Iy.apply(this,arguments)},updateTransform:Iy,updateView:Iy,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:i(t),$from:n})}}),Es({type:"brush",event:"brush"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),Es({type:"brushSelect",event:"brushSelected",update:"none"},function(){});var HN={},ZN=rT.toolbox.brush;Dy.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:i(ZN.title)};var UN=Dy.prototype;UN.render=UN.updateView=function(t,e,i){var n,o,a;e.eachComponent({mainType:"brush"},function(t){n=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length}),this._brushType=n,this._brushMode=o,d(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===o:"clear"===e?a:e===n)?"emphasis":"normal")})},UN.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return d(t.get("type",!0),function(t){e[t]&&(i[t]=e[t])}),i},UN.onclick=function(t,e,i){var n=this._brushType,o=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===o?"single":"multiple":o}})},Ty("brush",Dy),Ns(function(t,e){var i=t&&t.brush;if(y(i)||(i=i?[i]:[]),i.length){var n=[];d(i,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(n=n.concat(e))});var o=t&&t.toolbox;y(o)&&(o=o[0]),o||(o={feature:{}},t.toolbox=[o]);var a=o.feature||(o.feature={}),r=a.brush||(a.brush={}),s=r.type||(r.type=[]);s.push.apply(s,n),Jv(s),e&&!s.length&&s.push.apply(s,SN)}});Cy.prototype={constructor:Cy,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=Yo(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var o=t.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:n,day:o,time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){function i(t,e){return null!=t[e]&&"auto"!==t[e]}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 n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),r=this._model.getBoxLayoutParams(),s="horizontal"===this._orient?[n,7]:[7,n];d([0,1],function(t){i(a,t)&&(r[o[t]]=a[t]*s[t])});var l={width:e.getWidth(),height:e.getHeight()},u=this._rect=ca(r,l);d([0,1],function(t){i(a,t)||(a[t]=u[o[t]]/s[t])}),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){y(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),n=this._rangeInfo,o=i.formatedDate;if(e&&!(i.time>=n.start.time&&i.time<n.end.time+864e5))return[NaN,NaN];var a=i.day,r=this._getRangeInfo([n.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]:[this._rect.x+r*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:v(Ly,"dataToPoint"),convertFromPixel:v(Ly,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(y(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),n=i.date;n.setMonth(n.getMonth()+1);var o=this.getNextNDay(n,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,n=new Date(t[0].time),o=n.getDate(),a=t[1].date.getDate();if(n.setDate(o+i-1),n.getDate()!==a)for(var r=n.getTime()-t[1].time>0?1:-1;n.getDate()!==a&&(n.getTime()-t[1].time)*r>0;)i-=r,n.setDate(o+i-1);var s=Math.floor((i+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return!1;var o=7*(t-1)-n.fweek+e,a=new Date(n.start.time);return a.setDate(n.start.d+o),this.getDateInfo(a)}},Cy.dimensions=Cy.prototype.dimensions,Cy.getDimensionsInfo=Cy.prototype.getDimensionsInfo,Cy.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var o=new Cy(n,t,e);i.push(o),n.coordinateSystem=o}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},Fa.register("calendar",Cy);var XN=lI.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,i,n){var o=ga(t);XN.superApply(this,"init",arguments),ky(t,o)},mergeOption:function(t,e){XN.superApply(this,"mergeOption",arguments),ky(this.option,t)}}),jN={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},YN={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};Ws({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,i){var n=this.group;n.removeAll();var o=t.coordinateSystem,a=o.getRangeInfo(),r=o.getOrient();this._renderDayRect(t,a,n),this._renderLines(t,a,r,n),this._renderYearText(t,a,r,n),this._renderMonthText(t,r,n),this._renderWeekText(t,a,r,n)},_renderDayRect:function(t,e,i){for(var n=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),a=n.getCellWidth(),r=n.getCellHeight(),s=e.start.time;s<=e.end.time;s=n.getNextNDay(s,1).time){var l=n.dataToRect([s],!1).tl,u=new yM({shape:{x:l[0],y:l[1],width:a,height:r},cursor:"default",style:o});i.add(u)}},_renderLines:function(t,e,i,n){function o(e){a._firstDayOfMonth.push(r.getDateInfo(e)),a._firstDayPoints.push(r.dataToRect([e],!1).tl);var o=a._getLinePointsOfOneWeek(t,e,i);a._tlpoints.push(o[0]),a._blpoints.push(o[o.length-1]),l&&a._drawSplitline(o,s,n)}var a=this,r=t.coordinateSystem,s=t.getModel("splitLine.lineStyle").getLineStyle(),l=t.get("splitLine.show"),u=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=e.start,c=0;h.time<=e.end.time;c++){o(h.formatedDate),0===c&&(h=r.getDateInfo(e.start.y+"-"+e.start.m));var d=h.date;d.setMonth(d.getMonth()+1),h=r.getDateInfo(d)}o(r.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,u,i),s,n),l&&this._drawSplitline(a._getEdgesPoints(a._blpoints,u,i),s,n)},_getEdgesPoints:function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],o="horizontal"===i?0:1;return n[0][o]=n[0][o]-e/2,n[1][o]=n[1][o]+e/2,n},_drawSplitline:function(t,e,i){var n=new gM({z2:20,shape:{points:t},style:e});i.add(n)},_getLinePointsOfOneWeek:function(t,e,i){var n=t.coordinateSystem;e=n.getDateInfo(e);for(var o=[],a=0;a<7;a++){var r=n.getNextNDay(e.time,a),s=n.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===i?"bl":"tr"]}return o},_formatterLabel:function(t,e){return"string"==typeof t&&t?oa(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,i,n,o){e=e.slice();var a=["center","bottom"];"bottom"===n?(e[1]+=o,a=["center","top"]):"left"===n?e[0]-=o:"right"===n?(e[0]+=o,a=["center","top"]):e[1]-=o;var r=0;return"left"!==n&&"right"!==n||(r=Math.PI/2),{rotation:r,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,i,n){var o=t.getModel("yearLabel");if(o.get("show")){var a=o.get("margin"),r=o.get("position");r||(r="horizontal"!==i?"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"===i?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 f=o.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(f,p),m=new rM({z2:30});mo(m.style,o,{text:g}),m.attr(this._yearTextPositionControl(m,c[r],i,r,a)),n.add(m)}},_monthTextPositionControl:function(t,e,i,n,o){var a="left",r="top",s=t[0],l=t[1];return"horizontal"===i?(l+=o,e&&(a="center"),"start"===n&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===n&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),r=n.get("margin"),s=n.get("position"),l=n.get("align"),u=[this._tlpoints,this._blpoints];_(o)&&(o=jN[o.toUpperCase()]||[]);var h="start"===s?0:1,c="horizontal"===e?0:1;r="start"===s?-r:r;for(var d="center"===l,f=0;f<u[h].length-1;f++){var p=u[h][f].slice(),g=this._firstDayOfMonth[f];if(d){var m=this._firstDayPoints[f];p[c]=(m[c]+u[0][f+1][c])/2}var v=n.get("formatter"),y=o[+g.m-1],x={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:y},w=this._formatterLabel(v,x),b=new rM({z2:30});a(mo(b.style,n,{text:w}),this._monthTextPositionControl(p,d,e,s,r)),i.add(b)}}},_weekTextPositionControl:function(t,e,i,n,o){var a="center",r="middle",s=t[0],l=t[1],u="start"===i;return"horizontal"===e?(s=s+n+(u?1:-1)*o[0]/2,a=u?"right":"left"):(l=l+n+(u?1:-1)*o[1]/2,r=u?"bottom":"top"),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderWeekText:function(t,e,i,n){var o=t.getModel("dayLabel");if(o.get("show")){var r=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),h=r.getFirstDayOfWeek();_(l)&&(l=YN[l.toUpperCase()]||[]);var c=r.getNextNDay(e.end.time,7-e.lweek).time,d=[r.getCellWidth(),r.getCellHeight()];u=Vo(u,d["horizontal"===i?0:1]),"start"===s&&(c=r.getNextNDay(e.start.time,-(7+e.fweek)).time,u=-u);for(var f=0;f<7;f++){var p=r.getNextNDay(c,f),g=r.dataToRect([p.time],!1).center,m=f;m=Math.abs((f+h)%7);var v=new rM({z2:30});a(mo(v.style,o,{text:l[m]}),this._weekTextPositionControl(g,i,s,u,d)),n.add(v)}}}}),Fs({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"}}}),Ws({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,o=t.getModel("textStyle"),a=t.getModel("subtextStyle"),r=t.get("textAlign"),s=t.get("textBaseline"),l=new rM({style:mo({},o,{text:t.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new rM({style:mo({},a,{text:h,textFill:a.getTextColor(),y:u.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!d&&!p,c.silent=!f&&!p,d&&l.on("click",function(){window.open(d,"_"+t.get("target"))}),f&&c.on("click",function(){window.open(f,"_"+t.get("subtarget"))}),l.eventData=c.eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(l),h&&n.add(c);var g=n.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=ca(m,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));r||("middle"===(r=t.get("left")||t.get("right"))&&(r="center"),"right"===r?v.x+=v.width:"center"===r&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),n.attr("position",[v.x,v.y]);var y={textAlign:r,textVerticalAlign:s};l.setStyle(y),c.setStyle(y),g=n.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var w=new yM({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:_,silent:!0});$n(w),n.add(w)}}}),lI.registerSubTypeDefaulter("dataZoom",function(){return"slider"});var qN=["cartesian2d","polar","singleAxis"],KN=function(t,e){var i=f(t=t.slice(),la),n=f(e=(e||[]).slice(),la);return function(o,a){d(t,function(t,r){for(var s={name:t,capital:i[r]},l=0;l<e.length;l++)s[e[l]]=t+n[l];o.call(a,s)})}}(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]),$N=d,JN=Fo,QN=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};QN.prototype={constructor:QN,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(Py(i.get("coordinateSystem"))){var n=this._dimName,o=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"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,i=this._dimName,n=this.ecModel,o=this.getAxisModel();"x"===i||"y"===i?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle");var a;return n.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(o.get(e)||0)&&(a=t)}),a},getMinMaxSpan:function(){return i(this._minMaxSpan)},calculateDataWindow:function(t){var e=this._dataExtent,i=this.getAxisModel().axis.scale,n=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[t.start,t.end],r=[];return $N(["startValue","endValue"],function(e){r.push(null!=t[e]?i.parse(t[e]):null)}),$N([0,1],function(t){var s=r[t],l=a[t];"percent"===n[t]?(null==l&&(l=o[t]),s=i.parse(Bo(l,o,e,!0))):l=Bo(s,e,o,!0),r[t]=s,a[t]=l}),{valueWindow:JN(r),percentWindow:JN(a)}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=Oy(this,this._dimName,e);var i=this.calculateDataWindow(t.option);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,zy(this),Ry(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,Ry(this,!0))},filterData:function(t,e){function i(t){return t>=r[0]&&t<=r[1]}if(t===this._dataZoomModel){var n=this._dimName,o=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&$N(o,function(t){var e=t.getData(),o=e.mapDimension(n,!0);o.length&&("weakFilter"===a?e.filterSelf(function(t){for(var i,n,a,s=0;s<o.length;s++){var l=e.get(o[s],t),u=!isNaN(l),h=l<r[0],c=l>r[1];if(u&&!h&&!c)return!0;u&&(a=!0),h&&(i=!0),c&&(n=!0)}return a&&i&&n}):$N(o,function(n){if("empty"===a)t.setData(e.map(n,function(t){return i(t)?t:NaN}));else{var o={};o[n]=r,e.selectRange(o)}}),$N(o,function(t){e.setApproximateExtent(r,t)}))})}}};var tO=d,eO=KN,iO=Fs({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,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=By(t);this.mergeDefaultAndTheme(t,i),this.doInit(n)},mergeOption:function(t){var e=By(t);n(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;U_.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),Vy(this,t),tO([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,o){var a=this.dependentModels[e.axis][i],r=a.__dzAxisProxy||(a.__dzAxisProxy=new QN(e.name,i,this,o));t[e.name+"_"+i]=r},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();eO(function(e){var i=e.axisIndex;t[i]=Di(t[i])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;eO(function(i){null!=t[i.axisIndex]&&(e=!0)},this);var i=t.orient;return null==i&&e?"orient":e?void 0:(null==i&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),i=this.option,n=this.dependentModels;if(t){var o="vertical"===e?"y":"x";n[o+"Axis"].length?(i[o+"AxisIndex"]=[0],t=!1):tO(n.singleAxis,function(n){t&&n.get("orient",!0)===e&&(i.singleAxisIndex=[n.componentIndex],t=!1)})}t&&eO(function(e){if(t){var n=[],o=this.dependentModels[e.axis];if(o.length&&!n.length)for(var a=0,r=o.length;a<r;a++)"category"===o[a].get("type")&&n.push(a);i[e.axisIndex]=n,n.length&&(t=!1)}},this),t&&this.ecModel.eachSeries(function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&eO(function(e){var n=i[e.axisIndex],o=t.get(e.axisIndex),a=t.get(e.axisId);l(n,o=t.ecModel.queryComponents({mainType:e.axis,index:o,id:a})[0].componentIndex)<0&&n.push(o)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return eO(function(n){var o=t.get(n.axisIndex),a=this.dependentModels[n.axis][o];a&&a.get("type")===e||(i=!1)},this),i},_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}},getFirstTargetAxisModel:function(){var t;return eO(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;eO(function(n){tO(this.get(n.axisIndex),function(o){t.call(e,n,o,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;tO([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])},this),!e&&Vy(this,t)},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 i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}}),nO=qI.extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){function t(t,e,i,n){for(var o,a=0;a<i.length;a++)if(i[a].model===t){o=i[a];break}o||i.push(o={model:t,axisModels:[],coordIndex:n}),o.axisModels.push(e)}var e=this.dataZoomModel,i=this.ecModel,n={};return e.eachTargetAxis(function(e,o){var a=i.getComponent(e.axis,o);if(a){var r=a.getCoordSysModel();r&&t(r,a,n[r.mainType]||(n[r.mainType]=[]),r.componentIndex)}},this),n}}),oO=(iO.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"}}}),yM),aO=Bo,rO=Fo,sO=m,lO=d,uO="horizontal",hO=5,cO=["line","bar","candlestick","scatter"],dO=nO.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){dO.superApply(this,"render",arguments),Nr(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){dO.superApply(this,"remove",arguments),Or(this,"_dispatchZoomAction")},dispose:function(){dO.superApply(this,"dispose",arguments),Or(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new tb;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),n={width:e.getWidth(),height:e.getHeight()},o=this._orient===uO?{right:n.width-i.x-i.width,top:n.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=ga(t.option);d(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var r=ca(a,n,t.padding);this._location={x:r.x,y:r.y},this._size=[r.width,r.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==uO||o?i===uO&&o?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==i||o?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=t.getBoundingRect([a]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new oO({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new oO({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:m(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,n=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var a=n.getDataExtent(o),s=.3*(a[1]-a[0]);a=[a[0]-s,a[1]+s];var l,u=[0,e[1]],h=[0,e[0]],c=[[e[0],0],[0,0]],d=[],f=h[1]/(n.count()-1),p=0,g=Math.round(n.count()/e[0]);n.each([o],function(t,e){if(g>0&&e%g)p+=f;else{var i=null==t||isNaN(t)||""===t,n=i?0:aO(t,a,u,!0);i&&!l&&e?(c.push([c[c.length-1][0],0]),d.push([d[d.length-1][0],0])):!i&&l&&(c.push([p,0]),d.push([p,0])),c.push([p,n]),d.push([p,n]),p+=f,l=i}});var m=this.dataZoomModel;this._displayables.barGroup.add(new pM({shape:{points:c},style:r({fill:m.get("dataBackgroundColor")},m.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new gM({shape:{points:d},style:m.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,n=this.ecModel;return t.eachTargetAxis(function(o,a){d(t.getAxisProxy(o.name,a).getTargetSeriesModels(),function(t){if(!(i||!0!==e&&l(cO,t.get("type"))<0)){var r,s=n.getComponent(o.axis,a).axis,u=Gy(o.name),h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(r=h.getOtherAxis(s).inverse),u=t.getData().mapDimension(u),i={thisAxis:s,series:t,thisDim:o.name,otherDim:u,otherAxisInverse:r}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,o=this._size,a=this.dataZoomModel;n.add(t.filler=new oO({draggable:!0,cursor:Fy(this._orient),drift:sO(this._onDragMove,this,"all"),onmousemove:function(t){mw(t.event)},ondragstart:sO(this._showDataInfo,this,!0),ondragend:sO(this._onDragEnd,this),onmouseover:sO(this._showDataInfo,this,!0),onmouseout:sO(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),n.add(new oO($n({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),lO([0,1],function(t){var o=Po(a.get("handleIcon"),{cursor:Fy(this._orient),draggable:!0,drift:sO(this._onDragMove,this,t),onmousemove:function(t){mw(t.event)},ondragend:sO(this._onDragEnd,this),onmouseover:sO(this._showDataInfo,this,!0),onmouseout:sO(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),r=o.getBoundingRect();this._handleHeight=Vo(a.get("handleSize"),this._size[1]),this._handleWidth=r.width/r.height*this._handleHeight,o.setStyle(a.getModel("handleStyle").getItemStyle());var s=a.get("handleColor");null!=s&&(o.style.fill=s),n.add(e[t]=o);var l=a.textStyleModel;this.group.add(i[t]=new rM({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:l.getTextColor(),textFont:l.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[aO(t[0],[0,100],e,!0),aO(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),a=i.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];QL(e,n,o,i.get("zoomLock")?"all":t,null!=a.minSpan?aO(a.minSpan,r,o,!0):null,null!=a.maxSpan?aO(a.maxSpan,r,o,!0):null);var s=this._range,l=this._range=rO([aO(n[0],o,r,!0),aO(n[1],o,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=rO(i.slice()),o=this._size;lO([0,1],function(t){var n=e.handles[t],a=this._handleHeight;n.attr({scale:[a/2,a/2],position:[i[t],o[1]/2-a/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){function e(t){var e=Ao(n.handles[t].parent,this.group),i=Co(0===t?"right":"left",e),s=this._handleWidth/2+hO,l=Do([c[t]+(0===t?-s:s),this._size[1]/2],e);o[t].setStyle({x:l[0],y:l[1],textVerticalAlign:a===uO?"middle":i,textAlign:a===uO?i:"center",text:r[t]})}var i=this.dataZoomModel,n=this._displayables,o=n.handleLabels,a=this._orient,r=["",""];if(i.get("showDetail")){var s=i.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=rO(this._handleEnds.slice());e.call(this,0),e.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,n=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return x(n)?n(t,a):_(n)?n.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,e,i){this._dragging=!0;var n=Do([e,i],this._displayables.barGroup.getLocalTransform(),!0),o=this._updateInterval(t,n[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,o=(n[0]+n[1])/2,a=this._updateInterval("all",i[0]-o);this._updateView(),a&&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(lO(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});iO.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});var fO="\0_ec_dataZoom_roams",pO=m,gO=nO.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,i,n){gO.superApply(this,"render",arguments),this._range=t.getPercentRange(),d(this.getTargetCoordInfo(),function(e,n){var o=f(e,function(t){return Zy(t.model)});d(e,function(e){var a=e.model,r={};d(["pan","zoom","scrollMove"],function(t){r[t]=pO(mO[t],this,e,n)},this),Wy(i,{coordId:Zy(a),allCoordIds:o,containsPoint:function(t,e,i){return a.coordinateSystem.containPoint([e,i])},dataZoomId:t.id,dataZoomModel:t,getRange:r})},this)},this)},dispose:function(){Hy(this.api,this.dataZoomModel.id),gO.superApply(this,"dispose",arguments),this._range=null}}),mO={zoom:function(t,e,i,n){var o=this._range,a=o.slice(),r=t.axisModels[0];if(r){var s=vO[e](null,[n.originX,n.originY],r,i,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/n.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return QL(0,a,[0,100],0,h.minSpan,h.maxSpan),this._range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}},pan:Ky(function(t,e,i,n,o,a){var r=vO[n]([a.oldX,a.oldY],[a.newX,a.newY],e,o,i);return r.signal*(t[1]-t[0])*r.pixel/r.pixelLength}),scrollMove:Ky(function(t,e,i,n,o,a){return vO[n]([0,0],[a.scrollDelta,a.scrollDelta],e,o,i).signal*(t[1]-t[0])*a.scrollDelta})},vO={grid:function(t,e,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(t,e,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(r.pixel=e[0]-t[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=a.inverse?-1:1),r},singleAxis:function(t,e,i,n,o){var a=i.axis,r=o.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}};Os({getTargetSeries:function(t){var e=R();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){d(n.getAxisProxy(t.name,i).getTargetSeriesModels(),function(t){e.set(t.uid,t)})})}),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).reset(n,e)}),t.eachTargetAxis(function(t,i,n){n.getAxisProxy(t.name,i).filterData(n,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})}}),Es("dataZoom",function(t,e){var i=Ny(m(e.eachComponent,e,"dataZoom"),KN,function(t,e){return t.get(e.axisIndex)}),n=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){n.push.apply(n,i(t).nodes)}),d(n,function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})});var yO=d,xO=function(t){var e=t&&t.visualMap;y(e)||(e=e?[e]:[]),yO(e,function(t){if(t){$y(t,"splitList")&&!$y(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&y(e)&&yO(e,function(t){w(t)&&($y(t,"start")&&!$y(t,"min")&&(t.min=t.start),$y(t,"end")&&!$y(t,"max")&&(t.max=t.end))})}})};lI.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"});var _O=VT.VISUAL.COMPONENT;Bs(_O,{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",function(e){var n=t.pipelineContext;!e.isTargetSeries(t)||n&&n.large||i.push(ny(e.stateList,e.targetVisuals,m(e.getValueState,e),e.getDataDimension(t.getData())))}),i}}),Bs(_O,{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(m(Jy,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimension(i),r=i.getDimensionInfo(a);null!=r&&(o.dimension=r.index,n.push(o))}}),t.getData().setVisual("visualMeta",n)}});var wO={get:function(t,e,n){var o=i((bO[t]||{})[e]);return n&&y(o)?o[o.length-1]:o}},bO={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]}},SO=hL.mapVisual,MO=hL.eachVisual,IO=y,TO=d,AO=Fo,DO=Bo,CO=B,LO=Fs({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,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,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,i)},optionUpdated:function(t,e){var i=this.option;U_.canvasSupported||(i.realtime=!1),!e&&ey(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=m(t,this),this.controllerVisuals=ty(this.option.controller,e,t),this.targetVisuals=ty(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,i){e.push(i)}):e=Di(t),e},eachTargetSeries:function(t,e){d(this.getTargetSeriesIndices(),function(i){t.call(e,this.ecModel.getSeriesByIndex(i))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},formatValueText:function(t,e,i){function n(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}var o,a,r=this.option,s=r.precision,l=this.dataBound,u=r.formatter;return i=i||["<",">"],y(t)&&(t=t.slice(),o=!0),a=e?t:o?[n(t[0]),n(t[1])]:n(t),_(u)?u.replace("{value}",o?a[0]:a).replace("{value2}",o?a[1]:a):x(u)?o?u(t[0],t[1]):u(t):o?t[0]===l[0]?i[0]+" "+a[1]:t[1]===l[1]?i[1]+" "+a[0]:a[0]+" - "+a[1]:a},resetExtent:function(){var t=this.option,e=AO([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,o=n.length-1;o>=0;o--){var a=n[o];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function t(t){IO(o.color)&&!t.inRange&&(t.inRange={color:o.color.slice().reverse()}),t.inRange=t.inRange||{color:e.get("gradientColor")},TO(this.stateList,function(e){var i=t[e];if(_(i)){var n=wO.get(i,"active",l);n?(t[e]={},t[e][i]=n):delete t[e]}},this)}var e=this.ecModel,o=this.option,a={inRange:o.inRange,outOfRange:o.outOfRange},r=o.target||(o.target={}),s=o.controller||(o.controller={});n(r,a),n(s,a);var l=this.isCategory();t.call(this,r),t.call(this,s),function(t,e,i){var n=t[e],o=t[i];n&&!o&&(o=t[i]={},TO(n,function(t,e){if(hL.isValidType(e)){var i=wO.get(e,"inactive",l);null!=i&&(o[e]=i,"color"!==e||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}.call(this,r,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,o=this.get("inactiveColor");TO(this.stateList,function(a){var r=this.itemSize,s=t[a];s||(s=t[a]={color:l?o:[o]}),null==s.symbol&&(s.symbol=e&&i(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i(n)||(l?r[0]:[r[0],r[0]])),s.symbol=SO(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=s.symbolSize;if(null!=u){var h=-1/0;MO(u,function(t){t>h&&(h=t)}),s.symbolSize=SO(u,function(t){return DO(t,[0,h],[0,r[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:CO,getValueState:CO,getVisualMeta:CO}),kO=[20,140],PO=LO.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){PO.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){PO.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=kO[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=kO[1])},_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]))},completeVisualOption:function(){LO.prototype.completeVisualOption.apply(this,arguments),d(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=Fo((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){function e(e,i){o.push({value:e,color:t(e,i)})}for(var i=Qy(0,0,this.getExtent()),n=Qy(0,0,this.option.range.slice()),o=[],a=0,r=0,s=n.length,l=i.length;r<l&&(!n.length||i[r]<=n[0]);r++)i[r]<n[a]&&e(i[r],"outOfRange");for(u=1;a<s;a++,u=0)u&&o.length&&e(n[a],"outOfRange"),e(n[a],"inRange");for(var u=1;r<l;r++)(!n.length||n[n.length-1]<i[r])&&(u&&(o.length&&e(o[o.length-1].value,"outOfRange"),u=0),e(i[r],"outOfRange"));var h=o.length;return{stops:o,outerColors:[h?o[0].color:"transparent",h?o[h-1].color:"transparent"]}}}),NO=Ws({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,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=qM(e.get("padding")||0),n=t.getBoundingRect();t.add(new yM({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){function n(t){return s[t]}function o(t,e){s[t]=e}var a=(i=i||{}).forceState,r=this.visualMapModel,s={};if("symbol"===e&&(s.symbol=r.get("itemSymbol")),"color"===e){var l=r.get("contentColor");s.color=l}var u=r.controllerVisuals[a||r.getValueState(t)];return d(hL.prepareVisualTypes(u),function(a){var r=u[a];i.convertOpacityToAlpha&&"opacity"===a&&(a="colorAlpha",r=u.__alphaForOpacity),hL.dependsOn(a,e)&&r&&r.applyVisual(t,n,o)}),s[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;da(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:B}),OO=Bo,EO=d,RO=Math.min,zO=Math.max,BO=12,VO=6,GO=NO.extend({type:"visualMap.continuous",init:function(){GO.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.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 i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var o=this.visualMapModel,a=o.get("textGap"),r=o.itemSize,s=this._shapes.barGroup,l=this._applyTransform([r[0]/2,0===i?-a:r[1]+a],s),u=this._applyTransform(0===i?"bottom":"top",s),h=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new rM({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===h?"middle":u,textAlign:"horizontal"===h?u:"center",text:n,textFont:c.getFont(),textFill:c.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,n=e.itemSize,o=this._orient,a=this._useHandle,r=tx(e,this.api,n),s=i.barGroup=this._createBarGroup(r);s.add(i.outOfRange=ix()),s.add(i.inRange=ix(null,a?sx(this._orient):null,m(this._dragHandle,this,"all",!1),m(this._dragHandle,this,"all",!0)));var l=e.textStyleModel.getTextRect("国"),u=zO(l.width,l.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(s,0,n,u,o,r),this._createHandle(s,1,n,u,o,r)),this._createIndicator(s,n,u,o),t.add(s)},_createHandle:function(t,e,i,n,o){var a=m(this._dragHandle,this,e,!1),r=m(this._dragHandle,this,e,!0),s=ix(nx(e,n),sx(this._orient),a,r);s.position[0]=i[0],t.add(s);var l=this.visualMapModel.textStyleModel,u=new rM({draggable:!0,drift:a,onmousemove:function(t){mw(t.event)},ondragend:r,style:{x:0,y:0,text:"",textFont:l.getFont(),textFill:l.getTextColor()}});this.group.add(u);var h=["horizontal"===o?n/2:1.5*n,"horizontal"===o?0===e?-1.5*n:1.5*n:0===e?-n/2:n/2],c=this._shapes;c.handleThumbs[e]=s,c.handleLabelPoints[e]=h,c.handleLabels[e]=u},_createIndicator:function(t,e,i,n){var o=ix([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o);var a=this.visualMapModel.textStyleModel,r=new rM({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(r);var s=["horizontal"===n?i/2:VO+3,0],l=this._shapes;l.indicator=o,l.indicatorLabel=r,l.indicatorLabelPoint=s},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var o=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,o[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():rx(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[OO(e[0],i,n,!0),OO(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,o=[0,i.itemSize[1]];QL(e,n,o,t,0);var a=i.getExtent();this._dataInterval=[OO(n[0],o,a,!0),OO(n[1],o,a,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,o=[0,e.itemSize[1]],a=t?o:this._handleEnds,r=this._createBarVisual(this._dataInterval,i,a,"inRange"),s=this._createBarVisual(i,i,o,"outOfRange");n.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(a,r)},_createBarVisual:function(t,e,i,n){var o={forceState:n,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,o),r=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],s=this._createBarPoints(i,r);return{barColor:new TM(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<100;o++){var a=t[0]+n*o;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new tb("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{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 i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,a=i.handleLabels;EO([0,1],function(r){var s=o[r];s.setStyle("fill",e.handlesColor[r]),s.position[1]=t[r];var l=Do(i.handleLabelPoints[r],Ao(s,this.group));a[r].setStyle({x:l[0],y:l[1],text:n.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var o=this.visualMapModel,a=o.getExtent(),r=o.itemSize,s=[0,r[1]],l=OO(t,a,s,!0),u=this._shapes,h=u.indicator;if(h){h.position[1]=l,h.attr("invisible",!1),h.setShape("points",ox(!!i,n,l,r[1]));var c={convertOpacityToAlpha:!0},d=this.getControllerVisual(t,"color",c);h.setStyle("fill",d);var f=Do(u.indicatorLabelPoint,Ao(h,this.group)),p=u.indicatorLabel;p.attr("invisible",!1);var g=this._applyTransform("left",u.barGroup),m=this._orient;p.setStyle({text:(i||"")+o.formatValueText(e),textVerticalAlign:"horizontal"===m?g:"middle",textAlign:"horizontal"===m?"center":g,x:f[0],y:f[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=RO(zO(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[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 i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var o=[0,n[1]],a=i.getExtent();t=RO(zO(o[0],t),o[1]);var r=ax(i,a,o),s=[t-r,t+r],l=OO(t,o,a,!0),u=[OO(s[0],o,a,!0),OO(s[1],o,a,!0)];s[0]<o[0]&&(u[0]=-1/0),s[1]>o[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var h=this._hoverLinkDataIndices,c=[];(e||rx(i))&&(c=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var d=Ri(h,c);this._dispatchHighDown("downplay",ex(d[0])),this._dispatchHighDown("highlight",ex(d[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var o=n.getData(e.dataType),a=o.get(i.getDataDimension(o),e.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_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",ex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,n){var o=Ao(e,n?null:this.group);return zM[y(t)?"applyTransform":"transformDirection"](t,o,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()}});Es({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})}),Ns(xO);var FO=LO.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(t,e){FO.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();WO[this._mode].call(this),this._resetSelected(t,e);var o=this.option.categories;this.resetVisual(function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=i(o)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=f(this._pieceList,function(t){var t=i(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){function t(t,e,i){return t&&t[e]&&(w(t[e])?t[e].hasOwnProperty(i):t[e]===i)}var e=this.option,i={},n=hL.listVisualTypes(),o=this.isCategory();d(e.pieces,function(t){d(n,function(e){t.hasOwnProperty(e)&&(i[e]=1)})}),d(i,function(i,n){var a=0;d(this.stateList,function(i){a|=t(e,i,n)||t(e.target,i,n)},this),!a&&d(this.stateList,function(t){(e[t]||(e[t]={}))[n]=wO.get(n,"inRange"===t?"active":"inactive",o)})},this),LO.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var i=this.option,n=this._pieceList,o=(e?i:t).selected||{};if(i.selected=o,d(n,function(t,e){var i=this.getSelectedMapKey(t);o.hasOwnProperty(i)||(o[i]=!0)},this),"single"===i.selectedMode){var a=!1;d(n,function(t,e){var i=this.getSelectedMapKey(t);o[i]&&(a?o[i]=!1:a=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i(t)},getValueState:function(t){var e=hL.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 n=[],o=i.getData();o.each(this.getDataDimension(o),function(e,i){hL.findPieceIndex(e,this._pieceList)===t&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){function e(e,a){var r=o.getRepresentValue({interval:e});a||(a=o.getValueState(r));var s=t(r,a);e[0]===-1/0?n[0]=s:e[1]===1/0?n[1]=s:i.push({value:e[0],color:s},{value:e[1],color:s})}if(!this.isCategory()){var i=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var r=a[0].interval[0];r!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return d(a,function(t){var i=t.interval;i&&(i[0]>s&&e([s,i[0]],"outOfRange"),e(i.slice()),s=i[1])},this),{stops:i,outerColors:n}}}}),WO={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),n=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var a=(n[1]-n[0])/o;+a.toFixed(i)!==a&&i<5;)i++;t.precision=i,a=+a.toFixed(i);var r=0;t.minOpen&&e.push({index:r++,interval:[-1/0,n[0]],close:[0,0]});for(var s=n[0],l=r+o;r<l;s+=a){var u=r===o-1?n[1]:s+a;e.push({index:r++,interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({index:r++,interval:[n[1],1/0],close:[0,0]}),Jo(e),d(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;d(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),lx(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;d(t.pieces,function(t,i){w(t)||(t={value:t});var n={text:"",index:i};if(null!=t.label&&(n.text=t.label),t.hasOwnProperty("value")){var o=n.value=t.value;n.interval=[o,o],n.close=[1,1]}else{for(var a=n.interval=[],r=n.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],h=0;h<2;h++){for(var c=[["gte","gt","min"],["lte","lt","max"]][h],d=0;d<3&&null==a[h];d++)a[h]=t[c[d]],r[h]=s[d],u[h]=2===d;null==a[h]&&(a[h]=l[h])}u[0]&&a[1]===1/0&&(r[0]=0),u[1]&&a[0]===-1/0&&(r[1]=0),a[0]===a[1]&&r[0]&&r[1]&&(n.value=a[0])}n.visual=hL.retrieveVisuals(t),e.push(n)},this),lx(t,e),Jo(e),d(e,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};NO.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),n=e.textStyleModel,o=n.getFont(),a=n.getTextColor(),r=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=T(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,h,r),d(l.viewPieceList,function(n){var l=n.piece,u=new tb;u.onclick=m(this._onItemClick,this,l),this._enableHoverLink(u,n.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),h){var d=this.visualMapModel.getValueState(c);u.add(new rM({style:{x:"right"===r?-i:s[0]+i,y:s[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:r,textFont:o,textFill:a,opacity:"outOfRange"===d?.5:1}}))}t.add(u)},this),u&&this._renderEndsText(t,u[1],s,h,r),aI(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:ex(i.findTargetDataIndices(e))})}t.on("mouseover",m(i,this,"highlight")).on("mouseout",m(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return tx(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,o){if(e){var a=new tb,r=this.visualMapModel.textStyleModel;a.add(new rM({style:{x:n?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?o:"center",text:e,textFont:r.getFont(),textFill:r.getTextColor()}})),t.add(a)}},_getViewData:function(){var t=this.visualMapModel,e=f(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),n=t.get("orient"),o=t.get("inverse");return("horizontal"===n?o:!o)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(Jl(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,o=i(n.selected),a=e.getSelectedMapKey(t);"single"===n.selectedMode?(o[a]=!0,d(o,function(t,e){o[e]=e===a})):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}});Ns(xO);var HO=ta,ZO=ia,UO=Fs({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i),this.mergeOption(t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(U_.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,i,n){var o=this.constructor,r=this.mainType+"Model";i||e.eachSeries(function(t){var i=t.get(this.mainType,!0),s=t[r];i&&i.data?(s?s.mergeOption(i,e,!0):(n&&ux(i),d(i.data,function(t){t instanceof Array?(ux(t[0]),ux(t[1])):ux(t)}),a(s=new o(i,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[r]=s):t[r]=null},this)},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),n=y(i)?f(i,HO).join(", "):HO(i),o=e.getName(t),a=ZO(this.name);return(null!=i||o)&&(a+="<br />"),o&&(a+=ZO(o),null!=i&&(a+=" : ")),null!=i&&(a+=ZO(n)),a},getData:function(){return this._data},setData:function(t){this._data=t}});h(UO,ZI),UO.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}}}});var XO=l,jO=v,YO={min:jO(dx,"min"),max:jO(dx,"max"),average:jO(dx,"average")},qO=Ws({type:"marker",init:function(){this.markerGroupMap=R()},render:function(t,e,i){var n=this.markerGroupMap;n.each(function(t){t.__keep=!1});var o=this.type+"Model";e.eachSeries(function(t){var n=t[o];n&&this.renderSeries(t,n,e,i)},this),n.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});qO.extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markPointModel;e&&(xx(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,i,n){var o=t.coordinateSystem,a=t.id,r=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new Du),u=_x(o,t,e);e.setData(u),xx(e.getData(),t,n),u.each(function(t){var i=u.getItemModel(t),n=i.getShallow("symbolSize");"function"==typeof n&&(n=n(e.getRawValue(t),e.getDataParams(t))),u.setItemVisual(t,{symbolSize:n,color:i.get("itemStyle.color")||r.getVisual("color"),symbol:i.getShallow("symbol")})}),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),l.__keep=!0,l.group.silent=e.get("silent")||t.get("silent")}}),Ns(function(t){t.markPoint=t.markPoint||{}}),UO.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});var KO=function(t,e,o,r){var s=t.getData(),l=r.type;if(!y(r)&&("min"===l||"max"===l||"average"===l||"median"===l||null!=r.xAxis||null!=r.yAxis)){var u,h;if(null!=r.yAxis||null!=r.xAxis)u=null!=r.yAxis?"y":"x",e.getAxis(u),h=T(r.yAxis,r.xAxis);else{var c=px(r,s,e,t);u=c.valueDataDim,c.valueAxis,h=yx(s,u,l)}var d="x"===u?0:1,f=1-d,p=i(r),g={};p.type=null,p.coord=[],g.coord=[],p.coord[f]=-1/0,g.coord[f]=1/0;var m=o.get("precision");m>=0&&"number"==typeof h&&(h=+h.toFixed(Math.min(m,20))),p.coord[d]=g.coord[d]=h,r=[p,g,{type:l,valueIndex:r.valueIndex,value:h}]}return r=[fx(t,r[0]),fx(t,r[1]),a({},r[2])],r[2].type=r[2].type||"",n(r[2],r[0]),n(r[2],r[1]),r};qO.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),o=e.__from,a=e.__to;o.each(function(e){Ix(o,e,!0,t,i),Ix(a,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[o.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,n){function o(e,i,o){var a=e.getItemModel(i);Ix(e,i,o,t,n),e.setItemVisual(i,{symbolSize:a.get("symbolSize")||g[o?0:1],symbol:a.get("symbol",!0)||p[o?0:1],color:a.get("itemStyle.color")||s.getVisual("color")})}var a=t.coordinateSystem,r=t.id,s=t.getData(),l=this.markerGroupMap,u=l.get(r)||l.set(r,new sf);this.group.add(u.group);var h=Tx(a,t,e),c=h.from,d=h.to,f=h.line;e.__from=c,e.__to=d,e.setData(f);var p=e.get("symbol"),g=e.get("symbolSize");y(p)||(p=[p,p]),"number"==typeof g&&(g=[g,g]),h.from.each(function(t){o(c,t,!0),o(d,t,!1)}),f.each(function(t){var e=f.getItemModel(t).get("lineStyle.color");f.setItemVisual(t,{color:e||c.getItemVisual(t,"color")}),f.setItemLayout(t,[c.getItemLayout(t),d.getItemLayout(t)]),f.setItemVisual(t,{fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol")})}),u.updateData(f),h.line.eachItemGraphicEl(function(t,i){t.traverse(function(t){t.dataModel=e})}),u.__keep=!0,u.group.silent=e.get("silent")||t.get("silent")}}),Ns(function(t){t.markLine=t.markLine||{}}),UO.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"}}}});var $O=function(t,e,i,n){var a=fx(t,n[0]),r=fx(t,n[1]),s=T,l=a.coord,u=r.coord;l[0]=s(l[0],-1/0),l[1]=s(l[1],-1/0),u[0]=s(u[0],1/0),u[1]=s(u[1],1/0);var h=o([{},a,r]);return h.coord=[a.coord,r.coord],h.x0=a.x,h.y0=a.y,h.x1=r.x,h.y1=r.y,h},JO=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];qO.extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var n=e.getData();n.each(function(e){var o=f(JO,function(o){return Lx(n,e,o,t,i)});n.setItemLayout(e,o),n.getItemGraphicEl(e).setShape("points",o)})}},this)},renderSeries:function(t,e,i,n){var o=t.coordinateSystem,a=t.id,s=t.getData(),l=this.markerGroupMap,u=l.get(a)||l.set(a,{group:new tb});this.group.add(u.group),u.__keep=!0;var h=kx(o,t,e);e.setData(h),h.each(function(e){h.setItemLayout(e,f(JO,function(i){return Lx(h,e,i,t,n)})),h.setItemVisual(e,{color:s.getVisual("color")})}),h.diff(u.__data).add(function(t){var e=new pM({shape:{points:h.getItemLayout(t)}});h.setItemGraphicEl(t,e),u.group.add(e)}).update(function(t,i){var n=u.__data.getItemGraphicEl(i);Io(n,{shape:{points:h.getItemLayout(t)}},e,t),u.group.add(n),h.setItemGraphicEl(t,n)}).remove(function(t){var e=u.__data.getItemGraphicEl(t);u.group.remove(e)}).execute(),h.eachItemGraphicEl(function(t,i){var n=h.getItemModel(i),o=n.getModel("label"),a=n.getModel("emphasis.label"),s=h.getItemVisual(i,"color");t.useStyle(r(n.getModel("itemStyle").getItemStyle(),{fill:Yt(s,.4),stroke:s})),t.hoverStyle=n.getModel("emphasis.itemStyle").getItemStyle(),go(t.style,t.hoverStyle,o,a,{labelFetcher:e,labelDataIndex:i,defaultText:h.getName(i)||"",isRectText:!0,autoColor:s}),fo(t,{}),t.dataModel=e}),u.__data=h,u.group.silent=e.get("silent")||t.get("silent")}}),Ns(function(t){t.markArea=t.markArea||{}});lI.registerSubTypeDefaulter("timeline",function(){return"slider"}),Es({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline"),r({currentIndex:i.option.currentIndex},t)}),Es({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)});var QO=lI.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,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){QO.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 t=this.option,e=t.data||[],n=t.axisType,o=this._names=[];if("category"===n){var a=[];d(e,function(t,e){var n,r=Li(t);w(t)?(n=i(t)).value=e:n=e,a.push(n),_(r)||null!=r&&!isNaN(r)||(r=""),o.push(r+"")}),e=a}var r={category:"ordinal",time:"time"}[n]||"number";(this._data=new vA([{name:"value",type:r}],this)).initData(e,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});h(QO.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:[]}}),ZI);var tE=qI.extend({type:"timeline"}),eE=function(t,e,i,n){aD.call(this,t,e,i),this.type=n||"value",this.model=null};eE.prototype={constructor:eE,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},u(eE,aD);var iE=m,nE=d,oE=Math.PI;tE.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,i,n){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var o=this._layout(t,i),a=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,t);t.formatTooltip=function(t){return ia(s.scale.getLabel(t))},nE(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](o,a,s,t)},this),this._renderAxisLabel(o,r,s,t),this._position(o,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var i=t.get("label.position"),n=t.get("orient"),o=Ex(t,e);null==i||"auto"===i?i="horizontal"===n?o.y+o.height/2<e.getHeight()/2?"-":"+":o.x+o.width/2<e.getWidth()/2?"+":"-":isNaN(i)&&(i={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[n][i]);var a={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},r={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},s={horizontal:0,vertical:oE/2},l="vertical"===n?o.height:o.width,u=t.getModel("controlStyle"),h=u.get("show",!0),c=h?u.get("itemSize"):0,d=h?u.get("itemGap"):0,f=c+d,p=t.get("label.rotate")||0;p=p*oE/180;var g,m,v,y,x=u.get("position",!0),_=h&&u.get("showPlayBtn",!0),w=h&&u.get("showPrevBtn",!0),b=h&&u.get("showNextBtn",!0),S=0,M=l;return"left"===x||"bottom"===x?(_&&(g=[0,0],S+=f),w&&(m=[S,0],S+=f),b&&(v=[M-c,0],M-=f)):(_&&(g=[M-c,0],M-=f),w&&(m=[0,0],S+=f),b&&(v=[M-c,0],M-=f)),y=[S,M],t.get("inverse")&&y.reverse(),{viewRect:o,mainLength:l,orient:n,rotation:s[n],labelRotation:p,labelPosOpt:i,labelAlign:t.get("label.align")||a[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||r[n],playPosition:g,prevBtnPosition:m,nextBtnPosition:v,axisExtent:y,controlSize:c,controlGap:d}},_position:function(t,e){function i(t){var e=t.position;t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}function n(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function o(t,e,i,n,o){t[n]+=i[n][o]-e[n][o]}var a=this._mainGroup,r=this._labelGroup,s=t.viewRect;if("vertical"===t.orient){var l=xt(),u=s.x,h=s.y+s.height;St(l,l,[-u,-h]),Mt(l,l,-oE/2),St(l,l,[u,h]),(s=s.clone()).applyTransform(l)}var c=n(s),d=n(a.getBoundingRect()),f=n(r.getBoundingRect()),p=a.position,g=r.position;g[0]=p[0]=c[0][0];var m=t.labelPosOpt;if(isNaN(m))o(p,d,c,1,v="+"===m?0:1),o(g,f,c,1,1-v);else{var v=m>=0?0:1;o(p,d,c,1,v),g[1]=p[1]+m}a.attr("position",p),r.attr("position",g),a.rotation=r.rotation=t.rotation,i(a),i(r)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),o=Hl(e,n);o.getTicks=function(){return i.mapArray(["value"],function(t){return t})};var a=i.getDataExtent("value");o.setExtent(a[0],a[1]),o.niceTicks();var r=new eE("value",o,t.axisExtent,n);return r.model=e,r},_createGroup:function(t){var e=this["_"+t]=new tb;return this.group.add(e),e},_renderAxisLine:function(t,e,i,n){var o=i.getExtent();n.get("lineStyle.show")&&e.add(new _M({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:a({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var o=n.getData(),a=i.scale.getTicks();nE(a,function(t){var a=i.dataToCoord(t),r=o.getItemModel(t),s=r.getModel("itemStyle"),l=r.getModel("emphasis.itemStyle"),u={position:[a,0],onclick:iE(this._changeTimeline,this,t)},h=zx(r,s,e,u);fo(h,l.getItemStyle()),r.get("tooltip")?(h.dataIndex=t,h.dataModel=n):h.dataIndex=h.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){if(i.getLabelModel().get("show")){var o=n.getData(),a=i.getViewLabels();nE(a,function(n){var a=n.tickValue,r=o.getItemModel(a),s=r.getModel("label"),l=r.getModel("emphasis.label"),u=i.dataToCoord(n.tickValue),h=new rM({position:[u,0],rotation:t.labelRotation-t.rotation,onclick:iE(this._changeTimeline,this,a),silent:!1});mo(h.style,s,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),fo(h,mo({},l))},this)}},_renderControl:function(t,e,i,n){function o(t,i,o,h){if(t){var c=Rx(n,i,u,{position:t,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:o});e.add(c),fo(c,l)}}var a=t.controlSize,r=t.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],h=n.getPlayState(),c=n.get("inverse",!0);o(t.nextBtnPosition,"controlStyle.nextIcon",iE(this._changeTimeline,this,c?"-":"+")),o(t.prevBtnPosition,"controlStyle.prevIcon",iE(this._changeTimeline,this,c?"+":"-")),o(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),iE(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,i,n){var o=n.getData(),a=n.getCurrentIndex(),r=o.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=iE(s._handlePointerDrag,s),t.ondragend=iE(s._handlePointerDragend,s),Bx(t,a,i,n,!0)},onUpdate:function(t){Bx(t,a,i,n)}};this._currentPointer=zx(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=Fo(this._axis.getExtent().slice());i>n[1]&&(i=n[1]),i<n[0]&&(i=n[0]),this._currentPointer.position[0]=i,this._currentPointer.dirty();var o=this._findNearestTick(i),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(iE(function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(t){return Do(t,this._mainGroup.getLocalTransform(),!0)},_findNearestTick:function(t){var e,i=this.model.getData(),n=1/0,o=this._axis;return i.each(["value"],function(i,a){var r=o.dataToCoord(i),s=Math.abs(r-t);s<n&&(n=s,e=a)}),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}}),Ns(function(t){var e=t&&t.timeline;y(e)||(e=e?[e]:[]),d(e,function(t){t&&Px(t)})});var aE=Fs({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){aE.superApply(this,"optionUpdated",arguments),d(this.option.feature,function(t,e){var i=Ay(e);i&&n(t,i.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"}}}});Ws({type:"toolbox",render:function(t,e,i,n){function o(o,r){var s,c=h[o],d=h[r],f=new No(l[c],t,t.ecModel);if(c&&!d){if(Vx(c))s={model:f,onclick:f.option.onclick,featureName:c};else{var p=Ay(c);if(!p)return;s=new p(f,e,i)}u[c]=s}else{if(!(s=u[d]))return;s.model=f,s.ecModel=e,s.api=i}c||!d?f.get("show")&&!s.unusable?(a(f,s,c),f.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},s.render&&s.render(f,e,i,n)):s.remove&&s.remove(e,i):s.dispose&&s.dispose(e,i)}function a(n,o,a){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),h=o.getIcons?o.getIcons():n.get("icon"),c=n.get("title")||{};if("string"==typeof h){var f=h,p=c;c={},(h={})[a]=f,c[a]=p}var g=n.iconPaths={};d(h,function(a,h){var d=Po(a,{},{x:-s/2,y:-s/2,width:s,height:s});d.setStyle(l.getItemStyle()),d.hoverStyle=u.getItemStyle(),fo(d),t.get("showTitle")&&(d.__title=c[h],d.on("mouseover",function(){var t=u.getItemStyle();d.setStyle({text:c[h],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){d.setStyle({textFill:null})})),d.trigger(n.get("iconStatus."+h)||"normal"),r.add(d),d.on("click",m(o.onclick,o,e,i,h)),g[h]=d})}var r=this.group;if(r.removeAll(),t.get("show")){var s=+t.get("itemSize"),l=t.get("feature")||{},u=this._features||(this._features={}),h=[];d(l,function(t,e){h.push(e)}),new Xs(this._featureNames||[],h).add(o).update(o).remove(v(o,null)).execute(),this._featureNames=h,_v(r,t,i),r.add(wv(r.getBoundingRect(),t)),r.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var o=ke(e,Xe(n)),a=t.position[0]+r.position[0],l=!1;t.position[1]+r.position[1]+s+o.height>i.getHeight()&&(n.textPosition="top",l=!0);var u=l?-5-o.height:s+8;a+o.width/2>i.getWidth()?(n.textPosition=["100%",u],n.textAlign="right"):a-o.width/2<0&&(n.textPosition=[0,u],n.textAlign="left")}})}},updateView:function(t,e,i,n){d(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},remove:function(t,e){d(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){d(this._features,function(i){i.dispose&&i.dispose(t,e)})}});var rE=rT.toolbox.saveAsImage;Gx.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:rE.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:rE.lang.slice()},Gx.prototype.unusable=!U_.canvasSupported,Gx.prototype.onclick=function(t,e){var i=this.model,n=i.get("name")||t.get("title.0.text")||"echarts",o=document.createElement("a"),a=i.get("type",!0)||"png";o.download=n+"."+a,o.target="_blank";var r=e.getConnectedDataURL({type:a,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(o.href=r,"function"!=typeof MouseEvent||U_.browser.ie||U_.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(r.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var h=new Blob([u]);window.navigator.msSaveOrOpenBlob(h,n+"."+a)}else{var c=i.get("lang"),d='<body style="margin:0;"><img src="'+r+'" style="max-width:100%;" title="'+(c&&c[0]||"")+'" /></body>';window.open().document.write(d)}else{var f=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(f)}},Ty("saveAsImage",Gx);var sE=rT.toolbox.magicType;Fx.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",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:i(sE.title),option:{},seriesIndex:{}};var lE=Fx.prototype;lE.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return d(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var uE={line:function(t,e,i,o){if("bar"===t)return n({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},o.get("option.line")||{},!0)},bar:function(t,e,i,o){if("line"===t)return n({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},o.get("option.bar")||{},!0)},stack:function(t,e,i,o){if("line"===t||"bar"===t)return n({id:e,stack:"__ec_magicType_stack__"},o.get("option.stack")||{},!0)},tiled:function(t,e,i,o){if("line"===t||"bar"===t)return n({id:e,stack:""},o.get("option.tiled")||{},!0)}},hE=[["line","bar"],["stack","tiled"]];lE.onclick=function(t,e,i){var n=this.model,o=n.get("seriesIndex."+i);if(uE[i]){var a={series:[]};d(hE,function(t){l(t,i)>=0&&d(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(e){var o=e.subType,s=e.id,l=uE[i](o,s,e,n);l&&(r(l,e.option),a.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var c=h.dim+"Axis",d=t.queryComponents({mainType:c,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;a[c]=a[c]||[];for(var f=0;f<=d;f++)a[c][d]=a[c][d]||{};a[c][d].boundaryGap="bar"===i}}}),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:a})}},Es({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),Ty("magicType",Fx);var cE=rT.toolbox.dataView,dE=new Array(60).join("-"),fE="\t",pE=new RegExp("["+fE+"]+","g");$x.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:i(cE.title),lang:i(cE.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},$x.prototype.onclick=function(t,e){function i(){n.removeChild(a),x._dom=null}var n=e.getDom(),o=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=o.get("backgroundColor")||"#fff";var r=document.createElement("h4"),s=o.get("lang")||[];r.innerHTML=s[0]||o.get("title"),r.style.cssText="margin: 10px 20px;",r.style.color=o.get("textColor");var l=document.createElement("div"),u=document.createElement("textarea");l.style.cssText="display:block;width:100%;overflow:auto;";var h=o.get("optionToContent"),c=o.get("contentToOption"),d=Ux(t);if("function"==typeof h){var f=h(e.getOption());"string"==typeof f?l.innerHTML=f:M(f)&&l.appendChild(f)}else l.appendChild(u),u.readOnly=o.get("readOnly"),u.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",u.style.color=o.get("textColor"),u.style.borderColor=o.get("textareaBorderColor"),u.style.backgroundColor=o.get("textareaColor"),u.value=d.value;var p=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:0;left:0;right:0;";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");m+=";background-color:"+o.get("buttonColor"),m+=";color:"+o.get("buttonTextColor");var x=this;ht(v,"click",i),ht(y,"click",function(){var t;try{t="function"==typeof c?c(l,e.getOption()):Kx(u.value,p)}catch(t){throw i(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),i()}),v.innerHTML=s[1],y.innerHTML=s[2],y.style.cssText=m,v.style.cssText=m,!o.get("readOnly")&&g.appendChild(y),g.appendChild(v),ht(u,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,i=this.selectionStart,n=this.selectionEnd;this.value=e.substring(0,i)+fE+e.substring(n),this.selectionStart=this.selectionEnd=i+1,mw(t)}}),a.appendChild(r),a.appendChild(l),a.appendChild(g),l.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},$x.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},$x.prototype.dispose=function(t,e){this.remove(t,e)},Ty("dataView",$x),Es({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];d(t.newOption.series,function(t){var n=e.getSeriesByName(t.name)[0];if(n){var o=n.get("data");i.push({name:t.name,data:Jx(t.data,o)})}else i.push(a({type:"scatter"},t))}),e.mergeOption(r({series:i},t.newOption))});var gE=d,mE="\0_ec_hist_store";iO.extend({type:"dataZoom.select"}),nO.extend({type:"dataZoom.select"});var vE=rT.toolbox.dataZoom,yE=d,xE="\0_ec_\0toolbox-dataZoom_";o_.defaultOption={show:!0,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:i(vE.title)};var _E=o_.prototype;_E.render=function(t,e,i,n){this.model=t,this.ecModel=e,this.api=i,s_(t,e,this,n,i),r_(t,e)},_E.onclick=function(t,e,i){wE[i].call(this)},_E.remove=function(t,e){this._brushController.unmount()},_E.dispose=function(t,e){this._brushController.dispose()};var wE={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(t_(this.ecModel))}};_E._onBrush=function(t,e){function i(t,e,i){var r=e.getAxis(t),s=r.model,l=n(t,s,a),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=QL(0,i.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(o[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function n(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}if(e.isEnd&&t.length){var o={},a=this.ecModel;this._brushController.updateCovers([]),new hy(a_(this.model.option),a,{include:["grid"]}).matchOutputRanges(t,a,function(t,e,n){if("cartesian2d"===n.type){var o=t.brushType;"rect"===o?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[o],n,e)}}),Qx(a,o),this._dispatchZoomAction(o)}},_E._dispatchZoomAction=function(t){var e=[];yE(t,function(t,n){e.push(i(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},Ty("dataZoom",o_),Ns(function(t){function e(t,e){if(e){var o=t+"Index",a=e[o];null==a||"all"===a||y(a)||(a=!1===a||"none"===a?[]:[a]),i(t,function(e,i){if(null==a||"all"===a||-1!==l(a,i)){var r={type:"select",$fromToolbox:!0,id:xE+t+i};r[o]=i,n.push(r)}})}}function i(e,i){var n=t[e];y(n)||(n=n?[n]:[]),yE(n,i)}if(t){var n=t.dataZoom||(t.dataZoom=[]);y(n)||(t.dataZoom=n=[n]);var o=t.toolbox;if(o&&(y(o)&&(o=o[0]),o&&o.feature)){var a=o.feature.dataZoom;e("xAxis",a),e("yAxis",a)}}});var bE=rT.toolbox.restore;l_.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:bE.title},l_.prototype.onclick=function(t,e,i){e_(t),e.dispatchAction({type:"restore",from:this.uid})},Ty("restore",l_),Es({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var SE,ME="urn:schemas-microsoft-com:vml",IE="undefined"==typeof window?null:window,TE=!1,AE=IE&&IE.document;if(AE&&!U_.canvasSupported)try{!AE.namespaces.zrvml&&AE.namespaces.add("zrvml",ME),SE=function(t){return AE.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){SE=function(t){return AE.createElement("<"+t+' xmlns="'+ME+'" class="zrvml">')}}var DE=ES.CMD,CE=Math.round,LE=Math.sqrt,kE=Math.abs,PE=Math.cos,NE=Math.sin,OE=Math.max;if(!U_.canvasSupported){var EE=21600,RE=EE/2,zE=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=EE+","+EE,t.coordorigin="0,0"},BE=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},VE=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},GE=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},FE=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},WE=function(t,e,i){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+i},HE=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},ZE=function(t,e,i){var n=Gt(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=VE(n[0],n[1],n[2]),t.opacity=i*n[3])},UE=function(t){var e=Gt(t);return[VE(e[0],e[1],e[2]),e[3]]},XE=function(t,e,i){var n=e.fill;if(null!=n)if(n instanceof IM){var o,a=0,r=[0,0],s=0,l=1,u=i.getBoundingRect(),h=u.width,c=u.height;if("linear"===n.type){o="gradient";var d=i.transform,f=[n.x*h,n.y*c],p=[n.x2*h,n.y2*c];d&&(Q(f,f,d),Q(p,p,d));var g=p[0]-f[0],m=p[1]-f[1];(a=180*Math.atan2(g,m)/Math.PI)<0&&(a+=360),a<1e-6&&(a=0)}else{o="gradientradial";var f=[n.x*h,n.y*c],d=i.transform,v=i.scale,y=h,x=c;r=[(f[0]-u.x)/y,(f[1]-u.y)/x],d&&Q(f,f,d),y/=v[0]*EE,x/=v[1]*EE;var _=OE(y,x);s=0/_,l=2*n.r/_-s}var w=n.colorStops.slice();w.sort(function(t,e){return t.offset-e.offset});for(var b=w.length,S=[],M=[],I=0;I<b;I++){var T=w[I],A=UE(T.color);M.push(T.offset*l+s+" "+A[0]),0!==I&&I!==b-1||S.push(A)}if(b>=2){var D=S[0][0],C=S[1][0],L=S[0][1]*e.opacity,k=S[1][1]*e.opacity;t.type=o,t.method="none",t.focus="100%",t.angle=a,t.color=D,t.color2=C,t.colors=M.join(","),t.opacity=k,t.opacity2=L}"radial"===o&&(t.focusposition=r.join(","))}else ZE(t,n,e.opacity)},jE=function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof IM||ZE(t,e.stroke,e.opacity)},YE=function(t,e,i,n){var o="fill"===e,a=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(o||!o&&i.lineWidth)?(t[o?"filled":"stroked"]="true",i[e]instanceof IM&&FE(t,a),a||(a=u_(e)),o?XE(a,i,n):jE(a,i),GE(t,a)):(t[o?"filled":"stroked"]="false",FE(t,a))},qE=[[],[],[]],KE=function(t,e){var i,n,o,a,r,s,l=DE.M,u=DE.C,h=DE.L,c=DE.A,d=DE.Q,f=[],p=t.data,g=t.len();for(a=0;a<g;){switch(o=p[a++],n="",i=0,o){case l:n=" m ",i=1,r=p[a++],s=p[a++],qE[0][0]=r,qE[0][1]=s;break;case h:n=" l ",i=1,r=p[a++],s=p[a++],qE[0][0]=r,qE[0][1]=s;break;case d:case u:n=" c ",i=3;var m,v,y=p[a++],x=p[a++],_=p[a++],w=p[a++];o===d?(m=_,v=w,_=(_+2*y)/3,w=(w+2*x)/3,y=(r+2*y)/3,x=(s+2*x)/3):(m=p[a++],v=p[a++]),qE[0][0]=y,qE[0][1]=x,qE[1][0]=_,qE[1][1]=w,qE[2][0]=m,qE[2][1]=v,r=m,s=v;break;case c:var b=0,S=0,M=1,I=1,T=0;e&&(b=e[4],S=e[5],M=LE(e[0]*e[0]+e[1]*e[1]),I=LE(e[2]*e[2]+e[3]*e[3]),T=Math.atan2(-e[1]/I,e[0]/M));var A=p[a++],D=p[a++],C=p[a++],L=p[a++],k=p[a++]+T,P=p[a++]+k+T;a++;var N=p[a++],O=A+PE(k)*C,E=D+NE(k)*L,y=A+PE(P)*C,x=D+NE(P)*L,R=N?" wa ":" at ";Math.abs(O-y)<1e-4&&(Math.abs(P-k)>.01?N&&(O+=.0125):Math.abs(E-D)<1e-4?N&&O<A||!N&&O>A?x-=.0125:x+=.0125:N&&E<D||!N&&E>D?y+=.0125:y-=.0125),f.push(R,CE(((A-C)*M+b)*EE-RE),",",CE(((D-L)*I+S)*EE-RE),",",CE(((A+C)*M+b)*EE-RE),",",CE(((D+L)*I+S)*EE-RE),",",CE((O*M+b)*EE-RE),",",CE((E*I+S)*EE-RE),",",CE((y*M+b)*EE-RE),",",CE((x*I+S)*EE-RE)),r=y,s=x;break;case DE.R:var z=qE[0],B=qE[1];z[0]=p[a++],z[1]=p[a++],B[0]=z[0]+p[a++],B[1]=z[1]+p[a++],e&&(Q(z,z,e),Q(B,B,e)),z[0]=CE(z[0]*EE-RE),B[0]=CE(B[0]*EE-RE),z[1]=CE(z[1]*EE-RE),B[1]=CE(B[1]*EE-RE),f.push(" m ",z[0],",",z[1]," l ",B[0],",",z[1]," l ",B[0],",",B[1]," l ",z[0],",",B[1]);break;case DE.Z:f.push(" x ")}if(i>0){f.push(n);for(var V=0;V<i;V++){var G=qE[V];e&&Q(G,G,e),f.push(CE(G[0]*EE-RE),",",CE(G[1]*EE-RE),V<i-1?",":"")}}}return f.join("")};Pn.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=u_("shape"),zE(i),this._vmlEl=i),YE(i,"fill",e,this),YE(i,"stroke",e,this);var n=this.transform,o=null!=n,a=i.getElementsByTagName("stroke")[0];if(a){var r=e.lineWidth;if(o&&!e.strokeNoScale){var s=n[0]*n[3]-n[1]*n[2];r*=LE(kE(s))}a.weight=r+"px"}var l=this.path||(this.path=new ES);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),i.path=KE(l,this.transform),i.style.zIndex=WE(this.zlevel,this.z,this.z2),GE(t,i),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},Pn.prototype.onRemove=function(t){FE(t,this._vmlEl),this.removeRectText(t)},Pn.prototype.onAdd=function(t){GE(t,this._vmlEl),this.appendRectText(t)};var $E=function(t){return"object"==typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};fi.prototype.brushVML=function(t){var e,i,n=this.style,o=n.image;if($E(o)){var a=o.src;if(a===this._imageSrc)e=this._imageWidth,i=this._imageHeight;else{var r=o.runtimeStyle,s=r.width,l=r.height;r.width="auto",r.height="auto",e=o.width,i=o.height,r.width=s,r.height=l,this._imageSrc=a,this._imageWidth=e,this._imageHeight=i}o=a}else o===this._imageSrc&&(e=this._imageWidth,i=this._imageHeight);if(o){var u=n.x||0,h=n.y||0,c=n.width,d=n.height,f=n.sWidth,p=n.sHeight,g=n.sx||0,m=n.sy||0,v=f&&p,y=this._vmlEl;y||(y=AE.createElement("div"),zE(y),this._vmlEl=y);var x,_=y.style,w=!1,b=1,S=1;if(this.transform&&(x=this.transform,b=LE(x[0]*x[0]+x[1]*x[1]),S=LE(x[2]*x[2]+x[3]*x[3]),w=x[1]||x[2]),w){var M=[u,h],I=[u+c,h],T=[u,h+d],A=[u+c,h+d];Q(M,M,x),Q(I,I,x),Q(T,T,x),Q(A,A,x);var D=OE(M[0],I[0],T[0],A[0]),C=OE(M[1],I[1],T[1],A[1]),L=[];L.push("M11=",x[0]/b,",","M12=",x[2]/S,",","M21=",x[1]/b,",","M22=",x[3]/S,",","Dx=",CE(u*b+x[4]),",","Dy=",CE(h*S+x[5])),_.padding="0 "+CE(D)+"px "+CE(C)+"px 0",_.filter="progid:DXImageTransform.Microsoft.Matrix("+L.join("")+", SizingMethod=clip)"}else x&&(u=u*b+x[4],h=h*S+x[5]),_.filter="",_.left=CE(u)+"px",_.top=CE(h)+"px";var k=this._imageEl,P=this._cropEl;k||(k=AE.createElement("div"),this._imageEl=k);var N=k.style;if(v){if(e&&i)N.width=CE(b*e*c/f)+"px",N.height=CE(S*i*d/p)+"px";else{var O=new Image,E=this;O.onload=function(){O.onload=null,e=O.width,i=O.height,N.width=CE(b*e*c/f)+"px",N.height=CE(S*i*d/p)+"px",E._imageWidth=e,E._imageHeight=i,E._imageSrc=o},O.src=o}P||((P=AE.createElement("div")).style.overflow="hidden",this._cropEl=P);var R=P.style;R.width=CE((c+g*c/f)*b),R.height=CE((d+m*d/p)*S),R.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-g*c/f*b+",Dy="+-m*d/p*S+")",P.parentNode||y.appendChild(P),k.parentNode!==P&&P.appendChild(k)}else N.width=CE(b*c)+"px",N.height=CE(S*d)+"px",y.appendChild(k),P&&P.parentNode&&(y.removeChild(P),this._cropEl=null);var z="",B=n.opacity;B<1&&(z+=".Alpha(opacity="+CE(100*B)+") "),z+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+o+", SizingMethod=scale)",N.filter=z,y.style.zIndex=WE(this.zlevel,this.z,this.z2),GE(t,y),null!=n.text&&this.drawRectText(t,this.getBoundingRect())}},fi.prototype.onRemove=function(t){FE(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},fi.prototype.onAdd=function(t){GE(t,this._vmlEl),this.appendRectText(t)};var JE,QE={},tR=0,eR=document.createElement("div"),iR=function(t){var e=QE[t];if(!e){tR>100&&(tR=0,QE={});var i,n=eR.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(t){}e={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},QE[t]=e,tR++}return e};!function(t,e){bb[t]=e}("measureText",function(t,e){var i=AE;JE||((JE=i.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",AE.body.appendChild(JE));try{JE.style.font=e}catch(t){}return JE.innerHTML="",JE.appendChild(i.createTextNode(t)),{width:JE.offsetWidth}});for(var nR=new de,oR=[Db,di,fi,Pn,rM],aR=0;aR<oR.length;aR++){var rR=oR[aR].prototype;rR.drawRectText=function(t,e,i,n){var o=this.style;this.__dirty&&Ye(o);var a=o.text;if(null!=a&&(a+=""),a){if(o.rich){var r=Ze(a,o);a=[];for(var s=0;s<r.lines.length;s++){for(var l=r.lines[s].tokens,u=[],h=0;h<l.length;h++)u.push(l[h].text);a.push(u.join(""))}a=a.join("\n")}var c,d,f=o.textAlign,p=o.textVerticalAlign,g=iR(o.font),m=g.style+" "+g.variant+" "+g.weight+" "+g.size+'px "'+g.family+'"';i=i||ke(a,m,f,p,o.textPadding,o.textLineHeight);var v=this.transform;if(v&&!n&&(nR.copy(e),nR.applyTransform(v),e=nR),n)c=e.x,d=e.y;else{var y=o.textPosition,x=o.textDistance;if(y instanceof Array)c=e.x+HE(y[0],e.width),d=e.y+HE(y[1],e.height),f=f||"left";else{var _=Re(y,e,x);c=_.x,d=_.y,f=f||_.textAlign,p=p||_.textVerticalAlign}}c=Oe(c,i.width,f),d=Ee(d,i.height,p),d+=i.height/2;var w,b,S,M=u_,I=this._textVmlEl;I?b=(w=(S=I.firstChild).nextSibling).nextSibling:(I=M("line"),w=M("path"),b=M("textpath"),S=M("skew"),b.style["v-text-align"]="left",zE(I),w.textpathok=!0,b.on=!0,I.from="0 0",I.to="1000 0.05",GE(I,S),GE(I,w),GE(I,b),this._textVmlEl=I);var T=[c,d],A=I.style;v&&n?(Q(T,T,v),S.on=!0,S.matrix=v[0].toFixed(3)+","+v[2].toFixed(3)+","+v[1].toFixed(3)+","+v[3].toFixed(3)+",0,0",S.offset=(CE(T[0])||0)+","+(CE(T[1])||0),S.origin="0 0",A.left="0px",A.top="0px"):(S.on=!1,A.left=CE(c)+"px",A.top=CE(d)+"px"),b.string=BE(a);try{b.style.font=m}catch(t){}YE(I,"fill",{fill:o.textFill,opacity:o.opacity},this),YE(I,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),I.style.zIndex=WE(this.zlevel,this.z,this.z2),GE(t,I)}},rR.removeRectText=function(t){FE(t,this._textVmlEl),this._textVmlEl=null},rR.appendRectText=function(t){GE(t,this._textVmlEl)}}rM.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},rM.prototype.onRemove=function(t){this.removeRectText(t)},rM.prototype.onAdd=function(t){this.appendRectText(t)}}d_.prototype={constructor:d_,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},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,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t.length;i++){var n=t[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(e),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(e),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,e),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){var t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!==t||this._height!==e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i.height=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||c_(e.width))-c_(e.paddingLeft)-c_(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||c_(e.height))-c_(e.paddingTop)-c_(e.paddingBottom)|0}},d(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){d_.prototype[t]=f_(t)}),Ti("vml",d_);var sR="http://www.w3.org/2000/svg",lR=ES.CMD,uR=Array.prototype.join,hR="none",cR=Math.round,dR=Math.sin,fR=Math.cos,pR=Math.PI,gR=2*Math.PI,mR=180/pR,vR=1e-4,yR={};yR.brush=function(t){var e=t.style,i=t.__svgEl;i||(i=p_("path"),t.__svgEl=i),t.path||t.createPathProxy();var n=t.path;if(t.__dirtyPath){n.beginPath(),n.subPixelOptimize=!1,t.buildPath(n,t.shape),t.__dirtyPath=!1;var o=S_(n);o.indexOf("NaN")<0&&__(i,"d",o)}b_(i,e,!1,t),x_(i,t.transform),null!=e.text&&bR(t,t.getBoundingRect())};var xR={};xR.brush=function(t){var e=t.style,i=e.image;if(i instanceof HTMLImageElement&&(i=i.src),i){var n=e.x||0,o=e.y||0,a=e.width,r=e.height,s=t.__svgEl;s||(s=p_("image"),t.__svgEl=s),i!==t.__imageSrc&&(w_(s,"href",i),t.__imageSrc=i),__(s,"width",a),__(s,"height",r),__(s,"x",n),__(s,"y",o),x_(s,t.transform),null!=e.text&&bR(t,t.getBoundingRect())}};var _R={},wR=new de,bR=function(t,e,i){var n=t.style;t.__dirty&&Ye(n);var o=n.text;if(null!=o){o+="";var a=t.__textSvgEl;a||(a=p_("text"),t.__textSvgEl=a);var r,s,l=n.textPosition,u=n.textDistance,h=n.textAlign||"left";"number"==typeof n.fontSize&&(n.fontSize+="px");var c=n.font||[n.fontStyle||"",n.fontWeight||"",n.fontSize||"",n.fontFamily||""].join(" ")||wb,d=M_(n.textVerticalAlign),f=(i=ke(o,c,h,d,n.textPadding,n.textLineHeight)).lineHeight;if(l instanceof Array)r=e.x+l[0],s=e.y+l[1];else{var p=Re(l,e,u);r=p.x,s=p.y,d=M_(p.textVerticalAlign),h=p.textAlign}__(a,"alignment-baseline",d),c&&(a.style.font=c);var g=n.textPadding;if(__(a,"x",r),__(a,"y",s),b_(a,n,!0,t),t instanceof rM||t.style.transformText)x_(a,t.transform);else{if(t.transform)wR.copy(e),wR.applyTransform(t.transform),e=wR;else{var m=t.transformCoordToGlobal(e.x,e.y);e.x=m[0],e.y=m[1],t.transform=_t(xt())}var v=n.textOrigin;"center"===v?(r=i.width/2+r,s=i.height/2+s):v&&(r=v[0]+r,s=v[1]+s);var y=-n.textRotation||0,x=xt();Mt(x,x,y),St(x,x,m=[t.transform[4],t.transform[5]]),x_(a,x)}var _=o.split("\n"),w=_.length,b=h;"left"===b?(b="start",g&&(r+=g[3])):"right"===b?(b="end",g&&(r-=g[1])):"center"===b&&(b="middle",g&&(r+=(g[3]-g[1])/2));var S=0;if("after-edge"===d?(S=-i.height+f,g&&(S-=g[2])):"middle"===d?(S=(-i.height+f)/2,g&&(s+=(g[0]-g[2])/2)):g&&(S+=g[0]),t.__text!==o||t.__textFont!==c){var M=t.__tspanList||[];t.__tspanList=M;for(T=0;T<w;T++)(A=M[T])?A.innerHTML="":(A=M[T]=p_("tspan"),a.appendChild(A),__(A,"alignment-baseline",d),__(A,"text-anchor",b)),__(A,"x",r),__(A,"y",s+T*f+S),A.appendChild(document.createTextNode(_[T]));for(;T<M.length;T++)a.removeChild(M[T]);M.length=w,t.__text=o,t.__textFont=c}else if(t.__tspanList.length)for(var I=t.__tspanList.length,T=0;T<I;++T){var A=t.__tspanList[T];A&&(__(A,"x",r),__(A,"y",s+T*f+S))}}};_R.drawRectText=bR,_R.brush=function(t){var e=t.style;null!=e.text&&(e.textPosition=[0,0],bR(t,{x:e.x||0,y:e.y||0,width:0,height:0},t.getBoundingRect()))},I_.prototype={diff:function(t,e,i){i||(i=function(t,e){return t===e}),this.equals=i;var n=this;t=t.slice();var o=(e=e.slice()).length,a=t.length,r=1,s=o+a,l=[{newPos:-1,components:[]}],u=this.extractCommon(l[0],e,t,0);if(l[0].newPos+1>=o&&u+1>=a){for(var h=[],c=0;c<e.length;c++)h.push(c);return[{indices:h,count:e.length}]}for(;r<=s;){var d=function(){for(var i=-1*r;i<=r;i+=2){var s,u=l[i-1],h=l[i+1],c=(h?h.newPos:0)-i;u&&(l[i-1]=void 0);var d=u&&u.newPos+1<o,f=h&&0<=c&&c<a;if(d||f){if(!d||f&&u.newPos<h.newPos?(s=A_(h),n.pushComponent(s.components,void 0,!0)):((s=u).newPos++,n.pushComponent(s.components,!0,void 0)),c=n.extractCommon(s,e,t,i),s.newPos+1>=o&&c+1>=a)return T_(0,s.components);l[i]=s}else l[i]=void 0}r++}();if(d)return d}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){for(var o=e.length,a=i.length,r=t.newPos,s=r-n,l=0;r+1<o&&s+1<a&&this.equals(e[r+1],i[s+1]);)r++,s++,l++;return l&&t.components.push({count:l}),t.newPos=r,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var SR=new I_,MR=function(t,e,i){return SR.diff(t,e,i)};D_.prototype.createElement=p_,D_.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},D_.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"==typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},D_.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},D_.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},D_.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return d(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),e},D_.prototype.markAllUnused=function(){var t=this;d(this.getDoms(),function(e){e[t._markLabel]="0"})},D_.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},D_.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this;d(this.getDoms(),function(i){"1"!==i[e._markLabel]&&t.removeChild(i)})}},D_.prototype.getSvgProxy=function(t){return t instanceof Pn?yR:t instanceof fi?xR:t instanceof rM?_R:yR},D_.prototype.getTextSvgElement=function(t){return t.__textSvgEl},D_.prototype.getSvgElement=function(t){return t.__svgEl},u(C_,D_),C_.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;d(["fill","stroke"],function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var o,a=e.style[n],r=i.getDefs(!0);a._dom?(o=a._dom,r.contains(a._dom)||i.addDom(o)):o=i.add(a),i.markUsed(e);var s=o.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}})}},C_.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return Yw("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},C_.prototype.update=function(t){var e=this;D_.prototype.update.call(this,t,function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))})},C_.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void Yw("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,o=i.length;n<o;++n){var a=this.createElement("stop");a.setAttribute("offset",100*i[n].offset+"%");var r=i[n].color;if(r.indexOf(!1)){var s=Gt(r)[3],l=Zt(r);a.setAttribute("stop-color","#"+l),a.setAttribute("stop-opacity",s)}else a.setAttribute("stop-color",i[n].color);e.appendChild(a)}t._dom=e},C_.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&D_.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&D_.prototype.markUsed.call(this,e._dom)}},u(L_,D_),L_.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},L_.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var n,o,a=this.getDefs(!0),r=e[0],s=i?"_textDom":"_dom";r[s]?(o=r[s].getAttribute("id"),n=r[s],a.contains(n)||a.appendChild(n)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",o),a.appendChild(n),r[s]=n);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!i){var u=Array.prototype.slice.call(r.transform);bt(r.transform,r.parent.invTransform,r.transform),l.brush(r),r.transform=u}else l.brush(r);var h=this.getSvgElement(r);n.innerHTML="",n.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},L_.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&d(t.__clipPaths,function(t){t._dom&&D_.prototype.markUsed.call(e,t._dom),t._textDom&&D_.prototype.markUsed.call(e,t._textDom)})},u(k_,D_),k_.prototype.addWithoutUpdate=function(t,e){if(e&&P_(e.style)){var i,n=e.style;n._shadowDom?(i=n._shadowDom,this.getDefs(!0).contains(n._shadowDom)||this.addDom(i)):i=this.add(e),this.markUsed(e);var o=i.getAttribute("id");t.style.filter="url(#"+o+")"}},k_.prototype.add=function(t){var e=this.createElement("filter"),i=t.style;return i._shadowDomId=i._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+i._shadowDomId),this.updateDom(t,e),this.addDom(e),e},k_.prototype.update=function(t,e){var i=e.style;if(P_(i)){var n=this;D_.prototype.update.call(this,e,function(t){n.updateDom(e,t._shadowDom)})}else this.remove(t,i)},k_.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(e),t.style.filter="")},k_.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,o,a,r,s=t.style,l=t.scale?t.scale[0]||1:1,u=t.scale?t.scale[1]||1:1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,o=s.shadowOffsetY||0,a=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,o=s.textShadowOffsetY||0,a=s.textShadowBlur,r=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",o/u),i.setAttribute("flood-color",r);var h=a/2/l+" "+a/2/u;i.setAttribute("stdDeviation",h),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(a/2*200)+"%"),e.setAttribute("height",Math.ceil(a/2*200)+"%"),e.appendChild(i),s._shadowDom=e},k_.prototype.markUsed=function(t){var e=t.style;e&&e._shadowDom&&D_.prototype.markUsed.call(this,e._shadowDom)};var IR=function(t,e,i,n){this.root=t,this.storage=e,this._opts=i=a({},i||{});var o=p_("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new C_(n,o),this.clipPathManager=new L_(n,o),this.shadowManager=new k_(n,o);var r=document.createElement("div");r.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=r,t.appendChild(r),r.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};IR.prototype={constructor:IR,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},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(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,i=this._svgRoot,n=this._visibleList,o=t.length,a=[];for(e=0;e<o;e++){var r=O_(f=t[e]),s=G_(f)||V_(f);f.invisible||(f.__dirty&&(r&&r.brush(f),this.clipPathManager.update(f),f.style&&(this.gradientManager.update(f.style.fill),this.gradientManager.update(f.style.stroke),this.shadowManager.update(s,f)),f.__dirty=!1),a.push(f))}var l,u=MR(n,a);for(e=0;e<u.length;e++)if((c=u[e]).removed)for(d=0;d<c.count;d++){var s=G_(f=n[c.indices[d]]),h=V_(f);B_(i,s),B_(i,h)}for(e=0;e<u.length;e++){var c=u[e];if(c.added)for(d=0;d<c.count;d++){var s=G_(f=a[c.indices[d]]),h=V_(f);l?R_(i,s,l):z_(i,s),s?R_(i,h,s):l?R_(i,h,l):z_(i,h),R_(i,h,s),l=h||s||l,this.gradientManager.addWithoutUpdate(s,f),this.shadowManager.addWithoutUpdate(l,f),this.clipPathManager.markUsed(f)}else if(!c.removed)for(var d=0;d<c.count;d++){var f=a[c.indices[d]];l=s=V_(f)||G_(f)||l,this.gradientManager.markUsed(f),this.gradientManager.addWithoutUpdate(s,f),this.shadowManager.markUsed(f),this.shadowManager.addWithoutUpdate(s,f),this.clipPathManager.markUsed(f)}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=a},_getDefs:function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(p_("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var o=i.style;o.width=t+"px",o.height=e+"px";var a=this._svgRoot;a.setAttribute("width",t),a.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[n]||N_(s[i])||N_(r.style[i]))-(N_(s[o])||0)-(N_(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},d(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){IR.prototype[t]=F_(t)}),Ti("svg",IR),t.version="4.2.1",t.dependencies=ET,t.PRIORITY=VT,t.init=function(t,e,i){var n=ks(t);if(n)return n;var o=new us(t,e,i);return o.id="ec_"+iA++,tA[o.id]=o,Fi(t,oA,o.id),Cs(o),o},t.connect=function(t){if(y(t)){var e=t;t=null,kT(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+nA++,kT(e,function(e){e.group=t})}return eA[t]=!0,t},t.disConnect=Ls,t.disconnect=aA,t.dispose=function(t){"string"==typeof t?t=tA[t]:t instanceof us||(t=ks(t)),t instanceof us&&!t.isDisposed()&&t.dispose()},t.getInstanceByDom=ks,t.getInstanceById=function(t){return tA[t]},t.registerTheme=Ps,t.registerPreprocessor=Ns,t.registerProcessor=Os,t.registerPostUpdate=function(t){KT.push(t)},t.registerAction=Es,t.registerCoordinateSystem=Rs,t.getCoordinateSystemDimensions=function(t){var e=Fa.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},t.registerLayout=zs,t.registerVisual=Bs,t.registerLoading=Gs,t.extendComponentModel=Fs,t.extendComponentView=Ws,t.extendSeriesModel=Hs,t.extendChartView=Zs,t.setCanvasCreator=function(t){e("createCanvas",t)},t.registerMap=function(t,e,i){DT.registerMap(t,e,i)},t.getMap=function(t){var e=DT.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}},t.dataTool=rA,t.zrender=Hb,t.number=YM,t.format=eI,t.throttle=Pr,t.helper=tD,t.matrix=Sw,t.vector=cw,t.color=Ww,t.parseGeoJSON=iD,t.parseGeoJson=rD,t.util=sD,t.graphic=lD,t.List=vA,t.Model=No,t.Axis=aD,t.env=U_});
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
}
if (!echarts) {
log('ECharts is not Loaded');
return;
}
if (!echarts.registerMap) {
log('ECharts Map is not loaded')
return;
}
echarts.registerMap('china', {"type":"FeatureCollection","features":[{"id":"710000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚänÜƤɊĂǀĆĴĤNJŨxĚĮǂƺòƌâÔ®ĮXŦţƸZûÐƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ¿@ăƑ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥Ij@¢"],["@@
¡@V^RqBbAnTXeRz¤L«³I"],["@@ÆEEkWqë @"],["@@fced"]],"encodeOffsets":[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},"properties":{"cp":[121.509062,25.044332],"name":"台湾","childNum":6}},{"id":"130000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@o~Z]ªrºc_ħ²G¼s`jΟnüsÂłNX_M`ǽÓnUK
Ĝēs¤©yrý§uģcJe"],["@@U`Ts¿mÂ"],["@@oºƋÄdeVDJj£J|ÅdzÂFt~KŨ¸IÆv|¢r}èonb}`RÎÄn°ÒdÞ²^®lnÐèĄlðÓ×]ªÆ}LiñÖ`^°Ç¶p®đDcŋ`ZÔ¶êqvFÆN®ĆTH®¦O¾IbÐã´BĐɢŴÆíȦpĐÞXR·nndO¤OÀĈƒQgµFo|gȒęSWb©osx|hYhgŃfmÖĩnºTÌSp¢dYĤ¶UĈjlǐpäìë|³kÛfw²Xjz~ÂqbTÑěŨ@|oMzv¢ZrÃVw¬ŧˏf°ÐTªqs{S¯r æÝlNd®²Ğ džiGĘJ¼lr}~K¨ŸƐÌWöÆzR¤lêmĞLÎ@¡|q]SvKÑcwpÏÏĿćènĪWlĄkT}J¤~ÈTdpddʾĬBVtEÀ¢ôPĎƗè@~kü\\rÊĔÖæW_§¼F´©òDòjYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkvGpuARhÞÆǶgĘTǼƹS£¨¡ù³ŘÍ]¿ÂyôEP xX¶¹ÜO¡gÚ¡IwÃé¦ÅBÏ|ǰ
N«úmH¯âDùyŜŲIÄuШD¸dɂFOhđ©OiÃ`ww^ÌkÑH«ƇǤŗĺtFu
{Z}Ö@U´
ʚLg®¯Oı°Ãw ^VbÉsmA
ê]]w§RRl£ȭµu¯b{ÍDěïÿȧuT£ġěŗƃĝQ¨fVƋƅna@³@ďyýIĹÊKŭfċŰóxV@tƯJ]eR¾fe|rHA|h~Ėƍl§ÏlTíb ØoÅbbx³^zÃͶSj®AyÂhðk`«P˵EFÛ¬Y¨Ļrõqi¼Wi°§Ð±´°^[À|ĠO@ÆxO\\ta\\tĕtû{ġȧXýĪÓjùÎRb^ÎfK[ÝděYfíÙTyuUSyŌŏů@Oi½éŅaVcř§ax¹XŻácWU£ôãºQ¨÷Ñws¥qEHÙ|šYQoŕÇyáĂ£MðoťÊP¡mWO¡v{ôvîēÜISpÌhp¨ jdeŔQÖjX³àĈ[n`Yp@UcM`RKhEbpŞlNut®EtqnsÁgAiúoHqCXhfgu~ÏWP½¢G^}¯ÅīGCÑ^ãziMáļMTÃƘrMc|O_¯Ŏ´|morDkO\\mĆJfl@c̬¢aĦtRıÒ¾ùƀ^juųœKUFyƝ
īÛ÷ąV×qƥV¿aȉd³BqPBmaËđŻģmÅ®V¹d^KKonYg¯XhqaLdu¥ÍpDž¡KąÅkĝęěhq}HyÃ]¹ǧ£
Í÷¿qáµ§g¤o^á¾ZE¤i`ij{nOl»WÝĔįhgF[¿¡ßkOüš_ūiDZàUtėGyl}ÓM}jpEC~¡FtoQiHkk{Ãmï"]],"encodeOffsets":[[[119712,40641]],[[121616,39981]],[[116462,37237]]]},"properties":{"cp":[114.502461,38.045474],"name":"河北","childNum":3}},{"id":"140000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ÞĩÒSra}ÁyWix±Üe´lèßÓǏokćiµVZģ¡coTS˹ĪmnÕńehZg{gtwªpXaĚThȑp{¶Eh®RćƑP¿£Pmc¸mQÝWďȥoÅîɡųAďä³aÏJ½¥PGąSM
EÅruµéYÓŌ_dĒCoȵ]¯_²ÕjāK~©ÅØ^ÔkïçămÏk]±cݯÑÃmQÍ~_apm
~ç¡qu{JÅŧ·Ls}EyÁÆcI{¤IiCfUcƌÃp§]ě«vD@¡SÀµMÅwuYY¡DbÑc¡h×]nkoQdaMç~eDÛtT©±@¥ù@É¡ZcW|WqOJmĩl«ħşvOÓ«IqăV¥D[mI~Ó¢cehiÍ]Ɠ~ĥqX·eƷn±}v[ěďŕ]_œ`¹§ÕōIo©bs^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs×¥ŅxÊdÒ{ºvĴÎêÌɊ²¶ü¨|ÞƸµȲLLúÉƎ¤ϊęĔV`_bªS^|dzY|dz¥pZbÆ£¶ÒK}tĦÔņƠPYznÍvX¶Ěn ĠÔzý¦ª÷ÑĸÙUȌ¸dòÜJð´ìúNM¬XZ´¤ŊǸ_tldI{¦ƀðĠȤ¥NehXnYGR° ƬDj¬¸|CĞKqºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBÊTŸʂōĖĴŞȀÆÿȄlŤĒötνî¼ĨXh|ªM¤Ðz"],"encodeOffsets":[[116874,41716]]},"properties":{"cp":[112.549248,37.857014],"name":"山西","childNum":1}},{"id":"150000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@Č^â£ĂhĖMÈÄw\\fŦ°W ¢¾luŸDw\\̀ʉÌÛM
Ā[bÓEn}¶Vc
ês¯PqFB
|S³C|kñHdiÄ¥sʼnÅ
PóÑÑE^ÅPpy_YtShQ·aHwsOnʼnÃs©iqjUSiº]ïW«gW¡ARëśijĘ
ů`çõh]y»ǃǛҤxÒm~zf}pf|ÜroÈzrKÈĵSƧżĠu¦ö"],["@@sKC
GS|úþXgp{ÁX¿ć{ƱȏñZáĔyoÁhA}ŅĆfdʼn_¹Y°ėǩÑ¡H¯¶oMQqð¡Ë|Ñ`ƭŁX½·óÛxğįÅcQs«tȋDžFù^it«Č¯[hAi©á¥ÇĚ×l|¹y¯YȵƓñǙµïċĻ|Düȭ¶¡oŽäÕG\\ÄT¿Òõr¯LguÏYęRƩɷŌO\\İТæ^Ŋ IJȶȆbÜGĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľ]ėl¥ËĭûÁėéV©±ćn©ȇÍq¯½YÃÔʼnÉNÑÅÝy¹NqáʅDǡËñƁYÅy̱os§ȋµʽǘǏƬɱàưN¢ƔÊuľýľώȪƺɂļxZĈ}ÌʼnŪĺœĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~ǼȳÐUfdIxÿ\\G zâɏÙOº·pqy£@qþ@Ǟ˽IBäƣzsÂZÁàĻdñ°ŕzéØűzșCìDȐĴĺf®Àľưø@ɜÖÞKĊŇƄ§͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФÔ¤ƌĞ̪Qʤ´¼mȠJˀƲÀɠmǐnǔĎȆÞǠN~ʢĜ¶ƌĆĘźʆȬ˪ĚǏĞGȖƴƀj`ĢçĶāàŃºēĢĖćYÀŎüôQÐÂŎŞdžŞêƖoˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^ªƂ`ªt¾äƚêĦ¼ÐĔǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDÄ|ø˂˜ƮЬɚwɲFjĔ²Äw°dždÀÉ_ĸdîàŎjÊêTЪŌŜWÈ|tqĢUB~´°ÎFCU¼pĀēƄN¦¾O¶łKĊOjĚj´ĜYp{¦SĚÍ\\TתV÷Ší¨ÅDK°ßtŇĔK¨ǵÂcḷ̌ĚǣȄĽFlġUĵŇȣFʉɁMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFxúQEr´Wrh¤Ɛ \\talĈDJÜ|[Pll̚¸ƎGú´P¬W¦^¦H]prRn|or¾wLVnÇIujkmon£cX^Bh`¥V¦U¤¸}xRj[^xN[~ªxQ[`ªHÆÂExx^wN¶Ê|¨ìMrdYpoRzNyÀDs~bcfÌ`L¾n|¾T°c¨È¢ar¤`[|òDŞĔöxElÖdHÀI`Ď\\Àì~ÆR¼tf¦^¢ķ¶eÐÚMptgjɡČÅyġLûŇV®ÄÈƀϰP|ªVVªj¬ĚÒêp¬E|ŬÂc|ÀtƐK f{ĘFĒƌXƲąo½Ę\\¥o}Ûu£çkX{uĩ«āíÓUŅßŢqŤ¥lyň[oi{¦LńðFȪȖĒL¿Ìf£K£ʺoqNwğc`uetOj×°KJ±qÆġmĚŗos¬
qehqsuH{¸kH¡
ÊRǪÇƌbȆ¢´äÜ¢NìÉʖ¦â©Ż؛Ç@Vu»Aylßí¹ĵê
ÝlISò³C¹Ìâ²i¶Ìoú^H²CǜңDŽ z¼g^èöŰ_IJĕê}gÁnUI«m
]jvV¼euhwqAaW_µj
»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáGOUÛOB±XkŹ£k|e]olkVͼÕqtaÏõjgÁ£§U^RLËnX°ÇBz^~wfvypV ¯ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyxþp]ÉvïèvƀnÂĴÖ@V~Ĉ³MEĸÅĖtējyÄDXÄxGQuv_i¦aBçw˛wD©{tāmQ{EJ§KPśƘƿ¥@sCTÉ}ɃwƇy±gÑ}T[÷kÐ禫
SÒ¥¸ëBX½HáŵÀğtSÝÂa[ƣ°¯¦Pï¡]£ġÒk®G²èQ°óMq}EóƐÇ\\@áügQÍu¥FTÕ¿Jû]|mvāÎYua^WoÀa·ząÒot×¶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶¿A[¡{d×uQAMxVvMOmăl«ct[wº_ÇÊjb£ĦS_éQZ_lwgOiýe`YYLq§IÁdz£ÙË[ÕªuƏ³ÍTs·bÁĽäė[b[ŗfãcn¥îC¿÷µ[ŏÀQōĉm¿Á^£mJVmL[{Ï_£F¥Ö{ŹA}
×Wu©ÅaųijƳhB{·TQqÙIķËZđ©Yc|M¡
LeVUóK_QWk_ĥ¿ãZ»X\\ĴuUèlG®ěłTĠğDŃOrÍdÆÍz]±
ŭ©Å]ÅÐ}UË¥©TċïxgckfWgi\\ÏĒ¥HkµEë{»ÏetcG±ahUiñiWsɁ·cCÕk]wȑ|ća}w
VaĚá G°ùnM¬¯{ÈÐÆA¥ÄêJxÙ¢hP¢ÛºµwWOóFÁz^ÀŗÎú´§¢T¤ǻƺSėǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇqZñiñC³ª
»E`¨åXēÕqÉû[l}ç@čƘóO¿¡FUsAʽīccocÇS}£IS~ălkĩXçmĈ
ŀÐoÐdxÒuL^T{r@¢ÍĝKén£kQyÅõËXŷƏL§~}kq»IHėDžjĝ»ÑÞoå°qTt|r©ÏS¯·eŨĕx«È[eM¿yupN~¹ÏyN£{©għWí»Í¾səšDž_ÃĀɗ±ąijĉʍŌŷSÉA±åǥɋ@ë£R©ąP©}ĹªƏj¹erLDĝ·{i«ƫC£µ"]],"encodeOffsets":[[[127444,52594]],[[113793,40312]]]},"properties":{"cp":[111.670801,40.818311],"name":"内蒙古","childNum":2}},{"id":"210000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@L@@sa"],["@@MnNm"],["@@dc"],["@@eÀC@b"],["@@f
XwkbrÄ`qg"],["@@^jtWQ"],["@@~ Y]c"],["@@G`ĔN^_¿ZÃM"],["@@iX¶BY"],["@@YZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[§t|¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@é^BntaÊU]x ¯ÄPIJ°hʙK³VÕ@Y~|EvĹsǦL^pòŸÒG Ël]xxÄ_fT¤Ď¤cPC¨¸TVjbgH²sdÎdHt`B²¬GJję¶[ÐhjeXdlwhðSȦªVÊÏÆZÆŶ®²^ÎyÅÎcPqńĚDMħĜŁHkçvV[ij¼WYÀäĦ`XlR`ôLUVfK¢{NZdĒªYĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~źB|¦ÕE¤Ð`\\|KUnnI]¤ÀÂĊnŎR®Ő¿¶\\ÀøíDm¦ÎbŨabaĘ\\ľã¸atÎSƐ´©v\\ÖÚÌǴ¤Â¨JKrZ_ZfjþhPkx`YRIjJcVf~sCN¤ EhæmsHy¨SðÑÌ\\\\ĐRZk°IS§fqŒßýáĞÙÉÖ[^¯ǤŲê´\\¦¬ĆPM¯£»uïpùzExanµyoluqe¦W^£ÊL}ñrkqWňûPUP¡ôJoo·U}£[·¨@XĸDXmÛݺGUCÁª½{íĂ^cjk¶Ã[q¤LÉö³cux«zZf²BWÇ®Yß½ve±ÃCý£W{Ú^q^sÑ·¨ÍOt¹·C¥GDrí@wÕKţëV·i}xËÍ÷i©ĝɝǡ]{c±OW³Ya±_ç©HĕoƫŇqr³Lys[ñ³¯OSďOMisZ±ÅFC¥Pq{Ã[Pg}\\¿ghćO
k^ģÁFıĉĥMoEqqZûěʼn³F¦oĵhÕP{¯~TÍlªNßYÐ{Ps{ÃVUeĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀffdF~ĀeĖd`sx² ®EżĀdQÂd^~ăÔH¦\\LKpĄVez¤NP ǹÓRÆąJSha[¦´ÂghwmBШźhI|VV|p] ¼èNä¶ÜBÖ¼L`¼bØæKVpoúNZÞÒKxpw|ÊEMnzEQIZZNBčÚFÜçmĩWĪñtÞĵÇñZ«uD±|Əlij¥ãn·±PmÍada CLǑkùó¡³Ï«QaċÏOÃ¥ÕđQȥċƭy³ÃA"]],"encodeOffsets":[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]},"properties":{"cp":[123.429096,41.796767],"name":"辽宁","childNum":16}},{"id":"220000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@pä³PClFbbÍzwBGĭZÅi»lYċ²SgkÇ£^Sqd¯R
©é£¯S\\cZ¹iűƏCuƍÓXoR}M^o£
R}oªUF
uuXHlEÅÏ©¤ÛmTþ¤D²ÄufàÀXXȱAeyYw¬dvõ´KÊ£\\rµÄlidā]|DÂVH¹Þ®ÜWnCķ W§@\\¸~¤Vp¸póIO¢VOŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúv𼤠N°ąO¥«³[éǡű_°Õ\\ÚÊĝþâőàerR¨JYlďQ[ ÏYëЧTGztnß¡gFkMāGÁ¤ia Éȹ`\\xs¬dĆkNnuNUuP@vRY¾\\¢
GªóĄ~RãÖÎĢùđŴÕhQxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp]vbÍZuĂ{n^IüÀSÖ¦EvRÎûh@â[ƏÈô~FNr¯ôçR±HÑlĢ^¤¢OðævxsŒ]ÞÁTĠs¶¿âÆGW¾ìA¦·TѬè¥ÏÐJ¨¼ÒÖ¼ƦɄxÊ~StD@Ă¼Ŵ¡jlºWvÐzƦZвCH AxiukdGgetqmcÛ£Ozy¥cE}|
¾cZ
k¿uŐã[oxGikfeäT@
SUwpiÚFM©£è^Ú`@v¶eňf heP¶täOlÃUgÞzŸU`l}ÔÆUvØ_Ō¬Öi^ĉi§²ÃB~¡ĈÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYxƘDVÇĺĿg¿cwÅ\\¹¥Yĭl¤OvLjM_a W`zļMž·\\swqÝSAqŚij¯°kRē°wx^ĐkǂÒ\\]nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°G³¼XÀ¤¹i´o¤ŃÈ`ÌDzÄUĞd\\iÖmÈBĤÜɲDEh LG¾ƀľ{WaYÍÈĢĘÔRîĐj}ÇccjoUb½{h§Ǿ{KƖµÎ÷GĀÖŠåưÎslyiē«`å§H¥Ae^§GK}iã\\c]v©ģZmÃ|[M}ģTɟĵÂÂ`ÀçmFK¥ÚíÁbX³ÌQÒHof{]ept·GŋĜYünĎųVY^ydõkÅZW«WUa~U·SbwGçǑiW^qFuNĝ·EwUtW·Ýďæ©PuqEzwAVXRãQ`©GMehccďÏd©ÑW_ÏYƅ»
é\\ɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ýL¡ýqT^rme\\PpZZbyuybQefµ]UhĿDCmûvaÙNSkCwncćfv~
YÇG"],"encodeOffsets":[[130196,42528]]},"properties":{"cp":[125.3245,43.886841],"name":"吉林","childNum":1}},{"id":"230000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@ƨĶTLÇyqpÇÛqe{~oyen}s`qiXGù]Ëp½©lÉÁp]Þñ´FĂ^fäîºkàz¼BUvÈ@"],["@@UµNÿ¥īèçHÍøƕ¶Lǽ|g¨|a¾pVidd~ÈiíďÓQġėÇZÎXb½|ſÃH½KFgɱCģÛÇAnjÕc[VĝDZÃËÇ_ £ń³pj£º¿»WH´¯U¸đĢmtĜyzzNN|g¸÷äűѱĉā~mq^[ǁÑďlw]¯xQĔ¯l°řĴrBÞTxr[tޏĻN_yX`biNKu
P£kZĮ¦[ºxÆÀdhĹŀUÈƗCwáZħÄŭcÓ¥»NAw±qȥnD`{ChdÙFć}¢A±Äj¨]ĊÕjŋ«×`VuÓÅ~_kŷVÝyhVkÄãPsOµfgeŇ
µf@u_Ù ÙcªNªÙEojVxT@ãSefjlwH\\pŏäÀvlY½d{F~¦dyz¤PÜndsrhfHcvlwjF£G±DÏƥYyÏu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|C˜zxAè¥bfudTrFWÁ¹Am|ĔĕsķÆF´N}ć
UÕ@Áijſmuçuð^ÊýowFzØÎĕNőǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°Uzouxe]}
AyÈW¯ÌmKQ]Īºif¸ÄX|sZt|½ÚUÎ lk^p{f¤lºlÆW A²PVÜPHÊâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi`¶bXrBgxfv»uUi^v~J¬mVp´£´VWrnP½ì¢BX¬hðX¹^TjVriªjtŊÄmtPGx¸bgRsT`ZozÆO]ÒFôÒOÆŊvÅpcGêsx´DR{AEOr°x|íb³Wm~DVjºéNNËܲɶGxŷCSt}]ûōSmtuÇÃĕNāg»íT«u}ç½BĵÞʣ¥ëÊ¡MÛ³ãȅ¡ƋaǩÈÉQG¢·lG|tvgrrf«ptęŘnÅĢrI²¯LiØsPf_vĠdxM prʹL¤¤eËÀđKïÙVY§]Ióáĥ]ķK¥j|pŇ\\kzţ¦šnņäÔVĂîά|vW®l¤èØrxm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄĄ»ƢjȦOǺ¨ìSŖÆƬyQv`cwZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨSfm ĊƀP̎ēz©ĊÄÕÊmgÇsJ¥ƔŊśæÎÑqv¿íUOµªÂnĦÁ_½ä@êí
£P}Ġ[@gġ}gɊ×ûÏWXá¢užƻÌsNͽƎÁ§čŐAēeL³àydl¦ĘVçŁpśdžĽĺſÊQíÜçÛġÔsĕ¬Ǹ¯YßċġHµ ¡eå`ļrĉŘóƢFìĎWøxÊkƈdƬv|I|·©NqńRŀ¤éeŊŀàŀU²ŕƀBQ£Ď}L¹Îk@©ĈuǰųǨÚ§ƈnTËÇéƟÊcfčŤ^XmHĊĕË«W·ċëx³ǔķÐċJāwİ_ĸȀ^ôWr°oú¬Ħ
ŨK~ȰCĐ´Ƕ£fNÎèâw¢XnŮeÂÆĶ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®ØCÔ ŬGƠƦYĜĘÜƬDJg_ͥœ@čŅĻA¶¯@wÎqC½Ĉ»NăëKďÍQÙƫ[«ÃígßÔÇOÝáWñuZ¯ĥŕā¡ÑķJu¤E 寰WKɱ_d_}}vyõu¬ï¹ÓU±½@gÏ¿rýDg
Cdµ°MFYxw¿CG£Rƛ½Õ{]L§{qqą¿BÇƻğëܭNJË|c²}Fµ}ÙRsÓpg±QNqǫŋRwŕnéÑÉK«SeYR
ŋ@{¤SJ}D Ûǖ֍]gr¡µŷjqWÛham³~S«Þ]"]],"encodeOffsets":[[[127123,51780]],[[134456,44547]]]},"properties":{"cp":[126.642464,45.756967],"name":"黑龙江","childNum":2}},{"id":"320000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@cþÅPi`ZRu¥É\\]~°Y`µÓ^phÁbnÀşúòaĬºTÖŒbe¦¦{¸ZâćNp©Hr|^mjhSEb\\afv`sz^lkljÄtg¤D¾X¿À|ĐiZȀåB·î}GL¢õcßjayBFµÏC^ĭcÙt¿sğH]j{s©HM¢QnDÀ©DaÜÞ·jgàiDbPufjDk`dPOîhw¡ĥ¥GP²ĐobºrYî¶aHŢ´ ]´rılw³r_{£DB_Ûdåuk|Ũ¯F Cºyr{XFye³Þċ¿ÂkĭB¿MvÛpm`rÚã@ƹhågËÖƿxnlč¶Åì½Ot¾dJlVJĂǀŞqvnO^JZż·Q}êÍÅmµÒ]ƍ¦Dq}¬R^èĂ´ŀĻĊIÔtIJyQŐĠMNtR®òLhĚs©»}OÓGZz¶A\\jĨFäOĤHYJvÞHNiÜaĎÉnFQlNM¤B´ĄNöɂtpŬdfå
qm¿QûùŞÚb¤uŃJŴu»¹ĄlȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Yxcitğ®jű¢KOķCoy`å®VTa_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋÄÄÍīçÛɈǥ£ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ¡RLčiXyÅNïă¡¸iĔÏNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCtOPrE^ÒogĉIµÛÅʹK
¤½phMü`oæŀ"],"encodeOffsets":[[121740,32276]]},"properties":{"cp":[118.767413,32.041544],"name":"江苏","childNum":1}},{"id":"330000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@E^dQ]K"],["@@jX^j"],["@@sfbU"],["@@qP\\xz[ck"],["@@R¢FX}°[s_"],["@@Cb\\}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nvÞs¯o"],["@@rSkUEj"],["@@biZP"],["@@p[}INf"],["@@À¿"],["@@¹dnb
"],["@@rSBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~sµL\\"],["@@¬e¹aN"],["@@\\nÔ¡q]L³ë\\ÿ®QÖ"],["@@ÊA©[¬"],["@@Kxv"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢
X£ÏylD¼XtH"],["@@hlÜ[LykAvyfw^E¤"],["@@fp¤MusR"],["@@®_ma~LÁ¬Z"],["@@iMxZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`EN¡v"],["@@|TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwZRkĕWO¢"],["@@X®±Grƪ\\ÔáXq{"],["@@ůTG°ĄLHm°UC"],["@@¤aÜx~}dtüGæţŎíĔcŖpMËÐj碷ðĄÆMzjWKĎ¢Q¶À_ê_Bıi«pZgf¤Nrq]§ĂN®«H±yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªÁŖHŗʼnåqûõi¨hÜ·ñt»¹ýv_[«¸mYL¯Qª
mĉÅdMgÇjcº«ę¬K´B«Âącoċ\\xKd¡gěŧ«®á[~ıxu·ÅKsËÉc¢Ù\\ĭƛëbf¹ģSĜkáƉÔĈZB{aMµfzʼnfåÂŧįƋǝÊĕġć£g³neą»@¦S®\\ßðChiqªĭiAuAµ_W¥ƣO\\lċĢttC¨£t`PZäuXßBsĻyekOđġĵHuXBµ]×\\°®¬F¢¾pµ¼kŘó¬Wät¸|@L¨¸µrºù³Ù~§WIZW®±Ð¨ÒÉx`²pĜrOògtÁZ}þÙ]¡FKwsPlU[}¦Rvn`hq¬\\nQ´ĘRWb_ rtČFIÖkĦPJ¶ÖÀÖJĈĄTĚòC ²@Pú
Øz©PCÈÚDZhŖl¬â~nm¨f©iļ«mntuÖZÜÄjL®EÌFª²iÊxبIÈhhst"],["@@o\\VzRZ}y"],["@@@°¡mÛGĕ¨§Ianá[ýƤjfæØLäGr"]],"encodeOffsets":[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125000,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]},"properties":{"cp":[120.153576,30.287459],"name":"浙江","childNum":45}},{"id":"340000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@^iuLX^"],["@@e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊzÖgņtÀÁĂÆáhEz|WzqD¹°Eŧl{ævÜcA`¤C`|´qxIJkq^³³GšµbíZ
¹qpa±ď OH¦Ħx¢gPícOl_iCveaOjCh߸iÝbÛªCC¿mRV§¢A|t^iĠGÀtÚsd]ĮÐDE¶zAb àiödK¡~H¸íæAǿYj{ď¿À½W®£ChÃsikkly]_teu[bFaTign{]GqªoĈMYá|·¥f¥őaSÕėNµñĞ«Im_m¿Âa]uĜp
Z_§{Cäg¤°r[_YjÆOdý[I[á·¥Q_nùgL¾mvˊBÜÆ¶ĊJhpc¹O]iŠ]¥ jtsggJǧw×jÉ©±EFËKiÛÃÕYv
sm¬njĻª§emná}k«ŕgđ²ÙDÇ¤í¡ªOy×Où±@DñSęćăÕIÕ¿IµĥOjNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆßF¶X®¿mw
RIÞfßoG³¾©uyHį{Ɓħ¯AFnuP
ÍÔzVdàôº^Ðæd´oG¤{S¬ćxã}ŧ×Kǥĩ«ÕOEзÖdÖsƘѨ[Û^Xr¢¼§xvÄÆµ`K§ tÒ´Cvlo¸fzŨð¾NY´ı~ÉĔē
ßúLÃÃ_ÈÏ|]ÂÏFlg`ben¾¢pUh~ƴ˶_r sĄ~cƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³
]u}f
ïQl{skloNdjäËzDvčoQďHI¦rbtHĔ~BmlRV_ħTLnñH±DL¼Lªl§Ťa¸ĚlK²\\RòvDcÎJbt[¤D@®hh~kt°ǾzÖ@¾ªdbYhüóZ ň¶vHrľ\\ÊJuxAT|dmÀO[ÃÔG·ĚąĐlŪÚpSJ¨ĸLvÞcPæķŨ®mÐálwKhïgA¢ųƩޤOÈm°K´"]],"encodeOffsets":[[[121722,32278]],[[119475,30423]],[[119168,35472]]]},"properties":{"cp":[117.283042,31.86119],"name":"安徽","childNum":3}},{"id":"350000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@zht´]"],["@@aj^~ĆG©O"],["@@ed¨C}}i"],["@@@vPGsQ"],["@@sBzddW]Q"],["@@S¨Q{"],["@@NVucW"],["@@qptBAq"],["@@¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~"],["@@AjvFso"],["@@fT_Çí\\v|ba¦jZÆy°"],["@@IjJi"],["@@wJIx«¼AoNe{M"],["@@K±¡ÓČäeZ"],["@@k¡¹Eh~c®wBkUplÀ¡I~Māe£bN¨gZý¡a±Öcp©PhI¢Qq
ÇGj|¥U g[Ky¬ŏv@OptÉEF\\@ åA¬V{XģĐBy
cpě
¼³Ăp·¤¥ohqqÚ¡ŅLs^á§qlÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ßėuĕeûÒiÁŧSW¥Qûŗ½ùěcݧSùĩąSWó«íęACµeRåǃRCÒÇZÍ¢ź±^dlstjD¸ZpuÔâÃH¾oLUêÃÔjjēò´ĄWƛ
^Ñ¥Ħ@ÇòmOw¡õyJyD}¢ďÑÈġfZda©º²z£NjD°Ötj¶¬ZSÎ~¾c°¶ÐmxO¸¢Pl´SL|¥AȪĖMņIJg®áIJČĒü` QF¬h|ĂJ@zµ |ê³È ¸UÖŬŬÀEttĸr]ðM¤ĶIJHtÏ AĬkvsq^aÎbvdfÊòSD´Z^xPsĂrvƞŀjJd×ŘÉ ®AΦĤdxĆqAZRÀMźnĊ»İÐZ YXæJyĊ²·¶q§·K@·{sXãô«lŗ¶»o½E¡«¢±¨Y®Ø¶^AvWĶGĒĢPlzfļtàAvWYãO_¤sD§ssČġ[kƤPX¦`¶®BBvĪjv©jx[L¥àï[F
¼ÍË»ğV`«Ip}ccÅĥZEãoP
´B@D¸m±z«Ƴ¿å³BRضWlâþäą`]Z£Tc ĹGµ¶Hm@_©k¾xĨôȉðX«½đCIbćqK³ÁÄš¬OAwã»aLʼnËĥW[ÂGIÂNxij¤D¢îĎÎB§°_JGs¥E@
¤uć
PåcuMuw¢BI¿]zG¹guĮck\\_"]],"encodeOffsets":[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]},"properties":{"cp":[119.306239,26.075302],"name":"福建","childNum":18}},{"id":"360000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ĢĨƐgļ¼ÂMD~ņªe^\\^§ý©j×cZبzdÒa¶lÒJìõ`oz÷@¤u޸´ôęöY¼HČƶajlÞƩ¥éZ[|h}^U ¥pĄžƦO lt¸Æ Q\\aÆ|CnÂOjtĚĤdÈF`¶@Ðë ¦ōÒ¨SêvHĢûXD®
QgÄWiØPÞìºr¤džNĠ¢lĄtZoCƞÔºCxrpĠV®Ê{f_Y`_eq®Aot`@oDXfkp¨|s¬\\DÄSfè©Hn¬
^DhÆyøJhØxĢĀLÊƠPżċĄwȠ̦G®ǒĤäTŠÆ~Ħw«|TF¡nc³Ïå¹]ĉđxe{ÎÓvOEm°BƂĨİ|Gvz½ª´HàpeJÝQxnÀWEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[r«_gmQu~¥V\\OkxtL E¢Ú^~ýêPóqoě±_Êw§ÑªåƗā¼mĉŹ¿NQ
YBąrwģcÍ¥BŗÊcØiIƝĿuqtāwO]³YCñTeÉcaubÍ]trluī
BÐGsĵıN£ï^ķqss¿FūūVÕ·´Ç{éĈýÿOER_đûIċâJhŅıNȩĕB
¦K{Tk³¡OP·wnµÏd¯}½TÍ«YiµÕsC¯iM¤¦¯P|ÿUHvhe¥oFTuõ\\OSsMòđƇiaºćXĊĵà·çhƃ÷Ç{ígu^đgm[×zkKN¶Õ»lčÓ{XSÆv©_ÈëJbVkĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B±ÌKyáV¼Ã~
`gsÙfIƋlę¹e|~udjuTlXµf`¿Jd[\\L²"],"encodeOffsets":[[116689,26234]]},"properties":{"cp":[115.892151,28.676493],"name":"江西","childNum":1}},{"id":"370000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@TGy"],["@@K¬U"],["@@WdXc"],["@@PtOs"],["@@LnXhc"],["@@ppVu]Or"],["@@cdzAUa"],["@@udRhnCI"],["@@oIpR"],["@@Ľč{fzƤîKÎMĮ]ZF½Y]â£ph¶¨râøÀÎǨ¤^ºÄGz~grĚĜlĞÆLĆdž¢Îo¦cvKbgr°WhmZp L]LºcUÆnżĤÌĒbAnrOA´ȊcÀbƦUØrĆUÜøĬƞEzVL®öØBkŖÝĐ˹ŧ̄±ÀbÎÉnb²ĦhņBĖįĦåXćì@L¯´ywƕCéõė ƿ¸lµ¾Z|ZWyFY¨Mf~C¿`à_RÇzwƌfQnny´INoƬèôº|sTJULîVjǎ¾ĒØDz²XPn±ŴPè¸ŔLƔÜƺ_TüÃĤBBċÈöA´faM¨{«M`¶d¡ôÖ°mȰBÔjj´PM|c^d¤u¤Û´ä«ƢfPk¶Môl]Lb}su^ke{lC
MrDÇ]NÑFsmoõľHyGă{{çrnÓEƕZGª¹Fj¢ïW
uøCǷë¡ąuhÛ¡^KxC`C\\bÅxì²ĝÝ¿_NīCȽĿåB¥¢·IŖÕy\\¹kxãČ×GDyäÁçFQ¡KtŵƋ]CgÏAùSedcÚźuYfyMmhUWpSyGwMPqŀÁ¼zK¶GY§Ë@´śÇµƕBm@IogZ¯uTMx}CVKï{éƵP_K«pÛÙqċtkkù]gTğwoɁsMõ³ăAN£MRkmEÊčÛbMjÝGu
IZGPģãħE[iµBEuDPÔ~ª¼ęt]ûG§¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~ݏYI] PumŝrƿIā[xedzL¯v¯s¬ÁY
~}
ťuŁgƋpÝĄ_ņī¶ÏSR´ÁP~¿Cyċßdwk´SsX|t`Ä ÈðAªìÎT°¦Dda^lĎDĶÚY°`ĪŴǒàŠv\\ebZHŖR¬ŢƱùęOÑM³FÛWp["]],"encodeOffsets":[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]},"properties":{"cp":[117.000923,36.675807],"name":"山东","childNum":13}},{"id":"410000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ýLùµP³swIÓxcŢĞð´E®ÚPtĴXØx¶@«ŕŕQGYfa[şußǩđš_X³ijÕčC]kbc¥CS¯ëÍB©÷³Si_}mYTt³xlàcČzÀD}ÂOQ³ÐTĨ¯ƗòËŖ[hłŦv~}ÂZ«¤lPÇ£ªÝŴÅR§ØnhctâknÏľŹUÓÝdKuķI§oTũÙďkęĆH¸Ó\\Ä¿PcnS{wBIvÉĽ[GqµuŇôYgûZca©@½Õǽys¯}lgg@C\\£asIdÍuCQñ[L±ęk·ţb¨©kK»KC²òGKmĨS`UQnk}AGēsqaJ¥ĐGRĎpCuÌy ã iMcplk|tRkðev~^´¦ÜSí¿_iyjI|ȑ|¿_»d}q^{Ƈdă}tqµ`Ƴĕg}V¡om½faÇo³TTj¥tĠRyK{ùÓjuµ{t}uËRivGçJFjµÍyqÎàQÂFewixGw½Yŷpµú³XU½ġyłåkÚwZX·l¢Á¢KzOÎÎjc¼htoDHr
|J½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ
Ť]MÛfaQpě±ǽ¾]uFu÷nčįADp}AjmcEÇaª³o³ÆÍSƇĈÙDIzËčľ^KLiÞñ[aA²zzÌ÷D|[íijgfÕÞd®|`Ć~oĠƑô³ŊD×°¯CsøÀ«ìUMhTº¨¸ǡîSÔDruÂÇZÖEvPZW~ØÐtĄE¢¦Ðy¸bô´oŬ¬²Ês~]®tªapŎJ¨Öº_Ŕ`Ŗ^Đ\\Ĝu~m²Ƹ¸fWĦrƔ}Î^gjdfÔ¡J}\\n C¦þWxªJRÔŠu¬ĨĨmFdM{\\d\\YÊ¢ú@@¦ª²SÜsC}fNècbpRmlØ^gd¢aÒ¢CZZxvƶN¿¢T@uC¬^ĊðÄn|lGlRjsp¢ED}Fio~ÔN~zkĘHVsDzßjŬŢ`Pûàl¢\\ÀEhİgÞē X¼Pk|m"],"encodeOffsets":[[118256,37017]]},"properties":{"cp":[113.665412,34.757975],"name":"河南","childNum":1}},{"id":"420000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@AB"],["@@lskt"],["@@¾«}{ra®pîÃ\\{øCËyyB±b\\òÝjKL ]ĎĽÌJyÚCƈćÎT´Å´pb©ÈdFin~BCo°BĎÃømv®E^vǾ½Ĝ²RobÜeN^ĺ£R¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I¾®I{GqpCgyl{£ÍÍyPL¡¡¸kWxYlÙæŁĢz¾V´W¶ùŸo¾ZHxjwfxGNÁ³Xéæl¶EièIH ujÌQ~v|sv¶Ôi|ú¢FhQsğ¦SiŠBgÐE^ÁÐ{čnOÂÈUÎóĔÊēIJ}Z³½Mŧïeyp·uk³DsѨL¶_Åuèw»¡WqÜ]\\Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟOKÉġÿ×wg÷IÅzCg]m«ªGeçÃTC«[t§{loWeC@ps_Bprf_``Z|ei¡oċMqow¹DƝÓDYpûsYkıǃ}s¥ç³[§cY§HK«Qy]¢wwö¸ïx¼ņ¾Xv®ÇÀµRĠÐHM±cÏdƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy
¿³x¯No|¹HÏÛmjúË~TuęjCöAwě¬Rđl¯ ÑbŇTĿ_[IčĄʿnM¦ğ\\É[T·k¹©oĕ@A¾wya¥Y\\¥Âaz¯ãÁ¡k¥ne£ÛwE©Êō¶˓uoj_U¡cF¹[WvP©whuÕyBF`RqJUw\\i¡{jEPïÿ½fć
QÑÀQ{°fLÔ~wXgītêݾĺHd³fJd]HJ²
EoU¥HhwQsƐ»Xmg±çve]DmÍPoCc¾_hhøYrŊU¶eD°Č_N~øĹĚ·`z]Äþp¼
äÌQv\\rCé¾TnkžŐÚÜa¼ÝƆ̶Ûo
d
ĔňТJqPb ¾|J¾fXƐîĨ_Z¯À}úƲN_ĒÄ^ĈaŐyp»CÇÄKñL³ġM²wrIÒŭxjb[n«øæà ^²h¯ÚŐªÞ¸Y²ĒVø}Ā^İ´LÚm¥ÀJÞ{JVųÞŃx×sxxƈē ģMřÚðòIfĊŒ\\Ʈ±ŒdʧĘDvČ_Àæ~Dċ´A®µ¨ØLV¦êHÒ¤"]],"encodeOffsets":[[[113712,34000]],[[115612,30507]],[[113649,34054]]]},"properties":{"cp":[114.298572,30.584355],"name":"湖北","childNum":3}},{"id":"430000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@nFTs"],["@@ßÅÆá½ÔXrCO
ËRïÿĩTooQyÓ[ŅBE¬ÎÓXaį§Ã¸G °ITxpúxÚij¥Ï̾edÄ©ĸG
àGhM¤Â_U}Ċ}¢pczfþg¤ÇòAVM"],["@@©KA·³CQ±Á«³BUƑ¹AtćOwD]JiØSm¯b£ylX
HËѱH«C^õľAŧ¤É¥ïyuǙuA¢^{ÌC´¦ŷJ£^[ª¿ĕ~Ƈ
N
skóā¹¿ï]ă~÷O§@Vm¡Qđ¦¢Ĥ{ºjÔª¥nf´~Õo×ÛąMąıuZmZcÒ IJβSÊDŽŶ¨ƚCÖŎªQؼrŭ«}NÏürʬmjr@ĘrTW SsdHzƓ^ÇÂyUi¯DÅYlŹu{hT}mĉ¹¥ěDÿë©ıÓ[Oº£¥ótł¹MÕƪ`P
DiÛU¾ÅâìUñBÈ£ýhedy¡oċ`pfmjP~kZa
ZsÐd°wj§@Ĵ®w~^kÀÅKvNmX\\¨aŃqvíó¿F¤¡@ũÑVw}S@j}¾«pĂrªg àÀ²NJ¶¶Dô
K|^ª°LX¾ŴäPα£EXd^¶IJÞÜ~u¸ǔMRhsR
e`ÄofIÔ\\Ø ićymnú¨cj ¢»GČìƊÿШXeĈ¾Oð Fi ¢|[jVxrIQ_EzAN¦zLU`cªxOTu RLÄ¢dVi`p˔vŎµªÉF~Ød¢ºgİàw¸Áb[¦Zb¦z½xBĖ@ªpºlS¸Ö\\Ĕ[N¥ˀmĎăJ\\ŀ`
ňSÚĖÁĐiOĜ«BxDõĚivSÌ}iùÜnкG{p°M´wÀÒzJ²ò¨ oTçüöoÛÿñőФùTz²CȆȸǎŪƑÐc°dPÎğ˶[Ƚu¯½WM¡ÉB·rínZÒ `¨GA¾\\pēXhÃRCüWGġu
Té§ŎÑ©ò³I±³}_EÃħg®ęisÁPDmÅ{b[RÅs·kPŽƥóRoOV~]{g\\êYƪ¦kÝbiċƵGZ»Ěõ
ó·³vŝ£ø@pyö_ëIkѵbcѧy
×dYتiþ¨[]f]Ņ©C}ÁN»hĻħƏĩ"]],"encodeOffsets":[[[115640,30489]],[[112543,27312]],[[116690,26230]]]},"properties":{"cp":[112.982279,28.19409],"name":"湖南","childNum":3}},{"id":"440000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@QdAua"],["@@lxDLo"],["@@sbhNLo"],["@@Ă ā"],["@@WltO[["],["@@Kr]S"],["@@eI]y"],["@@I|Mym"],["@@Û³LS¼Y"],["@@nvºBëui©`¾"],["@@zdÛJw®"],["@@°
¯"],["@@a yAª¸ËJIxØ@ĀHAmÃV¡ofuo"],["@@sŗÃÔėAƁZÄ ~°ČPäh"],["@@¶ÝÌvmĞhıQ"],["@@HdSjĒ¢D}war
u«ZqadYM"],["@@el\\LqqU"],["@@~rMo\\"],["@@f^C"],["@@øPªoj÷ÍÝħXČx°Q¨ıXNv"],["@@gÇƳo[~tly"],["@@EÆC¿"],["@@OP"],["@@wđógĝ[³¡VÙæÅöM̳¹pÁaËýý©D©ÜJŹƕģGą¤{Ùū
ÇO²«BƱéAÒĥ¡«BhlmtÃPµyU¯ucd·w_bŝcīímGO|KPȏŹãŝIŕŭŕ@Óoo¿ē±ß}
ŭIJWÈCőâUâǙIğʼn©IijE×
Á³AówXJþ±ÌÜÓĨ£L]ĈÙƺZǾĆĖMĸĤfÎĵlŨnÈĐtFFĤêk¶^k°f¶g}®Faf`vXŲxl¦ÔÁ²¬Ð¦pqÊ̲iXØRDÎ}Ä@ZĠsx®AR~®ETtĄZƈfŠŠHâÒÐAµ\\S¸^wĖkRzalŜ|E¨ÈNĀňZTpBh£\\ĎƀuXĖtKL¶G|»ĺEļĞ~ÜĢÛĊrOÙîvd]n¬VÊĜ°RÖpMƂªFbwEÀ©\\
¤]ŸI®¥D³|Ë]CöAŤ¦
æ´¥¸Lv¼¢ĽBaôF~®²GÌÒEYzk¤°ahlVÕI^CxĈPsBƒºV¸@¾ªR²ĨN]´_eavSivc}p}Đ¼ƌkJÚe th_¸ ºx±ò_xN˲@ă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIǪ`uTÅxYĒÖ¼kÖµMjJÚwn\\hĒv]îh|ÈƄøèg¸Ķß ĉĈWb¹ƀdéĘNTtP[öSvrCZaGubo´ŖÒÇĐ~¡zCI
özx¢PnÈñ @ĥÒ¦]ƞV}³ăĔñiiÄÓVépKG½ÄÓávYoC·sitiaÀyŧΡÈYDÑům}ý|m[węõĉZÅxUO}÷N¹³ĉo_qtăqwµŁYÙǝŕ¹tïÛUïmRCº
ĭ|µÕÊK½Rē ó]GªęAx»HO£|ām¡diď×YïYWªʼnOeÚtĐ«zđ¹T
āúEá²\\ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃOj YÇ÷Qěi"]],"encodeOffsets":[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]},"properties":{"cp":[113.280637,23.125178],"name":"广东","childNum":24}},{"id":"450000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@H TQ§A"],["@@ĨʪLƊDÎĹĐCǦė¸zÚGn£¾rªŀÜt¬@ÖÚSx~øOŒŶÐÂæȠ\\ÈÜObĖw^oÞLf¬°bI lTØBÌF£Ć¹gñĤaYt¿¤VSñK¸¤nM¼JE±½¸ñoÜCƆæĪ^ĚQÖ¦^f´QüÜÊz¯lzUĺš@ìp¶n]sxtx¶@~ÒĂJb©gk{°~c°`Ô¬rV\\la¼¤ôá`¯¹LCÆbxEræOv[H[~|aB£ÖsºdAĐzNÂðsÞÆ
Ĥªbab`ho¡³F«èVlo¤ÔRzpp®SĪº¨ÖºN
ijd`a¦¤F³ºDÎńĀìCĜº¦Ċ~nS|gźvZkCÆj°zVÈÁƔ]LÊFZg
čPkini«qÇczÍY®¬Ů»qR×ō©DÕ§ƙǃŵTÉĩ±ıdÑnYYIJvNĆĆØÜ Öp}e³¦m©iÓ|¹ħņ|ª¦QF¢Â¬ʖovg¿em^ucà÷gÕuíÙćĝ}FϼĹ{µHKsLSđƃrč¤[AgoSŇYMÿ§Ç{FśbkylQxĕ]T·¶[B
ÑÏGáşşƇe
ăYSsFQ}BwtYğÃ@~
CÍQ ×Wj˱rÉ¥oÏ ±«ÓÂ¥kwWűmcih³K~µh¯e]lµélEģEďsmÇŧē`ãògK_ÛsUʝćğ¶höO¤Ǜn³c`¡y¦CezYwa[ďĵűMę§]XÎ_íÛ]éÛUćİÕBƣ±
dy¹T^dûÅÑŦ·PĻþÙ`K¦
¢ÍeĥR¿³£[~äu¼dltW¸oRM¢ď\\z}Æzdvň{ÎXF¶°Â_ÒÂÏL©ÖTmu¼ãlīkiqéfA·Êµ\\őDc¥ÝFyÔćcűH_hLÜêĺШc}rn`½Ì@¸¶ªVLhŒ\\Ţĺk~Ġið°|gtTĭĸ^xvKVGréAébUuMJVÃO¡
qĂXËSģãlýà_juYÛÒBG^éÖ¶§EGÅzěƯ¤EkN[kdåucé¬dnYpAyČ{`]þ¯TbÜÈk¡ĠvàhÂƄ¢Jî¶²"]],"encodeOffsets":[[[111707,21520]],[[107619,25527]]]},"properties":{"cp":[108.320004,22.82402],"name":"广西","childNum":2}},{"id":"460000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@¦Ŝil¢XƦƞòïè§ŞCêɕrŧůÇąĻõ·ĉ³œ̅kÇm@ċȧŧĥĽʉƅſȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀоjNðĀÒRZdžzÐŘΰH¨Ƣb²_Ġ "],"encodeOffsets":[[112750,20508]]},"properties":{"cp":[110.33119,20.031971],"name":"海南","childNum":1}},{"id":"510000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@LqKr"],["@@[ĻéV£_ţġñpG réÏ·~ąSfy×Í·ºſƽiÍıƣıĻmHH}siaX@iǰÁÃ×t«T¤JJJyJÈ`Ohߦ¡uËhIyCjmÿw
ZG
TiSsOB²fNmsPa{M{õE^Hj}gYpaeu¯oáwHjÁ½M¡pMuåmni{fk\\oÎqCwEZ¼KĝAy{m÷LwO×SimRI¯rKõBS«sFe]fµ¢óY_ÆPRcue°Cbo×bd£ŌIHgtrnyPt¦foaXďxlBowz_{ÊéWiêEGhܸºuFĈIxf®Y½ĀǙ]¤EyF²ċw¸¿@g¢§RGv»áW`ÃĵJwi]t¥wO½a[×]`ÃiüL¦LabbTÀåc}ÍhÆh®BHî|îºÉk¤Sy£ia©taį·Ɖ`ō¥UhO
ĝLk}©Fos´JmµlŁu
ønÑJWΪYÀïAetTŅÓGË«bo{ıwodƟ½OġܵxàNÖ¾P²§HKv¾]|BÆåoZ`¡Ø`ÀmºĠ~ÌЧnÇ
¿¤]wğ@srğu~Io[é±¹ ¿ſđÓ@qg¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@áťsZÏÅĭƋěpwDóÖáŻneQËq·GCœýS]x·ýq³OÕ¶Qzßti{řáÍÇWŝŭñzÇWpç¿JXĩè½cFÂLiVjx}\\NŇĖ¥GeJA¼ÄHfÈu~¸Æ«dE³ÉMA|bÒ
ćhG¬CMõƤąAvüVéŀ_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»ÕZ³ġqDoy`L¬gdp°şp¦ėìÅĮZ°Iähzĵf²å ĚÑKpIN|Ñz]ń
·FU×é»R³MÉ»GM«kiér}Ã`¹ăÞmÈnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ
þTº·àUȞÏʦ¶I«dĽĢdĬ¿»Ĕ×h\\c¬ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvwxBèĻĒ©ĈtCĢɽŠȣ¦āæ·HĽîôNÔ~^¤Ɗu^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ®Z´ğ~Sn|ªWÚ©òzPOȸbð¢|øĞŒQìÛÐ@ĞǎRS¤Á§d
i´ezÝúØã]HqkIþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwnÆƄmÀêErĒtD®ċæcQE®³^ĭ¥©l}äQtoŖÜqÆkµªÔĻĴ¡@Ċ°B²Èw^^RsºT£ڿQPJvÄz^Đ¹Æ¯fLà´GC²dtĀRt¼¤ĦOðğfÔðDŨŁĞƘïPÈ®âbMüÀXZ ¸£@Å»»QÉ]dsÖ×_Í_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|YÔZśÎs´xº±Uñt|OĩĠºNbgþJy^dÂY Į]Řz¦gC³R`Āz¢Aj¸CL¤RÆ»@Ŏk\\Ç´£YW}z@Z}öoû¶]´^NÒ}èNªPÍy¹`S°´ATeVamdUĐwʄvĮÕ\\uÆŗ¨Yp¹àZÂmWh{á}WØǍÉüwga§áCNęÎ[ĀÕĪgÖɪXøx¬½Ů¦¦[NÎLÜUÖ´òrÙŠxR^JkijnDX{U~ET{ļº¦PZcjF²Ė@pg¨B{u¨ŦyhoÚD®¯¢ WòàFΤ¨GDäz¦kŮPġqË¥À]eâÚ´ªKxīPÖ|æ[xäJÞĥsNÖ½I¬nĨY´®ÐƐmDŝuäđđEb
ee_v¡}ìęNJē}qÉåT¯µRs¡M@}ůaa¯wvƉåZw\\Z{åû^"]],"encodeOffsets":[[[108815,30935]],[[110617,31811]]]},"properties":{"cp":[104.065735,30.659462],"name":"四川","childNum":2}},{"id":"520000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@G\\lY£in"],["@@q|mc¯tÏVSÎ"],["@@hÑ£IsNgßHHªķÃh_¹¡ĝħń¦uÙùgS¯JH|sÝÅtÁïyMDč»eÕtA¤{b\\}G®u\\åPFqwÅaD
K°ºâ_£ùbµmÁÛĹM[q|hlaªāI}ѵ@swtwm^oµD鼊yVky°ÉûÛR
³e¥]RÕěħ[ƅåÛDpJiVÂF²I
»mN·£LbÒYbWsÀbpkiTZĄă¶Hq`
ĥ_J¯ae«KpÝx]aĕÛPÇȟ[ÁåŵÏő÷Pw}TÙ@Õs«ĿÛq©½m¤ÙH·yǥĘĉBµĨÕnđ]K©œáGçş§ÕßgǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊw¶øV¤w²Ĉ]ÊKx|`ź¦ÂÈdrcÈbe¸`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_pĐ`oÒh¶pa^ÓĔ}D»^Xy`d[Kv
JPhèhCrĂĚÂ^Êƌ wZLĠ£ÁbrzOIlMMĪŐžËr×ÎeŦtw|¢mKjSǘňĂStÎŦEtqFT¾E쬬ôxÌO¢ K³ŀºäYPVgŎ¦Ŋm޼VZwVlz¤
£Tl®ctĽÚó{GAÇge~Îd¿æaSba¥KKûj®_Ä^\\ؾbP®¦x^sxjĶI_Ä Xâ¼Hu¨Qh¡À@Ëô}±GNìĎlT¸
`V~R°tbÕĊ`¸úÛtÏFDu[MfqGH·¥yAztMFe|R_GkChZeÚ°tov`xbDnÐ{E}ZèxNEÞREn[Pv@{~rĆAB§EO¿|UZ~ìUf¨J²ĂÝÆsªB`s¶fvö¦Õ~dÔq¨¸º»uù[[§´sb¤¢zþF¢Æ
ÀhÂW\\ıËIÝo±ĭŠ£þÊs}¡R]ěDg´VG¢j±®èºÃmpU[Á뺰rÜbNu¸}º¼`niºÔXĄ¤¼ÔdaµÁ_Ã
ftQQgR·Ǔv}Ý×ĵ]µWc¤F²OĩųãW½¯K©
]{LóµCIµ±Mß¿h©āq¬o½~@i~TUxŪÒ¢@£ÀEîôruńb[§nWuMÆLl¿]x}ij½"]],"encodeOffsets":[[[112158,27383]],[[112105,27474]],[[112095,27476]]]},"properties":{"cp":[106.713478,26.578343],"name":"贵州","childNum":3}},{"id":"530000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@[ùx½}ÑRHYīĺûsÍniEoã½Ya²ė{c¬ĝgĂsAØÅwďõzFjw}«Dx¿}Uũlê@HÅF¨ÇoJ´Ónũuą¡Ã¢pÒÅØ TF²xa²ËXcÊlHîAßËŁkŻƑŷÉ©hWæßUËs¡¦}teèÆ¶StÇÇ}Fd£jĈZĆÆ¤Tč\\D}O÷£U§~ŃGåŃDĝ¸Tsd¶¶Bª¤u¢ŌĎo~t¾ÍŶÒtD¦ÚiôözØX²ghįh½Û±¯ÿm·zR¦Ɵ`ªŊÃh¢rOÔ´£Ym¼èêf¯ŪĽncÚbw\\zlvWªâ ¦gmĿBĹ£¢ƹřbĥkǫßeeZkÙIKueT»sVesbaĕ ¶®dNĄÄpªy¼³BE®lGŭCǶwêżĔÂepÍÀQƞpC¼ŲÈAÎô¶RäQ^Øu¬°_Èôc´¹ò¨P΢hlϦ´ĦÆ´sâÇŲPnÊD^¯°Upv}®BP̪jǬxSöwlfòªvqĸ|`HviļndĜĆhňem·FyÞqóSᝳX_ĞçêtryvL¤§z¦c¦¥jnŞklD¤øz½ĜàĂŧMÅ|áƆàÊcðÂFÜáŢ¥\\\\ºİøÒÐJĴîD¦zK²ǏÎEh~CDhMn^ÌöÄ©ČZÀaüfɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~ÄqêljN¬¼HÊNQ´ê¼VظE^ŃÒyM{JLoÒęæe±Ķygã¯JYÆĭĘëo¥Šo¯hcK«z_prC´ĢÖY¼ v¸¢RÅW³Â§fǸYi³xR´ďUË`êĿUûuĆBƣöNDH«ĈgÑaB{ÊNF´¬c·Åv}eÇÃGB»If¦HňĕM
~[iwjUÁKE¾dĪçWIèÀoÈXòyŞŮÈXâÎŚj|àsRyµÖPr´þ ¸^wþTDŔHr¸RÌmfżÕâCôoxĜƌÆĮÐYtâŦÔ@]ÈǮƒ\\μģUsȯLbîƲŚºyhr@ĒÔƀÀ²º\\êpJ}ĠvqtĠ@^xÀ£È¨mËÏğ}n¹_¿¢×Y_æpÅA^{½Lu¨GO±Õ½ßM¶wÁĢÛPƢ¼pcIJx|ap̬HÐŊSfsðBZ¿©XÏÒKk÷Eû¿S
rEFsÕūkóVǥʼniTL¡n{uxţÏhôŝ¬ğōNNJkyPaqÂğ¤K®YxÉƋÁ]āęDqçgOgILu\\_gz]W¼~CÔē]bµogpÑ_oď`´³Țkl`IªºÎȄqÔþ»E³ĎSJ»_f·adÇqÇc¥Á_Źw{L^ɱćxU£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣGË÷k°_^ý|_zċBZocmø¯hhcæ\\lMFlư£ĜÆyHF¨µêÕ]HA
àÓ^it `þßäkĤÎT~Wlÿ¨ÔPzUCNVv [jâôDôď[}z¿msSh¯{jïğl}šĹ[őgK©U·µË@¾m_~q¡f¹
ÅË^»f³ø}Q¡Ö˳gͱ^Ç
\\ëÃA_¿bWÏ[¶ƛé£F{īZgm@|kHǭƁć¦UĔť×ë}ǝeďºȡȘÏíBÉ£āĘPªij¶ʼnÿy©nď£G¹¡I±LÉĺÑdĉÜW¥}gÁ{aqÃ¥aıęÏZï`"],"encodeOffsets":[[104636,22969]]},"properties":{"cp":[102.712251,25.040609],"name":"云南","childNum":1}},{"id":"540000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ÂhľxŖxÒVºÅâAĪÝȆµę¯Ňa±r_w~uSÕňqOj]ɄQ
£Z
UDûoY»©M[L¼qãË{VÍçWVi]ë©Ä÷àyƛhÚU°adcQ~Mx¥cc¡ÙaSyFÖkuRýq¿ÔµQĽ³aG{¿FµëªéĜÿª@¬·K·àariĕĀ«V»ŶĴūgèLǴŇƶaftèBŚ£^âǐÝ®M¦ÁǞÿ¬LhJ¾óƾƺcxwf]Y
´¦|QLn°adĊ
\\¨oǀÍŎ´ĩĀd`tÊQŞŕ|¨C^©Ĉ¦¦ÎJĊ{ëĎjª²rÐl`¼Ą[t|¦Stè¾PÜK¸dƄı]s¤î_v¹ÎVòŦj£Əsc¬_Ğ´|٦Av¦w`ăaÝaa¢e¤ı²©ªSªÈMĄwÉØŔì@T¤Ę\\õª@þo´xA sÂtŎKzó´ÇĊµ¢r^nĊƬ×üG¢³ {âĊ]G~bÀgVjzlhǶfOfdªB]pjTOtĊn¤}®¦Č¥d¢¼»ddY¼t¢eȤJ¤}Ǿ¡°§¤AÐlc@ĝsªćļđAçwxUuzEÖġ~AN¹ÄÅȀݦ¿ģŁéì±H
ãd«g[ؼēÀcīľġ¬cJµ
ÐʥVȝ¸ßS¹ý±ğkƁ¼ą^ɛ¤Ûÿb[}¬ōõÃ]ËNm®g@Bg}ÍF±ǐyL¥íCIijÏ÷Ñį[¹¦[âšEÛïÁÉdƅß{âNÆāŨß¾ě÷yC£k´ÓH@¹TZ¥¢į·ÌAЧ®Zc
v½Z¹|ÅWZqgW|ieZÅYVÓqdqbc²R@c¥Rã»GeeƃīQ}J[ÒK
¬Ə|oėjġĠÑN¡ð¯EBčnwôɍėª²CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛęgſ¶ҍć`ĘąŌJÞä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷f±iMÝ@ĥ°G¬ÃM¥n£Øąğ¯ß§aëbéüÑOčk£{\\eµª×MÉfm«Ƒ{Å×Gŏǩãy³©WÑăû··Qòı}¯ãIéÕÂZ¨īès¶ZÈsæĔTŘvgÌsN@îá¾ó@ÙwU±ÉT廣TđWxq¹Zobs[ׯcĩvėŧ³BM|¹kªħ¥TzNYnÝßpęrñĠĉRS~½ěVVµõ«M££µBĉ¥áºae~³AuĐh`ܳç@BÛïĿa©|z²Ý¼D£àč²ŸIûI āóK¥}rÝ_Á´éMaň¨~ªSĈ½½KÙóĿeƃÆB·¬ën×W|Uº}LJrƳlŒµ`bÔ`QÐÓ@s¬ñIÍ@ûws¡åQÑßÁ`ŋĴ{ĪTÚÅTSijYo|Ç[ǾµMW¢ĭiÕØ¿@Mh
pÕ]jéò¿OƇĆƇpêĉâlØwěsǩĵ¸c
bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB\\qTGªÇĜçPoÿfñòą¦óQīÈáPābß{ZŗĸIæÅhnszÁCËìñÏ·ąĚÝUm®óL·ăUÈíoù´Êj°ŁŤ_uµ^°ìÇ@tĶĒ¡ÆM³Ģ«İĨÅ®ğRāðggheÆ¢zÊ©Ô\\°ÝĎz~ź¤PnMĪÖB£kné§żćĆKǰ¼L¶èâz¨u¦¥LDĘz¬ýÎmĘd¾ßFzhg²Fy¦ĝ¤ċņbÎ@yĄæm°NĮZRÖíJ²öLĸÒ¨Y®ƌÐVàtt_ÚÂyĠz]ŢhzĎ{ÂĢXc|ÐqfO¢¤ögÌHNPKŖUú´xx[xvĐCûĀìÖT¬¸^}Ìsòd´_KgžLĴ
ÀBon|H@Êx¦BpŰŌ¿fµƌA¾zLjRx¶FkĄźRzŀ~¶[´HnªVƞuĒȨƎcƽÌm¸ÁÈM¦x͊ëÀxdžBú^´W£dkɾĬpw˂ØɦļĬIŚÊnŔa¸~J°îlɌxĤÊÈðhÌ®gT´øàCÀ^ªerrƘd¢İP|Ė ŸWªĦ^¶´ÂLaT±üWƜǀRÂŶUńĖ[QhlLüAÜ\\qRĄ©"],"encodeOffsets":[[90849,37210]]},"properties":{"cp":[91.132212,29.660361],"name":"西藏","childNum":1}},{"id":"610000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@p¢ȮµûGĦ}Ħðǚ¶òƄjɂz°{ºØkÈęâ¦jªBg\\ċ°s¬]jú EȌdž¬stRÆdĠİwܸôW¾ƮłÒ_{Ìû¼jº¹¢GǪÒ¯ĘZ`ºŊecņą~BÂgzpâēòYǠȰÌTΨÂW|fcă§uF@N¢XLRMº[ğȣſï|¥Jkc`sʼnǷY¹W@µ÷K
ãï³ÛIcñ·VȋÚÒķø©þ¥yÓğęmWµÎumZyOŅƟĥÓ~sÑL¤µaÅ
Y¦ocyZ{y c]{Ta©`U_Ěē£ωÊƍKùK¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑdìUYOuFÕÈYvÁCqÓTǢí§·S¹NgV¬ë÷Át°DدC´ʼnƒópģ}ċcEË
FéGU¥×K
§¶³BČ}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO
ÿEËߌĤNĔwƇÄńwĪo[_KÓª³ÙnKÇěÿ]ďă_d©·©Ýŏ°Ù®g]±ßå¬÷m\\iaǑkěX{¢|ZKlçhLtŇîŵœè[É@ƉĄEtƇϳħZ«mJ
×¾MtÝĦ£IwÄå\\Õ{OwĬ©LÙ³ÙgBƕŀrÌĢŭO¥lãyC§HÍ£ßEñX¡°ÙCgpťzb`wIvA|§hoĕ@E±iYd¥OϹS|}F@¾oAO²{tfÜ¢FǂÒW²°BĤh^Wx{@¬F¸¡ķn£P|ªĴ@^ĠĈæbÔc¶lYi
^MicϰÂ[ävï¶gv@ÀĬ·lJ¸sn|¼u~a]ÆÈtŌºJpþ£KKf~¦UbyäIĺãnÔ¿^ŵMThĠܤko¼Ŏìąǜh`[tRd²IJ_XPrɲlXiL§à¹H°Ȧqº®QCbAŌJ¸ĕÚ³ĺ§ `d¨YjiZvRĺ±öVKkjGȊÄePĞZmļKÀ[`ösìhïÎoĬdtKÞ{¬èÒÒBÔpIJÇĬJŊ¦±J«Y§@·pHµàåVKepWftsAÅqC·¬ko«pHÆuK@oHĆÛķhxenS³àǍrqƶRbzy¸ËÐl¼EºpĤ¼x¼½~Ğà@ÚüdK^mÌSj"],"encodeOffsets":[[110234,38774]]},"properties":{"cp":[108.948024,34.263161],"name":"陕西","childNum":1}},{"id":"620000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@VuUv"],["@@ũEĠtt~nkh`Q¦ÅÄÜdwAb×ĠąJ¤DüègĺqBqj°lI¡ĨÒ¤úSHbjÎB°aZ¢KJO[|A£Dx}NìHUnrk kp¼Y kMJn[aGáÚÏ[½rc}aQxOgsPMnUsncZ
sKúvAtÞġ£®ĀYKdnFw¢JE°Latf`¼h¬we|Æbj}GA·~W`¢MC¤tL©IJ°qdfObÞĬ¹ttu`^ZúE`[@Æsîz®¡CƳƜG²R¢RmfwĸgÜą G@pzJM½mhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬²I¥IʼnÈīoıÓÑAçÑ|«LÝcspīðÍg
të_õ\\ĉñLYnĝgRǡÁiHLlõUĹ²uQjYi§Z_c¨´ĹĖÙ·ŋI
aBDR¹ȥr¯GºßK¨jWkɱOqWij\\aQ\\sg_ĆǛōëp»£lğÛgSŶN®À]ÓämĹãJaz¥V}Le¤Lýo¹IsŋÅÇ^bz
³tmEÁ´a¹cčecÇNĊãÁ\\č¯dNj]jZµkÓdaćå]ğij@ ©O{¤ĸm¢E·®«|@Xwg]A챝XǁÑdzªcwQÚŝñsÕ³ÛV_ý¥\\ů¥©¾÷w©WÕÊĩhÿÖÁRo¸V¬âDb¨hûxÊ×nj~Zâg|XÁnßYoº§ZÅŘv[ĭÖʃuďxcVbnUSf
B¯³_TzºÎO©çMÑ~M³]µ^püµÄY~y@X~¤Z³[Èōl@®Å¼£QK·Di¡ByÿQ_´D¥hŗy^ĭÁZ]cIzýah¹MĪğPs{ò²Vw¹t³ŜË[Ñ}X\\gsF£sPAgěp×ëfYHāďÖqēŭOÏëdLü\\it^c®Rʺ¶¢H°mrY£B¹čIoľu¶uI]vģSQ{UŻÅ}QÂ|̰ƅ¤ĩŪU ęĄÌZÒ\\v²PĔ»ƢNHĂyAmƂwVm`]ÈbH`Ì¢²ILvĜH®¤Dlt_¢JJÄämèÔDëþgºƫaʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b
ð÷®üszMzÖĖQdȨýv§Tè|ªHþa¸|Ð ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v·À|\\ƁĚN´ĜçèÁz]ġ¤²¨QÒŨTIlªťØ}¼˗ƦvÄùØE«FïËIqōTvāÜŏíÛßÛVj³âwGăÂíNOPìyV³ʼnĖýZso§HÑiYw[ß\\X¦¥c]ÔƩÜ·«jÐqvÁ¦m^ċ±R¦ƈťĚgÀ»IïĨʗƮ°ƝĻþÍAƉſ±tÍEÕÞāNUÍ¡\\ſčåÒʻĘm ƭÌŹöʥëQ¤µÇcƕªoIýIÉ_mkl³ăƓ¦j¡YzŇi}Msßõīʋ }ÁVm_[n}eıUĥ¼ªI{ΧDÓƻėojqYhĹT©oūĶ£]ďxĩǑMĝq`B´ƃ˺Чç~²ņj@¥@đ´ί}ĥtPńǾV¬ufÓÉCtÓ̻
¹£G³]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼĤŊɲĖÂKq´ï¦ºĒDzņɾªǀÞĈĂD½ĄĎÌŗĞrôñnN¼â¾ʄľԆ|DŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿ĽĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY
tÁƤyAã˾J@ǝrý@¤
rz¸oP¹ɐÚyáHĀ[Jw
cVeȴÏ»ÈĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔĹŊũ~ËUă{ĻƹɁύȩþĽvĽƓÉ@ēĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶¨c~c¼īeXǚ\\đ¾JwÀďksãAfÕ¦L}waoZD½Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LFLzĈôe]gx}|KK}xklL]c¦£fRtív¦PĤoH{tK"]],"encodeOffsets":[[[108619,36299]],[[108589,36341]]]},"properties":{"cp":[103.823557,36.058039],"name":"甘肃","childNum":2}},{"id":"630000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@InJm"],["@@CƽOŃĦsΰ~dz¦@@Ņi±è}ШƄ˹A³r_ĞǒNĪĐw¤^ŬĵªpĺSZgrpiƼĘÔ¨C|ÍJ©Ħ»®VIJ~f\\m `UnÂ~ʌĬàöNt~ňjy¢ZiƔ¥Ąk´nl`JÊJþ©pdƖ®È£¶ìRʦźõƮËnʼėæÑƀĎ[¢VÎĂMÖÝÎF²sƊƀÎBļýƞ¯ʘƭðħ¼Jh¿ŦęΌƇ¥²Q]Č¥nuÂÏri¸¬ƪÛ^Ó¦d¥[Wà
x\\ZjÒ¨GtpþYŊĕ´zUOëPîMĄÁxH´áiÜUàîÜŐĂÛSuŎrJð̬EFÁú×uÃÎkrĒ{V}İ«O_ÌËĬ©ÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u
ºµ[gt£¸OƤĿéYõ·kĀq]juw¥DĩƍõÇPéĽG©ã¤G
uȧþRcÕĕNyyûtøï»a½ē¿BMoį£Íj}éZËqbʍƬh¹ìÿÓAçãnIáI`ks£CGěUy×Cy
@¶ʡÊBnāzGơMē¼±O÷õJËĚăVĪũƆ£¯{ËL½ÌzżVR|ĠTbuvJvµhĻĖHAëáa
OÇðñęNw
œľ·LmI±íĠĩPÉ×®ÿscB³±JKßĊ«`
ađ»·QAmOVţéÿ¤¹SQt]]Çx±¯A@ĉij¢Óļ©l¶ÅÛrŕspãRk~¦ª]Į´FRådČsCqđéFn¿ÅƃmÉx{W©ºƝºįkÕƂƑ¸wWūЩÈF£\\tÈ¥ÄRÈýÌJ lGr^×äùyÞ³fjc¨£ÂZ|ǓMĝÏ@ëÜőRĝ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³ÞIňµç½©C¡į÷¯B»|St»]vųs»}MÓ ÿʪƟǭA¡fs»PY¼c¡»¦cċ¥£~msĉPSi^o©AecPeǵkgyUi¿h}aHĉ^|á´¡HØûÅ«ĉ®]m¡qĉ¶³ÈyôōLÁstB®wn±ă¥HSòė£Së@לÊăxÇN©©T±ª£IJ¡fb®Þbb_Ą¥xu¥B{łĝ³«`dƐt¤ťiñÍUuºí`£^tƃIJc·ÛLO½sç¥Ts{ă\\_»kϱq©čiìĉ|ÍI¥ć¥]ª§D{ŝŖÉR_sÿc³ĪōƿΧp[ĉc¯bKmR¥{³Ze^wx¹dƽŽôIg §Mĕ ƹĴ¿ǣÜÍ]Ý]snåA{eƭ`ǻŊĿ\\ijŬűYÂÿ¬jĖqßb¸L«¸©@ěĀ©ê¶ìÀEH|´bRľÓ¶rÀQþvl®ÕETzÜdb hw¤{LRdcb¯ÙVgƜßzÃôì®^jUèXÎ|UäÌ»rK\\ªN¼pZCüVY¤ɃRi^rPŇTÖ}|br°qňb̰ªiƶGQ¾²x¦PmlŜ[Ĥ¡ΞsĦÔÏâ\\ªÚŒU\\f
¢N²§x|¤§xĔsZPòʛ²SÐqF`ªVÞŜĶƨVZÌL`¢dŐIqr\\oäõF礻Ŷ×h¹]ClÙ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ´ÃbEÄlbʔC|CŮkƮ[ʼ¬ň´KŮÈΰÌζƶlðļATUvdTGº̼ÔsÊDÔveOg"]],"encodeOffsets":[[[105308,37219]],[[95370,40081]]]},"properties":{"cp":[101.778916,36.623178],"name":"青海","childNum":2}},{"id":"640000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@KëÀęĞ«Oęȿȕı]ʼn¡åįÕÔ«ǴõƪĚQÐZhv K°öqÀÑS[ÃÖHƖčËnL]ûc
Ùß@ĝ¾}w»»oģF¹»kÌÏ·{zP§B¢íyÅt@@á]Yv_ssģ¼ißĻL¾ġsKD£¡N_
X¸}B~HaiÅf{«x»ge_bsKF¯¡IxmELcÿZ¤ĢÝsuBLùtYdmVtNmtOPhRw~bd
¾qÐ\\âÙH\\bImlNZ»loqlVmGā§~QCw¤{A\\PKNY¯bFkC¥sks_Ã\\ă«¢ħkJi¯rrAhĹûç£CUĕĊ_ÔBixÅÙĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~hw^ófćKyEKzuÔ¡qQ¤xZÑ¢^ļöܾEp±âbÊÑÆ^fk¬
NC¾YpxbK~¥eÖäBlt¿Đx½I[ĒǙWf»Ĭ}d§dµùEuj¨IÆ¢¥dXªƅx¿]mtÏwßRĶX¢͎vÆzƂZò®ǢÌʆCrâºMÞzÆMÒÊÓŊZľr°Î®Ȉmª²ĈUªĚîøºĮ¦ÌĘk^FłĬhĚiĀ˾iİbjÕ"],["@@mfwěwMrŢªv@G"]],"encodeOffsets":[[[109366,40242]],[[108600,36303]]]},"properties":{"cp":[106.278179,38.46637],"name":"宁夏","childNum":2}},{"id":"650000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@QØĔ²X¨~ǘBºjʐߨvKƔX¨vĊO÷¢i@~cĝe_«E}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX
êÎf`C¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥OéÈ¿ÖğǤǷÂFÒzÉx[]Ĥĝœ¦EP}ûƥé¿İƷTėƫœŕƅƱB»Đ±ēO
¦E}`cȺrĦáŖuÒª«IJπdƺÏØZƴwʄ¤ĖGĐǂZĶèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLjì¥Βba¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»òmqóŘĝč˾ăC
ćāƿÝɽ©DZҹđ¥³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕUv£ƁQïƵkŏ½ΉÃŭdzLŇʻ«ƭ\\lŭD{ʓDkaFÃÄa³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍöůʼnT¡c_ËKYƧUśĵÝU_©rETÏʜ±OñtYwē¨{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\śnkOw¥±T»ƷFɯàĩÞáB¹Æ
ÑUwŕĽw[mG½Èå~Æ÷QyěCFmĭZīŵVÁƿQƛûXS²b½KϽĉS©ŷXĕ{ĕK·¥Ɨcqq©f¿]ßDõU³hgËÇïģÉɋwk¯í}I·œbmÉřīJɥĻˁ×xoɹīlc
¤³Xù]DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®ƝvUm©³G\\}µĿQyŹlăµEwLJQ½yƋBe¶ŋÀůo¥AÉw@{Gpm¿AijŽKLh³`ñcËtW±»ÕSëüÿďDu\\wwwù³VLŕOMËGh£õP¡erÏd{ġWÁ
č|yšg^ğyÁzÙs`s|ÉåªÇ}m¢Ń¨`x¥ù^}Ì¥H«YªƅAйn~ź¯f¤áÀzgÇDIÔ´AňĀÒ¶ûEYospõD[{ù°]uJqU|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw ÞkrťË¿XGÉbřaDü·Ē÷Aê[ÄäI®BÕĐÞ_¢āĠpÛÄȉĖġDKwbmÄNôfƫVÉvidzHQµâFùœ³¦{YGd¢ĚÜO {Ö¦ÞÍÀP^bƾl[vt×ĈÍE˨¡Đ~´î¸ùÎhuè`¸HÕŔVºwĠââWò@{ÙNÝ´ə²ȕn{¿¥{l÷eé^eďXj©î\\ªÑòÜìc\\üqÕ[Č¡xoÂċªbØø|¶ȴZdÆÂońéG\\¼C°ÌÆn´nxÊOĨŪƴĸ¢¸òTxÊǪMīĞÖŲÃɎOvʦƢ~FRěò¿ġ~åŊúN¸qĘ[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾ĄYÒ©ÊfºmÔĘcDoĬMŬS¤s²ʘÚžȂVŦ èW°ªB|IJXŔþÈJĦÆæFĚêYĂªĂ]øªŖNÞüAfɨJ¯ÎrDDĤ`mz\\§~D¬{vJ«lµĂb¤pŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMTòP÷fØĶK¢ȝ˔Sô¹òEð`Ɩ½ǒÂň×äı§ĤƝ§C~¡hlåǺŦŞkâ~}FøàIJaĞfƠ¥Ŕd®U¸źXv¢aƆúŪtŠųƠjdƺƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹\\ĜÑŚ¶ZƄ³àjĨoâȴLÊȮĐĚăÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTiƢ¾ªì°`öøu®Ê¾ãØ"],"encodeOffsets":[[88824,50096]]},"properties":{"cp":[87.617733,43.792818],"name":"新疆","childNum":1}},{"id":"110000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ĽOÁûtŷmiÍt_H»Ĩ±d`¹{bw
Yr³S]§§o¹qGtm_SŧoaFLgQN_dV@Zom_ć\\ßc±x¯oœRcfe
£o§ËgToÛJíĔóu
|wP¤XnO¢ÉŦ¯rNÄā¤zâŖÈRpŢZÚ{GrFt¦Òx§ø¹RóäV¤XdżâºWbwڍUd®bêņ¾jnŎGŃŶnzÚSeîĜZczî¾i]ÍQaúÍÔiþĩȨWĢü|Ėu[qb[swP@ÅğP¿{\\¥A¨ÏѨj¯X\\¯MKpA³[H
īu}}"],"encodeOffsets":[[120023,41045]]},"properties":{"cp":[116.405285,39.904989],"name":"北京","childNum":1}},{"id":"120000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@ŬgX§Ü«E
¶F̬O_ïlÁgz±AXeµÄĵ{¶]gitgIj·¥îakS¨ÐƎk}ĕ{gBqGf{¿aU^fIư³õ{YıëNĿk©ïËZŏR§òoY×Ógc
ĥs¡bġ«@dekąI[nlPqCnp{ō³°`{PNdƗqSÄĻNNâyj]äÒD ĬH°Æ]~¡HO¾X}ÐxgpgWrDGpù^LrzWxZ^¨´T\\|~@IzbĤjeĊªz£®ĔvěLmV¾Ô_ÈNW~zbĬvG²ZmDM~~"],"encodeOffsets":[[120237,41215]]},"properties":{"cp":[117.190182,39.125596],"name":"天津","childNum":1}},{"id":"310000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@ɧư¬EpƸÁxc"],["@@©ª"],["@@MA"],["@@QpİE§ÉC¾"],["@@bŝÕÕEȣÚƥêImɇǦèÜĠÚÃƌÃ͎ó"],["@@ǜûȬɋŭ×^sYɍDŋŽąñCG²«ªč@h_p¯A{oloY¬j@IJ`gQÚhr|ǀ^MIJvtbe´R¯Ô¬¨Yô¤r]ìƬį"]],"encodeOffsets":[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]},"properties":{"cp":[121.472644,31.231706],"name":"上海","childNum":6}},{"id":"500000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êÐqHðqĖä¥^CÆIj²p
\\_ æüY|[YxƊæu°xb®
Űb@~¢NQt°¶Sæ Ê~rljĔëĚ¢~uf`faĔJåĊnÖ]jƎćÊ@£¾a®£Ű{ŶĕFègLk{Y|¡ĜWƔtƬJÑxq±ĢN´òKLÈüD|s`ŋć]Ã`đMûƱ½~Y°ħ`ƏíW½eI½{aOIrÏ¡ĕŇapµÜƅġ^ÖÛbÙŽŏml½SêqDu[RãË»ÿw`»y¸_ĺę}÷`M¯ċfCVµqʼn÷Zgg`d½pDOÎCn^uf²ènh¼WtƏxRGg¦
pVFI±G^Ic´ecGĹÞ½sëĬhxW}KÓeXsbkF¦LØgTkïƵNï¶}Gyw\\oñ¡nmĈzj@Óc£»Wă¹Ój_m»¹·~MvÛaq»ê\\ÂoVnÓØÍ²«bq¿efE Ĝ^Q~ Évýş¤²ĮpEİ}zcĺL½¿gÅ¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u_n»_At©Þűā§IVeëY}{VPÀFA¨ąB}q@|Ou\\FmQFÝ
Mwå}]|FmÏCawu_p¯sfÙgY
DHl`{QEfNysB¦zG¸rHeN\\CvEsÐùÜ_·ÖĉsaQ¯}_UxÃđqNH¬Äd^ÝŰR¬ã°wećJE·vÝ·HgéFXjÉê`|ypxkAwWĐpb¥eOsmzwqChóUQl¥F^lafanòsrEvfQdÁUVfÎvÜ^eftET¬ôA\\¢sJnQTjPØxøK|nBzĞ»LY
FDxÓvr[ehľvN¢o¾NiÂxGpâ¬zbfZo~hGi]öF||NbtOMn eA±tPTLjpYQ|SHYĀxinzDJÌg¢và¥Pg_ÇzIIII£®S¬Øsμ£N"],["@@ifjN@s"]],"encodeOffsets":[[[109628,30765]],[[111725,31320]]]},"properties":{"cp":[106.504962,29.533155],"name":"重庆","childNum":2}},{"id":"810000","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[["@@AlBk"],["@@mn"],["@@EpFo"],["@@ea¢pl¸Eõ¹hj[]ÔCÎ@lj¡uBX
´AI¹
[yDU]W`çwZkmc
MpÅv}IoJlcafŃK°ä¬XJmÐ đhI®æÔtSHnEÒrÈc"],["@@rMUwAS®e"]],"encodeOffsets":[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]},"properties":{"cp":[114.173355,22.320048],"name":"香港","childNum":5}},{"id":"820000","type":"Feature","geometry":{"type":"Polygon","coordinates":["@@kÊd°å§s"],"encodeOffsets":[[116279,22639]]},"properties":{"cp":[113.54909,22.198951],"name":"澳门","childNum":1}}],"UTF8Encoding":true});
})); | 789,942 | echarts-all | js | en | javascript | code | {"qsc_code_num_words": 169186, "qsc_code_num_chars": 789942.0, "qsc_code_mean_word_length": 3.20509971, "qsc_code_frac_words_unique": 0.06760607, "qsc_code_frac_chars_top_2grams": 0.00986984, "qsc_code_frac_chars_top_3grams": 0.00577032, "qsc_code_frac_chars_top_4grams": 0.00356288, "qsc_code_frac_chars_dupe_5grams": 0.27469581, "qsc_code_frac_chars_dupe_6grams": 0.19875779, "qsc_code_frac_chars_dupe_7grams": 0.14611679, "qsc_code_frac_chars_dupe_8grams": 0.11773547, "qsc_code_frac_chars_dupe_9grams": 0.0958529, "qsc_code_frac_chars_dupe_10grams": 0.07831328, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0265388, "qsc_code_frac_chars_whitespace": 0.0123123, "qsc_code_size_file_byte": 789942.0, "qsc_code_num_lines": 52.0, "qsc_code_num_chars_line_max": 746006.0, "qsc_code_num_chars_line_mean": 15191.19230769, "qsc_code_frac_chars_alphabet": 0.65519805, "qsc_code_frac_chars_comments": 0.00110768, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.08, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 59.96, "qsc_code_frac_chars_string_length": 0.52936696, "qsc_code_frac_chars_long_word_length": 0.45764808, "qsc_code_frac_lines_string_concat": 0.04, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.04, "qsc_codejavascript_cate_ast": 1.0, "qsc_codejavascript_cate_var_zero": 0.0, "qsc_codejavascript_frac_lines_func_ratio": 57.0, "qsc_codejavascript_num_statement_line": 0.08, "qsc_codejavascript_score_lines_no_logic": 133.28, "qsc_codejavascript_frac_words_legal_var_name": 0.92971447, "qsc_codejavascript_frac_words_legal_func_name": 0.95438596, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 1, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 0, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 1, "qsc_codejavascript_score_lines_no_logic": 1, "qsc_codejavascript_frac_lines_print": 0} |
1rfsNet/GOOJPRT-Printer-Driver | MTP 标签label printer/MTP-2 BT SDK/MyPrinter#6/res/layout/dialog_edit_label_advanced_change_barcode.xml | <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_main"
android:padding="10dp" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="5dp" >
<TextView
android:layout_width="61sp"
android:layout_height="wrap_content"
android:text="@string/content"
android:textSize="15sp" />
<EditText
android:id="@+id/editTextContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:ems="10" >
<requestFocus />
</EditText>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="5dp" >
<TextView
android:layout_width="61sp"
android:layout_height="wrap_content"
android:text="@string/width"
android:textSize="15sp" />
<Spinner
android:id="@+id/spinnerBarcodeUnitWidth"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:entries="@array/spinner_barcode_unitwidth"
android:gravity="left|center_vertical" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="5dp" >
<TextView
android:layout_width="61sp"
android:layout_height="wrap_content"
android:text="@string/height"
android:textSize="15sp" />
<EditText
android:id="@+id/editTextBarcodeHeight"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:ems="10" >
<requestFocus />
</EditText>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="5dp"
android:visibility="gone" >
<TextView
android:layout_width="61sp"
android:layout_height="wrap_content"
android:text=""
android:textSize="15sp" />
<CheckBox
android:id="@+id/cbRotate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="旋转90°" />
</LinearLayout>
</LinearLayout>
</RelativeLayout> | 3,668 | dialog_edit_label_advanced_change_barcode | xml | en | xml | data | {"qsc_code_num_words": 309, "qsc_code_num_chars": 3668.0, "qsc_code_mean_word_length": 6.47572816, "qsc_code_frac_words_unique": 0.197411, "qsc_code_frac_chars_top_2grams": 0.20789605, "qsc_code_frac_chars_top_3grams": 0.12593703, "qsc_code_frac_chars_top_4grams": 0.14942529, "qsc_code_frac_chars_dupe_5grams": 0.75412294, "qsc_code_frac_chars_dupe_6grams": 0.75412294, "qsc_code_frac_chars_dupe_7grams": 0.75412294, "qsc_code_frac_chars_dupe_8grams": 0.71614193, "qsc_code_frac_chars_dupe_9grams": 0.69215392, "qsc_code_frac_chars_dupe_10grams": 0.69215392, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01600985, "qsc_code_frac_chars_whitespace": 0.33587786, "qsc_code_size_file_byte": 3668.0, "qsc_code_num_lines": 106.0, "qsc_code_num_chars_line_max": 75.0, "qsc_code_num_chars_line_mean": 34.60377358, "qsc_code_frac_chars_alphabet": 0.80500821, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.74444444, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.19787408, "qsc_code_frac_chars_long_word_length": 0.02943581, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1rfsNet/GOOJPRT-Printer-Driver | MTP 标签label printer/MTP-2 BT SDK/MyPrinter#6/res/layout/activity_main.xml | <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_main"
android:padding="10dp" >
<ProgressBar
android:id="@+id/progressBarStatus"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" />
<TableLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:padding="5dp"
android:stretchColumns="*" >
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp" >
<LinearLayout
android:id="@+id/linearLayoutMainMenuData"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical"
android:visibility="invisible" >
<ImageButton
android:id="@+id/imageButtonMainMenuData"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_normallabel_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="数据"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearlayoutMainMenuTicket"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical"
android:visibility="invisible" >
<ImageButton
android:id="@+id/imageButtonMainMenuTicket"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_normaltickets_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="出货单"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutMainMenuSimpleTest"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical"
android:visibility="invisible" >
<ImageButton
android:id="@+id/imageButtonMainMenuSimpleTest"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_normaltickets_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/simpletest"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">
<LinearLayout
android:id="@+id/linearLayoutMainMenuOpenDocument"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical"
android:visibility="invisible" >
<ImageButton
android:id="@+id/imageButtonMainMenuOpenDocument"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_opendocument_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="打开存档"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutMainMenuSettings"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical"
android:visibility="invisible" >
<ImageButton
android:id="@+id/imageButtonMainMenuSettings"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_settings_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="设置"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutMainMenuAdvanceLabel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical" >
<ImageButton
android:id="@+id/imageButtonMainMenuAdvanceLabel"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_advancelabel_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/label"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp" >
<LinearLayout
android:id="@+id/linearLayoutMainMenuUSB"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical" >
<ImageButton
android:id="@+id/imageButtonMainMenuUSB"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_bluetooth_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/usb"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutMainMenuBluetooth"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical" >
<ImageButton
android:id="@+id/imageButtonMainMenuBluetooth"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_bluetooth_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/bluetooth"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/linearLayoutMainMenuMore"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/selector_linearlayout_big_button"
android:clickable="true"
android:orientation="vertical" >
<ImageButton
android:id="@+id/imageButtonMainMenuMore"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:scaleType="fitCenter"
android:src="@drawable/main_menu_more_color" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#00000000"
android:clickable="false"
android:text="@string/more"
android:textColor="#000000"
android:textSize="15dp" />
</LinearLayout>
</TableRow>
</TableLayout>
</RelativeLayout> | 13,918 | activity_main | xml | ja | xml | data | {"qsc_code_num_words": 1131, "qsc_code_num_chars": 13918.0, "qsc_code_mean_word_length": 6.47922193, "qsc_code_frac_words_unique": 0.1061008, "qsc_code_frac_chars_top_2grams": 0.18094978, "qsc_code_frac_chars_top_3grams": 0.08105895, "qsc_code_frac_chars_top_4grams": 0.09170306, "qsc_code_frac_chars_dupe_5grams": 0.88373362, "qsc_code_frac_chars_dupe_6grams": 0.88373362, "qsc_code_frac_chars_dupe_7grams": 0.88373362, "qsc_code_frac_chars_dupe_8grams": 0.88373362, "qsc_code_frac_chars_dupe_9grams": 0.88373362, "qsc_code_frac_chars_dupe_10grams": 0.85753275, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03104742, "qsc_code_frac_chars_whitespace": 0.36822819, "qsc_code_size_file_byte": 13918.0, "qsc_code_num_lines": 320.0, "qsc_code_num_chars_line_max": 80.0, "qsc_code_num_chars_line_mean": 43.49375, "qsc_code_frac_chars_alphabet": 0.80234277, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.83972125, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.22185502, "qsc_code_frac_chars_long_word_length": 0.09799555, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc_code_frac_chars_dupe_7grams": 1, "qsc_code_frac_chars_dupe_8grams": 1, "qsc_code_frac_chars_dupe_9grams": 1, "qsc_code_frac_chars_dupe_10grams": 1, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1rfsNet/GOOJPRT-Printer-Driver | MTP 标签label printer/MTP-2 BT SDK/MyPrinter#6/res/layout/list_item_data.xml | <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="50dp"
android:padding="5dp" >
<ImageView
android:id="@+id/listItem1iv"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:clickable="false"
android:contentDescription=""
android:scaleType="centerInside"
android:src="@drawable/shop" />
<TextView
android:id="@+id/listItem2tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="60dp"
android:text=""
android:textSize="18sp" />
<ImageView
android:id="@+id/listItem3iv"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:clickable="false"
android:contentDescription=""
android:scaleType="centerInside"
android:src="@drawable/setting_arrow" />
</RelativeLayout> | 1,318 | list_item_data | xml | ja | xml | data | {"qsc_code_num_words": 143, "qsc_code_num_chars": 1318.0, "qsc_code_mean_word_length": 5.97902098, "qsc_code_frac_words_unique": 0.38461538, "qsc_code_frac_chars_top_2grams": 0.22807018, "qsc_code_frac_chars_top_3grams": 0.08421053, "qsc_code_frac_chars_top_4grams": 0.07953216, "qsc_code_frac_chars_dupe_5grams": 0.60233918, "qsc_code_frac_chars_dupe_6grams": 0.53684211, "qsc_code_frac_chars_dupe_7grams": 0.53684211, "qsc_code_frac_chars_dupe_8grams": 0.53684211, "qsc_code_frac_chars_dupe_9grams": 0.53684211, "qsc_code_frac_chars_dupe_10grams": 0.4374269, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02017291, "qsc_code_frac_chars_whitespace": 0.21016692, "qsc_code_size_file_byte": 1318.0, "qsc_code_num_lines": 39.0, "qsc_code_num_chars_line_max": 75.0, "qsc_code_num_chars_line_mean": 33.79487179, "qsc_code_frac_chars_alphabet": 0.80115274, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.48571429, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.19711903, "qsc_code_frac_chars_long_word_length": 0.01743745, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1Telescope1/monitor-sdk | src/error/initErrorEventListener.ts | import { getBehaviour, getRecordScreenData } from '../behavior'
import { TraceSubTypeEnum, TraceTypeEnum } from '../common/enum'
import { lazyReportBatch } from '../common/report'
import {
getErrorUid,
getPathToElement,
parseStackFrames
} from '../common/utils'
import {
JsErrorType,
PromiseErrorType,
ResourceErrorTarget,
ResourceErrorType
} from '../types'
const getErrorType = (event: ErrorEvent | Event) => {
const isJsError = event instanceof ErrorEvent
if (!isJsError) {
return TraceSubTypeEnum.resource
}
return event.message === 'Script error.'
? TraceSubTypeEnum.cors
: TraceSubTypeEnum.js
}
const initResourceError = (e: Event) => {
// 通过 e.target 确定错误是发生在哪个资源上
const target = e.target as ResourceErrorTarget
const src = target.src || target.href
const type = e.type
const subType = TraceSubTypeEnum.resource
const tagName = target.tagName
const message = ''
const html = target.outerHTML
const path = getPathToElement(target)
const behavior = getBehaviour()
const state = behavior?.breadcrumbs?.state || []
const reportData: ResourceErrorType = {
type,
subType,
tagName,
message,
html,
src,
pageUrl: window.location.href,
path,
errId: getErrorUid(`${subType}-${message}-${src}`),
state,
timestamp: new Date().getTime()
}
lazyReportBatch(reportData)
}
const initJsError = (e: ErrorEvent) => {
const {
colno: columnNo,
lineno: lineNo,
type,
message,
filename: src,
error
} = e
const subType = TraceSubTypeEnum.js
const stack = parseStackFrames(error)
const behavior = getBehaviour()
const state = behavior?.breadcrumbs?.state || []
const eventData = getRecordScreenData()
const reportData: JsErrorType = {
columnNo,
lineNo,
type,
message,
src,
subType,
pageUrl: window.location.href,
stack,
errId: getErrorUid(`${subType}-${message}-${src}`),
state,
timestamp: new Date().getTime(),
eventData
}
lazyReportBatch(reportData)
}
const initCorsError = (e: ErrorEvent) => {
const { message } = e
const type = TraceTypeEnum.error
const subType = TraceSubTypeEnum.cors
const reportData = {
type,
subType,
message
}
lazyReportBatch(reportData)
}
const initErrorEventListener = () => {
window.addEventListener(
'error',
(e: ErrorEvent | Event) => {
const errorType = getErrorType(e)
switch (errorType) {
case TraceSubTypeEnum.resource:
initResourceError(e)
break
case TraceSubTypeEnum.js:
initJsError(e as ErrorEvent)
break
case TraceSubTypeEnum.cors:
initCorsError(e as ErrorEvent)
break
default:
break
}
},
true
)
window.addEventListener(
'unhandledrejection',
(e: PromiseRejectionEvent) => {
const stack = parseStackFrames(e.reason)
const behavior = getBehaviour()
const state = behavior?.breadcrumbs?.state || []
const eventData = getRecordScreenData()
const reportData: PromiseErrorType = {
type: TraceTypeEnum.error,
subType: TraceSubTypeEnum.promise,
message: e.reason.message || e.reason,
stack,
pageUrl: window.location.href,
errId: getErrorUid(`'promise'-${e.reason.message}`),
state,
timestamp: new Date().getTime(),
eventData
}
// todo 发送错误信息
lazyReportBatch(reportData)
},
true
)
}
export default initErrorEventListener
| 3,540 | initErrorEventListener | ts | en | typescript | code | {"qsc_code_num_words": 313, "qsc_code_num_chars": 3540.0, "qsc_code_mean_word_length": 7.3514377, "qsc_code_frac_words_unique": 0.26198083, "qsc_code_frac_chars_top_2grams": 0.03998262, "qsc_code_frac_chars_top_3grams": 0.03650587, "qsc_code_frac_chars_top_4grams": 0.03911343, "qsc_code_frac_chars_dupe_5grams": 0.19382877, "qsc_code_frac_chars_dupe_6grams": 0.19382877, "qsc_code_frac_chars_dupe_7grams": 0.17383746, "qsc_code_frac_chars_dupe_8grams": 0.17383746, "qsc_code_frac_chars_dupe_9grams": 0.17383746, "qsc_code_frac_chars_dupe_10grams": 0.14602347, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0, "qsc_code_frac_chars_whitespace": 0.24180791, "qsc_code_size_file_byte": 3540.0, "qsc_code_num_lines": 143.0, "qsc_code_num_chars_line_max": 65.0, "qsc_code_num_chars_line_mean": 24.75524476, "qsc_code_frac_chars_alphabet": 0.85730253, "qsc_code_frac_chars_comments": 0.01186441, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.35555556, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03058891, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.00699301, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/InformationRegisters/ВерсииОбъектов/Forms/ВыборРеквизитовОбъекта/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
ДеревоРеквизитов = РеквизитФормыВЗначение("РеквизитыОбъекта");
КоллекцияРеквизитовОбъекта = ДеревоРеквизитов.Строки;
ВыбраныВсеРеквизиты = Параметры.Отбор.Количество() = 0 Или Параметры.Отбор[0] = "*";
ОбъектМетаданных = Параметры.Ссылка.Метаданные();
Для Каждого ОписаниеРеквизита Из ОбъектМетаданных.Реквизиты Цикл
Реквизит = КоллекцияРеквизитовОбъекта.Добавить();
ЗаполнитьЗначенияСвойств(Реквизит, ОписаниеРеквизита);
Реквизит.Пометка = ВыбраныВсеРеквизиты Или Параметры.Отбор.Найти(ОписаниеРеквизита.Имя) <> Неопределено;
Реквизит.Синоним = ОписаниеРеквизита.Представление();
КонецЦикла;
КоллекцияРеквизитовОбъекта.Сортировать("Синоним");
Для Каждого ОписаниеТабличнойЧасти Из ОбъектМетаданных.ТабличныеЧасти Цикл
ТабличнаяЧасть = КоллекцияРеквизитовОбъекта.Добавить();
ЗаполнитьЗначенияСвойств(ТабличнаяЧасть, ОписаниеТабличнойЧасти);
ВыбранаВсяТабличнаяЧасть = ВыбраныВсеРеквизиты Или Параметры.Отбор.Найти(ОписаниеТабличнойЧасти.Имя + ".*") <> Неопределено;
ЕстьВыбранныеЭлементы = ВыбранаВсяТабличнаяЧасть;
Для Каждого ОписаниеРеквизита Из ОписаниеТабличнойЧасти.Реквизиты Цикл
Реквизит = ТабличнаяЧасть.Строки.Добавить();
ЗаполнитьЗначенияСвойств(Реквизит, ОписаниеРеквизита);
Реквизит.Синоним = ОписаниеРеквизита.Представление();
Реквизит.Пометка = ВыбраныВсеРеквизиты Или ВыбранаВсяТабличнаяЧасть Или Параметры.Отбор.Найти(ОписаниеТабличнойЧасти.Имя + "." + ОписаниеРеквизита.Имя) <> Неопределено;
ЕстьВыбранныеЭлементы = ЕстьВыбранныеЭлементы Или Реквизит.Пометка;
КонецЦикла;
ТабличнаяЧасть.Пометка = ЕстьВыбранныеЭлементы + ?(ЕстьВыбранныеЭлементы, (Не ВыбранаВсяТабличнаяЧасть), ЕстьВыбранныеЭлементы);
ТабличнаяЧасть.Строки.Сортировать("Синоним");
КонецЦикла;
ЗначениеВРеквизитФормы(ДеревоРеквизитов, "РеквизитыОбъекта");
ВерсионированиеОбъектовПереопределяемый.ПриВыбореРеквизитовОбъекта(Параметры.Ссылка, РеквизитыОбъекта);
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиСобытийЭлементовТаблицыФормыРеквизитыОбъекта
&НаКлиенте
Процедура РеквизитыОбъектаПометкаПриИзменении(Элемент)
ПриИзмененииФлажка(Элементы.РеквизитыОбъекта, "Пометка");
УстановитьДоступностьКнопкиВыбора();
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиКомандФормы
&НаКлиенте
Процедура УстановитьФлажки(Команда)
УстановитьСнятьФлажки(Истина);
КонецПроцедуры
&НаКлиенте
Процедура СнятьФлажки(Команда)
УстановитьСнятьФлажки(Ложь);
КонецПроцедуры
&НаКлиенте
Процедура Выбрать(Команда)
Результат = Новый Структура;
Результат.Вставить("ВыбранныеРеквизиты", ВыбранныеРеквизиты(РеквизитыОбъекта.ПолучитьЭлементы()));
Результат.Вставить("ПредставлениеВыбранных", ПредставлениеВыбранныхРеквизитов());
Закрыть(Результат);
КонецПроцедуры
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
&НаКлиенте
Процедура УстановитьСнятьФлажки(Пометка)
Для Каждого Реквизит Из РеквизитыОбъекта.ПолучитьЭлементы() Цикл
Реквизит.Пометка = Пометка;
Для Каждого ПодчиненныйРеквизит Из Реквизит.ПолучитьЭлементы() Цикл
ПодчиненныйРеквизит.Пометка = Пометка;
КонецЦикла;
КонецЦикла;
УстановитьДоступностьКнопкиВыбора();
КонецПроцедуры
&НаКлиенте
Функция ВыбранныеРеквизиты(КоллекцияРеквизитов)
Результат = Новый Массив;
ВыбраныВсеРеквизиты = Истина;
Для Каждого Реквизит Из КоллекцияРеквизитов Цикл
ПодчиненныеРеквизиты = Реквизит.ПолучитьЭлементы();
Если ПодчиненныеРеквизиты.Количество() > 0 Тогда
СписокВыбранных = ВыбранныеРеквизиты(ПодчиненныеРеквизиты);
ВыбраныВсеРеквизиты = ВыбраныВсеРеквизиты И СписокВыбранных.Количество() = 1 И СписокВыбранных[0] = "*";
Для Каждого ПодчиненныйРеквизит Из СписокВыбранных Цикл
Результат.Добавить(Реквизит.Имя + "." + ПодчиненныйРеквизит);
КонецЦикла;
Иначе
ВыбраныВсеРеквизиты = ВыбраныВсеРеквизиты И Реквизит.Пометка;
Если Реквизит.Пометка Тогда
Результат.Добавить(Реквизит.Имя);
КонецЕсли;
КонецЕсли;
КонецЦикла;
Если ВыбраныВсеРеквизиты Тогда
Результат.Очистить();
Результат.Добавить("*");
КонецЕсли;
Возврат Результат;
КонецФункции
&НаКлиенте
Функция ПредставлениеВыбранныхРеквизитов()
Результат = СтрСоединить(СинонимыВыбранныхРеквизитов(), ", ");
Если Результат = "*" Тогда
Результат = НСтр("ru = 'Все реквизиты'");
КонецЕсли;
Возврат Результат;
КонецФункции
&НаСервере
Функция СинонимыВыбранныхРеквизитов()
Результат = Новый Массив;
КоллекцияРеквизитов = РеквизитФормыВЗначение("РеквизитыОбъекта");
ВыбранныеРеквизиты = КоллекцияРеквизитов.Строки.НайтиСтроки(Новый Структура("Пометка", 1));
Если ВыбранныеРеквизиты.Количество() = КоллекцияРеквизитов.Строки.Количество() Тогда
Результат.Добавить("*");
Возврат Результат;
КонецЕсли;
Для Каждого Реквизит Из ВыбранныеРеквизиты Цикл
Результат.Добавить(Реквизит.Синоним);
КонецЦикла;
ВыбранныеРеквизиты = КоллекцияРеквизитов.Строки.НайтиСтроки(Новый Структура("Пометка", 2));
Для Каждого Реквизит Из ВыбранныеРеквизиты Цикл
ПодчиненныеРеквизиты = Реквизит.Строки;
Для Каждого ПодчиненныйРеквизит Из ПодчиненныеРеквизиты Цикл
Если ПодчиненныйРеквизит.Пометка Тогда
Результат.Добавить(Реквизит.Синоним + "." + ПодчиненныйРеквизит.Синоним);
КонецЕсли;
КонецЦикла;
КонецЦикла;
Возврат Результат;
КонецФункции
// Устанавливает связанные флажки.
&НаКлиенте
Процедура ПриИзмененииФлажка(ДеревоФормы, ИмяФлажка)
ТекущиеДанные = ДеревоФормы.ТекущиеДанные;
Если ТекущиеДанные[ИмяФлажка] = 2 Тогда
ТекущиеДанные[ИмяФлажка] = 0;
КонецЕсли;
Пометка = ТекущиеДанные[ИмяФлажка];
// Обновление подчиненных флажков.
Для Каждого ПодчиненныйРеквизит Из ТекущиеДанные.ПолучитьЭлементы() Цикл
ПодчиненныйРеквизит[ИмяФлажка] = Пометка;
КонецЦикла;
// Обновление родительского флажка.
Родитель = ТекущиеДанные.ПолучитьРодителя();
Если Родитель <> Неопределено Тогда
ЕстьВыбранныеЭлементы = Ложь;
ВыбраныВсеЭлементы = Истина;
Для Каждого Элемент Из Родитель.ПолучитьЭлементы() Цикл
ЕстьВыбранныеЭлементы = ЕстьВыбранныеЭлементы Или Элемент[ИмяФлажка];
ВыбраныВсеЭлементы = ВыбраныВсеЭлементы И Элемент[ИмяФлажка];
КонецЦикла;
Родитель[ИмяФлажка] = ЕстьВыбранныеЭлементы + ?(ЕстьВыбранныеЭлементы, (Не ВыбраныВсеЭлементы), ЕстьВыбранныеЭлементы);
КонецЕсли;
КонецПроцедуры
&НаКлиенте
Процедура УстановитьДоступностьКнопкиВыбора()
Элементы.РеквизитыОбъектаВыбрать.Доступность = ВыбранныеРеквизиты(РеквизитыОбъекта.ПолучитьЭлементы()).Количество() > 0
КонецПроцедуры
#КонецОбласти
| 6,976 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 526, "qsc_code_num_chars": 6976.0, "qsc_code_mean_word_length": 10.47908745, "qsc_code_frac_words_unique": 0.2756654, "qsc_code_frac_chars_top_2grams": 0.02177068, "qsc_code_frac_chars_top_3grams": 0.01233672, "qsc_code_frac_chars_top_4grams": 0.01451379, "qsc_code_frac_chars_dupe_5grams": 0.10740203, "qsc_code_frac_chars_dupe_6grams": 0.05950653, "qsc_code_frac_chars_dupe_7grams": 0.02721335, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00336161, "qsc_code_frac_chars_whitespace": 0.10450115, "qsc_code_size_file_byte": 6976.0, "qsc_code_num_lines": 204.0, "qsc_code_num_chars_line_max": 172.0, "qsc_code_num_chars_line_mean": 34.19607843, "qsc_code_frac_chars_alphabet": 0.87882183, "qsc_code_frac_chars_comments": 0.98494839, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1Panel-dev/MaxKB-docs | docs/user_manual/app/app.md |
# 应用概述
## 1 功能概述
!!! Abstract ""
MaxKB 提供预配置模板和组件,可快速创建基础问答应用,或对复杂业务流程进行高级编排,打造专属 AI 助手。

!!! Abstract ""
- 文件夹管理:应用通过文件夹进行管理,根目录下可建立最多三级的子文件夹。每一级文件夹内均可创建相应的应用。用户可以创建应用,也可以使用资源授权后的应用。
- 状态功能:应用显示【未发布】或【已发布】状态(首次创建应用是保存未发布,即为未发布状态),以及发布时间。

## 2 应用类型
!!! Abstract ""
简单配置:提供了较为基础的功能和设置选项,基本功能完备满足大多数基本的问答需求,适用于需要快速上线智能体应用。
高级编排:支持用户创建符合业务逻辑的工作流,包括但不限于使用判断器、问题优化、函数库、内置标签等功能,满足用户问题分类、敏感词检索等各类需求,适用于需要复杂逻辑和自定义工作流的场景。


## 3 应用设置
!!! Abstract ""
应用创建完成,进入到应用页面,查看应用概览以及进行相关设置、对接。

!!! Abstract ""
**注意**:应用接入以及对话用户为 X-Pack 功能。
!!! Abstract ""
应用支持导出操作,导出后文件名称为:应用名称.mk。
对于高级编排类型的应用,导出内容为包括工作流中所有节点的参数设置以及函数内容,流程节点中所选择的知识库和模型信息不导出。

!!! Abstract ""
在应用页面,点击【导入应用】,即可导入应用文件(文件后缀为.mk)。
 | 1,013 | app | md | zh | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 36.0, "qsc_doc_num_words": 304, "qsc_doc_num_chars": 1013.0, "qsc_doc_num_lines": 56.0, "qsc_doc_mean_word_length": 2.21381579, "qsc_doc_frac_words_full_bracket": 0.01209677, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.51973684, "qsc_doc_entropy_unigram": 4.67239841, "qsc_doc_frac_words_all_caps": 0.00403226, "qsc_doc_frac_lines_dupe_lines": 0.25, "qsc_doc_frac_chars_dupe_lines": 0.11538462, "qsc_doc_frac_chars_top_2grams": 0.06240713, "qsc_doc_frac_chars_top_3grams": 0.03120357, "qsc_doc_frac_chars_top_4grams": 0.04457652, "qsc_doc_frac_chars_dupe_5grams": 0.0, "qsc_doc_frac_chars_dupe_6grams": 0.0, "qsc_doc_frac_chars_dupe_7grams": 0.0, "qsc_doc_frac_chars_dupe_8grams": 0.0, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 7.38016529, "qsc_doc_frac_chars_hyperlink_html_tag": 0.05923001, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.00453515, "qsc_doc_frac_chars_whitespace": 0.12931885, "qsc_doc_frac_chars_hex_words": 0.0} | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
1Panel-dev/MaxKB-docs | docs/user_manual/app/simple_app.md | # 简单配置应用
!!! Abstract ""
点击【创建应用】,输入应用名称以及应用描述,选择【简易配置】,点击【创建】,进入简易配置应用设置页面。

!!! Abstract ""
左侧为应用信息,右侧为调试预览界面。
* 应用名称:提问时对话框的标题和名字。
* 应用描述:对应用场景及用途的简要描述。
* AI 模型:可选择在【模型】中添加的大语言模型,也可直接添加。
* 角色设定:通过给模型指定一个特定的角色或身份,来指导模型的输出更加符合特定的场景或任务需求,可在点击右侧【生成】按钮,生成所需提示词。
* 提示词:系统默认有智能知识库的提示词,用户可以自定义通过调整提示词内容,可以引导大模型聊天方向,该提示词会被固定在上下文的开头。
* 历史聊天记录:大模型提交当前会话中最后 N 条对话内容,如果为 0,则仅向大模型提交当前问题。
* 关联知识库:知识库可设置检索方式、知识库的相似度,引用分段数 Top-N 和最大引用字符数、无引用知识库分段时的回答策略以及是否进行问题优化等。
* 开场白:打开对话时,系统弹出的默认引导说明。
* MCP:通过引用 MCP 和自定义 MCP Server Config 两种方式进行调用,支持添加多个MCP,大模型将根据提示词内容调用合适的工具。
* 工具:可以根据实际场景灵活选用自定义工具,系统自动将工具能力封装为MCP服务并对接模型,AI 能够根据对话上下文智能判断是否调用工具。
* 输出 MCP/工具执行过程:开启后,模型在生成最终答案前,会先输出一段置于标签内的推理过程,随后再给出正式回复。
* 语音输入:在语音输入完成后会转化为文字后再发送提问,需要语音识别模型的支持。
* 语音播放:将大模型生成的回答内容转换为语音进行播放,需要语音合成模型的支持。
**应用信息设置完成后,点击【保存并发布】后,应用设置才生效。**


!!! Abstract ""
提示词是在每次对话开始时固定注入的上下文指令,用于为模型确立身份、语气、知识边界及输出格式等前置规则,从而确保回复精准、风格一致且可控。
- 变量支持:如 {data} 自动插入知识库片段,{question} 引用用户问题,实现精准、可控、低幻觉的智能回复。
- 典型配置示例
- 角色锚定:你是一位专业的数据分析专家,精通 MySQL数据库SQL语言,能够熟练运用 mcp-mysql 工具进行SQL验证和查询,还能使用 quickchart-server 工具绘制图表,并对相关数据进行深入分析和解释。
- 输出格式:请用 Markdown 表格呈现答案,并在末尾给出 20 字以内的总结。
- 技能技能:生成并验证SQL、绘制图表、数据的分析和解释
- 风格语气:保持亲切、简洁,避免使用专业术语。
- 限制要求:仅围绕与生成SQL、利用工具查询验证、生成图片以及数据的分析和解释相关的内容进行回答,拒绝回答不涉及这些内容的话题。
通过合理编排提示词,管理员可在不更换模型的前提下,实现多场景、多角色的快速切换,显著降低大模型幻觉风险并提升用户体验。
简易应用的系统提示词支持基于用户输入的主题内容,自动生成高质量、结构完整的系统提示词,辅助用户快速构建适用于当前场景的提示文本。

!!! Abstract ""
开场白兼具“自我介绍”与“操作提示”的双重作用,能够在零打扰的前提下,告诉用户“我是谁、能做什么、该怎么问”。合理设计的开场白可显著降低首次使用门槛,提升后续问答效率。
- 支持 Markdown,可插入粗体、链接、换行。
- 支持使用 <html_rander> 标签编写 HTML 代码。
可参考 [MaxKB 开场白参考模板(基于 HTML 编写)](https://kb.fit2cloud.com/?p=14db4420-5ed4-4e49-b500-c36c36883c2d)。
{ width="500px" }{ width="500px" }
!!! Abstract ""
当用户提问后,系统优先在已关联的知识库中执行分段检索,随后将命中的内容注入提示词,再交由大模型生成答案。应用设置时可以控制检索行为:
- 检索模式
- 向量检索:基于向量相似度,适合大数据量、语义匹配场景。
- 全文检索:基于文本相似度,适合小数据量、关键词匹配场景。
- 混合检索:同时启用向量 + 全文,兼顾精度与召回,适用于中等数据量。
- 相似度阈值:仅返回高于设定分值(默认 0.60)的段落,过滤低相关结果。
- 引用分段数 Top-N:控制最多向大模型提交 N 条高相关段落,避免上下文过长。
- 最大引用字符数:对入选段落再做字符截断,确保总长度不超过设定上限(默认 5,000 字符)。
- 无引用时的回答策略:允许大模型基于通用知识作答,或指定统一回复(如暂无相关资料”,拒绝编造)。
- 问题优化开关:启用后,系统会先将用户问题改写为更利于检索的表述,再执行检索,提高命中率。
{ width="500px" }
!!! Abstract ""
输出思考:开启后,模型在生成最终答案前,会先输出一段置于标签内的推理过程,随后再给出正式回复。
**注意**:部分模型只输出单标签,无法进行关闭控制,需对模型进行配置优化。如 DeepSeek-R1-Distill-Qwen-32B。
 | 2,803 | simple_app | md | zh | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.00356761, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 70.0, "qsc_doc_num_words": 943, "qsc_doc_num_chars": 2803.0, "qsc_doc_num_lines": 78.0, "qsc_doc_mean_word_length": 2.10180276, "qsc_doc_frac_words_full_bracket": 0.00888889, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.43796394, "qsc_doc_entropy_unigram": 5.59365215, "qsc_doc_frac_words_all_caps": 0.01481481, "qsc_doc_frac_lines_dupe_lines": 0.10714286, "qsc_doc_frac_chars_dupe_lines": 0.03597122, "qsc_doc_frac_chars_top_2grams": 0.02018163, "qsc_doc_frac_chars_top_3grams": 0.0247225, "qsc_doc_frac_chars_top_4grams": 0.03531786, "qsc_doc_frac_chars_dupe_5grams": 0.09233098, "qsc_doc_frac_chars_dupe_6grams": 0.03834511, "qsc_doc_frac_chars_dupe_7grams": 0.03834511, "qsc_doc_frac_chars_dupe_8grams": 0.03834511, "qsc_doc_frac_chars_dupe_9grams": 0.03834511, "qsc_doc_frac_chars_dupe_10grams": 0.03834511, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 17.94594595, "qsc_doc_frac_chars_hyperlink_html_tag": 0.02818409, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.01952638, "qsc_doc_frac_chars_whitespace": 0.1412772, "qsc_doc_frac_chars_hex_words": 0.0} | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
1Panel-dev/MaxKB-docs | docs/user_manual/app/log.md |
!!! Abstract ""
在对话日志记录了所有用户会话中的问答详情,包括用户对AI 回答的反馈信息,维护人员可以通过查看对话日志详情并参考用户反馈进一步修正答案。
!!! Abstract ""
对话日志中,可以按摘要或用户进行查询。对话日志支持查询过去 7 天、30 天、90 天、过去半年的对内容。

## 1 日志详情
!!! Abstract ""
日志详情为每个用户真实的问答场景,问答中用户的反馈只能查看不能修改。

!!! Abstract ""
点击日志列表中的摘要,可查看对话详细内容。

!!! Abstract ""
运营人员可以根据用户提问、AI 回答以及用户的反馈来编辑和标注,并保存至知识库,进一步完善并提升效果。

## 2 清除策略
!!! Abstract ""
应用对话记录默认保存期限是 180 天,如果要求保留更长时间,强烈建议修改此参数。设置清除策略期限后,系统将创建自动清除任务,并在次日 0 点执行。

## 3 日志导出
!!! Abstract ""
支持将对话日志导出,查看详细的对话情况。
 | 749 | log | md | zh | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 27.0, "qsc_doc_num_words": 218, "qsc_doc_num_chars": 749.0, "qsc_doc_num_lines": 36.0, "qsc_doc_mean_word_length": 2.26146789, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.02777778, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.51376147, "qsc_doc_entropy_unigram": 4.40608125, "qsc_doc_frac_words_all_caps": 0.00557103, "qsc_doc_frac_lines_dupe_lines": 0.30434783, "qsc_doc_frac_chars_dupe_lines": 0.15463918, "qsc_doc_frac_chars_top_2grams": 0.07302231, "qsc_doc_frac_chars_top_3grams": 0.05679513, "qsc_doc_frac_chars_top_4grams": 0.0811359, "qsc_doc_frac_chars_dupe_5grams": 0.05273834, "qsc_doc_frac_chars_dupe_6grams": 0.0, "qsc_doc_frac_chars_dupe_7grams": 0.0, "qsc_doc_frac_chars_dupe_8grams": 0.0, "qsc_doc_frac_chars_dupe_9grams": 0.0, "qsc_doc_frac_chars_dupe_10grams": 0.0, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 0.0, "qsc_doc_num_chars_sentence_length_mean": 7.06451613, "qsc_doc_frac_chars_hyperlink_html_tag": 0.0, "qsc_doc_frac_chars_alphabet": null, "qsc_doc_frac_chars_digital": 0.01848998, "qsc_doc_frac_chars_whitespace": 0.13351135, "qsc_doc_frac_chars_hex_words": 0.0} | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_full_bracket": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 0, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
1zilc/fishing-funds | src/renderer/components/Home/ZindexView/ExchangeContent/Offshore/index.tsx | import React, { useState } from 'react';
import clsx from 'clsx';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import * as Utils from '@/utils';
import * as Services from '@/services';
import styles from './index.module.css';
interface OffshoreProps {}
const Offshore: React.FC<OffshoreProps> = () => {
const { data = [], run: runGetListFromEastmoney } = useRequest(() => Services.Exchange.GetListFromEastmoney('0', 'm:133'), {
pollingInterval: 1000 * 60,
});
return (
<ChartCard className={styles.content} auto onFresh={runGetListFromEastmoney}>
{data.map((i) => (
<div key={i.code} style={{ textAlign: 'center' }}>
<div>{i.name}最新价</div>
<div
className={clsx(Utils.GetValueColor(i.zxj - i.zs).textClass)}
style={{ fontSize: 20, fontWeight: 500, lineHeight: '24px', marginBottom: 10 }}
>
¥ {i.zxj}
</div>
<div className={styles.row}>
<div>
涨跌额:
<span className={clsx(Utils.GetValueColor(i.zde).textClass)}>{i.zde}</span>
</div>
<div>
涨跌幅:
<span className={clsx(Utils.GetValueColor(i.zdf).textClass)}>{i.zdf}%</span>
</div>
</div>
<div className={styles.row}>
<div>
最高:
<span className={clsx(Utils.GetValueColor(i.zg - i.zs).textClass)}>{i.zg}</span>
</div>
<div>
最低:
<span className={clsx(Utils.GetValueColor(i.zd - i.zs).textClass)}>{i.zd}</span>
</div>
</div>
<div className={styles.row}>
<div>
今开:
<span className={clsx(Utils.GetValueColor(i.jk - i.zs).textClass)}>{i.jk}</span>
</div>
<div>昨收: {i.zs}</div>
</div>
</div>
))}
</ChartCard>
);
};
export default Offshore;
| 1,980 | index | tsx | en | tsx | code | {"qsc_code_num_words": 203, "qsc_code_num_chars": 1980.0, "qsc_code_mean_word_length": 5.09852217, "qsc_code_frac_words_unique": 0.37438424, "qsc_code_frac_chars_top_2grams": 0.06376812, "qsc_code_frac_chars_top_3grams": 0.10434783, "qsc_code_frac_chars_top_4grams": 0.17971014, "qsc_code_frac_chars_dupe_5grams": 0.29661836, "qsc_code_frac_chars_dupe_6grams": 0.26570048, "qsc_code_frac_chars_dupe_7grams": 0.06570048, "qsc_code_frac_chars_dupe_8grams": 0.06570048, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01387874, "qsc_code_frac_chars_whitespace": 0.30858586, "qsc_code_size_file_byte": 1980.0, "qsc_code_num_lines": 61.0, "qsc_code_num_chars_line_max": 127.0, "qsc_code_num_chars_line_mean": 32.45901639, "qsc_code_frac_chars_alphabet": 0.74141709, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.32142857, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0469697, "qsc_code_frac_chars_long_word_length": 0.01363636, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/ZindexView/ExchangeContent/CnyCenterExchange/index.tsx | import React, { PropsWithChildren, useState, useEffect } from 'react';
import { Table } from 'antd';
import clsx from 'clsx';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
interface CnyCenterExchangeProps {}
const CnyCenterExchange: React.FC<PropsWithChildren<CnyCenterExchangeProps>> = () => {
const columns = [
{
title: '名称',
dataIndex: 'name',
ellipsis: true,
sorter: (a: any, b: any) => b.name.localeCompare(a.name, 'zh'),
},
{
title: '最新价',
dataIndex: 'zxj',
render: (text: string, record: Exchange.ResponseItem) => (
<span className={clsx(Utils.GetValueColor(record.zxj - record.zs).textClass)}>{text}</span>
),
sorter: (a: any, b: any) => Number(a.zxj) - Number(b.zxj),
},
{
title: '涨跌幅',
dataIndex: 'zdf',
render: (text: string, record: Exchange.ResponseItem) => (
<span className={clsx(Utils.GetValueColor(record.zdf).textClass)}>{text}%</span>
),
sorter: (a: any, b: any) => Number(a.zdf) - Number(b.zdf),
},
];
const {
data = [],
run: runGetListFromEastmoney,
loading,
} = useRequest(() => Services.Exchange.GetListFromEastmoney('1', 'm:120'));
return (
<ChartCard auto onFresh={runGetListFromEastmoney}>
<div className={styles.content}>
<Table
rowKey="code"
size="small"
columns={columns}
dataSource={data}
loading={loading}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
/>
</div>
</ChartCard>
);
};
export default CnyCenterExchange;
| 1,845 | index | tsx | en | tsx | code | {"qsc_code_num_words": 176, "qsc_code_num_chars": 1845.0, "qsc_code_mean_word_length": 6.16477273, "qsc_code_frac_words_unique": 0.46022727, "qsc_code_frac_chars_top_2grams": 0.01474654, "qsc_code_frac_chars_top_3grams": 0.02764977, "qsc_code_frac_chars_top_4grams": 0.03041475, "qsc_code_frac_chars_dupe_5grams": 0.2359447, "qsc_code_frac_chars_dupe_6grams": 0.22304147, "qsc_code_frac_chars_dupe_7grams": 0.22304147, "qsc_code_frac_chars_dupe_8grams": 0.22304147, "qsc_code_frac_chars_dupe_9grams": 0.22304147, "qsc_code_frac_chars_dupe_10grams": 0.22304147, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00435414, "qsc_code_frac_chars_whitespace": 0.25311653, "qsc_code_size_file_byte": 1845.0, "qsc_code_num_lines": 65.0, "qsc_code_num_chars_line_max": 100.0, "qsc_code_num_chars_line_mean": 28.38461538, "qsc_code_frac_chars_alphabet": 0.78301887, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06779661, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06937669, "qsc_code_frac_chars_long_word_length": 0.01463415, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/ZindexView/ExchangeContent/GlobalBond/index.tsx | import React, { PropsWithChildren, useState, useEffect } from 'react';
import { Table } from 'antd';
import clsx from 'clsx';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
interface GlobalBondProps {}
const GlobalBond: React.FC<PropsWithChildren<GlobalBondProps>> = () => {
const columns = [
{
title: '名称',
dataIndex: 'name',
ellipsis: true,
sorter: (a: any, b: any) => b.name.localeCompare(a.name, 'zh'),
},
{
title: '最新价',
dataIndex: 'price',
render: (text: string, record: any) => <span className={clsx(Utils.GetValueColor(record.percent).textClass)}>{text}</span>,
sorter: (a: any, b: any) => Number(a.price) - Number(b.price),
},
{
title: '涨跌幅',
dataIndex: 'percent',
render: (text: string, record: any) => <span className={clsx(Utils.GetValueColor(record.percent).textClass)}>{text}%</span>,
sorter: (a: any, b: any) => Number(a.percent) - Number(b.percent),
},
];
const { data = [], run: runGetGlobalBondFromEastmoney, loading } = useRequest(Services.Exchange.GetGlobalBondFromEastmoney);
return (
<ChartCard auto onFresh={runGetGlobalBondFromEastmoney}>
<div className={styles.content}>
<Table
rowKey="code"
size="small"
columns={columns}
dataSource={data}
loading={loading}
pagination={{
defaultPageSize: 20,
hideOnSinglePage: true,
position: ['bottomCenter'],
}}
/>
</div>
</ChartCard>
);
};
export default GlobalBond;
| 1,742 | index | tsx | en | tsx | code | {"qsc_code_num_words": 169, "qsc_code_num_chars": 1742.0, "qsc_code_mean_word_length": 6.23668639, "qsc_code_frac_words_unique": 0.44970414, "qsc_code_frac_chars_top_2grams": 0.01518027, "qsc_code_frac_chars_top_3grams": 0.028463, "qsc_code_frac_chars_top_4grams": 0.0313093, "qsc_code_frac_chars_dupe_5grams": 0.22390892, "qsc_code_frac_chars_dupe_6grams": 0.21062619, "qsc_code_frac_chars_dupe_7grams": 0.21062619, "qsc_code_frac_chars_dupe_8grams": 0.21062619, "qsc_code_frac_chars_dupe_9grams": 0.21062619, "qsc_code_frac_chars_dupe_10grams": 0.21062619, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0015083, "qsc_code_frac_chars_whitespace": 0.23880597, "qsc_code_size_file_byte": 1742.0, "qsc_code_num_lines": 57.0, "qsc_code_num_chars_line_max": 131.0, "qsc_code_num_chars_line_mean": 30.56140351, "qsc_code_frac_chars_alphabet": 0.7933635, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07347876, "qsc_code_frac_chars_long_word_length": 0.01549943, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zimu-com/1zimu | firefox-mv3-prod/InlineSubtitleMask.80267d62.js | var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,r,n,a,o){var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof i[a]&&i[a],s=l.cache||{},u="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(e,r){if(!s[e]){if(!t[e]){var n="function"==typeof i[a]&&i[a];if(!r&&n)return n(e,!0);if(l)return l(e,!0);if(u&&"string"==typeof e)return u(e);var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}f.resolve=function(r){var n=t[e][1][r];return null!=n?n:r},f.cache={};var d=s[e]=new c.Module(e);t[e][0].call(d.exports,f,d,d.exports,this)}return s[e].exports;function f(e){var t=f.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=t,c.cache=s,c.parent=l,c.register=function(e,r){t[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return i[a]}}),i[a]=c;for(var d=0;d<r.length;d++)c(r[d]);if(n){var f=c(n);"object"==typeof exports&&"undefined"!=typeof module?module.exports=f:"function"==typeof e&&e.amd?e(function(){return f}):o&&(this[o]=f)}}({arQdC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js"),a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("react-dom/client"),l=e("@plasmo-static-common/csui"),s=e("@plasmo-static-common/csui-container-react"),u=e("@plasmo-static-common/react"),c=e("~contents/InlineSubtitleMask");let d=(0,l.createAnchorObserver)(c),f=(0,l.createRender)(c,[s.InlineCSUIContainer,s.OverlayCSUIContainer],d?.mountState,async(e,t)=>{let r=(0,i.createRoot)(t);e.root=r;let n=(0,u.getLayout)(c);switch(e.type){case"inline":r.render((0,a.jsx)(n,{children:(0,a.jsx)(s.InlineCSUIContainer,{anchor:e,children:(0,a.jsx)(c.default,{anchor:e})})}));break;case"overlay":{let t=d?.mountState.overlayTargetList||[e.element];r.render((0,a.jsx)(n,{children:t.map((e,t)=>{let r=`plasmo-overlay-${t}`,n={element:e,type:"overlay"};return(0,a.jsx)(s.OverlayCSUIContainer,{id:r,anchor:n,watchOverlayAnchor:c.watchOverlayAnchor,children:(0,a.jsx)(c.default,{anchor:n})},r)})}))}}});d?d.start(f):f({element:document.documentElement,type:"overlay"}),"function"==typeof c.watch&&c.watch({observer:d,render:f})},{"react/jsx-runtime":"8iOxN",react:"329PG","react-dom/client":"blMEL","@plasmo-static-common/csui":"gcN4J","@plasmo-static-common/csui-container-react":"e8dRS","@plasmo-static-common/react":"4kz0G","~contents/InlineSubtitleMask":"8YGb6","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"8iOxN":[function(e,t,r){t.exports=e("ba80e5a03a461355")},{ba80e5a03a461355:"hIfNu"}],hIfNu:[function(e,t,r){var n=e("61e3cf0e9433c992"),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}r.Fragment=o,r.jsx=u,r.jsxs=u},{"61e3cf0e9433c992":"329PG"}],"329PG":[function(e,t,r){t.exports=e("ae0ab14aecd941d7")},{ae0ab14aecd941d7:"5ejwk"}],"5ejwk":[function(e,t,r){var n=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function y(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function v(){}function w(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var x=w.prototype=new v;x.constructor=w,m(x,y.prototype),x.isPureReactComponent=!0;var S=Array.isArray,E=Object.prototype.hasOwnProperty,_={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)E.call(t,a)&&!k.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function I(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var o=[],i=0;return function e(t,r,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case a:f=!0}}if(f)return l=l(f=t),t=""===i?"."+I(f,0):i,S(l)?(o="",null!=t&&(o=t.replace(R,"$&/")+"/"),e(l,r,o,"",function(e){return e})):null!=l&&(O(l)&&(s=l,u=o+(!l.key||f&&f.key===l.key?"":(""+l.key).replace(R,"$&/")+"/")+t,l={$$typeof:n,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),r.push(l)),1;if(f=0,i=""===i?".":i+":",S(t))for(var p=0;p<t.length;p++){var g=i+I(d=t[p],p);f+=e(d,r,o,g,l)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=h&&c[h]||c["@@iterator"])?c:null))for(t=g.call(t),p=0;!(d=t.next()).done;)g=i+I(d=d.value,p++),f+=e(d,r,o,g,l);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return f}(e,o,"","",function(e){return t.call(r,e,i++)}),o}function C(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},j={transition:null};r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=y,r.Fragment=o,r.Profiler=l,r.PureComponent=w,r.StrictMode=i,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:j,ReactCurrentOwner:_},r.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)E.call(t,u)&&!k.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},r.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},r.createElement=T,r.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=O,r.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:C}},r.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return L.current.useCallback(e,t)},r.useContext=function(e){return L.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return L.current.useDeferredValue(e)},r.useEffect=function(e,t){return L.current.useEffect(e,t)},r.useId=function(){return L.current.useId()},r.useImperativeHandle=function(e,t,r){return L.current.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return L.current.useMemo(e,t)},r.useReducer=function(e,t,r){return L.current.useReducer(e,t,r)},r.useRef=function(e){return L.current.useRef(e)},r.useState=function(e){return L.current.useState(e)},r.useSyncExternalStore=function(e,t,r){return L.current.useSyncExternalStore(e,t,r)},r.useTransition=function(){return L.current.useTransition()},r.version="18.2.0"},{}],blMEL:[function(e,t,r){var n=e("87ad33dd8ef612b1");r.createRoot=n.createRoot,r.hydrateRoot=n.hydrateRoot},{"87ad33dd8ef612b1":"f20Gy"}],f20Gy:[function(e,t,r){(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}})(),t.exports=e("6a4f0a32037af21")},{"6a4f0a32037af21":"glUXj"}],glUXj:[function(e,t,r){var n,a,o,i,l,s,u=e("c293e9ed31165f07"),c=e("fabf034282b0d218");function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var m=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),b=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},w={};function x(e,t,r,n,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new x(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function k(e,t,r,n){var a,o=S.hasOwnProperty(t)?S[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?(a=t,(!!b.call(w,a)||!b.call(v,a)&&(y.test(a)?w[a]=!0:(v[a]=!0,!1)))&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r))):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var T=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),R=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),j=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var F=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}var H,W=Object.assign;function G(e){if(void 0===H)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+e}var V=!1;function $(e,t){if(!e||V)return"";V=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=n.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l)break}}}finally{V=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?G(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Y(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var r=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function J(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=q(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function et(e,t){ee(e,t);var r=q(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n){e.removeAttribute("value");return}t.hasOwnProperty("value")?en(e,t.type,r):t.hasOwnProperty("defaultValue")&&en(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function er(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function en(e,t,r){("number"!==t||Z(e.ownerDocument)!==e)&&(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ea=Array.isArray;function eo(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(a=0,r=""+q(r),t=null;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ei(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function el(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(d(92));if(ea(r)){if(1<r.length)throw Error(d(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:q(r)}}function es(e,t){var r=q(t.value),n=q(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ef,ep,eh=(ef=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return ef(e,t,r,n)})}:ef);function eg(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eb=["Webkit","ms","Moz","O"];function ey(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),a=ey(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}Object.keys(em).forEach(function(e){eb.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var ew=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ex(e,t){if(t){if(ew[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function eS(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eE=null;function e_(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ek=null,eT=null,eO=null;function eR(e){if(e=nN(e)){if("function"!=typeof ek)throw Error(d(280));var t=e.stateNode;t&&(t=nz(t),ek(e.stateNode,e.type,t))}}function eI(e){eT?eO?eO.push(e):eO=[e]:eT=e}function eP(){if(eT){var e=eT,t=eO;if(eO=eT=null,eR(e),t)for(e=0;e<t.length;e++)eR(t[e])}}function eC(e,t){return e(t)}function eL(){}var ej=!1;function eD(e,t,r){if(ej)return e(t,r);ej=!0;try{return eC(e,t,r)}finally{ej=!1,(null!==eT||null!==eO)&&(eL(),eP())}}function eA(e,t){var r=e.stateNode;if(null===r)return null;var n=nz(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(d(231,t,typeof r));return r}var eN=!1;if(m)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){eN=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){eN=!1}function ez(e,t,r,n,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var eU=!1,eF=null,eB=!1,eH=null,eW={onError:function(e){eU=!0,eF=e}};function eG(e,t,r,n,a,o,i,l,s){eU=!1,eF=null,ez.apply(eW,arguments)}function eV(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function e$(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function eq(e){if(eV(e)!==e)throw Error(d(188))}function eY(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=eV(e)))throw Error(d(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(n=a.return)){r=n;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===r)return eq(a),e;if(o===n)return eq(a),t;o=o.sibling}throw Error(d(188))}if(r.return!==n.return)r=a,n=o;else{for(var i=!1,l=a.child;l;){if(l===r){i=!0,r=a,n=o;break}if(l===n){i=!0,n=a,r=o;break}l=l.sibling}if(!i){for(l=o.child;l;){if(l===r){i=!0,r=o,n=a;break}if(l===n){i=!0,n=o,r=a;break}l=l.sibling}if(!i)throw Error(d(189))}}if(r.alternate!==n)throw Error(d(190))}if(3!==r.tag)throw Error(d(188));return r.stateNode.current===r?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var r=e(t);if(null!==r)return r;t=t.sibling}return null}(e):null}var eK=c.unstable_scheduleCallback,eX=c.unstable_cancelCallback,eZ=c.unstable_shouldYield,eQ=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e5=c.unstable_IdlePriority,e8=null,e6=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/te|0)|0},e7=Math.log,te=Math.LN2,tt=64,tr=4194304;function tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ta(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&r;if(0!==i){var l=i&~a;0!==l?n=tn(l):0!=(o&=i)&&(n=tn(o))}else 0!=(i=r&~a)?n=tn(i):0!==o&&(n=tn(o));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&a)&&((a=n&-n)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)a=1<<(r=31-e9(t)),n|=e[r],t&=~a;return n}function to(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ti(){var e=tt;return 0==(4194240&(tt<<=1))&&(tt=64),e}function tl(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function ts(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-e9(t)]=r}function tu(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-e9(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}var tc=0;function td(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tf,tp,th,tg,tm,tb=!1,ty=[],tv=null,tw=null,tx=null,tS=new Map,tE=new Map,t_=[],tk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tT(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tw=null;break;case"mouseover":case"mouseout":tx=null;break;case"pointerover":case"pointerout":tS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tE.delete(t.pointerId)}}function tO(e,t,r,n,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=nN(t))&&tp(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function tR(e){var t=nA(e.target);if(null!==t){var r=eV(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=e$(r))){e.blockedOn=t,tm(e.priority,function(){th(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tI(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=tF(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=nN(r))&&tp(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);eE=n,r.target.dispatchEvent(n),eE=null,t.shift()}return!0}function tP(e,t,r){tI(e)&&r.delete(t)}function tC(){tb=!1,null!==tv&&tI(tv)&&(tv=null),null!==tw&&tI(tw)&&(tw=null),null!==tx&&tI(tx)&&(tx=null),tS.forEach(tP),tE.forEach(tP)}function tL(e,t){e.blockedOn===t&&(e.blockedOn=null,tb||(tb=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tC)))}function tj(e){function t(t){return tL(t,e)}if(0<ty.length){tL(ty[0],e);for(var r=1;r<ty.length;r++){var n=ty[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==tv&&tL(tv,e),null!==tw&&tL(tw,e),null!==tx&&tL(tx,e),tS.forEach(t),tE.forEach(t),r=0;r<t_.length;r++)(n=t_[r]).blockedOn===e&&(n.blockedOn=null);for(;0<t_.length&&null===(r=t_[0]).blockedOn;)tR(r),null===r.blockedOn&&t_.shift()}var tD=T.ReactCurrentBatchConfig,tA=!0;function tN(e,t,r,n){var a=tc,o=tD.transition;tD.transition=null;try{tc=1,tz(e,t,r,n)}finally{tc=a,tD.transition=o}}function tM(e,t,r,n){var a=tc,o=tD.transition;tD.transition=null;try{tc=4,tz(e,t,r,n)}finally{tc=a,tD.transition=o}}function tz(e,t,r,n){if(tA){var a=tF(e,t,r,n);if(null===a)nl(e,t,n,tU,r),tT(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return tv=tO(tv,e,t,r,n,a),!0;case"dragenter":return tw=tO(tw,e,t,r,n,a),!0;case"mouseover":return tx=tO(tx,e,t,r,n,a),!0;case"pointerover":var o=a.pointerId;return tS.set(o,tO(tS.get(o)||null,e,t,r,n,a)),!0;case"gotpointercapture":return o=a.pointerId,tE.set(o,tO(tE.get(o)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(tT(e,n),4&t&&-1<tk.indexOf(e)){for(;null!==a;){var o=nN(a);if(null!==o&&tf(o),null===(o=tF(e,t,r,n))&&nl(e,t,n,tU,r),o===a)break;a=o}null!==a&&n.stopPropagation()}else nl(e,t,n,null,r)}}var tU=null;function tF(e,t,r,n){if(tU=null,null!==(e=nA(e=e_(n)))){if(null===(t=eV(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=e$(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tU=e,null}function tB(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e5:return 536870912;default:return 16}default:return 16}}var tH=null,tW=null,tG=null;function tV(){if(tG)return tG;var e,t,r=tW,n=r.length,a="value"in tH?tH.value:tH.textContent,o=a.length;for(e=0;e<n&&r[e]===a[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===a[o-t];t++);return tG=a.slice(e,1<t?1-t:void 0)}function t$(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tq(){return!0}function tY(){return!1}function tK(e){function t(t,r,n,a,o){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tq:tY,this.isPropagationStopped=tY,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tq)},persist:function(){},isPersistent:tq}),t}var tX,tZ,tQ,tJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t0=tK(tJ),t1=W({},tJ,{view:0,detail:0}),t2=tK(t1),t3=W({},t1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ra,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tQ&&(tQ&&"mousemove"===e.type?(tX=e.screenX-tQ.screenX,tZ=e.screenY-tQ.screenY):tZ=tX=0,tQ=e),tX)},movementY:function(e){return"movementY"in e?e.movementY:tZ}}),t4=tK(t3),t5=tK(W({},t3,{dataTransfer:0})),t8=tK(W({},t1,{relatedTarget:0})),t6=tK(W({},tJ,{animationName:0,elapsedTime:0,pseudoElement:0})),t9=tK(W({},tJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tK(W({},tJ,{data:0})),re={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rr[e])&&!!t[e]}function ra(){return rn}var ro=tK(W({},t1,{key:function(e){if(e.key){var t=re[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t$(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ra,charCode:function(e){return"keypress"===e.type?t$(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t$(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),ri=tK(W({},t3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rl=tK(W({},t1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ra})),rs=tK(W({},tJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),ru=tK(W({},t3,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rc=[9,13,27,32],rd=m&&"CompositionEvent"in window,rf=null;m&&"documentMode"in document&&(rf=document.documentMode);var rp=m&&"TextEvent"in window&&!rf,rh=m&&(!rd||rf&&8<rf&&11>=rf),rg=!1;function rm(e,t){switch(e){case"keyup":return -1!==rc.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ry=!1,rv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rv[e.type]:"textarea"===t}function rx(e,t,r,n){eI(n),0<(t=nu(t,"onChange")).length&&(r=new t0("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rS=null,rE=null;function r_(e){nt(e,0)}function rk(e){if(X(nM(e)))return e}function rT(e,t){if("change"===e)return t}var rO=!1;if(m){if(m){var rR="oninput"in document;if(!rR){var rI=document.createElement("div");rI.setAttribute("oninput","return;"),rR="function"==typeof rI.oninput}n=rR}else n=!1;rO=n&&(!document.documentMode||9<document.documentMode)}function rP(){rS&&(rS.detachEvent("onpropertychange",rC),rE=rS=null)}function rC(e){if("value"===e.propertyName&&rk(rE)){var t=[];rx(t,rE,e,e_(e)),eD(r_,t)}}function rL(e,t,r){"focusin"===e?(rP(),rS=t,rE=r,rS.attachEvent("onpropertychange",rC)):"focusout"===e&&rP()}function rj(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rk(rE)}function rD(e,t){if("click"===e)return rk(t)}function rA(e,t){if("input"===e||"change"===e)return rk(t)}var rN="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rM(e,t){if(rN(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!b.call(t,a)||!rN(e[a],t[a]))return!1}return!0}function rz(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rU(e,t){var r,n=rz(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rz(n)}}function rF(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=Z(e.document)}return t}function rB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rH=m&&"documentMode"in document&&11>=document.documentMode,rW=null,rG=null,rV=null,r$=!1;function rq(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;r$||null==rW||rW!==Z(n)||(n="selectionStart"in(n=rW)&&rB(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},rV&&rM(rV,n)||(rV=n,0<(n=nu(rG,"onSelect")).length&&(t=new t0("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=rW)))}function rY(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rK={animationend:rY("Animation","AnimationEnd"),animationiteration:rY("Animation","AnimationIteration"),animationstart:rY("Animation","AnimationStart"),transitionend:rY("Transition","TransitionEnd")},rX={},rZ={};function rQ(e){if(rX[e])return rX[e];if(!rK[e])return e;var t,r=rK[e];for(t in r)if(r.hasOwnProperty(t)&&t in rZ)return rX[e]=r[t];return e}m&&(rZ=document.createElement("div").style,"AnimationEvent"in window||(delete rK.animationend.animation,delete rK.animationiteration.animation,delete rK.animationstart.animation),"TransitionEvent"in window||delete rK.transitionend.transition);var rJ=rQ("animationend"),r0=rQ("animationiteration"),r1=rQ("animationstart"),r2=rQ("transitionend"),r3=new Map,r4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function r5(e,t){r3.set(e,t),h(t,[e])}for(var r8=0;r8<r4.length;r8++){var r6=r4[r8];r5(r6.toLowerCase(),"on"+(r6[0].toUpperCase()+r6.slice(1)))}r5(rJ,"onAnimationEnd"),r5(r0,"onAnimationIteration"),r5(r1,"onAnimationStart"),r5("dblclick","onDoubleClick"),r5("focusin","onFocus"),r5("focusout","onBlur"),r5(r2,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var r9="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),r7=new Set("cancel close invalid load scroll toggle".split(" ").concat(r9));function ne(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,a,o,i,l,s){if(eG.apply(this,arguments),eU){if(eU){var u=eF;eU=!1,eF=null}else throw Error(d(198));eB||(eB=!0,eH=u)}}(n,t,void 0,e),e.currentTarget=null}function nt(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;ne(a,l,u),o=s}else for(i=0;i<n.length;i++){if(s=(l=n[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;ne(a,l,u),o=s}}}if(eB)throw e=eH,eB=!1,eH=null,e}function nr(e,t){var r=t[nL];void 0===r&&(r=t[nL]=new Set);var n=e+"__bubble";r.has(n)||(ni(t,e,2,!1),r.add(n))}function nn(e,t,r){var n=0;t&&(n|=4),ni(r,e,n,t)}var na="_reactListening"+Math.random().toString(36).slice(2);function no(e){if(!e[na]){e[na]=!0,f.forEach(function(t){"selectionchange"!==t&&(r7.has(t)||nn(t,!1,e),nn(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[na]||(t[na]=!0,nn("selectionchange",!1,t))}}function ni(e,t,r,n){switch(tB(t)){case 1:var a=tN;break;case 4:a=tM;break;default:a=tz}r=a.bind(null,t,r,e),a=void 0,eN&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function nl(e,t,r,n,a){var o=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var l=n.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=n.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=nA(l)))return;if(5===(s=i.tag)||6===s){n=o=i;continue e}l=l.parentNode}}n=n.return}eD(function(){var n=o,a=e_(r),i=[];e:{var l=r3.get(e);if(void 0!==l){var s=t0,u=e;switch(e){case"keypress":if(0===t$(r))break e;case"keydown":case"keyup":s=ro;break;case"focusin":u="focus",s=t8;break;case"focusout":u="blur",s=t8;break;case"beforeblur":case"afterblur":s=t8;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=t4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=rl;break;case rJ:case r0:case r1:s=t6;break;case r2:s=rs;break;case"scroll":s=t2;break;case"wheel":s=ru;break;case"copy":case"cut":case"paste":s=t9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ri}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=n;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=eA(h,f))&&c.push(ns(h,g,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,r,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&r!==eE&&(u=r.relatedTarget||r.fromElement)&&(nA(u)||u[nC]))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(u=r.relatedTarget||r.toElement,s=n,null!==(u=u?nA(u):null)&&(d=eV(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=n),s!==u)){if(c=t4,g="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=ri,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:nM(s),p=null==u?l:nM(u),(l=new c(g,h+"leave",s,r,a)).target=d,l.relatedTarget=p,g=null,nA(a)===n&&((c=new c(f,h+"enter",u,r,a)).target=p,c.relatedTarget=d,g=c),d=g,s&&u)t:{for(c=s,f=u,h=0,p=c;p;p=nc(p))h++;for(p=0,g=f;g;g=nc(g))p++;for(;0<h-p;)c=nc(c),h--;for(;0<p-h;)f=nc(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break t;c=nc(c),f=nc(f)}c=null}else c=null;null!==s&&nd(i,l,s,c,!1),null!==u&&null!==d&&nd(i,d,u,c,!0)}e:{if("select"===(s=(l=n?nM(n):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m,b=rT;else if(rw(l)){if(rO)b=rA;else{b=rj;var y=rL}}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(b=rD);if(b&&(b=b(e,n))){rx(i,b,r,a);break e}y&&y(e,l,n),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&en(l,"number",l.value)}switch(y=n?nM(n):window,e){case"focusin":(rw(y)||"true"===y.contentEditable)&&(rW=y,rG=n,rV=null);break;case"focusout":rV=rG=rW=null;break;case"mousedown":r$=!0;break;case"contextmenu":case"mouseup":case"dragend":r$=!1,rq(i,r,a);break;case"selectionchange":if(rH)break;case"keydown":case"keyup":rq(i,r,a)}if(rd)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else ry?rm(e,r)&&(v="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(v="onCompositionStart");v&&(rh&&"ko"!==r.locale&&(ry||"onCompositionStart"!==v?"onCompositionEnd"===v&&ry&&(m=tV()):(tW="value"in(tH=a)?tH.value:tH.textContent,ry=!0)),0<(y=nu(n,v)).length&&(v=new t7(v,e,null,r,a),i.push({event:v,listeners:y}),m?v.data=m:null!==(m=rb(r))&&(v.data=m))),(m=rp?function(e,t){switch(e){case"compositionend":return rb(t);case"keypress":if(32!==t.which)return null;return rg=!0," ";case"textInput":return" "===(e=t.data)&&rg?null:e;default:return null}}(e,r):function(e,t){if(ry)return"compositionend"===e||!rd&&rm(e,t)?(e=tV(),tG=tW=tH=null,ry=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rh&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=nu(n,"onBeforeInput")).length&&(a=new t7("onBeforeInput","beforeinput",null,r,a),i.push({event:a,listeners:n}),a.data=m)}nt(i,t)})}function ns(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nu(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=eA(e,r))&&n.unshift(ns(e,o,a)),null!=(o=eA(e,t))&&n.push(ns(e,o,a))),e=e.return}return n}function nc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function nd(e,t,r,n,a){for(var o=t._reactName,i=[];null!==r&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(null!==s&&s===n)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=eA(r,o))&&i.unshift(ns(r,s,l)):a||null!=(s=eA(r,o))&&i.push(ns(r,s,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var nf=/\r\n?/g,np=/\u0000|\uFFFD/g;function nh(e){return("string"==typeof e?e:""+e).replace(nf,"\n").replace(np,"")}function ng(e,t,r){if(t=nh(t),nh(e)!==t&&r)throw Error(d(425))}function nm(){}var nb=null,ny=null;function nv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var nw="function"==typeof setTimeout?setTimeout:void 0,nx="function"==typeof clearTimeout?clearTimeout:void 0,nS="function"==typeof Promise?Promise:void 0,nE="function"==typeof queueMicrotask?queueMicrotask:void 0!==nS?function(e){return nS.resolve(null).then(e).catch(n_)}:nw;function n_(e){setTimeout(function(){throw e})}function nk(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType){if("/$"===(r=a.data)){if(0===n){e.removeChild(a),tj(t);return}n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}r=a}while(r)tj(t)}function nT(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function nO(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var nR=Math.random().toString(36).slice(2),nI="__reactFiber$"+nR,nP="__reactProps$"+nR,nC="__reactContainer$"+nR,nL="__reactEvents$"+nR,nj="__reactListeners$"+nR,nD="__reactHandles$"+nR;function nA(e){var t=e[nI];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nC]||r[nI]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=nO(e);null!==e;){if(r=e[nI])return r;e=nO(e)}return t}r=(e=r).parentNode}return null}function nN(e){return(e=e[nI]||e[nC])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function nM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function nz(e){return e[nP]||null}var nU=[],nF=-1;function nB(e){return{current:e}}function nH(e){0>nF||(e.current=nU[nF],nU[nF]=null,nF--)}function nW(e,t){nU[++nF]=e.current,e.current=t}var nG={},nV=nB(nG),n$=nB(!1),nq=nG;function nY(e,t){var r=e.type.contextTypes;if(!r)return nG;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in r)o[a]=t[a];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function nK(e){return null!=(e=e.childContextTypes)}function nX(){nH(n$),nH(nV)}function nZ(e,t,r){if(nV.current!==nG)throw Error(d(168));nW(nV,t),nW(n$,r)}function nQ(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var a in n=n.getChildContext())if(!(a in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case I:return"Fragment";case R:return"Portal";case C:return"Profiler";case P:return"StrictMode";case A:return"Suspense";case N:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case j:return(t.displayName||"Context")+".Consumer";case L:return(t._context.displayName||"Context")+".Provider";case D:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case M:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case z:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(t);case 8:return t===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",a));return W({},r,n)}function nJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nG,nq=nV.current,nW(nV,e),nW(n$,n$.current),!0}function n0(e,t,r){var n=e.stateNode;if(!n)throw Error(d(169));r?(e=nQ(e,t,nq),n.__reactInternalMemoizedMergedChildContext=e,nH(n$),nH(nV),nW(nV,e)):nH(n$),nW(n$,r)}var n1=null,n2=!1,n3=!1;function n4(e){null===n1?n1=[e]:n1.push(e)}function n5(){if(!n3&&null!==n1){n3=!0;var e=0,t=tc;try{var r=n1;for(tc=1;e<r.length;e++){var n=r[e];do n=n(!0);while(null!==n)}n1=null,n2=!1}catch(t){throw null!==n1&&(n1=n1.slice(e+1)),eK(e1,n5),t}finally{tc=t,n3=!1}}return null}var n8=[],n6=0,n9=null,n7=0,ae=[],at=0,ar=null,an=1,aa="";function ao(e,t){n8[n6++]=n7,n8[n6++]=n9,n9=e,n7=t}function ai(e,t,r){ae[at++]=an,ae[at++]=aa,ae[at++]=ar,ar=e;var n=an;e=aa;var a=32-e9(n)-1;n&=~(1<<a),r+=1;var o=32-e9(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,an=1<<32-e9(t)+a|r<<a|n,aa=o+e}else an=1<<o|r<<a|n,aa=e}function al(e){null!==e.return&&(ao(e,1),ai(e,1,0))}function as(e){for(;e===n9;)n9=n8[--n6],n8[n6]=null,n7=n8[--n6],n8[n6]=null;for(;e===ar;)ar=ae[--at],ae[at]=null,aa=ae[--at],ae[at]=null,an=ae[--at],ae[at]=null}var au=null,ac=null,ad=!1,af=null;function ap(e,t){var r=lK(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function ah(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,au=e,ac=nT(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,au=e,ac=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==ar?{id:an,overflow:aa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=lK(18,null,null,0)).stateNode=t,r.return=e,e.child=r,au=e,ac=null,!0);default:return!1}}function ag(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function am(e){if(ad){var t=ac;if(t){var r=t;if(!ah(e,t)){if(ag(e))throw Error(d(418));t=nT(r.nextSibling);var n=au;t&&ah(e,t)?ap(n,r):(e.flags=-4097&e.flags|2,ad=!1,au=e)}}else{if(ag(e))throw Error(d(418));e.flags=-4097&e.flags|2,ad=!1,au=e}}}function ab(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;au=e}function ay(e){if(e!==au)return!1;if(!ad)return ab(e),ad=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!nv(e.type,e.memoizedProps)),t&&(t=ac)){if(ag(e))throw av(),Error(d(418));for(;t;)ap(e,t),t=nT(t.nextSibling)}if(ab(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,r=e.data;if("/$"===r){if(0===t){ac=nT(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ac=null}}else ac=au?nT(e.stateNode.nextSibling):null;return!0}function av(){for(var e=ac;e;)e=nT(e.nextSibling)}function aw(){ac=au=null,ad=!1}function ax(e){null===af?af=[e]:af.push(e)}var aS=T.ReactCurrentBatchConfig;function aE(e,t){if(e&&e.defaultProps)for(var r in t=W({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var a_=nB(null),ak=null,aT=null,aO=null;function aR(){aO=aT=ak=null}function aI(e){var t=a_.current;nH(a_),e._currentValue=t}function aP(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function aC(e,t){ak=e,aO=aT=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(il=!0),e.firstContext=null)}function aL(e){var t=e._currentValue;if(aO!==e){if(e={context:e,memoizedValue:t,next:null},null===aT){if(null===ak)throw Error(d(308));aT=e,ak.dependencies={lanes:0,firstContext:e}}else aT=aT.next=e}return t}var aj=null;function aD(e){null===aj?aj=[e]:aj.push(e)}function aA(e,t,r,n){var a=t.interleaved;return null===a?(r.next=r,aD(t)):(r.next=a.next,a.next=r),t.interleaved=r,aN(e,n)}function aN(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var aM=!1;function az(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function aU(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aF(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function aB(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&i5)){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,aN(e,r)}return null===(a=n.interleaved)?(t.next=t,aD(n)):(t.next=a.next,a.next=t),n.interleaved=t,aN(e,r)}function aH(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}function aW(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?a=o=i:o=o.next=i,r=r.next}while(null!==r)null===o?a=o=t:o=o.next=t}else a=o=t;r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function aG(e,t,r,n){var a=e.updateQueue;aM=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=r,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=W({},d,f);break e;case 2:aM=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);ln|=i,e.lanes=i,e.memoizedState=d}}function aV(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],a=n.callback;if(null!==a){if(n.callback=null,n=r,"function"!=typeof a)throw Error(d(191,a));a.call(n)}}}var a$=(new u.Component).refs;function aq(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:W({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var aY={isMounted:function(e){return!!(e=e._reactInternals)&&eV(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=lx(),a=lS(e),o=aF(n,a);o.payload=t,null!=r&&(o.callback=r),null!==(t=aB(e,o,a))&&(lE(t,e,a,n),aH(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=lx(),a=lS(e),o=aF(n,a);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=aB(e,o,a))&&(lE(t,e,a,n),aH(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=lx(),n=lS(e),a=aF(r,n);a.tag=2,null!=t&&(a.callback=t),null!==(t=aB(e,a,n))&&(lE(t,e,n,r),aH(t,e,n))}};function aK(e,t,r,n,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!t.prototype||!t.prototype.isPureReactComponent||!rM(r,n)||!rM(a,o)}function aX(e,t,r){var n=!1,a=nG,o=t.contextType;return"object"==typeof o&&null!==o?o=aL(o):(a=nK(t)?nq:nV.current,o=(n=null!=(n=t.contextTypes))?nY(e,a):nG),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=aY,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function aZ(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&aY.enqueueReplaceState(t,t.state,null)}function aQ(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs=a$,az(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=aL(o):(o=nK(t)?nq:nV.current,a.context=nY(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(aq(e,t,o,r),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&aY.enqueueReplaceState(a,a.state,null),aG(e,r,a,n),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function aJ(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(d(309));var n=r.stateNode}if(!n)throw Error(d(147,e));var a=n,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=a.refs;t===a$&&(t=a.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(d(284));if(!r._owner)throw Error(d(290,e))}return e}function a0(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function a1(e){return(0,e._init)(e._payload)}function a2(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=lZ(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?(t=l1(r,e.mode,n)).return=e:(t=a(t,r)).return=e,t}function s(e,t,r,n){var o=r.type;return o===I?c(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===z&&a1(o)===t.type)?(n=a(t,r.props)).ref=aJ(e,t,r):(n=lQ(r.type,r.key,r.props,null,e.mode,n)).ref=aJ(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=l2(r,e.mode,n)).return=e:(t=a(t,r.children||[])).return=e,t}function c(e,t,r,n,o){return null===t||7!==t.tag?(t=lJ(r,e.mode,n,o)).return=e:(t=a(t,r)).return=e,t}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=l1(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case O:return(r=lQ(t.type,t.key,t.props,null,e.mode,r)).ref=aJ(e,null,t),r.return=e,r;case R:return(t=l2(t,e.mode,r)).return=e,t;case z:return f(e,(0,t._init)(t._payload),r)}if(ea(t)||B(t))return(t=lJ(t,e.mode,r,null)).return=e,t;a0(e,t)}return null}function p(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case O:return r.key===a?s(e,t,r,n):null;case R:return r.key===a?u(e,t,r,n):null;case z:return p(e,t,(a=r._init)(r._payload),n)}if(ea(r)||B(r))return null!==a?null:c(e,t,r,n,null);a0(e,r)}return null}function h(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case O:return s(t,e=e.get(null===n.key?r:n.key)||null,n,a);case R:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case z:return h(e,t,r,(0,n._init)(n._payload),a)}if(ea(n)||B(n))return c(t,e=e.get(r)||null,n,a,null);a0(t,n)}return null}return function l(s,u,c,g){if("object"==typeof c&&null!==c&&c.type===I&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case O:e:{for(var m=c.key,b=u;null!==b;){if(b.key===m){if((m=c.type)===I){if(7===b.tag){r(s,b.sibling),(u=a(b,c.props.children)).return=s,s=u;break e}}else if(b.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===z&&a1(m)===b.type){r(s,b.sibling),(u=a(b,c.props)).ref=aJ(s,b,c),u.return=s,s=u;break e}r(s,b);break}t(s,b),b=b.sibling}c.type===I?((u=lJ(c.props.children,s.mode,g,c.key)).return=s,s=u):((g=lQ(c.type,c.key,c.props,null,s.mode,g)).ref=aJ(s,u,c),g.return=s,s=g)}return i(s);case R:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){r(s,u.sibling),(u=a(u,c.children||[])).return=s,s=u;break e}r(s,u);break}t(s,u),u=u.sibling}(u=l2(c,s.mode,g)).return=s,s=u}return i(s);case z:return l(s,u,(b=c._init)(c._payload),g)}if(ea(c))return function(a,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var b=p(a,d,l[g],s);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,g),null===c?u=b:c.sibling=b,c=b,d=m}if(g===l.length)return r(a,d),ad&&ao(a,g),u;if(null===d){for(;g<l.length;g++)null!==(d=f(a,l[g],s))&&(i=o(d,i,g),null===c?u=d:c.sibling=d,c=d);return ad&&ao(a,g),u}for(d=n(a,d);g<l.length;g++)null!==(m=h(d,a,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=o(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(a,e)}),ad&&ao(a,g),u}(s,u,c,g);if(B(c))return function(a,i,l,s){var u=B(l);if("function"!=typeof u)throw Error(d(150));if(null==(l=u.call(l)))throw Error(d(151));for(var c=u=null,g=i,m=i=0,b=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var v=p(a,g,y.value,s);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(a,g),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,g=b}if(y.done)return r(a,g),ad&&ao(a,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=f(a,y.value,s))&&(i=o(y,i,m),null===c?u=y:c.sibling=y,c=y);return ad&&ao(a,m),u}for(g=n(a,g);!y.done;m++,y=l.next())null!==(y=h(g,a,m,y.value,s))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),i=o(y,i,m),null===c?u=y:c.sibling=y,c=y);return e&&g.forEach(function(e){return t(a,e)}),ad&&ao(a,m),u}(s,u,c,g);a0(s,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(r(s,u.sibling),(u=a(u,c)).return=s):(r(s,u),(u=l1(c,s.mode,g)).return=s),i(s=u)):r(s,u)}}var a3=a2(!0),a4=a2(!1),a5={},a8=nB(a5),a6=nB(a5),a9=nB(a5);function a7(e){if(e===a5)throw Error(d(174));return e}function oe(e,t){switch(nW(a9,t),nW(a6,e),nW(a8,a5),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=ed(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}nH(a8),nW(a8,t)}function ot(){nH(a8),nH(a6),nH(a9)}function or(e){a7(a9.current);var t=a7(a8.current),r=ed(t,e.type);t!==r&&(nW(a6,e),nW(a8,r))}function on(e){a6.current===e&&(nH(a8),nH(a6))}var oa=nB(0);function oo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oi=[];function ol(){for(var e=0;e<oi.length;e++)oi[e]._workInProgressVersionPrimary=null;oi.length=0}var os=T.ReactCurrentDispatcher,ou=T.ReactCurrentBatchConfig,oc=0,od=null,of=null,op=null,oh=!1,og=!1,om=0,ob=0;function oy(){throw Error(d(321))}function ov(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!rN(e[r],t[r]))return!1;return!0}function ow(e,t,r,n,a,o){if(oc=o,od=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,os.current=null===e||null===e.memoizedState?o3:o4,e=r(n,a),og){o=0;do{if(og=!1,om=0,25<=o)throw Error(d(301));o+=1,op=of=null,t.updateQueue=null,os.current=o5,e=r(n,a)}while(og)}if(os.current=o2,t=null!==of&&null!==of.next,oc=0,op=of=od=null,oh=!1,t)throw Error(d(300));return e}function ox(){var e=0!==om;return om=0,e}function oS(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===op?od.memoizedState=op=e:op=op.next=e,op}function oE(){if(null===of){var e=od.alternate;e=null!==e?e.memoizedState:null}else e=of.next;var t=null===op?od.memoizedState:op.next;if(null!==t)op=t,of=e;else{if(null===e)throw Error(d(310));e={memoizedState:(of=e).memoizedState,baseState:of.baseState,baseQueue:of.baseQueue,queue:of.queue,next:null},null===op?od.memoizedState=op=e:op=op.next=e}return op}function o_(e,t){return"function"==typeof t?t(e):t}function ok(e){var t=oE(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=of,a=n.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(null!==a){o=a.next,n=n.baseState;var l=i=null,s=null,u=o;do{var c=u.lane;if((oc&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=n):s=s.next=f,od.lanes|=c,ln|=c}u=u.next}while(null!==u&&u!==o)null===s?i=n:s.next=l,rN(n,t.memoizedState)||(il=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=s,r.lastRenderedState=n}if(null!==(e=r.interleaved)){a=e;do o=a.lane,od.lanes|=o,ln|=o,a=a.next;while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function oT(e){var t=oE(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(null!==a){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)rN(o,t.memoizedState)||(il=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function oO(){}function oR(e,t){var r=od,n=oE(),a=t(),o=!rN(n.memoizedState,a);if(o&&(n.memoizedState=a,il=!0),n=n.queue,oF(oC.bind(null,r,n,e),[e]),n.getSnapshot!==t||o||null!==op&&1&op.memoizedState.tag){if(r.flags|=2048,oA(9,oP.bind(null,r,n,a,t),void 0,null),null===i8)throw Error(d(349));0!=(30&oc)||oI(r,t,a)}return a}function oI(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=od.updateQueue)?(t={lastEffect:null,stores:null},od.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function oP(e,t,r,n){t.value=r,t.getSnapshot=n,oL(t)&&oj(e)}function oC(e,t,r){return r(function(){oL(t)&&oj(e)})}function oL(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!rN(e,r)}catch(e){return!0}}function oj(e){var t=aN(e,1);null!==t&&lE(t,e,1,-1)}function oD(e){var t=oS();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o_,lastRenderedState:e},t.queue=e,e=e.dispatch=oQ.bind(null,od,e),[t.memoizedState,e]}function oA(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=od.updateQueue)?(t={lastEffect:null,stores:null},od.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function oN(){return oE().memoizedState}function oM(e,t,r,n){var a=oS();od.flags|=e,a.memoizedState=oA(1|t,r,void 0,void 0===n?null:n)}function oz(e,t,r,n){var a=oE();n=void 0===n?null:n;var o=void 0;if(null!==of){var i=of.memoizedState;if(o=i.destroy,null!==n&&ov(n,i.deps)){a.memoizedState=oA(t,r,o,n);return}}od.flags|=e,a.memoizedState=oA(1|t,r,o,n)}function oU(e,t){return oM(8390656,8,e,t)}function oF(e,t){return oz(2048,8,e,t)}function oB(e,t){return oz(4,2,e,t)}function oH(e,t){return oz(4,4,e,t)}function oW(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oG(e,t,r){return r=null!=r?r.concat([e]):null,oz(4,4,oW.bind(null,t,e),r)}function oV(){}function o$(e,t){var r=oE();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ov(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function oq(e,t){var r=oE();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ov(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function oY(e,t,r){return 0==(21&oc)?(e.baseState&&(e.baseState=!1,il=!0),e.memoizedState=r):(rN(r,t)||(r=ti(),od.lanes|=r,ln|=r,e.baseState=!0),t)}function oK(e,t){var r=tc;tc=0!==r&&4>r?r:4,e(!0);var n=ou.transition;ou.transition={};try{e(!1),t()}finally{tc=r,ou.transition=n}}function oX(){return oE().memoizedState}function oZ(e,t,r){var n=lS(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},oJ(e)?o0(t,r):null!==(r=aA(e,t,r,n))&&(lE(r,e,n,lx()),o1(r,t,n))}function oQ(e,t,r){var n=lS(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(oJ(e))o0(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,r);if(a.hasEagerState=!0,a.eagerState=l,rN(l,i)){var s=t.interleaved;null===s?(a.next=a,aD(t)):(a.next=s.next,s.next=a),t.interleaved=a;return}}catch(e){}finally{}null!==(r=aA(e,t,a,n))&&(lE(r,e,n,a=lx()),o1(r,t,n))}}function oJ(e){var t=e.alternate;return e===od||null!==t&&t===od}function o0(e,t){og=oh=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function o1(e,t,r){if(0!=(4194240&r)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tu(e,r)}}var o2={readContext:aL,useCallback:oy,useContext:oy,useEffect:oy,useImperativeHandle:oy,useInsertionEffect:oy,useLayoutEffect:oy,useMemo:oy,useReducer:oy,useRef:oy,useState:oy,useDebugValue:oy,useDeferredValue:oy,useTransition:oy,useMutableSource:oy,useSyncExternalStore:oy,useId:oy,unstable_isNewReconciler:!1},o3={readContext:aL,useCallback:function(e,t){return oS().memoizedState=[e,void 0===t?null:t],e},useContext:aL,useEffect:oU,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,oM(4194308,4,oW.bind(null,t,e),r)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){return oM(4,2,e,t)},useMemo:function(e,t){var r=oS();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=oS();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=oZ.bind(null,od,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},oS().memoizedState=e},useState:oD,useDebugValue:oV,useDeferredValue:function(e){return oS().memoizedState=e},useTransition:function(){var e=oD(!1),t=e[0];return e=oK.bind(null,e[1]),oS().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=od,a=oS();if(ad){if(void 0===r)throw Error(d(407));r=r()}else{if(r=t(),null===i8)throw Error(d(349));0!=(30&oc)||oI(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,oU(oC.bind(null,n,o,e),[e]),n.flags|=2048,oA(9,oP.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=oS(),t=i8.identifierPrefix;if(ad){var r=aa,n=an;t=":"+t+"R"+(r=(n&~(1<<32-e9(n)-1)).toString(32)+r),0<(r=om++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=ob++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o4={readContext:aL,useCallback:o$,useContext:aL,useEffect:oF,useImperativeHandle:oG,useInsertionEffect:oB,useLayoutEffect:oH,useMemo:oq,useReducer:ok,useRef:oN,useState:function(){return ok(o_)},useDebugValue:oV,useDeferredValue:function(e){return oY(oE(),of.memoizedState,e)},useTransition:function(){return[ok(o_)[0],oE().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1},o5={readContext:aL,useCallback:o$,useContext:aL,useEffect:oF,useImperativeHandle:oG,useInsertionEffect:oB,useLayoutEffect:oH,useMemo:oq,useReducer:oT,useRef:oN,useState:function(){return oT(o_)},useDebugValue:oV,useDeferredValue:function(e){var t=oE();return null===of?t.memoizedState=e:oY(t,of.memoizedState,e)},useTransition:function(){return[oT(o_)[0],oE().memoizedState]},useMutableSource:oO,useSyncExternalStore:oR,useId:oX,unstable_isNewReconciler:!1};function o8(e,t){try{var r="",n=t;do r+=function(e){switch(e.tag){case 5:return G(e.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 1:return e=$(e.type,!0);default:return""}}(n),n=n.return;while(n)var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function o6(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function o9(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var o7="function"==typeof WeakMap?WeakMap:Map;function ie(e,t,r){(r=aF(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ld||(ld=!0,lf=n),o9(e,t)},r}function it(e,t,r){(r=aF(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){o9(e,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){o9(e,t),"function"!=typeof n&&(null===lp?lp=new Set([this]):lp.add(this));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}function ir(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new o7;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=lG.bind(null,e,t,r),t.then(e,e))}function ia(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e)return null}function io(e,t,r,n,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=aF(-1,1)).tag=2,aB(r,t,1))),r.lanes|=1):(e.flags|=65536,e.lanes=a),e}var ii=T.ReactCurrentOwner,il=!1;function is(e,t,r,n){t.child=null===e?a4(t,null,r,n):a3(t,e.child,r,n)}function iu(e,t,r,n,a){r=r.render;var o=t.ref;return(aC(t,a),n=ow(e,t,r,n,o,a),r=ox(),null===e||il)?(ad&&r&&al(t),t.flags|=1,is(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iI(e,t,a))}function ic(e,t,r,n,a){if(null===e){var o=r.type;return"function"!=typeof o||lX(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=lQ(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,id(e,t,o,n,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:rM)(i,n)&&e.ref===t.ref)return iI(e,t,a)}return t.flags|=1,(e=lZ(o,n)).ref=t.ref,e.return=t,t.child=e}function id(e,t,r,n,a){if(null!==e){var o=e.memoizedProps;if(rM(o,n)&&e.ref===t.ref){if(il=!1,t.pendingProps=n=o,0==(e.lanes&a))return t.lanes=e.lanes,iI(e,t,a);0!=(131072&e.flags)&&(il=!0)}}return ig(e,t,r,n,a)}function ip(e,t,r){var n=t.pendingProps,a=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},nW(le,i7),i7|=r;else{if(0==(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,nW(le,i7),i7|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,nW(le,i7),i7|=n}}else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,nW(le,i7),i7|=n;return is(e,t,a,r),t.child}function ih(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ig(e,t,r,n,a){var o=nK(r)?nq:nV.current;return(o=nY(t,o),aC(t,a),r=ow(e,t,r,n,o,a),n=ox(),null===e||il)?(ad&&n&&al(t),t.flags|=1,is(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iI(e,t,a))}function im(e,t,r,n,a){if(nK(r)){var o=!0;nJ(t)}else o=!1;if(aC(t,a),null===t.stateNode)iR(e,t),aX(t,r,n),aQ(t,r,n,a),n=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=r.contextType;u="object"==typeof u&&null!==u?aL(u):nY(t,u=nK(r)?nq:nV.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==n||s!==u)&&aZ(t,i,n,u),aM=!1;var f=t.memoizedState;i.state=f,aG(t,n,i,a),s=t.memoizedState,l!==n||f!==s||n$.current||aM?("function"==typeof c&&(aq(t,r,c,n),s=t.memoizedState),(l=aM||aK(t,r,l,n,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=s),i.props=n,i.state=s,i.context=u,n=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,aU(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:aE(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=r.contextType)&&null!==s?aL(s):nY(t,s=nK(r)?nq:nV.current);var p=r.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&aZ(t,i,n,s),aM=!1,f=t.memoizedState,i.state=f,aG(t,n,i,a);var h=t.memoizedState;l!==d||f!==h||n$.current||aM?("function"==typeof p&&(aq(t,r,p,n),h=t.memoizedState),(u=aM||aK(t,r,u,n,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=s,n=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return ib(e,t,r,n,o,a)}function ib(e,t,r,n,a,o){ih(e,t);var i=0!=(128&t.flags);if(!n&&!i)return a&&n0(t,r,!1),iI(e,t,o);n=t.stateNode,ii.current=t;var l=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=a3(t,e.child,null,o),t.child=a3(t,null,l,o)):is(e,t,l,o),t.memoizedState=n.state,a&&n0(t,r,!0),t.child}function iy(e){var t=e.stateNode;t.pendingContext?nZ(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nZ(e,t.context,!1),oe(e,t.containerInfo)}function iv(e,t,r,n,a){return aw(),ax(a),t.flags|=256,is(e,t,r,n),t.child}var iw={dehydrated:null,treeContext:null,retryLane:0};function ix(e){return{baseLanes:e,cachePool:null,transitions:null}}function iS(e,t,r){var n,a=t.pendingProps,o=oa.current,i=!1,l=0!=(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&0!=(2&o)),n?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),nW(oa,1&o),null===e)return(am(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,i?(a=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=l0(l,a,0,null),e=lJ(e,a,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ix(r),t.memoizedState=iw,e):iE(t,l));if(null!==(o=e.memoizedState)&&null!==(n=o.dehydrated))return function(e,t,r,n,a,o,i){if(r)return 256&t.flags?(t.flags&=-257,i_(e,t,i,n=o6(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=n.fallback,a=t.mode,n=l0({mode:"visible",children:n.children},a,0,null),o=lJ(o,a,i,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,0!=(1&t.mode)&&a3(t,e.child,null,i),t.child.memoizedState=ix(i),t.memoizedState=iw,o);if(0==(1&t.mode))return i_(e,t,i,null);if("$!"===a.data){if(n=a.nextSibling&&a.nextSibling.dataset)var l=n.dgst;return n=l,i_(e,t,i,n=o6(o=Error(d(419)),n,void 0))}if(l=0!=(i&e.childLanes),il||l){if(null!==(n=i8)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(n.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,aN(e,a),lE(n,e,a,-1))}return lN(),i_(e,t,i,n=o6(Error(d(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=l$.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ac=nT(a.nextSibling),au=t,ad=!0,af=null,null!==e&&(ae[at++]=an,ae[at++]=aa,ae[at++]=ar,an=e.id,aa=e.overflow,ar=t),t=iE(t,n.children),t.flags|=4096,t)}(e,t,l,a,n,o,r);if(i){i=a.fallback,l=t.mode,n=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=lZ(o,s)).subtreeFlags=14680064&o.subtreeFlags,null!==n?i=lZ(n,i):(i=lJ(i,l,r,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,l=null===(l=e.child.memoizedState)?ix(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=iw,a}return e=(i=e.child).sibling,a=lZ(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function iE(e,t){return(t=l0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function i_(e,t,r,n){return null!==n&&ax(n),a3(t,e.child,null,r),e=iE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ik(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),aP(e.return,t,r)}function iT(e,t,r,n,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=a)}function iO(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;if(is(e,t,n.children,r),0!=(2&(n=oa.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ik(e,r,t);else if(19===e.tag)ik(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(nW(oa,n),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===oo(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),iT(t,!1,a,r,o);break;case"backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oo(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}iT(t,!0,r,null,o);break;case"together":iT(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iR(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iI(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),ln|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(r=lZ(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=lZ(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function iP(e,t){if(!ad)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function iC(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=14680064&a.subtreeFlags,n|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}a=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},o=function(){},i=function(e,t,r,n){var a=e.memoizedProps;if(a!==n){e=t.stateNode,a7(a8.current);var o,i=null;switch(r){case"input":a=Q(e,a),n=Q(e,n),i=[];break;case"select":a=W({},a,{value:void 0}),n=W({},n,{value:void 0}),i=[];break;case"textarea":a=ei(e,a),n=ei(e,n),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(e.onclick=nm)}for(u in ex(r,n),r=null,a)if(!n.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u]){if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in n){var s=n[u];if(l=null!=a?a[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l)){if("style"===u){if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(i||(i=[]),i.push(u,r)),r=s}else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&nr("scroll",e),i||l===s||(i=[])):(i=i||[]).push(u,s))}}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},l=function(e,t,r,n){r!==n&&(t.flags|=4)};var iL=!1,ij=!1,iD="function"==typeof WeakSet?WeakSet:Set,iA=null;function iN(e,t){var r=e.ref;if(null!==r){if("function"==typeof r)try{r(null)}catch(r){lW(e,t,r)}else r.current=null}}function iM(e,t,r){try{r()}catch(r){lW(e,t,r)}}var iz=!1;function iU(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&iM(t,r,o)}a=a.next}while(a!==n)}}function iF(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function iB(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function iH(e){return 5===e.tag||3===e.tag||4===e.tag}function iW(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iH(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var iG=null,iV=!1;function i$(e,t,r){for(r=r.child;null!==r;)iq(e,t,r),r=r.sibling}function iq(e,t,r){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e8,r)}catch(e){}switch(r.tag){case 5:ij||iN(r,t);case 6:var n=iG,a=iV;iG=null,i$(e,t,r),iG=n,iV=a,null!==iG&&(iV?(e=iG,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):iG.removeChild(r.stateNode));break;case 18:null!==iG&&(iV?(e=iG,r=r.stateNode,8===e.nodeType?nk(e.parentNode,r):1===e.nodeType&&nk(e,r),tj(e)):nk(iG,r.stateNode));break;case 4:n=iG,a=iV,iG=r.stateNode.containerInfo,iV=!0,i$(e,t,r),iG=n,iV=a;break;case 0:case 11:case 14:case 15:if(!ij&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?iM(r,t,i):0!=(4&o)&&iM(r,t,i)),a=a.next}while(a!==n)}i$(e,t,r);break;case 1:if(!ij&&(iN(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){lW(r,t,e)}i$(e,t,r);break;case 21:default:i$(e,t,r);break;case 22:1&r.mode?(ij=(n=ij)||null!==r.memoizedState,i$(e,t,r),ij=n):i$(e,t,r)}}function iY(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new iD),t.forEach(function(t){var n=lq.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function iK(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var a=r[n];try{var o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:iG=i.stateNode,iV=!1;break e;case 3:case 4:iG=i.stateNode.containerInfo,iV=!0;break e}i=i.return}if(null===iG)throw Error(d(160));iq(e,o,a),iG=null,iV=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(e){lW(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)iX(t,e),t=t.sibling}function iX(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iK(t,e),iZ(e),4&n){try{iU(3,e,e.return),iF(3,e)}catch(t){lW(e,e.return,t)}try{iU(5,e,e.return)}catch(t){lW(e,e.return,t)}}break;case 1:iK(t,e),iZ(e),512&n&&null!==r&&iN(r,r.return);break;case 5:if(iK(t,e),iZ(e),512&n&&null!==r&&iN(r,r.return),32&e.flags){var a=e.stateNode;try{eg(a,"")}catch(t){lW(e,e.return,t)}}if(4&n&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==r?r.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===o.type&&null!=o.name&&ee(a,o),eS(l,i);var u=eS(l,o);for(i=0;i<s.length;i+=2){var c=s[i],f=s[i+1];"style"===c?ev(a,f):"dangerouslySetInnerHTML"===c?eh(a,f):"children"===c?eg(a,f):k(a,c,f,u)}switch(l){case"input":et(a,o);break;case"textarea":es(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?eo(a,!!o.multiple,h,!1):!!o.multiple!==p&&(null!=o.defaultValue?eo(a,!!o.multiple,o.defaultValue,!0):eo(a,!!o.multiple,o.multiple?[]:"",!1))}a[nP]=o}catch(t){lW(e,e.return,t)}}break;case 6:if(iK(t,e),iZ(e),4&n){if(null===e.stateNode)throw Error(d(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){lW(e,e.return,t)}}break;case 3:if(iK(t,e),iZ(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{tj(t.containerInfo)}catch(t){lW(e,e.return,t)}break;case 4:default:iK(t,e),iZ(e);break;case 13:iK(t,e),iZ(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,o&&(null===a.alternate||null===a.alternate.memoizedState)&&(ls=eJ())),4&n&&iY(e);break;case 22:if(c=null!==r&&null!==r.memoizedState,1&e.mode?(ij=(u=ij)||c,iK(t,e),ij=u):iK(t,e),iZ(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(iA=e,c=e.child;null!==c;){for(f=iA=c;null!==iA;){switch(h=(p=iA).child,p.tag){case 0:case 11:case 14:case 15:iU(4,p,p.return);break;case 1:iN(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){n=p,r=p.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){lW(n,r,e)}}break;case 5:iN(p,p.return);break;case 22:if(null!==p.memoizedState){iJ(f);continue}}null!==h?(h.return=p,iA=h):iJ(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{a=f.stateNode,u?(o=a.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,i=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=ey("display",i))}catch(t){lW(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){lW(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:iK(t,e),iZ(e),4&n&&iY(e);case 21:}}function iZ(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(iH(r)){var n=r;break e}r=r.return}throw Error(d(160))}switch(n.tag){case 5:var a=n.stateNode;32&n.flags&&(eg(a,""),n.flags&=-33);var o=iW(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,o,a);break;case 3:case 4:var i=n.stateNode.containerInfo,l=iW(e);!function e(t,r,n){var a=t.tag;if(5===a||6===a)t=t.stateNode,r?8===n.nodeType?n.parentNode.insertBefore(t,r):n.insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=nm));else if(4!==a&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,l,i);break;default:throw Error(d(161))}}catch(t){lW(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iQ(e){for(;null!==iA;){var t=iA;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:ij||iF(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!ij){if(null===r)n.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:aE(t.type,r.memoizedProps);n.componentDidUpdate(a,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}}var o=t.updateQueue;null!==o&&aV(t,o,n);break;case 3:var i=t.updateQueue;if(null!==i){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}aV(t,i,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tj(f)}}}break;default:throw Error(d(163))}ij||512&t.flags&&iB(t)}catch(e){lW(t,t.return,e)}}if(t===e){iA=null;break}if(null!==(r=t.sibling)){r.return=t.return,iA=r;break}iA=t.return}}function iJ(e){for(;null!==iA;){var t=iA;if(t===e){iA=null;break}var r=t.sibling;if(null!==r){r.return=t.return,iA=r;break}iA=t.return}}function i0(e){for(;null!==iA;){var t=iA;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{iF(4,t)}catch(e){lW(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var a=t.return;try{n.componentDidMount()}catch(e){lW(t,a,e)}}var o=t.return;try{iB(t)}catch(e){lW(t,o,e)}break;case 5:var i=t.return;try{iB(t)}catch(e){lW(t,i,e)}}}catch(e){lW(t,t.return,e)}if(t===e){iA=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iA=l;break}iA=t.return}}var i1=Math.ceil,i2=T.ReactCurrentDispatcher,i3=T.ReactCurrentOwner,i4=T.ReactCurrentBatchConfig,i5=0,i8=null,i6=null,i9=0,i7=0,le=nB(0),lt=0,lr=null,ln=0,la=0,lo=0,li=null,ll=null,ls=0,lu=1/0,lc=null,ld=!1,lf=null,lp=null,lh=!1,lg=null,lm=0,lb=0,ly=null,lv=-1,lw=0;function lx(){return 0!=(6&i5)?eJ():-1!==lv?lv:lv=eJ()}function lS(e){return 0==(1&e.mode)?1:0!=(2&i5)&&0!==i9?i9&-i9:null!==aS.transition?(0===lw&&(lw=ti()),lw):0!==(e=tc)?e:e=void 0===(e=window.event)?16:tB(e.type)}function lE(e,t,r,n){if(50<lb)throw lb=0,ly=null,Error(d(185));ts(e,r,n),(0==(2&i5)||e!==i8)&&(e===i8&&(0==(2&i5)&&(la|=r),4===lt&&lR(e,i9)),l_(e,n),1===r&&0===i5&&0==(1&t.mode)&&(lu=eJ()+500,n2&&n5()))}function l_(e,t){var r,n,a,o=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-e9(o),l=1<<i,s=a[i];-1===s?(0==(l&r)||0!=(l&n))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var i=ta(e,e===i8?i9:0);if(0===i)null!==o&&eX(o),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=o&&eX(o),1===t)0===e.tag?(a=lI.bind(null,e),n2=!0,n4(a)):n4(lI.bind(null,e)),nE(function(){0==(6&i5)&&n5()}),o=null;else{switch(td(i)){case 1:o=e1;break;case 4:o=e2;break;case 16:default:o=e3;break;case 536870912:o=e5}o=eK(o,lk.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function lk(e,t){if(lv=-1,lw=0,0!=(6&i5))throw Error(d(327));var r=e.callbackNode;if(lB()&&e.callbackNode!==r)return null;var n=ta(e,e===i8?i9:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=lM(e,n);else{t=n;var a=i5;i5|=2;var o=lA();for((i8!==e||i9!==t)&&(lc=null,lu=eJ()+500,lj(e,t));;)try{(function(){for(;null!==i6&&!eZ();)lz(i6)})();break}catch(t){lD(e,t)}aR(),i2.current=o,i5=a,null!==i6?t=0:(i8=null,i9=0,t=lt)}if(0!==t){if(2===t&&0!==(a=to(e))&&(n=a,t=lT(e,a)),1===t)throw r=lr,lj(e,0),lR(e,n),l_(e,eJ()),r;if(6===t)lR(e,n);else{if(a=e.current.alternate,0==(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],o=a.getSnapshot;a=a.value;try{if(!rN(o(),a))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=lM(e,n))&&0!==(o=to(e))&&(n=o,t=lT(e,o)),1===t))throw r=lr,lj(e,0),lR(e,n),l_(e,eJ()),r;switch(e.finishedWork=a,e.finishedLanes=n,t){case 0:case 1:throw Error(d(345));case 2:case 5:lF(e,ll,lc);break;case 3:if(lR(e,n),(130023424&n)===n&&10<(t=ls+500-eJ())){if(0!==ta(e,0))break;if(((a=e.suspendedLanes)&n)!==n){lx(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=nw(lF.bind(null,e,ll,lc),t);break}lF(e,ll,lc);break;case 4:if(lR(e,n),(4194240&n)===n)break;for(a=-1,t=e.eventTimes;0<n;){var i=31-e9(n);o=1<<i,(i=t[i])>a&&(a=i),n&=~o}if(n=a,10<(n=(120>(n=eJ()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*i1(n/1960))-n)){e.timeoutHandle=nw(lF.bind(null,e,ll,lc),n);break}lF(e,ll,lc);break;default:throw Error(d(329))}}}return l_(e,eJ()),e.callbackNode===r?lk.bind(null,e):null}function lT(e,t){var r=li;return e.current.memoizedState.isDehydrated&&(lj(e,t).flags|=256),2!==(e=lM(e,t))&&(t=ll,ll=r,null!==t&&lO(t)),e}function lO(e){null===ll?ll=e:ll.push.apply(ll,e)}function lR(e,t){for(t&=~lo,t&=~la,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-e9(t),n=1<<r;e[r]=-1,t&=~n}}function lI(e){if(0!=(6&i5))throw Error(d(327));lB();var t=ta(e,0);if(0==(1&t))return l_(e,eJ()),null;var r=lM(e,t);if(0!==e.tag&&2===r){var n=to(e);0!==n&&(t=n,r=lT(e,n))}if(1===r)throw r=lr,lj(e,0),lR(e,t),l_(e,eJ()),r;if(6===r)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lF(e,ll,lc),l_(e,eJ()),null}function lP(e,t){var r=i5;i5|=1;try{return e(t)}finally{0===(i5=r)&&(lu=eJ()+500,n2&&n5())}}function lC(e){null!==lg&&0===lg.tag&&0==(6&i5)&&lB();var t=i5;i5|=1;var r=i4.transition,n=tc;try{if(i4.transition=null,tc=1,e)return e()}finally{tc=n,i4.transition=r,0==(6&(i5=t))&&n5()}}function lL(){i7=le.current,nH(le)}function lj(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nx(r)),null!==i6)for(r=i6.return;null!==r;){var n=r;switch(as(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&nX();break;case 3:ot(),nH(n$),nH(nV),ol();break;case 5:on(n);break;case 4:ot();break;case 13:case 19:nH(oa);break;case 10:aI(n.type._context);break;case 22:case 23:lL()}r=r.return}if(i8=e,i6=e=lZ(e.current,null),i9=i7=t,lt=0,lr=null,lo=la=ln=0,ll=li=null,null!==aj){for(t=0;t<aj.length;t++)if(null!==(n=(r=aj[t]).interleaved)){r.interleaved=null;var a=n.next,o=r.pending;if(null!==o){var i=o.next;o.next=a,n.next=i}r.pending=n}aj=null}return e}function lD(e,t){for(;;){var r=i6;try{if(aR(),os.current=o2,oh){for(var n=od.memoizedState;null!==n;){var a=n.queue;null!==a&&(a.pending=null),n=n.next}oh=!1}if(oc=0,op=of=od=null,og=!1,om=0,i3.current=null,null===r||null===r.return){lt=1,lr=t,i6=null;break}e:{var o=e,i=r.return,l=r,s=t;if(t=i9,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ia(i);if(null!==h){h.flags&=-257,io(h,i,l,o,t),1&h.mode&&ir(o,u,t),t=h,s=u;var g=t.updateQueue;if(null===g){var m=new Set;m.add(s),t.updateQueue=m}else g.add(s);break e}if(0==(1&t)){ir(o,u,t),lN();break e}s=Error(d(426))}else if(ad&&1&l.mode){var b=ia(i);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),io(b,i,l,o,t),ax(o8(s,l));break e}}o=s=o8(s,l),4!==lt&&(lt=2),null===li?li=[o]:li.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=ie(o,s,t);aW(o,y);break e;case 1:l=s;var v=o.type,w=o.stateNode;if(0==(128&o.flags)&&("function"==typeof v.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===lp||!lp.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=it(o,l,t);aW(o,x);break e}}o=o.return}while(null!==o)}lU(r)}catch(e){t=e,i6===r&&null!==r&&(i6=r=r.return);continue}break}}function lA(){var e=i2.current;return i2.current=o2,null===e?o2:e}function lN(){(0===lt||3===lt||2===lt)&&(lt=4),null===i8||0==(268435455&ln)&&0==(268435455&la)||lR(i8,i9)}function lM(e,t){var r=i5;i5|=2;var n=lA();for((i8!==e||i9!==t)&&(lc=null,lj(e,t));;)try{(function(){for(;null!==i6;)lz(i6)})();break}catch(t){lD(e,t)}if(aR(),i5=r,i2.current=n,null!==i6)throw Error(d(261));return i8=null,i9=0,lt}function lz(e){var t=s(e.alternate,e,i7);e.memoizedProps=e.pendingProps,null===t?lU(e):i6=t,i3.current=null}function lU(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=function(e,t,r){var n=t.pendingProps;switch(as(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iC(t),null;case 1:case 17:return nK(t.type)&&nX(),iC(t),null;case 3:return n=t.stateNode,ot(),nH(n$),nH(nV),ol(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(ay(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==af&&(lO(af),af=null))),o(e,t),iC(t),null;case 5:on(t);var s=a7(a9.current);if(r=t.type,null!==e&&null!=t.stateNode)i(e,t,r,n,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(d(166));return iC(t),null}if(e=a7(a8.current),ay(t)){n=t.stateNode,r=t.type;var u=t.memoizedProps;switch(n[nI]=t,n[nP]=u,e=0!=(1&t.mode),r){case"dialog":nr("cancel",n),nr("close",n);break;case"iframe":case"object":case"embed":nr("load",n);break;case"video":case"audio":for(s=0;s<r9.length;s++)nr(r9[s],n);break;case"source":nr("error",n);break;case"img":case"image":case"link":nr("error",n),nr("load",n);break;case"details":nr("toggle",n);break;case"input":J(n,u),nr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!u.multiple},nr("invalid",n);break;case"textarea":el(n,u),nr("invalid",n)}for(var c in ex(r,u),s=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?n.textContent!==f&&(!0!==u.suppressHydrationWarning&&ng(n.textContent,f,e),s=["children",f]):"number"==typeof f&&n.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&ng(n.textContent,f,e),s=["children",""+f]):p.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&nr("scroll",n)}switch(r){case"input":K(n),er(n,u,!0);break;case"textarea":K(n),eu(n);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(n.onclick=nm)}n=s,t.updateQueue=n,null!==n&&(t.flags|=4)}else{c=9===s.nodeType?s:s.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[nI]=t,e[nP]=n,a(e,t,!1,!1),t.stateNode=e;e:{switch(c=eS(r,n),r){case"dialog":nr("cancel",e),nr("close",e),s=n;break;case"iframe":case"object":case"embed":nr("load",e),s=n;break;case"video":case"audio":for(s=0;s<r9.length;s++)nr(r9[s],e);s=n;break;case"source":nr("error",e),s=n;break;case"img":case"image":case"link":nr("error",e),nr("load",e),s=n;break;case"details":nr("toggle",e),s=n;break;case"input":J(e,n),s=Q(e,n),nr("invalid",e);break;case"option":default:s=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},s=W({},n,{value:void 0}),nr("invalid",e);break;case"textarea":el(e,n),s=ei(e,n),nr("invalid",e)}for(u in ex(r,s),f=s)if(f.hasOwnProperty(u)){var h=f[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&eh(e,h):"children"===u?"string"==typeof h?("textarea"!==r||""!==h)&&eg(e,h):"number"==typeof h&&eg(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?null!=h&&"onScroll"===u&&nr("scroll",e):null!=h&&k(e,u,h,c))}switch(r){case"input":K(e),er(e,n,!1);break;case"textarea":K(e),eu(e);break;case"option":null!=n.value&&e.setAttribute("value",""+q(n.value));break;case"select":e.multiple=!!n.multiple,null!=(u=n.value)?eo(e,!!n.multiple,u,!1):null!=n.defaultValue&&eo(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=nm)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iC(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(d(166));if(r=a7(a9.current),a7(a8.current),ay(t)){if(n=t.stateNode,r=t.memoizedProps,n[nI]=t,(u=n.nodeValue!==r)&&null!==(e=au))switch(e.tag){case 3:ng(n.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&ng(n.nodeValue,r,0!=(1&e.mode))}u&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[nI]=t,t.stateNode=n}return iC(t),null;case 13:if(nH(oa),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ad&&null!==ac&&0!=(1&t.mode)&&0==(128&t.flags))av(),aw(),t.flags|=98560,u=!1;else if(u=ay(t),null!==n&&null!==n.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[nI]=t}else aw(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iC(t),u=!1}else null!==af&&(lO(af),af=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=r,t;return(n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&oa.current)?0===lt&&(lt=3):lN())),null!==t.updateQueue&&(t.flags|=4),iC(t),null;case 4:return ot(),o(e,t),null===e&&no(t.stateNode.containerInfo),iC(t),null;case 10:return aI(t.type._context),iC(t),null;case 19:if(nH(oa),null===(u=t.memoizedState))return iC(t),null;if(n=0!=(128&t.flags),null===(c=u.rendering)){if(n)iP(u,!1);else{if(0!==lt||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=oo(e))){for(t.flags|=128,iP(u,!1),null!==(n=c.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)u=r,e=n,u.flags&=14680066,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return nW(oa,1&oa.current|2),t.child}e=e.sibling}null!==u.tail&&eJ()>lu&&(t.flags|=128,n=!0,iP(u,!1),t.lanes=4194304)}}else{if(!n){if(null!==(e=oo(c))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),iP(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!ad)return iC(t),null}else 2*eJ()-u.renderingStartTime>lu&&1073741824!==r&&(t.flags|=128,n=!0,iP(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=u.last)?r.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eJ(),t.sibling=null,r=oa.current,nW(oa,n?1&r|2:1&r),t;return iC(t),null;case 22:case 23:return lL(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&i7)&&(iC(t),6&t.subtreeFlags&&(t.flags|=8192)):iC(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(r,t,i7))){i6=r;return}}else{if(null!==(r=function(e,t){switch(as(t),t.tag){case 1:return nK(t.type)&&nX(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ot(),nH(n$),nH(nV),ol(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return on(t),null;case 13:if(nH(oa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));aw()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return nH(oa),null;case 4:return ot(),null;case 10:return aI(t.type._context),null;case 22:case 23:return lL(),null;default:return null}}(r,t))){r.flags&=32767,i6=r;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lt=6,i6=null;return}}if(null!==(t=t.sibling)){i6=t;return}i6=t=e}while(null!==t)0===lt&&(lt=5)}function lF(e,t,r){var n=tc,a=i4.transition;try{i4.transition=null,tc=1,function(e,t,r,n){do lB();while(null!==lg)if(0!=(6&i5))throw Error(d(327));r=e.finishedWork;var a=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var o=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-e9(r),o=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~o}}(e,o),e===i8&&(i6=i8=null,i9=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||lh||(lh=!0,eK(e3,function(){return lB(),null})),o=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||o){o=i4.transition,i4.transition=null;var i,l,s,u=tc;tc=1;var c=i5;i5|=4,i3.current=null,function(e,t){if(nb=tA,rB(e=rF())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var a,o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==o&&3!==p.nodeType||(s=l+o),p!==i||0!==n&&3!==p.nodeType||(u=l+n),3===p.nodeType&&(l+=p.nodeValue.length),null!==(a=p.firstChild);)h=p,p=a;for(;;){if(p===e)break t;if(h===r&&++c===o&&(s=l),h===i&&++f===n&&(u=l),null!==(a=p.nextSibling))break;h=(p=h).parentNode}p=a}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(ny={focusedElem:e,selectionRange:r},tA=!1,iA=t;null!==iA;)if(e=(t=iA).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iA=e;else for(;null!==iA;){t=iA;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:aE(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){lW(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iA=e;break}iA=t.return}g=iz,iz=!1}(e,r),iX(r,e),function(e){var t=rF(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(r.ownerDocument.documentElement,r)){if(null!==n&&rB(r)){if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=void 0===n.end?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=rU(r,o);var i=rU(r,n);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(ny),tA=!!nb,ny=nb=null,e.current=r,i=r,l=e,s=a,iA=i,function e(t,r,n){for(var a=0!=(1&t.mode);null!==iA;){var o=iA,i=o.child;if(22===o.tag&&a){var l=null!==o.memoizedState||iL;if(!l){var s=o.alternate,u=null!==s&&null!==s.memoizedState||ij;s=iL;var c=ij;if(iL=l,(ij=u)&&!c)for(iA=o;null!==iA;)u=(l=iA).child,22===l.tag&&null!==l.memoizedState?i0(o):null!==u?(u.return=l,iA=u):i0(o);for(;null!==i;)iA=i,e(i,r,n),i=i.sibling;iA=o,iL=s,ij=c}iQ(t,r,n)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,iA=i):iQ(t,r,n)}}(i,l,s),eQ(),i5=c,tc=u,i4.transition=o}else e.current=r;if(lh&&(lh=!1,lg=e,lm=a),0===(o=e.pendingLanes)&&(lp=null),function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e8,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),l_(e,eJ()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((a=t[r]).value,{componentStack:a.stack,digest:a.digest});if(ld)throw ld=!1,e=lf,lf=null,e;0!=(1&lm)&&0!==e.tag&&lB(),0!=(1&(o=e.pendingLanes))?e===ly?lb++:(lb=0,ly=e):lb=0,n5()}}(e,t,r,n)}finally{i4.transition=a,tc=n}return null}function lB(){if(null!==lg){var e=td(lm),t=i4.transition,r=tc;try{if(i4.transition=null,tc=16>e?16:e,null===lg)var n=!1;else{if(e=lg,lg=null,lm=0,0!=(6&i5))throw Error(d(331));var a=i5;for(i5|=4,iA=e.current;null!==iA;){var o=iA,i=o.child;if(0!=(16&iA.flags)){var l=o.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(iA=u;null!==iA;){var c=iA;switch(c.tag){case 0:case 11:case 15:iU(8,c,o)}var f=c.child;if(null!==f)f.return=c,iA=f;else for(;null!==iA;){var p=(c=iA).sibling,h=c.return;if(function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&(delete r[nI],delete r[nP],delete r[nL],delete r[nj],delete r[nD]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){iA=null;break}if(null!==p){p.return=h,iA=p;break}iA=h}}}var g=o.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}iA=o}}if(0!=(2064&o.subtreeFlags)&&null!==i)i.return=o,iA=i;else for(;null!==iA;){if(o=iA,0!=(2048&o.flags))switch(o.tag){case 0:case 11:case 15:iU(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,iA=y;break}iA=o.return}}var v=e.current;for(iA=v;null!==iA;){var w=(i=iA).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iA=w;else for(i=v;null!==iA;){if(l=iA,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iF(9,l)}}catch(e){lW(l,l.return,e)}if(l===i){iA=null;break}var x=l.sibling;if(null!==x){x.return=l.return,iA=x;break}iA=l.return}}if(i5=a,n5(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e8,e)}catch(e){}n=!0}return n}finally{tc=r,i4.transition=t}}return!1}function lH(e,t,r){t=ie(e,t=o8(r,t),1),e=aB(e,t,1),t=lx(),null!==e&&(ts(e,1,t),l_(e,t))}function lW(e,t,r){if(3===e.tag)lH(e,e,r);else for(;null!==t;){if(3===t.tag){lH(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===lp||!lp.has(n))){e=it(t,e=o8(r,e),1),t=aB(t,e,1),e=lx(),null!==t&&(ts(t,1,e),l_(t,e));break}}t=t.return}}function lG(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=lx(),e.pingedLanes|=e.suspendedLanes&r,i8===e&&(i9&r)===r&&(4===lt||3===lt&&(130023424&i9)===i9&&500>eJ()-ls?lj(e,0):lo|=r),l_(e,t)}function lV(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tr,0==(130023424&(tr<<=1))&&(tr=4194304)));var r=lx();null!==(e=aN(e,t))&&(ts(e,t,r),l_(e,r))}function l$(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),lV(e,r)}function lq(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(d(314))}null!==n&&n.delete(t),lV(e,r)}function lY(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lK(e,t,r,n){return new lY(e,t,r,n)}function lX(e){return!(!(e=e.prototype)||!e.isReactComponent)}function lZ(e,t){var r=e.alternate;return null===r?((r=lK(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lQ(e,t,r,n,a,o){var i=2;if(n=e,"function"==typeof e)lX(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case I:return lJ(r.children,a,o,t);case P:i=8,a|=8;break;case C:return(e=lK(12,r,t,2|a)).elementType=C,e.lanes=o,e;case A:return(e=lK(13,r,t,a)).elementType=A,e.lanes=o,e;case N:return(e=lK(19,r,t,a)).elementType=N,e.lanes=o,e;case U:return l0(r,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case L:i=10;break e;case j:i=9;break e;case D:i=11;break e;case M:i=14;break e;case z:i=16,n=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lK(i,r,t,a)).elementType=e,t.type=n,t.lanes=o,t}function lJ(e,t,r,n){return(e=lK(7,e,n,t)).lanes=r,e}function l0(e,t,r,n){return(e=lK(22,e,n,t)).elementType=U,e.lanes=r,e.stateNode={isHidden:!1},e}function l1(e,t,r){return(e=lK(6,e,null,t)).lanes=r,e}function l2(e,t,r){return(t=lK(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function l3(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function l4(e,t,r,n,a,o,i,l,s){return e=new l3(e,t,r,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lK(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},az(o),e}function l5(e){if(!e)return nG;e=e._reactInternals;e:{if(eV(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nK(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t)throw Error(d(171))}if(1===e.tag){var r=e.type;if(nK(r))return nQ(e,r,t)}return t}function l8(e,t,r,n,a,o,i,l,s){return(e=l4(r,n,!0,e,a,o,i,l,s)).context=l5(null),r=e.current,(o=aF(n=lx(),a=lS(r))).callback=null!=t?t:null,aB(r,o,a),e.current.lanes=a,ts(e,a,n),l_(e,n),e}function l6(e,t,r,n){var a=t.current,o=lx(),i=lS(a);return r=l5(r),null===t.context?t.context=r:t.pendingContext=r,(t=aF(o,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=aB(a,t,i))&&(lE(e,a,i,o),aH(e,a,i)),i}function l9(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function l7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function se(e,t){l7(e,t),(e=e.alternate)&&l7(e,t)}s=function(e,t,r){if(null!==e){if(e.memoizedProps!==t.pendingProps||n$.current)il=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return il=!1,function(e,t,r){switch(t.tag){case 3:iy(t),aw();break;case 5:or(t);break;case 1:nK(t.type)&&nJ(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;nW(a_,n._currentValue),n._currentValue=a;break;case 13:if(null!==(n=t.memoizedState)){if(null!==n.dehydrated)return nW(oa,1&oa.current),t.flags|=128,null;if(0!=(r&t.child.childLanes))return iS(e,t,r);return nW(oa,1&oa.current),null!==(e=iI(e,t,r))?e.sibling:null}nW(oa,1&oa.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return iO(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),nW(oa,oa.current),!n)return null;break;case 22:case 23:return t.lanes=0,ip(e,t,r)}return iI(e,t,r)}(e,t,r);il=0!=(131072&e.flags)}}else il=!1,ad&&0!=(1048576&t.flags)&&ai(t,n7,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;iR(e,t),e=t.pendingProps;var a=nY(t,nV.current);aC(t,r),a=ow(null,t,n,e,a,r);var o=ox();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nK(n)?(o=!0,nJ(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,az(t),a.updater=aY,t.stateNode=a,a._reactInternals=t,aQ(t,n,e,r),t=ib(null,t,n,!0,o,r)):(t.tag=0,ad&&o&&al(t),is(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(iR(e,t),e=t.pendingProps,n=(a=n._init)(n._payload),t.type=n,a=t.tag=function(e){if("function"==typeof e)return lX(e)?1:0;if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===M)return 14}return 2}(n),e=aE(n,e),a){case 0:t=ig(null,t,n,e,r);break e;case 1:t=im(null,t,n,e,r);break e;case 11:t=iu(null,t,n,e,r);break e;case 14:t=ic(null,t,n,aE(n.type,e),r);break e}throw Error(d(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),ig(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),im(e,t,n,a,r);case 3:e:{if(iy(t),null===e)throw Error(d(387));n=t.pendingProps,a=(o=t.memoizedState).element,aU(e,t),aG(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated){if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){a=o8(Error(d(423)),t),t=iv(e,t,n,r,a);break e}if(n!==a){a=o8(Error(d(424)),t),t=iv(e,t,n,r,a);break e}for(ac=nT(t.stateNode.containerInfo.firstChild),au=t,ad=!0,af=null,r=a4(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(aw(),n===a){t=iI(e,t,r);break e}is(e,t,n,r)}t=t.child}return t;case 5:return or(t),null===e&&am(t),n=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,nv(n,a)?i=null:null!==o&&nv(n,o)&&(t.flags|=32),ih(e,t),is(e,t,i,r),t.child;case 6:return null===e&&am(t),null;case 13:return iS(e,t,r);case 4:return oe(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=a3(t,null,n,r):is(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),iu(e,t,n,a,r);case 7:return is(e,t,t.pendingProps,r),t.child;case 8:case 12:return is(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,nW(a_,n._currentValue),n._currentValue=i,null!==o){if(rN(o.value,i)){if(o.children===a.children&&!n$.current){t=iI(e,t,r);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){i=o.child;for(var s=l.firstContext;null!==s;){if(s.context===n){if(1===o.tag){(s=aF(-1,r&-r)).tag=2;var u=o.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=r,null!==(s=o.alternate)&&(s.lanes|=r),aP(o.return,r,t),l.lanes|=r;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(d(341));i.lanes|=r,null!==(l=i.alternate)&&(l.lanes|=r),aP(i,r,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}is(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,aC(t,r),n=n(a=aL(a)),t.flags|=1,is(e,t,n,r),t.child;case 14:return a=aE(n=t.type,t.pendingProps),a=aE(n.type,a),ic(e,t,n,a,r);case 15:return id(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:aE(n,a),iR(e,t),t.tag=1,nK(n)?(e=!0,nJ(t)):e=!1,aC(t,r),aX(t,n,a),aQ(t,n,a,r),ib(null,t,n,!0,e,r);case 19:return iO(e,t,r);case 22:return ip(e,t,r)}throw Error(d(156,t.tag))};var st="function"==typeof reportError?reportError:function(e){console.error(e)};function sr(e){this._internalRoot=e}function sn(e){this._internalRoot=e}function sa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function so(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function si(){}function sl(e,t,r,n,a){var o=r._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=l9(i);l.call(e)}}l6(t,i,e,a)}else i=function(e,t,r,n,a){if(a){if("function"==typeof n){var o=n;n=function(){var e=l9(i);o.call(e)}}var i=l8(t,n,e,0,null,!1,!1,"",si);return e._reactRootContainer=i,e[nC]=i.current,no(8===e.nodeType?e.parentNode:e),lC(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof n){var l=n;n=function(){var e=l9(s);l.call(e)}}var s=l4(e,0,!1,null,null,!1,!1,"",si);return e._reactRootContainer=s,e[nC]=s.current,no(8===e.nodeType?e.parentNode:e),lC(function(){l6(t,s,r,n)}),s}(r,t,e,a,n);return l9(i)}sn.prototype.render=sr.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));l6(e,t,null,null)},sn.prototype.unmount=sr.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lC(function(){l6(null,e,null,null)}),t[nC]=null}},sn.prototype.unstable_scheduleHydration=function(e){if(e){var t=tg();e={blockedOn:null,target:e,priority:t};for(var r=0;r<t_.length&&0!==t&&t<t_[r].priority;r++);t_.splice(r,0,e),0===r&&tR(e)}},tf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=tn(t.pendingLanes);0!==r&&(tu(t,1|r),l_(t,eJ()),0==(6&i5)&&(lu=eJ()+500,n5()))}break;case 13:lC(function(){var t=aN(e,1);null!==t&&lE(t,e,1,lx())}),se(e,1)}},tp=function(e){if(13===e.tag){var t=aN(e,134217728);null!==t&&lE(t,e,134217728,lx()),se(e,134217728)}},th=function(e){if(13===e.tag){var t=lS(e),r=aN(e,t);null!==r&&lE(r,e,t,lx()),se(e,t)}},tg=function(){return tc},tm=function(e,t){var r=tc;try{return tc=e,t()}finally{tc=r}},ek=function(e,t,r){switch(t){case"input":if(et(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var a=nz(n);if(!a)throw Error(d(90));X(n),et(n,a)}}}break;case"textarea":es(e,r);break;case"select":null!=(t=r.value)&&eo(e,!!r.multiple,t,!1)}},eC=lP,eL=lC;var ss={findFiberByHostInstance:nA,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},su={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eY(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{e8=sc.inject(su),e6=sc}catch(e){}}r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[nN,nM,nz,eI,eP,lP]},r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!sa(t))throw Error(d(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:R,key:null==n?null:""+n,children:e,containerInfo:t,implementation:null}}(e,t,null,r)},r.createRoot=function(e,t){if(!sa(e))throw Error(d(299));var r=!1,n="",a=st;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=l4(e,1,!1,null,null,r,!1,n,a),e[nC]=t.current,no(8===e.nodeType?e.parentNode:e),new sr(t)},r.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=eY(t))?null:e.stateNode},r.flushSync=function(e){return lC(e)},r.hydrate=function(e,t,r){if(!so(t))throw Error(d(200));return sl(null,e,t,!0,r)},r.hydrateRoot=function(e,t,r){if(!sa(e))throw Error(d(405));var n=null!=r&&r.hydratedSources||null,a=!1,o="",i=st;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(o=r.identifierPrefix),void 0!==r.onRecoverableError&&(i=r.onRecoverableError)),t=l8(t,null,e,1,null!=r?r:null,a,!1,o,i),e[nC]=t.current,no(e),n)for(e=0;e<n.length;e++)a=(a=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new sn(t)},r.render=function(e,t,r){if(!so(t))throw Error(d(200));return sl(null,e,t,!1,r)},r.unmountComponentAtNode=function(e){if(!so(e))throw Error(d(40));return!!e._reactRootContainer&&(lC(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[nC]=null})}),!0)},r.unstable_batchedUpdates=lP,r.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!so(r))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return sl(e,t,r,!1,n)},r.version="18.2.0-next-9e3b772b8-20220608"},{c293e9ed31165f07:"329PG",fabf034282b0d218:"27BDD"}],"27BDD":[function(e,t,r){t.exports=e("13524e09db3ad441")},{"13524e09db3ad441":"jX71I"}],jX71I:[function(e,t,r){function n(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,a=e[n];if(0<i(a,t))e[n]=t,e[r]=a,r=n;else break}}function a(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,a=e.length,o=a>>>1;n<o;){var l=2*(n+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,r))u<a&&0>i(c,s)?(e[n]=c,e[u]=r,n=u):(e[n]=s,e[l]=r,n=l);else if(u<a&&0>i(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function i(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l,s=performance;r.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();r.unstable_now=function(){return u.now()-c}}var d=[],f=[],p=1,h=null,g=3,m=!1,b=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=a(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,n(d,t);else break;t=a(f)}}function E(e){if(y=!1,S(e),!b){if(null!==a(d))b=!0,D(_);else{var t=a(f);null!==t&&A(E,t.startTime-e)}}}function _(e,t){b=!1,y&&(y=!1,w(O),O=-1),m=!0;var n=g;try{for(S(t),h=a(d);null!==h&&(!(h.expirationTime>t)||e&&!P());){var i=h.callback;if("function"==typeof i){h.callback=null,g=h.priorityLevel;var l=i(h.expirationTime<=t);t=r.unstable_now(),"function"==typeof l?h.callback=l:h===a(d)&&o(d),S(t)}else o(d);h=a(d)}if(null!==h)var s=!0;else{var u=a(f);null!==u&&A(E,u.startTime-t),s=!1}return s}finally{h=null,g=n,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,T=null,O=-1,R=5,I=-1;function P(){return!(r.unstable_now()-I<R)}function C(){if(null!==T){var e=r.unstable_now();I=e;var t=!0;try{t=T(!0,e)}finally{t?l():(k=!1,T=null)}}else k=!1}if("function"==typeof x)l=function(){x(C)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,j=L.port2;L.port1.onmessage=C,l=function(){j.postMessage(null)}}else l=function(){v(C,0)};function D(e){T=e,k||(k=!0,l())}function A(e,t){O=v(function(){e(r.unstable_now())},t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_continueExecution=function(){b||m||(b=!0,D(_))},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return g},r.unstable_getFirstCallbackNode=function(){return a(d)},r.unstable_next=function(e){switch(g){case 1:case 2:case 3:var t=3;break;default:t=g}var r=g;g=t;try{return e()}finally{g=r}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=g;g=e;try{return t()}finally{g=r}},r.unstable_scheduleCallback=function(e,t,o){var i=r.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=o+l,e={id:p++,callback:t,priorityLevel:e,startTime:o,expirationTime:l,sortIndex:-1},o>i?(e.sortIndex=o,n(f,e),null===a(d)&&e===a(f)&&(y?(w(O),O=-1):y=!0,A(E,o-i))):(e.sortIndex=l,n(d,e),b||m||(b=!0,D(_))),e},r.unstable_shouldYield=P,r.unstable_wrapCallback=function(e){var t=g;return function(){var r=g;g=t;try{return e.apply(this,arguments)}finally{g=r}}}},{}],gcN4J:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");async function a(e){let t=document.createElement("plasmo-csui"),r="function"==typeof e.createShadowRoot?await e.createShadowRoot(t):t.attachShadow({mode:"open"}),n=document.createElement("div");return n.id="plasmo-shadow-container",n.style.zIndex="2147483647",n.style.position="relative",r.appendChild(n),{shadowHost:t,shadowRoot:r,shadowContainer:n}}async function o(e,t,{shadowHost:r,shadowRoot:n},a){if("function"==typeof e.getStyle){let r="function"==typeof e.getSfcStyleContent?await e.getSfcStyleContent():"";n.prepend(await e.getStyle({...t,sfcStyleContent:r}))}"function"==typeof e.getShadowHostId&&(r.id=await e.getShadowHostId(t)),"function"==typeof e.mountShadowHost?await e.mountShadowHost({shadowHost:r,anchor:t,mountState:a}):"inline"===t.type?t.element.insertAdjacentElement(t.insertPosition||"afterend",r):document.documentElement.prepend(r)}async function i(e,t,r){let n=await a(e);return r?.hostSet.add(n.shadowHost),r?.hostMap.set(n.shadowHost,t),await o(e,t,n,r),n.shadowContainer}n.defineInteropFlag(r),n.export(r,"createShadowContainer",()=>i),n.export(r,"createAnchorObserver",()=>s),n.export(r,"createRender",()=>u);let l=e=>{if(!e)return!1;let t=e.getBoundingClientRect(),r=globalThis.getComputedStyle(e);return"none"!==r.display&&"hidden"!==r.visibility&&"0"!==r.opacity&&(0!==t.width||0!==t.height||"hidden"===r.overflow)&&!(t.x+t.width<0)&&!(t.y+t.height<0)};function s(e){let t={document:document||window.document,observer:null,mountInterval:null,isMounting:!1,isMutated:!1,hostSet:new Set,hostMap:new WeakMap,overlayTargetList:[]},r=e=>e?.id?!!document.getElementById(e.id):e?.getRootNode({composed:!0})===t.document,n="function"==typeof e.getInlineAnchor,a="function"==typeof e.getOverlayAnchor,o="function"==typeof e.getInlineAnchorList,i="function"==typeof e.getOverlayAnchorList;if(!(n||a||o||i))return null;async function s(u){t.isMounting=!0;let c=new WeakSet,d=null;for(let e of t.hostSet){let n=t.hostMap.get(e),a=document.contains(n?.element);r(e)&&a?"inline"===n.type?c.add(n.element):"overlay"===n.type&&(d=e):(n.root?.unmount(),e.remove(),t.hostSet.delete(e))}let[f,p,h,g]=await Promise.all([n?e.getInlineAnchor():null,o?e.getInlineAnchorList():null,a?e.getOverlayAnchor():null,i?e.getOverlayAnchorList():null]),m=[];f&&(f instanceof Element?c.has(f)||m.push({element:f,type:"inline"}):f.element instanceof Element&&!c.has(f.element)&&m.push({element:f.element,type:"inline",insertPosition:f.insertPosition})),(p?.length||0)>0&&p.forEach(e=>{e instanceof Element&&!c.has(e)?m.push({element:e,type:"inline"}):e.element instanceof Element&&!c.has(e.element)&&m.push({element:e.element,type:"inline",insertPosition:e.insertPosition})});let b=[];h&&l(h)&&b.push(h),(g?.length||0)>0&&g.forEach(e=>{e instanceof Element&&l(e)&&b.push(e)}),b.length>0?(t.overlayTargetList=b,d||m.push({element:document.documentElement,type:"overlay"})):(d?.remove(),t.hostSet.delete(d)),await Promise.all(m.map(u)),t.isMutated&&(t.isMutated=!1,await s(u)),t.isMounting=!1}return{start:e=>{t.observer=new MutationObserver(()=>{if(t.isMounting){t.isMutated=!0;return}s(e)}),t.observer.observe(document.documentElement,{childList:!0,subtree:!0}),t.mountInterval=setInterval(()=>{if(t.isMounting){t.isMutated=!0;return}s(e)},142)},mountState:t}}let u=(e,t,r,n)=>{let a=t=>"function"==typeof e.getRootContainer?e.getRootContainer({anchor:t,mountState:r}):i(e,t,r);return"function"==typeof e.render?r=>e.render({anchor:r,createRootContainer:a},...t):async e=>{let t=await a(e);return n(e,t)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,t,r){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(e,t){return Object.keys(e).forEach(function(r){"default"===r||"__esModule"===r||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),t},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],e8dRS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"OverlayCSUIContainer",()=>l),n.export(r,"InlineCSUIContainer",()=>s);var a=e("react/jsx-runtime"),o=e("react"),i=n.interopDefault(o);let l=e=>{let[t,r]=(0,i.default).useState(0),[n,o]=(0,i.default).useState(0);return(0,i.default).useEffect(()=>{if("overlay"!==e.anchor.type)return;let t=async()=>{let t=e.anchor.element?.getBoundingClientRect();if(!t)return;let n={left:t.left+window.scrollX,top:t.top+window.scrollY};o(n.left),r(n.top)};t();let n=e.watchOverlayAnchor?.(t);return window.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{"function"==typeof n&&n(),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e.anchor.element]),(0,a.jsx)("div",{id:e.id,className:"plasmo-csui-container",style:{display:"flex",position:"absolute",top:t,left:n},children:e.children})},s=e=>(0,a.jsx)("div",{id:"plasmo-inline",className:"plasmo-csui-container",style:{display:"flex",position:"relative",top:0,left:0},children:e.children})},{"react/jsx-runtime":"8iOxN",react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4kz0G":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getLayout",()=>o);var a=e("react");let o=e=>"function"==typeof e.Layout?e.Layout:"function"==typeof e.getGlobalProvider?e.getGlobalProvider():a.Fragment},{react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"8YGb6":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"config",()=>R),n.export(r,"getShadowHostId",()=>I),n.export(r,"getInlineAnchor",()=>P),n.export(r,"mountShadowHost",()=>C),n.export(r,"getStyle",()=>L),n.export(r,"VideoContext",()=>j);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("data-text:~css/style.css"),l=n.interopDefault(i),s=e("~tools/queryVideo"),u=e("../components/InlineSubtitleMaskChild"),c=n.interopDefault(u),d=e("~components/ErrorBoundaryHandle"),f=n.interopDefault(d),p=e("~redux/storeNoStorage"),h=e("~redux/store"),g=e("react-redux"),m=e("data-text:react-grid-layout/css/styles.css"),b=n.interopDefault(m),y=e("data-text:react-resizable/css/styles.css"),v=n.interopDefault(y),w=e("~tools/logger"),x=e("~tools/constants");let S=document,E=null,_=0,k=document.URL,T=null,O="",R={matches:["*://*.bilibili.com/*","*://bilibili.com/*","*://localhost/*","*://frp.1zimu.com/*","*://1zimu.com/*","*://www.1zimu.com/*","*://1zimu.com/player*","*://www.1zimu.com/player*","*://*.youtube.com/watch*","*://youtube.com/watch*","*://pan.baidu.com/pfile/video*","*://*.youtube.com/*","*://youtube.com/*"],run_at:"document_end",all_frames:!1},I=()=>"InlineSubtitleMask",P=async()=>(k===O&&T&&document.contains(T)||(O=k,T=null,(0,w.logger).log("in InlineSubtitleMask getInlineAnchor"),k.includes(x.PAN_BAIDU_COM_VIDEO)?(T=(0,s.queryBaiduPanVideo)())&&(_=T.clientWidth,(0,w.logger).log("videoWidth is ",_)):T=(0,s.queryVideoElementWithBlob)("InlineSubtitleMask")),T),C=({anchor:e,shadowHost:t})=>{let r=I();if((0,w.logger).log("hostId is ",r),document.querySelector(`#${r}`))(0,w.logger).info(`\u9632\u6b62\u91cd\u590d\u6ce8\u5165\u6709\u6548\uff01in ${r}`);else if(E=e?.element){if(k.includes(x.PAN_BAIDU_COM_VIDEO)){let e=E?.parentNode;e?.parentNode?.insertBefore(t,e.nextSibling)}else E.parentNode.insertBefore(t,E.nextSibling)}},L=()=>{let e=S.createElement("style");return e.textContent=l.default,0!==_?e.textContent+=`
#plasmo-shadow-container{
z-index: 1400 !important;
width: ${_}px !important;
}
`:e.textContent+=`
#plasmo-shadow-container{
z-index: 10 !important;
}
`,e.textContent+=b.default,e.textContent+=v.default,e},j=(0,o.createContext)(null);r.default=function(){return(0,a.jsx)(f.default,{info:"InlineSubtitleMask",children:(0,a.jsx)(j.Provider,{value:E,children:(0,a.jsx)(g.Provider,{store:p.store,context:p.MyContext,children:(0,a.jsx)(g.Provider,{store:h.store,children:(0,a.jsx)(c.default,{})})})})})}},{"react/jsx-runtime":"8iOxN",react:"329PG","data-text:~css/style.css":"5IvF0","~tools/queryVideo":"cTLmP","../components/InlineSubtitleMaskChild":"7s1m0","~components/ErrorBoundaryHandle":"cGKyn","~redux/storeNoStorage":"20ikG","~redux/store":"gaugC","react-redux":"lWScv","data-text:react-grid-layout/css/styles.css":"lTRcy","data-text:react-resizable/css/styles.css":"82Svl","~tools/logger":"1qe3F","~tools/constants":"DgB7r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"5IvF0":[function(e,t,r){t.exports='html,:host{all:initial;font-size:16px!important}@layer tailwind-base{*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}}@layer antd;.container{width:100%}@media (width>=640px){.container{max-width:640px}}@media (width>=768px){.container{max-width:768px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-x-0{left:0;right:0}.-bottom-1{bottom:-.25rem}.-right-1{right:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-2{margin:.5rem}.m-4{margin:1rem}.mx-1\\.5{margin-left:.375rem;margin-right:.375rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-\\[16px\\]{margin-left:16px;margin-right:16px}.mx-\\[6px\\]{margin-left:6px;margin-right:6px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-\\[16px\\]{margin-bottom:16px}.mb-\\[24px\\]{margin-bottom:24px}.mb-\\[8px\\]{margin-bottom:8px}.ml-2{margin-left:.5rem}.ml-\\[8px\\]{margin-left:8px}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-\\[4px\\]{margin-top:4px}.box-border{box-sizing:border-box}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1\\/2{height:50%}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[30rem\\]{height:30rem}.h-\\[52px\\]{height:52px}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:0}.min-h-\\[40px\\]{min-height:40px}.w-1\\/2{width:50%}.w-11\\/12{width:91.6667%}.w-14{width:3.5rem}.w-8{width:2rem}.w-96{width:24rem}.w-\\[300px\\]{width:300px}.w-\\[65rem\\]{width:65rem}.w-\\[93px\\]{width:93px}.w-full{width:100%}.min-w-\\[1000px\\]{min-width:1000px}.min-w-\\[20\\%\\]{min-width:20%}.max-w-4xl{max-width:56rem}.max-w-\\[20\\%\\]{max-width:20%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.basis-6\\/12{flex-basis:50%}.rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0)rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}@keyframes pulse0{0%,to{box-shadow:0 0 #374151b3}50%{box-shadow:0 0 0 6px #37415100}}.animate-glow0{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse0}@keyframes pulse1{0%,to{box-shadow:0 0 #f59e0be6}50%{box-shadow:0 0 0 6px #f59e0b4d}}.animate-glow1{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse1}@keyframes pulse2{0%,to{box-shadow:0 0 #93c5fde6}50%{box-shadow:0 0 0 6px #93c5fd4d}}.animate-glow2{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse2}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-0{row-gap:0}.gap-y-1{row-gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem*var(--tw-space-x-reverse));margin-left:calc(.5rem*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[4px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px*var(--tw-space-x-reverse));margin-left:calc(4px*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[6px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(6px*var(--tw-space-x-reverse));margin-left:calc(6px*calc(1 - var(--tw-space-x-reverse)))}.space-x-\\[8px\\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(8px*var(--tw-space-x-reverse));margin-left:calc(8px*calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}.divide-slate-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(203 213 225/var(--tw-divide-opacity,1))}.place-self-center{place-self:center}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-nowrap{text-wrap:nowrap}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[5px\\]{border-radius:5px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[8px\\]{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.rounded-t-\\[6px\\]{border-top-left-radius:6px;border-top-right-radius:6px}.rounded-bl-\\[12px\\]{border-bottom-left-radius:12px}.rounded-br-\\[12px\\]{border-bottom-right-radius:12px}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tr-\\[12px\\]{border-top-right-radius:12px}.border{border-width:1px}.border-0{border-width:0}.border-b,.border-b-\\[1px\\]{border-bottom-width:1px}.border-l-\\[1px\\]{border-left-width:1px}.border-r-\\[1px\\]{border-right-width:1px}.border-t,.border-t-\\[1px\\]{border-top-width:1px}.border-solid{border-style:solid}.border-amber-400{--tw-border-opacity:1;border-color:rgb(251 191 36/var(--tw-border-opacity,1))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-yellow-300\\/70{border-color:#fde047b3}.border-b-indigo-500{--tw-border-opacity:1;border-bottom-color:rgb(99 102 241/var(--tw-border-opacity,1))}.border-b-slate-300{--tw-border-opacity:1;border-bottom-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-b-white{--tw-border-opacity:1;border-bottom-color:rgb(255 255 255/var(--tw-border-opacity,1))}.border-t-slate-300{--tw-border-opacity:1;border-top-color:rgb(203 213 225/var(--tw-border-opacity,1))}.bg-\\[\\#16a34a\\]{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity,1))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-300{--tw-bg-opacity:1;background-color:rgb(252 211 77/var(--tw-bg-opacity,1))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity,1))}.bg-blue-500\\/50{background-color:#3b82f680}.bg-cyan-100{--tw-bg-opacity:1;background-color:rgb(207 250 254/var(--tw-bg-opacity,1))}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity,1))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity,1))}.bg-lime-100{--tw-bg-opacity:1;background-color:rgb(236 252 203/var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.bg-slate-300{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.bg-teal-100{--tw-bg-opacity:1;background-color:rgb(204 251 241/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\\/30{background-color:#ffffff4d}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity,1))}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71/var(--tw-bg-opacity,1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#8054f2\\]{--tw-gradient-from:#8054f2 var(--tw-gradient-from-position);--tw-gradient-to:#8054f200 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-\\[\\#ff6b23\\]{--tw-gradient-from:#ff6b23 var(--tw-gradient-from-position);--tw-gradient-to:#ff6b2300 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-amber-200{--tw-gradient-from:#fde68a var(--tw-gradient-from-position);--tw-gradient-to:#fde68a00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-blue-50{--tw-gradient-from:#eff6ff var(--tw-gradient-from-position);--tw-gradient-to:#eff6ff00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-gray-100{--tw-gradient-from:#f3f4f6 var(--tw-gradient-from-position);--tw-gradient-to:#f3f4f600 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-\\[\\#af3cb8\\]{--tw-gradient-to:#af3cb800 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#af3cb8 var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-amber-300{--tw-gradient-to:#fcd34d00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#fcd34d var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-blue-100{--tw-gradient-to:#dbeafe00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#dbeafe var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-gray-200{--tw-gradient-to:#e5e7eb00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#e5e7eb var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-\\[\\#3895da\\]{--tw-gradient-to:#3895da var(--tw-gradient-to-position)}.to-\\[\\#53b6ff\\]{--tw-gradient-to:#53b6ff var(--tw-gradient-to-position)}.to-amber-500{--tw-gradient-to:#f59e0b var(--tw-gradient-to-position)}.to-blue-300{--tw-gradient-to:#93c5fd var(--tw-gradient-to-position)}.to-gray-300{--tw-gradient-to:#d1d5db var(--tw-gradient-to-position)}.bg-\\[length\\:100\\%_2px\\]{background-size:100% 2px}.bg-bottom{background-position:bottom}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.stroke-\\[\\#c6c6c6\\]{stroke:#c6c6c6}.stroke-1{stroke-width:1px}.p-0\\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[20px\\]{padding:20px}.p-\\[24px\\]{padding:24px}.p-\\[4px\\]{padding:4px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[2px\\]{padding-left:2px;padding-right:2px}.px-\\[48px\\]{padding-left:48px;padding-right:48px}.px-\\[4px\\]{padding-left:4px;padding-right:4px}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[1px\\]{padding-top:1px;padding-bottom:1px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[8px\\]{padding-top:8px;padding-bottom:8px}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pb-\\[16px\\]{padding-bottom:16px}.pb-\\[4px\\]{padding-bottom:4px}.pl-\\[16px\\]{padding-left:16px}.pl-\\[28px\\]{padding-left:28px}.pr-2\\.5{padding-right:.625rem}.pr-\\[10px\\]{padding-right:10px}.pt-3{padding-top:.75rem}.pt-\\[36px\\]{padding-top:36px}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[18px\\]{font-size:18px}.text-\\[21px\\]{font-size:21px}.text-\\[9px\\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-\\[16px\\]{line-height:16px}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-blue-100{--tw-text-opacity:1;color:rgb(219 234 254/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-300\\/90{color:#fde047e6}.underline{text-decoration-line:underline}.underline-offset-1{text-underline-offset:1px}.underline-offset-2{text-underline-offset:2px}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-100{opacity:1}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-blue-500\\/30{--tw-shadow-color:#3b82f64d;--tw-shadow:var(--tw-shadow-colored)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.drop-shadow-2xl{--tw-drop-shadow:drop-shadow(0 25px 25px #00000026);filter:var(--tw-blur)var(--tw-brightness)var(--tw-contrast)var(--tw-grayscale)var(--tw-hue-rotate)var(--tw-invert)var(--tw-saturate)var(--tw-sepia)var(--tw-drop-shadow)}.filter{filter:var(--tw-blur)var(--tw-brightness)var(--tw-contrast)var(--tw-grayscale)var(--tw-hue-rotate)var(--tw-invert)var(--tw-saturate)var(--tw-sepia)var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia)}.backdrop-blur-3xl{--tw-backdrop-blur:blur(64px);backdrop-filter:var(--tw-backdrop-blur)var(--tw-backdrop-brightness)var(--tw-backdrop-contrast)var(--tw-backdrop-grayscale)var(--tw-backdrop-hue-rotate)var(--tw-backdrop-invert)var(--tw-backdrop-opacity)var(--tw-backdrop-saturate)var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-75{transition-delay:75ms}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (backdrop-filter:blur(1px)){.backdrop-blur{backdrop-filter:blur(10px)}}@-moz-document url-prefix(){.firefox\\:backdrop-filter-none{backdrop-filter:none!important}.firefox\\:bg-opacity-50{background-color:#ffffff80!important}.dark .firefox\\:bg-opacity-50{background-color:#00000080!important}}.word-item{word-break:keep-all;display:inline-block;position:relative}.word-item:after{content:" ";white-space:pre;position:relative}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (prefers-color-scheme:dark){::-webkit-scrollbar-track{background:#2d2d2d}::-webkit-scrollbar-thumb{background:#555}::-webkit-scrollbar-thumb:hover{background:#777}}*{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}@media (prefers-color-scheme:dark){*{scrollbar-color:#555 #2d2d2d}}.visited\\:text-blue-600:visited{color:#2563eb}.hover\\:scale-150:hover{--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y))rotate(var(--tw-rotate))skewX(var(--tw-skew-x))skewY(var(--tw-skew-y))scaleX(var(--tw-scale-x))scaleY(var(--tw-scale-y))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:stroke-\\[\\#565656\\]:hover{stroke:#565656}.hover\\:font-bold:hover{font-weight:700}.hover\\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.hover\\:text-green-500:hover{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.hover\\:text-yellow-300:hover{--tw-text-opacity:1;color:rgb(253 224 71/var(--tw-text-opacity,1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:underline-offset-1:hover{text-underline-offset:1px}.hover\\:opacity-80:hover{opacity:.8}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (prefers-color-scheme:dark){.dark\\:border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:border-b-gray-700{--tw-border-opacity:1;border-bottom-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:border-t-gray-700{--tw-border-opacity:1;border-top-color:rgb(55 65 81/var(--tw-border-opacity,1))}.dark\\:bg-\\[\\#1e1e1e\\]{--tw-bg-opacity:1;background-color:rgb(30 30 30/var(--tw-bg-opacity,1))}.dark\\:bg-amber-900\\/50{background-color:#78350f80}.dark\\:bg-black\\/30{background-color:#0000004d}.dark\\:bg-blue-900\\/50{background-color:#1e3a8a80}.dark\\:bg-cyan-700{--tw-bg-opacity:1;background-color:rgb(14 116 144/var(--tw-bg-opacity,1))}.dark\\:bg-cyan-900\\/50{background-color:#164e6380}.dark\\:bg-emerald-900\\/50{background-color:#064e3b80}.dark\\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.dark\\:bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:bg-green-900\\/50{background-color:#14532d80}.dark\\:bg-indigo-900\\/50{background-color:#312e8180}.dark\\:bg-lime-900\\/50{background-color:#36531480}.dark\\:bg-orange-900\\/50{background-color:#7c2d1280}.dark\\:bg-red-900\\/50{background-color:#7f1d1d80}.dark\\:bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\\:bg-teal-900\\/50{background-color:#134e4a80}.dark\\:bg-yellow-900\\/50{background-color:#713f1280}.dark\\:text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.dark\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\\:text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\\:text-slate-50{--tw-text-opacity:1;color:rgb(248 250 252/var(--tw-text-opacity,1))}.dark\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}}.\\[\\&_\\.ant-conversations-list\\]\\:pl-0 .ant-conversations-list{padding-left:0}'},{}],cTLmP:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getBrowserInfo",()=>s),n.export(r,"queryVideoElementWithBlob2",()=>u),n.export(r,"queryVideoElementWithBlob",()=>c),n.export(r,"queryDanmukuBoxInBilibili",()=>d),n.export(r,"queryRightContainerInner",()=>f),n.export(r,"queryTedCurTime",()=>p),n.export(r,"queryUpPanelContainer",()=>h),n.export(r,"queryBaiduPanVideo",()=>g),n.export(r,"queryAliyundriveVideoPreviewer",()=>m),n.export(r,"queryAliyundriveVideoPreviewerContainer",()=>b),n.export(r,"queryBaidupanVideoControl",()=>y),n.export(r,"queryBilibiliVideoControl",()=>v),n.export(r,"queryYoutubeVideoControl",()=>w),n.export(r,"queryBpxPlayerControlBottomLeft",()=>x),n.export(r,"queryYoutubeYtp_left_controls",()=>S),n.export(r,"queryYoutubeItems",()=>E),n.export(r,"queryYoutubeItemsWidth",()=>_),n.export(r,"queryBaiduPanRightSubtitleListContainer",()=>k),n.export(r,"queryBaiduPanRightSubtitleListContainerWidth",()=>T),n.export(r,"queryRightSubtitleListContainer",()=>O),n.export(r,"queryRightSubtitleListContainerWidth",()=>R),n.export(r,"getBilibiliVideoPageRightContainerInnerWidth",()=>I),n.export(r,"getWindow1rem",()=>P);var a=e("ua-parser-js"),o=e("~tools/constants"),i=e("~tools/subtitle"),l=e("~tools/types");function s(){return new a.UAParser().getResult()}function u(e){return document.querySelector(o.BWP_VIDEO)}function c(e){try{let e,t;let r=window,n=document;if(r.browserType,r.OSType,(0,i.checkBwpVideo)()?(e=n.querySelectorAll(o.BWP_VIDEO),t=l.BROWSER_TYPE.EDGE):(e=n.querySelectorAll("video"),t=l.BROWSER_TYPE.CHROME),e?.length>0)for(let r=0;r<e.length;r++){let n=e[r];if(t===l.BROWSER_TYPE.CHROME){if(n?.src.includes("blob:")||n?.src.includes("https:"))return n}else if(t===l.BROWSER_TYPE.EDGE&&(n?.attributes[0]?.value.includes("blob:")||n?.attributes[0]?.value.includes("https:")))return n}return null}catch(e){console.error("catched error in tools.queryVideo :>> ",e)}}function d(){let e=document.querySelector("#danmukuBox");return e}function f(){let e=document.querySelector(".right-container-inner.scroll-sticky");return e}function p(){let e=document.querySelector("#oldfanfollowEntry");return e}function h(){let e=document.querySelector("#oldfanfollowEntry");return e}function g(){let e=document.querySelectorAll('video[id^="vjs_video_"][id$="_html5_api"]');if(e.length>0)for(let t=0;t<e.length;t++){let r=e[t];if(!r.id.includes("vjs_video_3_html5_api"))return r}return null}function m(){let e=document.querySelector('div[class^="video-previewer"]');return e}function b(){let e=document.querySelector('div[class^="video-previewer-container"]');return e}function y(){let e=document.querySelector(".vp-video__control-bar--setup");return e}function v(){let e=document.querySelector(".bpx-player-control-bottom-right");return e}function w(){let e=document.querySelector(".ytp-right-controls");return e}function x(){let e=document.querySelector(".bpx-player-ctrl-btn.bpx-player-ctrl-time");return e}function S(){let e=document.querySelector(".ytp-left-controls");return e}function E(){let e=document.querySelector("#secondary-inner");return e}function _(){let e=document.querySelector("#secondary-inner");return e?.clientWidth}function k(){let e=document.querySelector(".vp-tabs");return e}function T(){let e=document.querySelector(".vp-tabs");return e?.clientWidth}function O(){let e=document.querySelector("#subtitleListContainer");return e}function R(){let e=document.querySelector("#subtitleListContainer");return e?.clientWidth}function I(){let e=document.querySelector("#danmukuBox");return e?.clientWidth}function P(){try{let e=parseInt(getComputedStyle(document.documentElement).fontSize);if(!e)return 16;return e}catch(e){console.error("catched error in tools.queryVideo.getWindow1rem :>> ",e)}}},{"ua-parser-js":"4Dlbs","~tools/constants":"DgB7r","~tools/subtitle":"88X4r","~tools/types":"1v1MT","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4Dlbs":[function(t,r,n){!function(t,a){var o="function",i="undefined",l="object",s="string",u="major",c="model",d="name",f="type",p="vendor",h="version",g="architecture",m="console",b="mobile",y="tablet",v="smarttv",w="wearable",x="embedded",S="Amazon",E="Apple",_="ASUS",k="BlackBerry",T="Browser",O="Chrome",R="Firefox",I="Google",P="Honor",C="Huawei",L="Microsoft",j="Motorola",D="Nvidia",A="OnePlus",N="Opera",M="OPPO",z="Samsung",U="Sharp",F="Sony",B="Xiaomi",H="Zebra",W="Facebook",G="Chromium OS",V="Mac OS",$=" Browser",q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},Y=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},K=function(e,t){return typeof e===s&&-1!==X(t).indexOf(X(e))},X=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,500)},Q=function(e,t){for(var r,n,i,s,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!u&&f[r];)if(u=f[r++].exec(e))for(i=0;i<p.length;i++)c=u[++n],typeof(s=p[i])===l&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):a:this[s[0]]=c?s[1].call(this,c,s[2]):a:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):a):this[s]=c||a;d+=2}},J=function(e,t){for(var r in t)if(typeof t[r]===l&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(K(t[r][n],e))return"?"===r?a:r}else if(K(t[r],e))return"?"===r?a:r;return t.hasOwnProperty("*")?t["*"]:e},ee={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,h],[/opios[\/ ]+([\w\.]+)/i],[h,[d,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[d,N+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[d,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[d,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[d,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[d,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[d,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[d,"Smart Lenovo "+T]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+T],h],[/\bfocus\/([\w\.]+)/i],[h,[d,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[d,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[d,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[d,"MIUI"+$]],[/fxios\/([\w\.-]+)/i],[h,[d,R]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[d,"360"]],[/\b(qq)\/([\w\.]+)/i],[[d,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1"+$],h],[/samsungbrowser\/([\w\.]+)/i],[h,[d,z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[d,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[d],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,W],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[d,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,O+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[d,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[h,J,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[d,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[d,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[d,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[d,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[g,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[g,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[g,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[g,/ower/,"",X]],[/ sun4\w[;\)]/i],[[g,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[g,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,z],[f,y]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,z],[f,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,E],[f,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,E],[f,y]],[/(macintosh);/i],[c,[p,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,U],[f,b]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[p,P],[f,y]],[/honor([-\w ]+)[;\)]/i],[c,[p,P],[f,b]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[c,[p,C],[f,y]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,C],[f,b]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[p,B],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[p,B],[f,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,M],[f,b]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[p,J,{OnePlus:["304","403","203"],"*":M}],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[f,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[f,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,j],[f,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,j],[f,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,"LG"],[f,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,"LG"],[f,b]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[p,"Lenovo"],[f,y]],[/(nokia) (t[12][01])/i],[p,c,[f,y]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[c,/_/g," "],[f,b],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[p,I],[f,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,I],[f,b]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,F],[f,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,F],[f,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,A],[f,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,S],[f,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,S],[f,b]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[f,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,k],[f,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,_],[f,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,_],[f,b]],[/(nexus 9)/i],[c,[p,"HTC"],[f,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[f,b]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[p,"TCL"],[f,y]],[/(itel) ((\w+))/i],[[p,X],c,[f,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[f,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[f,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[p,"Ulefone"],[f,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[p,"Energizer"],[f,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[p,"Cat"],[f,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[p,"Smartfren"],[f,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[p,"Nothing"],[f,b]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[p,"Archos"],[f,y]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[p,"Archos"],[f,b]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,c,[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[f,b]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[f,y]],[/(surface duo)/i],[c,[p,L],[f,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[f,b]],[/(u304aa)/i],[c,[p,"AT&T"],[f,b]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[f,b]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[f,y]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[f,y]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[f,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[f,y]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[f,y]],[/\b(k88) b/i],[c,[p,"ZTE"],[f,y]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[f,b]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[f,b]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[f,y]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[f,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[f,y]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[f,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[f,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[f,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[f,b]],[/\b(ph-1) /i],[c,[p,"Essential"],[f,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[f,y]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[f,y]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[f,y]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[p,D],[f,y]],[/(sprint) (\w+)/i],[p,c,[f,b]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,L],[f,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,H],[f,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,H],[f,b]],[/smart-tv.+(samsung)/i],[p,[f,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,z],[f,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[f,v]],[/(apple) ?tv/i],[p,[c,E+" TV"],[f,v]],[/crkey/i],[[c,O+"cast"],[p,I],[f,v]],[/droid.+aft(\w+)( bui|\))/i],[c,[p,S],[f,v]],[/(shield \w+ tv)/i],[c,[p,D],[f,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,U],[f,v]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,F],[f,v]],[/(mi(tv|box)-?\w+) bui/i],[c,[p,B],[f,v]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[f,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Z],[c,Z],[f,v]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[c,[f,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[f,m]],[/droid.+; (shield)( bui|\))/i],[c,[p,D],[f,m]],[/(playstation \w+)/i],[c,[p,F],[f,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,L],[f,m]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[p,z],[f,w]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,c,[f,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[p,M],[f,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,E],[f,w]],[/(opwwe\d{3})/i],[c,[p,A],[f,w]],[/(moto 360)/i],[c,[p,j],[f,w]],[/(smartwatch 3)/i],[c,[p,F],[f,w]],[/(g watch r)/i],[c,[p,"LG"],[f,w]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,H],[f,w]],[/droid.+; (glass) \d/i],[c,[p,I],[f,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,c,[f,w]],[/; (quest( \d| pro)?)/i],[c,[p,W],[f,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,x]],[/(aeobc)\b/i],[c,[p,S],[f,x]],[/(homepod).+mac os/i],[c,[p,E],[f,x]],[/windows iot/i],[[f,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,b]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[d,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[d,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,h],[/ladybird\//i],[[d,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[d,[h,J,ee]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,J,ee],[d,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,V],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,d],[/(ubuntu) ([\w\.]+) like android/i],[[d,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[d,h],[/\(bb(10);/i],[h,[d,k]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[d,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[d,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,G],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,h],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,h]]},er=function(e,r){if(typeof e===l&&(r=e,e=a),!(this instanceof er))return new er(e,r).getResult();var n=typeof t!==i&&t.navigator?t.navigator:a,m=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:a,w=r?q(et,r):et,x=n&&n.userAgent==m;return this.getBrowser=function(){var e,t={};return t[d]=a,t[h]=a,Q.call(t,m,w.browser),t[u]=typeof(e=t[h])===s?e.replace(/[^\d\.]/g,"").split(".")[0]:a,x&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[d]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,Q.call(e,m,w.cpu),e},this.getDevice=function(){var e={};return e[p]=a,e[c]=a,e[f]=a,Q.call(e,m,w.device),x&&!e[f]&&v&&v.mobile&&(e[f]=b),x&&"Macintosh"==e[c]&&n&&typeof n.standalone!==i&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[c]="iPad",e[f]=y),e},this.getEngine=function(){var e={};return e[d]=a,e[h]=a,Q.call(e,m,w.engine),e},this.getOS=function(){var e={};return e[d]=a,e[h]=a,Q.call(e,m,w.os),x&&!e[d]&&v&&v.platform&&"Unknown"!=v.platform&&(e[d]=v.platform.replace(/chrome os/i,G).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===s&&e.length>500?Z(e,500):e,this},this.setUA(m),this};er.VERSION="1.0.41",er.BROWSER=Y([d,h,u]),er.CPU=Y([g]),er.DEVICE=Y([c,p,f,m,b,v,y,w,x]),er.ENGINE=er.OS=Y([d,h]),typeof n!==i?(r.exports&&(n=r.exports=er),n.UAParser=er):typeof e===o&&e.amd?e(function(){return er}):typeof t!==i&&(t.UAParser=er);var en=typeof t!==i&&(t.jQuery||t.Zepto);if(en&&!en.ua){var ea=new er;en.ua=ea.getResult(),en.ua.get=function(){return ea.getUA()},en.ua.set=function(e){ea.setUA(e);var t=ea.getResult();for(var r in t)en.ua[r]=t[r]}}}("object"==typeof window?window:this)},{}],DgB7r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"SUBTITLE_LIST_PADDING_SIZE",()=>a),n.export(r,"SUBTITLE_LIST_WIDTH",()=>o),n.export(r,"DEFAULT_ROW_HEIGHT",()=>i),n.export(r,"SUBTITLE_LIST_TTS_TEXT_WIDTH",()=>l),n.export(r,"SUBTITLE_LIST_HEIGHT",()=>s),n.export(r,"DRAGGABLE_HANDLE_HEIGHT",()=>u),n.export(r,"CLOSE_SVG_REM_COUNT",()=>c),n.export(r,"SUBTITLE_LIST_ROW_HEIGHT",()=>d),n.export(r,"BWP_VIDEO",()=>f),n.export(r,"VIDEO_PAUSE",()=>p),n.export(r,"KEY_DOWN",()=>h),n.export(r,"CLICK_SUBTITLE",()=>g),n.export(r,"SENT_BILIBILI_AI_SUBTITLE_URL",()=>m),n.export(r,"SENT_YOUTUBE_SUBTITLE_API_URL",()=>b),n.export(r,"SENT_BAIDUPAN_SUBTITLE_API_URL",()=>y),n.export(r,"INIT_SUBTITLENODES",()=>v),n.export(r,"NO_SUBTITLENODES_DATA",()=>w),n.export(r,"FILTER_SUBTITLE_IN_WEBREQUEST",()=>x),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_1",()=>S),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_2",()=>E),n.export(r,"FILTER_SUBTITLE_IN_YOUTUBE_URL",()=>_),n.export(r,"NEXT",()=>k),n.export(r,"PRE",()=>T),n.export(r,"ADD",()=>O),n.export(r,"SUB",()=>R),n.export(r,"VIDEO_MASK",()=>I),n.export(r,"SUB_MASK",()=>P),n.export(r,"REPEAT",()=>C),n.export(r,"VARIABLE_REPEAT",()=>L),n.export(r,"FOLLOW_READ",()=>j),n.export(r,"FULL_MASK",()=>D),n.export(r,"SUBTITLE_LIST",()=>A),n.export(r,"SUBTITLE",()=>N),n.export(r,"ZHSUBTITLE",()=>M),n.export(r,"DEFAULT_MAX_PAUSE_TIME",()=>z),n.export(r,"STORAGE_RANDOMUUID",()=>U),n.export(r,"STORAGE_ALWAY_REPEAT_PLAY",()=>F),n.export(r,"STORAGE_PLAYED_THEN_PAUSE",()=>B),n.export(r,"STORAGE_SHOW_EN_DEFINITION",()=>H),n.export(r,"STORAGE_REPLAY_TIMES",()=>W),n.export(r,"STORAGE_MAX_PAUSE_TIME",()=>G),n.export(r,"STORAGE_SUBTITLELIST_TABS_KEY",()=>V),n.export(r,"STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW",()=>$),n.export(r,"STORAGE_SUBTITLELIST_TABS_SCROLL",()=>q),n.export(r,"STORAGE_SHOWSUBTITLE",()=>Y),n.export(r,"STORAGE_SHOWZHSUBTITLE",()=>K),n.export(r,"STORAGE_SHOWSUBTITLELIST",()=>X),n.export(r,"STORAGE_SHOWTTSSUBTITLELIST",()=>Z),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTX",()=>Q),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTY",()=>J),n.export(r,"STORAGE_BILIBILI_TRANSLATE_SELECT_LANG",()=>ee),n.export(r,"STORAGE_SHOWVIDEOMASK",()=>et),n.export(r,"STORAGE_SHOWSUBTITLELISTMASK",()=>er),n.export(r,"STORAGE_SHOWFLOATBALL",()=>en),n.export(r,"STORAGE_DISABLESHORTCUTS",()=>ea),n.export(r,"STORAGE_ALL_SHORTCUTS",()=>eo),n.export(r,"STORAGE_VIDEO_MASK_HEIGHT",()=>ei),n.export(r,"STORAGE_DEFAULT_VIDEO_MASK_HEIGHT",()=>el),n.export(r,"STORAGE_FOLLOW_READ_TIMES",()=>es),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_TIMES",()=>eu),n.export(r,"STORAGE_FOLLOW_READ_LENGTH",()=>ec),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_LENGTH",()=>ed),n.export(r,"STORAGE_POST_IDLETIME_ACTIVETIME_LOCK",()=>ef),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME",()=>ep),n.export(r,"STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME",()=>eh),n.export(r,"STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME",()=>eg),n.export(r,"STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME",()=>em),n.export(r,"STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME",()=>eb),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER",()=>ey),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE",()=>ev),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI",()=>ew),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU",()=>ex),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN",()=>eS),n.export(r,"STORAGE_AZURE_KEY_CODE",()=>eE),n.export(r,"STORAGE_AZURE_KEY_AREA",()=>e_),n.export(r,"STORAGE_FAVORITES_DICTS",()=>ek),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_SHOW",()=>eT),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW",()=>eO),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_COLOR",()=>eR),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR",()=>eI),n.export(r,"STORAGE_USER_INFO",()=>eP),n.export(r,"IDLETIME_STORAGE_DEFAULT_VALUE",()=>eC),n.export(r,"FAVORITES_DICTS_DEFAULT_VALUE",()=>eL),n.export(r,"ALL_SHORT_CUTS",()=>ej),n.export(r,"COLOR_PRIMARY",()=>eD),n.export(r,"FONT_SIZE",()=>eA),n.export(r,"FONT_SANS",()=>eN),n.export(r,"FONT_SERIF",()=>eM),n.export(r,"FONT_MONO",()=>ez),n.export(r,"SUBTITLE_FONT_FAMILY",()=>eU),n.export(r,"FONT_WEIGHT",()=>eF),n.export(r,"LINE_HEIGHT",()=>eB),n.export(r,"ZIMU1_USESTORAGE_SYNC_JWT",()=>eH),n.export(r,"ZIMU1_USESTORAGE_SYNC_HEADIMGURL",()=>eW),n.export(r,"ZIMU1_USESTORAGE_SYNC_NICKNAME",()=>eG),n.export(r,"ZIMU1_USESTORAGE_SYNC_PAID",()=>eV),n.export(r,"DRAGGABLE_NODE_CONTAINER_WIDTH",()=>e$),n.export(r,"DRAGGABLE_NODE_CONTAINER_HEIGHT",()=>eq),n.export(r,"DRAGGABLE_NODE_CONTAINER_X",()=>eY),n.export(r,"DRAGGABLE_NODE_CONTAINER_Y",()=>eK),n.export(r,"IDLE_TIME_OUT",()=>eX),n.export(r,"DARK_BG_COLOR",()=>eZ),n.export(r,"REPEAT_INIT_TIMES",()=>eQ),n.export(r,"REPEAT_UI_INIT_TIMES",()=>eJ),n.export(r,"VARIABLE_REPEAT_INIT_TIMES",()=>e0),n.export(r,"VARIABLE_REPEAT_UI_INIT_TIMES",()=>e1),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL",()=>e2),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL_EMBED",()=>e3),n.export(r,"ZIMU1_SUBTITLELIST_WATCH_URL",()=>e4),n.export(r,"CASCADER_OPTION_MIX",()=>e5),n.export(r,"CASCADER_OPTION_ZH",()=>e8),n.export(r,"CASCADER_OPTION_FOREIGN",()=>e6),n.export(r,"STORAGE_SUBTITLE_FOREIGN_FONTSIZE",()=>e9),n.export(r,"STORAGE_SUBTITLE_ZH_FONTSIZE",()=>e7),n.export(r,"SUBTITLE_FOREIGN_FONT_SIZE",()=>te),n.export(r,"STORAGE_SUBTITLELIST_FOREIGN_FONTSIZE",()=>tt),n.export(r,"STORAGE_SUBTITLELIST_ZH_FONTSIZE",()=>tr),n.export(r,"STORAGE_ARTICLE_FONTSIZE",()=>tn),n.export(r,"STORAGE_SUBTITLE_FONT_FAMILY",()=>ta),n.export(r,"STORAGE_SUBTITLE_NO",()=>to),n.export(r,"STORAGE_SUBTITLE_NO_CURRENT_TIME",()=>ti),n.export(r,"BILIBILI_COM",()=>tl),n.export(r,"YOUTUBE_COM",()=>ts),n.export(r,"ZIMU1_COM",()=>tu),n.export(r,"PAN_BAIDU_COM",()=>tc),n.export(r,"PAN_BAIDU_COM_VIDEO",()=>td),n.export(r,"YOUTUBESUBTITLELIST",()=>tf),n.export(r,"NEXTJSSUBTITLELIST",()=>tp),n.export(r,"BILIBILISUBTITLESWITCH",()=>th),n.export(r,"YOUTUBESUBTITLESWITCH",()=>tg),n.export(r,"BAIDUPANSUBTITLESWITCH",()=>tm),n.export(r,"DRAGGABLESUBTITLELIST",()=>tb),n.export(r,"YOUTUBE_VALID_ORIGINS",()=>ty),n.export(r,"BILIBILI_VALID_ORIGINS",()=>tv),n.export(r,"ZIMU1_VALID_ORIGINS",()=>tw),n.export(r,"BAIDUPAN_VALID_ORIGINS",()=>tx),n.export(r,"JWT_IS_FALSE",()=>tS);let a=1,o=300,i=80,l=600,s=500,u=16,c=2,d=36,f="bwp-video",p="VIDEO_PAUSE",h="KEY_DOWN",g="CLICK_SUBTITLE",m="SENT_BILIBILI_AI_SUBTITLE_URL",b="SENT_YOUTUBE_SUBTITLE_API_URL",y="SENT_BAIDUPAN_SUBTITLE_API_URL",v="INIT_SUBTITLENODES",w="NO_SUBTITLENODES_DATA",x="api.bilibili.com/x/player/wbi/v2",S="/api/streaming",E="M3U8_SUBTITLE_SRT",_=".com/api/timedtext",k="K",T="J",O="I",R="U",I="H",P="L",C="R",L="Q",j="F",D="A",A="V",N="S",M="C",z=20,U="storage_randomUUID",F="alwaysRepeatPlay",B="playedThenPause",H="showEnDefinition",W="storage_replay_times",G="storage_max_pause_time",V="subtitlelistTabsKey",$="subtitlelistLanguageModeToShow",q="subtitlelistTabsScroll",Y="showSubtitle",K="showZhSubtitle",X="showSubtitleList",Z="showTTSSubtitleList",Q="draggableSubtitleListX",J="draggableSubtitleListY",ee="bilibiliTranslateSelectLang",et="showVideoMask",er="showSubtitleListMask",en="showFloatBall",ea="disableShortcuts",eo="allShortcuts",ei="videoMaskHeight",el=80,es="followReadTimes",eu=3,ec="followReadLength",ed=1.5,ef="storage_post_idletime_activetime_lock",ep="idleTimeVideoActivetime",eh="idleTimeDraggableSubListActivetime",eg="idleTimeNextjsSubListActivetime",em="idleTimeDraggableDictActivetime",eb="idleTimeYoutubeSubListActivetime",ey="idleTimeVideoActivetimeOther",ev="idleTimeVideoActivetimeYoutube",ew="idleTimeVideoActivetimeBilibili",ex="idleTimeVideoActivetime1zimu",eS="idleTimeVideoActivetimeBaidupan",eE="storage_azure_key_code",e_="storage_azure_key_area",ek="storage_favorites_dicts",eT="maskBackdropBlurPxValue",eO=!0,eR="maskBackdropBlurColor",eI="rgba(255, 255, 255, 0.3)",eP="storage_user_info",eC={default:""},eL=[],ej={next:k,pre:T,add:O,sub:R,videoMask:I,subMask:P,repeat:C,variableRepeat:L,followRead:j,fullMask:D,subtitleList:A,subtitle:N,zhSubtitle:M},eD="#16a34a",eA="21px",eN='ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',eM='ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',ez='ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',eU=[{value:1,label:"font-sans",origin:eN},{value:2,label:"font-serif",origin:eM},{value:3,label:"font-mono",origin:ez}],eF="700",eB="1.25",eH="zimu1_useStorage_sync_jwt",eW="zimu1_useStorage_sync_headimgurl",eG="zimu1_useStorage_sync_nickname",eV="zimu1_useStorage_sync_paid",e$=1e3,eq=480,eY=150,eK=150,eX=30,eZ="#1e1e1e",eQ=5,eJ=eQ+1,e0=10,e1=e0+1,e2="youtube.com/watch",e3="youtube.com/embed",e4="1zimu.com/player",e5="mix",e8="zh",e6="foreign",e9="storageSubtitleForeignFontsize",e7="storageSubtitleZhFontsize",te=16,tt="storageSubtitlelistForeignFontsize",tr="storageSubtitlelistZhFontsize",tn="storageArticleFontsize",ta="storage_subtitle_font_family",to="storage_subtitle_no",ti="storage_subtitle_no_current_time",tl="bilibili.com",ts="youtube.com",tu="1zimu.com",tc="pan.baidu.com",td="pan.baidu.com/pfile/video",tf="YoutubeSubtitleList",tp="NextjsSubtitleList",th="BilibiliSubtitleSwitch",tg="YoutubeSubtitleSwitch",tm="BaidupanSubtitleSwitch",tb="DraggableSubtitleList",ty=["https://www.youtube.com","https://youtube.com"],tv=["https://www.bilibili.com","https://bilibili.com"],tw=["https://www.1zimu.com","https://1zimu.com"],tx=["https://pan.baidu.com/pfile/video","https://pan.baidu.com"],tS="jwt is false"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"88X4r":[function(e,t,r){let n,a,o;var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"getVideojsNextjsSrtUrl",()=>E),i.export(r,"opYoutubeSubtitleContainer",()=>k),i.export(r,"loadeddata",()=>T),i.export(r,"timeUpdate",()=>O),i.export(r,"checkBwpVideo",()=>R),i.export(r,"keyDown",()=>I),i.export(r,"clearIntervalAndTimeOut",()=>P),i.export(r,"preSentence",()=>C),i.export(r,"nextSentence",()=>L),i.export(r,"addPlayRate",()=>j),i.export(r,"subPlayRate",()=>D),i.export(r,"http2https",()=>A),i.export(r,"json2subtitleList",()=>N),i.export(r,"getNodeStartOrEndTimeBTree",()=>M),i.export(r,"getNodeStartOrEndTime",()=>z),i.export(r,"followReadCall",()=>U),i.export(r,"variableRepeatCall",()=>F),i.export(r,"repeatCall",()=>H),i.export(r,"repeatPlay",()=>W),i.export(r,"isLikelyChinese",()=>G),i.export(r,"extractTextFromHtml",()=>V),i.export(r,"getTextWidth",()=>$),i.export(r,"getWidthPerChar",()=>q),i.export(r,"checkMSEdgeJwt",()=>Y),i.export(r,"sortByStart",()=>K),i.export(r,"sortByStartInData",()=>X),i.export(r,"findCueInRange",()=>Z),i.export(r,"findCueInArrayOn",()=>Q),i.export(r,"MSEdgeTranslateToSubtitleNodesText",()=>J),i.export(r,"formatDuration",()=>ee),i.export(r,"getFontFamilyByValue",()=>et),i.export(r,"stopPropagation",()=>er),i.export(r,"ecdictFav",()=>en),i.export(r,"ecdictFavDel",()=>ea),i.export(r,"getEcdictredInfoWithPermission",()=>eo),i.export(r,"getAzureTranslate",()=>el),i.export(r,"convertToOptions",()=>es),i.export(r,"getLangChineseName",()=>eu),i.export(r,"formSubtitleNodesFromPayload",()=>ec),i.export(r,"removeRangeInPlace",()=>ed),i.export(r,"controlPlayThenPause",()=>ef),i.export(r,"getAbsoluteTop",()=>ep),i.export(r,"biliHandleScroll",()=>eh),i.export(r,"youtubeHandleScroll",()=>eg),i.export(r,"baiduPanHandleScroll",()=>em),i.export(r,"zimu1HandleScroll",()=>eb),i.export(r,"cleanWord",()=>ey);var l=e("react-toastify"),s=e("~tools/constants"),u=e("~tools/queryVideo"),c=e("../redux/storeNoStorage"),d=e("~redux/store"),f=e("~redux/no-storage-slice"),p=e("jwt-decode"),h=e("@plasmohq/messaging"),g=e("./error"),m=e("~tools/logger"),b=e("./storages"),y=e("./sleep"),v=e("./permission"),w=e("./constants/lang");let x=(0,v.withPermissionCheck)(B,"true",chrome.i18n.getMessage("pleasePayItThenUse")),S=(0,v.withPermissionCheck)(function({nodes:e,times:t=s.VARIABLE_REPEAT_INIT_TIMES,playbackRate:r=.5,video:a,wavesurfer:o,isInlineSublist:i}){let u=0,d=0;P({video:a,wavesurfer:o,isInlineSublist:i});let p=0;p=i?a.currentTime:o.getCurrentTime();let h=W(e,p);if(void 0===h)return;u=h.start,d=h.end,i?(a.currentTime=u,a.playbackRate=r,a?.paused&&a.play()):(o.setTime(u),o.setPlaybackRate(r),o.play());let g=0;(0,l.toast).dismiss(),i?(g=a.playbackRate,(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t))):(g=o.getPlaybackRate(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t))),n=setInterval(()=>{i?a.currentTime>=d&&(a.currentTime=u,a.playbackRate=Number((r+=.1).toFixed(1)),t>0&&((0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${a.playbackRate}`,{autoClose:(d-u)*1e3/a.playbackRate}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t)))):o.getCurrentTime()>=d&&(o.setTime(u),o.setPlaybackRate(Number((r+=.1).toFixed(1))),t>0&&((0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${o.getPlaybackRate()}`,{autoClose:(d-u)*1e3/o.getPlaybackRate()}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t)))),t<=1&&(g=i?a.playbackRate:o.getPlaybackRate(),P({video:a,wavesurfer:o,isInlineSublist:i}),(0,l.toast).dismiss(),(0,l.toast)(`\u6fc0\u53d1\u64ad\u653e\u7ed3\u675f\uff0c\u5f53\u524d\u901f\u5ea6${g}`,{autoClose:(d-u)*1e3/g}))},500)},"true",chrome.i18n.getMessage("pleasePayItThenUse"));function E(){try{let e=document.querySelector("#testId"),t=null;return e&&(t=e.getAttribute("data-srt-url")),t}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.getVideojsNextjsSrtUrl()"})}}async function _(e){try{let t=e?.target?.attributes["aria-pressed"]?.value;t&&("true"===t?await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!0):await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!1))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.youtubeSubtitleBtnListener()"})}}function k(e=!0){try{let t=document.getElementById("ytp-caption-window-container");t&&(t.style.display=e?"none":"")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.opYoutubeSubtitleContainer()"})}}async function T(){try{if(this?.src?.includes("youtube")){await c.storeReady,(0,c.store).dispatch((0,f.initSubtitleNodes)()),function(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");e&&(e.removeEventListener("click",_),e.addEventListener("click",_))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.addEventListener2YoutubeSubtitleBtn()"})}}(),await (0,y.sleep)(2e3),(0,y.clickYoutubeSubtitleBtn)(),k();let e=this.clientWidth,t=this.clientHeight;(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,c.store).dispatch((0,f.setClientHeight)(t))}}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.loadeddata()"})}}async function O(){try{if(R())return;let e=this.currentTime,t=this.clientWidth,r=this.clientHeight,n=this.paused,a=this.playbackRate;e!==(0,c.store).getState().noStorager.currentT&&(0,c.store).dispatch((0,f.setCurrentTime)(e)),t!==(0,c.store).getState().noStorager.clientWidth&&(0,c.store).dispatch((0,f.setClientWidth)(t)),r!==(0,c.store).getState().noStorager.clientHeight&&(0,c.store).dispatch((0,f.setClientHeight)(r)),n!==(0,c.store).getState().noStorager.paused&&(0,c.store).dispatch((0,f.setPaused)(n)),a!==(0,c.store).getState().noStorager.mediaPlaybackRate&&(0,c.store).dispatch((0,f.setMediaPlaybackRate)(a));let i=await (0,b.storage).get(s.STORAGE_PLAYED_THEN_PAUSE);if(i&&(0,c.store).getState().noStorager.playThenPause){this.pause();let e=await (0,b.storage).get(s.STORAGE_MAX_PAUSE_TIME);o=setTimeout(()=>{this instanceof HTMLVideoElement?this.play():console.error('Invalid context: "this" is not an HTMLVideoElement'),clearTimeout(o)},1e3*parseInt(e))}(0,m.logger).log("current time is :>> ",e);let l=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELIST);l!==(0,c.store).getState().noStorager.showSubtitleList&&(0,c.store).dispatch((0,f.setShowSubtitleList)(l))}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.timeUpdate()"})}}function R(){try{let e=window,t=document,r=t.querySelector(s.BWP_VIDEO);if(r?e.videoOrNot=!1:e.videoOrNot=!0,e?.browserType?.includes("edge")&&t?.baseURI?.includes("bilibili.com")&&e?.OSType?.includes("windows")&&!e?.videoOrNot)return!0;return!1}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.checkBwpVideo()"})}}async function I(e){try{let t=window,r=document,n=(0,c.store).getState().noStorager.subtitleNodes;if(n?.length<1){(0,m.logger).error("\u6ca1\u6709\u5b57\u5e55\u6570\u636e\u65f6\uff0ckeyDown() return.");return}if(e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"){(0,m.logger).error("\u6b63\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\uff0c\u5c31\u4e0d\u548c keyDown \u4e8b\u4ef6\u51b2\u7a81\u4e86\uff01");return}if(!d.store?.getState()?.odd?.popupShow||e?.ctrlKey||e?.shiftKey||e?.altKey)return;if(e?.target&&e?.target?.id==="DraggableDict"||e?.target&&e?.target?.id===s.DRAGGABLESUBTITLELIST||e?.target&&e?.target?.id===s.NEXTJSSUBTITLELIST||e?.target&&e?.target?.id===s.YOUTUBESUBTITLELIST){e.stopPropagation();return}let a=(0,u.queryVideoElementWithBlob)("keyDown");if(!a)return;e?.code?.toLocaleLowerCase()==="pageup"&&C({nodes:n,video:a,currentTime:a.currentTime}),e?.code?.toLocaleLowerCase()==="pagedown"&&L({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleLowerCase()==="enter"&&(a.paused?a.play():a.pause());let o=await (0,b.storage).get(s.STORAGE_DISABLESHORTCUTS);if(o)return;let i=await (0,b.storage).get(s.STORAGE_ALL_SHORTCUTS),{next:p,pre:h,add:g,sub:y,videoMask:v,subMask:w,repeat:x,variableRepeat:S,followRead:E,fullMask:_,subtitle:k,zhSubtitle:T,subtitleList:O}=i;if(e?.repeat)(0,m.logger).log(`\u91cd\u590d "${e?.key?.toLocaleUpperCase()}" \u952e [\u4e8b\u4ef6\uff1akeydown]`);else{if(R()){let n=e.key;n>"0"&&n<="10"&&(n=parseInt(n));let a={id:e.target.id},o=e.repeat;t.postMessage({key:n,target:a,repeatKeyDown:o,postMsgType:s.KEY_DOWN},r.baseURI);return}if("Escape"===e.key&&(P({video:a}),await (0,b.storage).set(s.STORAGE_ALWAY_REPEAT_PLAY,!1)),e?.key?.toLocaleUpperCase()===_){let e=a.clientWidth,t=(0,c.store).getState().noStorager.maskFull;(0,c.store).dispatch((0,f.setMaskFull)(!t)),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u53d6\u6d88\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321"):(0,l.toast)("\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321")}if(e?.key?.toLocaleUpperCase()===v){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWVIDEOMASK);await (0,b.storage).set(s.STORAGE_SHOWVIDEOMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u906e\u7f69\u5c42"):(0,l.toast)("\u663e\u793a\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===w){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELISTMASK);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLELISTMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42"):(0,l.toast)("\u663e\u793a\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===O){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLELIST);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLELIST,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,l.toast).dismiss(),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55List"):(0,l.toast)("\u663e\u793a\u5b57\u5e55List")}if(e?.key?.toLocaleUpperCase()===k){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWSUBTITLE);await (0,b.storage).set(s.STORAGE_SHOWSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,l.toast)("\u9690\u85cf\u5b57\u5e55"):(0,l.toast)("\u663e\u793a\u5b57\u5e55")}if(e?.key?.toLocaleUpperCase()===T){let e=a.clientWidth,t=await (0,b.storage).get(s.STORAGE_SHOWZHSUBTITLE);await (0,b.storage).set(s.STORAGE_SHOWZHSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,l.toast)("\u9690\u85cf\u4e2d\u6587\u5b57\u5e55"):(0,l.toast)("\u663e\u793a\u4e2d\u6587\u5b57\u5e55")}e?.key?.toLocaleUpperCase()===S&&F({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===x&&H({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===E&&U(n,a),e?.key?.toLocaleUpperCase()===g&&j({video:a}),e?.key?.toLocaleUpperCase()===y&&D({video:a}),e?.key?.toLocaleUpperCase()===h&&C({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleUpperCase()===p&&L({nodes:n,video:a,currentTime:a.currentTime})}}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.keyDown()"})}}function P({video:e,wavesurfer:t,isInlineSublist:r=!0}){try{(n||a||o)&&((0,l.toast)(`\u53d6\u6d88 \u91cd\u590d\u64ad\u653e \u6216 \u53d8\u901f\u64ad\u653e`),n&&clearInterval(n),a&&clearTimeout(a),o&&clearTimeout(o),r?(e.playbackRate=1,e.paused&&e.play(),(0,c.store).dispatch((0,f.setRepeatTimes)(s.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(s.VARIABLE_REPEAT_UI_INIT_TIMES))):(t&&t.setPlaybackRate(1),t&&t.play(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(s.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(s.VARIABLE_REPEAT_UI_INIT_TIMES))),n=void 0,a=void 0)}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.clearIntervalAndTimeOut()"})}}function C({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{preNodeStartTime:o}=M(e,r);P({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,l.toast).dismiss(),(0,l.toast)("\u4e0a\u4e00\u53e5")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.preSentence()"})}}function L({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{nextNodeStartTime:o}=M(e,r);P({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,l.toast).dismiss(),(0,l.toast)("\u4e0b\u4e00\u53e5")}catch(e){(0,g.handleError)({error:e,msgToShow:"tools.subtitle.nextSentence()"})}}function j({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate<10?(e.playbackRate=Number((e.playbackRate+.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,l.toast).dismiss(),e&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`)):r&&r?.getPlaybackRate()<10?(r.setPlaybackRate(Number((r.getPlaybackRate()+.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,l.toast).dismiss(),r&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function D({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate>.2?(e.playbackRate=Number((e.playbackRate-.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,l.toast).dismiss(),e&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u51cf\u4e86\uff01`)):r&&r?.getPlaybackRate()>.2?(r.setPlaybackRate(Number((r.getPlaybackRate()-.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,l.toast).dismiss(),(0,l.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,l.toast).dismiss(),r&&(0,l.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function A(e){if(!e.includes("https")){let t=new URL(e);return`https://${t.host}${t.pathname}${t.search}`}return e}function N(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r],a=n.content.replace(/\n/g," "),o={type:"cue",data:{start:1e3*n.from,end:1e3*n.to,text:a}};t.push(o)}return t}function M(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],l=a.data.start/1e3,s=o.data.start/1e3,u=i.data.start/1e3,c=0,d=e.length-1,f=0;for(;c<=d;){f++;let i=c+Math.floor((d-c)/2),p=i-1,h=i+1,g=p<0?a:e[p],b=h>=e.length?o:e[h],y=e[i],v=g.data.start/1e3,w=b.data.start/1e3,x=y.data.start/1e3;if(x<=t&&t<=w)return r=v,n=w,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(t<=x?d=i-1:t>=w&&(c=i+1),t<=l)return r=l,n=l,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(s<=t)return r=u,n=s,(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}return(0,m.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}function z(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],l=a.data.start/1e3,s=o.data.start/1e3,u=i.data.start/1e3;for(let i=0;i<e.length;i++){let c=i-1,d=i+1,f=c<0?a:e[c],p=d>=e.length?o:e[d],h=e[i],g=f.data.start/1e3,m=p.data.start/1e3,b=h.data.start/1e3;if(b<=t&&t<=m){r=g,n=m;break}if(t<=l)return{preNodeStartTime:r=l,nextNodeStartTime:n=l};if(s<=t){r=u,n=s;break}}return{preNodeStartTime:r,nextNodeStartTime:n}}async function U(e,t){P({video:t});let r=await (0,b.storage).get(s.STORAGE_FOLLOW_READ_TIMES),o=await (0,b.storage).get(s.STORAGE_FOLLOW_READ_LENGTH),i=W(e,t.currentTime);if(void 0===i)return;let{start:u,end:c}=i;t.currentTime=u,t?.paused&&t.play();let d=parseInt(r),f=parseFloat(o);(0,l.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u5171${d}\u6b21`,{autoClose:(c-u)*1e3/t.playbackRate}),n=setInterval(()=>{t.currentTime>=c&&(t.currentTime=u,t.pause(),(0,l.toast)(`\u8bf7\u8ddf\u8bfb\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3*f/t.playbackRate}),a=setTimeout(()=>{t.play(),d--,clearTimeout(a),d>0&&(0,l.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3/t.playbackRate})},(c-u)*1e3*f/t.playbackRate)),d<=0&&P({video:t})},500)}function F({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){S({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}async function B({nodes:e,times:t=s.REPEAT_INIT_TIMES,video:r,wavesurfer:a,isInlineSublist:o}){let i=0,u=0;P({video:r,wavesurfer:a,isInlineSublist:o}),t=await (0,b.storage).get(s.STORAGE_REPLAY_TIMES)||s.REPEAT_INIT_TIMES;let d=await (0,b.storage).get(s.STORAGE_ALWAY_REPEAT_PLAY)||!1,p=0;p=o?r.currentTime:a.getCurrentTime();let h=W(e,p);if(void 0===h)return;i=h.start,u=h.end,o?(r.currentTime=i,r?.paused&&r.play()):(a.setTime(i),a.play());let g=0;(0,l.toast).dismiss(),o?(g=r.playbackRate,(0,c.store).dispatch((0,f.setRepeatTimes)(t))):(g=a.getPlaybackRate(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t))),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u5171${t}\u6b21`,{autoClose:(u-i)*1e3/g}),n=setInterval(()=>{if(t<=1&&d&&r.currentTime>=u){P({video:r,wavesurfer:a,isInlineSublist:o});return}o?r.currentTime>=u&&((0,l.toast).dismiss(),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/r.playbackRate}),(0,c.store).dispatch((0,f.setRepeatTimes)(t)),r.currentTime=i):a.getCurrentTime()>=u&&((0,l.toast).dismiss(),(0,l.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/a.getPlaybackRate()}),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t)),a.setTime(i)),t<=1&&!d&&P({video:r,wavesurfer:a,isInlineSublist:o})},500)}async function H({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){await x({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}function W(e,t){let{cue:r,index:n}=Z(e,t);if(-1!==n)return{start:r.data.start/1e3,end:r.data.end/1e3}}function G(e){let t=(e.match(/[\u4e00-\u9fff]/g)||[]).length,r=(e.match(/[a-zA-Z]/g)||[]).length;return t>r}function V(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function $(e,t,r,n){let a=document.createElement("span");a.style.lineHeight=s.LINE_HEIGHT,a.style.fontSize=t,a.style.fontWeight=n,a.style.fontFamily=r,a.style.whiteSpace="nowrap",a.style.visibility="hidden",a.style.position="absolute",a.textContent=e,document.body.appendChild(a);let o=a.offsetWidth,i=a.offsetHeight;return document.body.removeChild(a),{widthText:o,heightText:i}}function q(e="21px",t="21px",r=s.FONT_SANS){let n,a;let o="abcdefghijklmnopqrstuvwxyz",i="\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341";n=$(o,e,r,s.FONT_WEIGHT);let l=n.widthText/o.length,u=n.heightText;a=$(i,t,r,s.FONT_WEIGHT);let c=a.widthText/i.length,d=a.heightText;return{widthPerEnChar:l,widthPerZhChar:c,heightPerEnChar:u,heightPerZhChar:d}}function Y(e){if(!e)return!1;let t={region:"","subscription-id":"","product-id":"","cognitive-services-endpoint":"","azure-resource-id":"",scope:"",aud:"",exp:0,iss:""};return e.length>1?t=(0,p.jwtDecode)(e):t.exp=0,!(t?.exp<Date.now()/1e3)}function K(e){return e.sort((e,t)=>e.start<t.start?-1:e.start>t.start?1:0)}function X(e){return e.sort((e,t)=>e.data.start<t.data.start?-1:e.data.start>t.data.start?1:0)}function Z(e,t){let r=0,n=e.length-1,a=null,o=-1,i=0;for(;r<=n;){i++;let l=r+Math.floor((n-r)/2),s=e[l],u=s.data.start/1e3,c=s.data.end/1e3;u<=t&&c>=t?(a=s,o=l,n=l-1):u>t?n=l-1:r=l+1}return a&&a.data&&a.data.text?((0,m.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:o}):((0,m.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:-1})}function Q(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(n.data.start/1e3<=t&&n.data.end/1e3>=t)return{cue:n,index:r}}return{cue:null,index:-1}}function J(e,t){if(t.length!==e.length)return!1;let r=[];for(let n=0;n<t.length;n++){let a=t[n],o=e[n].translations[0].text,i=a.data.text,l={type:"cue",data:{start:0,end:0,index:0,text:"",zh_text:""}};l.data.start=a.data.start,l.data.end=a.data.end,l.data.index=a.data.index,a.data?.words?.length>0&&(l.data.words=[...a.data.words]),G(i)?(l.data.text=o,l.data.zh_text=i):(l.data.text=i,l.data.zh_text=o),r.push(l)}return r}function ee(e){let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.round(e%60);return t>99?[t,r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":"):[t.toString().padStart(2,"0"),r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function et(e){let t=s.SUBTITLE_FONT_FAMILY;for(let r=0;r<t.length;r++){let n=t[r];if(n.value===e)return n}}function er(e){d.store?.getState()?.odd?.popupShow&&(document?.URL?.includes("youtube.com")&&(37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&e.stopPropagation(),I(e),32!==e.keyCode||e?.target?.id===s.YOUTUBESUBTITLELIST||e?.target?.id==="DraggableDict"||e?.target?.id===s.DRAGGABLESUBTITLELIST||e?.target?.id===s.NEXTJSSUBTITLELIST||e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"||e.preventDefault()),(33===e.keyCode||34===e.keyCode)&&e.preventDefault())}async function en({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavMsg",word:e}});return t?.result?t.result:void 0}async function ea({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavDelMsg",word:e}});return t?.result?t.result:void 0}let eo=(0,v.withPermissionCheck)(ei,"true","\u8bf7\u5f00\u901a\u4f1a\u5458\u540e\u4f7f\u7528\u5212\u8bcd\u8bcd\u5178\u529f\u80fd");async function ei({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"getEcdictredInfo",word:e}});return t?.result?t.result:void 0}async function el(e,t,r,n){try{let a=[];for(let r=0;r<e.length;r+=400){let n=e.slice(r,r+400),o=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"azureTranslate",q:n,target:t}});if(o?.translations&&Array.isArray(o.translations))a.push(...o.translations);else throw console.error("Invalid response format:",o.error),Error(o.error)}if(a?.length>0){let e=J(a,r);e?(await (0,y.sleep)(300),n?(0,c.store).dispatch((0,f.setSubtitleNodes)(e)):(0,c.store).dispatch((0,f.setTTSSubtitleNodes)(e))):((0,l.toast).dismiss(),(0,l.toast).error(chrome.i18n.getMessage("translateDataIsNotPairedContactAdministrator"),{autoClose:18e4}))}else throw Error("Error in getAzureTranslate\uff0ctranslations is empty")}catch(e){(0,l.toast).dismiss(),(0,l.toast).error(`code:${e?.code},message:${e?.message}`,{autoClose:18e4})}}function es(e){let t=e.reduce((e,t)=>{let r=t.locale;return e.has(r)||e.set(r,{value:r,label:r,children:[]}),e.get(r)?.children?.push({value:t.shortName,label:`${t.localName} ${t.localeName} ${1!==t.gender?"Male":"Female"} ${t.wordsPerMinute}`}),e},new Map);return Array.from(t.values())}function eu(e){return w.LANG_MAP[e]||"\u672a\u77e5\u8bed\u79cd"}function ec(e){let t=[],r=X(e),n=0;return r.forEach(e=>{if(e?.data?.text&&e?.data?.text.includes("\n")){let r=e.data.text;e.data.text="";let a=r.split("\n"),o={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};a.forEach(t=>{let r=V(t);G(r)?(o=e).data.zh_text=r:(o=e).data.text=r}),o.data.index=n,t.push(o)}else e.data.index=n,t.push(e);n+=1}),t}function ed(e,t,r){if(t<0||r>=e.length||t>r)throw Error("\u65e0\u6548\u7684\u7d22\u5f15\u8303\u56f4");return e.splice(t,r-t+1),e}function ef({setStoreIndex:e,indexFromFind:t,indexFromStore:r,setPlayThenPauseOrNot:n=!0}){try{t!==r&&-1!==t?(t>=0&&-1===r?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0)),(0,c.store).dispatch(e(t))):t===r&&!1!==(0,c.store).getState().noStorager.playThenPause?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):-1===t&&r>=0?((0,c.store).dispatch(e(-1)),n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0))):-1===t&&t===r&&n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1))}catch(e){(0,g.handleError)({error:e,msgToShow:"contents.storeCore.controlPlayThenPause"})}}function ep(e){let t=e.getBoundingClientRect(),r=document?.documentElement?.scrollTop||document?.body?.scrollTop;return t.top+r}function eh(){let e,t;let r=document.querySelector("#danmukuBox .danmaku-wrap");if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eg(){let e,t;let r=(0,u.queryYoutubeItems)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function em(){let e,t;let r=(0,u.queryBaiduPanRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eb(){let e,t;let r=(0,u.queryRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function ey(e){return"string"!=typeof e?e:e.replace(/^[^a-zA-Z]*(.*?)[^a-zA-Z]*$/,"$1")}},{"react-toastify":"7cUZK","~tools/constants":"DgB7r","~tools/queryVideo":"cTLmP","../redux/storeNoStorage":"20ikG","~redux/store":"gaugC","~redux/no-storage-slice":"jZFan","jwt-decode":"ftkuD","@plasmohq/messaging":"92GyB","./error":"82aS0","~tools/logger":"1qe3F","./storages":"hpDvz","./sleep":"1N71i","./permission":"9ypWX","./constants/lang":"3ofev","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7cUZK":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Bounce",()=>z),n.export(r,"Flip",()=>B),n.export(r,"Icons",()=>A),n.export(r,"Slide",()=>U),n.export(r,"ToastContainer",()=>W),n.export(r,"Zoom",()=>F),n.export(r,"collapseToast",()=>p),n.export(r,"cssTransition",()=>h),n.export(r,"toast",()=>L),n.export(r,"useToast",()=>k),n.export(r,"useToastContainer",()=>_);var a=e("react"),o=n.interopDefault(a),i=e("clsx"),l=n.interopDefault(i);let s=e=>"number"==typeof e&&!isNaN(e),u=e=>"string"==typeof e,c=e=>"function"==typeof e,d=e=>u(e)||c(e)?e:null,f=e=>(0,a.isValidElement)(e)||u(e)||c(e)||s(e);function p(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=n+"px",a.transition=`all ${r}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,r)})})}function h(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(e){let{children:s,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:h,playToast:g}=e,m=n?`${t}--${u}`:t,b=n?`${r}--${u}`:r,y=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let e=f.current,t=m.split(" "),r=n=>{n.target===f.current&&(g(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===y.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,a.useEffect)(()=>{let e=f.current,t=()=>{e.removeEventListener("animationend",t),i?p(e,d,l):d()};h||(c?t():(y.current=1,e.className+=` ${b}`,e.addEventListener("animationend",t)))},[h]),(0,o.default).createElement(o.default.Fragment,null,s)}}function g(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let m=new Map,b=[],y=new Set,v=e=>y.forEach(t=>t(e)),w=()=>m.size>0;function x(e,t){var r;if(t)return!(null==(r=m.get(t))||!r.isToastActive(e));let n=!1;return m.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function S(e,t){f(e)&&(w()||b.push({content:e,options:t}),m.forEach(r=>{r.buildToast(e,t)}))}function E(e,t){m.forEach(r=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===r.id&&r.toggle(e,null==t?void 0:t.id):r.toggle(e,null==t?void 0:t.id)})}function _(e){let{subscribe:t,getSnapshot:r,setProps:n}=(0,a.useRef)(function(e){let t=e.containerId||1;return{subscribe(r){let n=function(e,t,r){let n=1,o=0,i=[],l=[],p=[],h=t,m=new Map,b=new Set,y=()=>{p=Array.from(m.values()),b.forEach(e=>e())},v=e=>{l=null==e?[]:l.filter(t=>t!==e),y()},w=e=>{let{toastId:t,onOpen:n,updateId:o,children:i}=e.props,s=null==o;e.staleId&&m.delete(e.staleId),m.set(t,e),l=[...l,e.props.toastId].filter(t=>t!==e.staleId),y(),r(g(e,s?"added":"updated")),s&&c(n)&&n((0,a.isValidElement)(i)&&i.props)};return{id:e,props:h,observe:e=>(b.add(e),()=>b.delete(e)),toggle:(e,t)=>{m.forEach(r=>{null!=t&&t!==r.props.toastId||c(r.toggle)&&r.toggle(e)})},removeToast:v,toasts:m,clearQueue:()=>{o-=i.length,i=[]},buildToast:(t,l)=>{var p,b;if((t=>{let{containerId:r,toastId:n,updateId:a}=t,o=m.has(n)&&null==a;return(r?r!==e:1!==e)||o})(l))return;let{toastId:x,updateId:S,data:E,staleId:_,delay:k}=l,T=()=>{v(x)},O=null==S;O&&o++;let R={...h,style:h.toastStyle,key:n++,...Object.fromEntries(Object.entries(l).filter(e=>{let[t,r]=e;return null!=r})),toastId:x,updateId:S,data:E,closeToast:T,isIn:!1,className:d(l.className||h.toastClassName),bodyClassName:d(l.bodyClassName||h.bodyClassName),progressClassName:d(l.progressClassName||h.progressClassName),autoClose:!l.isLoading&&(p=l.autoClose,b=h.autoClose,!1===p||s(p)&&p>0?p:b),deleteToast(){let e=m.get(x),{onClose:t,children:n}=e.props;c(t)&&t((0,a.isValidElement)(n)&&n.props),r(g(e,"removed")),m.delete(x),--o<0&&(o=0),i.length>0?w(i.shift()):y()}};R.closeButton=h.closeButton,!1===l.closeButton||f(l.closeButton)?R.closeButton=l.closeButton:!0===l.closeButton&&(R.closeButton=!f(h.closeButton)||h.closeButton);let I=t;(0,a.isValidElement)(t)&&!u(t.type)?I=(0,a.cloneElement)(t,{closeToast:T,toastProps:R,data:E}):c(t)&&(I=t({closeToast:T,toastProps:R,data:E}));let P={content:I,props:R,staleId:_};h.limit&&h.limit>0&&o>h.limit&&O?i.push(P):s(k)?setTimeout(()=>{w(P)},k):w(P)},setProps(e){h=e},setToggle:(e,t)=>{m.get(e).toggle=t},isToastActive:e=>l.some(t=>t===e),getSnapshot:()=>p}}(t,e,v);m.set(t,n);let o=n.observe(r);return b.forEach(e=>S(e.content,e.options)),b=[],()=>{o(),m.delete(t)}},setProps(e){var r;null==(r=m.get(t))||r.setProps(e)},getSnapshot(){var e;return null==(e=m.get(t))?void 0:e.getSnapshot()}}}(e)).current;n(e);let o=(0,a.useSyncExternalStore)(t,r,r);return{getToastToRender:function(t){if(!o)return[];let r=new Map;return e.newestOnTop&&o.reverse(),o.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},isToastActive:x,count:null==o?void 0:o.length}}function k(e){var t,r;let[n,o]=(0,a.useState)(!1),[i,l]=(0,a.useState)(!1),s=(0,a.useRef)(null),u=(0,a.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:h}=e;function g(){o(!0)}function b(){o(!1)}function y(t){let r=s.current;u.canDrag&&r&&(u.didMove=!0,n&&b(),u.delta="x"===e.draggableDirection?t.clientX-u.start:t.clientY-u.start,u.start!==t.clientX&&(u.canCloseOnClick=!1),r.style.transform=`translate3d(${"x"===e.draggableDirection?`${u.delta}px, var(--y)`:`0, calc(${u.delta}px + var(--y))`},0)`,r.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function v(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",v);let t=s.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return l(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(r=m.get((t={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))||r.setToggle(t.id,t.fn),(0,a.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||b(),window.addEventListener("focus",g),window.addEventListener("blur",b),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",b)}},[e.pauseOnFocusLoss]);let w={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",v);let r=s.current;u.canCloseOnClick=!0,u.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(u.start=t.clientX,u.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(u.start=t.clientY,u.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:r,bottom:n,left:a,right:o}=s.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=a&&t.clientX<=o&&t.clientY>=r&&t.clientY<=n?b():g()}};return c&&d&&(w.onMouseEnter=b,e.stacked||(w.onMouseLeave=g)),h&&(w.onClick=e=>{p&&p(e),u.canCloseOnClick&&f()}),{playToast:g,pauseToast:b,isRunning:n,preventExitTransition:i,toastRef:s,eventHandlers:w}}function T(e){let{delay:t,isRunning:r,closeToast:n,type:a="default",hide:i,className:s,style:u,controlledProgress:d,progress:f,rtl:p,isIn:h,theme:g}=e,m=i||d&&0===f,b={...u,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};d&&(b.transform=`scaleX(${f})`);let y=(0,l.default)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":p}),v=c(s)?s({rtl:p,type:a,defaultClassName:y}):(0,l.default)(y,s);return(0,o.default).createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":m},(0,o.default).createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${a}`}),(0,o.default).createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:v,style:b,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{h&&n()}}))}let O=1,R=()=>""+O++;function I(e,t){return S(e,t),t.toastId}function P(e,t){return{...t,type:t&&t.type||e,toastId:t&&(u(t.toastId)||s(t.toastId))?t.toastId:R()}}function C(e){return(t,r)=>I(t,P(e,r))}function L(e,t){return I(e,P("default",t))}L.loading=(e,t)=>I(e,P("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),L.promise=function(e,t,r){let n,{pending:a,error:o,success:i}=t;a&&(n=u(a)?L.loading(a,r):L.loading(a.render,{...r,...a}));let l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(e,t,a)=>{if(null==t)return void L.dismiss(n);let o={type:e,...l,...r,data:a},i=u(t)?{render:t}:t;return n?L.update(n,{...o,...i}):L(i.render,{...o,...i}),a},d=c(e)?e():e;return d.then(e=>s("success",i,e)).catch(e=>s("error",o,e)),d},L.success=C("success"),L.info=C("info"),L.error=C("error"),L.warning=C("warning"),L.warn=L.warning,L.dark=(e,t)=>I(e,P("default",{theme:"dark",...t})),L.dismiss=function(e){!function(e){var t;if(w()){if(null==e||u(t=e)||s(t))m.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=m.get(e.containerId);t?t.removeToast(e.id):m.forEach(t=>{t.removeToast(e.id)})}}else b=b.filter(t=>null!=e&&t.options.toastId!==e)}(e)},L.clearWaitingQueue=function(e){void 0===e&&(e={}),m.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},L.isActive=x,L.update=function(e,t){void 0===t&&(t={});let r=((e,t)=>{var r;let{containerId:n}=t;return null==(r=m.get(n||1))?void 0:r.toasts.get(e)})(e,t);if(r){let{props:n,content:a}=r,o={delay:100,...n,...t,toastId:t.toastId||e,updateId:R()};o.toastId!==e&&(o.staleId=e);let i=o.render||a;delete o.render,I(i,o)}},L.done=e=>{L.update(e,{progress:1})},L.onChange=function(e){return y.add(e),()=>{y.delete(e)}},L.play=e=>E(!0,e),L.pause=e=>E(!1,e);let j="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,D=e=>{let{theme:t,type:r,isLoading:n,...a}=e;return(0,o.default).createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...a})},A={info:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return(0,o.default).createElement(D,{...e},(0,o.default).createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,o.default).createElement("div",{className:"Toastify__spinner"})}},N=e=>{let{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:i,playToast:s}=k(e),{closeButton:u,children:d,autoClose:f,onClick:p,type:h,hideProgressBar:g,closeToast:m,transition:b,position:y,className:v,style:w,bodyClassName:x,bodyStyle:S,progressClassName:E,progressStyle:_,updateId:O,role:R,progress:I,rtl:P,toastId:C,deleteToast:L,isIn:j,isLoading:D,closeOnClick:N,theme:M}=e,z=(0,l.default)("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":N}),U=c(v)?v({rtl:P,position:y,type:h,defaultClassName:z}):(0,l.default)(z,v),F=function(e){let{theme:t,type:r,isLoading:n,icon:o}=e,i=null,l={theme:t,type:r};return!1===o||(c(o)?i=o({...l,isLoading:n}):(0,a.isValidElement)(o)?i=(0,a.cloneElement)(o,l):n?i=A.spinner():r in A&&(i=A[r](l))),i}(e),B=!!I||!f,H={closeToast:m,type:h,theme:M},W=null;return!1===u||(W=c(u)?u(H):(0,a.isValidElement)(u)?(0,a.cloneElement)(u,H):function(e){let{closeToast:t,theme:r,ariaLabel:n="close"}=e;return(0,o.default).createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":n},(0,o.default).createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,o.default).createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(H)),(0,o.default).createElement(b,{isIn:j,done:L,position:y,preventExitTransition:r,nodeRef:n,playToast:s},(0,o.default).createElement("div",{id:C,onClick:p,"data-in":j,className:U,...i,style:w,ref:n},(0,o.default).createElement("div",{...j&&{role:R},className:c(x)?x({type:h}):(0,l.default)("Toastify__toast-body",x),style:S},null!=F&&(0,o.default).createElement("div",{className:(0,l.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!D})},F),(0,o.default).createElement("div",null,d)),W,(0,o.default).createElement(T,{...O&&!B?{key:`pb-${O}`}:{},rtl:P,theme:M,delay:f,isRunning:t,isIn:j,closeToast:m,hide:g,type:h,style:_,className:E,controlledProgress:B,progress:I||0})))},M=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},z=h(M("bounce",!0)),U=h(M("slide",!0)),F=h(M("zoom")),B=h(M("flip")),H={position:"top-right",transition:z,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function W(e){let t={...H,...e},r=e.stacked,[n,i]=(0,a.useState)(!0),s=(0,a.useRef)(null),{getToastToRender:u,isToastActive:f,count:p}=_(t),{className:h,style:g,rtl:m,containerId:b}=t;function y(){r&&(i(!0),L.play())}return j(()=>{if(r){var e;let r=s.current.querySelectorAll('[data-in="true"]'),a=null==(e=t.position)?void 0:e.includes("top"),o=0,i=0;Array.from(r).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${n}`),e.dataset.pos||(e.dataset.pos=a?"top":"bot");let r=o*(n?.2:1)+(n?0:12*t);e.style.setProperty("--y",`${a?r:-1*r}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",""+(1-(n?i:0))),o+=e.offsetHeight,i+=.025})}},[n,p,r]),(0,o.default).createElement("div",{ref:s,className:"Toastify",id:b,onMouseEnter:()=>{r&&(i(!1),L.pause())},onMouseLeave:y},u((e,t)=>{let n=t.length?{...g}:{...g,pointerEvents:"none"};return(0,o.default).createElement("div",{className:function(e){let t=(0,l.default)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return c(h)?h({position:e,rtl:m,defaultClassName:t}):(0,l.default)(t,d(h))}(e),style:n,key:`container-${e}`},t.map(e=>{let{content:t,props:n}=e;return(0,o.default).createElement(N,{...n,stacked:r,collapseAll:y,isIn:f(n.toastId,n.containerId),style:n.style,key:`toast-${n.key}`},t)}))}))}},{react:"329PG",clsx:"jgTfo","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jgTfo:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(n&&(n+=" "),n+=t);return n}n.defineInteropFlag(r),n.export(r,"clsx",()=>a),r.default=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"20ikG":[function(e,t,r){let n;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"store",()=>n),a.export(r,"isStoreReady",()=>f),a.export(r,"storeReady",()=>p),a.export(r,"MyContext",()=>h),a.export(r,"useAppDispatch",()=>b),a.export(r,"useAppSelector",()=>y);var o=e("@reduxjs/toolkit"),i=e("./no-storage-slice"),l=a.interopDefault(i),s=e("react"),u=a.interopDefault(s),c=e("react-redux");let d={isReady:!1};try{(n=(0,o.configureStore)({reducer:{noStorager:l.default,readiness:(e=d,t)=>"STORE_READY"===t.type?{...e,isReady:!0}:e},middleware:e=>e({thunk:!1})})).dispatch({type:"STORE_READY"})}catch(e){console.error("Critical: Store initialization failed",e)}let f=e=>e.readiness.isReady,p=new Promise(e=>{if(n?.getState()?.readiness?.isReady){e();return}let t=n.subscribe(()=>{f(n.getState())&&(t(),e())})}),h=(0,u.default).createContext(null),g=(0,c.createDispatchHook)(h),m=(0,c.createSelectorHook)(h),b=g,y=m},{"@reduxjs/toolkit":"59iT9","./no-storage-slice":"jZFan",react:"329PG","react-redux":"lWScv","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"59iT9":[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"ReducerType",()=>el),a.export(r,"SHOULD_AUTOBATCH",()=>M),a.export(r,"TaskAbortError",()=>eT),a.export(r,"Tuple",()=>I),a.export(r,"addListener",()=>eY),a.export(r,"asyncThunkCreator",()=>ei),a.export(r,"autoBatchEnhancer",()=>F),a.export(r,"buildCreateSlice",()=>es),a.export(r,"clearAllListeners",()=>eK),a.export(r,"combineSlices",()=>tt),a.export(r,"configureStore",()=>H),a.export(r,"createAction",()=>_),a.export(r,"createActionCreatorInvariantMiddleware",()=>R),a.export(r,"createAsyncThunk",()=>en),a.export(r,"createDraftSafeSelector",()=>x),a.export(r,"createDraftSafeSelectorCreator",()=>w),a.export(r,"createDynamicMiddleware",()=>e1),a.export(r,"createEntityAdapter",()=>ey),a.export(r,"createImmutableStateInvariantMiddleware",()=>j),a.export(r,"createListenerMiddleware",()=>eQ),a.export(r,"createNextState",()=>i.produce),a.export(r,"createReducer",()=>G),a.export(r,"createSelector",()=>l.createSelector),a.export(r,"createSelectorCreator",()=>l.createSelectorCreator),a.export(r,"createSerializableStateInvariantMiddleware",()=>A),a.export(r,"createSlice",()=>eu),a.export(r,"current",()=>i.current),a.export(r,"findNonSerializableValue",()=>function e(t,r="",n=D,a,o=[],i){let l;if(!n(t))return{keyPath:r||"<root>",value:t};if("object"!=typeof t||null===t||(null==i?void 0:i.has(t)))return!1;let s=null!=a?a(t):Object.entries(t),u=o.length>0;for(let[t,c]of s){let s=r?r+"."+t:t;if(u){let e=o.some(e=>e instanceof RegExp?e.test(s):s===e);if(e)continue}if(!n(c))return{keyPath:s,value:c};if("object"==typeof c&&(l=e(c,s,n,a,o,i)))return l}return i&&function e(t){if(!Object.isFrozen(t))return!1;for(let r of Object.values(t))if("object"==typeof r&&null!==r&&!e(r))return!1;return!0}(t)&&i.add(t),!1}),a.export(r,"formatProdErrorMessage",()=>tr),a.export(r,"freeze",()=>i.freeze),a.export(r,"isActionCreator",()=>k),a.export(r,"isAllOf",()=>q),a.export(r,"isAnyOf",()=>$),a.export(r,"isAsyncThunkAction",()=>function e(...t){return 0===t.length?e=>Y(e,["pending","fulfilled","rejected"]):K(t)?$(...t.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):e()(t[0])}),a.export(r,"isDraft",()=>i.isDraft),a.export(r,"isFluxStandardAction",()=>T),a.export(r,"isFulfilled",()=>function e(...t){return 0===t.length?e=>Y(e,["fulfilled"]):K(t)?$(...t.map(e=>e.fulfilled)):e()(t[0])}),a.export(r,"isImmutableDefault",()=>L),a.export(r,"isPending",()=>function e(...t){return 0===t.length?e=>Y(e,["pending"]):K(t)?$(...t.map(e=>e.pending)):e()(t[0])}),a.export(r,"isPlain",()=>D),a.export(r,"isRejected",()=>X),a.export(r,"isRejectedWithValue",()=>function e(...t){let r=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===t.length?q(X(...t),r):K(t)?q(X(...t),r):e()(t[0])}),a.export(r,"lruMemoize",()=>l.lruMemoize),a.export(r,"miniSerializeError",()=>et),a.export(r,"nanoid",()=>Z),a.export(r,"original",()=>i.original),a.export(r,"prepareAutoBatched",()=>z),a.export(r,"removeListener",()=>eX),a.export(r,"unwrapResult",()=>ea),a.export(r,"weakMapMemoize",()=>l.weakMapMemoize);var o=e("redux");a.exportAll(o,r);var i=e("immer"),l=e("reselect"),s=e("redux-thunk");e("d6c2ce6df8bac3b7");var u=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&g(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&g(e,r,t[r]);return e},b=(e,t)=>c(e,d(t)),y=(e,t)=>{var r={};for(var n in e)p.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&f)for(var n of f(e))0>t.indexOf(n)&&h.call(e,n)&&(r[n]=e[n]);return r},v=(e,t,r)=>g(e,"symbol"!=typeof t?t+"":t,r),w=(...e)=>{let t=(0,l.createSelectorCreator)(...e),r=Object.assign((...e)=>{let r=t(...e),n=(e,...t)=>r((0,i.isDraft)(e)?(0,i.current)(e):e,...t);return Object.assign(n,r),n},{withTypes:()=>r});return r},x=w(l.weakMapMemoize),S="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?o.compose:(0,o.compose).apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var E=e=>e&&"function"==typeof e.match;function _(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(tr(0));return m(m({type:e,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>(0,o.isAction)(t)&&t.type===e,r}function k(e){return"function"==typeof e&&"type"in e&&E(e)}function T(e){return(0,o.isAction)(e)&&Object.keys(e).every(O)}function O(e){return["type","payload","error","meta"].indexOf(e)>-1}function R(e={}){return()=>e=>t=>e(t)}var I=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function P(e){return(0,i.isDraftable)(e)?(0,i.produce)(e,()=>{}):e}function C(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function L(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function j(e={}){return()=>e=>t=>e(t)}function D(e){let t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||(0,o.isPlainObject)(e)}function A(e={}){return()=>e=>t=>e(t)}var N=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:a=!0}=null!=e?e:{},o=new I;return t&&("boolean"==typeof t?o.push(s.thunk):o.push((0,s.withExtraArgument)(t.extraArgument))),o},M="RTK_autoBatch",z=()=>e=>({payload:e,meta:{[M]:!0}}),U=e=>t=>{setTimeout(t,e)},F=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),a=!0,o=!1,i=!1,l=new Set,s="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:U(10):"callback"===e.type?e.queueNotification:U(e.timeout),u=()=>{i=!1,o&&(o=!1,l.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>a&&e());return l.add(e),()=>{t(),l.delete(e)}},dispatch(e){var t;try{return(o=!(a=!(null==(t=null==e?void 0:e.meta)?void 0:t[M])))&&!i&&(i=!0,s(u)),n.dispatch(e)}finally{a=!0}}})},B=e=>function(t){let{autoBatch:r=!0}=null!=t?t:{},n=new I(e);return r&&n.push(F("object"==typeof r?r:void 0)),n};function H(e){let t,r;let n=N(),{reducer:a,middleware:i,devTools:l=!0,duplicateMiddlewareCheck:s=!0,preloadedState:u,enhancers:c}=e||{};if("function"==typeof a)t=a;else if((0,o.isPlainObject)(a))t=(0,o.combineReducers)(a);else throw Error(tr(1));r="function"==typeof i?i(n):n();let d=o.compose;l&&(d=S(m({trace:!1},"object"==typeof l&&l)));let f=(0,o.applyMiddleware)(...r),p=B(f),h="function"==typeof c?c(p):p(),g=d(...h);return(0,o.createStore)(t,u,g)}function W(e){let t;let r={},n=[],a={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(tr(28));if(n in r)throw Error(tr(29));return r[n]=t,a},addAsyncThunk:(e,t)=>(t.pending&&(r[e.pending.type]=t.pending),t.rejected&&(r[e.rejected.type]=t.rejected),t.fulfilled&&(r[e.fulfilled.type]=t.fulfilled),t.settled&&n.push({matcher:e.settled,reducer:t.settled}),a),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),a),addDefaultCase:e=>(t=e,a)};return e(a),[r,n,t]}function G(e,t){let r,[n,a,o]=W(t);if("function"==typeof e)r=()=>P(e());else{let t=P(e);r=()=>t}function l(e=r(),t){let l=[n[t.type],...a.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===l.filter(e=>!!e).length&&(l=[o]),l.reduce((e,r)=>{if(r){if((0,i.isDraft)(e)){let n=r(e,t);return void 0===n?e:n}if((0,i.isDraftable)(e))return(0,i.produce)(e,e=>r(e,t));{let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return l.getInitialState=r,l}var V=(e,t)=>E(e)?e.match(t):e(t);function $(...e){return t=>e.some(e=>V(e,t))}function q(...e){return t=>e.every(e=>V(e,t))}function Y(e,t){if(!e||!e.meta)return!1;let r="string"==typeof e.meta.requestId,n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function K(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function X(...e){return 0===e.length?e=>Y(e,["rejected"]):K(e)?$(...e.map(e=>e.rejected)):X()(e[0])}var Z=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Q=["name","message","stack","code"],J=class{constructor(e,t){this.payload=e,this.meta=t,v(this,"_type")}},ee=class{constructor(e,t){this.payload=e,this.meta=t,v(this,"_type")}},et=e=>{if("object"==typeof e&&null!==e){let t={};for(let r of Q)"string"==typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},er="External signal was aborted",en=(()=>{function e(e,t,r){let n=_(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:b(m({},n||{}),{arg:r,requestId:t,requestStatus:"fulfilled"})})),a=_(e+"/pending",(e,t,r)=>({payload:void 0,meta:b(m({},r||{}),{arg:t,requestId:e,requestStatus:"pending"})})),o=_(e+"/rejected",(e,t,n,a,o)=>({payload:a,error:(r&&r.serializeError||et)(e||"Rejected"),meta:b(m({},o||{}),{arg:n,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:(null==e?void 0:e.name)==="AbortError",condition:(null==e?void 0:e.name)==="ConditionError"})}));return Object.assign(function(e,{signal:i}={}){return(l,s,u)=>{let c,d;let f=(null==r?void 0:r.idGenerator)?r.idGenerator(e):Z(),p=new AbortController;function h(e){d=e,p.abort()}i&&(i.aborted?h(er):i.addEventListener("abort",()=>h(er),{once:!0}));let g=async function(){var i,g,m;let b;try{let o=null==(i=null==r?void 0:r.condition)?void 0:i.call(r,e,{getState:s,extra:u});if(m=o,null!==m&&"object"==typeof m&&"function"==typeof m.then&&(o=await o),!1===o||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let y=new Promise((e,t)=>{c=()=>{t({name:"AbortError",message:d||"Aborted"})},p.signal.addEventListener("abort",c)});l(a(f,e,null==(g=null==r?void 0:r.getPendingMeta)?void 0:g.call(r,{requestId:f,arg:e},{getState:s,extra:u}))),b=await Promise.race([y,Promise.resolve(t(e,{dispatch:l,getState:s,extra:u,requestId:f,signal:p.signal,abort:h,rejectWithValue:(e,t)=>new J(e,t),fulfillWithValue:(e,t)=>new ee(e,t)})).then(t=>{if(t instanceof J)throw t;return t instanceof ee?n(t.payload,f,e,t.meta):n(t,f,e)})])}catch(t){b=t instanceof J?o(null,f,e,t.payload,t.meta):o(t,f,e)}finally{c&&p.signal.removeEventListener("abort",c)}let y=r&&!r.dispatchConditionRejection&&o.match(b)&&b.meta.condition;return y||l(b),b}();return Object.assign(g,{abort:h,requestId:f,arg:e,unwrap:()=>g.then(ea)})}},{pending:a,rejected:o,fulfilled:n,settled:$(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function ea(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var eo=Symbol.for("rtk-slice-createasyncthunk"),ei={[eo]:en},el=((n=el||{}).reducer="reducer",n.reducerWithPrepare="reducerWithPrepare",n.asyncThunk="asyncThunk",n);function es({creators:e}={}){var t;let r=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[eo];return function(e){let t;let{name:n,reducerPath:a=n}=e;if(!n)throw Error(tr(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return m({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(tr(12));if(r in l.sliceCaseReducersByType)throw Error(tr(13));return l.sliceCaseReducersByType[r]=t,s},addMatcher:(e,t)=>(l.sliceMatchers.push({matcher:e,reducer:t}),s),exposeAction:(e,t)=>(l.actionCreators[e]=t,s),exposeCaseReducer:(e,t)=>(l.sliceCaseReducersByName[e]=t,s)};function u(){let[t={},r=[],n]="function"==typeof e.extraReducers?W(e.extraReducers):[e.extraReducers],a=m(m({},t),l.sliceCaseReducersByType);return G(e.initialState,e=>{for(let t in a)e.addCase(t,a[t]);for(let t of l.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}i.forEach(t=>{let a=o[t],i={reducerName:t,type:`${n}/${t}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===a._reducerDefinitionType?function({type:e,reducerName:t},r,n,a){if(!a)throw Error(tr(18));let{payloadCreator:o,fulfilled:i,pending:l,rejected:s,settled:u,options:c}=r,d=a(e,o,c);n.exposeAction(t,d),i&&n.addCase(d.fulfilled,i),l&&n.addCase(d.pending,l),s&&n.addCase(d.rejected,s),u&&n.addMatcher(d.settled,u),n.exposeCaseReducer(t,{fulfilled:i||ec,pending:l||ec,rejected:s||ec,settled:u||ec})}(i,a,s,r):function({type:e,reducerName:t,createNotation:r},n,a){let o,i;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(tr(17));o=n.reducer,i=n.prepare}else o=n;a.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,i?_(e,i):_(e))}(i,a,s)});let c=e=>e,d=new Map,f=new WeakMap;function p(e,r){return t||(t=u()),t(e,r)}function h(){return t||(t=u()),t.getInitialState()}function g(t,r=!1){function n(e){let a=e[t];return void 0===a&&r&&(a=C(f,n,h)),a}function a(t=c){let n=C(d,r,()=>new WeakMap);return C(n,t,()=>{var n;let a={};for(let[o,i]of Object.entries(null!=(n=e.selectors)?n:{}))a[o]=function(e,t,r,n){function a(o,...i){let l=t(o);return void 0===l&&n&&(l=r()),e(l,...i)}return a.unwrapped=e,a}(i,t,()=>C(f,t,h),r);return a})}return{reducerPath:t,getSelectors:a,get selectors(){return a(n)},selectSlice:n}}let v=b(m({name:n,reducer:p,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:h},g(a)),{injectInto(e,t={}){var{reducerPath:r}=t,n=y(t,["reducerPath"]);let o=null!=r?r:a;return e.inject({reducerPath:o,reducer:p},n),m(m({},v),g(o,!0))}});return v}}var eu=es();function ec(){}var ed=i.isDraft;function ef(e){return function(t,r){let n=t=>{T(r)?e(r.payload,t):e(r,t)};return ed(t)?(n(t),t):(0,i.produce)(t,n)}}function ep(e,t){let r=t(e);return r}function eh(e){return Array.isArray(e)||(e=Object.values(e)),e}function eg(e){return(0,i.isDraft)(e)?(0,i.current)(e):e}function em(e,t,r){e=eh(e);let n=eg(r.ids),a=new Set(n),o=[],i=new Set([]),l=[];for(let r of e){let e=ep(r,t);a.has(e)||i.has(e)?l.push({id:e,changes:r}):(i.add(e),o.push(r))}return[o,l,n]}function eb(e){function t(t,r){let n=ep(t,e);n in r.entities||(r.ids.push(n),r.entities[n]=t)}function r(e,r){for(let n of e=eh(e))t(n,r)}function n(t,r){let n=ep(t,e);n in r.entities||r.ids.push(n),r.entities[n]=t}function a(e,t){let r=!1;e.forEach(e=>{e in t.entities&&(delete t.entities[e],r=!0)}),r&&(t.ids=t.ids.filter(e=>e in t.entities))}function o(t,r){let n={},a={};t.forEach(e=>{var t;e.id in r.entities&&(a[e.id]={id:e.id,changes:m(m({},null==(t=a[e.id])?void 0:t.changes),e.changes)})}),t=Object.values(a);let o=t.length>0;if(o){let a=t.filter(t=>(function(t,r,n){let a=n.entities[r.id];if(void 0===a)return!1;let o=Object.assign({},a,r.changes),i=ep(o,e),l=i!==r.id;return l&&(t[r.id]=i,delete n.entities[r.id]),n.entities[i]=o,l})(n,t,r)).length>0;a&&(r.ids=Object.values(r.entities).map(t=>ep(t,e)))}}function i(t,n){let[a,i]=em(t,e,n);r(a,n),o(i,n)}return{removeAll:function(e){let t=ef((t,r)=>e(r));return function(e){return t(e,void 0)}}(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:ef(t),addMany:ef(r),setOne:ef(n),setMany:ef(function(e,t){for(let r of e=eh(e))n(r,t)}),setAll:ef(function(e,t){e=eh(e),t.ids=[],t.entities={},r(e,t)}),updateOne:ef(function(e,t){return o([e],t)}),updateMany:ef(o),upsertOne:ef(function(e,t){return i([e],t)}),upsertMany:ef(i),removeOne:ef(function(e,t){return a([e],t)}),removeMany:ef(a)}}function ey(e={}){let{selectId:t,sortComparer:r}=m({sortComparer:!1,selectId:e=>e.id},e),n=r?function(e,t){let{removeOne:r,removeMany:n,removeAll:a}=eb(e);function o(t,r,n){t=eh(t);let a=new Set(null!=n?n:eg(r.ids)),o=t.filter(t=>!a.has(ep(t,e)));0!==o.length&&u(r,o)}function i(t,r){if(0!==(t=eh(t)).length){for(let n of t)delete r.entities[e(n)];u(r,t)}}function l(t,r){let n=!1,a=!1;for(let o of t){let t=r.entities[o.id];if(!t)continue;n=!0,Object.assign(t,o.changes);let i=e(t);if(o.id!==i){a=!0,delete r.entities[o.id];let e=r.ids.indexOf(o.id);r.ids[e]=i,r.entities[i]=t}}n&&u(r,[],n,a)}function s(t,r){let[n,a,i]=em(t,e,r);n.length&&o(n,r,i),a.length&&l(a,r)}let u=(r,n,a,o)=>{let i=eg(r.entities),l=eg(r.ids),s=r.entities,u=l;o&&(u=new Set(l));let c=[];for(let e of u){let t=i[e];t&&c.push(t)}let d=0===c.length;for(let r of n)s[e(r)]=r,d||function(e,t,r){let n=function(e,t,r){let n=0,a=e.length;for(;n<a;){let o=n+a>>>1,i=e[o],l=r(t,i);l>=0?n=o+1:a=o}return n}(e,t,r);e.splice(n,0,t)}(c,r,t);d?c=n.slice().sort(t):a&&c.sort(t);let f=c.map(e);!function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(l,f)&&(r.ids=f)};return{removeOne:r,removeMany:n,removeAll:a,addOne:ef(function(e,t){return o([e],t)}),updateOne:ef(function(e,t){return l([e],t)}),upsertOne:ef(function(e,t){return s([e],t)}),setOne:ef(function(e,t){return i([e],t)}),setMany:ef(i),setAll:ef(function(e,t){e=eh(e),t.entities={},t.ids=[],o(e,t,[])}),addMany:ef(o),updateMany:ef(l),upsertMany:ef(s)}}(t,r):eb(t);return m(m(m({selectId:t,sortComparer:r},{getInitialState:function(e={},t){let r=Object.assign({ids:[],entities:{}},e);return t?n.setAll(r,t):r}}),{getSelectors:function(e,t={}){let{createSelector:r=x}=t,n=e=>e.ids,a=e=>e.entities,o=r(n,a,(e,t)=>e.map(e=>t[e])),i=(e,t)=>t,l=(e,t)=>e[t],s=r(n,e=>e.length);if(!e)return{selectIds:n,selectEntities:a,selectAll:o,selectTotal:s,selectById:r(a,i,l)};let u=r(e,a);return{selectIds:r(e,n),selectEntities:u,selectAll:r(e,o),selectTotal:r(e,s),selectById:r(u,i,l)}}}),n)}var ev="listener",ew="completed",ex="cancelled",eS=`task-${ex}`,eE=`task-${ew}`,e_=`${ev}-${ex}`,ek=`${ev}-${ew}`,eT=class{constructor(e){this.code=e,v(this,"name","TaskAbortError"),v(this,"message"),this.message=`task ${ex} (reason: ${e})`}},eO=(e,t)=>{if("function"!=typeof e)throw TypeError(tr(32))},eR=()=>{},eI=(e,t=eR)=>(e.catch(t),e),eP=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),eC=(e,t)=>{let r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},eL=e=>{if(e.aborted){let{reason:t}=e;throw new eT(t)}};function ej(e,t){let r=eR;return new Promise((n,a)=>{let o=()=>a(new eT(e.reason));if(e.aborted){o();return}r=eP(e,o),t.finally(()=>r()).then(n,a)}).finally(()=>{r=eR})}var eD=async(e,t)=>{try{await Promise.resolve();let t=await e();return{status:"ok",value:t}}catch(e){return{status:e instanceof eT?"cancelled":"rejected",error:e}}finally{null==t||t()}},eA=e=>t=>eI(ej(e,t).then(t=>(eL(e),t))),eN=e=>{let t=eA(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:eM}=Object,ez={},eU="listenerMiddleware",eF=(e,t)=>{let r=t=>eP(e,()=>eC(t,e.reason));return(n,a)=>{eO(n,"taskExecutor");let o=new AbortController;r(o);let i=eD(async()=>{eL(e),eL(o.signal);let t=await n({pause:eA(o.signal),delay:eN(o.signal),signal:o.signal});return eL(o.signal),t},()=>eC(o,eE));return(null==a?void 0:a.autoJoin)&&t.push(i.catch(eR)),{result:eA(e)(i),cancel(){eC(o,eS)}}}},eB=(e,t)=>{let r=async(r,n)=>{eL(t);let a=()=>{},o=new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});a=()=>{o(),n()}}),i=[o];null!=n&&i.push(new Promise(e=>setTimeout(e,n,null)));try{let e=await ej(t,Promise.race(i));return eL(t),e}finally{a()}};return(e,t)=>eI(r(e,t))},eH=e=>{let{type:t,actionCreator:r,matcher:n,predicate:a,effect:o}=e;if(t)a=_(t).match;else if(r)t=r.type,a=r.match;else if(n)a=n;else if(a);else throw Error(tr(21));return eO(o,"options.listener"),{predicate:a,type:t,effect:o}},eW=eM(e=>{let{type:t,predicate:r,effect:n}=eH(e),a={id:Z(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(tr(22))}};return a},{withTypes:()=>eW}),eG=(e,t)=>{let{type:r,effect:n,predicate:a}=eH(t);return Array.from(e.values()).find(e=>{let t="string"==typeof r?e.type===r:e.predicate===a;return t&&e.effect===n})},eV=e=>{e.pending.forEach(e=>{eC(e,e_)})},e$=e=>()=>{e.forEach(eV),e.clear()},eq=(e,t,r)=>{try{e(t,r)}catch(e){setTimeout(()=>{throw e},0)}},eY=eM(_(`${eU}/add`),{withTypes:()=>eY}),eK=_(`${eU}/removeAll`),eX=eM(_(`${eU}/remove`),{withTypes:()=>eX}),eZ=(...e)=>{console.error(`${eU}/error`,...e)},eQ=(e={})=>{let t=new Map,{extra:r,onError:n=eZ}=e;eO(n,"onError");let a=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),(null==t?void 0:t.cancelActive)&&eV(e)}),i=e=>{var r;let n=null!=(r=eG(t,e))?r:eW(e);return a(n)};eM(i,{withTypes:()=>i});let l=e=>{let r=eG(t,e);return r&&(r.unsubscribe(),e.cancelActive&&eV(r)),!!r};eM(l,{withTypes:()=>l});let s=async(e,a,o,l)=>{let s=new AbortController,u=eB(i,s.signal),c=[];try{e.pending.add(s),await Promise.resolve(e.effect(a,eM({},o,{getOriginalState:l,condition:(e,t)=>u(e,t).then(Boolean),take:u,delay:eN(s.signal),pause:eA(s.signal),extra:r,signal:s.signal,fork:eF(s.signal,c),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==s&&(eC(e,e_),r.delete(e))})},cancel:()=>{eC(s,e_),e.pending.delete(s)},throwIfCancelled:()=>{eL(s.signal)}})))}catch(e){e instanceof eT||eq(n,e,{raisedBy:"effect"})}finally{await Promise.all(c),eC(s,ek),e.pending.delete(s)}},u=e$(t);return{middleware:e=>r=>a=>{let c;if(!(0,o.isAction)(a))return r(a);if(eY.match(a))return i(a.payload);if(eK.match(a)){u();return}if(eX.match(a))return l(a.payload);let d=e.getState(),f=()=>{if(d===ez)throw Error(tr(23));return d};try{if(c=r(a),t.size>0){let r=e.getState(),o=Array.from(t.values());for(let t of o){let o=!1;try{o=t.predicate(a,r,d)}catch(e){o=!1,eq(n,e,{raisedBy:"predicate"})}o&&s(t,a,e,f)}}}finally{d=ez}return c},startListening:i,stopListening:l,clearListeners:u}},eJ=e=>({middleware:e,applied:new Map}),e0=e=>t=>{var r;return(null==(r=null==t?void 0:t.meta)?void 0:r.instanceId)===e},e1=()=>{let e=Z(),t=new Map,r=Object.assign(_("dynamicMiddleware/add",(...t)=>({payload:t,meta:{instanceId:e}})),{withTypes:()=>r}),n=Object.assign(function(...e){e.forEach(e=>{C(t,e,eJ)})},{withTypes:()=>n}),a=e=>{let r=Array.from(t.values()).map(t=>C(t.applied,e,t.middleware));return(0,o.compose)(...r)},i=q(r,e0(e));return{middleware:e=>t=>r=>i(r)?(n(...r.payload),e.dispatch):a(e)(t)(r),addMiddleware:n,withMiddleware:r,instanceId:e}},e2=e=>"reducerPath"in e&&"string"==typeof e.reducerPath,e3=e=>e.flatMap(e=>e2(e)?[[e.reducerPath,e.reducer]]:Object.entries(e)),e4=Symbol.for("rtk-state-proxy-original"),e5=e=>!!e&&!!e[e4],e8=new WeakMap,e6=(e,t,r)=>C(e8,e,()=>new Proxy(e,{get:(e,n,a)=>{if(n===e4)return e;let o=Reflect.get(e,n,a);if(void 0===o){let e=r[n];if(void 0!==e)return e;let a=t[n];if(a){let e=a(void 0,{type:Z()});if(void 0===e)throw Error(tr(24));return r[n]=e,e}}return o}})),e9=e=>{if(!e5(e))throw Error(tr(25));return e[e4]},e7={},te=(e=e7)=>e;function tt(...e){let t=Object.fromEntries(e3(e)),r=()=>Object.keys(t).length?(0,o.combineReducers)(t):te,n=r();function a(e,t){return n(e,t)}a.withLazyLoadedSlices=()=>a;let i={},l=Object.assign(function(e,r){return function(n,...a){return e(e6(r?r(n,...a):n,t,i),...a)}},{original:e9});return Object.assign(a,{inject:(e,o={})=>{let{reducerPath:l,reducer:s}=e,u=t[l];return!o.overrideExisting&&u&&u!==s||(o.overrideExisting&&u!==s&&delete i[l],t[l]=s,n=r()),a},selector:l})}function tr(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},{d6c2ce6df8bac3b7:"7bs1J",redux:"6SUHM",immer:"cTbM8",reselect:"25ILf","redux-thunk":"1xIC4","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7bs1J":[function(e,t,r){var n,a,o,i,l=Object.create,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))f.call(e,a)||a===r||s(e,a,{get:()=>t[a],enumerable:!(n=u(t,a))||n.enumerable});return e},h=(e,t,r)=>(r=null!=e?l(d(e)):{},p(!t&&e&&e.__esModule?r:s(r,"default",{value:e,enumerable:!0}),e)),g=(n=(e,t)=>{var r,n,a=t.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,u=[],c=!1,d=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=l(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++d<t;)s&&s[d].run();d=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},()=>(a||n((a={exports:{}}).exports,a),a.exports)),m={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(m,{default:()=>y}),t.exports=p(s({},"__esModule",{value:!0}),m);var b=h(g());o=h(g()),i=t.exports,p(m,o,"default"),i&&p(i,o,"default");var y=b.default},{}],"6SUHM":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.defineInteropFlag(r),n.export(r,"__DO_NOT_USE__ActionTypes",()=>l),n.export(r,"applyMiddleware",()=>g),n.export(r,"bindActionCreators",()=>p),n.export(r,"combineReducers",()=>d),n.export(r,"compose",()=>h),n.export(r,"createStore",()=>u),n.export(r,"isAction",()=>m),n.export(r,"isPlainObject",()=>s),n.export(r,"legacy_createStore",()=>c);var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=()=>Math.random().toString(36).substring(7).split("").join("."),l={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function s(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function u(e,t,r){if("function"!=typeof e)throw Error(a(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(a(1));return r(u)(e,t)}let n=e,i=t,c=new Map,d=c,f=0,p=!1;function h(){d===c&&(d=new Map,c.forEach((e,t)=>{d.set(t,e)}))}function g(){if(p)throw Error(a(3));return i}function m(e){if("function"!=typeof e)throw Error(a(4));if(p)throw Error(a(5));let t=!0;h();let r=f++;return d.set(r,e),function(){if(t){if(p)throw Error(a(6));t=!1,h(),d.delete(r),c=null}}}function b(e){if(!s(e))throw Error(a(7));if(void 0===e.type)throw Error(a(8));if("string"!=typeof e.type)throw Error(a(17));if(p)throw Error(a(9));try{p=!0,i=n(i,e)}finally{p=!1}let t=c=d;return t.forEach(e=>{e()}),e}return b({type:l.INIT}),{dispatch:b,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));n=e,b({type:l.REPLACE})},[o]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(g())}t();let r=m(t);return{unsubscribe:r}},[o](){return this}}}}}function c(e,t,r){return u(e,t,r)}function d(e){let t;let r=Object.keys(e),n={};for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof e[a]&&(n[a]=e[a])}let o=Object.keys(n);try{!function(e){Object.keys(e).forEach(t=>{let r=e[t],n=r(void 0,{type:l.INIT});if(void 0===n)throw Error(a(12));if(void 0===r(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw Error(a(13))})}(n)}catch(e){t=e}return function(e={},r){if(t)throw t;let i=!1,l={};for(let t=0;t<o.length;t++){let s=o[t],u=n[s],c=e[s],d=u(c,r);if(void 0===d)throw r&&r.type,Error(a(14));l[s]=d,i=i||d!==c}return(i=i||o.length!==Object.keys(e).length)?l:e}}function f(e,t){return function(...r){return t(e.apply(this,r))}}function p(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw Error(a(16));let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=f(a,t))}return r}function h(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function g(...e){return t=>(r,n)=>{let o=t(r,n),i=()=>{throw Error(a(15))},l={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map(e=>e(l));return i=h(...s)(o.dispatch),{...o,dispatch:i}}}function m(e){return s(e)&&"type"in e&&"string"==typeof e.type}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cTbM8:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"Immer",()=>X),a.export(r,"applyPatches",()=>ei),a.export(r,"castDraft",()=>eu),a.export(r,"castImmutable",()=>ec),a.export(r,"createDraft",()=>el),a.export(r,"current",()=>Q),a.export(r,"enableMapSet",()=>ee),a.export(r,"enablePatches",()=>J),a.export(r,"finishDraft",()=>es),a.export(r,"freeze",()=>P),a.export(r,"immerable",()=>f),a.export(r,"isDraft",()=>m),a.export(r,"isDraftable",()=>b),a.export(r,"nothing",()=>d),a.export(r,"original",()=>w),a.export(r,"produce",()=>er),a.export(r,"produceWithPatches",()=>en),a.export(r,"setAutoFreeze",()=>ea),a.export(r,"setUseStrictShallowCopy",()=>eo);var o=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&u(e,r,t[r]);if(i)for(var r of i(t))s.call(t,r)&&u(e,r,t[r]);return e},d=Symbol.for("immer-nothing"),f=Symbol.for("immer-draftable"),p=Symbol.for("immer-state");function h(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var g=Object.getPrototypeOf;function m(e){return!!e&&!!e[p]}function b(e){var t;return!!e&&(v(e)||Array.isArray(e)||!!e[f]||!!(null==(t=e.constructor)?void 0:t[f])||T(e)||O(e))}var y=Object.prototype.constructor.toString();function v(e){if(!e||"object"!=typeof e)return!1;let t=g(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===y}function w(e){return m(e)||h(15,e),e[p].base_}function x(e,t){0===S(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function S(e){let t=e[p];return t?t.type_:Array.isArray(e)?1:T(e)?2:O(e)?3:0}function E(e,t){return 2===S(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){return 2===S(e)?e.get(t):e[t]}function k(e,t,r){let n=S(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function T(e){return e instanceof Map}function O(e){return e instanceof Set}function R(e){return e.copy_||e.base_}function I(e,t){if(T(e))return new Map(e);if(O(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=v(e);if(!0!==t&&("class_only"!==t||r)){let t=g(e);if(null!==t&&r)return c({},e);let n=Object.create(t);return Object.assign(n,e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[p];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let a=r[n],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(g(e),t)}}function P(e,t=!1){return L(e)||m(e)||!b(e)||(S(e)>1&&Object.defineProperties(e,{set:{value:C},add:{value:C},clear:{value:C},delete:{value:C}}),Object.freeze(e),t&&Object.values(e).forEach(e=>P(e,!0))),e}function C(){h(2)}function L(e){return Object.isFrozen(e)}var j={};function D(e){let t=j[e];return t||h(0,e),t}function A(e,t){t&&(D("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function N(e){M(e),e.drafts_.forEach(U),e.drafts_=null}function M(e){e===n&&(n=e.parent_)}function z(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function U(e){let t=e[p];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function F(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0],n=void 0!==e&&e!==r;return n?(r[p].modified_&&(N(t),h(4)),b(e)&&(e=B(t,e),t.parent_||W(t,e)),t.patches_&&D("Patches").generateReplacementPatches_(r[p].base_,e,t.patches_,t.inversePatches_)):e=B(t,r,[]),N(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==d?e:void 0}function B(e,t,r){if(L(t))return t;let n=t[p];if(!n)return x(t,(a,o)=>H(e,n,t,a,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return W(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,a=t,o=!1;3===n.type_&&(a=new Set(t),t.clear(),o=!0),x(a,(a,i)=>H(e,n,t,a,i,r,o)),W(e,t,!1),r&&e.patches_&&D("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function H(e,t,r,n,a,o,i){if(m(a)){let i=o&&t&&3!==t.type_&&!E(t.assigned_,n)?o.concat(n):void 0,l=B(e,a,i);if(k(r,n,l),!m(l))return;e.canAutoFreeze_=!1}else i&&r.add(a);if(b(a)&&!L(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;B(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(T(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&W(e,a)}}function W(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&P(t,r)}var G={get(e,t){if(t===p)return e;let r=R(e);if(!E(r,t))return function(e,t,r){var n;let a=q(t,r);return a?"value"in a?a.value:null==(n=a.get)?void 0:n.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!b(n)?n:n===$(e.base_,t)?(K(e),e.copy_[t]=Z(n,e)):n},has:(e,t)=>t in R(e),ownKeys:e=>Reflect.ownKeys(R(e)),set(e,t,r){let n=q(R(e),t);if(null==n?void 0:n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=$(R(e),t),a=null==n?void 0:n[p];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||E(e.base_,t)))return!0;K(e),Y(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==$(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,K(e),Y(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=R(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){h(11)},getPrototypeOf:e=>g(e.base_),setPrototypeOf(){h(12)}},V={};function $(e,t){let r=e[p],n=r?R(r):e;return n[t]}function q(e,t){if(!(t in e))return;let r=g(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=g(r)}}function Y(e){!e.modified_&&(e.modified_=!0,e.parent_&&Y(e.parent_))}function K(e){e.copy_||(e.copy_=I(e.base_,e.scope_.immer_.useStrictShallowCopy_))}x(G,(e,t)=>{V[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),V.deleteProperty=function(e,t){return V.set.call(this,e,t,void 0)},V.set=function(e,t,r){return G.set.call(this,e[0],t,r,e[0])};var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&h(6),void 0!==r&&"function"!=typeof r&&h(7),b(e)){let a=z(this),o=Z(e,void 0),i=!0;try{n=t(o),i=!1}finally{i?N(a):M(a)}return A(a,r),F(n,a)}if(e&&"object"==typeof e)h(1,e);else{if(void 0===(n=t(e))&&(n=e),n===d&&(n=void 0),this.autoFreeze_&&P(n,!0),r){let t=[],a=[];D("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,t=>e(t,...r));let a=this.produce(e,t,(e,t)=>{r=e,n=t});return[a,r,n]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){b(e)||h(8),m(e)&&(e=Q(e));let t=z(this),r=Z(e,void 0);return r[p].isManual_=!0,M(t),r}finishDraft(e,t){let r=e&&e[p];r&&r.isManual_||h(9);let{scope_:n}=r;return A(n,t),F(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=D("Patches").applyPatches_;return m(e)?n(e,t):this.produce(e,e=>n(e,t))}};function Z(e,t){let r=T(e)?D("MapSet").proxyMap_(e,t):O(e)?D("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:r?1:0,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=a,i=G;r&&(o=[a],i=V);let{revoke:l,proxy:s}=Proxy.revocable(o,i);return a.draft_=s,a.revoke_=l,s}(e,t),a=t?t.scope_:n;return a.drafts_.push(r),r}function Q(e){return m(e)||h(10,e),function e(t){let r;if(!b(t)||L(t))return t;let n=t[p];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=I(t,n.scope_.immer_.useStrictShallowCopy_)}else r=I(t,!0);return x(r,(t,n)=>{k(r,t,e(n))}),n&&(n.finalized_=!1),r}(e)}function J(){var e;let t="replace",r="remove";function n(e){if(!b(e))return e;if(Array.isArray(e))return e.map(n);if(T(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,n(t)]));if(O(e))return new Set(Array.from(e).map(n));let t=Object.create(g(e));for(let r in e)t[r]=n(e[r]);return E(e,f)&&(t[f]=e[f]),t}function a(e){return m(e)?n(e):e}j[e="Patches"]||(j[e]={applyPatches_:function(e,a){return a.forEach(a=>{let{path:o,op:i}=a,l=e;for(let e=0;e<o.length-1;e++){let t=S(l),r=o[e];"string"!=typeof r&&"number"!=typeof r&&(r=""+r),(0===t||1===t)&&("__proto__"===r||"constructor"===r)&&h(19),"function"==typeof l&&"prototype"===r&&h(19),"object"!=typeof(l=_(l,r))&&h(18,o.join("/"))}let s=S(l),u=n(a.value),c=o[o.length-1];switch(i){case t:switch(s){case 2:return l.set(c,u);case 3:h(16);default:return l[c]=u}case"add":switch(s){case 1:return"-"===c?l.push(u):l.splice(c,0,u);case 2:return l.set(c,u);case 3:return l.add(u);default:return l[c]=u}case r:switch(s){case 1:return l.splice(c,1);case 2:return l.delete(c);case 3:return l.delete(a.value);default:return delete l[c]}default:h(17,i)}}),e},generatePatches_:function(e,n,o,i){switch(e.type_){case 0:case 2:return function(e,n,o,i){let{base_:l,copy_:s}=e;x(e.assigned_,(e,u)=>{let c=_(l,e),d=_(s,e),f=u?E(l,e)?t:"add":r;if(c===d&&f===t)return;let p=n.concat(e);o.push(f===r?{op:f,path:p}:{op:f,path:p,value:d}),i.push("add"===f?{op:r,path:p}:f===r?{op:"add",path:p,value:a(c)}:{op:t,path:p,value:a(c)})})}(e,n,o,i);case 1:return function(e,n,o,i){let{base_:l,assigned_:s}=e,u=e.copy_;u.length<l.length&&([l,u]=[u,l],[o,i]=[i,o]);for(let e=0;e<l.length;e++)if(s[e]&&u[e]!==l[e]){let r=n.concat([e]);o.push({op:t,path:r,value:a(u[e])}),i.push({op:t,path:r,value:a(l[e])})}for(let e=l.length;e<u.length;e++){let t=n.concat([e]);o.push({op:"add",path:t,value:a(u[e])})}for(let e=u.length-1;l.length<=e;--e){let t=n.concat([e]);i.push({op:r,path:t})}}(e,n,o,i);case 3:return function(e,t,n,a){let{base_:o,copy_:i}=e,l=0;o.forEach(e=>{if(!i.has(e)){let o=t.concat([l]);n.push({op:r,path:o,value:e}),a.unshift({op:"add",path:o,value:e})}l++}),l=0,i.forEach(e=>{if(!o.has(e)){let o=t.concat([l]);n.push({op:"add",path:o,value:e}),a.unshift({op:r,path:o,value:e})}l++})}(e,n,o,i)}},generateReplacementPatches_:function(e,r,n,a){n.push({op:t,path:[],value:r===d?void 0:r}),a.push({op:t,path:[],value:e})}})}function ee(){var e;class t extends Map{constructor(e,t){super(),this[p]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return R(this[p]).size}has(e){return R(this[p]).has(e)}set(e,t){let n=this[p];return i(n),R(n).has(e)&&R(n).get(e)===t||(r(n),Y(n),n.assigned_.set(e,!0),n.copy_.set(e,t),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),r(t),Y(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0}clear(){let e=this[p];i(e),R(e).size&&(r(e),Y(e),e.assigned_=new Map,x(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){let r=this[p];R(r).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let t=this[p];i(t);let n=R(t).get(e);if(t.finalized_||!b(n)||n!==t.base_.get(e))return n;let a=Z(n,t);return r(t),t.copy_.set(e,a),a}keys(){return R(this[p]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:r}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function r(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class a extends Set{constructor(e,t){super(),this[p]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return R(this[p]).size}has(e){let t=this[p];return(i(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[p];return i(t),this.has(e)||(o(t),Y(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),o(t),Y(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[p];i(e),R(e).size&&(o(e),Y(e),e.copy_.clear())}values(){let e=this[p];return i(e),o(e),e.copy_.values()}entries(){let e=this[p];return i(e),o(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function o(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(b(t)){let r=Z(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function i(e){e.revoked_&&h(3,JSON.stringify(R(e)))}j[e="MapSet"]||(j[e]={proxyMap_:function(e,r){return new t(e,r)},proxySet_:function(e,t){return new a(e,t)}})}var et=new X,er=et.produce,en=et.produceWithPatches.bind(et),ea=et.setAutoFreeze.bind(et),eo=et.setUseStrictShallowCopy.bind(et),ei=et.applyPatches.bind(et),el=et.createDraft.bind(et),es=et.finishDraft.bind(et);function eu(e){return e}function ec(e){return e}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"25ILf":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"createSelector",()=>H),n.export(r,"createSelectorCreator",()=>B),n.export(r,"createStructuredSelector",()=>W),n.export(r,"lruMemoize",()=>N),n.export(r,"referenceEqualityCheck",()=>D),n.export(r,"setGlobalDevModeChecks",()=>f),n.export(r,"unstable_autotrackMemoize",()=>M),n.export(r,"weakMapMemoize",()=>F);var a=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&s(e,r,t[r]);if(o)for(var r of o(t))l.call(t,r)&&s(e,r,t[r]);return e},c=(e,t,r)=>(s(e,"symbol"!=typeof t?t+"":t,r),r),d={inputStabilityCheck:"once",identityFunctionCheck:"once"},f=e=>{Object.assign(d,e)},p=Symbol("NOT_FOUND");function h(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}var g=e=>Array.isArray(e)?e:[e],m=0,b=null,y=class{constructor(e,t=v){c(this,"revision",m),c(this,"_value"),c(this,"_lastValue"),c(this,"_isEqual",v),this._value=this._lastValue=e,this._isEqual=t}get value(){return null==b||b.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++m)}};function v(e,t){return e===t}var w=class{constructor(e){c(this,"_cachedValue"),c(this,"_cachedRevision",-1),c(this,"_deps",[]),c(this,"hits",0),c(this,"fn"),this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){let{fn:e}=this,t=new Set,r=b;b=t,this._cachedValue=e(),b=r,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return null==b||b.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function x(e){return e instanceof y||console.warn("Not a valid cell! ",e),e.value}var S=(e,t)=>!1;function E(){return function(e,t=v){return new y(null,t)}(0,S)}function _(e,t){!function(e,t){if(!(e instanceof y))throw TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var k=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=E()),x(t)},T=e=>{let t=e.collectionTag;null!==t&&_(t,null)};Symbol();var O=0,R=Object.getPrototypeOf({}),I=class{constructor(e){this.value=e,c(this,"proxy",new Proxy(this,P)),c(this,"tag",E()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},P={get(e,t){let r=function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in R)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=j(n)),r.tag&&x(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=E()).value=n),x(r),n}}();return r},ownKeys:e=>(k(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},C=class{constructor(e){this.value=e,c(this,"proxy",new Proxy([this],L)),c(this,"tag",E()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},L={get:([e],t)=>("length"===t&&k(e),P.get(e,t)),ownKeys:([e])=>P.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>P.getOwnPropertyDescriptor(e,t),has:([e],t)=>P.has(e,t)};function j(e){return Array.isArray(e)?new C(e):new I(e)}var D=(e,t)=>e===t;function A(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;let{length:n}=t;for(let a=0;a<n;a++)if(!e(t[a],r[a]))return!1;return!0}}function N(e,t){let r;let{equalityCheck:n=D,maxSize:a=1,resultEqualityCheck:o}="object"==typeof t?t:{equalityCheck:t},i=A(n),l=0,s=a<=1?{get:e=>r&&i(r.key,e)?r.value:p,put(e,t){r={key:e,value:t}},getEntries:()=>r?[r]:[],clear(){r=void 0}}:function(e,t){let r=[];function n(e){let n=r.findIndex(r=>t(e,r.key));if(n>-1){let e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return p}return{get:n,put:function(t,a){n(t)===p&&(r.unshift({key:t,value:a}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(a,i);function u(){let t=s.get(arguments);if(t===p){if(t=e.apply(null,arguments),l++,o){let e=s.getEntries(),r=e.find(e=>o(e.value,t));r&&(t=r.value,0!==l&&l--)}s.put(arguments,t)}return t}return u.clearCache=()=>{s.clear(),u.resetResultsCount()},u.resultsCount=()=>l,u.resetResultsCount=()=>{l=0},u}function M(e){var t;let r=j([]),n=null,a=A(D),o=(h(t=()=>{let t=e.apply(null,r.proxy);return t},"the first parameter to `createCache` must be a function"),new w(t));function i(){return a(n,arguments)||(function e(t,r){let{value:n,tags:a,children:o}=t;if(t.value=r,Array.isArray(n)&&Array.isArray(r)&&n.length!==r.length)T(t);else if(n!==r){let e=0,a=0,o=!1;for(let t in n)e++;for(let e in r)if(a++,!(e in n)){o=!0;break}let i=o||e!==a;i&&T(t)}for(let e in a){let o=n[e],i=r[e];o!==i&&(T(t),_(a[e],i)),"object"==typeof i&&null!==i&&delete a[e]}for(let t in o){let n=o[t],a=r[t],i=n.value;i!==a&&("object"==typeof a&&null!==a?e(n,a):(function e(t){for(let e in t.tag&&_(t.tag,null),T(t),t.tags)_(t.tags[e],null);for(let r in t.children)e(t.children[r])}(n),delete o[t]))}}(r,arguments),n=arguments),o.value}return i.clearCache=()=>o.clear(),i}var z="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function U(){return{s:0,v:void 0,o:null,p:null}}function F(e,t={}){let r,n=U(),{resultEqualityCheck:a}=t,o=0;function i(){var t,i;let l;let s=n,{length:u}=arguments;for(let e=0;e<u;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=s.o;null===e&&(s.o=e=new WeakMap);let r=e.get(t);void 0===r?(s=U(),e.set(t,s)):s=r}else{let e=s.p;null===e&&(s.p=e=new Map);let r=e.get(t);void 0===r?(s=U(),e.set(t,s)):s=r}}let c=s;if(1===s.s)l=s.v;else if(l=e.apply(null,arguments),o++,a){let e=null!=(i=null==(t=null==r?void 0:r.deref)?void 0:t.call(r))?i:r;null!=e&&a(e,l)&&(l=e,0!==o&&o--);let n="object"==typeof l&&null!==l||"function"==typeof l;r=n?new z(l):l}return c.s=1,c.v=l,l}return i.clearCache=()=>{n=U(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function B(e,...t){let r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,a=0,o={},i=e.pop();"object"==typeof i&&(o=i,i=e.pop()),h(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);let l=u(u({},r),o),{memoize:s,memoizeOptions:c=[],argsMemoize:d=F,argsMemoizeOptions:f=[],devModeChecks:p={}}=l,m=g(c),b=g(f),y=function(e){let t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),v=s(function(){return n++,i.apply(null,arguments)},...m),w=d(function(){a++;let e=function(e,t){let r=[],{length:n}=e;for(let a=0;a<n;a++)r.push(e[a].apply(null,t));return r}(y,arguments);return t=v.apply(null,e)},...b);return Object.assign(w,{resultFunc:i,memoizedResultFunc:v,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:s,argsMemoize:d})};return Object.assign(n,{withTypes:()=>n}),n}var H=B(F),W=Object.assign((e,t=H)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e),n=r.map(t=>e[t]),a=t(n,(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}));return a},{withTypes:()=>W})},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1xIC4":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return({dispatch:t,getState:r})=>n=>a=>"function"==typeof a?a(t,r,e):n(a)}n.defineInteropFlag(r),n.export(r,"thunk",()=>o),n.export(r,"withExtraArgument",()=>i);var o=a(),i=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jZFan:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"noStorageSlice",()=>s),n.export(r,"initSubtitleNodes",()=>u),n.export(r,"initTTSSubtitleNodes",()=>c),n.export(r,"initTTSWordsSubtitleNodes",()=>d),n.export(r,"setTTSWordsSubtitleNodes",()=>f),n.export(r,"setTTSSubtitleNodes",()=>p),n.export(r,"setSubtitleNodes",()=>h),n.export(r,"setSubtitleNodesAsObj",()=>g),n.export(r,"setSubtitleText",()=>m),n.export(r,"setSubtitleZhText",()=>b),n.export(r,"setPaused",()=>y),n.export(r,"setPausedForWavesurfer",()=>v),n.export(r,"setCurrentTime",()=>w),n.export(r,"setCurrentTForWavesurfer",()=>x),n.export(r,"setClientWidth",()=>S),n.export(r,"setClientHeight",()=>E),n.export(r,"setIndex",()=>_),n.export(r,"setIndexForWavesurfer",()=>k),n.export(r,"setIndexForWavesurferWords",()=>T),n.export(r,"setMediaIsAudio",()=>O),n.export(r,"setMaskClickPlay",()=>R),n.export(r,"setMaskFull",()=>I),n.export(r,"setNickname",()=>P),n.export(r,"setSubtitleUrl",()=>C),n.export(r,"setWavesurferAudioBlobUrl",()=>L),n.export(r,"setWavesurferAudioUrl",()=>j),n.export(r,"setYoudaoAudioUrl",()=>D),n.export(r,"setDict1ZimuApiUrl",()=>A),n.export(r,"setNowTime",()=>N),n.export(r,"setBiliRightContainerWidth",()=>M),n.export(r,"setMouseX",()=>z),n.export(r,"setMouseY",()=>U),n.export(r,"setDraggableDictX",()=>F),n.export(r,"setDraggableDictY",()=>B),n.export(r,"setDraggableSubtitleListXInStore",()=>H),n.export(r,"setDraggableSubtitleListYInStore",()=>W),n.export(r,"setTextSelectionPopup",()=>G),n.export(r,"setSelectionText",()=>V),n.export(r,"setSelectionTextLanguage",()=>$),n.export(r,"setFilterSubtitleListText",()=>q),n.export(r,"setTargetLang",()=>Y),n.export(r,"setSourceLang",()=>K),n.export(r,"setRepeatTimes",()=>X),n.export(r,"setRepeatTimesForWavesurfer",()=>Z),n.export(r,"setVariableRepeatTimes",()=>Q),n.export(r,"setVariableRepeatTimesForWavesurfer",()=>J),n.export(r,"setMediaPlaybackRate",()=>ee),n.export(r,"setMediaPlaybackRateForWavesurfer",()=>et),n.export(r,"setYoutubeSourceLang",()=>er),n.export(r,"setYoutubeSubUrl",()=>en),n.export(r,"setPlayThenPause",()=>ea),n.export(r,"setPlayThenPausedStartTime",()=>eo),n.export(r,"setShowSubtitleList",()=>ei),n.export(r,"setFavoritesDicts",()=>el),n.export(r,"setNoStorageJwt",()=>es),n.export(r,"setJwtId",()=>eu),n.export(r,"setBaiduPanVideo",()=>ec),n.export(r,"setSubtitleTextEnOrNot",()=>ed),n.export(r,"setToOpenFileUI",()=>ef),n.export(r,"setUserInfo",()=>ep);var a=e("@reduxjs/toolkit"),o=e("~tools/constants"),i=e("~tools/subtitle");let l={currentT:0,currentTForWavesurfer:0,subtitleNodes:[],subtitleTTSNodes:[],subtitleTTSWordsNodes:[],subtitleText:"",subtitleZhText:"",paused:!0,pausedForWavesurfer:!0,clientWidth:0,clientHeight:0,index:0,indexForWavesurfer:0,indexForWavesurferWords:0,mediaIsAudio:!1,maskClickPlay:!0,maskFull:!1,nickname:"",subtitleurl:"",dict1ZimuApiUrl:"",youdaoAudioUrl:"",wavesurferAudioUrl:void 0,wavesurferAudioBlobUrl:void 0,nowTime:0,biliRightContainerWidth:o.SUBTITLE_LIST_WIDTH,mouseX:0,mouseY:0,textSelectionPopup:!1,selectionText:"",selectionTextLanguage:"",filterSubtitleListText:"",draggableDictX:o.DRAGGABLE_NODE_CONTAINER_X,draggableDictY:o.DRAGGABLE_NODE_CONTAINER_Y,draggableSubtitleListXInStore:void 0,draggableSubtitleListYInStore:void 0,targetLang:"",sourceLang:"",repeatTimes:o.REPEAT_UI_INIT_TIMES,variableRepeatTimes:o.VARIABLE_REPEAT_UI_INIT_TIMES,repeatTimesForWavesurfer:o.REPEAT_UI_INIT_TIMES,variableRepeatTimesForWavesurfer:o.VARIABLE_REPEAT_UI_INIT_TIMES,mediaPlaybackRate:1,mediaPlaybackRateForWavesurfer:1,youtubeSourceLang:void 0,youtubeSubUrl:void 0,playThenPause:!1,playThenPausedStartTime:void 0,showSubtitleList:!0,favoritesDicts:void 0,jwt:void 0,jwtId:void 0,baiduPanVideo:!1,subtitleTextEnOrNot:!1,toOpenFileUI:!1,userInfo:void 0},s=(0,a.createSlice)({name:"noStorager",initialState:l,reducers:{setNickname:(e,t)=>{e.nickname!==t.payload&&(e.nickname=t.payload)},setCurrentTime:(e,t)=>{e.currentT!==t.payload&&(e.currentT=t.payload)},setCurrentTForWavesurfer:(e,t)=>{e.currentTForWavesurfer!==t.payload&&(e.currentTForWavesurfer=t.payload)},initSubtitleNodes:e=>{e.subtitleNodes=[],e.subtitleText=""},initTTSSubtitleNodes:e=>{e.subtitleTTSNodes=[]},initTTSWordsSubtitleNodes:e=>{e.subtitleTTSWordsNodes=[]},setTTSWordsSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSWordsNodes=[...r]},setTTSSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSNodes=[...r]},setSubtitleNodesAsObj:(e,t)=>{let r=[],n=(0,i.sortByStart)(t.payload),a=0;n.forEach(e=>{if(e.text){let t={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};t.data=e,t.data.index=a,a+=1,r.push(t)}}),e.subtitleNodes=[...r]},setSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleNodes=[...r]},setSubtitleText:(e,t)=>{e.subtitleText!==t.payload&&(e.subtitleText=t.payload)},setSubtitleZhText:(e,t)=>{e.subtitleZhText!==t.payload&&(e.subtitleZhText=t.payload)},setPaused:(e,t)=>{e.paused!==t.payload&&(e.paused=t.payload)},setPausedForWavesurfer:(e,t)=>{e.pausedForWavesurfer!==t.payload&&(e.pausedForWavesurfer=t.payload)},setClientHeight:(e,t)=>{e.clientHeight!==t.payload&&(e.clientHeight=t.payload)},setClientWidth:(e,t)=>{e.clientWidth!==t.payload&&(e.clientWidth=t.payload)},setMouseX:(e,t)=>{e.mouseX!==t.payload&&(e.mouseX=t.payload)},setMouseY:(e,t)=>{e.mouseY!==t.payload&&(e.mouseY=t.payload)},setTextSelectionPopup:(e,t)=>{e.textSelectionPopup!==t.payload&&(e.textSelectionPopup=t.payload)},setTargetLang:(e,t)=>{e.targetLang!==t.payload&&(e.targetLang=t.payload)},setSourceLang:(e,t)=>{e.sourceLang!==t.payload&&(e.sourceLang=t.payload)},setRepeatTimes:(e,t)=>{e.repeatTimes!==t.payload&&(e.repeatTimes=t.payload)},setRepeatTimesForWavesurfer:(e,t)=>{e.repeatTimesForWavesurfer!==t.payload&&(e.repeatTimesForWavesurfer=t.payload)},setVariableRepeatTimes:(e,t)=>{e.variableRepeatTimes!==t.payload&&(e.variableRepeatTimes=t.payload)},setVariableRepeatTimesForWavesurfer:(e,t)=>{e.variableRepeatTimesForWavesurfer!==t.payload&&(e.variableRepeatTimesForWavesurfer=t.payload)},setMediaPlaybackRate:(e,t)=>{e.mediaPlaybackRate!==t.payload&&(e.mediaPlaybackRate=t.payload)},setMediaPlaybackRateForWavesurfer:(e,t)=>{e.mediaPlaybackRateForWavesurfer!==t.payload&&(e.mediaPlaybackRateForWavesurfer=t.payload)},setYoutubeSourceLang:(e,t)=>{e.youtubeSourceLang!==t.payload&&(e.youtubeSourceLang=t.payload)},setYoutubeSubUrl:(e,t)=>{e.youtubeSubUrl!==t.payload&&(e.youtubeSubUrl=t.payload)},setPlayThenPause:(e,t)=>{e.playThenPause!==t.payload&&(e.playThenPause=t.payload)},setPlayThenPausedStartTime:(e,t)=>{e.playThenPausedStartTime!==t.payload&&(e.playThenPausedStartTime=t.payload)},setShowSubtitleList:(e,t)=>{e.showSubtitleList!==t.payload&&(e.showSubtitleList=t.payload)},setFavoritesDicts:(e,t)=>{e.favoritesDicts=[...t.payload]},setNoStorageJwt:(e,t)=>{e.jwt!==t.payload&&(e.jwt=t.payload)},setJwtId:(e,t)=>{e.jwtId!==t.payload&&(e.jwtId=t.payload)},setBaiduPanVideo:(e,t)=>{e.baiduPanVideo!==t.payload&&(e.baiduPanVideo=t.payload)},setSubtitleTextEnOrNot:(e,t)=>{e.subtitleTextEnOrNot!==t.payload&&(e.subtitleTextEnOrNot=t.payload)},setToOpenFileUI:(e,t)=>{e.toOpenFileUI!==t.payload&&(e.toOpenFileUI=t.payload)},setUserInfo:(e,t)=>{e.userInfo=t.payload},setSelectionText:(e,t)=>{e.selectionText!==t.payload&&(e.selectionText=t.payload)},setSelectionTextLanguage:(e,t)=>{e.selectionTextLanguage!==t.payload&&(e.selectionTextLanguage=t.payload)},setFilterSubtitleListText:(e,t)=>{e.filterSubtitleListText!==t.payload&&(e.filterSubtitleListText=t.payload)},setDraggableDictX:(e,t)=>{e.draggableDictX!==t.payload&&(e.draggableDictX=t.payload)},setDraggableDictY:(e,t)=>{e.draggableDictY!==t.payload&&(e.draggableDictY=t.payload)},setDraggableSubtitleListXInStore:(e,t)=>{e.draggableSubtitleListXInStore!==t.payload&&(e.draggableSubtitleListXInStore=t.payload)},setDraggableSubtitleListYInStore:(e,t)=>{e.draggableSubtitleListYInStore!==t.payload&&(e.draggableSubtitleListYInStore=t.payload)},setIndex:(e,t)=>{e.index!==t.payload&&(e.index=t.payload)},setIndexForWavesurfer:(e,t)=>{e.indexForWavesurfer!==t.payload&&(e.indexForWavesurfer=t.payload)},setIndexForWavesurferWords:(e,t)=>{e.indexForWavesurferWords!==t.payload&&(e.indexForWavesurferWords=t.payload)},setMediaIsAudio:(e,t)=>{e.mediaIsAudio!==t.payload&&(e.mediaIsAudio=t.payload)},setMaskFull:(e,t)=>{e.maskFull!==t.payload&&(e.maskFull=t.payload)},setMaskClickPlay:(e,t)=>{e.maskClickPlay!==t.payload&&(e.maskClickPlay=t.payload)},setSubtitleUrl:(e,t)=>{e.subtitleurl!==t.payload&&(e.subtitleurl=t.payload)},setWavesurferAudioBlobUrl:(e,t)=>{e.wavesurferAudioBlobUrl!==t.payload&&(e.wavesurferAudioBlobUrl=t.payload)},setWavesurferAudioUrl:(e,t)=>{e.wavesurferAudioUrl!==t.payload&&(e.wavesurferAudioUrl=t.payload)},setDict1ZimuApiUrl:(e,t)=>{if(t?.payload?.length>0){let r="en";r="ja"===e.selectionTextLanguage?"ja":"ko"===e.selectionTextLanguage?"ko":"fr"===e.selectionTextLanguage?"fr":"en";let n=`https://${o.ZIMU1_COM}/subtitle/api/dict/${t.payload}/${r}`;e.dict1ZimuApiUrl!==n&&(e.dict1ZimuApiUrl=n)}else null!==e.dict1ZimuApiUrl&&(e.dict1ZimuApiUrl=null)},setYoudaoAudioUrl:(e,t)=>{let r="";"ja"===e.selectionTextLanguage?r="&le=jap":"ko"===e.selectionTextLanguage?r="&le=ko":"fr"===e.selectionTextLanguage&&(r="&le=fr"),t?.payload?.length>0?e.youdaoAudioUrl!==`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`&&(e.youdaoAudioUrl=`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`):null!==e.youdaoAudioUrl&&(e.youdaoAudioUrl=null)},setNowTime:(e,t)=>{e.nowTime!==t.payload&&(e.nowTime=t.payload)},setBiliRightContainerWidth:(e,t)=>{e.biliRightContainerWidth!==t.payload&&(e.biliRightContainerWidth=t.payload)}}}),{initSubtitleNodes:u,initTTSSubtitleNodes:c,initTTSWordsSubtitleNodes:d,setTTSWordsSubtitleNodes:f,setTTSSubtitleNodes:p,setSubtitleNodes:h,setSubtitleNodesAsObj:g,setSubtitleText:m,setSubtitleZhText:b,setPaused:y,setPausedForWavesurfer:v,setCurrentTime:w,setCurrentTForWavesurfer:x,setClientWidth:S,setClientHeight:E,setIndex:_,setIndexForWavesurfer:k,setIndexForWavesurferWords:T,setMediaIsAudio:O,setMaskClickPlay:R,setMaskFull:I,setNickname:P,setSubtitleUrl:C,setWavesurferAudioBlobUrl:L,setWavesurferAudioUrl:j,setYoudaoAudioUrl:D,setDict1ZimuApiUrl:A,setNowTime:N,setBiliRightContainerWidth:M,setMouseX:z,setMouseY:U,setDraggableDictX:F,setDraggableDictY:B,setDraggableSubtitleListXInStore:H,setDraggableSubtitleListYInStore:W,setTextSelectionPopup:G,setSelectionText:V,setSelectionTextLanguage:$,setFilterSubtitleListText:q,setTargetLang:Y,setSourceLang:K,setRepeatTimes:X,setRepeatTimesForWavesurfer:Z,setVariableRepeatTimes:Q,setVariableRepeatTimesForWavesurfer:J,setMediaPlaybackRate:ee,setMediaPlaybackRateForWavesurfer:et,setYoutubeSourceLang:er,setYoutubeSubUrl:en,setPlayThenPause:ea,setPlayThenPausedStartTime:eo,setShowSubtitleList:ei,setFavoritesDicts:el,setNoStorageJwt:es,setJwtId:eu,setBaiduPanVideo:ec,setSubtitleTextEnOrNot:ed,setToOpenFileUI:ef,setUserInfo:ep}=s.actions;r.default=s.reducer},{"@reduxjs/toolkit":"59iT9","~tools/constants":"DgB7r","~tools/subtitle":"88X4r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lWScv:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Provider",()=>ea),n.export(r,"ReactReduxContext",()=>ee),n.export(r,"batch",()=>eh),n.export(r,"connect",()=>en),n.export(r,"createDispatchHook",()=>eu),n.export(r,"createSelectorHook",()=>ef),n.export(r,"createStoreHook",()=>el),n.export(r,"shallowEqual",()=>U),n.export(r,"useDispatch",()=>ec),n.export(r,"useSelector",()=>ep),n.export(r,"useStore",()=>es);var a=e("react"),o=e("use-sync-external-store/with-selector.js"),i=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))d.call(t,r)&&f(e,r,t[r]);return e},h=(e,t)=>l(e,s(t)),g=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&d.call(e,n)&&(r[n]=e[n]);return r},m=Symbol.for(a.version.startsWith("19")?"react.transitional.element":"react.element"),b=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),O=Symbol.for("react.lazy");function R(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function I(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function P(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=I(e);let a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=I(a),a=n(t,r)),a},n}}function C(e,t){return(r,n)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function L(e,t,r){return p(p(p({},r),e),t)}var j={notify(){},get:()=>[]};function D(e,t){let r;let n=j,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function l(){if(a++,!r){let a,o;r=t?t.addNestedSub(i):e.subscribe(i),a=null,o=null,n={clear(){a=null,o=null},notify(){(()=>{let e=a;for(;e;)e.callback(),e=e.next})()},get(){let e=[],t=a;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,r=o={callback:e,next:null,prev:o};return r.prev?r.prev.next=r:a=r,function(){t&&null!==a&&(t=!1,r.next?r.next.prev=r.prev:o=r.prev,r.prev?r.prev.next=r.next:a=r.next)}}}}}function s(){a--,r&&0===a&&(r(),r=void 0,n.clear(),n=j)}let u={addNestedSub:function(e){l();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),s())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,s())},getListeners:()=>n};return u}var A=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),N="undefined"!=typeof navigator&&"ReactNative"===navigator.product,M=A||N?a.useLayoutEffect:a.useEffect;function z(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function U(e,t){if(z(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!z(e[r[n]],t[r[n]]))return!1;return!0}var F={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},B={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},W={[E]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[T]:H};function G(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case m:switch(e=e.type){case y:case w:case v:case _:case k:return e;default:switch(e=e&&e.$$typeof){case S:case E:case O:case T:case x:return e;default:return t}}case b:return t}}}(e)===T?H:W[e.$$typeof]||F}var V=Object.defineProperty,$=Object.getOwnPropertyNames,q=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,K=Object.getPrototypeOf,X=Object.prototype;function Z(e,t){if("string"!=typeof t){if(X){let r=K(t);r&&r!==X&&Z(e,r)}let r=$(t);q&&(r=r.concat(q(t)));let n=G(e),a=G(t);for(let o=0;o<r.length;++o){let i=r[o];if(!B[i]&&!(a&&a[i])&&!(n&&n[i])){let r=Y(t,i);try{V(e,i,r)}catch(e){}}}}return e}var Q=Symbol.for("react-redux-context"),J="undefined"!=typeof globalThis?globalThis:{},ee=function(){var e;if(!a.createContext)return{};let t=null!=(e=J[Q])?e:J[Q]=new Map,r=t.get(a.createContext);return r||(r=a.createContext(null),t.set(a.createContext,r)),r}(),et=[null,null];function er(e,t){return e===t}var en=function(e,t,r,{pure:n,areStatesEqual:o=er,areOwnPropsEqual:i=U,areStatePropsEqual:l=U,areMergedPropsEqual:s=U,forwardRef:u=!1,context:c=ee}={}){let d=e?"function"==typeof e?P(e,"mapStateToProps"):C(e,"mapStateToProps"):R(()=>({})),f=t&&"object"==typeof t?R(e=>(function(e,t){let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=(...e)=>t(a(...e)))}return r})(t,e)):t?"function"==typeof t?P(t,"mapDispatchToProps"):C(t,"mapDispatchToProps"):R(e=>({dispatch:e})),m=r?"function"==typeof r?function(e,{displayName:t,areMergedPropsEqual:n}){let a,o=!1;return function(e,t,i){let l=r(e,t,i);return o?n(l,a)||(a=l):(o=!0,a=l),a}}:C(r,"mergeProps"):()=>L,b=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:b,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:l,areOwnPropsEqual:i,areMergedPropsEqual:s};function y(t){var r;let o;let[i,l,s]=a.useMemo(()=>{let{reactReduxForwardedRef:e}=t,r=g(t,["reactReduxForwardedRef"]);return[t.context,e,r]},[t]),u=a.useMemo(()=>(null==i||i.Consumer,c),[i,c]),d=a.useContext(u),f=!!t.store&&!!t.store.getState&&!!t.store.dispatch,m=!!d&&!!d.store,y=f?t.store:d.store,v=m?d.getServerState:y.getState,w=a.useMemo(()=>(function(e,t){var{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:a}=t,o=g(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);let i=r(e,o),l=n(e,o),s=a(e,o);return function(e,t,r,n,{areStatesEqual:a,areOwnPropsEqual:o,areStatePropsEqual:i}){let l,s,u,c,d,f=!1;return function(p,h){return f?function(f,p){let h=!o(p,s),g=!a(f,l,p,s);return(l=f,s=p,h&&g)?(u=e(l,s),t.dependsOnOwnProps&&(c=t(n,s)),d=r(u,c,s)):h?(e.dependsOnOwnProps&&(u=e(l,s)),t.dependsOnOwnProps&&(c=t(n,s)),d=r(u,c,s)):g?function(){let t=e(l,s),n=!i(t,u);return u=t,n&&(d=r(u,c,s)),d}():d}(p,h):(u=e(l=p,s=h),c=t(n,s),d=r(u,c,s),f=!0,d)}}(i,l,s,e,o)})(y.dispatch,n),[y]),[x,S]=a.useMemo(()=>{if(!b)return et;let e=D(y,f?void 0:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[y,f,d]),E=a.useMemo(()=>f?d:h(p({},d),{subscription:x}),[f,d,x]),_=a.useRef(void 0),k=a.useRef(s),T=a.useRef(void 0),O=a.useRef(!1),R=a.useRef(!1),I=a.useRef(void 0);M(()=>(R.current=!0,()=>{R.current=!1}),[]);let P=a.useMemo(()=>()=>T.current&&s===k.current?T.current:w(y.getState(),s),[y,s]),C=a.useMemo(()=>e=>x?function(e,t,r,n,a,o,i,l,s,u,c){if(!e)return()=>{};let d=!1,f=null,p=()=>{let e,r;if(d||!l.current)return;let p=t.getState();try{e=n(p,a.current)}catch(e){r=e,f=e}r||(f=null),e===o.current?i.current||u():(o.current=e,s.current=e,i.current=!0,c())};return r.onStateChange=p,r.trySubscribe(),p(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(b,y,x,w,k,_,O,R,T,S,e):()=>{},[x]);r=[k,_,O,s,T,S],M(()=>(function(e,t,r,n,a,o){e.current=n,r.current=!1,a.current&&(a.current=null,o())})(...r),void 0);try{o=a.useSyncExternalStore(C,P,v?()=>w(v(),s):P)}catch(e){throw I.current&&(e.message+=`
The error may be correlated with this previous error:
${I.current.stack}
`),e}M(()=>{I.current=void 0,T.current=void 0,_.current=o});let L=a.useMemo(()=>a.createElement(e,h(p({},o),{ref:l})),[l,e,o]),j=a.useMemo(()=>b?a.createElement(u.Provider,{value:E},L):L,[u,L,E]);return j}let v=a.memo(y);if(v.WrappedComponent=e,v.displayName=y.displayName=r,u){let t=a.forwardRef(function(e,t){return a.createElement(v,h(p({},e),{reactReduxForwardedRef:t}))});return t.displayName=r,t.WrappedComponent=e,Z(t,e)}return Z(v,e)}},ea=function(e){let{children:t,context:r,serverState:n,store:o}=e,i=a.useMemo(()=>{let e=D(o);return{store:o,subscription:e,getServerState:n?()=>n:void 0}},[o,n]),l=a.useMemo(()=>o.getState(),[o]);return M(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,l]),a.createElement((r||ee).Provider,{value:i},t)};function eo(e=ee){return function(){let t=a.useContext(e);return t}}var ei=eo();function el(e=ee){let t=e===ee?ei:eo(e),r=()=>{let{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var es=el();function eu(e=ee){let t=e===ee?es:el(e),r=()=>{let e=t();return e.dispatch};return Object.assign(r,{withTypes:()=>r}),r}var ec=eu(),ed=(e,t)=>e===t;function ef(e=ee){let t=e===ee?ei:eo(e),r=(e,r={})=>{let{equalityFn:n=ed}="function"==typeof r?{equalityFn:r}:r,i=t(),{store:l,subscription:s,getServerState:u}=i;a.useRef(!0);let c=a.useCallback({[e.name](t){let r=e(t);return r}}[e.name],[e]),d=(0,o.useSyncExternalStoreWithSelector)(s.addNestedSub,l.getState,u||l.getState,c,n);return a.useDebugValue(d),d};return Object.assign(r,{withTypes:()=>r}),r}var ep=ef(),eh=function(e){e()}},{react:"329PG","use-sync-external-store/with-selector.js":"4Tbgj","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4Tbgj":[function(e,t,r){t.exports=e("44db3591982713b9")},{"44db3591982713b9":"dKlR2"}],dKlR2:[function(e,t,r){var n=e("6d34fa13a6b19654"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,i=n.useRef,l=n.useEffect,s=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=o(e,(d=s(function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return i=t}return i=e}if(t=i,a(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,i=r)}var o,i,l=!1,s=void 0===r?null:r;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,r,n,c]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},{"6d34fa13a6b19654":"329PG"}],gaugC:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"store",()=>h),n.export(r,"persistor",()=>g),n.export(r,"useAppDispatch",()=>m),n.export(r,"useAppSelector",()=>b);var a=e("@reduxjs/toolkit"),o=e("react-redux"),i=e("redux-persist-webextension-storage"),l=e("@plasmohq/redux-persist"),s=e("@plasmohq/storage"),u=e("./storage-slice"),c=n.interopDefault(u);let d=(0,a.combineReducers)({odd:c.default}),f={key:"root",version:1,storage:i.localStorage},p=(0,l.persistReducer)(f,d);(0,a.configureStore)({reducer:d});let h=(0,a.configureStore)({reducer:p,middleware:e=>e({serializableCheck:{ignoredActions:[l.FLUSH,l.REHYDRATE,l.PAUSE,l.PERSIST,l.PURGE,l.REGISTER,l.RESYNC]}})}),g=(0,l.persistStore)(h);new(0,s.Storage)({area:"local"}).watch({[`persist:${f.key}`]:e=>{let{oldValue:t,newValue:r}=e,n=[];for(let e in t)t[e]!==r?.[e]&&n.push(e);for(let e in r)t?.[e]!==r[e]&&n.push(e);n.length>0&&g.resync()}});let m=o.useDispatch,b=o.useSelector},{"@reduxjs/toolkit":"59iT9","react-redux":"lWScv","redux-persist-webextension-storage":"jixDK","@plasmohq/redux-persist":"ilqfc","@plasmohq/storage":"loHJm","./storage-slice":"kUwPb","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],jixDK:[function(e,t,r){var n=o(e("5d4f71de55428f87")),a=o(e("19680ef65d313b"));function o(e){return e&&e.__esModule?e:{default:e}}t.exports={localStorage:n.default,syncStorage:a.default}},{"5d4f71de55428f87":"5WzxA","19680ef65d313b":"jNPIy"}],"5WzxA":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("4ad5e0f4e633ccb5"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("local")},{"4ad5e0f4e633ccb5":"jm6eD"}],jm6eD:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return{getItem:function(t){return new Promise(function(r,n){chrome.storage[e].get(t,function(e){null==chrome.runtime.lastError?r(e[t]):n()})})},removeItem:function(t){return new Promise(function(r,n){chrome.storage[e].remove(t,function(){null==chrome.runtime.lastError?r():n()})})},setItem:function(t,r){return new Promise(function(n,a){var o;chrome.storage[e].set((t in(o={})?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o),function(){null==chrome.runtime.lastError?n():a()})})}}}},{}],jNPIy:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("d6e6ff7339f123c9"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("sync")},{d6e6ff7339f123c9:"jm6eD"}],ilqfc:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"persistReducer",()=>o.default),n.export(r,"persistCombineReducers",()=>l.default),n.export(r,"persistStore",()=>u.default),n.export(r,"createMigrate",()=>d.default),n.export(r,"createTransform",()=>p.default),n.export(r,"getStoredState",()=>g.default),n.export(r,"createPersistoid",()=>b.default),n.export(r,"purgeStoredState",()=>v.default);var a=e("./persistReducer"),o=n.interopDefault(a),i=e("./persistCombineReducers"),l=n.interopDefault(i),s=e("./persistStore"),u=n.interopDefault(s),c=e("./createMigrate"),d=n.interopDefault(c),f=e("./createTransform"),p=n.interopDefault(f),h=e("./getStoredState"),g=n.interopDefault(h),m=e("./createPersistoid"),b=n.interopDefault(m),y=e("./purgeStoredState"),v=n.interopDefault(y),w=e("./constants");n.exportAll(w,r)},{"./persistReducer":"d1KP6","./persistCombineReducers":"d1wD4","./persistStore":"c2S7r","./createMigrate":"epj2V","./createTransform":"lxpRa","./getStoredState":"9U9OG","./createPersistoid":"bclqy","./purgeStoredState":"9MOOt","./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],d1KP6:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>h);var a=e("./constants"),o=e("./stateReconciler/autoMergeLevel1"),i=n.interopDefault(o),l=e("./createPersistoid"),s=n.interopDefault(l),u=e("./getStoredState"),c=n.interopDefault(u),d=e("./purgeStoredState"),f=n.interopDefault(d),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function h(e,t){let r=void 0!==e.version?e.version:a.DEFAULT_VERSION,n=void 0===e.stateReconciler?i.default:e.stateReconciler,o=e.getStoredState||c.default,l=void 0!==e.timeout?e.timeout:5e3,u=null,d=!1,h=!0,g=e=>(e._persist.rehydrated&&u&&!h&&u.update(e),e);return(i,c)=>{let m=i||{},{_persist:b}=m,y=p(m,["_persist"]);if(c.type===a.PERSIST){let n=!1,a=(t,r)=>{n||(c.rehydrate(e.key,t,r),n=!0)};if(l&&setTimeout(()=>{n||a(void 0,Error(`redux-persist: persist timed out for persist key "${e.key}"`))},l),h=!1,u||(u=(0,s.default)(e)),b)return Object.assign(Object.assign({},t(y,c)),{_persist:b});if("function"!=typeof c.rehydrate||"function"!=typeof c.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return c.register(e.key),o(e).then(t=>{if(t){let n=e.migrate||((e,t)=>Promise.resolve(e));n(t,r).then(e=>{a(e)},e=>{a(void 0,e)})}},e=>{a(void 0,e)}),Object.assign(Object.assign({},t(y,c)),{_persist:{version:r,rehydrated:!1}})}if(c.type===a.PURGE)return d=!0,c.result((0,f.default)(e)),Object.assign(Object.assign({},t(y,c)),{_persist:b});if(c.type===a.RESYNC)return o(e).then(t=>c.rehydrate(e.key,t,void 0),t=>c.rehydrate(e.key,void 0,t)).then(()=>c.result()),Object.assign(Object.assign({},t(y,c)),{_persist:{version:r,rehydrated:!1}});if(c.type===a.FLUSH)return c.result(u&&u.flush()),Object.assign(Object.assign({},t(y,c)),{_persist:b});if(c.type===a.PAUSE)h=!0;else if(c.type===a.REHYDRATE){if(d)return Object.assign(Object.assign({},y),{_persist:Object.assign(Object.assign({},b),{rehydrated:!0})});if(c.key===e.key){let r=t(y,c),a=c.payload,o=!1!==n&&void 0!==a?n(a,i,r,e):r,l=Object.assign(Object.assign({},o),{_persist:Object.assign(Object.assign({},b),{rehydrated:!0})});return g(l)}}if(!b)return t(i,c);let v=t(y,c);return v===y?i:g(Object.assign(Object.assign({},v),{_persist:b}))}}},{"./constants":"2S8AY","./stateReconciler/autoMergeLevel1":"lm0ey","./createPersistoid":"bclqy","./getStoredState":"9U9OG","./purgeStoredState":"9MOOt","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"2S8AY":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"KEY_PREFIX",()=>a),n.export(r,"FLUSH",()=>o),n.export(r,"REHYDRATE",()=>i),n.export(r,"RESYNC",()=>l),n.export(r,"PAUSE",()=>s),n.export(r,"PERSIST",()=>u),n.export(r,"PURGE",()=>c),n.export(r,"REGISTER",()=>d),n.export(r,"DEFAULT_VERSION",()=>f);let a="persist:",o="persist/FLUSH",i="persist/REHYDRATE",l="persist/RESYNC",s="persist/PAUSE",u="persist/PERSIST",c="persist/PURGE",d="persist/REGISTER",f=-1},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lm0ey:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{"_persist"!==n&&t[n]===r[n]&&(a[n]=e[n])})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],bclqy:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.blacklist||null,n=e.whitelist||null,o=e.transforms||[],l=e.throttle||0,s=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,u=e.storage;t=!1===e.serialize?e=>e:"function"==typeof e.serialize?e.serialize:i;let c=e.writeFailHandler||null,d={},f={},p=[],h=null,g=null;function m(){if(0===p.length){h&&clearInterval(h),h=null;return}let e=p.shift();if(void 0===e)return;let r=o.reduce((t,r)=>r.in(t,e,d),d[e]);if(void 0!==r)try{f[e]=t(r)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete f[e];0===p.length&&(Object.keys(f).forEach(e=>{void 0===d[e]&&delete f[e]}),g=u.setItem(s,t(f)).catch(y))}function b(e){return(!n||-1!==n.indexOf(e)||"_persist"===e)&&(!r||-1===r.indexOf(e))}function y(e){c&&c(e)}return{update:e=>{Object.keys(e).forEach(t=>{b(t)&&d[t]!==e[t]&&-1===p.indexOf(t)&&p.push(t)}),Object.keys(d).forEach(t=>{void 0===e[t]&&b(t)&&-1===p.indexOf(t)&&void 0!==d[t]&&p.push(t)}),null===h&&(h=setInterval(m,l)),d=e},flush:()=>{for(;0!==p.length;)m();return g||Promise.resolve()}}}function i(e){return JSON.stringify(e)}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9U9OG":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.transforms||[],n=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,o=e.storage;return e.debug,t=!1===e.deserialize?e=>e:"function"==typeof e.deserialize?e.deserialize:i,o.getItem(n).then(e=>{if(e)try{let n={},a=t(e);return Object.keys(a).forEach(e=>{n[e]=r.reduceRight((t,r)=>r.out(t,e,a),t(a[e]))}),n}catch(e){throw e}})}function i(e){return JSON.parse(e)}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9MOOt":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t=e.storage,r=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`;return t.removeItem(r,i)}function i(e){}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],d1wD4:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>u);var a=e("redux"),o=e("./persistReducer"),i=n.interopDefault(o),l=e("./stateReconciler/autoMergeLevel2"),s=n.interopDefault(l);function u(e,t){return e.stateReconciler=void 0===e.stateReconciler?s.default:e.stateReconciler,(0,i.default)(e,(0,a.combineReducers)(t))}},{redux:"6SUHM","./persistReducer":"d1KP6","./stateReconciler/autoMergeLevel2":"gVnNc","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],gVnNc:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{if("_persist"!==n&&t[n]===r[n]){var o;if(null!==(o=r[n])&&!Array.isArray(o)&&"object"==typeof o){a[n]=Object.assign(Object.assign({},a[n]),e[n]);return}a[n]=e[n]}})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],c2S7r:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>s);var a=e("redux"),o=e("./constants");let i={registry:[],bootstrapped:!1},l=(e=i,t)=>{let r=e.registry.indexOf(t.key),n=[...e.registry];switch(t.type){case o.REGISTER:return Object.assign(Object.assign({},e),{registry:[...e.registry,t.key]});case o.REHYDRATE:return n.splice(r,1),Object.assign(Object.assign({},e),{registry:n,bootstrapped:0===n.length});default:return e}};function s(e,t,r){let n=r||!1,s=(0,a.createStore)(l,i,t&&t.enhancer?t.enhancer:void 0),u=e=>{s.dispatch({type:o.REGISTER,key:e})},c=(t,r,a)=>{let i={type:o.REHYDRATE,payload:r,err:a,key:t};e.dispatch(i),s.dispatch(i),"function"==typeof n&&d.getState().bootstrapped&&(n(),n=!1)},d=Object.assign(Object.assign({},s),{purge:()=>{let t=[];return e.dispatch({type:o.PURGE,result:e=>{t.push(e)}}),Promise.all(t)},flush:()=>{let t=[];return e.dispatch({type:o.FLUSH,result:e=>{t.push(e)}}),Promise.all(t)},pause:()=>{e.dispatch({type:o.PAUSE})},persist:()=>{e.dispatch({type:o.PERSIST,register:u,rehydrate:c})},resync:()=>new Promise(t=>{e.dispatch({type:o.RESYNC,rehydrate:c,result:()=>t()})})});return t&&t.manualPersist||d.persist(),d}},{redux:"6SUHM","./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],epj2V:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e,t){let{debug:r}=t||{};return function(t,r){if(!t)return Promise.resolve(void 0);let n=t._persist&&void 0!==t._persist.version?t._persist.version:a.DEFAULT_VERSION;if(n===r||n>r)return Promise.resolve(t);let o=Object.keys(e).map(e=>parseInt(e)).filter(e=>r>=e&&e>n).sort((e,t)=>e-t);try{let r=o.reduce((t,r)=>e[r](t),t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}}},{"./constants":"2S8AY","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lxpRa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r={}){let n=r.whitelist||null,a=r.blacklist||null;function o(e){return!!n&&-1===n.indexOf(e)||!!a&&-1!==a.indexOf(e)}return{in:(t,r,n)=>!o(r)&&e?e(t,r,n):t,out:(e,r,n)=>!o(r)&&t?t(e,r,n):e}}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],loHJm:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"BaseStorage",()=>l),n.export(r,"Storage",()=>s);var a=e("pify"),o=n.interopDefault(a),i=()=>{try{let e=globalThis.navigator?.userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if("Chrome"===e[1])return 100>parseInt(e[2])||globalThis.chrome.runtime?.getManifest()?.manifest_version===2}catch{}return!1},l=class{#e;#t;get primaryClient(){return this.#t}#r;get secondaryClient(){return this.#r}#n;get area(){return this.#n}get hasWebApi(){try{return"u">typeof window&&!!window.localStorage}catch(e){return console.error(e),!1}}#a=new Map;#o;get copiedKeySet(){return this.#o}isCopied=e=>this.hasWebApi&&(this.allCopied||this.copiedKeySet.has(e));#i=!1;get allCopied(){return this.#i}getExtStorageApi=()=>globalThis.browser?.storage||globalThis.chrome?.storage;get hasExtensionApi(){try{return!!this.getExtStorageApi()}catch(e){return console.error(e),!1}}isWatchSupported=()=>this.hasExtensionApi;keyNamespace="";isValidKey=e=>e.startsWith(this.keyNamespace);getNamespacedKey=e=>`${this.keyNamespace}${e}`;getUnnamespacedKey=e=>e.slice(this.keyNamespace.length);constructor({area:e="sync",allCopied:t=!1,copiedKeyList:r=[]}={}){this.setCopiedKeySet(r),this.#n=e,this.#i=t;try{this.hasWebApi&&(t||r.length>0)&&(this.#r=window.localStorage)}catch{}try{this.hasExtensionApi&&(this.#e=this.getExtStorageApi(),i()?this.#t=(0,o.default)(this.#e[this.area],{exclude:["getBytesInUse"],errorFirst:!1}):this.#t=this.#e[this.area])}catch{}}setCopiedKeySet(e){this.#o=new Set(e)}rawGetAll=()=>this.#t?.get();getAll=async()=>Object.entries(await this.rawGetAll()).filter(([e])=>this.isValidKey(e)).reduce((e,[t,r])=>(e[this.getUnnamespacedKey(t)]=r,e),{});copy=async e=>{let t=void 0===e;if(!t&&!this.copiedKeySet.has(e)||!this.allCopied||!this.hasExtensionApi)return!1;let r=this.allCopied?await this.rawGetAll():await this.#t.get((t?[...this.copiedKeySet]:[e]).map(this.getNamespacedKey));if(!r)return!1;let n=!1;for(let e in r){let t=r[e],a=this.#r?.getItem(e);this.#r?.setItem(e,t),n||=t!==a}return n};rawGet=async e=>this.hasExtensionApi?(await this.#t.get(e))[e]:this.isCopied(e)?this.#r?.getItem(e):null;rawSet=async(e,t)=>(this.isCopied(e)&&this.#r?.setItem(e,t),this.hasExtensionApi&&await this.#t.set({[e]:t}),null);clear=async(e=!1)=>{e&&this.#r?.clear(),await this.#t.clear()};rawRemove=async e=>{this.isCopied(e)&&this.#r?.removeItem(e),this.hasExtensionApi&&await this.#t.remove(e)};removeAll=async()=>{let e=Object.keys(await this.getAll());await Promise.all(e.map(this.remove))};watch=e=>{let t=this.isWatchSupported();return t&&this.#l(e),t};#l=e=>{for(let t in e){let r=this.getNamespacedKey(t),n=this.#a.get(r)?.callbackSet||new Set;if(n.add(e[t]),n.size>1)continue;let a=(e,t)=>{if(t!==this.area||!e[r])return;let n=this.#a.get(r);if(!n)throw Error(`Storage comms does not exist for nsKey: ${r}`);Promise.all([this.parseValue(e[r].newValue),this.parseValue(e[r].oldValue)]).then(([e,r])=>{for(let a of n.callbackSet)a({newValue:e,oldValue:r},t)})};this.#e.onChanged.addListener(a),this.#a.set(r,{callbackSet:n,listener:a})}};unwatch=e=>{let t=this.isWatchSupported();return t&&this.#s(e),t};#s(e){for(let t in e){let r=this.getNamespacedKey(t),n=e[t],a=this.#a.get(r);a&&(a.callbackSet.delete(n),0===a.callbackSet.size&&(this.#a.delete(r),this.#e.onChanged.removeListener(a.listener)))}}unwatchAll=()=>this.#u();#u(){this.#a.forEach(({listener:e})=>this.#e.onChanged.removeListener(e)),this.#a.clear()}async getItem(e){return this.get(e)}async setItem(e,t){await this.set(e,t)}async removeItem(e){return this.remove(e)}},s=class extends l{get=async e=>{let t=this.getNamespacedKey(e),r=await this.rawGet(t);return this.parseValue(r)};set=async(e,t)=>{let r=this.getNamespacedKey(e),n=JSON.stringify(t);return this.rawSet(r,n)};remove=async e=>{let t=this.getNamespacedKey(e);return this.rawRemove(t)};setNamespace=e=>{this.keyNamespace=e};parseValue=async e=>{try{if(void 0!==e)return JSON.parse(e)}catch(e){console.error(e)}}}},{pify:"e8SYa","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],e8SYa:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>i);let a=(e,t,r,n)=>function(...a){let o=t.promiseModule;return new o((o,i)=>{t.multiArgs?a.push((...e)=>{t.errorFirst?e[0]?i(e):(e.shift(),o(e)):o(e)}):t.errorFirst?a.push((e,t)=>{e?i(e):o(t)}):a.push(o),Reflect.apply(e,this===r?n:this,a)})},o=new WeakMap;function i(e,t){t={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...t};let r=typeof e;if(!(null!==e&&("object"===r||"function"===r)))throw TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":r}\``);let n=(e,r)=>{let n=o.get(e);if(n||(n={},o.set(e,n)),r in n)return n[r];let a=e=>"string"==typeof e||"symbol"==typeof r?r===e:e.test(r),i=Reflect.getOwnPropertyDescriptor(e,r),l=void 0===i||i.writable||i.configurable,s=t.include?t.include.some(e=>a(e)):!t.exclude.some(e=>a(e)),u=s&&l;return n[r]=u,u},i=new WeakMap,l=new Proxy(e,{apply(e,r,n){let o=i.get(e);if(o)return Reflect.apply(o,r,n);let s=t.excludeMain?e:a(e,t,l,e);return i.set(e,s),Reflect.apply(s,r,n)},get(e,r){let o=e[r];if(!n(e,r)||o===Function.prototype[r])return o;let s=i.get(o);if(s)return s;if("function"==typeof o){let r=a(o,t,l,e);return i.set(o,r),r}return o}});return l}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],kUwPb:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"setJwt",()=>i),n.export(r,"setHeadimgurl",()=>l),n.export(r,"setNickname",()=>s),n.export(r,"setPopupShow",()=>u);var a=e("@reduxjs/toolkit");let o=(0,a.createSlice)({name:"odd",initialState:{jwt:"",headimgurl:"",nickname:"",popupShow:!0},reducers:{setJwt:(e,t)=>{e.jwt=t.payload},setHeadimgurl:(e,t)=>{e.headimgurl=`${t.payload}`},setNickname:(e,t)=>{e.nickname=t.payload},setPopupShow:(e,t)=>{e.popupShow=t.payload}}}),{setJwt:i,setHeadimgurl:l,setNickname:s,setPopupShow:u}=o.actions;r.default=o.reducer},{"@reduxjs/toolkit":"59iT9","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],ftkuD:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"InvalidTokenError",()=>a),n.export(r,"jwtDecode",()=>o);class a extends Error{}function o(e,t){let r;if("string"!=typeof e)throw new a("Invalid token specified: must be a string");t||(t={});let n=!0===t.header?0:1,o=e.split(".")[n];if("string"!=typeof o)throw new a(`Invalid token specified: missing part #${n+1}`);try{r=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(o)}catch(e){throw new a(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new a(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}a.prototype.name="InvalidTokenError"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"92GyB":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"relay",()=>g),n.export(r,"relayMessage",()=>h),n.export(r,"sendToActiveContentScript",()=>p),n.export(r,"sendToBackground",()=>d),n.export(r,"sendToBackgroundViaRelay",()=>m),n.export(r,"sendToContentScript",()=>f),n.export(r,"sendViaRelay",()=>b);var a=e("nanoid"),o=globalThis.browser?.tabs||globalThis.chrome?.tabs,i=()=>{let e=globalThis.browser?.runtime||globalThis.chrome?.runtime;if(!e)throw Error("Extension runtime is not available");return e},l=()=>{if(!o)throw Error("Extension tabs API is not available");return o},s=async()=>{let e=l(),[t]=await e.query({active:!0,currentWindow:!0});return t},u=(e,t)=>!t.__internal&&e.source===globalThis.window&&e.data.name===t.name&&(void 0===t.relayId||e.data.relayId===t.relayId),c=(e,t,r=globalThis.window)=>{let n=async n=>{if(u(n,e)&&!n.data.relayed){let a={name:e.name,relayId:e.relayId,body:n.data.body},o=await t?.(a);r.postMessage({name:e.name,relayId:e.relayId,instanceId:n.data.instanceId,body:o,relayed:!0},{targetOrigin:e.targetOrigin||"/"})}};return r.addEventListener("message",n),()=>r.removeEventListener("message",n)},d=async e=>i().sendMessage(e.extensionId??null,e),f=async e=>{let t="number"==typeof e.tabId?e.tabId:(await s())?.id;if(!t)throw Error("No active tab found to send message to.");return l().sendMessage(t,e)},p=f,h=e=>c(e,d),g=h,m=(e,t=globalThis.window)=>new Promise((r,n)=>{let o=(0,a.nanoid)(),i=new AbortController;t.addEventListener("message",t=>{u(t,e)&&t.data.relayed&&t.data.instanceId===o&&(r(t.data.body),i.abort())},{signal:i.signal}),t.postMessage({...e,instanceId:o},{targetOrigin:e.targetOrigin||"/"})}),b=m},{nanoid:"g2QpR","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],g2QpR:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"urlAlphabet",()=>a.urlAlphabet),n.export(r,"random",()=>o),n.export(r,"customRandom",()=>i),n.export(r,"customAlphabet",()=>l),n.export(r,"nanoid",()=>s);var a=e("./url-alphabet/index.js");let o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,a=-~(1.6*n*t/e.length);return (o=t)=>{let i="";for(;;){let t=r(a),l=a;for(;l--;)if((i+=e[t[l]&n]||"").length===o)return i}}},l=(e,t=21)=>i(e,t,o),s=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},{"./url-alphabet/index.js":"iZI4R","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],iZI4R:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"urlAlphabet",()=>a);let a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"82aS0":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"handleError",()=>o);var a=e("react-toastify");function o({error:e,msgToShow:t,autoClose:r=5e3,silence:n=!0}){try{console.error(`Catched ERROR in ${t} :>> `,e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in ${t}.`,{autoClose:r}))}catch(e){console.error("Catched ERROR in tools.error.handleError() :>> ",e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in tools.error.handleError()`,{autoClose:r}))}}},{"react-toastify":"7cUZK","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1qe3F":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"logger",()=>a);let a=new class{constructor(){this.isProduction=!0}log(...e){this.isProduction||console.log(...e)}info(...e){this.isProduction||console.info(...e)}error(...e){this.isProduction||console.error(...e)}warn(...e){this.isProduction||console.warn(...e)}debug(...e){this.isProduction||console.debug(...e)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],hpDvz:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"storage",()=>o),n.export(r,"storageSync",()=>i);var a=e("@plasmohq/storage");let o=new a.Storage({area:"local"}),i=new a.Storage({area:"sync"})},{"@plasmohq/storage":"loHJm","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1N71i":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"sleep",()=>o),n.export(r,"clickYoutubeSubtitleBtn",()=>i);var a=e("./error");function o(e){return new Promise(t=>setTimeout(t,e))}function i(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");if(e){let t=e.getAttribute("aria-pressed"),r=e.querySelector("svg");"false"===t&&"1"===r.getAttribute("fill-opacity")&&e.click()}}catch(e){(0,a.handleError)({error:e,msgToShow:"tools.subtitle.clickYoutubeSubtitleBtn()"})}}},{"./error":"82aS0","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"9ypWX":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"haveNoPermission",()=>i),n.export(r,"withPermissionCheck",()=>l);var a=e("react-toastify"),o=e("../redux/storeNoStorage");function i(e){let{userInfo:t}=(0,o.store).getState().noStorager,r=t?.zm1_expired_or_not;return r&&"true"!==e}function l(e,t,r,n){return function(...o){if(i(t)){(0,a.toast).warning(r,{autoClose:5e3}),n&&n.open({duration:6e3,type:"error",content:`${r}`});return}return e(...o)}}},{"react-toastify":"7cUZK","../redux/storeNoStorage":"20ikG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"3ofev":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"AZURE_LANGUAGES_TRANS",()=>a),n.export(r,"LANG_MAP",()=>o);let a=[{value:"af",label:"\u5357\u975e\u8377\u5170\u8bed Afrikaans"},{value:"am",label:"\u963f\u59c6\u54c8\u62c9\u8bed \u12a0\u121b\u122d\u129b"},{value:"ar",label:"\u963f\u62c9\u4f2f\u8bed \u0627\u0644\u0639\u0631\u0628\u064a\u0629"},{value:"as",label:"\u963f\u8428\u59c6\u8bed \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be"},{value:"az",label:"\u963f\u585e\u62dc\u7586\u8bed Az\u0259rbaycan"},{value:"ba",label:"\u5df4\u4ec0\u57fa\u5c14\u8bed Bashkir"},{value:"bg",label:"\u4fdd\u52a0\u5229\u4e9a\u8bed \u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},{value:"bho",label:"Bhojpuri \u092d\u094b\u091c\u092a\u0941\u0930\u0940"},{value:"bn",label:"\u5b5f\u52a0\u62c9\u8bed \u09ac\u09be\u0982\u09b2\u09be"},{value:"bo",label:"\u85cf\u8bed \u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b"},{value:"brx",label:"Bodo \u092c\u0921\u093c\u094b"},{value:"bs",label:"\u6ce2\u65af\u5c3c\u4e9a\u8bed Bosanski"},{value:"ca",label:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed Catal\xe0"},{value:"cs",label:"\u6377\u514b\u8bed \u010ce\u0161tina"},{value:"cy",label:"\u5a01\u5c14\u58eb\u8bed Cymraeg"},{value:"da",label:"\u4e39\u9ea6\u8bed Dansk"},{value:"de",label:"\u5fb7\u8bed Deutsch"},{value:"doi",label:"Dogri \u0921\u094b\u0917\u0930\u0940"},{value:"dsb",label:"\u4e0b\u7d22\u5e03\u8bed Dolnoserb\u0161\u0107ina"},{value:"dv",label:"\u8fea\u7ef4\u5e0c\u8bed \u078b\u07a8\u0788\u07ac\u0780\u07a8\u0784\u07a6\u0790\u07b0"},{value:"el",label:"\u5e0c\u814a\u8bed \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},{value:"en",label:"\u82f1\u8bed English"},{value:"es",label:"\u897f\u73ed\u7259\u8bed Espa\xf1ol"},{value:"et",label:"\u7231\u6c99\u5c3c\u4e9a\u8bed Eesti"},{value:"eu",label:"\u5df4\u65af\u514b\u8bed Euskara"},{value:"fa",label:"\u6ce2\u65af\u8bed \u0641\u0627\u0631\u0633\u06cc"},{value:"fi",label:"\u82ac\u5170\u8bed Suomi"},{value:"fil",label:"\u83f2\u5f8b\u5bbe\u8bed Filipino"},{value:"fj",label:"\u6590\u6d4e\u8bed Na Vosa Vakaviti"},{value:"fo",label:"\u6cd5\u7f57\u8bed F\xf8royskt"},{value:"fr",label:"\u6cd5\u8bed Fran\xe7ais"},{value:"fr-CA",label:"\u6cd5\u8bed (\u52a0\u62ff\u5927) Fran\xe7ais (Canada)"},{value:"ga",label:"\u7231\u5c14\u5170\u8bed Gaeilge"},{value:"gl",label:"\u52a0\u5229\u897f\u4e9a\u8bed Galego"},{value:"gom",label:"Konkani \u0915\u094b\u0902\u0915\u0923\u0940"},{value:"gu",label:"\u53e4\u5409\u62c9\u7279\u8bed \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0"},{value:"ha",label:"\u8c6a\u8428\u8bed Hausa"},{value:"he",label:"\u5e0c\u4f2f\u6765\u8bed \u05e2\u05d1\u05e8\u05d9\u05ea"},{value:"hi",label:"\u5370\u5730\u8bed \u0939\u093f\u0928\u094d\u0926\u0940"},{value:"hne",label:"Chhattisgarhi \u091b\u0924\u094d\u0924\u0940\u0938\u0917\u0922\u093c\u0940"},{value:"hr",label:"\u514b\u7f57\u5730\u4e9a\u8bed Hrvatski"},{value:"hsb",label:"\u4e0a\u7d22\u5e03\u8bed Hornjoserb\u0161\u0107ina"},{value:"ht",label:"\u6d77\u5730\u514b\u91cc\u5965\u5c14\u8bed Haitian Creole"},{value:"hu",label:"\u5308\u7259\u5229\u8bed Magyar"},{value:"hy",label:"\u4e9a\u7f8e\u5c3c\u4e9a\u8bed \u0540\u0561\u0575\u0565\u0580\u0565\u0576"},{value:"id",label:"\u5370\u5ea6\u5c3c\u897f\u4e9a\u8bed Indonesia"},{value:"ig",label:"\u4f0a\u535a\u8bed \xc1s\u1ee5\u0300s\u1ee5\u0301 \xccgb\xf2"},{value:"ikt",label:"Inuinnaqtun Inuinnaqtun"},{value:"is",label:"\u51b0\u5c9b\u8bed \xcdslenska"},{value:"it",label:"\u610f\u5927\u5229\u8bed Italiano"},{value:"iu",label:"\u56e0\u7ebd\u7279\u8bed \u1403\u14c4\u1483\u144e\u1450\u1466"},{value:"iu-Latn",label:"Inuktitut (Latin) Inuktitut (Latin)"},{value:"ja",label:"\u65e5\u8bed \u65e5\u672c\u8a9e"},{value:"ka",label:"\u683c\u9c81\u5409\u4e9a\u8bed \u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},{value:"kk",label:"\u54c8\u8428\u514b\u8bed \u049a\u0430\u0437\u0430\u049b \u0422\u0456\u043b\u0456"},{value:"km",label:"\u9ad8\u68c9\u8bed \u1781\u17d2\u1798\u17c2\u179a"},{value:"kmr",label:"\u5e93\u5c14\u5fb7\u8bed (\u5317) Kurd\xee (Bakur)"},{value:"kn",label:"\u5361\u7eb3\u8fbe\u8bed \u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},{value:"ko",label:"\u97e9\u8bed \ud55c\uad6d\uc5b4"},{value:"ks",label:"Kashmiri \u06a9\u0672\u0634\u064f\u0631"},{value:"ku",label:"\u5e93\u5c14\u5fb7\u8bed (\u4e2d) Kurd\xee (Nav\xeen)"},{value:"ky",label:"\u67ef\u5c14\u514b\u5b5c\u8bed \u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},{value:"ln",label:"\u6797\u52a0\u62c9\u8bed Ling\xe1la"},{value:"lo",label:"\u8001\u631d\u8bed \u0ea5\u0eb2\u0ea7"},{value:"lt",label:"\u7acb\u9676\u5b9b\u8bed Lietuvi\u0173"},{value:"lug",label:"Ganda Ganda"},{value:"lv",label:"\u62c9\u8131\u7ef4\u4e9a\u8bed Latvie\u0161u"},{value:"lzh",label:"Chinese (Literary) \u4e2d\u6587 (\u6587\u8a00\u6587)"},{value:"mai",label:"\u8fc8\u8482\u5229\u8bed \u092e\u0948\u0925\u093f\u0932\u0940"},{value:"mg",label:"\u9a6c\u62c9\u52a0\u65af\u8bed Malagasy"},{value:"mi",label:"\u6bdb\u5229\u8bed Te Reo M\u0101ori"},{value:"mk",label:"\u9a6c\u5176\u987f\u8bed \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},{value:"ml",label:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02"},{value:"mn-Cyrl",label:"Mongolian (Cyrillic) \u041c\u043e\u043d\u0433\u043e\u043b"},{value:"mn-Mong",label:"Mongolian (Traditional) \u182e\u1823\u1829\u182d\u1823\u182f \u182c\u1821\u182f\u1821"},{value:"mni",label:"Manipuri \uabc3\uabe9\uabc7\uabe9\uabc2\uabe3\uabdf"},{value:"mr",label:"\u9a6c\u62c9\u5730\u8bed \u092e\u0930\u093e\u0920\u0940"},{value:"ms",label:"\u9a6c\u6765\u8bed Melayu"},{value:"mt",label:"\u9a6c\u8033\u4ed6\u8bed Malti"},{value:"mww",label:"\u82d7\u8bed Hmong Daw"},{value:"my",label:"\u7f05\u7538\u8bed \u1019\u103c\u1014\u103a\u1019\u102c"},{value:"nb",label:"\u4e66\u9762\u632a\u5a01\u8bed Norsk Bokm\xe5l"},{value:"ne",label:"\u5c3c\u6cca\u5c14\u8bed \u0928\u0947\u092a\u093e\u0932\u0940"},{value:"nl",label:"\u8377\u5170\u8bed Nederlands"},{value:"nso",label:"Sesotho sa Leboa Sesotho sa Leboa"},{value:"nya",label:"Nyanja Nyanja"},{value:"or",label:"\u5965\u91cc\u4e9a\u8bed \u0b13\u0b21\u0b3c\u0b3f\u0b06"},{value:"otq",label:"\u514b\u96f7\u5854\u7f57\u5965\u6258\u7c73\u8bed H\xf1\xe4h\xf1u"},{value:"pa",label:"\u65c1\u906e\u666e\u8bed \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40"},{value:"pl",label:"\u6ce2\u5170\u8bed Polski"},{value:"prs",label:"\u8fbe\u91cc\u8bed \u062f\u0631\u06cc"},{value:"ps",label:"\u666e\u4ec0\u56fe\u8bed \u067e\u069a\u062a\u0648"},{value:"pt",label:"\u8461\u8404\u7259\u8bed (\u5df4\u897f) Portugu\xeas (Brasil)"},{value:"pt-PT",label:"\u8461\u8404\u7259\u8bed (\u8461\u8404\u7259) Portugu\xeas (Portugal)"},{value:"ro",label:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed Rom\xe2n\u0103"},{value:"ru",label:"\u4fc4\u8bed \u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{value:"run",label:"Rundi Rundi"},{value:"rw",label:"\u5362\u65fa\u8fbe\u8bed Kinyarwanda"},{value:"sd",label:"\u4fe1\u5fb7\u8bed \u0633\u0646\u068c\u064a"},{value:"si",label:"\u50e7\u4f3d\u7f57\u8bed \u0dc3\u0dd2\u0d82\u0dc4\u0dbd"},{value:"sk",label:"\u65af\u6d1b\u4f10\u514b\u8bed Sloven\u010dina"},{value:"sl",label:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed Sloven\u0161\u010dina"},{value:"sm",label:"\u8428\u6469\u4e9a\u8bed Gagana S\u0101moa"},{value:"sn",label:"\u7ecd\u7eb3\u8bed chiShona"},{value:"so",label:"\u7d22\u9a6c\u91cc\u8bed Soomaali"},{value:"sq",label:"\u963f\u5c14\u5df4\u5c3c\u4e9a\u8bed Shqip"},{value:"sr-Cyrl",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u897f\u91cc\u5c14\u6587) \u0421\u0440\u043f\u0441\u043a\u0438 (\u045b\u0438\u0440\u0438\u043b\u0438\u0446\u0430)"},{value:"sr-Latn",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u62c9\u4e01\u6587) Srpski (latinica)"},{value:"st",label:"Sesotho Sesotho"},{value:"sv",label:"\u745e\u5178\u8bed Svenska"},{value:"sw",label:"\u65af\u74e6\u5e0c\u91cc\u8bed Kiswahili"},{value:"ta",label:"\u6cf0\u7c73\u5c14\u8bed \u0ba4\u0bae\u0bbf\u0bb4\u0bcd"},{value:"te",label:"\u6cf0\u5362\u56fa\u8bed \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41"},{value:"th",label:"\u6cf0\u8bed \u0e44\u0e17\u0e22"},{value:"ti",label:"\u63d0\u683c\u5229\u5c3c\u4e9a\u8bed \u1275\u130d\u122d"},{value:"tk",label:"\u571f\u5e93\u66fc\u8bed T\xfcrkmen Dili"},{value:"tlh-Latn",label:"\u514b\u6797\u8d21\u8bed (\u62c9\u4e01\u6587) Klingon (Latin)"},{value:"tlh-Piqd",label:"\u514b\u6797\u8d21\u8bed (pIqaD) Klingon (pIqaD)"},{value:"tn",label:"Setswana Setswana"},{value:"to",label:"\u6c64\u52a0\u8bed Lea Fakatonga"},{value:"tr",label:"\u571f\u8033\u5176\u8bed T\xfcrk\xe7e"},{value:"tt",label:"\u9791\u977c\u8bed \u0422\u0430\u0442\u0430\u0440"},{value:"ty",label:"\u5854\u5e0c\u63d0\u8bed Reo Tahiti"},{value:"ug",label:"\u7ef4\u543e\u5c14\u8bed \u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\u06d5"},{value:"uk",label:"\u4e4c\u514b\u5170\u8bed \u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},{value:"ur",label:"\u4e4c\u5c14\u90fd\u8bed \u0627\u0631\u062f\u0648"},{value:"uz",label:"\u4e4c\u5179\u522b\u514b\u8bed O\u2018Zbek"},{value:"vi",label:"\u8d8a\u5357\u8bed Ti\u1ebfng Vi\u1ec7t"},{value:"xh",label:"\u79d1\u8428\u8bed isiXhosa"},{value:"yo",label:"\u7ea6\u9c81\u5df4\u8bed \xc8d\xe8 Yor\xf9b\xe1"},{value:"yua",label:"\u5c24\u5361\u7279\u514b\u739b\u96c5\u8bed Yucatec Maya"},{value:"yue",label:"\u7ca4\u8bed (\u7e41\u4f53) \u7cb5\u8a9e (\u7e41\u9ad4)"},{value:"zh-Hans",label:"\u4e2d\u6587 (\u7b80\u4f53) \u4e2d\u6587 (\u7b80\u4f53)"},{value:"zh-Hant",label:"\u4e2d\u6587 (\u7e41\u4f53) \u7e41\u9ad4\u4e2d\u6587 (\u7e41\u9ad4)"},{value:"zu",label:"\u7956\u9c81\u8bed Isi-Zulu"}],o={ar:"\u963f\u62c9\u4f2f\u8bed",am:"\u963f\u59c6\u54c8\u62c9\u8bed",bg:"\u4fdd\u52a0\u5229\u4e9a\u8bed",bn:"\u5b5f\u52a0\u62c9\u8bed",ca:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed",cs:"\u6377\u514b\u8bed",da:"\u4e39\u9ea6\u8bed",de:"\u5fb7\u8bed",el:"\u5e0c\u814a\u8bed",en:"\u82f1\u8bed",en_AU:"\u82f1\u8bed\uff08\u6fb3\u5927\u5229\u4e9a\uff09",en_GB:"\u82f1\u8bed\uff08\u82f1\u56fd\uff09",en_US:"\u82f1\u8bed\uff08\u7f8e\u56fd\uff09",es:"\u897f\u73ed\u7259\u8bed",es_419:"\u897f\u73ed\u7259\u8bed\uff08\u62c9\u4e01\u7f8e\u6d32\u548c\u52a0\u52d2\u6bd4\u5730\u533a\uff09",et:"\u7231\u6c99\u5c3c\u4e9a\u8bed",fa:"\u6ce2\u65af\u8bed",fi:"\u82ac\u5170\u8bed",fil:"\u83f2\u5f8b\u5bbe\u8bed",fr:"\u6cd5\u8bed",gu:"\u53e4\u5409\u62c9\u7279\u8bed",he:"\u5e0c\u4f2f\u6765\u8bed",hi:"\u5370\u5730\u8bed",hr:"\u514b\u7f57\u5730\u4e9a\u8bed",hu:"\u5308\u7259\u5229\u8bed",id:"\u5370\u5c3c\u8bed",it:"\u610f\u5927\u5229\u8bed",ja:"\u65e5\u8bed",kn:"\u5361\u7eb3\u8fbe\u8bed",ko:"\u97e9\u8bed",lt:"\u7acb\u9676\u5b9b\u8bed",lv:"\u62c9\u8131\u7ef4\u4e9a\u8bed",ml:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed",mr:"\u9a6c\u62c9\u5730\u8bed",ms:"\u9a6c\u6765\u8bed",nl:"\u8377\u5170\u8bed",no:"\u632a\u5a01\u8bed",pl:"\u6ce2\u5170\u8bed",pt:"\u8461\u8404\u7259\u8bed",pt_BR:"\u8461\u8404\u7259\u8bed\uff08\u5df4\u897f\uff09",pt_PT:"\u8461\u8404\u7259\u8bed\uff08\u8461\u8404\u7259\uff09",ro:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed",ru:"\u4fc4\u8bed",sk:"\u65af\u6d1b\u4f10\u514b\u8bed",sl:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed",sr:"\u585e\u5c14\u7ef4\u4e9a\u8bed",sv:"\u745e\u5178\u8bed",sw:"\u65af\u74e6\u5e0c\u91cc\u8bed",ta:"\u6cf0\u7c73\u5c14\u8bed",te:"\u6cf0\u5362\u56fa\u8bed",th:"\u6cf0\u8bed ",tr:"\u571f\u8033\u5176\u8bed",uk:"\u4e4c\u514b\u5170\u8bed",vi:"\u8d8a\u5357\u8bed",zh:"\u4e2d\u6587",zh_CN:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09",zh_TW:"\u4e2d\u6587\uff08\u53f0\u6e7e\uff09"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"1v1MT":[function(e,t,r){var n,a,o,i,l=e("@parcel/transformer-js/src/esmodule-helpers.js");l.defineInteropFlag(r),l.export(r,"BROWSER_TYPE",()=>o),l.export(r,"OS_TYPE",()=>i),(n=o||(o={}))[n.IE=0]="IE",n[n.EDGE=1]="EDGE",n[n.CHROME=2]="CHROME",n[n.OTHER=3]="OTHER",(a=i||(i={}))[a.MACOS=0]="MACOS",a[a.WINDOWS=1]="WINDOWS",a[a.OTHER=2]="OTHER"},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"7s1m0":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("../redux/storeNoStorage"),l=e("../redux/store"),s=e("../redux/no-storage-slice"),u=e("../contents/InlineSubtitleMask"),c=e("@plasmohq/storage/hook"),d=e("~tools/storages"),f=e("~tools/constants"),p=e("./GridLayoutMask"),h=n.interopDefault(p);let g=document,m=0,b=0,y=100;r.default=function(){let[e,t]=(0,c.useStorage)({key:f.STORAGE_VIDEO_MASK_HEIGHT,instance:d.storage},e=>void 0===e?80:e),[r,n]=(0,c.useStorage)({key:f.STORAGE_MASK_BACKDROP_BLUR_SHOW,instance:d.storage},e=>void 0===e?f.STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW:e),[p,v]=(0,c.useStorage)({key:f.STORAGE_MASK_BACKDROP_BLUR_COLOR,instance:d.storage},e=>void 0===e?f.STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR:e),w=(0,o.useContext)(u.VideoContext),[x,S]=(0,o.useState)("100%"),[E,_]=(0,o.useState)(0),[k,T]=(0,o.useState)("absolute"),[O,R]=(0,o.useState)(y),[I,P]=(0,o.useState)(1*e),[C,L]=(0,o.useState)(m),[j,D]=(0,o.useState)(1*e),A=(0,i.useAppSelector)(e=>e?.noStorager?.clientHeight?e.noStorager.clientHeight:0),N=(0,i.useAppSelector)(e=>e?.noStorager?.clientWidth?e.noStorager.clientWidth:0),[M]=(0,c.useStorage)({key:f.STORAGE_SHOWVIDEOMASK,instance:d.storage},e=>void 0!==e&&e),z=(0,i.useAppSelector)(e=>!!e?.noStorager?.maskFull&&e.noStorager.maskFull),U=(0,l.useAppSelector)(e=>e.odd.popupShow),F=(0,i.useAppSelector)(e=>!!e?.noStorager?.maskClickPlay),B=(0,i.useAppDispatch)();return(0,o.useEffect)(()=>{try{A&&(S(`${A/1}px`),D(A-I)),N&&_(N)}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[A,N]),(0,o.useEffect)(()=>{try{F?w?.play():w?.pause()}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[F]),(0,o.useEffect)(()=>{try{z?(D(0),P(A),R(100)):(D(A-1*e),P(1*e))}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[z]),(0,o.useEffect)(()=>{try{b=1*e,(g.baseURI?.includes("youtube")||g.baseURI?.includes("aliyundrive")||g.baseURI?.includes("ted.com")||g.baseURI?.includes("dami10.me"))&&T("")}catch(e){console.error("catched error in components.InlineSubtitleMaskChild :>> ",e)}},[]),(0,o.useEffect)(()=>{L(m),D(b),P(e),R(y)},[e]),U&&M&&(0,a.jsx)("div",{id:"gridLayoutParent",className:`w-full ${k} inset-x-0 bottom-0 text-black`,style:{height:x},onClick:e=>{e?.target?.id==="gridLayoutParent"&&B((0,s.setMaskClickPlay)(!F))},children:(0,a.jsx)(h.default,{showSubtitleListMask:M,gridLayoutRowHeight:1,maskBackdropBlur:r,maskBackdropColor:p,gridLayoutY:j,gridLayoutWidth:O,height:I,width:E,onResizeStop:function(e,r,n,a,o,i){let{h:l,w:s,x:u,y:c}=n;t(l),m=u,b=c,y=s},clickable:!0,gridLayoutX:C,isSubtitleList:!1})})}},{"react/jsx-runtime":"8iOxN",react:"329PG","../redux/storeNoStorage":"20ikG","../redux/store":"gaugC","../redux/no-storage-slice":"jZFan","../contents/InlineSubtitleMask":"8YGb6","@plasmohq/storage/hook":"3njIY","~tools/storages":"hpDvz","~tools/constants":"DgB7r","./GridLayoutMask":"hKWwx","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"3njIY":[function(e,t,r){var n,a=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))u.call(e,a)||a===r||o(e,a,{get:()=>t[a],enumerable:!(n=i(t,a))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(d,{useStorage:()=>b}),t.exports=c(o({},"__esModule",{value:!0}),d);var f=e("2a9ee5c064504ff5"),p=c(o(null!=(n=e("bb2de3e518963376"))?a(s(n)):{},"default",{value:n,enumerable:!0}),n),h=()=>{try{let e=globalThis.navigator?.userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if("Chrome"===e[1])return 100>parseInt(e[2])||globalThis.chrome.runtime?.getManifest()?.manifest_version===2}catch{}return!1},g=class{#e;#t;get primaryClient(){return this.#t}#r;get secondaryClient(){return this.#r}#a;get area(){return this.#a}get hasWebApi(){try{return"u">typeof window&&!!window.localStorage}catch(e){return console.error(e),!1}}#n=new Map;#i;get copiedKeySet(){return this.#i}isCopied=e=>this.hasWebApi&&(this.allCopied||this.copiedKeySet.has(e));#o=!1;get allCopied(){return this.#o}getExtStorageApi=()=>globalThis.browser?.storage||globalThis.chrome?.storage;get hasExtensionApi(){try{return!!this.getExtStorageApi()}catch(e){return console.error(e),!1}}isWatchSupported=()=>this.hasExtensionApi;keyNamespace="";isValidKey=e=>e.startsWith(this.keyNamespace);getNamespacedKey=e=>`${this.keyNamespace}${e}`;getUnnamespacedKey=e=>e.slice(this.keyNamespace.length);constructor({area:e="sync",allCopied:t=!1,copiedKeyList:r=[]}={}){this.setCopiedKeySet(r),this.#a=e,this.#o=t;try{this.hasWebApi&&(t||r.length>0)&&(this.#r=window.localStorage)}catch{}try{this.hasExtensionApi&&(this.#e=this.getExtStorageApi(),h()?this.#t=(0,p.default)(this.#e[this.area],{exclude:["getBytesInUse"],errorFirst:!1}):this.#t=this.#e[this.area])}catch{}}setCopiedKeySet(e){this.#i=new Set(e)}rawGetAll=()=>this.#t?.get();getAll=async()=>Object.entries(await this.rawGetAll()).filter(([e])=>this.isValidKey(e)).reduce((e,[t,r])=>(e[this.getUnnamespacedKey(t)]=r,e),{});copy=async e=>{let t=void 0===e;if(!t&&!this.copiedKeySet.has(e)||!this.allCopied||!this.hasExtensionApi)return!1;let r=this.allCopied?await this.rawGetAll():await this.#t.get((t?[...this.copiedKeySet]:[e]).map(this.getNamespacedKey));if(!r)return!1;let n=!1;for(let e in r){let t=r[e],a=this.#r?.getItem(e);this.#r?.setItem(e,t),n||=t!==a}return n};rawGet=async e=>this.hasExtensionApi?(await this.#t.get(e))[e]:this.isCopied(e)?this.#r?.getItem(e):null;rawSet=async(e,t)=>(this.isCopied(e)&&this.#r?.setItem(e,t),this.hasExtensionApi&&await this.#t.set({[e]:t}),null);clear=async(e=!1)=>{e&&this.#r?.clear(),await this.#t.clear()};rawRemove=async e=>{this.isCopied(e)&&this.#r?.removeItem(e),this.hasExtensionApi&&await this.#t.remove(e)};removeAll=async()=>{let e=Object.keys(await this.getAll());await Promise.all(e.map(this.remove))};watch=e=>{let t=this.isWatchSupported();return t&&this.#l(e),t};#l=e=>{for(let t in e){let r=this.getNamespacedKey(t),n=this.#n.get(r)?.callbackSet||new Set;if(n.add(e[t]),n.size>1)continue;let a=(e,t)=>{if(t!==this.area||!e[r])return;let n=this.#n.get(r);if(!n)throw Error(`Storage comms does not exist for nsKey: ${r}`);Promise.all([this.parseValue(e[r].newValue),this.parseValue(e[r].oldValue)]).then(([e,r])=>{for(let a of n.callbackSet)a({newValue:e,oldValue:r},t)})};this.#e.onChanged.addListener(a),this.#n.set(r,{callbackSet:n,listener:a})}};unwatch=e=>{let t=this.isWatchSupported();return t&&this.#s(e),t};#s(e){for(let t in e){let r=this.getNamespacedKey(t),n=e[t],a=this.#n.get(r);a&&(a.callbackSet.delete(n),0===a.callbackSet.size&&(this.#n.delete(r),this.#e.onChanged.removeListener(a.listener)))}}unwatchAll=()=>this.#c();#c(){this.#n.forEach(({listener:e})=>this.#e.onChanged.removeListener(e)),this.#n.clear()}async getItem(e){return this.get(e)}async setItem(e,t){await this.set(e,t)}async removeItem(e){return this.remove(e)}},m=class extends g{get=async e=>{let t=this.getNamespacedKey(e),r=await this.rawGet(t);return this.parseValue(r)};set=async(e,t)=>{let r=this.getNamespacedKey(e),n=JSON.stringify(t);return this.rawSet(r,n)};remove=async e=>{let t=this.getNamespacedKey(e);return this.rawRemove(t)};setNamespace=e=>{this.keyNamespace=e};parseValue=async e=>{try{if(void 0!==e)return JSON.parse(e)}catch(e){console.error(e)}}};function b(e,t){let r="object"==typeof e,n=r?e.key:e,[a,o]=(0,f.useState)(t),i=(0,f.useRef)(!1),l=(0,f.useRef)(t instanceof Function?t():t);(0,f.useEffect)(()=>{l.current=a},[a]);let s=(0,f.useRef)(r?e.instance:new m),u=(0,f.useCallback)(e=>s.current.set(n,void 0!==e?e:l.current),[n]),c=(0,f.useCallback)(async e=>{let t=e instanceof Function?e(l.current):e;await u(t),i.current&&o(t)},[u]);(0,f.useEffect)(()=>{i.current=!0;let e={[n]:e=>{i.current&&o(e.newValue)}};return s.current.watch(e),s.current.get(n)?.then(e=>{if(t instanceof Function){let r=t?.(e,!0);void 0!==r&&c(r)}else o(void 0!==e?e:t)}),()=>{i.current=!1,s.current.unwatch(e),t instanceof Function&&o(t)}},[n,c]);let d=(0,f.useCallback)(()=>{s.current.remove(n),o(void 0)},[n]);return[a,c,{setRenderValue:o,setStoreValue:u,remove:d}]}},{"2a9ee5c064504ff5":"329PG",bb2de3e518963376:"e8SYa"}],hKWwx:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react"),i=n.interopDefault(o),l=e("react-grid-layout"),s=n.interopDefault(l);r.default=(0,i.default).memo(function({showSubtitleListMask:e,gridLayoutRowHeight:t,maskBackdropBlur:r,maskBackdropColor:n,gridLayoutY:o,gridLayoutWidth:i,height:l,width:u,onResizeStop:c=(e,t,r,n,a,o)=>{},clickable:d=!1,gridLayoutX:f=0,isSubtitleList:p=!0}){return e?(0,a.jsx)(s.default,{className:"layout",margin:[0,0],containerPadding:[0,0],autoSize:!1,allowOverlap:!0,cols:100,onResizeStop:c,rowHeight:t,width:u,children:(0,a.jsx)("div",{id:"gridItem",onClick:e=>{d&&e?.target?.id==="gridItem"&&e.stopPropagation()},className:p?`${r?"backdrop-blur-3xl bg-white/30":"bg-white/30"} firefox:backdrop-filter-none /* \u9488\u5bf9 Firefox \u7684\u964d\u7ea7\u5904\u7406 */`:`${r?"backdrop-blur-3xl rounded-[10px]":"rounded-[10px]"}`,style:p?{zIndex:"1",backgroundColor:`${n}`}:{backgroundColor:`${n}`},"data-grid":{x:f,y:o,w:i,h:l*t,resizeHandles:["s","w","e","n","se","ne","nw","sw"]}},"c")}):null})},{"react/jsx-runtime":"8iOxN",react:"329PG","react-grid-layout":"4fH8F","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],"4fH8F":[function(e,t,r){t.exports=e("3764a6390c4a3c4d").default,t.exports.utils=e("afea141ded1338da"),t.exports.calculateUtils=e("53b6b68f160b8f13"),t.exports.Responsive=e("18507ee561baa353").default,t.exports.Responsive.utils=e("75c8003ad9c242fa"),t.exports.WidthProvider=e("5284753ca6682565").default},{"3764a6390c4a3c4d":"gLOkI",afea141ded1338da:"2O0hd","53b6b68f160b8f13":"5QU81","18507ee561baa353":"j8di3","75c8003ad9c242fa":"lIcka","5284753ca6682565":"fzl2W"}],gLOkI:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=d(e("36ce9ad027695120")),a=e("c7834e206d831a0c"),o=c(e("7c04e604f145fd9a")),i=e("484d6c00a3515ca1"),l=e("7a41030ef768ee44"),s=c(e("c83074a52663a9f1")),u=c(e("4106d865aed6ffbc"));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p="react-grid-layout",h=!1;try{h=/firefox/i.test(navigator.userAgent)}catch(e){}class g extends n.Component{constructor(){super(...arguments),f(this,"state",{activeDrag:null,layout:(0,i.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,i.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),f(this,"dragEnterCounter",0),f(this,"onDragStart",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l}=this.state,s=(0,i.getLayoutItem)(l,e);if(!s)return;let u={w:s.w,h:s.h,x:s.x,y:s.y,placeholder:!0,i:e};return this.setState({oldDragItem:(0,i.cloneLayoutItem)(s),oldLayout:l,activeDrag:u}),this.props.onDragStart(l,s,s,null,a,o)}),f(this,"onDrag",(e,t,r,n)=>{let{e:a,node:o}=n,{oldDragItem:l}=this.state,{layout:s}=this.state,{cols:u,allowOverlap:c,preventCollision:d}=this.props,f=(0,i.getLayoutItem)(s,e);if(!f)return;let p={w:f.w,h:f.h,x:f.x,y:f.y,placeholder:!0,i:e};s=(0,i.moveElement)(s,f,t,r,!0,d,(0,i.compactType)(this.props),u,c),this.props.onDrag(s,l,f,p,a,o),this.setState({layout:c?s:(0,i.compact)(s,(0,i.compactType)(this.props),u),activeDrag:p})}),f(this,"onDragStop",(e,t,r,n)=>{let{e:a,node:o}=n;if(!this.state.activeDrag)return;let{oldDragItem:l}=this.state,{layout:s}=this.state,{cols:u,preventCollision:c,allowOverlap:d}=this.props,f=(0,i.getLayoutItem)(s,e);if(!f)return;s=(0,i.moveElement)(s,f,t,r,!0,c,(0,i.compactType)(this.props),u,d);let p=d?s:(0,i.compact)(s,(0,i.compactType)(this.props),u);this.props.onDragStop(p,l,f,null,a,o);let{oldLayout:h}=this.state;this.setState({activeDrag:null,layout:p,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(p,h)}),f(this,"onResizeStart",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l}=this.state,s=(0,i.getLayoutItem)(l,e);s&&(this.setState({oldResizeItem:(0,i.cloneLayoutItem)(s),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(l,s,s,null,a,o))}),f(this,"onResize",(e,t,r,n)=>{let a,o,l,{e:s,node:u,size:c,handle:d}=n,{oldResizeItem:f}=this.state,{layout:p}=this.state,{cols:h,preventCollision:g,allowOverlap:m}=this.props,b=!1,[y,v]=(0,i.withLayoutItem)(p,e,e=>{if(o=e.x,l=e.y,-1!==["sw","w","nw","n","ne"].indexOf(d)&&(-1!==["sw","nw","w"].indexOf(d)&&(o=e.x+(e.w-t),t=e.x!==o&&o<0?e.w:t,o=o<0?0:o),-1!==["ne","n","nw"].indexOf(d)&&(l=e.y+(e.h-r),r=e.y!==l&&l<0?e.h:r,l=l<0?0:l),b=!0),g&&!m){let n=(0,i.getAllCollisions)(p,{...e,w:t,h:r,x:o,y:l}).filter(t=>t.i!==e.i);n.length>0&&(l=e.y,r=e.h,o=e.x,t=e.w,b=!1)}return e.w=t,e.h=r,e});if(!v)return;a=y,b&&(a=(0,i.moveElement)(y,v,o,l,!0,this.props.preventCollision,(0,i.compactType)(this.props),h,m));let w={w:v.w,h:v.h,x:v.x,y:v.y,static:!0,i:e};this.props.onResize(a,f,v,w,s,u),this.setState({layout:m?a:(0,i.compact)(a,(0,i.compactType)(this.props),h),activeDrag:w})}),f(this,"onResizeStop",(e,t,r,n)=>{let{e:a,node:o}=n,{layout:l,oldResizeItem:s}=this.state,{cols:u,allowOverlap:c}=this.props,d=(0,i.getLayoutItem)(l,e),f=c?l:(0,i.compact)(l,(0,i.compactType)(this.props),u);this.props.onResizeStop(f,s,d,null,a,o);let{oldLayout:p}=this.state;this.setState({activeDrag:null,layout:f,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(f,p)}),f(this,"onDragOver",e=>{if(e.preventDefault(),e.stopPropagation(),h&&!e.nativeEvent.target?.classList.contains(p))return!1;let{droppingItem:t,onDropDragOver:r,margin:a,cols:o,rowHeight:i,maxRows:s,width:u,containerPadding:c,transformScale:d}=this.props,f=r?.(e);if(!1===f)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;let g={...t,...f},{layout:m}=this.state,b=e.currentTarget.getBoundingClientRect(),y=e.clientX-b.left,v=e.clientY-b.top,w={left:y/d,top:v/d,e};if(this.state.droppingDOMNode){if(this.state.droppingPosition){let{left:e,top:t}=this.state.droppingPosition,r=e!=y||t!=v;r&&this.setState({droppingPosition:w})}}else{let e=(0,l.calcXY)({cols:o,margin:a,maxRows:s,rowHeight:i,containerWidth:u,containerPadding:c||a},v,y,g.w,g.h);this.setState({droppingDOMNode:n.createElement("div",{key:g.i}),droppingPosition:w,layout:[...m,{...g,x:e.x,y:e.y,static:!1,isDraggable:!0}]})}}),f(this,"removeDroppingPlaceholder",()=>{let{droppingItem:e,cols:t}=this.props,{layout:r}=this.state,n=(0,i.compact)(r.filter(t=>t.i!==e.i),(0,i.compactType)(this.props),t,this.props.allowOverlap);this.setState({layout:n,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),f(this,"onDragLeave",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter--,0===this.dragEnterCounter&&this.removeDroppingPlaceholder()}),f(this,"onDragEnter",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter++}),f(this,"onDrop",e=>{e.preventDefault(),e.stopPropagation();let{droppingItem:t}=this.props,{layout:r}=this.state,n=r.find(e=>e.i===t.i);this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(r,n,e)})}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(e,t){let r;if(t.activeDrag)return null;if((0,a.deepEqual)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,i.childrenEqual)(e.children,t.children)||(r=t.layout):r=e.layout,r){let t=(0,i.synchronizeLayoutWithChildren)(r,e.children,e.cols,(0,i.compactType)(e),e.allowOverlap);return{layout:t,compactType:e.compactType,children:e.children,propsLayout:e.layout}}return null}shouldComponentUpdate(e,t){return this.props.children!==e.children||!(0,i.fastRGLPropsEqual)(this.props,e,a.deepEqual)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}componentDidUpdate(e,t){if(!this.state.activeDrag){let e=this.state.layout,r=t.layout;this.onLayoutMaybeChanged(e,r)}}containerHeight(){if(!this.props.autoSize)return;let e=(0,i.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}onLayoutMaybeChanged(e,t){t||(t=this.state.layout),(0,a.deepEqual)(t,e)||this.props.onLayoutChange(e)}placeholder(){let{activeDrag:e}=this.state;if(!e)return null;let{width:t,cols:r,margin:a,containerPadding:o,rowHeight:i,maxRows:l,useCSSTransforms:u,transformScale:c}=this.props;return n.createElement(s.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:`react-grid-placeholder ${this.state.resizing?"placeholder-resizing":""}`,containerWidth:t,cols:r,margin:a,containerPadding:o||a,maxRows:l,rowHeight:i,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:u,transformScale:c},n.createElement("div",null))}processGridItem(e,t){if(!e||!e.key)return;let r=(0,i.getLayoutItem)(this.state.layout,String(e.key));if(!r)return null;let{width:a,cols:o,margin:l,containerPadding:u,rowHeight:c,maxRows:d,isDraggable:f,isResizable:p,isBounded:h,useCSSTransforms:g,transformScale:m,draggableCancel:b,draggableHandle:y,resizeHandles:v,resizeHandle:w}=this.props,{mounted:x,droppingPosition:S}=this.state,E="boolean"==typeof r.isDraggable?r.isDraggable:!r.static&&f,_="boolean"==typeof r.isResizable?r.isResizable:!r.static&&p,k=r.resizeHandles||v,T=E&&h&&!1!==r.isBounded;return n.createElement(s.default,{containerWidth:a,cols:o,margin:l,containerPadding:u||l,maxRows:d,rowHeight:c,cancel:b,handle:y,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:E,isResizable:_,isBounded:T,useCSSTransforms:g&&x,usePercentages:!x,transformScale:m,w:r.w,h:r.h,x:r.x,y:r.y,i:r.i,minH:r.minH,minW:r.minW,maxH:r.maxH,maxW:r.maxW,static:r.static,droppingPosition:t?S:void 0,resizeHandles:k,resizeHandle:w},e)}render(){let{className:e,style:t,isDroppable:r,innerRef:a}=this.props,l=(0,o.default)(p,e),s={height:this.containerHeight(),...t};return n.createElement("div",{ref:a,className:l,style:s,onDrop:r?this.onDrop:i.noop,onDragLeave:r?this.onDragLeave:i.noop,onDragEnter:r?this.onDragEnter:i.noop,onDragOver:r?this.onDragOver:i.noop},n.Children.map(this.props.children,e=>this.processGridItem(e)),r&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}r.default=g,f(g,"displayName","ReactGridLayout"),f(g,"propTypes",u.default),f(g,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:i.noop,onDragStart:i.noop,onDrag:i.noop,onDragStop:i.noop,onResizeStart:i.noop,onResize:i.noop,onResizeStop:i.noop,onDrop:i.noop,onDropDragOver:i.noop})},{"36ce9ad027695120":"329PG",c7834e206d831a0c:"49DAY","7c04e604f145fd9a":"jgTfo","484d6c00a3515ca1":"2O0hd","7a41030ef768ee44":"5QU81",c83074a52663a9f1:"ih0q5","4106d865aed6ffbc":"asecu"}],"49DAY":[function(e,t,r){(function(e){function t(e){return function(t,r,n,a,o,i,l){return e(t,r,l)}}function r(e){return function(t,r,n,a){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n,a);var o=a.get(t),i=a.get(r);if(o&&i)return o===r&&i===t;a.set(t,r),a.set(r,t);var l=e(t,r,n,a);return a.delete(t),a.delete(r),l}}function n(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r}function a(e){return e.constructor===Object||null==e.constructor}function o(e){return"function"==typeof e.then}function i(e,t){return e===t||e!=e&&t!=t}var l=Object.prototype.toString;function s(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,s=e.areObjectsEqual,u=e.areRegExpsEqual,c=e.areSetsEqual,d=(0,e.createIsNestedEqual)(f);function f(e,f,p){if(e===f)return!0;if(!e||!f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;if(a(e)&&a(f))return s(e,f,d,p);var h=Array.isArray(e),g=Array.isArray(f);if(h||g)return h===g&&t(e,f,d,p);var m=l.call(e);return m===l.call(f)&&("[object Date]"===m?r(e,f,d,p):"[object RegExp]"===m?u(e,f,d,p):"[object Map]"===m?n(e,f,d,p):"[object Set]"===m?c(e,f,d,p):"[object Object]"===m||"[object Arguments]"===m?!(o(e)||o(f))&&s(e,f,d,p):("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)&&i(e.valueOf(),f.valueOf()))}return f}function u(e,t,r,n){var a=e.length;if(t.length!==a)return!1;for(;a-- >0;)if(!r(e[a],t[a],a,a,e,t,n))return!1;return!0}var c=r(u);function d(e,t){return i(e.valueOf(),t.valueOf())}function f(e,t,r,n){var a=e.size===t.size;if(!a)return!1;if(!e.size)return!0;var o={},i=0;return e.forEach(function(l,s){if(a){var u=!1,c=0;t.forEach(function(a,d){!u&&!o[c]&&(u=r(s,d,i,c,e,t,n)&&r(l,a,s,d,e,t,n))&&(o[c]=!0),c++}),i++,a=u}}),a}var p=r(f),h=Object.prototype.hasOwnProperty;function g(e,t,r,n){var a,o=Object.keys(e),i=o.length;if(Object.keys(t).length!==i)return!1;for(;i-- >0;){if("_owner"===(a=o[i])){var l=!!e.$$typeof,s=!!t.$$typeof;if((l||s)&&l!==s)return!1}if(!h.call(t,a)||!r(e[a],t[a],a,a,e,t,n))return!1}return!0}var m=r(g);function b(e,t){return e.source===t.source&&e.flags===t.flags}function y(e,t,r,n){var a=e.size===t.size;if(!a)return!1;if(!e.size)return!0;var o={};return e.forEach(function(i,l){if(a){var s=!1,u=0;t.forEach(function(a,c){!s&&!o[u]&&(s=r(i,a,l,c,e,t,n))&&(o[u]=!0),u++}),a=s}}),a}var v=r(y),w=Object.freeze({areArraysEqual:u,areDatesEqual:d,areMapsEqual:f,areObjectsEqual:g,areRegExpsEqual:b,areSetsEqual:y,createIsNestedEqual:t}),x=Object.freeze({areArraysEqual:c,areDatesEqual:d,areMapsEqual:p,areObjectsEqual:m,areRegExpsEqual:b,areSetsEqual:v,createIsNestedEqual:t}),S=s(w),E=s(n(w,{createIsNestedEqual:function(){return i}})),_=s(x),k=s(n(x,{createIsNestedEqual:function(){return i}}));e.circularDeepEqual=function(e,t){return _(e,t,new WeakMap)},e.circularShallowEqual=function(e,t){return k(e,t,new WeakMap)},e.createCustomCircularEqual=function(e){var t=s(n(x,e(x)));return function(e,r,n){return void 0===n&&(n=new WeakMap),t(e,r,n)}},e.createCustomEqual=function(e){return s(n(w,e(w)))},e.deepEqual=function(e,t){return S(e,t,void 0)},e.sameValueZeroEqual=i,e.shallowEqual=function(e,t){return E(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})})(r)},{}],"2O0hd":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.bottom=i,r.childrenEqual=function(e,t){return(0,a.deepEqual)(o.default.Children.map(e,e=>e?.key),o.default.Children.map(t,e=>e?.key))&&(0,a.deepEqual)(o.default.Children.map(e,e=>e?.props["data-grid"]),o.default.Children.map(t,e=>e?.props["data-grid"]))},r.cloneLayout=l,r.cloneLayoutItem=u,r.collides=c,r.compact=d,r.compactItem=h,r.compactType=function(e){let{verticalCompact:t,compactType:r}=e||{};return!1===t?null:r},r.correctBounds=g,r.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},r.fastRGLPropsEqual=void 0,r.getAllCollisions=y,r.getFirstCollision=b,r.getLayoutItem=m,r.getStatics=v,r.modifyLayout=s,r.moveElement=w,r.moveElementAwayFromCollision=x,r.noop=void 0,r.perc=function(e){return 100*e+"%"},r.resizeItemInDirection=function(e,t,r,n){let a=P[e];return a?a(t,{...t,...r},n):r},r.setTopLeft=function(e){let{top:t,left:r,width:n,height:a}=e;return{top:`${t}px`,left:`${r}px`,width:`${n}px`,height:`${a}px`,position:"absolute"}},r.setTransform=function(e){let{top:t,left:r,width:n,height:a}=e,o=`translate(${r}px,${t}px)`;return{transform:o,WebkitTransform:o,MozTransform:o,msTransform:o,OTransform:o,width:`${n}px`,height:`${a}px`,position:"absolute"}},r.sortLayoutItems=C,r.sortLayoutItemsByColRow=j,r.sortLayoutItemsByRowCol=L,r.synchronizeLayoutWithChildren=function(e,t,r,n,a){e=e||[];let l=[];o.default.Children.forEach(t,t=>{if(t?.key==null)return;let r=m(e,String(t.key)),n=t.props["data-grid"];r&&null==n?l.push(u(r)):n?l.push(u({...n,i:t.key})):l.push(u({w:1,h:1,x:0,y:i(l),i:String(t.key)}))});let s=g(l,{cols:r});return a?s:d(s,n,r)},r.validateLayout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",r=["x","y","w","h"];if(!Array.isArray(e))throw Error(t+" must be an array!");for(let n=0,a=e.length;n<a;n++){let a=e[n];for(let e=0;e<r.length;e++){let o=r[e],i=a[o];if("number"!=typeof i||Number.isNaN(i))throw Error(`ReactGridLayout: ${t}[${n}].${o} must be a number! Received: ${i} (${typeof i})`)}if(void 0!==a.i&&"string"!=typeof a.i)throw Error(`ReactGridLayout: ${t}[${n}].i must be a string! Received: ${a.i} (${typeof a.i})`)}},r.withLayoutItem=function(e,t,r){let n=m(e,t);return n?[e=s(e,n=r(u(n))),n]:[e,null]};var n,a=e("eaaffb3c9d832397"),o=(n=e("d32ce1a889c15875"))&&n.__esModule?n:{default:n};function i(e){let t=0,r;for(let n=0,a=e.length;n<a;n++)(r=e[n].y+e[n].h)>t&&(t=r);return t}function l(e){let t=Array(e.length);for(let r=0,n=e.length;r<n;r++)t[r]=u(e[r]);return t}function s(e,t){let r=Array(e.length);for(let n=0,a=e.length;n<a;n++)t.i===e[n].i?r[n]=t:r[n]=e[n];return r}function u(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:!!e.moved,static:!!e.static,isDraggable:e.isDraggable,isResizable:e.isResizable,resizeHandles:e.resizeHandles,isBounded:e.isBounded}}function c(e,t){return e.i!==t.i&&!(e.x+e.w<=t.x)&&!(e.x>=t.x+t.w)&&!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h)}function d(e,t,r,n){let a=v(e),o=C(e,t),i=Array(e.length);for(let l=0,s=o.length;l<s;l++){let s=u(o[l]);s.static||(s=h(a,s,t,r,o,n),a.push(s)),i[e.indexOf(o[l])]=s,s.moved=!1}return i}r.fastRGLPropsEqual=e("10aafba4c9d77144");let f={x:"w",y:"h"};function p(e,t,r,n){let a=f[n];t[n]+=1;let o=e.map(e=>e.i).indexOf(t.i);for(let i=o+1;i<e.length;i++){let o=e[i];if(!o.static){if(o.y>t.y+t.h)break;c(t,o)&&p(e,o,r+t[a],n)}}t[n]=r}function h(e,t,r,n,a,o){let l;let s="horizontal"===r;if("vertical"===r)for(t.y=Math.min(i(e),t.y);t.y>0&&!b(e,t);)t.y--;else if(s)for(;t.x>0&&!b(e,t);)t.x--;for(;(l=b(e,t))&&!(null===r&&o);)if(s?p(a,t,l.x+l.w,"x"):p(a,t,l.y+l.h,"y"),s&&t.x+t.w>n)for(t.x=n-t.w,t.y++;t.x>0&&!b(e,t);)t.x--;return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function g(e,t){let r=v(e);for(let n=0,a=e.length;n<a;n++){let a=e[n];if(a.x+a.w>t.cols&&(a.x=t.cols-a.w),a.x<0&&(a.x=0,a.w=t.cols),a.static)for(;b(r,a);)a.y++;else r.push(a)}return e}function m(e,t){for(let r=0,n=e.length;r<n;r++)if(e[r].i===t)return e[r]}function b(e,t){for(let r=0,n=e.length;r<n;r++)if(c(e[r],t))return e[r]}function y(e,t){return e.filter(e=>c(e,t))}function v(e){return e.filter(e=>e.static)}function w(e,t,r,n,a,o,i,s,u){if(t.static&&!0!==t.isDraggable||t.y===n&&t.x===r)return e;t.i,String(r),String(n),t.x,t.y;let c=t.x,d=t.y;"number"==typeof r&&(t.x=r),"number"==typeof n&&(t.y=n),t.moved=!0;let f=C(e,i),p="vertical"===i&&"number"==typeof n?d>=n:"horizontal"===i&&"number"==typeof r&&c>=r;p&&(f=f.reverse());let h=y(f,t),g=h.length>0;if(g&&u)return l(e);if(g&&o)return t.i,t.x=c,t.y=d,t.moved=!1,e;for(let r=0,n=h.length;r<n;r++){let n=h[r];t.i,t.x,t.y,n.i,n.x,n.y,n.moved||(e=n.static?x(e,n,t,a,i,s):x(e,t,n,a,i,s))}return e}function x(e,t,r,n,a,o){let i="horizontal"===a,l="vertical"===a,s=t.static;if(n){n=!1;let u={x:i?Math.max(t.x-r.w,0):r.x,y:l?Math.max(t.y-r.h,0):r.y,w:r.w,h:r.h,i:"-1"},c=b(e,u),d=c&&c.y+c.h>t.y,f=c&&t.x+t.w>c.x;if(!c)return r.i,u.x,u.y,w(e,r,i?u.x:void 0,l?u.y:void 0,n,s,a,o);if(d&&l)return w(e,r,void 0,t.y+1,n,s,a,o);if(d&&null==a)return t.y=r.y,r.y=r.y+r.h,e;if(f&&i)return w(e,t,r.x,void 0,n,s,a,o)}let u=i?r.x+1:void 0,c=l?r.y+1:void 0;return null==u&&null==c?e:w(e,r,i?r.x+1:void 0,l?r.y+1:void 0,n,s,a,o)}let S=(e,t,r,n)=>e+r>n?t:r,E=(e,t,r)=>e<0?t:r,_=e=>Math.max(0,e),k=e=>Math.max(0,e),T=(e,t,r)=>{let{left:n,height:a,width:o}=t,i=e.top-(a-e.height);return{left:n,width:o,height:E(i,e.height,a),top:k(i)}},O=(e,t,r)=>{let{top:n,left:a,height:o,width:i}=t;return{top:n,height:o,width:S(e.left,e.width,i,r),left:_(a)}},R=(e,t,r)=>{let{top:n,height:a,width:o}=t,i=e.left-(o-e.width);return{height:a,width:i<0?e.width:S(e.left,e.width,o,r),top:k(n),left:_(i)}},I=(e,t,r)=>{let{top:n,left:a,height:o,width:i}=t;return{width:i,left:a,height:E(n,e.height,o),top:k(n)}},P={n:T,ne:function(){return T(arguments.length<=0?void 0:arguments[0],O(...arguments),arguments.length<=2?void 0:arguments[2])},e:O,se:function(){return I(arguments.length<=0?void 0:arguments[0],O(...arguments),arguments.length<=2?void 0:arguments[2])},s:I,sw:function(){return I(arguments.length<=0?void 0:arguments[0],R(...arguments),arguments.length<=2?void 0:arguments[2])},w:R,nw:function(){return T(arguments.length<=0?void 0:arguments[0],R(...arguments),arguments.length<=2?void 0:arguments[2])}};function C(e,t){return"horizontal"===t?j(e):"vertical"===t?L(e):e}function L(e){return e.slice(0).sort(function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function j(e){return e.slice(0).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}r.noop=()=>{}},{eaaffb3c9d832397:"49DAY",d32ce1a889c15875:"329PG","10aafba4c9d77144":"iZZlW"}],iZZlW:[function(e,t,r){t.exports=function(e,t,r){return e===t||e.className===t.className&&r(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&r(e.verticalCompact,t.verticalCompact)&&r(e.compactType,t.compactType)&&r(e.layout,t.layout)&&r(e.margin,t.margin)&&r(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&r(e.resizeHandles,t.resizeHandles)&&r(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&r(e.droppingItem,t.droppingItem)&&r(e.innerRef,t.innerRef)}},{}],"5QU81":[function(e,t,r){function n(e){let{margin:t,containerPadding:r,containerWidth:n,cols:a}=e;return(n-t[0]*(a-1)-2*r[0])/a}function a(e,t,r){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*r):e}function o(e,t,r){return Math.max(Math.min(e,r),t)}Object.defineProperty(r,"__esModule",{value:!0}),r.calcGridColWidth=n,r.calcGridItemPosition=function(e,t,r,o,i,l){let{margin:s,containerPadding:u,rowHeight:c}=e,d=n(e),f={};return l&&l.resizing?(f.width=Math.round(l.resizing.width),f.height=Math.round(l.resizing.height)):(f.width=a(o,d,s[0]),f.height=a(i,c,s[1])),l&&l.dragging?(f.top=Math.round(l.dragging.top),f.left=Math.round(l.dragging.left)):l&&l.resizing&&"number"==typeof l.resizing.top&&"number"==typeof l.resizing.left?(f.top=Math.round(l.resizing.top),f.left=Math.round(l.resizing.left)):(f.top=Math.round((c+s[1])*r+u[1]),f.left=Math.round((d+s[0])*t+u[0])),f},r.calcGridItemWHPx=a,r.calcWH=function(e,t,r,a,i,l){let{margin:s,maxRows:u,cols:c,rowHeight:d}=e,f=n(e),p=Math.round((t+s[0])/(f+s[0])),h=Math.round((r+s[1])/(d+s[1])),g=o(p,0,c-a),m=o(h,0,u-i);return -1!==["sw","w","nw"].indexOf(l)&&(g=o(p,0,c)),-1!==["nw","n","ne"].indexOf(l)&&(m=o(h,0,u)),{w:g,h:m}},r.calcXY=function(e,t,r,a,i){let{margin:l,containerPadding:s,cols:u,rowHeight:c,maxRows:d}=e,f=n(e),p=Math.round((r-s[0])/(f+l[0])),h=Math.round((t-s[1])/(c+l[1]));return{x:p=o(p,0,u-a),y:h=o(h,0,d-i)}},r.clamp=o},{}],ih0q5:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=f(e("568d4a95cf372ffd")),a=e("e01ce95a272dfde9"),o=f(e("55d43943fc04043c")),i=e("60ee1a0c210fb1ab"),l=e("39cd3dddf4915540"),s=e("f73079afde28dec7"),u=e("17a9f3443b14c64c"),c=e("9be022ae5a4626c6"),d=f(e("fc34745959754cee"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends n.default.Component{constructor(){super(...arguments),p(this,"state",{resizing:null,dragging:null,className:""}),p(this,"elementRef",n.default.createRef()),p(this,"onDragStart",(e,t)=>{let{node:r}=t,{onDragStart:n,transformScale:a}=this.props;if(!n)return;let o={top:0,left:0},{offsetParent:i}=r;if(!i)return;let l=i.getBoundingClientRect(),s=r.getBoundingClientRect(),c=s.left/a,d=l.left/a,f=s.top/a,p=l.top/a;o.left=c-d+i.scrollLeft,o.top=f-p+i.scrollTop,this.setState({dragging:o});let{x:h,y:g}=(0,u.calcXY)(this.getPositionParams(),o.top,o.left,this.props.w,this.props.h);return n.call(this,this.props.i,h,g,{e,node:r,newPosition:o})}),p(this,"onDrag",(e,t,r)=>{let{node:n,deltaX:o,deltaY:i}=t,{onDrag:l}=this.props;if(!l)return;if(!this.state.dragging)throw Error("onDrag called before onDragStart.");let s=this.state.dragging.top+i,c=this.state.dragging.left+o,{isBounded:d,i:f,w:p,h,containerWidth:g}=this.props,m=this.getPositionParams();if(d){let{offsetParent:e}=n;if(e){let{margin:t,rowHeight:r}=this.props,n=e.clientHeight-(0,u.calcGridItemWHPx)(h,r,t[1]);s=(0,u.clamp)(s,0,n);let a=(0,u.calcGridColWidth)(m),o=g-(0,u.calcGridItemWHPx)(p,a,t[0]);c=(0,u.clamp)(c,0,o)}}let b={top:s,left:c};r?this.setState({dragging:b}):(0,a.flushSync)(()=>{this.setState({dragging:b})});let{x:y,y:v}=(0,u.calcXY)(m,s,c,p,h);return l.call(this,f,y,v,{e,node:n,newPosition:b})}),p(this,"onDragStop",(e,t)=>{let{node:r}=t,{onDragStop:n}=this.props;if(!n)return;if(!this.state.dragging)throw Error("onDragEnd called before onDragStart.");let{w:a,h:o,i}=this.props,{left:l,top:s}=this.state.dragging;this.setState({dragging:null});let{x:c,y:d}=(0,u.calcXY)(this.getPositionParams(),s,l,a,o);return n.call(this,i,c,d,{e,node:r,newPosition:{top:s,left:l}})}),p(this,"onResizeStop",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStop")),p(this,"onResizeStart",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStart")),p(this,"onResize",(e,t,r)=>this.onResizeHandler(e,t,r,"onResize"))}shouldComponentUpdate(e,t){if(this.props.children!==e.children||this.props.droppingPosition!==e.droppingPosition)return!0;let r=(0,u.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),n=(0,u.calcGridItemPosition)(this.getPositionParams(e),e.x,e.y,e.w,e.h,t);return!(0,s.fastPositionEqual)(r,n)||this.props.useCSSTransforms!==e.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(e){this.moveDroppingItem(e)}moveDroppingItem(e){let{droppingPosition:t}=this.props;if(!t)return;let r=this.elementRef.current;if(!r)return;let n=e.droppingPosition||{left:0,top:0},{dragging:a}=this.state,o=a&&t.left!==n.left||t.top!==n.top;if(a){if(o){let e=t.left-a.left,n=t.top-a.top;this.onDrag(t.e,{node:r,deltaX:e,deltaY:n},!0)}}else this.onDragStart(t.e,{node:r,deltaX:t.left,deltaY:t.top})}getPositionParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}createStyle(e){let t;let{usePercentages:r,containerWidth:n,useCSSTransforms:a}=this.props;return a?t=(0,s.setTransform)(e):(t=(0,s.setTopLeft)(e),r&&(t.left=(0,s.perc)(e.left/n),t.width=(0,s.perc)(e.width/n))),t}mixinDraggable(e,t){return n.default.createElement(i.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}curryResizeHandler(e,t){return(r,n)=>t(r,n,e)}mixinResizable(e,t,r){let{cols:a,minW:o,minH:i,maxW:s,maxH:c,transformScale:d,resizeHandles:f,resizeHandle:p}=this.props,h=this.getPositionParams(),g=(0,u.calcGridItemPosition)(h,0,0,a,0).width,m=(0,u.calcGridItemPosition)(h,0,0,o,i),b=(0,u.calcGridItemPosition)(h,0,0,s,c),y=[m.width,m.height],v=[Math.min(b.width,g),Math.min(b.height,1/0)];return n.default.createElement(l.Resizable,{draggableOpts:{disabled:!r},className:r?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:y,maxConstraints:v,onResizeStop:this.curryResizeHandler(t,this.onResizeStop),onResizeStart:this.curryResizeHandler(t,this.onResizeStart),onResize:this.curryResizeHandler(t,this.onResize),transformScale:d,resizeHandles:f,handle:p},e)}onResizeHandler(e,t,r,n){let{node:o,size:i,handle:l}=t,c=this.props[n];if(!c)return;let{x:d,y:f,i:p,maxH:h,minH:g,containerWidth:m}=this.props,{minW:b,maxW:y}=this.props,v=i;o&&(v=(0,s.resizeItemInDirection)(l,r,i,m),(0,a.flushSync)(()=>{this.setState({resizing:"onResizeStop"===n?null:v})}));let{w,h:x}=(0,u.calcWH)(this.getPositionParams(),v.width,v.height,d,f,l);w=(0,u.clamp)(w,Math.max(b,1),y),x=(0,u.clamp)(x,g,h),c.call(this,p,w,x,{e,node:o,size:v,handle:l})}render(){let{x:e,y:t,w:r,h:a,isDraggable:o,isResizable:i,droppingPosition:l,useCSSTransforms:s}=this.props,c=(0,u.calcGridItemPosition)(this.getPositionParams(),e,t,r,a,this.state),f=n.default.Children.only(this.props.children),p=n.default.cloneElement(f,{ref:this.elementRef,className:(0,d.default)("react-grid-item",f.props.className,this.props.className,{static:this.props.static,resizing:!!this.state.resizing,"react-draggable":o,"react-draggable-dragging":!!this.state.dragging,dropping:!!l,cssTransforms:s}),style:{...this.props.style,...f.props.style,...this.createStyle(c)}});return p=this.mixinResizable(p,c,i),p=this.mixinDraggable(p,o)}}r.default=h,p(h,"propTypes",{children:o.default.element,cols:o.default.number.isRequired,containerWidth:o.default.number.isRequired,rowHeight:o.default.number.isRequired,margin:o.default.array.isRequired,maxRows:o.default.number.isRequired,containerPadding:o.default.array.isRequired,x:o.default.number.isRequired,y:o.default.number.isRequired,w:o.default.number.isRequired,h:o.default.number.isRequired,minW:function(e,t){let r=e[t];return"number"!=typeof r?Error("minWidth not Number"):r>e.w||r>e.maxW?Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){let r=e[t];return"number"!=typeof r?Error("maxWidth not Number"):r<e.w||r<e.minW?Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(e,t){let r=e[t];return"number"!=typeof r?Error("minHeight not Number"):r>e.h||r>e.maxH?Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){let r=e[t];return"number"!=typeof r?Error("maxHeight not Number"):r<e.h||r<e.minH?Error("maxHeight smaller than item height/minHeight"):void 0},i:o.default.string.isRequired,resizeHandles:c.resizeHandleAxesType,resizeHandle:c.resizeHandleType,onDragStop:o.default.func,onDragStart:o.default.func,onDrag:o.default.func,onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,isDraggable:o.default.bool.isRequired,isResizable:o.default.bool.isRequired,isBounded:o.default.bool.isRequired,static:o.default.bool,useCSSTransforms:o.default.bool.isRequired,transformScale:o.default.number,className:o.default.string,handle:o.default.string,cancel:o.default.string,droppingPosition:o.default.shape({e:o.default.object.isRequired,left:o.default.number.isRequired,top:o.default.number.isRequired})}),p(h,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},{"568d4a95cf372ffd":"329PG",e01ce95a272dfde9:"f20Gy","55d43943fc04043c":"9DVzE","60ee1a0c210fb1ab":"hwPHo","39cd3dddf4915540":"l981v",f73079afde28dec7:"2O0hd","17a9f3443b14c64c":"5QU81","9be022ae5a4626c6":"asecu",fc34745959754cee:"jgTfo"}],"9DVzE":[function(e,t,r){t.exports=e("ec56c2c14d36aeb0")()},{ec56c2c14d36aeb0:"5iB3Z"}],"5iB3Z":[function(e,t,r){var n=e("5378f1047c18e058");function a(){}function o(){}o.resetWarningCache=a,t.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},{"5378f1047c18e058":"eL5Jx"}],eL5Jx:[function(e,t,r){t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},{}],hwPHo:[function(e,t,r){let{default:n,DraggableCore:a}=e("9e69e1b628dbb8ad");t.exports=n,t.exports.default=n,t.exports.DraggableCore=a},{"9e69e1b628dbb8ad":"b1kVA"}],b1kVA:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),r.default=void 0;var n=p(e("2fd136b1d54347bd")),a=f(e("f459877ede2a2452")),o=f(e("1328bc33f720ee5c")),i=e("d491a87854f8c525"),l=e("c9ea8eafcdfecc3f"),s=e("b12f0a0968637b3a"),u=e("8b32a18021b29085"),c=f(e("189b94408570a48")),d=f(e("1f0defa721ebb1ce"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(p=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function g(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends n.Component{static getDerivedStateFromProps(e,t){let{position:r}=e,{prevPropsPosition:n}=t;return r&&(!n||r.x!==n.x||r.y!==n.y)?((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:{...r}}):null}constructor(e){super(e),g(this,"onDragStart",(e,t)=>{(0,d.default)("Draggable: onDragStart: %j",t);let r=this.props.onStart(e,(0,s.createDraggableData)(this,t));if(!1===r)return!1;this.setState({dragging:!0,dragged:!0})}),g(this,"onDrag",(e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);let r=(0,s.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){let{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;let[a,o]=(0,s.getBoundPosition)(this,n.x,n.y);n.x=a,n.y=o,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}let a=this.props.onDrag(e,r);if(!1===a)return!1;this.setState(n)}),g(this,"onDragStop",(e,t)=>{if(!this.state.dragging)return!1;let r=this.props.onStop(e,(0,s.createDraggableData)(this,t));if(!1===r)return!1;(0,d.default)("Draggable: onDragStop: %j",t);let n={dragging:!1,slackX:0,slackY:0},a=!!this.props.position;if(a){let{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)}),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},e.position&&!(e.onDrag||e.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode() instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??o.default.findDOMNode(this)}render(){let{axis:e,bounds:t,children:r,defaultPosition:a,defaultClassName:o,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:p,scale:g,...m}=this.props,b={},y=null,v=!f||this.state.dragging,w=f||a,x={x:(0,s.canDragX)(this)&&v?this.state.x:w.x,y:(0,s.canDragY)(this)&&v?this.state.y:w.y};this.state.isElementSVG?y=(0,l.createSVGTransform)(x,p):b=(0,l.createCSSTransform)(x,p);let S=(0,i.clsx)(r.props.className||"",o,{[u]:this.state.dragging,[d]:this.state.dragged});return n.createElement(c.default,h({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:S,style:{...r.props.style,...b},transform:y}))}}r.default=m,g(m,"displayName","Draggable"),g(m,"propTypes",{...c.default.propTypes,axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},{"2fd136b1d54347bd":"329PG",f459877ede2a2452:"9DVzE","1328bc33f720ee5c":"f20Gy",d491a87854f8c525:"jgTfo",c9ea8eafcdfecc3f:"iZxgN",b12f0a0968637b3a:"dEF0b","8b32a18021b29085":"5motf","189b94408570a48":"cDNiE","1f0defa721ebb1ce":"2yTX8"}],iZxgN:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.addClassName=c,r.addEvent=function(e,t,r,n){if(!e)return;let a={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,a):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},r.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&c(e.body,"react-draggable-transparent-selection")},r.createCSSTransform=function(e,t){let r=s(e,t,"px");return{[(0,a.browserPrefixToKey)("transform",a.default)]:r}},r.createSVGTransform=function(e,t){let r=s(e,t,"");return r},r.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,e=>t===e.identifier)||e.changedTouches&&(0,n.findInArray)(e.changedTouches,e=>t===e.identifier)},r.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},r.getTranslation=s,r.innerHeight=function(e){let t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom)},r.innerWidth=function(e){let t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight)},r.matchesSelector=l,r.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(l(n,t))return!0;if(n===r)break;n=n.parentNode}while(n)return!1},r.offsetXYFromParent=function(e,t,r){let n=t===t.ownerDocument.body,a=n?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-a.left)/r,i=(e.clientY+t.scrollTop-a.top)/r;return{x:o,y:i}},r.outerHeight=function(e){let t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+((0,n.int)(r.borderTopWidth)+(0,n.int)(r.borderBottomWidth))},r.outerWidth=function(e){let t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+((0,n.int)(r.borderLeftWidth)+(0,n.int)(r.borderRightWidth))},r.removeClassName=d,r.removeEvent=function(e,t,r,n){if(!e)return;let a={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,a):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},r.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{u(e)}):u(e)};var n=e("128ec9d48d171bff"),a=o(e("f3fd631b4878df20"));function o(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(o=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}let i="";function l(e,t){return i||(i=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return(0,n.isFunction)(e[t])})),!!(0,n.isFunction)(e[i])&&e[i](t)}function s(e,t,r){let{x:n,y:a}=e,o=`translate(${n}${r},${a}${r})`;if(t){let e=`${"string"==typeof t.x?t.x:t.x+r}`,n=`${"string"==typeof t.y?t.y:t.y+r}`;o=`translate(${e}, ${n})`+o}return o}function u(e){if(e)try{if(e.body&&d(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{let t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function c(e,t){e.classList?e.classList.add(t):e.className.match(RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function d(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}},{"128ec9d48d171bff":"5motf",f3fd631b4878df20:"3YZSI"}],"5motf":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dontSetMe=function(e,t,r){if(e[t])return Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`)},r.findInArray=function(e,t){for(let r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},r.int=function(e){return parseInt(e,10)},r.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},r.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},{}],"3YZSI":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.browserPrefixToKey=o,r.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},r.default=void 0,r.getPrefix=a;let n=["Moz","Webkit","O","ms"];function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";let t=window.document?.documentElement?.style;if(!t||e in t)return"";for(let r=0;r<n.length;r++)if(o(e,n[r]) in t)return n[r];return""}function o(e,t){return t?`${t}${function(e){let t="",r=!0;for(let n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)}`:e}r.default=a()},{}],dEF0b:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},r.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},r.createCoreData=function(e,t,r){let a=!(0,n.isNum)(e.lastX),i=o(e);return a?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:i,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},r.createDraggableData=function(e,t){let r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},r.getBoundPosition=function(e,t,r){var i;if(!e.props.bounds)return[t,r];let{bounds:l}=e.props;l="string"==typeof l?l:{left:(i=l).left,top:i.top,right:i.right,bottom:i.bottom};let s=o(e);if("string"==typeof l){let e;let{ownerDocument:t}=s,r=t.defaultView;if("parent"===l)e=s.parentNode;else{let t=s.getRootNode();e=t.querySelector(l)}if(!(e instanceof r.HTMLElement))throw Error('Bounds selector "'+l+'" could not find an element.');let o=e,i=r.getComputedStyle(s),u=r.getComputedStyle(o);l={left:-s.offsetLeft+(0,n.int)(u.paddingLeft)+(0,n.int)(i.marginLeft),top:-s.offsetTop+(0,n.int)(u.paddingTop)+(0,n.int)(i.marginTop),right:(0,a.innerWidth)(o)-(0,a.outerWidth)(s)-s.offsetLeft+(0,n.int)(u.paddingRight)-(0,n.int)(i.marginRight),bottom:(0,a.innerHeight)(o)-(0,a.outerHeight)(s)-s.offsetTop+(0,n.int)(u.paddingBottom)-(0,n.int)(i.marginBottom)}}return(0,n.isNum)(l.right)&&(t=Math.min(t,l.right)),(0,n.isNum)(l.bottom)&&(r=Math.min(r,l.bottom)),(0,n.isNum)(l.left)&&(t=Math.max(t,l.left)),(0,n.isNum)(l.top)&&(r=Math.max(r,l.top)),[t,r]},r.getControlPosition=function(e,t,r){let n="number"==typeof t?(0,a.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;let i=o(r),l=r.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,a.offsetXYFromParent)(n||e,l,r.props.scale)},r.snapToGrid=function(e,t,r){let n=Math.round(t/e[0])*e[0],a=Math.round(r/e[1])*e[1];return[n,a]};var n=e("92c38512856de68e"),a=e("6098f9bad823f2df");function o(e){let t=e.findDOMNode();if(!t)throw Error("<DraggableCore>: Unmounted during event!");return t}},{"92c38512856de68e":"5motf","6098f9bad823f2df":"iZxgN"}],cDNiE:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=d(e("dd588a8c273ad1b5")),a=c(e("768d02d2daf34fc2")),o=c(e("836a0780c587b4fa")),i=e("9810f134d19813d9"),l=e("dca2b3ae5b1137ad"),s=e("73b1be9efd8eefb0"),u=c(e("6edae8a175dde4b8"));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},h=p.mouse;class g extends n.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;let t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw Error("<DraggableCore> not mounted on DragStart!");let{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();let n=(0,i.getTouchIdentifier)(e);this.touchIdentifier=n;let a=(0,l.getControlPosition)(e,n,this);if(null==a)return;let{x:o,y:s}=a,c=(0,l.createCoreData)(this,o,s);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart);let d=this.props.onStart(e,c);!1!==d&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(r),this.dragging=!0,this.lastX=o,this.lastY=s,(0,i.addEvent)(r,h.move,this.handleDrag),(0,i.addEvent)(r,h.stop,this.handleDragStop))}),f(this,"handleDrag",e=>{let t=(0,l.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,l.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}let a=(0,l.createCoreData)(this,r,n);(0,u.default)("DraggableCore: handleDrag: %j",a);let o=this.props.onDrag(e,a);if(!1===o||!1===this.mounted){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(t){let e=document.createEvent("MouseEvents");e.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(e)}return}this.lastX=r,this.lastY=n}),f(this,"handleDragStop",e=>{if(!this.dragging)return;let t=(0,l.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,l.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}let a=(0,l.createCoreData)(this,r,n),o=this.props.onStop(e,a);if(!1===o||!1===this.mounted)return!1;let s=this.findDOMNode();s&&this.props.enableUserSelectHack&&(0,i.scheduleRemoveUserSelectStyles)(s.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",a),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,s&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(s.ownerDocument,h.move,this.handleDrag),(0,i.removeEvent)(s.ownerDocument,h.stop,this.handleDragStop))}),f(this,"onMouseDown",e=>(h=p.mouse,this.handleDragStart(e))),f(this,"onMouseUp",e=>(h=p.mouse,this.handleDragStop(e))),f(this,"onTouchStart",e=>(h=p.touch,this.handleDragStart(e))),f(this,"onTouchEnd",e=>(h=p.touch,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;let e=this.findDOMNode();e&&(0,i.addEvent)(e,p.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;let e=this.findDOMNode();if(e){let{ownerDocument:t}=e;(0,i.removeEvent)(t,p.mouse.move,this.handleDrag),(0,i.removeEvent)(t,p.touch.move,this.handleDrag),(0,i.removeEvent)(t,p.mouse.stop,this.handleDragStop),(0,i.removeEvent)(t,p.touch.stop,this.handleDragStop),(0,i.removeEvent)(e,p.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:o.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}r.default=g,f(g,"displayName","DraggableCore"),f(g,"propTypes",{allowAnyClick:a.default.bool,allowMobileScroll:a.default.bool,children:a.default.node.isRequired,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),f(g,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},{dd588a8c273ad1b5:"329PG","768d02d2daf34fc2":"9DVzE","836a0780c587b4fa":"f20Gy","9810f134d19813d9":"iZxgN",dca2b3ae5b1137ad:"dEF0b","73b1be9efd8eefb0":"5motf","6edae8a175dde4b8":"2yTX8"}],"2yTX8":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){}},{}],l981v:[function(e,t,r){t.exports=function(){throw Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},t.exports.Resizable=e("7bde5426d7db7bf9").default,t.exports.ResizableBox=e("fa78efa4d71fc9cf").default},{"7bde5426d7db7bf9":"lsa77",fa78efa4d71fc9cf:"bfdTj"}],lsa77:[function(e,t,r){r.__esModule=!0,r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(e("9731f85e5eac3bdf")),a=e("5e9eed5440c7927b"),o=e("1a8d16742d51e35c"),i=e("608855201264dc32"),l=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){for(var t,r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).handleRefs={},t.lastHandleRect=null,t.slack=null,t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f(t,e);var r=t.prototype;return r.componentWillUnmount=function(){this.resetData()},r.resetData=function(){this.lastHandleRect=this.slack=null},r.runConstraints=function(e,t){var r=this.props,n=r.minConstraints,a=r.maxConstraints,o=r.lockAspectRatio;if(!n&&!a&&!o)return[e,t];if(o){var i=this.props.width/this.props.height;Math.abs(e-this.props.width)>Math.abs((t-this.props.height)*i)?t=e/i:e=t*i}var l=e,s=t,u=this.slack||[0,0],c=u[0],d=u[1];return e+=c,t+=d,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),a&&(e=Math.min(a[0],e),t=Math.min(a[1],t)),this.slack=[c+(l-e),d+(s-t)],[e,t]},r.resizeHandler=function(e,t){var r=this;return function(n,a){var o=a.node,i=a.deltaX,l=a.deltaY;"onResizeStart"===e&&r.resetData();var s=("both"===r.props.axis||"x"===r.props.axis)&&"n"!==t&&"s"!==t,u=("both"===r.props.axis||"y"===r.props.axis)&&"e"!==t&&"w"!==t;if(s||u){var c=t[0],d=t[t.length-1],f=o.getBoundingClientRect();null!=r.lastHandleRect&&("w"===d&&(i+=f.left-r.lastHandleRect.left),"n"===c&&(l+=f.top-r.lastHandleRect.top)),r.lastHandleRect=f,"w"===d&&(i=-i),"n"===c&&(l=-l);var p=r.props.width+(s?i/r.props.transformScale:0),h=r.props.height+(u?l/r.props.transformScale:0),g=r.runConstraints(p,h);p=g[0],h=g[1];var m=p!==r.props.width||h!==r.props.height,b="function"==typeof r.props[e]?r.props[e]:null;b&&!("onResize"===e&&!m)&&(null==n.persist||n.persist(),b(n,{node:o,size:{width:p,height:h},handle:t})),"onResizeStop"===e&&r.resetData()}}},r.renderResizeHandle=function(e,t){var r=this.props.handle;if(!r)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof r)return r(e,t);var a=d({ref:t},"string"==typeof r.type?{}:{handleAxis:e});return n.cloneElement(r,a)},r.render=function(){var e=this,t=this.props,r=t.children,i=t.className,s=t.draggableOpts,c=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),f=(t.transformScale,function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,l));return(0,o.cloneElement)(r,d(d({},f),{},{className:(i?i+" ":"")+"react-resizable",children:[].concat(r.props.children,c.map(function(t){var r,o=null!=(r=e.handleRefs[t])?r:e.handleRefs[t]=n.createRef();return n.createElement(a.DraggableCore,u({},s,{nodeRef:o,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,o))}))}))},t}(n.Component);r.default=p,p.propTypes=i.resizableProps,p.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},{"9731f85e5eac3bdf":"329PG","5e9eed5440c7927b":"hwPHo","1a8d16742d51e35c":"hlzUh","608855201264dc32":"ghWCE"}],hlzUh:[function(e,t,r){r.__esModule=!0,r.cloneElement=function(e,t){return t.style&&e.props.style&&(t.style=i(i({},e.props.style),t.style)),t.className&&e.props.className&&(t.className=e.props.className+" "+t.className),a.default.cloneElement(e,t)};var n,a=(n=e("7afd8ecc3da9a20f"))&&n.__esModule?n:{default:n};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}},{"7afd8ecc3da9a20f":"329PG"}],ghWCE:[function(e,t,r){r.__esModule=!0,r.resizableProps=void 0;var n,a=(n=e("d823b304258fa560"))&&n.__esModule?n:{default:n};e("36127bdc4e3078d2");var o={axis:a.default.oneOf(["both","x","y","none"]),className:a.default.string,children:a.default.element.isRequired,draggableOpts:a.default.shape({allowAnyClick:a.default.bool,cancel:a.default.string,children:a.default.node,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:a.default.node,grid:a.default.arrayOf(a.default.number),handle:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number}),height:function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r[0];return"both"===o.axis||"y"===o.axis?(e=a.default.number).isRequired.apply(e,r):a.default.number.apply(a.default,r)},handle:a.default.oneOfType([a.default.node,a.default.func]),handleSize:a.default.arrayOf(a.default.number),lockAspectRatio:a.default.bool,maxConstraints:a.default.arrayOf(a.default.number),minConstraints:a.default.arrayOf(a.default.number),onResizeStop:a.default.func,onResizeStart:a.default.func,onResize:a.default.func,resizeHandles:a.default.arrayOf(a.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:a.default.number,width:function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r[0];return"both"===o.axis||"x"===o.axis?(e=a.default.number).isRequired.apply(e,r):a.default.number.apply(a.default,r)}};r.resizableProps=o},{d823b304258fa560:"9DVzE","36127bdc4e3078d2":"hwPHo"}],bfdTj:[function(e,t,r){r.__esModule=!0,r.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(e("8882cf0831275ed6")),a=s(e("8e51cecd2de47d2e")),o=s(e("5a5567ee264b31d1")),i=e("9b1dbc10b4919e14"),l=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function s(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){var n,a;n=t,a=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(){for(var t,r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).state={width:t.props.width,height:t.props.height,propsWidth:t.props.width,propsHeight:t.props.height},t.onResize=function(e,r){var n=r.size;t.props.onResize?(null==e.persist||e.persist(),t.setState(n,function(){return t.props.onResize&&t.props.onResize(e,r)})):t.setState(n)},t}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e),t.getDerivedStateFromProps=function(e,t){return t.propsWidth!==e.width||t.propsHeight!==e.height?{width:e.width,height:e.height,propsWidth:e.width,propsHeight:e.height}:null},t.prototype.render=function(){var e=this.props,t=e.handle,r=e.handleSize,a=(e.onResize,e.onResizeStart),i=e.onResizeStop,s=e.draggableOpts,u=e.minConstraints,d=e.maxConstraints,p=e.lockAspectRatio,h=e.axis,g=(e.width,e.height,e.resizeHandles),m=e.style,b=e.transformScale,y=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,l);return n.createElement(o.default,{axis:h,draggableOpts:s,handle:t,handleSize:r,height:this.state.height,lockAspectRatio:p,maxConstraints:d,minConstraints:u,onResizeStart:a,onResize:this.onResize,onResizeStop:i,resizeHandles:g,transformScale:b,width:this.state.width},n.createElement("div",c({},y,{style:f(f({},m),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},t}(n.Component);r.default=h,h.propTypes=f(f({},i.resizableProps),{},{children:a.default.element})},{"8882cf0831275ed6":"329PG","8e51cecd2de47d2e":"9DVzE","5a5567ee264b31d1":"lsa77","9b1dbc10b4919e14":"ghWCE"}],asecu:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.resizeHandleType=r.resizeHandleAxesType=r.default=void 0;var n=o(e("13c0c91cdf1abec4")),a=o(e("513953dfe22b8b61"));function o(e){return e&&e.__esModule?e:{default:e}}let i=r.resizeHandleAxesType=n.default.arrayOf(n.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),l=r.resizeHandleType=n.default.oneOfType([n.default.node,n.default.func]);r.default={className:n.default.string,style:n.default.object,width:n.default.number,autoSize:n.default.bool,cols:n.default.number,draggableCancel:n.default.string,draggableHandle:n.default.string,verticalCompact:function(e){e.verticalCompact},compactType:n.default.oneOf(["vertical","horizontal"]),layout:function(t){var r=t.layout;void 0!==r&&e("b12953baf5b27d1d").validateLayout(r,"layout")},margin:n.default.arrayOf(n.default.number),containerPadding:n.default.arrayOf(n.default.number),rowHeight:n.default.number,maxRows:n.default.number,isBounded:n.default.bool,isDraggable:n.default.bool,isResizable:n.default.bool,allowOverlap:n.default.bool,preventCollision:n.default.bool,useCSSTransforms:n.default.bool,transformScale:n.default.number,isDroppable:n.default.bool,resizeHandles:i,resizeHandle:l,onLayoutChange:n.default.func,onDragStart:n.default.func,onDrag:n.default.func,onDragStop:n.default.func,onResizeStart:n.default.func,onResize:n.default.func,onResizeStop:n.default.func,onDrop:n.default.func,droppingItem:n.default.shape({i:n.default.string.isRequired,w:n.default.number.isRequired,h:n.default.number.isRequired}),children:function(e,t){let r=e[t],n={};a.default.Children.forEach(r,function(e){if(e?.key!=null){if(n[e.key])throw Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');n[e.key]=!0}})},innerRef:n.default.any}},{"13c0c91cdf1abec4":"9DVzE","513953dfe22b8b61":"329PG",b12953baf5b27d1d:"2O0hd"}],j8di3:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=c(e("df779a4174b5ec64")),a=u(e("bcdc4eadbc6acccd")),o=e("f14448e3af456338"),i=e("c7ced4202325c7f"),l=e("8ff12c02a9ae12df"),s=u(e("16b72731888a0242"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(c=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function f(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let p=e=>Object.prototype.toString.call(e);function h(e,t){return null==e?null:Array.isArray(e)?e:e[t]}class g extends n.Component{constructor(){super(...arguments),f(this,"state",this.generateInitialState()),f(this,"onLayoutChange",e=>{this.props.onLayoutChange(e,{...this.props.layouts,[this.state.breakpoint]:e})})}generateInitialState(){let{width:e,breakpoints:t,layouts:r,cols:n}=this.props,a=(0,l.getBreakpointFromWidth)(t,e),o=(0,l.getColsFromBreakpoint)(a,n),i=!1===this.props.verticalCompact?null:this.props.compactType,s=(0,l.findOrGenerateResponsiveLayout)(r,t,a,a,o,i);return{layout:s,breakpoint:a,cols:o}}static getDerivedStateFromProps(e,t){if(!(0,o.deepEqual)(e.layouts,t.layouts)){let{breakpoint:r,cols:n}=t,a=(0,l.findOrGenerateResponsiveLayout)(e.layouts,e.breakpoints,r,r,n,e.compactType);return{layout:a,layouts:e.layouts}}return null}componentDidUpdate(e){this.props.width==e.width&&this.props.breakpoint===e.breakpoint&&(0,o.deepEqual)(this.props.breakpoints,e.breakpoints)&&(0,o.deepEqual)(this.props.cols,e.cols)||this.onWidthChange(e)}onWidthChange(e){let{breakpoints:t,cols:r,layouts:n,compactType:a}=this.props,o=this.props.breakpoint||(0,l.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),s=this.state.breakpoint,u=(0,l.getColsFromBreakpoint)(o,r),c={...n};if(s!==o||e.breakpoints!==t||e.cols!==r){s in c||(c[s]=(0,i.cloneLayout)(this.state.layout));let e=(0,l.findOrGenerateResponsiveLayout)(c,t,o,s,u,a);e=(0,i.synchronizeLayoutWithChildren)(e,this.props.children,u,a,this.props.allowOverlap),c[o]=e,this.props.onBreakpointChange(o,u),this.props.onLayoutChange(e,c),this.setState({breakpoint:o,layout:e,cols:u})}let d=h(this.props.margin,o),f=h(this.props.containerPadding,o);this.props.onWidthChange(this.props.width,d,u,f)}render(){let{breakpoint:e,breakpoints:t,cols:r,layouts:a,margin:o,containerPadding:i,onBreakpointChange:l,onLayoutChange:u,onWidthChange:c,...f}=this.props;return n.createElement(s.default,d({},f,{margin:h(o,this.state.breakpoint),containerPadding:h(i,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}r.default=g,f(g,"propTypes",{breakpoint:a.default.string,breakpoints:a.default.object,allowOverlap:a.default.bool,cols:a.default.object,margin:a.default.oneOfType([a.default.array,a.default.object]),containerPadding:a.default.oneOfType([a.default.array,a.default.object]),layouts(e,t){if("[object Object]"!==p(e[t]))throw Error("Layout property must be an object. Received: "+p(e[t]));Object.keys(e[t]).forEach(t=>{if(!(t in e.breakpoints))throw Error("Each key in layouts must align with a key in breakpoints.");(0,i.validateLayout)(e.layouts[t],"layouts."+t)})},width:a.default.number.isRequired,onBreakpointChange:a.default.func,onLayoutChange:a.default.func,onWidthChange:a.default.func}),f(g,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:i.noop,onLayoutChange:i.noop,onWidthChange:i.noop})},{df779a4174b5ec64:"329PG",bcdc4eadbc6acccd:"9DVzE",f14448e3af456338:"49DAY",c7ced4202325c7f:"2O0hd","8ff12c02a9ae12df":"lIcka","16b72731888a0242":"gLOkI"}],lIcka:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.findOrGenerateResponsiveLayout=function(e,t,r,o,i,l){if(e[r])return(0,n.cloneLayout)(e[r]);let s=e[o],u=a(t),c=u.slice(u.indexOf(r));for(let t=0,r=c.length;t<r;t++){let r=c[t];if(e[r]){s=e[r];break}}return s=(0,n.cloneLayout)(s||[]),(0,n.compact)((0,n.correctBounds)(s,{cols:i}),l,i)},r.getBreakpointFromWidth=function(e,t){let r=a(e),n=r[0];for(let a=1,o=r.length;a<o;a++){let o=r[a];t>e[o]&&(n=o)}return n},r.getColsFromBreakpoint=function(e,t){if(!t[e])throw Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},r.sortBreakpoints=a;var n=e("83485abae39c426d");function a(e){let t=Object.keys(e);return t.sort(function(t,r){return e[t]-e[r]})}},{"83485abae39c426d":"2O0hd"}],fzl2W:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t;return t=class extends n.Component{constructor(){super(...arguments),c(this,"state",{width:1280}),c(this,"elementRef",n.createRef()),c(this,"mounted",!1),c(this,"resizeObserver",void 0)}componentDidMount(){this.mounted=!0,this.resizeObserver=new o.default(e=>{let t=this.elementRef.current;if(t instanceof HTMLElement){let t=e[0].contentRect.width;this.setState({width:t})}});let e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.observe(e)}componentWillUnmount(){this.mounted=!1;let e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.unobserve(e),this.resizeObserver.disconnect()}render(){let{measureBeforeMount:t,...r}=this.props;return t&&!this.mounted?n.createElement("div",{className:(0,i.default)(this.props.className,"react-grid-layout"),style:this.props.style,ref:this.elementRef}):n.createElement(e,u({innerRef:this.elementRef},r,this.state))}},c(t,"defaultProps",{measureBeforeMount:!1}),c(t,"propTypes",{measureBeforeMount:a.default.bool}),t};var n=s(e("5ca444fee59b2007")),a=l(e("4a45b41d3cda0bf3")),o=l(e("d2cd1f0273a3f0d4")),i=l(e("21896f43cdd47455"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(s=function(e,t){if(!t&&e&&e.__esModule)return e;var a,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(a=t?n:r){if(a.has(e))return a.get(e);a.set(e,i)}for(let t in e)"default"!==t&&({}).hasOwnProperty.call(e,t)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?a(i,t,o):i[t]=e[t]);return i})(e,t)}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function c(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},{"5ca444fee59b2007":"329PG","4a45b41d3cda0bf3":"9DVzE",d2cd1f0273a3f0d4:"2tgC0","21896f43cdd47455":"jgTfo"}],"2tgC0":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=arguments[3],a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var a=n[r];e.call(t,a[1],a[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n&&n.Math===Math?n:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,a=0;function o(){r&&(r=!1,e()),n&&s()}function i(){l(o)}function s(){var e=Date.now();if(r){if(e-a<2)return;n=!0}else r=!0,n=!1,setTimeout(i,20);a=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var a=n[r];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=b(0,0,0,0);function h(e){return parseFloat(e)||0}function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+h(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function b(e,t,r,n){return{x:e,y:t,width:r,height:n}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!o)return p;if(m(e)){var t;return b(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return p;var n=f(e).getComputedStyle(e),a=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var a=n[r],o=e["padding-"+a];t[a]=h(o)}return t}(n),o=a.left+a.right,i=a.top+a.bottom,l=h(n.width),s=h(n.height);if("border-box"===n.boxSizing&&(Math.round(l+o)!==t&&(l-=g(n,"left","right")+o),Math.round(s+i)!==r&&(s-=g(n,"top","bottom")+i)),e!==f(e).document.documentElement){var u=Math.round(l+o)-t,c=Math.round(s+i)-r;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return b(a.left,a.top,l,s)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ResizeObserverEntry=function(e,t){var r,n,a,o,i,l=(r=t.x,n=t.y,a=t.width,o=t.height,d(i=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:r,y:n,width:a,height:o,top:n,right:r+a,bottom:o+n,left:r}),i);d(this,{target:e,contentRect:l})},v=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new a,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ResizeObserverEntry(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new a,ResizeObserver=function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var t=new v(e,c.getInstance(),this);w.set(this,t)};["observe","unobserve","disconnect"].forEach(function(e){ResizeObserver.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var x=void 0!==i.ResizeObserver?i.ResizeObserver:ResizeObserver;r.default=x},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cGKyn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r);var a=e("react/jsx-runtime"),o=e("react");n.interopDefault(o);var i=e("react-toastify"),l=e("react-error-boundary"),s=e("~tools/constants");let u="\u51fa\u73b0\u4e86\u4e00\u4e9b\u9519\u8bef\uff0c\u6765\u81ea (\u4e00\u5b57\u5e55)\uff0c\u53ef\u5c1d\u8bd5\u5237\u65b0\u9875\u9762\uff0c\u6216\u8054\u7cfb\u7ba1\u7406\u5458\uff1a",c="\u6765\u81ea\uff1a";r.default=function(e){return(0,a.jsx)(l.ErrorBoundary,{fallbackRender:function({error:t,resetErrorBoundary:r}){let n=!1,o=!1;return o=!1,(n=!!e?.show)||o?(0,i.toast).error(`${u}
${t.message}\uff0c${c}${e.info}`,{autoClose:99999}):console.error(`${u}
${t.message}\uff0c${c}${e.info}`),(0,a.jsx)(a.Fragment,{children:(n||o)&&(0,a.jsxs)("div",{role:"alert",children:[(0,a.jsx)("p",{children:`\u51fa\u73b0\u4e86\u4e00\u4e9b\u9519\u8bef\uff0c\u6765\u81ea ${s.ZIMU1_COM} (\u4e00\u5b57\u5e55):`}),(0,a.jsx)("pre",{style:{color:"red"},children:t.message})]})})},children:e.children})}},{"react/jsx-runtime":"8iOxN",react:"329PG","react-toastify":"7cUZK","react-error-boundary":"hvqCf","~tools/constants":"DgB7r","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],hvqCf:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"ErrorBoundary",()=>l),n.export(r,"ErrorBoundaryContext",()=>o),n.export(r,"useErrorBoundary",()=>s),n.export(r,"withErrorBoundary",()=>u);var a=e("react");let o=(0,a.createContext)(null),i={didCatch:!1,error:null};class l extends a.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=i}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:a,reason:"imperative-api"}),this.setState(i)}}componentDidCatch(e,t){var r,n;null===(r=(n=this.props).onError)||void 0===r||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)){var a,o;null===(a=(o=this.props).onReset)||void 0===a||a.call(o,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(i)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:n}=this.props,{didCatch:i,error:l}=this.state,s=e;if(i){let e={error:l,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)s=t(e);else if(r)s=(0,a.createElement)(r,e);else if(void 0!==n)s=n;else throw l}return(0,a.createElement)(o.Provider,{value:{didCatch:i,error:l,resetErrorBoundary:this.resetErrorBoundary}},s)}}function s(){let e=(0,a.useContext)(o);!function(e){if(null==e||"boolean"!=typeof e.didCatch||"function"!=typeof e.resetErrorBoundary)throw Error("ErrorBoundaryContext not found")}(e);let[t,r]=(0,a.useState)({error:null,hasError:!1}),n=(0,a.useMemo)(()=>({resetBoundary:()=>{e.resetErrorBoundary(),r({error:null,hasError:!1})},showBoundary:e=>r({error:e,hasError:!0})}),[e.resetErrorBoundary]);if(t.hasError)throw t.error;return n}function u(e,t){let r=(0,a.forwardRef)((r,n)=>(0,a.createElement)(l,t,(0,a.createElement)(e,{...r,ref:n}))),n=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary(".concat(n,")"),r}},{react:"329PG","@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],lTRcy:[function(e,t,r){t.exports='.react-grid-layout{transition:height .2s;position:relative}.react-grid-item{transition:left .2s,top .2s,width .2s,height .2s}.react-grid-item img{pointer-events:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{z-index:1;will-change:width,height;transition:none}.react-grid-item.react-draggable-dragging{z-index:3;will-change:transform;transition:none}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{opacity:.2;z-index:2;user-select:none;-o-user-select:none;background:red;transition-duration:.1s}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{width:20px;height:20px;position:absolute}.react-grid-item>.react-resizable-handle:after{content:"";border-bottom:2px solid #0006;border-right:2px solid #0006;width:5px;height:5px;position:absolute;bottom:3px;right:3px}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}'},{}],"82Svl":[function(e,t,r){t.exports=".react-resizable{position:relative}.react-resizable-handle{box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:100% 100%;background-repeat:no-repeat;background-origin:content-box;width:20px;height:20px;padding:0 3px 3px 0;position:absolute}.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}"},{}]},["arQdC"],"arQdC","parcelRequiree1df"),globalThis.define=t; | 468,613 | InlineSubtitleMask.80267d62 | js | en | javascript | code | {"qsc_code_num_words": 87892, "qsc_code_num_chars": 468613.0, "qsc_code_mean_word_length": 3.68234879, "qsc_code_frac_words_unique": 0.06108633, "qsc_code_frac_chars_top_2grams": 0.0089974, "qsc_code_frac_chars_top_3grams": 0.00438438, "qsc_code_frac_chars_top_4grams": 0.00560793, "qsc_code_frac_chars_dupe_5grams": 0.3280282, "qsc_code_frac_chars_dupe_6grams": 0.25993592, "qsc_code_frac_chars_dupe_7grams": 0.21734966, "qsc_code_frac_chars_dupe_8grams": 0.18437258, "qsc_code_frac_chars_dupe_9grams": 0.15731549, "qsc_code_frac_chars_dupe_10grams": 0.14259893, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03786605, "qsc_code_frac_chars_whitespace": 0.01783775, "qsc_code_size_file_byte": 468613.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 177720.0, "qsc_code_num_chars_line_mean": 29288.3125, "qsc_code_frac_chars_alphabet": 0.66533045, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.13333333, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 2.93333333, "qsc_code_frac_chars_string_length": 0.19397841, "qsc_code_frac_chars_long_word_length": 0.10737835, "qsc_code_frac_lines_string_concat": 0.06666667, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejavascript_cate_ast": 0.0, "qsc_codejavascript_cate_var_zero": null, "qsc_codejavascript_frac_lines_func_ratio": null, "qsc_codejavascript_num_statement_line": null, "qsc_codejavascript_score_lines_no_logic": null, "qsc_codejavascript_frac_words_legal_var_name": null, "qsc_codejavascript_frac_words_legal_func_name": null, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.06666667} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 1, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 0, "qsc_codejavascript_score_lines_no_logic": 0, "qsc_codejavascript_frac_lines_print": 0} |
2000calories/flutter_easy_rich_text | example/ios/Runner.xcodeproj/project.pbxproj | // !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
970C1D52507B9A2AD3E39C66 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C79E9027051E5FEDA681FCD /* Pods_Runner.framework */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
9705A1C41CF9048500538489 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
506784EC614A1F3FCE6FB5C9 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
6FCAA9D28BAFE7CA50AA5D8E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9C79E9027051E5FEDA681FCD /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E224F034FEDF0F69453C29C1 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
970C1D52507B9A2AD3E39C66 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
04AFCE353410FF42EFF77595 /* Frameworks */ = {
isa = PBXGroup;
children = (
9C79E9027051E5FEDA681FCD /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
1B7C9D7A250968240E0B1C90 /* Pods */ = {
isa = PBXGroup;
children = (
6FCAA9D28BAFE7CA50AA5D8E /* Pods-Runner.debug.xcconfig */,
506784EC614A1F3FCE6FB5C9 /* Pods-Runner.release.xcconfig */,
E224F034FEDF0F69453C29C1 /* Pods-Runner.profile.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
9740EEB31CF90195004384FC /* Generated.xcconfig */,
);
name = Flutter;
sourceTree = "<group>";
};
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
1B7C9D7A250968240E0B1C90 /* Pods */,
04AFCE353410FF42EFF77595 /* Frameworks */,
);
sourceTree = "<group>";
};
97C146EF1CF9000F007C117D /* Products */ = {
isa = PBXGroup;
children = (
97C146EE1CF9000F007C117D /* Runner.app */,
);
name = Products;
sourceTree = "<group>";
};
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
97C147021CF9000F007C117D /* Info.plist */,
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
);
path = Runner;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
97C146ED1CF9000F007C117D /* Runner */ = {
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
73B59A8214ACE6E91A33DE8B /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
AC3C2E98A0888029239906F7 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Runner;
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 1100;
};
};
};
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
compatibilityVersion = "Xcode 10.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 97C146E51CF9000F007C117D;
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
97C146ED1CF9000F007C117D /* Runner */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
97C146EC1CF9000F007C117D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
73B59A8214ACE6E91A33DE8B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Run Script";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
AC3C2E98A0888029239906F7 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
97C146EA1CF9000F007C117D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C146FB1CF9000F007C117D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C147001CF9000F007C117D /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Profile;
};
249021D4217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Profile;
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
97C147061CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
97C147071CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147031CF9000F007C117D /* Debug */,
97C147041CF9000F007C117D /* Release */,
249021D3217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147061CF9000F007C117D /* Debug */,
97C147071CF9000F007C117D /* Release */,
249021D4217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
| 22,871 | project | pbxproj | en | unknown | unknown | {} | 0 | {} |
1zilc/fishing-funds | src/renderer/components/Home/CoinView/ManageCoinContent/Optional/index.module.css | .content {
position: relative;
box-sizing: border-box;
padding-bottom: 80px;
min-height: calc(100vh - 110px);
}
.row {
padding: var(--base-padding);
box-sizing: border-box;
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
.function {
justify-self: flex-end;
fill: var(--svg-icon-color);
height: 12px;
width: 12px;
margin-left: var(--base-padding);
&:hover {
cursor: pointer;
}
}
.remove {
fill: red;
&:hover {
cursor: pointer;
}
}
}
.name {
flex: 1;
flex-direction: column;
margin-left: var(--base-padding);
font-size: calc(var(--base-font-size) * 1.2);
font-weight: 600;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
max-width: 100%;
}
.dragItem {
background-color: var(--inner-color) !important;
}
.editor {
margin-left: 10px;
cursor: pointer;
height: 12px;
width: 12px;
fill: var(--svg-icon-color);
}
.cyfe {
display: flex;
align-items: center;
}
.wallet {
display: flex;
flex-direction: column;
align-items: center;
padding-top: calc(var(--base-padding) * 2);
padding-bottom: var(--base-padding);
img {
width: 40px;
height: 40px;
margin-bottom: var(--base-padding);
}
}
.walletName {
font-size: var(--base-font-size);
font-weight: 600;
position: relative;
}
.editWallet {
position: absolute;
right: -20px;
fill: var(--svg-icon-color);
cursor: pointer;
height: 12px;
width: 12px;
top: 50%;
transform: translateY(-50%);
}
| 1,570 | index.module | css | en | css | data | {"qsc_code_num_words": 193, "qsc_code_num_chars": 1570.0, "qsc_code_mean_word_length": 5.02590674, "qsc_code_frac_words_unique": 0.41450777, "qsc_code_frac_chars_top_2grams": 0.05773196, "qsc_code_frac_chars_top_3grams": 0.08659794, "qsc_code_frac_chars_top_4grams": 0.04329897, "qsc_code_frac_chars_dupe_5grams": 0.1742268, "qsc_code_frac_chars_dupe_6grams": 0.06597938, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03877221, "qsc_code_frac_chars_whitespace": 0.21146497, "qsc_code_size_file_byte": 1570.0, "qsc_code_num_lines": 92.0, "qsc_code_num_chars_line_max": 51.0, "qsc_code_num_chars_line_mean": 17.06521739, "qsc_code_frac_chars_alphabet": 0.7447496, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.37349398, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/УправлениеИтогамиИАгрегатами/Forms/ОсновнаяФорма/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Управление итогами</v8:content>
</v8:item>
</Title>
<AutoSaveDataInSettings>Use</AutoSaveDataInSettings>
<AutoTitle>false</AutoTitle>
<Customizable>false</Customizable>
<CommandBarLocation>None</CommandBarLocation>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
<HorizontalAlign>Right</HorizontalAlign>
</AutoCommandBar>
<Events>
<Event name="ChoiceProcessing">ОбработкаВыбора</Event>
<Event name="OnLoadDataFromSettingsAtServer">ПриЗагрузкеДанныхИзНастроекНаСервере</Event>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<Pages name="Операции" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Операции</v8:content>
</v8:item>
</Title>
<PagesRepresentation>TabsOnTop</PagesRepresentation>
<ExtendedTooltip name="ОперацииРасширеннаяПодсказка" id="330"/>
<ChildItems>
<Page name="БыстрыйДоступ" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Типовые операции</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="БыстрыйДоступРасширеннаяПодсказка" id="331"/>
<ChildItems>
<UsualGroup name="БыстрыйДоступИтоги" id="212">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итоги</v8:content>
</v8:item>
</Title>
<Group>Vertical</Group>
<Behavior>Usual</Behavior>
<Representation>NormalSeparation</Representation>
<ExtendedTooltip name="БыстрыйДоступИтогиРасширеннаяПодсказка" id="332"/>
<ChildItems>
<UsualGroup name="ГруппаУстановитьПериодРассчитанныхИтогов" id="278">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов</v8:content>
</v8:item>
</Title>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ГруппаУстановитьПериодРассчитанныхИтоговРасширеннаяПодсказка" id="333"/>
<ChildItems>
<Button name="УстановитьПериодРассчитанныхИтогов" id="219">
<Type>UsualButton</Type>
<SkipOnInput>false</SkipOnInput>
<Width>30</Width>
<Height>2</Height>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<CommandName>Form.Command.УстановитьПериодРассчитанныхИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="УстановитьПериодРассчитанныхИтоговРасширеннаяПодсказка" id="334"/>
</Button>
<LabelDecoration name="ОписаниеУстановкиПериода" id="328">
<AutoMaxWidth>false</AutoMaxWidth>
<SkipOnInput>true</SkipOnInput>
<TextColor>style:ПоясняющийТекст</TextColor>
<Title formatted="false">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов для всех регистров, у которых включены итоги.
Для регистров накопления - на %1.
Для регистров бухгалтерии - на %2.</v8:content>
</v8:item>
</Title>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<VerticalAlign>Center</VerticalAlign>
<ContextMenu name="ОписаниеУстановкиПериодаКонтекстноеМеню" id="329"/>
<ExtendedTooltip name="ОписаниеУстановкиПериодаРасширеннаяПодсказка" id="335"/>
</LabelDecoration>
</ChildItems>
</UsualGroup>
<UsualGroup name="ГруппаВключениеИтогов" id="279">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включение итогов</v8:content>
</v8:item>
</Title>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ГруппаВключениеИтоговРасширеннаяПодсказка" id="336"/>
<ChildItems>
<Button name="ВключитьИспользованиеИтогов" id="220">
<Type>UsualButton</Type>
<SkipOnInput>false</SkipOnInput>
<Width>30</Width>
<Height>2</Height>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<CommandName>Form.Command.ВключитьИспользованиеИтоговБыстрыйДоступ</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВключитьИспользованиеИтоговРасширеннаяПодсказка" id="337"/>
</Button>
<LabelDecoration name="ПростыеИтогиОписание" id="282">
<AutoMaxWidth>false</AutoMaxWidth>
<SkipOnInput>true</SkipOnInput>
<TextColor>style:ПоясняющийТекст</TextColor>
<Title formatted="false">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим использования итогов для всех регистров, у которых в данный момент выключено использование итогов.</v8:content>
</v8:item>
</Title>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<VerticalAlign>Center</VerticalAlign>
<ContextMenu name="ПростыеИтогиОписаниеКонтекстноеМеню" id="283"/>
<ExtendedTooltip name="ПростыеИтогиОписаниеРасширеннаяПодсказка" id="338"/>
</LabelDecoration>
</ChildItems>
</UsualGroup>
</ChildItems>
</UsualGroup>
<UsualGroup name="ГруппаБыстрыйДоступАгрегаты" id="214">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты</v8:content>
</v8:item>
</Title>
<Group>Vertical</Group>
<Behavior>Usual</Behavior>
<Representation>NormalSeparation</Representation>
<ExtendedTooltip name="ГруппаБыстрыйДоступАгрегатыРасширеннаяПодсказка" id="339"/>
<ChildItems>
<UsualGroup name="ГруппаПерестроениеИЗаполнениеАгрегатов" id="289">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроение и заполнение агрегатов</v8:content>
</v8:item>
</Title>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<United>false</United>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ГруппаПерестроениеИЗаполнениеАгрегатовРасширеннаяПодсказка" id="340"/>
<ChildItems>
<Button name="ПерестроитьИЗаполнитьАгрегаты" id="222">
<Type>UsualButton</Type>
<SkipOnInput>false</SkipOnInput>
<Width>30</Width>
<Height>2</Height>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<CommandName>Form.Command.ЗаполнитьАгрегатыИВыполнитьПерестроение</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить и заполнить</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПерестроитьИЗаполнитьАгрегатыРасширеннаяПодсказка" id="341"/>
</Button>
<LabelDecoration name="ПростоеПостроениеИЗаполнениеОписание" id="292">
<AutoMaxWidth>false</AutoMaxWidth>
<SkipOnInput>true</SkipOnInput>
<TextColor>style:ПоясняющийТекст</TextColor>
<Title formatted="false">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выполнить перестроение и заполнение агрегатов для всех регистров, у которых включен режим агрегатов и установлено их использование.</v8:content>
</v8:item>
</Title>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<VerticalAlign>Center</VerticalAlign>
<ContextMenu name="ПростоеПостроениеИЗаполнениеОписаниеКонтекстноеМеню" id="293"/>
<ExtendedTooltip name="ПростоеПостроениеИЗаполнениеОписаниеРасширеннаяПодсказка" id="342"/>
</LabelDecoration>
</ChildItems>
</UsualGroup>
<UsualGroup name="ГруппаПолучениеОптимальныхАгрегатов" id="288">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получение оптимальных агрегатов</v8:content>
</v8:item>
</Title>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<United>false</United>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ГруппаПолучениеОптимальныхАгрегатовРасширеннаяПодсказка" id="343"/>
<ChildItems>
<Button name="ПолучитьОптимальныеАгрегаты" id="223">
<Type>UsualButton</Type>
<SkipOnInput>false</SkipOnInput>
<Width>30</Width>
<Height>2</Height>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<CommandName>Form.Command.ПолучитьОптимальныеАгрегаты</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получить оптимальные агрегаты</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПолучитьОптимальныеАгрегатыРасширеннаяПодсказка" id="344"/>
</Button>
<LabelDecoration name="ПростоеПолучениеОптимальныхАгрегатов" id="290">
<AutoMaxWidth>false</AutoMaxWidth>
<SkipOnInput>true</SkipOnInput>
<TextColor>style:ПоясняющийТекст</TextColor>
<Title formatted="false">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выполнить расчет списка оптимальных агрегатов для всех регистров, для которых в Конфигураторе заданы агрегаты.</v8:content>
</v8:item>
</Title>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<VerticalAlign>Center</VerticalAlign>
<ContextMenu name="ПростоеПолучениеОптимальныхАгрегатовКонтекстноеМеню" id="291"/>
<ExtendedTooltip name="ПростоеПолучениеОптимальныхАгрегатовРасширеннаяПодсказка" id="345"/>
</LabelDecoration>
</ChildItems>
</UsualGroup>
</ChildItems>
</UsualGroup>
</ChildItems>
</Page>
<Page name="РасширенныеВозможности" id="208">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Расширенная</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="РасширенныеВозможностиРасширеннаяПодсказка" id="346"/>
<ChildItems>
<Pages name="РасширенныеИнструменты" id="209">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Расширенные инструменты</v8:content>
</v8:item>
</Title>
<PagesRepresentation>TabsOnTop</PagesRepresentation>
<ExtendedTooltip name="РасширенныеИнструментыРасширеннаяПодсказка" id="347"/>
<ChildItems>
<Page name="ГруппаИтогов" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Управление итогами</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаИтоговРасширеннаяПодсказка" id="348"/>
<ChildItems>
<Table name="СписокИтогов" id="9">
<Representation>List</Representation>
<ReadOnly>true</ReadOnly>
<SkipOnInput>false</SkipOnInput>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<AutoInsertNewRow>true</AutoInsertNewRow>
<FileDragMode>AsFile</FileDragMode>
<DataPath>СписокИтогов</DataPath>
<RowPictureDataPath>СписокИтогов.Картинка</RowPictureDataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итогов</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>CopyToClipboard</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>OutputList</ExcludedCommand>
</CommandSet>
<RowFilter xsi:nil="true"/>
<ContextMenu name="СписокИтоговКонтекстноеМеню" id="10">
<Autofill>false</Autofill>
<ChildItems>
<Button name="КонтекстноеМенюИтогиУстановитьПериодИтогов" id="307">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.УстановитьПериодИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период итогов...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="КонтекстноеМенюИтогиУстановитьПериодИтоговРасширеннаяПодсказка" id="349"/>
</Button>
<Button name="КонтекстноеМенюИтогиПересчитатьИтоги" id="308">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПересчитатьИтоги</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать итоги</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="КонтекстноеМенюИтогиПересчитатьИтогиРасширеннаяПодсказка" id="350"/>
</Button>
<Button name="КонтекстноеМенюИтогиПересчитатьТекущиеИтоги" id="309">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПересчитатьТекущиеИтоги</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать текущие итоги</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="КонтекстноеМенюИтогиПересчитатьТекущиеИтогиРасширеннаяПодсказка" id="351"/>
</Button>
<Button name="КонтекстноеМенюИтогиВыделитьВсе" id="306">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокИтогов.StandardCommand.SelectAll</CommandName>
<ExtendedTooltip name="КонтекстноеМенюИтогиВыделитьВсеРасширеннаяПодсказка" id="352"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="СписокИтоговКоманднаяПанель" id="11">
<Autofill>false</Autofill>
<ChildItems>
<Button name="ОбновитьСостояниеИтогов" id="42">
<Type>CommandBarButton</Type>
<Representation>Text</Representation>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ОбновитьСостояниеИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ОбновитьСостояниеИтоговРасширеннаяПодсказка" id="353"/>
</Button>
<Popup name="ГруппаИтоги" id="202">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включение/выключение использования итогов</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаИтогиРасширеннаяПодсказка" id="354"/>
<ChildItems>
<Button name="ИтогиВключитьИспользованиеИтогов" id="204">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьИспользованиеИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ИтогиВключитьИспользованиеИтоговРасширеннаяПодсказка" id="355"/>
</Button>
<Button name="ИтогиВыключитьИспользованиеИтогов" id="205">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВыключитьИспользованиеИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ИтогиВыключитьИспользованиеИтоговРасширеннаяПодсказка" id="356"/>
</Button>
</ChildItems>
</Popup>
<Popup name="ГруппаТекущиеИтоги" id="203">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текущие итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включение/выключение использования текущих итогов</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаТекущиеИтогиРасширеннаяПодсказка" id="357"/>
<ChildItems>
<Button name="ВключитьИспользованиеТекущихИтогов" id="206">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьИспользованиеТекущихИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование текущих итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВключитьИспользованиеТекущихИтоговРасширеннаяПодсказка" id="358"/>
</Button>
<Button name="ВыключитьИспользованиеТекущихИтогов" id="207">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВыключитьИспользованиеТекущихИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование текущих итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВыключитьИспользованиеТекущихИтоговРасширеннаяПодсказка" id="359"/>
</Button>
</ChildItems>
</Popup>
<Popup name="ГруппаРазделениеИтогов" id="294">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Разделение итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включение/выключение разделения итогов</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаРазделениеИтоговРасширеннаяПодсказка" id="360"/>
<ChildItems>
<Button name="ВключитьРазделениеИтогов" id="295">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьРазделениеИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить разделение итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВключитьРазделениеИтоговРасширеннаяПодсказка" id="361"/>
</Button>
<Button name="ВыключитьРазделениеИтогов" id="296">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВыключитьРазделениеИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить разделение итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВыключитьРазделениеИтоговРасширеннаяПодсказка" id="362"/>
</Button>
</ChildItems>
</Popup>
<Button name="УстановитьПериодИтогов" id="45">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.УстановитьПериодИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период итогов...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="УстановитьПериодИтоговРасширеннаяПодсказка" id="363"/>
</Button>
<Popup name="ГруппаПересчет" id="299">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчет</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчет итогов</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаПересчетРасширеннаяПодсказка" id="364"/>
<ChildItems>
<Button name="ПересчитатьИтоги" id="300">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПересчитатьИтоги</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать итоги</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПересчитатьИтогиРасширеннаяПодсказка" id="365"/>
</Button>
<Button name="ПересчитатьТекущиеИтоги" id="301">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПересчитатьТекущиеИтоги</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать текущие итоги</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПересчитатьТекущиеИтогиРасширеннаяПодсказка" id="366"/>
</Button>
<Button name="ПересчитатьИтогиЗаПериод" id="302">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПересчитатьИтогиЗаПериод</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать итоги за период...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПересчитатьИтогиЗаПериодРасширеннаяПодсказка" id="367"/>
</Button>
</ChildItems>
</Popup>
<Button name="Найти" id="303">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокИтогов.StandardCommand.Find</CommandName>
<ExtendedTooltip name="НайтиРасширеннаяПодсказка" id="368"/>
</Button>
<Button name="ОтменитьПоиск" id="304">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокИтогов.StandardCommand.CancelSearch</CommandName>
<ExtendedTooltip name="ОтменитьПоискРасширеннаяПодсказка" id="369"/>
</Button>
<Button name="ВыделитьВсе" id="305">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.СписокИтогов.StandardCommand.SelectAll</CommandName>
<LocationInCommandBar>InCommandBarAndInAdditionalSubmenu</LocationInCommandBar>
<ExtendedTooltip name="ВыделитьВсеРасширеннаяПодсказка" id="370"/>
</Button>
</ChildItems>
</AutoCommandBar>
<ExtendedTooltip name="СписокИтоговРасширеннаяПодсказка" id="371"/>
<SearchStringAddition name="СписокИтоговСтрокаПоиска" id="424">
<AdditionSource>
<Item>СписокИтогов</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокИтоговСтрокаПоискаКонтекстноеМеню" id="425"/>
<ExtendedTooltip name="СписокИтоговСтрокаПоискаРасширеннаяПодсказка" id="426"/>
</SearchStringAddition>
<ViewStatusAddition name="СписокИтоговСостояниеПросмотра" id="427">
<AdditionSource>
<Item>СписокИтогов</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокИтоговСостояниеПросмотраКонтекстноеМеню" id="428"/>
<ExtendedTooltip name="СписокИтоговСостояниеПросмотраРасширеннаяПодсказка" id="429"/>
</ViewStatusAddition>
<SearchControlAddition name="СписокИтоговУправлениеПоиском" id="430">
<AdditionSource>
<Item>СписокИтогов</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="СписокИтоговУправлениеПоискомКонтекстноеМеню" id="431"/>
<ExtendedTooltip name="СписокИтоговУправлениеПоискомРасширеннаяПодсказка" id="432"/>
</SearchControlAddition>
<Events>
<Event name="Selection">СписокИтоговВыбор</Event>
<Event name="OnActivateRow">СписокИтоговПриАктивизацииСтроки</Event>
</Events>
<ChildItems>
<CheckBoxField name="ИтогиИспользоватьИтоги" id="14">
<DataPath>СписокИтогов.ИспользоватьИтоги</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Признак использования итогов данным регистром.</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="ИтогиИспользоватьИтогиКонтекстноеМеню" id="15"/>
<ExtendedTooltip name="ИтогиИспользоватьИтогиРасширеннаяПодсказка" id="373"/>
</CheckBoxField>
<ColumnGroup name="СписокИтоговНаименованиеИРежим" id="414">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итогов наименование и режим</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="СписокИтоговНаименованиеИРежимРасширеннаяПодсказка" id="415"/>
<ChildItems>
<InputField name="ИтогиНаименование" id="12">
<DataPath>СписокИтогов.Наименование</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Регистр и режим использования</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Wrap>false</Wrap>
<ContextMenu name="ИтогиНаименованиеКонтекстноеМеню" id="13"/>
<ExtendedTooltip name="ИтогиНаименованиеРасширеннаяПодсказка" id="372"/>
</InputField>
<InputField name="ИтогиАгрегатыИтоги" id="71">
<DataPath>СписокИтогов.АгрегатыИтоги</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты/Итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Какой режим использует регистр: итогов или агрегатов</v8:content>
</v8:item>
</ToolTip>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ShowInHeader>false</ShowInHeader>
<Wrap>false</Wrap>
<TextColor>style:ПоясняющийТекст</TextColor>
<ContextMenu name="ИтогиАгрегатыИтогиКонтекстноеМеню" id="72"/>
<ExtendedTooltip name="ИтогиАгрегатыИтогиРасширеннаяПодсказка" id="377"/>
</InputField>
</ChildItems>
</ColumnGroup>
<InputField name="ИтогиПериодИтогов" id="18">
<DataPath>СписокИтогов.ПериодИтогов</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текущая дата актуальности итогов</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<Width>9</Width>
<HorizontalStretch>false</HorizontalStretch>
<Wrap>false</Wrap>
<ContextMenu name="ИтогиПериодИтоговКонтекстноеМеню" id="19"/>
<ExtendedTooltip name="ИтогиПериодИтоговРасширеннаяПодсказка" id="375"/>
</InputField>
<CheckBoxField name="ИтогиИспользоватьТекущиеИтоги" id="16">
<DataPath>СписокИтогов.ИспользоватьТекущиеИтоги</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текущие</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Признак использования текущих итогов данным регистром.</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="ИтогиИспользоватьТекущиеИтогиКонтекстноеМеню" id="17"/>
<ExtendedTooltip name="ИтогиИспользоватьТекущиеИтогиРасширеннаяПодсказка" id="374"/>
</CheckBoxField>
<CheckBoxField name="ИтогиРазделениеИтогов" id="185">
<DataPath>СписокИтогов.РазделениеИтогов</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Разделение</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Возможность разделения итогов</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="ИтогиРазделениеИтоговКонтекстноеМеню" id="186"/>
<ExtendedTooltip name="ИтогиРазделениеИтоговРасширеннаяПодсказка" id="376"/>
</CheckBoxField>
</ChildItems>
</Table>
<CheckBoxField name="ПрерыватьПриОшибке" id="264">
<DataPath>ПрерыватьПриОшибке</DataPath>
<Visible>false</Visible>
<UserVisible>
<xr:Common>false</xr:Common>
</UserVisible>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прерывать обработку после ошибки с одним регистром</v8:content>
</v8:item>
</Title>
<TitleLocation>Right</TitleLocation>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="ПрерыватьПриОшибкеКонтекстноеМеню" id="265"/>
<ExtendedTooltip name="ПрерыватьПриОшибкеРасширеннаяПодсказка" id="378"/>
</CheckBoxField>
</ChildItems>
</Page>
<Page name="ГруппаАгрегаты" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Управление агрегатами</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаАгрегатыРасширеннаяПодсказка" id="379"/>
<ChildItems>
<Table name="АгрегатыПоРегистрам" id="56">
<Representation>List</Representation>
<ReadOnly>true</ReadOnly>
<SkipOnInput>false</SkipOnInput>
<Height>6</Height>
<AutoInsertNewRow>true</AutoInsertNewRow>
<FileDragMode>AsFile</FileDragMode>
<DataPath>АгрегатыПоРегистрам</DataPath>
<RowPictureDataPath>АгрегатыПоРегистрам.Картинка</RowPictureDataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты по регистрам</v8:content>
</v8:item>
</Title>
<RowFilter xsi:nil="true"/>
<ContextMenu name="АгрегатыПоРегистрамКонтекстноеМеню" id="57">
<Autofill>false</Autofill>
<ChildItems>
<Button name="МенюАгрегатыВключитьРежимАгрегатов" id="313">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьРежимАгрегатов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим агрегатов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="МенюАгрегатыВключитьРежимАгрегатовРасширеннаяПодсказка" id="380"/>
</Button>
<Button name="МенюАгрегатыПерестроитьАгрегаты" id="314">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПерестроитьАгрегаты</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить ...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="МенюАгрегатыПерестроитьАгрегатыРасширеннаяПодсказка" id="381"/>
</Button>
<Button name="МенюАгрегатыАгрегатыОптимальные" id="315">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.АгрегатыОптимальные</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Оптимальные ...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="МенюАгрегатыАгрегатыОптимальныеРасширеннаяПодсказка" id="382"/>
</Button>
<Button name="МенюАгрегатыВыделитьВсе" id="312">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.АгрегатыПоРегистрам.StandardCommand.SelectAll</CommandName>
<ExtendedTooltip name="МенюАгрегатыВыделитьВсеРасширеннаяПодсказка" id="383"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="АгрегатыПоРегистрамКоманднаяПанель" id="58">
<Autofill>false</Autofill>
<ChildItems>
<Button name="АгрегатыКнопкаОбновитьИнформациюОбАгрегатах" id="109">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ОбновитьИнформациюОбАгрегатах</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаОбновитьИнформациюОбАгрегатахРасширеннаяПодсказка" id="384"/>
</Button>
<Popup name="ГруппаРежим" id="297">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Режим</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Изменение режима использования регистра</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаРежимРасширеннаяПодсказка" id="385"/>
<ChildItems>
<Button name="АгрегатыКнопкаВключитьРежимАгрегатов" id="193">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьРежимАгрегатов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим агрегатов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаВключитьРежимАгрегатовРасширеннаяПодсказка" id="386"/>
</Button>
<Button name="АгрегатыКнопкаВключитьРежимИтогов" id="195">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьРежимИтогов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим итогов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаВключитьРежимИтоговРасширеннаяПодсказка" id="387"/>
</Button>
</ChildItems>
</Popup>
<Popup name="ГруппаИспользование" id="298">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Использование</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Изменение режима использования агрегатов</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаИспользованиеРасширеннаяПодсказка" id="388"/>
<ChildItems>
<Button name="АгрегатыКнопкаВключитьИспользованиеАгрегатов" id="194">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВключитьИспользованиеАгрегатов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование агрегатов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаВключитьИспользованиеАгрегатовРасширеннаяПодсказка" id="389"/>
</Button>
<Button name="АгрегатыКнопкаОтключитьИспользованиеАгрегатов" id="196">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ВыключитьИспользованиеАгрегатов</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование агрегатов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаОтключитьИспользованиеАгрегатовРасширеннаяПодсказка" id="390"/>
</Button>
</ChildItems>
</Popup>
<Button name="АгрегатыКнопкаПерестроить" id="198">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ПерестроитьАгрегаты</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить ...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаПерестроитьРасширеннаяПодсказка" id="391"/>
</Button>
<Button name="АгрегатыКнопкаЗаполнитьАгрегатыПоРегистрам" id="200">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ЗаполнитьАгрегатыПоРегистрам</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаЗаполнитьАгрегатыПоРегистрамРасширеннаяПодсказка" id="392"/>
</Button>
<Button name="АгрегатыКнопкаОчиститьАгрегатыПоРегистрам" id="199">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ОчиститьАгрегатыПоРегистрам</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Очистить</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаОчиститьАгрегатыПоРегистрамРасширеннаяПодсказка" id="393"/>
</Button>
<Button name="АгрегатыКнопкаОптимальные" id="201">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.АгрегатыОптимальные</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Оптимальные ...</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыКнопкаОптимальныеРасширеннаяПодсказка" id="394"/>
</Button>
<Button name="АгрегатыКнопкаВыделитьВсе" id="317">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Item.АгрегатыПоРегистрам.StandardCommand.SelectAll</CommandName>
<LocationInCommandBar>InCommandBarAndInAdditionalSubmenu</LocationInCommandBar>
<ExtendedTooltip name="АгрегатыКнопкаВыделитьВсеРасширеннаяПодсказка" id="395"/>
</Button>
</ChildItems>
</AutoCommandBar>
<ExtendedTooltip name="АгрегатыПоРегистрамРасширеннаяПодсказка" id="396"/>
<SearchStringAddition name="АгрегатыПоРегистрамСтрокаПоиска" id="433">
<AdditionSource>
<Item>АгрегатыПоРегистрам</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="АгрегатыПоРегистрамСтрокаПоискаКонтекстноеМеню" id="434"/>
<ExtendedTooltip name="АгрегатыПоРегистрамСтрокаПоискаРасширеннаяПодсказка" id="435"/>
</SearchStringAddition>
<ViewStatusAddition name="АгрегатыПоРегистрамСостояниеПросмотра" id="436">
<AdditionSource>
<Item>АгрегатыПоРегистрам</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="АгрегатыПоРегистрамСостояниеПросмотраКонтекстноеМеню" id="437"/>
<ExtendedTooltip name="АгрегатыПоРегистрамСостояниеПросмотраРасширеннаяПодсказка" id="438"/>
</ViewStatusAddition>
<SearchControlAddition name="АгрегатыПоРегистрамУправлениеПоиском" id="439">
<AdditionSource>
<Item>АгрегатыПоРегистрам</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="АгрегатыПоРегистрамУправлениеПоискомКонтекстноеМеню" id="440"/>
<ExtendedTooltip name="АгрегатыПоРегистрамУправлениеПоискомРасширеннаяПодсказка" id="441"/>
</SearchControlAddition>
<Events>
<Event name="OnActivateRow">АгрегатыПоРегистрамПриАктивизацииСтроки</Event>
</Events>
<ChildItems>
<CheckBoxField name="АгрегатыПоРегистрамИспользованиеАгрегатов" id="63">
<DataPath>АгрегатыПоРегистрам.ИспользованиеАгрегатов</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Использование</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Признак использования агрегатов для регистра.</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<HeaderPicture>
<xr:Ref>CommonPicture.Успешно</xr:Ref>
<xr:LoadTransparent>false</xr:LoadTransparent>
</HeaderPicture>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="АгрегатыПоРегистрамИспользованиеАгрегатовКонтекстноеМеню" id="64"/>
<ExtendedTooltip name="АгрегатыПоРегистрамИспользованиеАгрегатовРасширеннаяПодсказка" id="399"/>
</CheckBoxField>
<ColumnGroup name="АгрегатыПоРегистрамНаименованиеИРежим" id="420">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты по регистрам наименование и режим</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыПоРегистрамНаименованиеИРежимРасширеннаяПодсказка" id="421"/>
<ChildItems>
<InputField name="АгрегатыПоРегистрамНаименование" id="59">
<DataPath>АгрегатыПоРегистрам.Наименование</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Регистр</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Wrap>false</Wrap>
<ContextMenu name="АгрегатыПоРегистрамНаименованиеКонтекстноеМеню" id="60"/>
<ExtendedTooltip name="АгрегатыПоРегистрамНаименованиеРасширеннаяПодсказка" id="397"/>
</InputField>
<InputField name="АгрегатыПоРегистрамРежимАгрегатов" id="61">
<DataPath>АгрегатыПоРегистрам.РежимАгрегатов</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты/Итоги</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<ShowInHeader>false</ShowInHeader>
<Wrap>false</Wrap>
<Format>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>БЛ='Используются данные итогов'; БИ='Используются данные агрегатов'</v8:content>
</v8:item>
</Format>
<EditFormat>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>БЛ='Используются данные итогов'; БИ='Используются данные агрегатов'</v8:content>
</v8:item>
</EditFormat>
<TextColor>style:ПоясняющийТекст</TextColor>
<ContextMenu name="АгрегатыПоРегистрамРежимАгрегатовКонтекстноеМеню" id="62"/>
<ExtendedTooltip name="АгрегатыПоРегистрамРежимАгрегатовРасширеннаяПодсказка" id="398"/>
</InputField>
</ChildItems>
</ColumnGroup>
<ColumnGroup name="АгрегатыПоРегистрамГруппаДатаИЭффект" id="422">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты по регистрам группа дата и эффект</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыПоРегистрамГруппаДатаИЭффектРасширеннаяПодсказка" id="423"/>
<ChildItems>
<InputField name="АгрегатыПоРегистрамДатаПостроения" id="69">
<DataPath>АгрегатыПоРегистрам.ДатаПостроения</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Дата построения</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>13</Width>
<Wrap>false</Wrap>
<ContextMenu name="АгрегатыПоРегистрамДатаПостроенияКонтекстноеМеню" id="70"/>
<ExtendedTooltip name="АгрегатыПоРегистрамДатаПостроенияРасширеннаяПодсказка" id="400"/>
</InputField>
<InputField name="АгрегатыПоРегистрамЭффект" id="91">
<DataPath>АгрегатыПоРегистрам.Эффект</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Эффект</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Ожидаемое уменьшение среднего времени выполнения запроса с использованием агрегатов</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<Wrap>false</Wrap>
<ContextMenu name="АгрегатыПоРегистрамЭффектКонтекстноеМеню" id="92"/>
<ExtendedTooltip name="АгрегатыПоРегистрамЭффектРасширеннаяПодсказка" id="401"/>
</InputField>
</ChildItems>
</ColumnGroup>
<ColumnGroup name="АгрегатыПоРегистрамГруппаРазмеры" id="418">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты по регистрам группа размеры</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="АгрегатыПоРегистрамГруппаРазмерыРасширеннаяПодсказка" id="419"/>
<ChildItems>
<InputField name="АгрегатыПоРегистрамРазмер" id="89">
<DataPath>АгрегатыПоРегистрам.Размер</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Размер</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Размер таблицы агрегата (оценочный показатель)</v8:content>
</v8:item>
</ToolTip>
<EditMode>EnterOnInput</EditMode>
<Wrap>false</Wrap>
<ContextMenu name="АгрегатыПоРегистрамРазмерКонтекстноеМеню" id="90"/>
<ExtendedTooltip name="АгрегатыПоРегистрамРазмерРасширеннаяПодсказка" id="402"/>
</InputField>
<InputField name="АгрегатыПоРегистрамОграничениеРазмера" id="107">
<DataPath>АгрегатыПоРегистрам.ОграничениеРазмера</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Ограничение размера</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>17</Width>
<Wrap>false</Wrap>
<ContextMenu name="АгрегатыПоРегистрамОграничениеРазмераКонтекстноеМеню" id="108"/>
<ExtendedTooltip name="АгрегатыПоРегистрамОграничениеРазмераРасширеннаяПодсказка" id="403"/>
</InputField>
</ChildItems>
</ColumnGroup>
</ChildItems>
</Table>
<Table name="СписокАгрегатов" id="73">
<Representation>List</Representation>
<CommandBarLocation>None</CommandBarLocation>
<ReadOnly>true</ReadOnly>
<SkipOnInput>false</SkipOnInput>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<Height>3</Height>
<AutoInsertNewRow>true</AutoInsertNewRow>
<FileDragMode>AsFile</FileDragMode>
<DataPath>СписокАгрегатовРегистра</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегатов</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>CancelSearch</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>CopyToClipboard</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>Find</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>OutputList</ExcludedCommand>
<ExcludedCommand>SelectAll</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
</CommandSet>
<RowFilter xsi:nil="true"/>
<ContextMenu name="СписокАгрегатовКонтекстноеМеню" id="74"/>
<AutoCommandBar name="СписокАгрегатовКоманднаяПанель" id="75">
<Autofill>false</Autofill>
</AutoCommandBar>
<ExtendedTooltip name="СписокАгрегатовРасширеннаяПодсказка" id="404"/>
<SearchStringAddition name="СписокАгрегатовСтрокаПоиска" id="442">
<AdditionSource>
<Item>СписокАгрегатов</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокАгрегатовСтрокаПоискаКонтекстноеМеню" id="443"/>
<ExtendedTooltip name="СписокАгрегатовСтрокаПоискаРасширеннаяПодсказка" id="444"/>
</SearchStringAddition>
<ViewStatusAddition name="СписокАгрегатовСостояниеПросмотра" id="445">
<AdditionSource>
<Item>СписокАгрегатов</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="СписокАгрегатовСостояниеПросмотраКонтекстноеМеню" id="446"/>
<ExtendedTooltip name="СписокАгрегатовСостояниеПросмотраРасширеннаяПодсказка" id="447"/>
</ViewStatusAddition>
<SearchControlAddition name="СписокАгрегатовУправлениеПоиском" id="448">
<AdditionSource>
<Item>СписокАгрегатов</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="СписокАгрегатовУправлениеПоискомКонтекстноеМеню" id="449"/>
<ExtendedTooltip name="СписокАгрегатовУправлениеПоискомРасширеннаяПодсказка" id="450"/>
</SearchControlAddition>
<ChildItems>
<ColumnGroup name="АгрегатыРегистраПериодичностьИИспользование" id="416">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты регистра периодичность и использование</v8:content>
</v8:item>
</Title>
<Group>InCell</Group>
<ExtendedTooltip name="АгрегатыРегистраПериодичностьИИспользованиеРасширеннаяПодсказка" id="417"/>
<ChildItems>
<CheckBoxField name="СписокАгрегатовИспользование" id="97">
<DataPath>СписокАгрегатовРегистра.Использование</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Использование</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<ShowInHeader>false</ShowInHeader>
<CheckBoxType>Auto</CheckBoxType>
<ContextMenu name="СписокАгрегатовИспользованиеКонтекстноеМеню" id="98"/>
<ExtendedTooltip name="СписокАгрегатовИспользованиеРасширеннаяПодсказка" id="405"/>
</CheckBoxField>
<InputField name="СписокАгрегатовПериодичность" id="322">
<DataPath>СписокАгрегатовРегистра.Периодичность</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Периодичность</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>15</Width>
<Wrap>false</Wrap>
<ContextMenu name="СписокАгрегатовПериодичностьКонтекстноеМеню" id="323"/>
<ExtendedTooltip name="СписокАгрегатовПериодичностьРасширеннаяПодсказка" id="406"/>
</InputField>
</ChildItems>
</ColumnGroup>
<InputField name="СписокАгрегатовИзмерения" id="95">
<DataPath>СписокАгрегатовРегистра.Измерения</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Измерения</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>15</Width>
<Wrap>false</Wrap>
<ContextMenu name="СписокАгрегатовИзмеренияКонтекстноеМеню" id="96"/>
<ExtendedTooltip name="СписокАгрегатовИзмеренияРасширеннаяПодсказка" id="407"/>
</InputField>
<InputField name="СписокАгрегатовНачалоПериода" id="101">
<DataPath>СписокАгрегатовРегистра.НачалоПериода</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Начало периода</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>10</Width>
<Wrap>false</Wrap>
<ContextMenu name="СписокАгрегатовНачалоПериодаКонтекстноеМеню" id="102"/>
<ExtendedTooltip name="СписокАгрегатовНачалоПериодаРасширеннаяПодсказка" id="408"/>
</InputField>
<InputField name="СписокАгрегатовКонецПериода" id="99">
<DataPath>СписокАгрегатовРегистра.КонецПериода</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Конец периода</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>10</Width>
<Wrap>false</Wrap>
<ContextMenu name="СписокАгрегатовКонецПериодаКонтекстноеМеню" id="100"/>
<ExtendedTooltip name="СписокАгрегатовКонецПериодаРасширеннаяПодсказка" id="409"/>
</InputField>
<InputField name="СписокАгрегатовРазмер" id="105">
<DataPath>СписокАгрегатовРегистра.Размер</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Размер</v8:content>
</v8:item>
</Title>
<EditMode>EnterOnInput</EditMode>
<Width>10</Width>
<Wrap>false</Wrap>
<ContextMenu name="СписокАгрегатовРазмерКонтекстноеМеню" id="106"/>
<ExtendedTooltip name="СписокАгрегатовРазмерРасширеннаяПодсказка" id="410"/>
</InputField>
</ChildItems>
</Table>
</ChildItems>
</Page>
</ChildItems>
</Pages>
</ChildItems>
</Page>
</ChildItems>
</Pages>
<UsualGroup name="Подвал" id="320">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Подвал</v8:content>
</v8:item>
</Title>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ПодвалРасширеннаяПодсказка" id="411"/>
<ChildItems>
<LabelField name="ТекстГиперссылки" id="326">
<DataPath>ТекстГиперссылки</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текст гиперссылки</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<AutoMaxWidth>false</AutoMaxWidth>
<HorizontalStretch>true</HorizontalStretch>
<Hiperlink>true</Hiperlink>
<ContextMenu name="ТекстГиперссылкиКонтекстноеМеню" id="327"/>
<ExtendedTooltip name="ТекстГиперссылкиРасширеннаяПодсказка" id="412"/>
<Events>
<Event name="Click">ГиперссылкаСТекстомНажатие</Event>
</Events>
</LabelField>
<Button name="Справка" id="321">
<Type>UsualButton</Type>
<Representation>Picture</Representation>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.StandardCommand.Help</CommandName>
<ExtendedTooltip name="СправкаРасширеннаяПодсказка" id="413"/>
</Button>
</ChildItems>
</UsualGroup>
</ChildItems>
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>cfg:DataProcessorObject.УправлениеИтогамиИАгрегатами</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
<Attribute name="СписокИтогов" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Список итогов</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="Наименование" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Регистр и режим использования</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="ИспользоватьИтоги" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Итоги</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="ИспользоватьТекущиеИтоги" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текущие</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="ПериодИтогов" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>Date</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Column>
<Column name="Картинка" id="8">
<Type>
<v8:Type>v8ui:Picture</v8:Type>
</Type>
</Column>
<Column name="Тип" id="9">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>1</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="ИмяМетаданного" id="10">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="ОстаткиИОбороты" id="11">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="АгрегатыИтоги" id="12">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты/Итоги</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>1</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="РазделениеИтогов" id="13">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Разделение</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="РазрешитьРазделениеИтогов" id="3">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="АгрегатыПоРегистрам" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты по регистрам</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="Наименование" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Регистр</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="ИмяМетаданного" id="2">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="РежимАгрегатов" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты/Итоги</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="ИспользованиеАгрегатов" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Использование</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="ДатаПостроения" id="10">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Дата построения</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>Date</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Column>
<Column name="Картинка" id="11">
<Type>
<v8:Type>v8ui:Picture</v8:Type>
</Type>
</Column>
<Column name="Размер" id="8">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Размер</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>15</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="Эффект" id="9">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Эффект</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>15</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="ОграничениеРазмера" id="12">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Ограничение размера</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>15</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="ПостроениеОптимально" id="4">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="ПрерыватьПриОшибке" id="8">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прерывать обработку после ошибки с одним регистром</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
<Save>
<Field>ПрерыватьПриОшибке</Field>
</Save>
</Attribute>
<Attribute name="СписокАгрегатовРегистра" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Агрегаты регистра</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="ИмяМетаданного" id="1">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Измерения" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Измерения</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Использование" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Использование</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Column>
<Column name="КонецПериода" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Конец периода</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>DateTime</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Column>
<Column name="НачалоПериода" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Начало периода</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>DateTime</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Column>
<Column name="Периодичность" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Периодичность</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Размер" id="7">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Размер</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>15</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="ПолныеВозможности" id="7">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
<Save>
<Field>ПолныеВозможности</Field>
</Save>
</Attribute>
<Attribute name="РассчитатьИтогиНа" id="9">
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>Date</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Attribute>
<Attribute name="ПутьКОптимальнымАгрегатам" id="13">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<Save>
<Field>ПутьКОптимальнымАгрегатам</Field>
</Save>
</Attribute>
<Attribute name="ОтносительныйРазмер" id="14">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
<Save>
<Field>ОтносительныйРазмер</Field>
</Save>
</Attribute>
<Attribute name="МинимальныйЭффект" id="15">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
<Save>
<Field>МинимальныйЭффект</Field>
</Save>
</Attribute>
<Attribute name="ОптимальныйОтносительныйРазмер" id="16">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Nonnegative</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
<Save>
<Field>ОптимальныйОтносительныйРазмер</Field>
</Save>
</Attribute>
<Attribute name="ПериодПерерасчетаРегистров" id="3">
<Type>
<v8:Type>v8:StandardPeriod</v8:Type>
</Type>
<Save>
<Field>ПериодПерерасчетаРегистров</Field>
</Save>
</Attribute>
<Attribute name="ТекстГиперссылки" id="11">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Текст гиперссылки</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
</Attributes>
<Commands>
<Command name="ВключитьИспользованиеИтогов" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьИспользованиеИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьИспользованиеТекущихИтогов" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование текущих итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование текущих итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьИспользованиеТекущихИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВыключитьИспользованиеИтогов" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВыключитьИспользованиеИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВыключитьИспользованиеТекущихИтогов" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование текущих итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование текущих итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВыключитьИспользованиеТекущихИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ОбновитьСостояниеИтогов" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить информацию о состоянии итогов</v8:content>
</v8:item>
</ToolTip>
<Shortcut>F5</Shortcut>
<Picture>
<xr:Ref>StdPicture.Refresh</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>ОбновитьСостояниеИтогов</Action>
<Representation>Text</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="УстановитьПериодИтогов" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период итогов...</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов</v8:content>
</v8:item>
</ToolTip>
<Action>УстановитьПериодИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьРазделениеИтогов" id="7">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить разделение итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить разделение итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьРазделениеИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВыключитьРазделениеИтогов" id="8">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить разделение итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить разделение итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВыключитьРазделениеИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ОбновитьИнформациюОбАгрегатах" id="9">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить информацию об агрегатах</v8:content>
</v8:item>
</ToolTip>
<Shortcut>F5</Shortcut>
<Picture>
<xr:Ref>StdPicture.Refresh</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>ОбновитьИнформациюОбАгрегатах</Action>
<Representation>Picture</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьРежимАгрегатов" id="10">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим агрегатов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим агрегатов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьРежимАгрегатов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьИспользованиеАгрегатов" id="11">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование агрегатов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование агрегатов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьИспользованиеАгрегатов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьРежимИтогов" id="12">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить режим итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьРежимИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВыключитьИспользованиеАгрегатов" id="13">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование агрегатов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выключить использование агрегатов</v8:content>
</v8:item>
</ToolTip>
<Action>ВыключитьИспользованиеАгрегатов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПерестроитьАгрегаты" id="14">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить ...</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить использование агрегатов</v8:content>
</v8:item>
</ToolTip>
<Action>ПерестроитьАгрегаты</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ОчиститьАгрегатыПоРегистрам" id="15">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Очистить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Очистить агрегаты</v8:content>
</v8:item>
</ToolTip>
<Action>ОчиститьАгрегатыПоРегистрам</Action>
<Representation>Text</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ЗаполнитьАгрегатыПоРегистрам" id="16">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить агрегаты</v8:content>
</v8:item>
</ToolTip>
<Action>ЗаполнитьАгрегатыПоРегистрам</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="АгрегатыОптимальные" id="17">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Оптимальные ...</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Рассчитать оптимальные агрегаты</v8:content>
</v8:item>
</ToolTip>
<Action>АгрегатыОптимальные</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="УстановитьПериодРассчитанныхИтогов" id="18">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Установить период рассчитанных итогов по всем регистрам</v8:content>
</v8:item>
</ToolTip>
<Action>УстановитьПериодРассчитанныхИтогов</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ВключитьИспользованиеИтоговБыстрыйДоступ" id="19">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Включить использование итогов для всех регистров, у которых это использование отключено</v8:content>
</v8:item>
</ToolTip>
<Action>ВключитьИспользованиеИтоговБыстрыйДоступ</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ЗаполнитьАгрегатыИВыполнитьПерестроение" id="20">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Перестроить и заполнить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Заполнить агрегаты и выполнить перестроение</v8:content>
</v8:item>
</ToolTip>
<Action>ЗаполнитьАгрегатыИВыполнитьПерестроение</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПолучитьОптимальныеАгрегаты" id="21">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получить оптимальные агрегаты</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Рассчитать оптимальные агрегаты для всех регистров</v8:content>
</v8:item>
</ToolTip>
<Action>ПолучитьОптимальныеАгрегаты</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПересчитатьИтоги" id="22">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выполнить пересчет итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ПересчитатьИтоги</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПересчитатьИтогиЗаПериод" id="23">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать итоги за период...</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выполнить пересчет итогов за период</v8:content>
</v8:item>
</ToolTip>
<Action>ПересчитатьИтогиЗаПериод</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПересчитатьТекущиеИтоги" id="24">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пересчитать текущие итоги</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выполнить пересчет текущих итогов</v8:content>
</v8:item>
</ToolTip>
<Action>ПересчитатьТекущиеИтоги</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
</Commands>
</Form> | 86,453 | Form | xml | ru | xml | data | {"qsc_code_num_words": 7224, "qsc_code_num_chars": 86453.0, "qsc_code_mean_word_length": 6.94227575, "qsc_code_frac_words_unique": 0.1194629, "qsc_code_frac_chars_top_2grams": 0.04139499, "qsc_code_frac_chars_top_3grams": 0.02759666, "qsc_code_frac_chars_top_4grams": 0.04139499, "qsc_code_frac_chars_dupe_5grams": 0.62373632, "qsc_code_frac_chars_dupe_6grams": 0.59003808, "qsc_code_frac_chars_dupe_7grams": 0.56952005, "qsc_code_frac_chars_dupe_8grams": 0.52012921, "qsc_code_frac_chars_dupe_9grams": 0.49779665, "qsc_code_frac_chars_dupe_10grams": 0.46710933, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03520065, "qsc_code_frac_chars_whitespace": 0.2866066, "qsc_code_size_file_byte": 86453.0, "qsc_code_num_lines": 2281.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 37.90135905, "qsc_code_frac_chars_alphabet": 0.77793271, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.78868917, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.13599297, "qsc_code_frac_chars_long_word_length": 0.10665911, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zilc/fishing-funds | src/renderer/components/Home/CoinView/ManageCoinContent/Optional/index.tsx | import React from 'react';
import { ReactSortable } from 'react-sortablejs';
import clsx from 'clsx';
import { Button } from 'antd';
import { RiAddLine, RiMenuLine, RiIndeterminateCircleFill } from 'react-icons/ri';
import PureCard from '@/components/Card/PureCard';
import CustomDrawer from '@/components/CustomDrawer';
import Empty from '@/components/Empty';
import { deleteCoinAction, setCoinConfigAction } from '@/store/features/coin';
import { useDrawer, useAutoDestroySortableRef, useAppDispatch, useAppSelector } from '@/utils/hooks';
import * as Utils from '@/utils';
import styles from './index.module.css';
const AddCoinContent = React.lazy(() => import('@/components/Home/CoinView/AddCoinContent'));
export interface OptionalProps {}
const { dialog } = window.contextModules.electron;
const Optional: React.FC<OptionalProps> = () => {
const dispatch = useAppDispatch();
const sortableRef = useAutoDestroySortableRef();
const { codeMap, coinConfig } = useAppSelector((state) => state.coin.config);
const { show: showAddDrawer, set: setAddDrawer, close: closeAddDrawer } = useDrawer(null);
const sortCoinConfig = coinConfig.map((_) => ({ ..._, id: _.code }));
function onSortCoinConfig(sortList: Coin.SettingItem[]) {
const hasChanged = Utils.CheckListOrderHasChanged(coinConfig, sortList, 'code');
if (hasChanged) {
const sortConfig = sortList.map((item) => codeMap[item.code]);
dispatch(setCoinConfigAction(sortConfig));
}
}
async function onRemoveCoin(coin: Coin.SettingItem) {
const { response } = await dialog.showMessageBox({
title: '删除货币',
type: 'info',
message: `确认删除 ${coin.name || ''} ${coin.code}`,
buttons: ['确定', '取消'],
});
if (response === 0) {
dispatch(deleteCoinAction(coin.code));
}
}
return (
<div className={styles.content}>
{sortCoinConfig.length ? (
<ReactSortable
ref={sortableRef}
animation={200}
delay={2}
list={sortCoinConfig}
setList={onSortCoinConfig}
dragClass={styles.dragItem}
swap
>
{sortCoinConfig.map((coin) => (
<PureCard key={coin.code} className={clsx(styles.row, 'hoverable')}>
<RiIndeterminateCircleFill className={styles.remove} onClick={() => onRemoveCoin(coin)} />
<div className={styles.name}>{coin.symbol}</div>
<RiMenuLine className={styles.function} />
</PureCard>
))}
</ReactSortable>
) : (
<Empty text="暂未自选货币~" />
)}
<Button
className="bottom-button"
shape="circle"
type="primary"
size="large"
icon={<RiAddLine />}
onClick={(e) => {
setAddDrawer(null);
e.stopPropagation();
}}
/>
<CustomDrawer show={showAddDrawer}>
<AddCoinContent onClose={closeAddDrawer} onEnter={closeAddDrawer} />
</CustomDrawer>
</div>
);
};
export default Optional;
| 3,019 | index | tsx | en | tsx | code | {"qsc_code_num_words": 262, "qsc_code_num_chars": 3019.0, "qsc_code_mean_word_length": 7.2519084, "qsc_code_frac_words_unique": 0.47709924, "qsc_code_frac_chars_top_2grams": 0.03157895, "qsc_code_frac_chars_top_3grams": 0.02105263, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00213493, "qsc_code_frac_chars_whitespace": 0.22424644, "qsc_code_size_file_byte": 3019.0, "qsc_code_num_lines": 89.0, "qsc_code_num_chars_line_max": 105.0, "qsc_code_num_chars_line_mean": 33.92134831, "qsc_code_frac_chars_alphabet": 0.80913749, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.09108976, "qsc_code_frac_chars_long_word_length": 0.03742961, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/CoinView/DetailCoinContent/K/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import ChartCard from '@/components/Card/ChartCard';
import ExportTitleBar from '@/components/ExportTitleBar';
import TypeSelection from '@/components/TypeSelection';
import { useResizeEchart, useAppSelector, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import * as Services from '@/services';
import * as Utils from '@/utils';
import styles from './index.module.css';
export interface PerformanceProps {
code: string;
name?: string;
}
const dateTypeList = [
{ name: '1天', type: 1, code: '1' },
{ name: '1月', type: 3, code: '30' },
{ name: '3月', type: 4, code: '90' },
{ name: '半年', type: 5, code: '180' },
{ name: '1年', type: 6, code: '365' },
{ name: '最大', type: 7, code: 'max' },
];
const K: React.FC<PerformanceProps> = ({ code = '', name }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
const [date, setDateType] = useState(dateTypeList[5]);
const coinUnitSetting = useAppSelector((state) => state.setting.systemSetting.coinUnitSetting);
const { data: result = [], run: runGetKFromCoingecko } = useRequest(
() => Services.Coin.GetKFromCoingecko(code, coinUnitSetting, date.code),
{
refreshDeps: [code, coinUnitSetting, date.code],
ready: !!chartInstance,
}
);
useRenderEcharts(
({ varibleColors }) => {
// 数据意义:开盘(open),收盘(close),最低(lowest),最高(highest)
const values = result.map((_) => [_.kp, _.sp, _.zd, _.zg]);
chartInstance?.setOption({
title: {
text: '',
left: 0,
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'cross',
},
},
legend: {
data: ['MA5', 'MA10', 'MA20', 'MA30', 'MA60', 'MA120', 'MA250'],
textStyle: {
color: 'var(--main-text-color)',
fontSize: 10,
},
selected: {
MA60: false,
MA120: false,
MA250: false,
},
top: 0,
padding: [5, 0, 5, 0],
itemGap: 5,
},
grid: {
left: 0,
right: 0,
bottom: 0,
top: 42,
containLabel: true,
},
xAxis: {
type: 'category',
data: result.map(({ time }) => time),
axisLabel: { show: true, fontSize: 10 },
},
yAxis: {
scale: true,
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
axisLabel: { show: true, fontSize: 10 },
},
dataZoom: [
{
type: 'inside',
start: 80,
end: 100,
},
],
series: [
{
name: 'K线',
type: 'candlestick',
data: values,
itemStyle: {
color: varibleColors['--increase-color'],
color0: varibleColors['--reduce-color'],
},
markPoint: {
symbolSize: 30,
data: [
{
name: '最高值',
type: 'max',
valueDim: 'highest',
},
{
name: '最低值',
type: 'min',
valueDim: 'lowest',
},
{
name: '平均值',
type: 'average',
valueDim: 'close',
},
],
},
},
{
name: 'MA5',
type: 'line',
data: Utils.CalculateMA(5, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA10',
type: 'line',
data: Utils.CalculateMA(10, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA20',
type: 'line',
data: Utils.CalculateMA(20, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA30',
type: 'line',
data: Utils.CalculateMA(30, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA60',
type: 'line',
data: Utils.CalculateMA(60, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA120',
type: 'line',
data: Utils.CalculateMA(120, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
{
name: 'MA250',
type: 'line',
data: Utils.CalculateMA(250, values),
smooth: true,
showSymbol: false,
symbol: 'none',
lineStyle: {
opacity: 0.5,
},
},
],
});
},
chartInstance,
[result]
);
return (
<ChartCard onFresh={runGetKFromCoingecko} TitleBar={<ExportTitleBar name={name} data={result} />}>
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
<TypeSelection types={dateTypeList} activeType={date.type} onSelected={setDateType} flex />
</div>
</ChartCard>
);
};
export default K;
| 6,000 | index | tsx | en | tsx | code | {"qsc_code_num_words": 464, "qsc_code_num_chars": 6000.0, "qsc_code_mean_word_length": 5.5862069, "qsc_code_frac_words_unique": 0.37715517, "qsc_code_frac_chars_top_2grams": 0.00617284, "qsc_code_frac_chars_top_3grams": 0.03240741, "qsc_code_frac_chars_top_4grams": 0.04591049, "qsc_code_frac_chars_dupe_5grams": 0.2650463, "qsc_code_frac_chars_dupe_6grams": 0.16859568, "qsc_code_frac_chars_dupe_7grams": 0.16859568, "qsc_code_frac_chars_dupe_8grams": 0.16859568, "qsc_code_frac_chars_dupe_9grams": 0.16859568, "qsc_code_frac_chars_dupe_10grams": 0.16859568, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03430233, "qsc_code_frac_chars_whitespace": 0.42666667, "qsc_code_size_file_byte": 6000.0, "qsc_code_num_lines": 223.0, "qsc_code_num_chars_line_max": 103.0, "qsc_code_num_chars_line_mean": 26.9058296, "qsc_code_frac_chars_alphabet": 0.71918605, "qsc_code_frac_chars_comments": 0.00816667, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.24882629, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.07410519, "qsc_code_frac_chars_long_word_length": 0.01713998, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/CoinView/DetailCoinContent/Trend/index.tsx | import React, { useState } from 'react';
import { useRequest } from 'ahooks';
import TypeSelection from '@/components/TypeSelection';
import ExportTitleBar from '@/components/ExportTitleBar';
import ChartCard from '@/components/Card/ChartCard';
import { useResizeEchart, useAppSelector, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import * as Services from '@/services';
import styles from './index.module.css';
export interface PerformanceProps {
code: string;
name?: string;
}
const dateTypeList = [
{ name: '1天', type: 1, code: '1' },
{ name: '1月', type: 3, code: '30' },
{ name: '3月', type: 4, code: '90' },
{ name: '半年', type: 5, code: '180' },
{ name: '1年', type: 6, code: '365' },
{ name: '最大', type: 7, code: 'max' },
];
const Trend: React.FC<PerformanceProps> = ({ code, name }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
const [date, setDateType] = useState(dateTypeList[1]);
const coinUnitSetting = useAppSelector((state) => state.setting.systemSetting.coinUnitSetting);
const { data: result = { prices: [], vol24h: [] }, run: runGetHistoryFromCoingecko } = useRequest(
() => Services.Coin.GetHistoryFromCoingecko(code, coinUnitSetting, date.code),
{
pollingInterval: CONST.DEFAULT.ESTIMATE_FUND_DELAY,
refreshDeps: [code, coinUnitSetting, date.code],
ready: !!chartInstance,
}
);
useRenderEcharts(
() => {
chartInstance?.setOption({
title: {
text: '',
},
tooltip: {
trigger: 'axis',
position: 'inside',
},
grid: {
left: 0,
right: 5,
bottom: 0,
top: 20,
containLabel: true,
},
xAxis: {
type: 'time',
data: result.prices.map(({ time }) => time),
boundaryGap: false,
axisLabel: {
fontSize: 10,
},
},
yAxis: [
{
type: 'value',
axisLabel: {
fontSize: 10,
},
scale: true,
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
},
{
type: 'value',
axisLabel: {
fontSize: 10,
},
scale: true,
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
},
],
series: [
{
data: result.prices.map(({ time, price }) => [time, price]),
type: 'line',
name: `价格 ${coinUnitSetting}`,
showSymbol: false,
symbol: 'none',
smooth: true,
markPoint: {
symbol: 'pin',
symbolSize: 30,
data: [
{ type: 'max', label: { fontSize: 10 } },
{ type: 'min', label: { fontSize: 10 } },
],
},
},
{
data: result.vol24h.map(({ time, price }) => [time, price]),
yAxisIndex: 1,
type: 'bar',
name: `24H交易量 (亿)`,
smooth: true,
},
],
});
},
chartInstance,
[result]
);
return (
<ChartCard onFresh={runGetHistoryFromCoingecko} TitleBar={<ExportTitleBar name={name} data={result.prices} />}>
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
<TypeSelection types={dateTypeList} activeType={date.type} onSelected={setDateType} flex />
</div>
</ChartCard>
);
};
export default Trend;
| 3,734 | index | tsx | en | tsx | code | {"qsc_code_num_words": 303, "qsc_code_num_chars": 3734.0, "qsc_code_mean_word_length": 6.09570957, "qsc_code_frac_words_unique": 0.45874587, "qsc_code_frac_chars_top_2grams": 0.02707093, "qsc_code_frac_chars_top_3grams": 0.03465079, "qsc_code_frac_chars_top_4grams": 0.0292366, "qsc_code_frac_chars_dupe_5grams": 0.12398484, "qsc_code_frac_chars_dupe_6grams": 0.08012994, "qsc_code_frac_chars_dupe_7grams": 0.08012994, "qsc_code_frac_chars_dupe_8grams": 0.08012994, "qsc_code_frac_chars_dupe_9grams": 0.08012994, "qsc_code_frac_chars_dupe_10grams": 0.08012994, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.02034884, "qsc_code_frac_chars_whitespace": 0.35511516, "qsc_code_size_file_byte": 3734.0, "qsc_code_num_lines": 133.0, "qsc_code_num_chars_line_max": 116.0, "qsc_code_num_chars_line_mean": 28.07518797, "qsc_code_frac_chars_alphabet": 0.74667774, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.19354839, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06829138, "qsc_code_frac_chars_long_word_length": 0.02142475, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/УправлениеИтогамиИАгрегатами/Forms/ОсновнаяФорма/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОписаниеПеременных
&НаКлиенте
Перем КонтекстВыбора;
#КонецОбласти
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
УстановитьУсловноеОформление();
Если ОбщегоНазначения.РазделениеВключено() Тогда
ВызватьИсключение НСтр("ru = 'Управление итогами и агрегатами недоступно в модели сервиса.'");
КонецЕсли;
Если Не Пользователи.ЭтоПолноправныйПользователь() Тогда
СтандартнаяОбработка = Ложь;
Возврат;
КонецЕсли;
ПрочитатьИнформациюПоРегистрам();
ОбновитьСписокИтоговНаСервере();
ОбновитьАгрегатыПоРегистрамНаСервере();
Если АгрегатыПоРегистрам.Количество() <> 0 Тогда
Элементы.СписокАгрегатов.Заголовок = Префикс() + " " + АгрегатыПоРегистрам[0].Наименование;
Иначе
Элементы.СписокАгрегатов.Заголовок = Префикс();
КонецЕсли;
Если СписокИтогов.Количество() = 0 Тогда
Элементы.ГруппаИтогов.Доступность = Ложь;
Элементы.УстановитьПериодРассчитанныхИтогов.Доступность = Ложь;
Элементы.ВключитьИспользованиеИтогов.Доступность = Ложь;
КонецЕсли;
Если АгрегатыПоРегистрам.Количество() = 0 Тогда
Элементы.ГруппаАгрегаты.Доступность = Ложь;
Элементы.ПерестроитьИЗаполнитьАгрегаты.Доступность = Ложь;
Элементы.ПолучитьОптимальныеАгрегаты.Доступность = Ложь;
КонецЕсли;
Элементы.Операции.ОтображениеСтраниц = ОтображениеСтраницФормы.Нет;
УстановитьРасширенныйРежим();
РассчитатьИтогиНа = ТекущаяДатаСеанса();
Элементы.ОписаниеУстановкиПериода.Заголовок = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
Элементы.ОписаниеУстановкиПериода.Заголовок,
Формат(ОкончаниеПериода(ДобавитьМесяц(РассчитатьИтогиНа, -1)), "DLF=D"),
Формат(ОкончаниеПериода(РассчитатьИтогиНа), "DLF=D"));
КонецПроцедуры
&НаСервере
Процедура ПриЗагрузкеДанныхИзНастроекНаСервере(Настройки)
УстановитьРасширенныйРежим();
КонецПроцедуры
&НаКлиенте
Процедура ОбработкаВыбора(ВыбранноеЗначение, ИсточникВыбора)
Если ВРег(ИсточникВыбора.ИмяФормы) = ВРег("Обработка.УправлениеИтогамиИАгрегатами.Форма.ФормаВыбораПериода") Тогда
Если ТипЗнч(ВыбранноеЗначение) <> Тип("Структура") Тогда
Возврат;
КонецЕсли;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Установка периода рассчитанных итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Установка периода рассчитанных итогов завершена'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьПериодИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ПериодИтогов");
ПараметрыИтогов.Вставить("Значение1", ВыбранноеЗначение.ПериодДляРегистровНакопления);
ПараметрыИтогов.Вставить("Значение2", ВыбранноеЗначение.ПериодДляРегистровБухгалтерии);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось установить период рассчитанных итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
ИначеЕсли ВРег(ИсточникВыбора.ИмяФормы) = ВРег("Обработка.УправлениеИтогамиИАгрегатами.Форма.ФормаПараметровПерестроения") Тогда
Если ТипЗнч(ВыбранноеЗначение) <> Тип("Структура") Тогда
Возврат;
КонецЕсли;
Если КонтекстВыбора = "ПерестроитьАгрегаты" Тогда
ОтносительныйРазмер = ВыбранноеЗначение.ОтносительныйРазмер;
МинимальныйЭффект = ВыбранноеЗначение.МинимальныйЭффект;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Перестроение агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Перестроение агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ПерестроитьАгрегаты");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", ВыбранноеЗначение.ОтносительныйРазмер);
ПараметрыИтогов.Вставить("Значение2", ВыбранноеЗначение.МинимальныйЭффект);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось перестроить агрегаты.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
ИначеЕсли КонтекстВыбора = "АгрегатыОптимальные" Тогда
ОптимальныйОтносительныйРазмер = ВыбранноеЗначение.ОтносительныйРазмер;
ПолучитьОптимальныеАгрегатыКлиент();
КонецЕсли;
КонецЕсли;
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиСобытийЭлементовШапкиФормы
&НаКлиенте
Процедура ГиперссылкаСТекстомНажатие(Элемент, СтандартнаяОбработка)
СтандартнаяОбработка = Ложь;
ПолныеВозможности = Не ПолныеВозможности;
УстановитьРасширенныйРежим();
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиСобытийЭлементовТаблицыФормыСписокИтогов
&НаКлиенте
Процедура СписокИтоговПриАктивизацииСтроки(Элемент)
ПодключитьОбработчикОжидания("СписокИтоговПриАктивизацииСтрокиОтложенно", 0.1, Истина);
КонецПроцедуры
&НаКлиенте
Процедура СписокИтоговПриАктивизацииСтрокиОтложенно()
СписокИтоговПриАктивизацииСтрокиНаСервере();
КонецПроцедуры
&НаСервере
Процедура СписокИтоговПриАктивизацииСтрокиНаСервере()
ВыделенныеСтроки = Элементы.СписокИтогов.ВыделенныеСтроки;
ВыделеныРегистрыСИтогами = Ложь;
ВыделеныРегистрыСИтогамиИОстатками = Ложь;
ВыделеныРегистрыСРазделениемИтогов = Ложь;
Для Каждого ИдентификаторСтроки Из ВыделенныеСтроки Цикл
СтрокаТаблицы = СписокИтогов.НайтиПоИдентификатору(ИдентификаторСтроки);
Если СтрокаТаблицы = Неопределено Тогда
Продолжить;
КонецЕсли;
Если СтрокаТаблицы.АгрегатыИтоги = 0 Или СтрокаТаблицы.АгрегатыИтоги = 2 Тогда
ВыделеныРегистрыСИтогами = Истина;
Если СтрокаТаблицы.ОстаткиИОбороты Тогда
ВыделеныРегистрыСИтогамиИОстатками = Истина;
КонецЕсли;
КонецЕсли;
Если СтрокаТаблицы.РазрешитьРазделениеИтогов Тогда
ВыделеныРегистрыСРазделениемИтогов = Истина;
КонецЕсли;
КонецЦикла;
Элементы.ГруппаИтоги.Доступность = ВыделеныРегистрыСИтогами;
Элементы.ГруппаТекущиеИтоги.Доступность = ВыделеныРегистрыСИтогамиИОстатками;
Элементы.ГруппаРазделениеИтогов.Доступность = ВыделеныРегистрыСРазделениемИтогов;
Элементы.УстановитьПериодИтогов.Доступность = ВыделеныРегистрыСИтогамиИОстатками;
КонецПроцедуры
&НаКлиенте
Процедура СписокИтоговВыбор(Элемент, ВыбраннаяСтрока, Поле, СтандартнаяОбработка)
ИмяМетаданного = СписокИтогов.НайтиПоИдентификатору(ВыбраннаяСтрока).ИмяМетаданного;
Если Поле.Имя = "ИтогиАгрегатыИтоги" Тогда
СтандартнаяОбработка = Ложь;
МассивРезультата = АгрегатыПоРегистрам.НайтиСтроки(
Новый Структура("ИмяМетаданного", ИмяМетаданного));
Если МассивРезультата.Количество() > 0 Тогда
Индекс = АгрегатыПоРегистрам.Индекс(МассивРезультата[0]);
ТекущийЭлемент = Элементы.АгрегатыПоРегистрам;
Элементы.АгрегатыПоРегистрам.ТекущаяСтрока = Индекс;
Элементы.АгрегатыПоРегистрам.ТекущийЭлемент = Элементы.АгрегатыПоРегистрамНаименование;
КонецЕсли;
КонецЕсли;
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиКомандФормы
&НаКлиенте
Процедура ВключитьИспользованиеИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение использования итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение использования итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьИспользованиеИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользоватьИтоги");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить использование итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВключитьИспользованиеТекущихИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение использования текущих итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение использования текущих итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ИспользоватьТекущиеИтоги");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользоватьТекущиеИтоги");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить использование текущих итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВыключитьИспользованиеИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Выключение использования итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Выключение использования итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьИспользованиеИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользоватьИтоги");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось выключить использование итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВыключитьИспользованиеТекущихИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Выключение использования текущих итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Выключение использования текущих итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ИспользоватьТекущиеИтоги");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользоватьТекущиеИтоги");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось выключить использование текущих итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ОбновитьСостояниеИтогов(Команда)
ОбновитьСписокИтоговНаСервере();
КонецПроцедуры
&НаКлиенте
Процедура УстановитьПериодИтогов(Команда)
ПараметрыФормы = Новый Структура;
ПараметрыФормы.Вставить("РегНакопления", Ложь);
ПараметрыФормы.Вставить("РегБухгалтерии", Ложь);
Для Каждого Индекс Из Элементы.СписокИтогов.ВыделенныеСтроки Цикл
ИнформацияПоРегистру = СписокИтогов.НайтиПоИдентификатору(Индекс);
ПараметрыФормы.РегНакопления = ПараметрыФормы.РегНакопления Или ИнформацияПоРегистру.Тип = 0;
ПараметрыФормы.РегБухгалтерии = ПараметрыФормы.РегБухгалтерии Или ИнформацияПоРегистру.Тип = 1;
КонецЦикла;
ОткрытьФорму("Обработка.УправлениеИтогамиИАгрегатами.Форма.ФормаВыбораПериода", ПараметрыФормы, ЭтотОбъект);
КонецПроцедуры
&НаКлиенте
Процедура ВключитьРазделениеИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение разделения итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение разделения итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьРазделениеИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "РазделениеИтогов");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить разделение итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВыключитьРазделениеИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Выключение разделения итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Выключение разделения итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьРазделениеИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "РазделениеИтогов");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось выключить разделение итогов.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ОбновитьИнформациюОбАгрегатах(Команда)
ОбновитьАгрегатыПоРегистрамНаСервере();
УстановитьФильтрСпискаАгрегатов();
КонецПроцедуры
&НаКлиенте
Процедура АгрегатыПоРегистрамПриАктивизацииСтроки(Элемент)
УстановитьФильтрСпискаАгрегатов();
Если Элемент.ТекущиеДанные = Неопределено Тогда
ДоступностьЭлементов = Ложь;
ИначеЕсли Элемент.РежимВыделения = РежимВыделенияТаблицы.Одиночный Тогда
ДоступностьЭлементов = Элемент.ТекущиеДанные.РежимАгрегатов;
Иначе
ДоступностьЭлементов = Истина;
КонецЕсли;
Элементы.АгрегатыКнопкаПерестроить.Доступность = ДоступностьЭлементов;
Элементы.АгрегатыКнопкаОчиститьАгрегатыПоРегистрам.Доступность = ДоступностьЭлементов;
Элементы.АгрегатыКнопкаЗаполнитьАгрегатыПоРегистрам.Доступность = ДоступностьЭлементов;
Элементы.АгрегатыКнопкаОптимальные.Доступность = ДоступностьЭлементов;
Элементы.АгрегатыКнопкаОтключитьИспользованиеАгрегатов.Доступность = ДоступностьЭлементов;
Элементы.АгрегатыКнопкаВключитьИспользованиеАгрегатов.Доступность = ДоступностьЭлементов;
КонецПроцедуры
&НаКлиенте
Процедура ВключитьРежимАгрегатов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение режима агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение режима агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьРежимАгрегатов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "РежимАгрегатов");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить режим агрегатов.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВключитьРежимИтогов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение режима итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение режима итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьРежимАгрегатов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "РежимАгрегатов");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить режим итогов.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВключитьИспользованиеАгрегатов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение использования агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение использования агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьИспользованиеАгрегатов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользованиеАгрегатов");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить использование агрегатов.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВыключитьИспользованиеАгрегатов(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Выключение использования агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Выключение использования агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьИспользованиеАгрегатов");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "ИспользованиеАгрегатов");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось выключить использование агрегатов.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ПерестроитьАгрегаты(Команда)
КонтекстВыбора = "ПерестроитьАгрегаты";
ПараметрыФормы = Новый Структура;
ПараметрыФормы.Вставить("ОтносительныйРазмер", ОтносительныйРазмер);
ПараметрыФормы.Вставить("МинимальныйЭффект", МинимальныйЭффект);
ПараметрыФормы.Вставить("РежимПерестроения", Истина);
ОткрытьФорму("Обработка.УправлениеИтогамиИАгрегатами.Форма.ФормаПараметровПерестроения", ПараметрыФормы, ЭтотОбъект);
КонецПроцедуры
&НаКлиенте
Процедура ОчиститьАгрегатыПоРегистрам(Команда)
ТекстВопроса = НСтр("ru = 'Очистка агрегатов может привести к существенному замедлению отчетов.'");
Кнопки = Новый СписокЗначений;
Кнопки.Добавить(КодВозвратаДиалога.Да, НСтр("ru = 'Очистить агрегаты'"));
Кнопки.Добавить(КодВозвратаДиалога.Отмена);
Обработчик = Новый ОписаниеОповещения("ОчиститьАгрегатыПоРегистрамЗавершение", ЭтотОбъект);
ПоказатьВопрос(Обработчик, ТекстВопроса, Кнопки, , КодВозвратаДиалога.Отмена);
КонецПроцедуры
&НаКлиенте
Процедура ЗаполнитьАгрегатыПоРегистрам(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Заполнение агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Заполнение агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ЗаполнитьАгрегаты");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", Неопределено);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось заполнить агрегаты.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура АгрегатыОптимальные(Команда)
КонтекстВыбора = "АгрегатыОптимальные";
ПараметрыФормы = Новый Структура;
ПараметрыФормы.Вставить("ОтносительныйРазмер", ОптимальныйОтносительныйРазмер);
ПараметрыФормы.Вставить("МинимальныйЭффект", 0);
ПараметрыФормы.Вставить("РежимПерестроения", Ложь);
ОткрытьФорму("Обработка.УправлениеИтогамиИАгрегатами.Форма.ФормаПараметровПерестроения", ПараметрыФормы, ЭтотОбъект);
КонецПроцедуры
&НаКлиенте
Процедура УстановитьПериодРассчитанныхИтогов(Команда)
ОчиститьСообщения();
МассивДействий = СписокИтогов.НайтиСтроки(Новый Структура("ОстаткиИОбороты", Истина));
Если МассивДействий.Количество() = 0 Тогда
ПоказатьПредупреждение(, НСтр("ru = 'Отсутствуют регистры, для которых можно выполнить данную операцию.'"));
Возврат;
КонецЕсли;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Установка периода рассчитанных итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Установка периода рассчитанных итогов завершена'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьПериодИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", МассивДействий);
ПараметрыИтогов.Вставить("Поле", "ПериодИтогов");
ПараметрыИтогов.Вставить("Значение1", ОкончаниеПериода(ДобавитьМесяц(РассчитатьИтогиНа, -1)) );
ПараметрыИтогов.Вставить("Значение2", ОкончаниеПериода(РассчитатьИтогиНа) );
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось установить период рассчитанных итогов.'"));
ПараметрыИтогов.Вставить("ГрупповаяОбработка", Истина);
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ВключитьИспользованиеИтоговБыстрыйДоступ(Команда)
ОчиститьСообщения();
МассивДействий = СписокИтогов.НайтиСтроки(Новый Структура("ИспользоватьИтоги", Ложь));
Если МассивДействий.Количество() = 0 Тогда
ПоказатьПредупреждение(, НСтр("ru = 'Отсутствуют регистры, для которых можно выполнить данную операцию.'"));
Возврат;
КонецЕсли;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Включение использования итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Включение использования итогов завершено'"));
ПараметрыИтогов.Вставить("Действие", "УстановитьИспользованиеИтогов");
ПараметрыИтогов.Вставить("МассивСтрок", МассивДействий);
ПараметрыИтогов.Вставить("Поле", "");
ПараметрыИтогов.Вставить("Значение1", Истина);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось включить использование итогов.'"));
ПараметрыИтогов.Вставить("ГрупповаяОбработка", Истина);
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ЗаполнитьАгрегатыИВыполнитьПерестроение(Команда)
ОчиститьСообщения();
МассивДействий = АгрегатыПоРегистрам.НайтиСтроки(Новый Структура("РежимАгрегатов,ИспользованиеАгрегатов", Истина, Истина));
Если МассивДействий.Количество() = 0 Тогда
ПоказатьПредупреждение(, НСтр("ru = 'Отсутствуют регистры, для которых можно выполнить выбранное действие.'"));
Возврат;
КонецЕсли;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Перестроение агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Перестроение агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ПерестроитьАгрегаты");
ПараметрыИтогов.Вставить("МассивСтрок", МассивДействий);
ПараметрыИтогов.Вставить("Поле", "");
ПараметрыИтогов.Вставить("Значение1", 0);
ПараметрыИтогов.Вставить("Значение2", 0);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось перестроить агрегаты.'"));
ПараметрыИтогов.Вставить("ГрупповаяОбработка", Истина);
ИзменитьАгрегатыКлиент(ПараметрыИтогов, Истина);
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Заполнение агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Заполнение агрегатов завершено'"));
ПараметрыИтогов.Вставить("Действие", "ЗаполнитьАгрегаты");
ПараметрыИтогов.Вставить("МассивСтрок", МассивДействий);
ПараметрыИтогов.Вставить("Поле", "");
ПараметрыИтогов.Вставить("Значение1", Неопределено);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось заполнить агрегаты.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов, Ложь);
КонецПроцедуры
&НаКлиенте
Процедура ПолучитьОптимальныеАгрегаты(Команда)
ПолучитьОптимальныеАгрегатыКлиент();
КонецПроцедуры
&НаКлиенте
Процедура ПересчитатьИтоги(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Пересчет итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Пересчет итогов завершен.'"));
ПараметрыИтогов.Вставить("Действие", "ПересчитатьИтоги");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось пересчитать итоги.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ПересчитатьТекущиеИтоги(Команда)
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Пересчет текущих итогов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Пересчет текущих итогов завершен.'"));
ПараметрыИтогов.Вставить("Действие", "ПересчитатьТекущиеИтоги");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", Ложь);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось пересчитать текущие итоги.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
&НаКлиенте
Процедура ПересчитатьИтогиЗаПериод(Команда)
Обработчик = Новый ОписаниеОповещения("ПересчитатьИтогиЗаПериодЗавершение", ЭтотОбъект);
Диалог = Новый ДиалогРедактированияСтандартногоПериода;
Диалог.Период = ПериодПерерасчетаРегистров;
Диалог.Показать(Обработчик);
КонецПроцедуры
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
&НаСервере
Процедура УстановитьУсловноеОформление()
УсловноеОформление.Элементы.Очистить();
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиАгрегатыИтоги.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.АгрегатыИтоги");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = 0;
Элемент.Оформление.УстановитьЗначениеПараметра("Текст", НСтр("ru = 'Итоги'"));
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиАгрегатыИтоги.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.АгрегатыИтоги");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = 1;
Элемент.Оформление.УстановитьЗначениеПараметра("Текст", НСтр("ru = 'Агрегаты'"));
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиАгрегатыИтоги.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.АгрегатыИтоги");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = 2;
Элемент.Оформление.УстановитьЗначениеПараметра("Текст", НСтр("ru = 'Просто итоговый регистр'"));
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиИспользоватьТекущиеИтоги.Имя);
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиПериодИтогов.Имя);
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиРазделениеИтогов.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.ОстаткиИОбороты");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = Ложь;
Элемент.Оформление.УстановитьЗначениеПараметра("ЦветФона", WebЦвета.СеребристоСерый);
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиАгрегатыИтоги.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.АгрегатыИтоги");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = 2;
Элемент.Оформление.УстановитьЗначениеПараметра("ЦветФона", WebЦвета.СеребристоСерый);
//
Элемент = УсловноеОформление.Элементы.Добавить();
ПолеЭлемента = Элемент.Поля.Элементы.Добавить();
ПолеЭлемента.Поле = Новый ПолеКомпоновкиДанных(Элементы.ИтогиИспользоватьИтоги.Имя);
ОтборЭлемента = Элемент.Отбор.Элементы.Добавить(Тип("ЭлементОтбораКомпоновкиДанных"));
ОтборЭлемента.ЛевоеЗначение = Новый ПолеКомпоновкиДанных("СписокИтогов.АгрегатыИтоги");
ОтборЭлемента.ВидСравнения = ВидСравненияКомпоновкиДанных.Равно;
ОтборЭлемента.ПравоеЗначение = 1;
Элемент.Оформление.УстановитьЗначениеПараметра("ЦветФона", WebЦвета.СеребристоСерый);
КонецПроцедуры
#Область ОбработчикиАсинхронныхДиалогов
&НаКлиенте
Процедура ОчиститьАгрегатыПоРегистрамЗавершение(Ответ, ДополнительныеПараметры) Экспорт
Если Ответ = КодВозвратаДиалога.Да Тогда
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Очистка агрегатов ...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Очистка агрегатов завершена'"));
ПараметрыИтогов.Вставить("Действие", "ОчиститьАгрегаты");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", Неопределено);
ПараметрыИтогов.Вставить("Значение2", Неопределено);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось очистить агрегаты.'"));
ИзменитьАгрегатыКлиент(ПараметрыИтогов);
КонецЕсли;
КонецПроцедуры
&НаКлиенте
Процедура ПересчитатьИтогиЗаПериодЗавершение(ВыбранноеЗначение, ДополнительныеПараметры) Экспорт
Если ВыбранноеЗначение = Неопределено Тогда
Возврат;
КонецЕсли;
ПериодПерерасчетаРегистров = ВыбранноеЗначение;
ПараметрыИтогов = Новый Структура;
ПараметрыИтогов.Вставить("ОбрабатыватьЗаголовок", НСтр("ru = 'Пересчет итогов за период...'"));
ПараметрыИтогов.Вставить("ПослеПроцесса", НСтр("ru = 'Пересчет итогов за период завершен.'"));
ПараметрыИтогов.Вставить("Действие", "ПересчитатьИтогиЗаПериод");
ПараметрыИтогов.Вставить("МассивСтрок", Элементы.СписокИтогов.ВыделенныеСтроки);
ПараметрыИтогов.Вставить("Поле", "Наименование");
ПараметрыИтогов.Вставить("Значение1", ПериодПерерасчетаРегистров.ДатаНачала);
ПараметрыИтогов.Вставить("Значение2", ПериодПерерасчетаРегистров.ДатаОкончания);
ПараметрыИтогов.Вставить("ТекстСообщенияОбОшибке", НСтр("ru = 'Не удалось пересчитать итоги за период.'"));
УправлениеИтогами(ПараметрыИтогов);
КонецПроцедуры
#КонецОбласти
#Область Клиент
&НаКлиенте
Процедура УстановитьФильтрСпискаАгрегатов()
ТекущиеДанные = Элементы.АгрегатыПоРегистрам.ТекущиеДанные;
Если ТекущиеДанные <> Неопределено Тогда
Фильтр = Новый ФиксированнаяСтруктура("ИмяМетаданного", ТекущиеДанные.ИмяМетаданного);
НовыйЗаголовок = Префикс() + " " + ТекущиеДанные.Наименование;
Иначе
Фильтр = Новый ФиксированнаяСтруктура("ИмяМетаданного", "");
НовыйЗаголовок = Префикс();
КонецЕсли;
Элементы.СписокАгрегатов.ОтборСтрок = Фильтр;
Если Элементы.СписокАгрегатов.Заголовок <> НовыйЗаголовок Тогда
Элементы.СписокАгрегатов.Заголовок = НовыйЗаголовок;
КонецЕсли;
КонецПроцедуры
&НаКлиенте
Процедура ИзменитьАгрегатыКлиент(Знач ПараметрыИтогов, Знач ОчищатьСообщения = Истина)
Результат = Истина;
Если ОчищатьСообщения Тогда
ОчиститьСообщения();
КонецЕсли;
Выбранные = ПараметрыИтогов.МассивСтрок;
Если Выбранные.Количество() = 0 Тогда
Возврат;
КонецЕсли;
ШагПроцесса = 100/Выбранные.Количество();
Если ПараметрыИтогов.Свойство("ГрупповаяОбработка") Тогда
ТребуетсяПрерватьПослеОшибки = ?(ПараметрыИтогов.ГрупповаяОбработка, Ложь, ПрерыватьПриОшибке);
Иначе
ТребуетсяПрерватьПослеОшибки = ПрерыватьПриОшибке;
КонецЕсли;
Для Счетчик = 1 По Выбранные.Количество() Цикл
Если ТипЗнч(Выбранные[Счетчик - 1]) = Тип("Число") Тогда
ВыбраннаяСтрока = АгрегатыПоРегистрам.НайтиПоИдентификатору(Выбранные[Счетчик-1]);
Иначе
ВыбраннаяСтрока = Выбранные[Счетчик-1];
КонецЕсли;
ПолеСообщенияОбОшибке = "";
Если Не ПустаяСтрока(ПараметрыИтогов.Поле) Тогда
ПолеСообщенияОбОшибке = "АгрегатыПоРегистрам[" + Формат(Выбранные[Счетчик-1], "ЧГ=0") + "]." + ПараметрыИтогов.Поле;
КонецЕсли;
Если Не ВыбраннаяСтрока.РежимАгрегатов
И ВРег(ПараметрыИтогов.Действие) <> ВРег("УстановитьРежимАгрегатов") Тогда
ОбщегоНазначенияКлиент.СообщитьПользователю(
НСтр("ru = 'Операция невозможна в режиме итогов'"),
,
ПолеСообщенияОбОшибке);
Продолжить;
КонецЕсли;
Состояние(ПараметрыИтогов.ОбрабатыватьЗаголовок, Счетчик * ШагПроцесса, ВыбраннаяСтрока.Наименование);
ПараметрыСервера = Новый Структура;
ПараметрыСервера.Вставить("ИмяРегистра", ВыбраннаяСтрока.ИмяМетаданного);
ПараметрыСервера.Вставить("Действие", ПараметрыИтогов.Действие);
ПараметрыСервера.Вставить("ЗначениеДействия1", ПараметрыИтогов.Значение1);
ПараметрыСервера.Вставить("ЗначениеДействия2", ПараметрыИтогов.Значение2);
ПараметрыСервера.Вставить("СообщениеОбОшибке", ПараметрыИтогов.ТекстСообщенияОбОшибке);
ПараметрыСервера.Вставить("ПолеФормы", ПолеСообщенияОбОшибке);
ПараметрыСервера.Вставить("ИдентификаторФормы", УникальныйИдентификатор);
Результат = ИзменитьАгрегатыСервер(ПараметрыСервера);
ОбработкаПрерыванияПользователя();
Если Не Результат.Успешно И ТребуетсяПрерватьПослеОшибки Тогда
Прервать;
КонецЕсли;
КонецЦикла;
Если ВРег(ПараметрыИтогов.Действие) = ВРег("УстановитьРежимАгрегатов")
Или ВРег(ПараметрыИтогов.Действие) = ВРег("УстановитьИспользованиеАгрегатов") Тогда
ОбновитьСписокИтоговНаСервере();
КонецЕсли;
ОбновитьАгрегатыПоРегистрамНаСервере();
Состояние(ПараметрыИтогов.ПослеПроцесса);
УстановитьФильтрСпискаАгрегатов();
КонецПроцедуры
&НаКлиенте
Процедура УправлениеИтогами(Знач ПараметрыИтогов)
Результат = Истина;
ОчиститьСообщения();
Выбранные = ПараметрыИтогов.МассивСтрок;
Если Выбранные.Количество() = 0 Тогда
Возврат;
КонецЕсли;
ШагПроцесса = 100/Выбранные.Количество();
Действие = НРег(ПараметрыИтогов.Действие);
Если ПараметрыИтогов.Свойство("ГрупповаяОбработка") Тогда
ТребуетсяПрерватьПослеОшибки = ?(ПараметрыИтогов.ГрупповаяОбработка, Ложь, ПрерыватьПриОшибке);
Иначе
ТребуетсяПрерватьПослеОшибки = ПрерыватьПриОшибке;
КонецЕсли;
КоличествоОбработанныхСтрок = 0;
ЕстьРегистрыДляОбработки = Ложь;
Для Счетчик = 1 По Выбранные.Количество() Цикл
Если ТипЗнч(Выбранные[Счетчик-1]) = Тип("Число") Тогда
ВыбраннаяСтрока = СписокИтогов.НайтиПоИдентификатору(Выбранные[Счетчик-1]);
Иначе
ВыбраннаяСтрока = Выбранные[Счетчик-1];
КонецЕсли;
Состояние(ПараметрыИтогов.ОбрабатыватьЗаголовок, Счетчик * ШагПроцесса, ВыбраннаяСтрока.Наименование);
Если ВРег(Действие) = ВРег("УстановитьИспользованиеИтогов") Тогда
Если ВыбраннаяСтрока.АгрегатыИтоги = 1 Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("ИспользоватьТекущиеИтоги") Тогда
Если ВыбраннаяСтрока.АгрегатыИтоги = 1 Или Не ВыбраннаяСтрока.ОстаткиИОбороты Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("УстановитьПериодИтогов") Тогда
Если ВыбраннаяСтрока.АгрегатыИтоги = 1 Или Не ВыбраннаяСтрока.ОстаткиИОбороты Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("УстановитьРазделениеИтогов") Тогда
Если Не ВыбраннаяСтрока.РазрешитьРазделениеИтогов Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьИтоги") Тогда
Если ВыбраннаяСтрока.АгрегатыИтоги = 1 Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьИтогиЗаПериод") Тогда
Если ВыбраннаяСтрока.АгрегатыИтоги = 1 Или Не ВыбраннаяСтрока.ОстаткиИОбороты Тогда
Продолжить;
КонецЕсли;
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьТекущиеИтоги") Тогда
Если Не ВыбраннаяСтрока.ОстаткиИОбороты Тогда
Продолжить;
КонецЕсли;
КонецЕсли;
ПолеСообщенияОбОшибке = "";
Если Не ПустаяСтрока(ПараметрыИтогов.Поле) Тогда
ПолеСообщенияОбОшибке = "СписокИтогов[" + Формат(Выбранные[Счетчик-1], "ЧГ=0") + "]." + ПараметрыИтогов.Поле;
КонецЕсли;
ЕстьРегистрыДляОбработки = Истина;
Результат = УстановитьПараметрыРегистраНаСервере(
ВыбраннаяСтрока.Тип,
ВыбраннаяСтрока.ИмяМетаданного,
ПараметрыИтогов.Действие,
ПараметрыИтогов.Значение1,
ПараметрыИтогов.Значение2,
ПолеСообщенияОбОшибке,
ПараметрыИтогов.ТекстСообщенияОбОшибке);
ОбработкаПрерыванияПользователя();
Если Не Результат И ТребуетсяПрерватьПослеОшибки Тогда
Прервать;
КонецЕсли;
Если Результат Тогда
КоличествоОбработанныхСтрок = КоличествоОбработанныхСтрок + 1;
КонецЕсли;
КонецЦикла;
Если Не ЕстьРегистрыДляОбработки Тогда
ПоказатьПредупреждение(, НСтр("ru = 'Отсутствуют регистры, для которых можно выполнить данную операцию.'"));
Возврат;
КонецЕсли;
ОбновитьСписокИтоговНаСервере();
ТекстСостояния = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Пересчитаны (%1 из %2)'"),
КоличествоОбработанныхСтрок,
Выбранные.Количество());
Состояние(ПараметрыИтогов.ПослеПроцесса + Символы.ПС + ТекстСостояния);
КонецПроцедуры
&НаКлиенте
Процедура ПолучитьОптимальныеАгрегатыКлиент()
Если ПолныеВозможности Тогда
Если Элементы.АгрегатыПоРегистрам.ВыделенныеСтроки.Количество() = 0 Тогда
Возврат;
КонецЕсли;
Иначе
Если АгрегатыПоРегистрам.Количество() = 0 Тогда
ПоказатьПредупреждение(, НСтр("ru = 'Отсутствуют регистры, для которых можно выполнить данную операцию.'"));
Возврат;
КонецЕсли;
КонецЕсли;
Результат = ПолучитьОптимальныеАгрегатыСервер();
Обработчик = Новый ОписаниеОповещения("ПолучитьОптимальныеАгрегатыКлиентЗавершение", ЭтотОбъект, Результат);
Если Не Результат.МожноПолучить Тогда
Возврат;
КонецЕсли;
ПараметрыСохранения = ФайловаяСистемаКлиент.ПараметрыСохраненияФайла();
ПараметрыСохранения.Диалог.Заголовок = НСтр("ru = 'Сохранить оптимальные агрегаты в файл'");
Расширение = НРег(Сред(Результат.ИмяФайла, СтрНайти(Результат.ИмяФайла, ".") + 1));
Если Расширение = "zip" Тогда
Фильтр = НСтр("ru = 'Файлы настроек агрегатов (*.zip)|*.zip'");
ИначеЕсли Расширение = "xml" Тогда
Фильтр = НСтр("ru = 'Файлы настроек агрегатов (*.xml)|*.xml'");
Иначе
Фильтр = "";
КонецЕсли;
ПараметрыСохранения.Диалог.Фильтр = Фильтр;
ПараметрыСохранения.Диалог.ПолноеИмяФайла = Результат.ИмяФайла;
ФайловаяСистемаКлиент.СохранитьФайл(Обработчик, Результат.АдресФайла, Результат.ИмяФайла, ПараметрыСохранения);
КонецПроцедуры
&НаКлиенте
Процедура ПолучитьОптимальныеАгрегатыКлиентЗавершение(ПолученныеФайлы, РезультатВыполнения) Экспорт
Если ПолученныеФайлы = Неопределено Тогда
Возврат;
КонецЕсли;
Если РезультатВыполнения.ЕстьОшибки Тогда
ВызватьИсключение РезультатВыполнения.ТекстСообщения;
КонецЕсли;
ПоказатьОповещениеПользователя(НСтр("ru = 'Агрегаты успешно получены.'"),,
РезультатВыполнения.ТекстСообщения, БиблиотекаКартинок.Успешно32);
КонецПроцедуры
#КонецОбласти
#Область КлиентСервер
&НаКлиентеНаСервереБезКонтекста
Функция ОкончаниеПериода(Знач Дата)
Возврат КонецДня(КонецМесяца(Дата));
КонецФункции
&НаКлиентеНаСервереБезКонтекста
Функция Префикс()
Возврат НСтр("ru = 'Агрегаты регистра'");
КонецФункции
#КонецОбласти
#Область ВызовСервераСервер
&НаСервере
Функция ПолучитьОптимальныеАгрегатыСервер()
Результат = Новый Структура;
Результат.Вставить("МожноПолучить", Ложь);
Результат.Вставить("АдресФайла", "");
Результат.Вставить("ИмяФайла", "");
Результат.Вставить("ЕстьОшибки", Ложь);
Результат.Вставить("ТекстСообщения", "");
Если ПолныеВозможности Тогда
Коллекция = ВыделенныеСтроки("АгрегатыПоРегистрам");
МаксимальныйОтносительныйРазмер = ОптимальныйОтносительныйРазмер;
Иначе
Коллекция = АгрегатыПоРегистрам;
МаксимальныйОтносительныйРазмер = 0;
КонецЕсли;
Всего = Коллекция.Количество();
Успешно = 0;
ПодробныйТекстОшибок = "";
КаталогВременныхФайлов = ОбщегоНазначенияКлиентСервер.ДобавитьКонечныйРазделительПути(
ПолучитьИмяВременногоФайла(".TAM")); // Totals & Aggregates Management.
СоздатьКаталог(КаталогВременныхФайлов);
ФайлыДляАрхивации = Новый СписокЗначений;
// Получение агрегатов.
Для НомерСтроки = 1 По Всего Цикл
ИмяРегистраНакопления = Коллекция[НомерСтроки - 1].ИмяМетаданного;
МенеджерРегистра = РегистрыНакопления[ИмяРегистраНакопления];
Попытка
ОптимальныеАгрегаты = МенеджерРегистра.ОпределитьОптимальныеАгрегаты(МаксимальныйОтносительныйРазмер);
Исключение
Результат.ЕстьОшибки = Истина;
ПодробныйТекстОшибок = ПодробныйТекстОшибок
+ ?(ПустаяСтрока(ПодробныйТекстОшибок), "", Символы.ПС + Символы.ПС)
+ СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(НСтр("ru = '%1: %2'"), ИмяРегистраНакопления,
ОбработкаОшибок.КраткоеПредставлениеОшибки(ИнформацияОбОшибке()));
Продолжить;
КонецПопытки;
ПолноеИмяФайла = КаталогВременныхФайлов + ИмяРегистраНакопления + ".xml";
ЗаписьXML = Новый ЗаписьXML();
ЗаписьXML.ОткрытьФайл(ПолноеИмяФайла);
ЗаписьXML.ЗаписатьОбъявлениеXML();
СериализаторXDTO.ЗаписатьXML(ЗаписьXML, ОптимальныеАгрегаты);
ЗаписьXML.Закрыть();
ФайлыДляАрхивации.Добавить(ПолноеИмяФайла, ИмяРегистраНакопления);
Успешно = Успешно + 1;
КонецЦикла;
// Подготовка результата к передаче на клиент.
Если Успешно > 0 Тогда
Если Успешно = 1 Тогда
ЭлементСписка = ФайлыДляАрхивации[0];
ПолноеИмяФайла = ЭлементСписка.Значение;
КраткоеИмяФайла = ЭлементСписка.Представление + ".xml";
Иначе
КраткоеИмяФайла = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Оптимальные агрегаты регистров накопления %1.zip'"),
Формат(ТекущаяДатаСеанса(), "ДФ=yyyy-MM-dd"));
ПолноеИмяФайла = КаталогВременныхФайлов + КраткоеИмяФайла;
РежимСохранения = РежимСохраненияПутейZIP.СохранятьОтносительныеПути;
РежимОбработки = РежимОбработкиПодкаталоговZIP.ОбрабатыватьРекурсивно;
ЗаписьZipФайла = Новый ЗаписьZipФайла(ПолноеИмяФайла);
Для Каждого ЭлементСписка Из ФайлыДляАрхивации Цикл
ЗаписьZipФайла.Добавить(ЭлементСписка.Значение, РежимСохранения, РежимОбработки);
КонецЦикла;
ЗаписьZipФайла.Записать();
КонецЕсли;
ДвоичныеДанные = Новый ДвоичныеДанные(ПолноеИмяФайла);
Результат.МожноПолучить = Истина;
Результат.ИмяФайла = КраткоеИмяФайла;
Результат.АдресФайла = ПоместитьВоВременноеХранилище(ДвоичныеДанные, УникальныйИдентификатор);
КонецЕсли;
// Очистка мусора.
УдалитьФайлы(КаталогВременныхФайлов);
// Подготовка текстов сообщений.
Если Всего = 1 Тогда
// Когда 1 регистр.
ЭлементСписка = Коллекция[0];
ИмяРегистра = ЭлементСписка.Наименование;
Если Результат.ЕстьОшибки Тогда
Результат.ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Не удалось получить оптимальные агрегаты регистра накопления ""%1"" по причине:
|%2'"), ИмяРегистра, ПодробныйТекстОшибок);
Иначе
Результат.ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = '%1 (регистр накопления)'"), ИмяРегистра);
КонецЕсли;
ИначеЕсли Успешно = 0 Тогда
// Ничего не получилось.
Результат.ЕстьОшибки = Истина;
Результат.ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Не удалось получить оптимальные агрегаты регистров накопления по причине:
|%1'"), ПодробныйТекстОшибок);
ИначеЕсли Результат.ЕстьОшибки Тогда
// Частично успешно.
Результат.ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Агрегаты успешно получены для %1 из %2 регистров.
|Не получены для %3 по причине:
|%4'"),
Успешно,
Всего,
Всего - Успешно,
ПодробныйТекстОшибок);
Иначе
// Полностью успешно.
Результат.ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Регистры накопления (%1)'"), Успешно);
КонецЕсли;
Возврат Результат;
КонецФункции
&НаСервере
Процедура ОбновитьСписокИтоговНаСервере()
Менеджеры = Новый Массив;
Менеджеры.Добавить(РегистрыНакопления);
Менеджеры.Добавить(РегистрыБухгалтерии);
Для Каждого СтрокаТаблицы Из СписокИтогов Цикл
Регистр = Менеджеры[СтрокаТаблицы.Тип][СтрокаТаблицы.ИмяМетаданного];
СтрокаТаблицы.ИспользоватьИтоги = Регистр.ПолучитьИспользованиеИтогов();
СтрокаТаблицы.РазделениеИтогов = Регистр.ПолучитьРежимРазделенияИтогов();
Если СтрокаТаблицы.ОстаткиИОбороты Тогда
СтрокаТаблицы.ИспользоватьТекущиеИтоги = Регистр.ПолучитьИспользованиеТекущихИтогов();
СтрокаТаблицы.ПериодИтогов = Регистр.ПолучитьМаксимальныйПериодРассчитанныхИтогов();
СтрокаТаблицы.АгрегатыИтоги = 2;
Иначе
СтрокаТаблицы.ИспользоватьТекущиеИтоги = Ложь;
СтрокаТаблицы.ПериодИтогов = Неопределено;
СтрокаТаблицы.АгрегатыИтоги = Регистр.ПолучитьРежимАгрегатов();
Если СтрокаТаблицы.АгрегатыИтоги Тогда
СтрокаТаблицы.ИспользоватьИтоги = Ложь;
КонецЕсли;
КонецЕсли;
КонецЦикла;
ГруппаИтоговЗаголовок = НСтр("ru = 'Итоги'");
КоличествоИтогов = СписокИтогов.Количество();
Если КоличествоИтогов > 0 Тогда
ГруппаИтоговЗаголовок = ГруппаИтоговЗаголовок + " (" + Формат(КоличествоИтогов, "ЧГ=") + ")";
КонецЕсли;
Элементы.ГруппаИтогов.Заголовок = ГруппаИтоговЗаголовок;
КонецПроцедуры
&НаСервере
Процедура ОбновитьАгрегатыПоРегистрамНаСервере()
СписокАгрегатовРегистра.Очистить();
Для Каждого СтрокаТаблицы Из АгрегатыПоРегистрам Цикл
МенеджерРегистра = РегистрыНакопления[СтрокаТаблицы.ИмяМетаданного];
СтрокаТаблицы.РежимАгрегатов = МенеджерРегистра.ПолучитьРежимАгрегатов();
СтрокаТаблицы.ИспользованиеАгрегатов = МенеджерРегистра.ПолучитьИспользованиеАгрегатов();
Агрегаты = МенеджерРегистра.ПолучитьАгрегаты();
СтрокаТаблицы.ДатаПостроения = Агрегаты.ДатаПостроения;
СтрокаТаблицы.Размер = Агрегаты.Размер;
СтрокаТаблицы.ОграничениеРазмера = Агрегаты.ОграничениеРазмера;
СтрокаТаблицы.Эффект = Агрегаты.Эффект;
Для Каждого Агрегат Из Агрегаты.Агрегаты Цикл // ИнформацияОбАгрегате
СинонимыИзмерений = Новый Массив;
Для Каждого ИмяИзмерения Из Агрегат.Измерения Цикл
СинонимИзмерения = Метаданные.РегистрыНакопления[СтрокаТаблицы.ИмяМетаданного].Измерения[ИмяИзмерения].Синоним;
СинонимыИзмерений.Добавить(СинонимИзмерения);
КонецЦикла;
СтрокаАгрегатовРегистра = СписокАгрегатовРегистра.Добавить();
СтрокаАгрегатовРегистра.ИмяМетаданного = СтрокаТаблицы.ИмяМетаданного;
СтрокаАгрегатовРегистра.Периодичность = Строка(Агрегат.Периодичность);
СтрокаАгрегатовРегистра.Измерения = СтрСоединить(СинонимыИзмерений, ", ");
СтрокаАгрегатовРегистра.Использование = Агрегат.Использование;
СтрокаАгрегатовРегистра.НачалоПериода = Агрегат.НачалоПериода;
СтрокаАгрегатовРегистра.КонецПериода = Агрегат.КонецПериода;
СтрокаАгрегатовРегистра.Размер = Агрегат.Размер;
КонецЦикла;
КонецЦикла;
СписокАгрегатовРегистра.Сортировать("Использование Убыв");
ГруппаАгрегатыЗаголовок = НСтр("ru = 'Агрегаты'");
КоличествоАгрегатов = АгрегатыПоРегистрам.Количество();
Если КоличествоАгрегатов > 0 Тогда
ГруппаАгрегатыЗаголовок = ГруппаАгрегатыЗаголовок + " (" + Формат(КоличествоАгрегатов, "ЧГ=") + ")";
КонецЕсли;
Элементы.ГруппаАгрегаты.Заголовок = ГруппаАгрегатыЗаголовок;
КонецПроцедуры
&НаСервереБезКонтекста
Функция УстановитьПараметрыРегистраНаСервере(Знач ВидРегистра,
Знач ИмяРегистра,
Знач Действие,
Знач Значение1,
Знач Значение2, // Значение по умолчанию: Неопределено.
Знач ПолеОшибки,
Знач СообщениеОбОшибке)
Менеджеры = Новый Массив;
Менеджеры.Добавить(РегистрыНакопления);
Менеджеры.Добавить(РегистрыБухгалтерии);
Менеджер = Менеджеры[ВидРегистра][ИмяРегистра];
Действие = НРег(Действие);
Попытка
Если ВРег(Действие) = ВРег("УстановитьИспользованиеИтогов") Тогда
Менеджер.УстановитьИспользованиеИтогов(Значение1);
ИначеЕсли ВРег(Действие) = ВРег("ИспользоватьТекущиеИтоги") Тогда
Менеджер.УстановитьИспользованиеТекущихИтогов(Значение1);
ИначеЕсли ВРег(Действие) = ВРег("УстановитьРазделениеИтогов") Тогда
Менеджер.УстановитьРежимРазделенияИтогов(Значение1);
ИначеЕсли ВРег(Действие) = ВРег("УстановитьПериодИтогов") Тогда
Если ВидРегистра = 0 Тогда
Дата = Значение1;
ИначеЕсли ВидРегистра = 1 Тогда
Дата = Значение2;
КонецЕсли;
Менеджер.УстановитьМаксимальныйПериодРассчитанныхИтогов(Дата);
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьИтоги") Тогда
Менеджер.ПересчитатьИтоги();
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьТекущиеИтоги") Тогда
Менеджер.ПересчитатьТекущиеИтоги();
ИначеЕсли ВРег(Действие) = ВРег("ПересчитатьИтогиЗаПериод") Тогда
Менеджер.ПересчитатьИтогиЗаПериод(Значение1, Значение2);
Иначе
ВызватьИсключение НСтр("ru = 'Неправильное имя параметра'") + "(1): " + Действие;
КонецЕсли;
Исключение
ОбщегоНазначения.СообщитьПользователю(
СообщениеОбОшибке
+ Символы.ПС
+ ОбработкаОшибок.КраткоеПредставлениеОшибки(ИнформацияОбОшибке()),
,
ПолеОшибки);
Возврат Ложь;
КонецПопытки;
Возврат Истина;
КонецФункции
&НаСервереБезКонтекста
Функция ИзменитьАгрегатыСервер(Знач ПараметрыСервера)
Результат = Новый Структура;
Результат.Вставить("Успешно", Истина);
Результат.Вставить("ЗначениеДействия1", ПараметрыСервера.ЗначениеДействия1);
Результат.Вставить("АдресФайлаВоВременномХранилище", "");
МенеджерРегистра = РегистрыНакопления[ПараметрыСервера.ИмяРегистра];
Попытка
Если ВРег(ПараметрыСервера.Действие) = ВРег("УстановитьРежимАгрегатов") Тогда
МенеджерРегистра.УстановитьРежимАгрегатов(ПараметрыСервера.ЗначениеДействия1);
ИначеЕсли ВРег(ПараметрыСервера.Действие) = ВРег("УстановитьИспользованиеАгрегатов") Тогда
МенеджерРегистра.УстановитьИспользованиеАгрегатов(ПараметрыСервера.ЗначениеДействия1);
ИначеЕсли ВРег(ПараметрыСервера.Действие) = ВРег("ЗаполнитьАгрегаты") Тогда
МенеджерРегистра.ОбновитьАгрегаты(Ложь);
ИначеЕсли ВРег(ПараметрыСервера.Действие) = ВРег("ПерестроитьАгрегаты") Тогда
МенеджерРегистра.ПерестроитьИспользованиеАгрегатов(ПараметрыСервера.ЗначениеДействия1, ПараметрыСервера.ЗначениеДействия2);
ИначеЕсли ВРег(ПараметрыСервера.Действие) = ВРег("ОчиститьАгрегаты") Тогда
МенеджерРегистра.ОчиститьАгрегаты();
Иначе
ВызватьИсключение СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Неправильное имя параметра: %1'"),
ПараметрыСервера.Действие);
КонецЕсли;
Исключение
СообщениеОбОшибке = ПараметрыСервера.СообщениеОбОшибке + " (" + ОбработкаОшибок.КраткоеПредставлениеОшибки(ИнформацияОбОшибке()) + ")";
ОбщегоНазначения.СообщитьПользователю(СообщениеОбОшибке);
Результат.Успешно = Ложь;
КонецПопытки;
Возврат Результат;
КонецФункции
&НаСервере
Процедура УстановитьРасширенныйРежим()
Если ПолныеВозможности Тогда
Заголовок = НСтр("ru = 'Управление итогами - полные возможности'");
ТекстГиперссылки = НСтр("ru = 'Часто используемые возможности'");
Элементы.Операции.ТекущаяСтраница = Элементы.РасширенныеВозможности;
Иначе
Заголовок = НСтр("ru = 'Управление итогами - часто используемые возможности'");
ТекстГиперссылки = НСтр("ru = 'Полные возможности'");
Элементы.Операции.ТекущаяСтраница = Элементы.БыстрыйДоступ;
КонецЕсли;
КонецПроцедуры
#КонецОбласти
#Область Сервер
&НаСервере
Функция ВыделенныеСтроки(ИмяТаблицы)
Результат = Новый Массив;
ВыделенныеСтроки = Элементы[ИмяТаблицы].ВыделенныеСтроки;
Таблица = ЭтотОбъект[ИмяТаблицы];
Для Каждого Идентификатор Из ВыделенныеСтроки Цикл
Результат.Добавить(Таблица.НайтиПоИдентификатору(Идентификатор));
КонецЦикла;
Возврат Результат;
КонецФункции
&НаСервере
Процедура ПрочитатьИнформациюПоРегистрам()
СписокИтогов.Очистить();
АгрегатыПоРегистрам.Очистить();
СписокАгрегатовРегистра.Очистить();
Картинка = БиблиотекаКартинок.РегистрБухгалтерии;
Для Каждого Регистр Из Метаданные.РегистрыБухгалтерии Цикл
Если Не ПравоДоступа("УправлениеИтогами", Регистр) Тогда
Продолжить;
КонецЕсли;
Представление = Регистр.Представление() + " (" + НСтр("ru = 'регистр бухгалтерии'") + ")";
СтрокаТаблицы = СписокИтогов.Добавить();
СтрокаТаблицы.Тип = 1;
СтрокаТаблицы.ИмяМетаданного = Регистр.Имя;
СтрокаТаблицы.Картинка = Картинка;
СтрокаТаблицы.ОстаткиИОбороты = Истина;
СтрокаТаблицы.Наименование = Представление;
СтрокаТаблицы.РазрешитьРазделениеИтогов = Регистр.РазрешитьРазделениеИтогов;
КонецЦикла;
Картинка = БиблиотекаКартинок.РегистрНакопления;
Для Каждого Регистр Из Метаданные.РегистрыНакопления Цикл
Постфикс = "";
Если Регистр.ВидРегистра = Метаданные.СвойстваОбъектов.ВидРегистраНакопления.Обороты Тогда
ОстаткиИОбороты = Ложь;
Постфикс = НСтр("ru = 'регистр накопления, только обороты'");
Иначе
ОстаткиИОбороты = Истина;
Постфикс = НСтр("ru = 'регистр накопления, остатки и обороты'");
КонецЕсли;
Если Не ПравоДоступа("УправлениеИтогами", Регистр) Тогда
Продолжить;
КонецЕсли;
Представление = Регистр.Представление() + " (" + Постфикс + ")";
СтрокаТаблицы = СписокИтогов.Добавить();
СтрокаТаблицы.Тип = 0;
СтрокаТаблицы.ИмяМетаданного = Регистр.Имя;
СтрокаТаблицы.Картинка = Картинка;
СтрокаТаблицы.ОстаткиИОбороты = ОстаткиИОбороты;
СтрокаТаблицы.Наименование = Представление;
СтрокаТаблицы.РазрешитьРазделениеИтогов = Регистр.РазрешитьРазделениеИтогов ;
КонецЦикла;
Картинка = БиблиотекаКартинок.РегистрНакопления;
Для Каждого Регистр Из Метаданные.РегистрыНакопления Цикл
Если Регистр.ВидРегистра <> Метаданные.СвойстваОбъектов.ВидРегистраНакопления.Обороты Тогда
Продолжить;
КонецЕсли;
Если Не ПравоДоступа("УправлениеИтогами", Регистр) Тогда
Продолжить;
КонецЕсли;
Представление = Регистр.Представление();
Агрегаты = Регистр.Агрегаты;
Если Агрегаты.Количество() = 0 Тогда
Продолжить;
КонецЕсли;
СтрокаТаблицы = АгрегатыПоРегистрам.Добавить();
СтрокаТаблицы.ИмяМетаданного = Регистр.Имя;
СтрокаТаблицы.Картинка = Картинка;
СтрокаТаблицы.Наименование = Представление;
СтрокаТаблицы.ПостроениеОптимально = Истина;
КонецЦикла;
СписокИтогов.Сортировать("Наименование Возр");
АгрегатыПоРегистрам.Сортировать("Наименование Возр");
КонецПроцедуры
#КонецОбласти
#КонецОбласти | 56,851 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 4037, "qsc_code_num_chars": 56851.0, "qsc_code_mean_word_length": 10.75006193, "qsc_code_frac_words_unique": 0.13871687, "qsc_code_frac_chars_top_2grams": 0.0906263, "qsc_code_frac_chars_top_3grams": 0.02359556, "qsc_code_frac_chars_top_4grams": 0.00794968, "qsc_code_frac_chars_dupe_5grams": 0.5049311, "qsc_code_frac_chars_dupe_6grams": 0.47092032, "qsc_code_frac_chars_dupe_7grams": 0.43882207, "qsc_code_frac_chars_dupe_8grams": 0.39352044, "qsc_code_frac_chars_dupe_9grams": 0.37393428, "qsc_code_frac_chars_dupe_10grams": 0.34909443, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00342389, "qsc_code_frac_chars_whitespace": 0.14205555, "qsc_code_size_file_byte": 56851.0, "qsc_code_num_lines": 1529.0, "qsc_code_num_chars_line_max": 138.0, "qsc_code_num_chars_line_mean": 37.18181818, "qsc_code_frac_chars_alphabet": 0.88631471, "qsc_code_frac_chars_comments": 0.99815307, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1zilc/fishing-funds | src/renderer/components/Home/CoinView/DetailCoinContent/Appraise/index.tsx | import React from 'react';
import { useResizeEchart, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import styles from './index.module.css';
export interface AppraiseProps {
data: number[];
}
const Appraise: React.FC<AppraiseProps> = ({ data }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
useRenderEcharts(
() => {
chartInstance?.setOption({
// backgroundColor: '#161627',
title: {
text: '',
left: 'center',
},
grid: {
left: 0,
right: 0,
bottom: 0,
containLabel: true,
},
tooltip: {
trigger: 'item',
confine: true,
},
radar: {
indicator: [
{ name: 'coingecko', max: 100 },
{ name: '开发者', max: 100 },
{ name: '社区', max: 100 },
{ name: '流通性', max: 100 },
],
shape: 'circle',
splitNumber: 5,
center: ['50%', '50%'],
radius: '64%',
name: {
textStyle: {
color: 'rgb(228, 167, 82)',
},
},
splitLine: {
lineStyle: {
color: [
'rgba(238, 197, 102, 0.3)',
'rgba(238, 197, 102, 0.5)',
'rgba(238, 197, 102, 0.7)',
'rgba(238, 197, 102, 0.8)',
'rgba(238, 197, 102, 0.9)',
'rgba(238, 197, 102, 1)',
].reverse(),
},
},
splitArea: {
show: false,
},
axisLine: {
lineStyle: {
color: 'rgba(238, 197, 102, 0.5)',
},
},
},
series: [
{
name: '能力评估',
type: 'radar',
lineStyle: { width: 1, opacity: 0.8 },
data: [data],
symbol: 'none',
itemStyle: {
color: '#F9713C',
},
areaStyle: {
opacity: 0.5,
},
},
],
});
},
chartInstance,
[data]
);
return (
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
</div>
);
};
export default Appraise;
| 2,328 | index | tsx | en | tsx | code | {"qsc_code_num_words": 188, "qsc_code_num_chars": 2328.0, "qsc_code_mean_word_length": 4.95744681, "qsc_code_frac_words_unique": 0.51595745, "qsc_code_frac_chars_top_2grams": 0.05257511, "qsc_code_frac_chars_top_3grams": 0.0751073, "qsc_code_frac_chars_top_4grams": 0.09763948, "qsc_code_frac_chars_dupe_5grams": 0.1223176, "qsc_code_frac_chars_dupe_6grams": 0.07725322, "qsc_code_frac_chars_dupe_7grams": 0.06008584, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.09582689, "qsc_code_frac_chars_whitespace": 0.44415808, "qsc_code_size_file_byte": 2328.0, "qsc_code_num_lines": 95.0, "qsc_code_num_chars_line_max": 89.0, "qsc_code_num_chars_line_mean": 24.50526316, "qsc_code_frac_chars_alphabet": 0.6244204, "qsc_code_frac_chars_comments": 0.0128866, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.06666667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.12880766, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/УправлениеИтогамиИАгрегатами/Forms/ФормаВыбораПериода/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбор периода рассчитанных итогов</v8:content>
</v8:item>
</Title>
<WindowOpeningMode>LockOwnerWindow</WindowOpeningMode>
<AutoTitle>false</AutoTitle>
<Customizable>false</Customizable>
<CommandBarLocation>Bottom</CommandBarLocation>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
<HorizontalAlign>Right</HorizontalAlign>
<ChildItems>
<Button name="OK" id="5">
<Type>CommandBarButton</Type>
<DefaultButton>true</DefaultButton>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.Command.ОК</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>ОК</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="OKРасширеннаяПодсказка" id="12"/>
</Button>
<Button name="Отмена" id="6">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.StandardCommand.Cancel</CommandName>
<ExtendedTooltip name="ОтменаРасширеннаяПодсказка" id="13"/>
</Button>
<Button name="Справка" id="7">
<Type>CommandBarButton</Type>
<SkipOnInput>false</SkipOnInput>
<CommandName>Form.StandardCommand.Help</CommandName>
<ExtendedTooltip name="СправкаРасширеннаяПодсказка" id="14"/>
</Button>
</ChildItems>
</AutoCommandBar>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<InputField name="ПериодДляРегистровНакопления" id="10">
<DataPath>ПериодДляРегистровНакопления</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период итогов для регистров накопления</v8:content>
</v8:item>
</Title>
<Wrap>false</Wrap>
<ContextMenu name="ПериодДляРегистровНакопленияКонтекстноеМеню" id="11"/>
<ExtendedTooltip name="ПериодДляРегистровНакопленияРасширеннаяПодсказка" id="15"/>
<Events>
<Event name="OnChange">ПериодДляРегистровНакопленияПриИзменении</Event>
</Events>
</InputField>
<InputField name="ПериодДляРегистровБухгалтерии" id="8">
<DataPath>ПериодДляРегистровБухгалтерии</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период итогов для регистров бухгалтерии</v8:content>
</v8:item>
</Title>
<Wrap>false</Wrap>
<ContextMenu name="ПериодДляРегистровБухгалтерииКонтекстноеМеню" id="9"/>
<ExtendedTooltip name="ПериодДляРегистровБухгалтерииРасширеннаяПодсказка" id="16"/>
<Events>
<Event name="OnChange">ПериодДляРегистровБухгалтерииПриИзменении</Event>
</Events>
</InputField>
</ChildItems>
<Attributes>
<Attribute name="ПериодДляРегистровНакопления" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период итогов для регистров накопления</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>Date</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Attribute>
<Attribute name="ПериодДляРегистровБухгалтерии" id="6">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Период итогов для регистров бухгалтерии</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:dateTime</v8:Type>
<v8:DateQualifiers>
<v8:DateFractions>Date</v8:DateFractions>
</v8:DateQualifiers>
</Type>
</Attribute>
</Attributes>
<Commands>
<Command name="ОК" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>ОК</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>ОК</v8:content>
</v8:item>
</ToolTip>
<Action>ОК</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
</Commands>
<Parameters>
<Parameter name="РегБухгалтерии">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Parameter>
<Parameter name="РегНакопления">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Parameter>
</Parameters>
</Form> | 4,890 | Form | xml | ru | xml | data | {"qsc_code_num_words": 590, "qsc_code_num_chars": 4890.0, "qsc_code_mean_word_length": 5.68813559, "qsc_code_frac_words_unique": 0.24745763, "qsc_code_frac_chars_top_2grams": 0.02860548, "qsc_code_frac_chars_top_3grams": 0.03575685, "qsc_code_frac_chars_top_4grams": 0.04469607, "qsc_code_frac_chars_dupe_5grams": 0.4579857, "qsc_code_frac_chars_dupe_6grams": 0.43951132, "qsc_code_frac_chars_dupe_7grams": 0.42461263, "qsc_code_frac_chars_dupe_8grams": 0.41090584, "qsc_code_frac_chars_dupe_9grams": 0.36144219, "qsc_code_frac_chars_dupe_10grams": 0.24672229, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03879614, "qsc_code_frac_chars_whitespace": 0.13026585, "qsc_code_size_file_byte": 4890.0, "qsc_code_num_lines": 138.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 35.43478261, "qsc_code_frac_chars_alphabet": 0.75005878, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.65217391, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.2404908, "qsc_code_frac_chars_long_word_length": 0.07627812, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1zimu-com/1zimu | edge-mv3-prod/static/background/index.js | var e,t;"function"==typeof(e=globalThis.define)&&(t=e,e=null),function(t,r,n,a,o){var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},s="function"==typeof i[a]&&i[a],l=s.cache||{},u="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(e,r){if(!l[e]){if(!t[e]){var n="function"==typeof i[a]&&i[a];if(!r&&n)return n(e,!0);if(s)return s(e,!0);if(u&&"string"==typeof e)return u(e);var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}f.resolve=function(r){var n=t[e][1][r];return null!=n?n:r},f.cache={};var d=l[e]=new c.Module(e);t[e][0].call(d.exports,f,d,d.exports,this)}return l[e].exports;function f(e){var t=f.resolve(e);return!1===t?{}:c(t)}}c.isParcelRequire=!0,c.Module=function(e){this.id=e,this.bundle=c,this.exports={}},c.modules=t,c.cache=l,c.parent=s,c.register=function(e,r){t[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(c,"root",{get:function(){return i[a]}}),i[a]=c;for(var d=0;d<r.length;d++)c(r[d]);if(n){var f=c(n);"object"==typeof exports&&"undefined"!=typeof module?module.exports=f:"function"==typeof e&&e.amd?e(function(){return f}):o&&(this[o]=f)}}({kgW6q:[function(e,t,r){e("./messaging"),e("../../../src/background/index")},{"./messaging":"iG3ww","../../../src/background/index":"iqY5N"}],iG3ww:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js"),a=e("~background/messages/dict-msg"),o=n.interopDefault(a),i=e("~background/messages/status-msg"),s=n.interopDefault(i),l=e("~background/messages/subtitle-msg"),u=n.interopDefault(l),c=e("~background/ports/dict-port-msg"),d=n.interopDefault(c),f=e("~background/ports/settings"),p=n.interopDefault(f),h=e("~background/ports/subtitles-msg"),m=n.interopDefault(h);globalThis.__plasmoInternalPortMap=new Map,chrome.runtime.onMessageExternal.addListener((e,t,r)=>(e?.name,!0)),chrome.runtime.onMessage.addListener((e,t,r)=>{switch(e.name){case"dict-msg":(0,o.default)({...e,sender:t},{send:e=>r(e)});break;case"status-msg":(0,s.default)({...e,sender:t},{send:e=>r(e)});break;case"subtitle-msg":(0,u.default)({...e,sender:t},{send:e=>r(e)})}return!0}),chrome.runtime.onConnect.addListener(function(e){globalThis.__plasmoInternalPortMap.set(e.name,e),e.onMessage.addListener(function(t){switch(e.name){case"dict-port-msg":(0,d.default)({port:e,...t},{send:t=>e.postMessage(t)});break;case"settings":(0,p.default)({port:e,...t},{send:t=>e.postMessage(t)});break;case"subtitles-msg":(0,m.default)({port:e,...t},{send:t=>e.postMessage(t)})}})})},{"~background/messages/dict-msg":"iQSIs","~background/messages/status-msg":"5tzOi","~background/messages/subtitle-msg":"8Dugt","~background/ports/dict-port-msg":"aMQYp","~background/ports/settings":"bq9Y7","~background/ports/subtitles-msg":"eP5gr","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],iQSIs:[function(e,t,r){},{}],"5tzOi":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);let n=async(e,t)=>{try{let{status:t}=e.body;t?(chrome.action.setBadgeText({text:""}),chrome.action.setBadgeBackgroundColor({color:[0,0,0,0]})):(chrome.action.setBadgeText({text:"\u7981\u7528"}),chrome.action.setBadgeBackgroundColor({color:[255,0,0,255]}))}catch(e){console.error("catched error in messages.status-msg :>> ",e)}};r.default=n},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],hbR2Q:[function(e,t,r){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(e,t){return Object.keys(e).forEach(function(r){"default"===r||"__esModule"===r||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),t},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],"8Dugt":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("~tools/error"),a=e("~tools/subtitle"),o=e("~tools/jwt"),i=e("~tools/constants"),s=e("~tools/storages");let l=async(e,t)=>{try{let{msgType:r,movie_name:n,q:l,source:u,api_key:c,format:d,alternatives:f,optionsUrl:p,target:h,word:m,subtitleSrtRaw:g}=e.body;if("movie_name_from_nextjs"===r){let e=new Headers,r=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);e.append("Authorization",`Bearer ${r}`);let a=encodeURIComponent(n.trim()),o=`https://www.1zimu.com/subtitle/api/subtitleget/${a}/2/3`,l=await fetch(o,{method:"GET",headers:e,redirect:"follow",referrerPolicy:"no-referrer"}),u=await l.json();if(u?.error){t.send({error:u.error.status,name:u.error.name,message:u.error.message});return}u?.length>0&&u[0]?.subtitles?.length>0&&t.send({resultArr:u[0].subtitles});return}if("libretranslateTranslate"===r)await fetch("https://1zimu.com/subtitle/api/translate",{method:"POST",body:JSON.stringify({q:l,source:u,target:h}),headers:{"Content-Type":"application/json"}});else if("azureTranslate"===r){let e=await fetch("https://edge.microsoft.com/translate/auth",{method:"GET"}),r=await e.text();if(!(0,a.checkMSEdgeJwt)(r)){t.send({error:"Error",name:"Invalid JWT",message:"JWT \u51fa\u9519\uff01"});return}let n=new Headers;n.append("Authorization",`Bearer ${r}`),n.append("Content-Type","application/json");let o={method:"POST",headers:n,body:JSON.stringify(l),redirect:"follow",referrerPolicy:"no-referrer"},i=await fetch(`https://api-edge.cognitive.microsofttranslator.com/translate?to=${h}&api-version=3.0&includeSentenceLength=true`,o),s=await i.json();if(s?.error){t.send({error:s.error});return}t.send({translations:s});return}else if("open_options_page"===r){let e=decodeURIComponent(p.trim());chrome.tabs.create({url:e})}else if("getEcdictredInfo"===r){let e=new Headers,r=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);(0,o.checkJWT)(r)?(e.append("Authorization",`Bearer ${r}`),fetch(`https://pdf.ccbcss.com/subtitle/api/ecdictred/${m}`,{method:"GET",headers:e,redirect:"follow"}).then(e=>e.json()).then(e=>{t.send({result:e})}).catch(e=>{console.error(e),t.send({error:e})})):t.send({result:i.JWT_IS_FALSE})}else if("ecdictFavMsg"===r){let e=new Headers,r=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);if((0,o.checkJWT)(r)){e.append("Authorization",`Bearer ${r}`);let n=new FormData;n.append("word",m),fetch("https://pdf.ccbcss.com/subtitle/api/ecdictfav",{method:"POST",headers:e,body:n,redirect:"follow"}).then(e=>e.json()).then(e=>{t.send({result:e})}).catch(e=>{console.error(e),t.send({error:e})})}else t.send({result:i.JWT_IS_FALSE})}else if("ecdictFavDelMsg"===r){let e=new Headers,r=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);if((0,o.checkJWT)(r)){e.append("Authorization",`Bearer ${r}`);let n=new FormData;n.append("word",m),fetch("https://pdf.ccbcss.com/subtitle/api/ecdictfavdel",{method:"POST",headers:e,body:n,redirect:"follow"}).then(e=>e.json()).then(e=>{t.send({result:e})}).catch(e=>{console.error(e),t.send({error:e})})}else t.send({result:i.JWT_IS_FALSE})}else if("getSubtitleStatInfo"===r){let e="https://1zimu.com/subtitle/api/getsubtitleecditinfo",r={name:"url error",message:"PLASMO_PUBLIC_API_GET_SUBTITLE_ECDITINFO_URL is undefined",details:{}};e||t.send({error:r});let n=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);if((0,o.checkJWT)(n)){let r=new Headers;r.append("Content-Type","text/plain"),r.append("Authorization",`Bearer ${n}`),fetch(e,{method:"POST",headers:r,body:g,redirect:"follow"}).then(async e=>429===e.status?{response_status:429}:await e.json()).then(e=>{t.send({result:e})}).catch(e=>{console.error(e),t.send({error:e})})}else r.name="jwt error",r.message=i.JWT_IS_FALSE,t.send({error:r})}else if("getUserInfo"===r){let e="https://1zimu.com/subtitle/api/userinfo",r={name:"url error",message:"PLASMO_PUBLIC_API_USERINFO_URL is undefined",details:{}};e||t.send({error:r});let n=await (0,s.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT);if((0,o.checkJWT)(n)){let r=new Headers;r.append("Authorization",`Bearer ${n}`),fetch(e,{method:"GET",headers:r,redirect:"follow"}).then(async e=>429===e.status?{response_status:429}:await e.json()).then(e=>{t.send({result:e})}).catch(e=>{console.error(e),t.send({error:e})})}else r.name="jwt error",r.message=i.JWT_IS_FALSE,t.send({error:r})}}catch(e){(0,n.handleError)({error:e,msgToShow:"backgroud.messges.subtitle-msg"}),t.send({error:e,name:"Catched ERROR in background/subtitle-msg: ",message:e?.message})}};r.default=l},{"~tools/error":"2MpWC","~tools/subtitle":"lEjEC","~tools/jwt":"bk8TP","~tools/constants":"aHxh8","~tools/storages":"68W9f","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"2MpWC":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"handleError",()=>o);var a=e("react-toastify");function o({error:e,msgToShow:t,autoClose:r=5e3,silence:n=!0}){try{console.error(`Catched ERROR in ${t} :>> `,e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in ${t}.`,{autoClose:r}))}catch(e){console.error("Catched ERROR in tools.error.handleError() :>> ",e),n||((0,a.toast).dismiss(),(0,a.toast).error(`Catched ERROR: ${e.message} in tools.error.handleError()`,{autoClose:r}))}}},{"react-toastify":"h8uoK","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],h8uoK:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Bounce",()=>N),n.export(r,"Flip",()=>F),n.export(r,"Icons",()=>j),n.export(r,"Slide",()=>Y),n.export(r,"ToastContainer",()=>G),n.export(r,"Zoom",()=>W),n.export(r,"collapseToast",()=>p),n.export(r,"cssTransition",()=>h),n.export(r,"toast",()=>D),n.export(r,"useToast",()=>x),n.export(r,"useToastContainer",()=>E);var a=e("react"),o=n.interopDefault(a),i=e("clsx"),s=n.interopDefault(i);let l=e=>"number"==typeof e&&!isNaN(e),u=e=>"string"==typeof e,c=e=>"function"==typeof e,d=e=>u(e)||c(e)?e:null,f=e=>(0,a.isValidElement)(e)||u(e)||c(e)||l(e);function p(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=n+"px",a.transition=`all ${r}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,r)})})}function h(e){let{enter:t,exit:r,appendPosition:n=!1,collapse:i=!0,collapseDuration:s=300}=e;return function(e){let{children:l,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:h,playToast:m}=e,g=n?`${t}--${u}`:t,y=n?`${r}--${u}`:r,b=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let e=f.current,t=g.split(" "),r=n=>{n.target===f.current&&(m(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===b.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,a.useEffect)(()=>{let e=f.current,t=()=>{e.removeEventListener("animationend",t),i?p(e,d,s):d()};h||(c?t():(b.current=1,e.className+=` ${y}`,e.addEventListener("animationend",t)))},[h]),(0,o.default).createElement(o.default.Fragment,null,l)}}function m(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let g=new Map,y=[],b=new Set,_=e=>b.forEach(t=>t(e)),T=()=>g.size>0;function S(e,t){var r;if(t)return!(null==(r=g.get(t))||!r.isToastActive(e));let n=!1;return g.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function v(e,t){f(e)&&(T()||y.push({content:e,options:t}),g.forEach(r=>{r.buildToast(e,t)}))}function w(e,t){g.forEach(r=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===r.id&&r.toggle(e,null==t?void 0:t.id):r.toggle(e,null==t?void 0:t.id)})}function E(e){let{subscribe:t,getSnapshot:r,setProps:n}=(0,a.useRef)(function(e){let t=e.containerId||1;return{subscribe(r){let n=function(e,t,r){let n=1,o=0,i=[],s=[],p=[],h=t,g=new Map,y=new Set,b=()=>{p=Array.from(g.values()),y.forEach(e=>e())},_=e=>{s=null==e?[]:s.filter(t=>t!==e),b()},T=e=>{let{toastId:t,onOpen:n,updateId:o,children:i}=e.props,l=null==o;e.staleId&&g.delete(e.staleId),g.set(t,e),s=[...s,e.props.toastId].filter(t=>t!==e.staleId),b(),r(m(e,l?"added":"updated")),l&&c(n)&&n((0,a.isValidElement)(i)&&i.props)};return{id:e,props:h,observe:e=>(y.add(e),()=>y.delete(e)),toggle:(e,t)=>{g.forEach(r=>{null!=t&&t!==r.props.toastId||c(r.toggle)&&r.toggle(e)})},removeToast:_,toasts:g,clearQueue:()=>{o-=i.length,i=[]},buildToast:(t,s)=>{var p,y;if((t=>{let{containerId:r,toastId:n,updateId:a}=t,o=g.has(n)&&null==a;return(r?r!==e:1!==e)||o})(s))return;let{toastId:S,updateId:v,data:w,staleId:E,delay:x}=s,I=()=>{_(S)},O=null==v;O&&o++;let A={...h,style:h.toastStyle,key:n++,...Object.fromEntries(Object.entries(s).filter(e=>{let[t,r]=e;return null!=r})),toastId:S,updateId:v,data:w,closeToast:I,isIn:!1,className:d(s.className||h.toastClassName),bodyClassName:d(s.bodyClassName||h.bodyClassName),progressClassName:d(s.progressClassName||h.progressClassName),autoClose:!s.isLoading&&(p=s.autoClose,y=h.autoClose,!1===p||l(p)&&p>0?p:y),deleteToast(){let e=g.get(S),{onClose:t,children:n}=e.props;c(t)&&t((0,a.isValidElement)(n)&&n.props),r(m(e,"removed")),g.delete(S),--o<0&&(o=0),i.length>0?T(i.shift()):b()}};A.closeButton=h.closeButton,!1===s.closeButton||f(s.closeButton)?A.closeButton=s.closeButton:!0===s.closeButton&&(A.closeButton=!f(h.closeButton)||h.closeButton);let R=t;(0,a.isValidElement)(t)&&!u(t.type)?R=(0,a.cloneElement)(t,{closeToast:I,toastProps:A,data:w}):c(t)&&(R=t({closeToast:I,toastProps:A,data:w}));let k={content:R,props:A,staleId:E};h.limit&&h.limit>0&&o>h.limit&&O?i.push(k):l(x)?setTimeout(()=>{T(k)},x):T(k)},setProps(e){h=e},setToggle:(e,t)=>{g.get(e).toggle=t},isToastActive:e=>s.some(t=>t===e),getSnapshot:()=>p}}(t,e,_);g.set(t,n);let o=n.observe(r);return y.forEach(e=>v(e.content,e.options)),y=[],()=>{o(),g.delete(t)}},setProps(e){var r;null==(r=g.get(t))||r.setProps(e)},getSnapshot(){var e;return null==(e=g.get(t))?void 0:e.getSnapshot()}}}(e)).current;n(e);let o=(0,a.useSyncExternalStore)(t,r,r);return{getToastToRender:function(t){if(!o)return[];let r=new Map;return e.newestOnTop&&o.reverse(),o.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},isToastActive:S,count:null==o?void 0:o.length}}function x(e){var t,r;let[n,o]=(0,a.useState)(!1),[i,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),u=(0,a.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:h}=e;function m(){o(!0)}function y(){o(!1)}function b(t){let r=l.current;u.canDrag&&r&&(u.didMove=!0,n&&y(),u.delta="x"===e.draggableDirection?t.clientX-u.start:t.clientY-u.start,u.start!==t.clientX&&(u.canCloseOnClick=!1),r.style.transform=`translate3d(${"x"===e.draggableDirection?`${u.delta}px, var(--y)`:`0, calc(${u.delta}px + var(--y))`},0)`,r.style.opacity=""+(1-Math.abs(u.delta/u.removalDistance)))}function _(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",_);let t=l.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance)return s(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(r=g.get((t={id:e.toastId,containerId:e.containerId,fn:o}).containerId||1))||r.setToggle(t.id,t.fn),(0,a.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||y(),window.addEventListener("focus",m),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",y)}},[e.pauseOnFocusLoss]);let T={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",_);let r=l.current;u.canCloseOnClick=!0,u.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(u.start=t.clientX,u.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(u.start=t.clientY,u.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:r,bottom:n,left:a,right:o}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=a&&t.clientX<=o&&t.clientY>=r&&t.clientY<=n?y():m()}};return c&&d&&(T.onMouseEnter=y,e.stacked||(T.onMouseLeave=m)),h&&(T.onClick=e=>{p&&p(e),u.canCloseOnClick&&f()}),{playToast:m,pauseToast:y,isRunning:n,preventExitTransition:i,toastRef:l,eventHandlers:T}}function I(e){let{delay:t,isRunning:r,closeToast:n,type:a="default",hide:i,className:l,style:u,controlledProgress:d,progress:f,rtl:p,isIn:h,theme:m}=e,g=i||d&&0===f,y={...u,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};d&&(y.transform=`scaleX(${f})`);let b=(0,s.default)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":p}),_=c(l)?l({rtl:p,type:a,defaultClassName:b}):(0,s.default)(b,l);return(0,o.default).createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":g},(0,o.default).createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${a}`}),(0,o.default).createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:_,style:y,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{h&&n()}}))}let O=1,A=()=>""+O++;function R(e,t){return v(e,t),t.toastId}function k(e,t){return{...t,type:t&&t.type||e,toastId:t&&(u(t.toastId)||l(t.toastId))?t.toastId:A()}}function M(e){return(t,r)=>R(t,k(e,r))}function D(e,t){return R(e,k("default",t))}D.loading=(e,t)=>R(e,k("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),D.promise=function(e,t,r){let n,{pending:a,error:o,success:i}=t;a&&(n=u(a)?D.loading(a,r):D.loading(a.render,{...r,...a}));let s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,a)=>{if(null==t)return void D.dismiss(n);let o={type:e,...s,...r,data:a},i=u(t)?{render:t}:t;return n?D.update(n,{...o,...i}):D(i.render,{...o,...i}),a},d=c(e)?e():e;return d.then(e=>l("success",i,e)).catch(e=>l("error",o,e)),d},D.success=M("success"),D.info=M("info"),D.error=M("error"),D.warning=M("warning"),D.warn=D.warning,D.dark=(e,t)=>R(e,k("default",{theme:"dark",...t})),D.dismiss=function(e){!function(e){var t;if(T()){if(null==e||u(t=e)||l(t))g.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=g.get(e.containerId);t?t.removeToast(e.id):g.forEach(t=>{t.removeToast(e.id)})}}else y=y.filter(t=>null!=e&&t.options.toastId!==e)}(e)},D.clearWaitingQueue=function(e){void 0===e&&(e={}),g.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},D.isActive=S,D.update=function(e,t){void 0===t&&(t={});let r=((e,t)=>{var r;let{containerId:n}=t;return null==(r=g.get(n||1))?void 0:r.toasts.get(e)})(e,t);if(r){let{props:n,content:a}=r,o={delay:100,...n,...t,toastId:t.toastId||e,updateId:A()};o.toastId!==e&&(o.staleId=e);let i=o.render||a;delete o.render,R(i,o)}},D.done=e=>{D.update(e,{progress:1})},D.onChange=function(e){return b.add(e),()=>{b.delete(e)}},D.play=e=>w(!0,e),D.pause=e=>w(!1,e);let L="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,C=e=>{let{theme:t,type:r,isLoading:n,...a}=e;return(0,o.default).createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...a})},j={info:function(e){return(0,o.default).createElement(C,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return(0,o.default).createElement(C,{...e},(0,o.default).createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return(0,o.default).createElement(C,{...e},(0,o.default).createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return(0,o.default).createElement(C,{...e},(0,o.default).createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,o.default).createElement("div",{className:"Toastify__spinner"})}},P=e=>{let{isRunning:t,preventExitTransition:r,toastRef:n,eventHandlers:i,playToast:l}=x(e),{closeButton:u,children:d,autoClose:f,onClick:p,type:h,hideProgressBar:m,closeToast:g,transition:y,position:b,className:_,style:T,bodyClassName:S,bodyStyle:v,progressClassName:w,progressStyle:E,updateId:O,role:A,progress:R,rtl:k,toastId:M,deleteToast:D,isIn:L,isLoading:C,closeOnClick:P,theme:U}=e,N=(0,s.default)("Toastify__toast",`Toastify__toast-theme--${U}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":P}),Y=c(_)?_({rtl:k,position:b,type:h,defaultClassName:N}):(0,s.default)(N,_),W=function(e){let{theme:t,type:r,isLoading:n,icon:o}=e,i=null,s={theme:t,type:r};return!1===o||(c(o)?i=o({...s,isLoading:n}):(0,a.isValidElement)(o)?i=(0,a.cloneElement)(o,s):n?i=j.spinner():r in j&&(i=j[r](s))),i}(e),F=!!R||!f,B={closeToast:g,type:h,theme:U},G=null;return!1===u||(G=c(u)?u(B):(0,a.isValidElement)(u)?(0,a.cloneElement)(u,B):function(e){let{closeToast:t,theme:r,ariaLabel:n="close"}=e;return(0,o.default).createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":n},(0,o.default).createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,o.default).createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(B)),(0,o.default).createElement(y,{isIn:L,done:D,position:b,preventExitTransition:r,nodeRef:n,playToast:l},(0,o.default).createElement("div",{id:M,onClick:p,"data-in":L,className:Y,...i,style:T,ref:n},(0,o.default).createElement("div",{...L&&{role:A},className:c(S)?S({type:h}):(0,s.default)("Toastify__toast-body",S),style:v},null!=W&&(0,o.default).createElement("div",{className:(0,s.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!C})},W),(0,o.default).createElement("div",null,d)),G,(0,o.default).createElement(I,{...O&&!F?{key:`pb-${O}`}:{},rtl:k,theme:U,delay:f,isRunning:t,isIn:L,closeToast:g,hide:m,type:h,style:E,className:w,controlledProgress:F,progress:R||0})))},U=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},N=h(U("bounce",!0)),Y=h(U("slide",!0)),W=h(U("zoom")),F=h(U("flip")),B={position:"top-right",transition:N,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function G(e){let t={...B,...e},r=e.stacked,[n,i]=(0,a.useState)(!0),l=(0,a.useRef)(null),{getToastToRender:u,isToastActive:f,count:p}=E(t),{className:h,style:m,rtl:g,containerId:y}=t;function b(){r&&(i(!0),D.play())}return L(()=>{if(r){var e;let r=l.current.querySelectorAll('[data-in="true"]'),a=null==(e=t.position)?void 0:e.includes("top"),o=0,i=0;Array.from(r).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${n}`),e.dataset.pos||(e.dataset.pos=a?"top":"bot");let r=o*(n?.2:1)+(n?0:12*t);e.style.setProperty("--y",`${a?r:-1*r}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",""+(1-(n?i:0))),o+=e.offsetHeight,i+=.025})}},[n,p,r]),(0,o.default).createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{r&&(i(!1),D.pause())},onMouseLeave:b},u((e,t)=>{let n=t.length?{...m}:{...m,pointerEvents:"none"};return(0,o.default).createElement("div",{className:function(e){let t=(0,s.default)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":g});return c(h)?h({position:e,rtl:g,defaultClassName:t}):(0,s.default)(t,d(h))}(e),style:n,key:`container-${e}`},t.map(e=>{let{content:t,props:n}=e;return(0,o.default).createElement(P,{...n,stacked:r,collapseAll:b,isIn:f(n.toastId,n.containerId),style:n.style,key:`toast-${n.key}`},t)}))}))}},{react:"34kvN",clsx:"8kiPU","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"34kvN":[function(e,t,r){t.exports=e("ae0ab14aecd941d7")},{ae0ab14aecd941d7:"eNFzo"}],eNFzo:[function(e,t,r){var n=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}function _(){}function T(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var S=T.prototype=new _;S.constructor=T,g(S,b.prototype),S.isPureReactComponent=!0;var v=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,a)&&!x.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:E.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function R(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function k(e,t,r){if(null==e)return e;var o=[],i=0;return function e(t,r,o,i,s){var l,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case a:f=!0}}if(f)return s=s(f=t),t=""===i?"."+R(f,0):i,v(s)?(o="",null!=t&&(o=t.replace(A,"$&/")+"/"),e(s,r,o,"",function(e){return e})):null!=s&&(O(s)&&(l=s,u=o+(!s.key||f&&f.key===s.key?"":(""+s.key).replace(A,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(f=0,i=""===i?".":i+":",v(t))for(var p=0;p<t.length;p++){var m=i+R(d=t[p],p);f+=e(d,r,o,m,s)}else if("function"==typeof(m=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=h&&c[h]||c["@@iterator"])?c:null))for(t=m.call(t),p=0;!(d=t.next()).done;)m=i+R(d=d.value,p++),f+=e(d,r,o,m,s);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return f}(e,o,"","",function(e){return t.call(r,e,i++)}),o}function M(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},L={transition:null};r.Children={map:k,forEach:function(e,t,r){k(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=o,r.Profiler=s,r.PureComponent=T,r.StrictMode=i,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:L,ReactCurrentOwner:E},r.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=E.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)w.call(t,u)&&!x.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},r.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=I,r.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=O,r.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:M}},r.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return D.current.useCallback(e,t)},r.useContext=function(e){return D.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return D.current.useDeferredValue(e)},r.useEffect=function(e,t){return D.current.useEffect(e,t)},r.useId=function(){return D.current.useId()},r.useImperativeHandle=function(e,t,r){return D.current.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return D.current.useMemo(e,t)},r.useReducer=function(e,t,r){return D.current.useReducer(e,t,r)},r.useRef=function(e){return D.current.useRef(e)},r.useState=function(e){return D.current.useState(e)},r.useSyncExternalStore=function(e,t,r){return D.current.useSyncExternalStore(e,t,r)},r.useTransition=function(){return D.current.useTransition()},r.version="18.2.0"},{}],"8kiPU":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(n&&(n+=" "),n+=t);return n}n.defineInteropFlag(r),n.export(r,"clsx",()=>a),r.default=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],lEjEC:[function(e,t,r){let n,a,o;var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"getVideojsNextjsSrtUrl",()=>w),i.export(r,"opYoutubeSubtitleContainer",()=>x),i.export(r,"loadeddata",()=>I),i.export(r,"timeUpdate",()=>O),i.export(r,"checkBwpVideo",()=>A),i.export(r,"keyDown",()=>R),i.export(r,"clearIntervalAndTimeOut",()=>k),i.export(r,"preSentence",()=>M),i.export(r,"nextSentence",()=>D),i.export(r,"addPlayRate",()=>L),i.export(r,"subPlayRate",()=>C),i.export(r,"http2https",()=>j),i.export(r,"json2subtitleList",()=>P),i.export(r,"getNodeStartOrEndTimeBTree",()=>U),i.export(r,"getNodeStartOrEndTime",()=>N),i.export(r,"followReadCall",()=>Y),i.export(r,"variableRepeatCall",()=>W),i.export(r,"repeatCall",()=>B),i.export(r,"repeatPlay",()=>G),i.export(r,"isLikelyChinese",()=>V),i.export(r,"extractTextFromHtml",()=>H),i.export(r,"getTextWidth",()=>z),i.export(r,"getWidthPerChar",()=>$),i.export(r,"checkMSEdgeJwt",()=>q),i.export(r,"sortByStart",()=>Z),i.export(r,"sortByStartInData",()=>K),i.export(r,"findCueInRange",()=>J),i.export(r,"findCueInArrayOn",()=>X),i.export(r,"MSEdgeTranslateToSubtitleNodesText",()=>Q),i.export(r,"formatDuration",()=>ee),i.export(r,"getFontFamilyByValue",()=>et),i.export(r,"stopPropagation",()=>er),i.export(r,"ecdictFav",()=>en),i.export(r,"ecdictFavDel",()=>ea),i.export(r,"getEcdictredInfoWithPermission",()=>eo),i.export(r,"getAzureTranslate",()=>es),i.export(r,"convertToOptions",()=>el),i.export(r,"getLangChineseName",()=>eu),i.export(r,"formSubtitleNodesFromPayload",()=>ec),i.export(r,"removeRangeInPlace",()=>ed),i.export(r,"controlPlayThenPause",()=>ef),i.export(r,"getAbsoluteTop",()=>ep),i.export(r,"biliHandleScroll",()=>eh),i.export(r,"youtubeHandleScroll",()=>em),i.export(r,"baiduPanHandleScroll",()=>eg),i.export(r,"zimu1HandleScroll",()=>ey),i.export(r,"cleanWord",()=>eb);var s=e("react-toastify"),l=e("~tools/constants"),u=e("~tools/queryVideo"),c=e("../redux/storeNoStorage"),d=e("~redux/store"),f=e("~redux/no-storage-slice"),p=e("jwt-decode"),h=e("@plasmohq/messaging"),m=e("./error"),g=e("~tools/logger"),y=e("./storages"),b=e("./sleep"),_=e("./permission"),T=e("./constants/lang");let S=(0,_.withPermissionCheck)(F,"true",chrome.i18n.getMessage("pleasePayItThenUse")),v=(0,_.withPermissionCheck)(function({nodes:e,times:t=l.VARIABLE_REPEAT_INIT_TIMES,playbackRate:r=.5,video:a,wavesurfer:o,isInlineSublist:i}){let u=0,d=0;k({video:a,wavesurfer:o,isInlineSublist:i});let p=0;p=i?a.currentTime:o.getCurrentTime();let h=G(e,p);if(void 0===h)return;u=h.start,d=h.end,i?(a.currentTime=u,a.playbackRate=r,a?.paused&&a.play()):(o.setTime(u),o.setPlaybackRate(r),o.play());let m=0;(0,s.toast).dismiss(),i?(m=a.playbackRate,(0,s.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${m}`,{autoClose:(d-u)*1e3/m}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t))):(m=o.getPlaybackRate(),(0,s.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u5171${t}\u6b21\uff0c\u901f\u5ea6${m}`,{autoClose:(d-u)*1e3/m}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t))),n=setInterval(()=>{i?a.currentTime>=d&&(a.currentTime=u,a.playbackRate=Number((r+=.1).toFixed(1)),t>0&&((0,s.toast).dismiss(),(0,s.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${a.playbackRate}`,{autoClose:(d-u)*1e3/a.playbackRate}),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(t)))):o.getCurrentTime()>=d&&(o.setTime(u),o.setPlaybackRate(Number((r+=.1).toFixed(1))),t>0&&((0,s.toast).dismiss(),(0,s.toast)(`\u6fc0\u53d1\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21\uff0c\u901f\u5ea6${o.getPlaybackRate()}`,{autoClose:(d-u)*1e3/o.getPlaybackRate()}),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(t)))),t<=1&&(m=i?a.playbackRate:o.getPlaybackRate(),k({video:a,wavesurfer:o,isInlineSublist:i}),(0,s.toast).dismiss(),(0,s.toast)(`\u6fc0\u53d1\u64ad\u653e\u7ed3\u675f\uff0c\u5f53\u524d\u901f\u5ea6${m}`,{autoClose:(d-u)*1e3/m}))},500)},"true",chrome.i18n.getMessage("pleasePayItThenUse"));function w(){try{let e=document.querySelector("#testId"),t=null;return e&&(t=e.getAttribute("data-srt-url")),t}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.getVideojsNextjsSrtUrl()"})}}async function E(e){try{let t=e?.target?.attributes["aria-pressed"]?.value;t&&("true"===t?await (0,y.storage).set(l.STORAGE_SHOWSUBTITLE,!0):await (0,y.storage).set(l.STORAGE_SHOWSUBTITLE,!1))}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.youtubeSubtitleBtnListener()"})}}function x(e=!0){try{let t=document.getElementById("ytp-caption-window-container");t&&(t.style.display=e?"none":"")}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.opYoutubeSubtitleContainer()"})}}async function I(){try{if(this?.src?.includes("youtube")){await c.storeReady,(0,c.store).dispatch((0,f.initSubtitleNodes)()),function(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");e&&(e.removeEventListener("click",E),e.addEventListener("click",E))}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.addEventListener2YoutubeSubtitleBtn()"})}}(),await (0,b.sleep)(2e3),(0,b.clickYoutubeSubtitleBtn)(),x();let e=this.clientWidth,t=this.clientHeight;(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,c.store).dispatch((0,f.setClientHeight)(t))}}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.loadeddata()"})}}async function O(){try{if(A())return;let e=this.currentTime,t=this.clientWidth,r=this.clientHeight,n=this.paused,a=this.playbackRate;e!==(0,c.store).getState().noStorager.currentT&&(0,c.store).dispatch((0,f.setCurrentTime)(e)),t!==(0,c.store).getState().noStorager.clientWidth&&(0,c.store).dispatch((0,f.setClientWidth)(t)),r!==(0,c.store).getState().noStorager.clientHeight&&(0,c.store).dispatch((0,f.setClientHeight)(r)),n!==(0,c.store).getState().noStorager.paused&&(0,c.store).dispatch((0,f.setPaused)(n)),a!==(0,c.store).getState().noStorager.mediaPlaybackRate&&(0,c.store).dispatch((0,f.setMediaPlaybackRate)(a));let i=await (0,y.storage).get(l.STORAGE_PLAYED_THEN_PAUSE);if(i&&(0,c.store).getState().noStorager.playThenPause){this.pause();let e=await (0,y.storage).get(l.STORAGE_MAX_PAUSE_TIME);o=setTimeout(()=>{this instanceof HTMLVideoElement?this.play():console.error('Invalid context: "this" is not an HTMLVideoElement'),clearTimeout(o)},1e3*parseInt(e))}(0,g.logger).log("current time is :>> ",e);let s=await (0,y.storage).get(l.STORAGE_SHOWSUBTITLELIST);s!==(0,c.store).getState().noStorager.showSubtitleList&&(0,c.store).dispatch((0,f.setShowSubtitleList)(s))}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.timeUpdate()"})}}function A(){try{let e=window,t=document,r=t.querySelector(l.BWP_VIDEO);if(r?e.videoOrNot=!1:e.videoOrNot=!0,e?.browserType?.includes("edge")&&t?.baseURI?.includes("bilibili.com")&&e?.OSType?.includes("windows")&&!e?.videoOrNot)return!0;return!1}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.checkBwpVideo()"})}}async function R(e){try{let t=window,r=document,n=(0,c.store).getState().noStorager.subtitleNodes;if(n?.length<1){(0,g.logger).error("\u6ca1\u6709\u5b57\u5e55\u6570\u636e\u65f6\uff0ckeyDown() return.");return}if(e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"){(0,g.logger).error("\u6b63\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\uff0c\u5c31\u4e0d\u548c keyDown \u4e8b\u4ef6\u51b2\u7a81\u4e86\uff01");return}if(!d.store?.getState()?.odd?.popupShow||e?.ctrlKey||e?.shiftKey||e?.altKey)return;if(e?.target&&e?.target?.id==="DraggableDict"||e?.target&&e?.target?.id===l.DRAGGABLESUBTITLELIST||e?.target&&e?.target?.id===l.NEXTJSSUBTITLELIST||e?.target&&e?.target?.id===l.YOUTUBESUBTITLELIST){e.stopPropagation();return}let a=(0,u.queryVideoElementWithBlob)("keyDown");if(!a)return;e?.code?.toLocaleLowerCase()==="pageup"&&M({nodes:n,video:a,currentTime:a.currentTime}),e?.code?.toLocaleLowerCase()==="pagedown"&&D({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleLowerCase()==="enter"&&(a.paused?a.play():a.pause());let o=await (0,y.storage).get(l.STORAGE_DISABLESHORTCUTS);if(o)return;let i=await (0,y.storage).get(l.STORAGE_ALL_SHORTCUTS),{next:p,pre:h,add:m,sub:b,videoMask:_,subMask:T,repeat:S,variableRepeat:v,followRead:w,fullMask:E,subtitle:x,zhSubtitle:I,subtitleList:O}=i;if(e?.repeat)(0,g.logger).log(`\u91cd\u590d "${e?.key?.toLocaleUpperCase()}" \u952e [\u4e8b\u4ef6\uff1akeydown]`);else{if(A()){let n=e.key;n>"0"&&n<="10"&&(n=parseInt(n));let a={id:e.target.id},o=e.repeat;t.postMessage({key:n,target:a,repeatKeyDown:o,postMsgType:l.KEY_DOWN},r.baseURI);return}if("Escape"===e.key&&(k({video:a}),await (0,y.storage).set(l.STORAGE_ALWAY_REPEAT_PLAY,!1)),e?.key?.toLocaleUpperCase()===E){let e=a.clientWidth,t=(0,c.store).getState().noStorager.maskFull;(0,c.store).dispatch((0,f.setMaskFull)(!t)),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,s.toast).dismiss(),t?(0,s.toast)("\u53d6\u6d88\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321"):(0,s.toast)("\u906e\u7f69\u5c42\u5168\u90e8\u906e\u6321")}if(e?.key?.toLocaleUpperCase()===_){let e=a.clientWidth,t=await (0,y.storage).get(l.STORAGE_SHOWVIDEOMASK);await (0,y.storage).set(l.STORAGE_SHOWVIDEOMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,s.toast).dismiss(),t?(0,s.toast)("\u9690\u85cf\u906e\u7f69\u5c42"):(0,s.toast)("\u663e\u793a\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===T){let e=a.clientWidth,t=await (0,y.storage).get(l.STORAGE_SHOWSUBTITLELISTMASK);await (0,y.storage).set(l.STORAGE_SHOWSUBTITLELISTMASK,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,s.toast).dismiss(),t?(0,s.toast)("\u9690\u85cf\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42"):(0,s.toast)("\u663e\u793a\u5b57\u5e55\u5217\u8868\u906e\u7f69\u5c42")}if(e?.key?.toLocaleUpperCase()===O){let e=a.clientWidth,t=await (0,y.storage).get(l.STORAGE_SHOWSUBTITLELIST);await (0,y.storage).set(l.STORAGE_SHOWSUBTITLELIST,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),(0,s.toast).dismiss(),t?(0,s.toast)("\u9690\u85cf\u5b57\u5e55List"):(0,s.toast)("\u663e\u793a\u5b57\u5e55List")}if(e?.key?.toLocaleUpperCase()===x){let e=a.clientWidth,t=await (0,y.storage).get(l.STORAGE_SHOWSUBTITLE);await (0,y.storage).set(l.STORAGE_SHOWSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,s.toast)("\u9690\u85cf\u5b57\u5e55"):(0,s.toast)("\u663e\u793a\u5b57\u5e55")}if(e?.key?.toLocaleUpperCase()===I){let e=a.clientWidth,t=await (0,y.storage).get(l.STORAGE_SHOWZHSUBTITLE);await (0,y.storage).set(l.STORAGE_SHOWZHSUBTITLE,!t),(0,c.store).dispatch((0,f.setClientWidth)(e)),t?(0,s.toast)("\u9690\u85cf\u4e2d\u6587\u5b57\u5e55"):(0,s.toast)("\u663e\u793a\u4e2d\u6587\u5b57\u5e55")}e?.key?.toLocaleUpperCase()===v&&W({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===S&&B({nodes:n,video:a}),e?.key?.toLocaleUpperCase()===w&&Y(n,a),e?.key?.toLocaleUpperCase()===m&&L({video:a}),e?.key?.toLocaleUpperCase()===b&&C({video:a}),e?.key?.toLocaleUpperCase()===h&&M({nodes:n,video:a,currentTime:a.currentTime}),e?.key?.toLocaleUpperCase()===p&&D({nodes:n,video:a,currentTime:a.currentTime})}}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.keyDown()"})}}function k({video:e,wavesurfer:t,isInlineSublist:r=!0}){try{(n||a||o)&&((0,s.toast)(`\u53d6\u6d88 \u91cd\u590d\u64ad\u653e \u6216 \u53d8\u901f\u64ad\u653e`),n&&clearInterval(n),a&&clearTimeout(a),o&&clearTimeout(o),r?(e.playbackRate=1,e.paused&&e.play(),(0,c.store).dispatch((0,f.setRepeatTimes)(l.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimes)(l.VARIABLE_REPEAT_UI_INIT_TIMES))):(t&&t.setPlaybackRate(1),t&&t.play(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(l.REPEAT_UI_INIT_TIMES)),(0,c.store).dispatch((0,f.setVariableRepeatTimesForWavesurfer)(l.VARIABLE_REPEAT_UI_INIT_TIMES))),n=void 0,a=void 0)}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.clearIntervalAndTimeOut()"})}}function M({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{preNodeStartTime:o}=U(e,r);k({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,s.toast).dismiss(),(0,s.toast)("\u4e0a\u4e00\u53e5")}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.preSentence()"})}}function D({nodes:e,video:t,currentTime:r,wavesurfer:n,isInlineSublist:a=!0}){try{let{nextNodeStartTime:o}=U(e,r);k({video:t,wavesurfer:n,isInlineSublist:a}),a?t&&(t.currentTime=o,t.paused&&t.play()):n&&(n.setTime(o),n.play()),(0,s.toast).dismiss(),(0,s.toast)("\u4e0b\u4e00\u53e5")}catch(e){(0,m.handleError)({error:e,msgToShow:"tools.subtitle.nextSentence()"})}}function L({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate<10?(e.playbackRate=Number((e.playbackRate+.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,s.toast).dismiss(),(0,s.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,s.toast).dismiss(),e&&(0,s.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`)):r&&r?.getPlaybackRate()<10?(r.setPlaybackRate(Number((r.getPlaybackRate()+.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,s.toast).dismiss(),(0,s.toast)(`\u64ad\u653e\u901f\u5ea6 +0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,s.toast).dismiss(),r&&(0,s.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function C({video:e,isInlineSublist:t=!0,wavesurfer:r}){t?e&&e?.playbackRate>.2?(e.playbackRate=Number((e.playbackRate-.1).toFixed(1)),(0,c.store).dispatch((0,f.setMediaPlaybackRate)(e.playbackRate)),(0,s.toast).dismiss(),(0,s.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${e.playbackRate}`)):((0,s.toast).dismiss(),e&&(0,s.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${e.playbackRate}\uff0c\u4e0d\u80fd\u518d\u51cf\u4e86\uff01`)):r&&r?.getPlaybackRate()>.2?(r.setPlaybackRate(Number((r.getPlaybackRate()-.1).toFixed(1))),(0,c.store).dispatch((0,f.setMediaPlaybackRateForWavesurfer)(r.getPlaybackRate())),(0,s.toast).dismiss(),(0,s.toast)(`\u64ad\u653e\u901f\u5ea6 -0.1 \u5f53\u524d\u64ad\u653e\u901f\u5ea6\uff1a${r.getPlaybackRate()}`)):((0,s.toast).dismiss(),r&&(0,s.toast)(`\u5f53\u524d\u64ad\u653e\u901f\u5ea6${r.getPlaybackRate()}\uff0c\u4e0d\u80fd\u518d\u52a0\u4e86\uff01`))}function j(e){if(!e.includes("https")){let t=new URL(e);return`https://${t.host}${t.pathname}${t.search}`}return e}function P(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r],a=n.content.replace(/\n/g," "),o={type:"cue",data:{start:1e3*n.from,end:1e3*n.to,text:a}};t.push(o)}return t}function U(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],s=a.data.start/1e3,l=o.data.start/1e3,u=i.data.start/1e3,c=0,d=e.length-1,f=0;for(;c<=d;){f++;let i=c+Math.floor((d-c)/2),p=i-1,h=i+1,m=p<0?a:e[p],y=h>=e.length?o:e[h],b=e[i],_=m.data.start/1e3,T=y.data.start/1e3,S=b.data.start/1e3;if(S<=t&&t<=T)return r=_,n=T,(0,g.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(t<=S?d=i-1:t>=T&&(c=i+1),t<=s)return r=s,n=s,(0,g.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n};if(l<=t)return r=u,n=l,(0,g.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}return(0,g.logger).log(`getNodeStartOrEndTimeBTree \u67e5\u627e\u6b21\u6570: ${f}`),{preNodeStartTime:r,nextNodeStartTime:n}}function N(e,t){let r=0,n=0;if(0===e.length)return{preNodeStartTime:r,nextNodeStartTime:n};let a=e[0],o=e[e.length-1],i=e[e.length-2],s=a.data.start/1e3,l=o.data.start/1e3,u=i.data.start/1e3;for(let i=0;i<e.length;i++){let c=i-1,d=i+1,f=c<0?a:e[c],p=d>=e.length?o:e[d],h=e[i],m=f.data.start/1e3,g=p.data.start/1e3,y=h.data.start/1e3;if(y<=t&&t<=g){r=m,n=g;break}if(t<=s)return{preNodeStartTime:r=s,nextNodeStartTime:n=s};if(l<=t){r=u,n=l;break}}return{preNodeStartTime:r,nextNodeStartTime:n}}async function Y(e,t){k({video:t});let r=await (0,y.storage).get(l.STORAGE_FOLLOW_READ_TIMES),o=await (0,y.storage).get(l.STORAGE_FOLLOW_READ_LENGTH),i=G(e,t.currentTime);if(void 0===i)return;let{start:u,end:c}=i;t.currentTime=u,t?.paused&&t.play();let d=parseInt(r),f=parseFloat(o);(0,s.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u5171${d}\u6b21`,{autoClose:(c-u)*1e3/t.playbackRate}),n=setInterval(()=>{t.currentTime>=c&&(t.currentTime=u,t.pause(),(0,s.toast)(`\u8bf7\u8ddf\u8bfb\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3*f/t.playbackRate}),a=setTimeout(()=>{t.play(),d--,clearTimeout(a),d>0&&(0,s.toast)(`\u64ad\u653e\u5f53\u524d\u8ddf\u8bfb\u53e5\uff0c\u8fd8\u5269 ${d} \u6b21`,{autoClose:(c-u)*1e3/t.playbackRate})},(c-u)*1e3*f/t.playbackRate)),d<=0&&k({video:t})},500)}function W({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){v({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}async function F({nodes:e,times:t=l.REPEAT_INIT_TIMES,video:r,wavesurfer:a,isInlineSublist:o}){let i=0,u=0;k({video:r,wavesurfer:a,isInlineSublist:o}),t=await (0,y.storage).get(l.STORAGE_REPLAY_TIMES)||l.REPEAT_INIT_TIMES;let d=await (0,y.storage).get(l.STORAGE_ALWAY_REPEAT_PLAY)||!1,p=0;p=o?r.currentTime:a.getCurrentTime();let h=G(e,p);if(void 0===h)return;i=h.start,u=h.end,o?(r.currentTime=i,r?.paused&&r.play()):(a.setTime(i),a.play());let m=0;(0,s.toast).dismiss(),o?(m=r.playbackRate,(0,c.store).dispatch((0,f.setRepeatTimes)(t))):(m=a.getPlaybackRate(),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t))),(0,s.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u5171${t}\u6b21`,{autoClose:(u-i)*1e3/m}),n=setInterval(()=>{if(t<=1&&d&&r.currentTime>=u){k({video:r,wavesurfer:a,isInlineSublist:o});return}o?r.currentTime>=u&&((0,s.toast).dismiss(),(0,s.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/r.playbackRate}),(0,c.store).dispatch((0,f.setRepeatTimes)(t)),r.currentTime=i):a.getCurrentTime()>=u&&((0,s.toast).dismiss(),(0,s.toast)(`\u91cd\u590d\u64ad\u653e\uff0c\u8fd8\u5269 ${t-=1} \u6b21`,{autoClose:(u-i)*1e3/a.getPlaybackRate()}),(0,c.store).dispatch((0,f.setRepeatTimesForWavesurfer)(t)),a.setTime(i)),t<=1&&!d&&k({video:r,wavesurfer:a,isInlineSublist:o})},500)}async function B({nodes:e,video:t,wavesurfer:r,isInlineSublist:n=!0}){await S({nodes:e,video:t,wavesurfer:r,isInlineSublist:n})}function G(e,t){let{cue:r,index:n}=J(e,t);if(-1!==n)return{start:r.data.start/1e3,end:r.data.end/1e3}}function V(e){let t=(e.match(/[\u4e00-\u9fff]/g)||[]).length,r=(e.match(/[a-zA-Z]/g)||[]).length;return t>r}function H(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText}function z(e,t,r,n){let a=document.createElement("span");a.style.lineHeight=l.LINE_HEIGHT,a.style.fontSize=t,a.style.fontWeight=n,a.style.fontFamily=r,a.style.whiteSpace="nowrap",a.style.visibility="hidden",a.style.position="absolute",a.textContent=e,document.body.appendChild(a);let o=a.offsetWidth,i=a.offsetHeight;return document.body.removeChild(a),{widthText:o,heightText:i}}function $(e="21px",t="21px",r=l.FONT_SANS){let n,a;let o="abcdefghijklmnopqrstuvwxyz",i="\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341";n=z(o,e,r,l.FONT_WEIGHT);let s=n.widthText/o.length,u=n.heightText;a=z(i,t,r,l.FONT_WEIGHT);let c=a.widthText/i.length,d=a.heightText;return{widthPerEnChar:s,widthPerZhChar:c,heightPerEnChar:u,heightPerZhChar:d}}function q(e){if(!e)return!1;let t={region:"","subscription-id":"","product-id":"","cognitive-services-endpoint":"","azure-resource-id":"",scope:"",aud:"",exp:0,iss:""};return e.length>1?t=(0,p.jwtDecode)(e):t.exp=0,!(t?.exp<Date.now()/1e3)}function Z(e){return e.sort((e,t)=>e.start<t.start?-1:e.start>t.start?1:0)}function K(e){return e.sort((e,t)=>e.data.start<t.data.start?-1:e.data.start>t.data.start?1:0)}function J(e,t){let r=0,n=e.length-1,a=null,o=-1,i=0;for(;r<=n;){i++;let s=r+Math.floor((n-r)/2),l=e[s],u=l.data.start/1e3,c=l.data.end/1e3;u<=t&&c>=t?(a=l,o=s,n=s-1):u>t?n=s-1:r=s+1}return a&&a.data&&a.data.text?((0,g.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:o}):((0,g.logger).log(`\u67e5\u627e\u6b21\u6570: ${i}`),{cue:a,index:-1})}function X(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(n.data.start/1e3<=t&&n.data.end/1e3>=t)return{cue:n,index:r}}return{cue:null,index:-1}}function Q(e,t){if(t.length!==e.length)return!1;let r=[];for(let n=0;n<t.length;n++){let a=t[n],o=e[n].translations[0].text,i=a.data.text,s={type:"cue",data:{start:0,end:0,index:0,text:"",zh_text:""}};s.data.start=a.data.start,s.data.end=a.data.end,s.data.index=a.data.index,a.data?.words?.length>0&&(s.data.words=[...a.data.words]),V(i)?(s.data.text=o,s.data.zh_text=i):(s.data.text=i,s.data.zh_text=o),r.push(s)}return r}function ee(e){let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.round(e%60);return t>99?[t,r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":"):[t.toString().padStart(2,"0"),r.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function et(e){let t=l.SUBTITLE_FONT_FAMILY;for(let r=0;r<t.length;r++){let n=t[r];if(n.value===e)return n}}function er(e){d.store?.getState()?.odd?.popupShow&&(document?.URL?.includes("youtube.com")&&(37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&e.stopPropagation(),R(e),32!==e.keyCode||e?.target?.id===l.YOUTUBESUBTITLELIST||e?.target?.id==="DraggableDict"||e?.target?.id===l.DRAGGABLESUBTITLELIST||e?.target?.id===l.NEXTJSSUBTITLELIST||e?.target?.tagName.toLowerCase()==="input"||e?.target?.id.toLowerCase().includes("edit")||e?.target?.tagName.toLowerCase()==="textarea"||e.preventDefault()),(33===e.keyCode||34===e.keyCode)&&e.preventDefault())}async function en({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavMsg",word:e}});return t?.result?t.result:void 0}async function ea({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"ecdictFavDelMsg",word:e}});return t?.result?t.result:void 0}let eo=(0,_.withPermissionCheck)(ei,"true","\u8bf7\u5f00\u901a\u4f1a\u5458\u540e\u4f7f\u7528\u5212\u8bcd\u8bcd\u5178\u529f\u80fd");async function ei({word:e}){let t=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"getEcdictredInfo",word:e}});return t?.result?t.result:void 0}async function es(e,t,r,n){try{let a=[];for(let r=0;r<e.length;r+=400){let n=e.slice(r,r+400),o=await (0,h.sendToBackground)({name:"subtitle-msg",body:{msgType:"azureTranslate",q:n,target:t}});if(o?.translations&&Array.isArray(o.translations))a.push(...o.translations);else throw console.error("Invalid response format:",o.error),Error(o.error)}if(a?.length>0){let e=Q(a,r);e?(await (0,b.sleep)(300),n?(0,c.store).dispatch((0,f.setSubtitleNodes)(e)):(0,c.store).dispatch((0,f.setTTSSubtitleNodes)(e))):((0,s.toast).dismiss(),(0,s.toast).error(chrome.i18n.getMessage("translateDataIsNotPairedContactAdministrator"),{autoClose:18e4}))}else throw Error("Error in getAzureTranslate\uff0ctranslations is empty")}catch(e){(0,s.toast).dismiss(),(0,s.toast).error(`code:${e?.code},message:${e?.message}`,{autoClose:18e4})}}function el(e){let t=e.reduce((e,t)=>{let r=t.locale;return e.has(r)||e.set(r,{value:r,label:r,children:[]}),e.get(r)?.children?.push({value:t.shortName,label:`${t.localName} ${t.localeName} ${1!==t.gender?"Male":"Female"} ${t.wordsPerMinute}`}),e},new Map);return Array.from(t.values())}function eu(e){return T.LANG_MAP[e]||"\u672a\u77e5\u8bed\u79cd"}function ec(e){let t=[],r=K(e),n=0;return r.forEach(e=>{if(e?.data?.text&&e?.data?.text.includes("\n")){let r=e.data.text;e.data.text="";let a=r.split("\n"),o={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};a.forEach(t=>{let r=H(t);V(r)?(o=e).data.zh_text=r:(o=e).data.text=r}),o.data.index=n,t.push(o)}else e.data.index=n,t.push(e);n+=1}),t}function ed(e,t,r){if(t<0||r>=e.length||t>r)throw Error("\u65e0\u6548\u7684\u7d22\u5f15\u8303\u56f4");return e.splice(t,r-t+1),e}function ef({setStoreIndex:e,indexFromFind:t,indexFromStore:r,setPlayThenPauseOrNot:n=!0}){try{t!==r&&-1!==t?(t>=0&&-1===r?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0)),(0,c.store).dispatch(e(t))):t===r&&!1!==(0,c.store).getState().noStorager.playThenPause?n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1)):-1===t&&r>=0?((0,c.store).dispatch(e(-1)),n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!0))):-1===t&&t===r&&n&&(0,c.store).dispatch((0,f.setPlayThenPause)(!1))}catch(e){(0,m.handleError)({error:e,msgToShow:"contents.storeCore.controlPlayThenPause"})}}function ep(e){let t=e.getBoundingClientRect(),r=document?.documentElement?.scrollTop||document?.body?.scrollTop;return t.top+r}function eh(){let e,t;let r=document.querySelector("#danmukuBox .danmaku-wrap");if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function em(){let e,t;let r=(0,u.queryYoutubeItems)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eg(){let e,t;let r=(0,u.queryBaiduPanRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function ey(){let e,t;let r=(0,u.queryRightSubtitleListContainer)();if(r){let n=r.getBoundingClientRect();n&&((0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(n.left)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(n.top)),e=n.left,t=n.top)}else(0,c.store).dispatch((0,f.setDraggableSubtitleListXInStore)(e)),(0,c.store).dispatch((0,f.setDraggableSubtitleListYInStore)(t));return{lastX:e,lastY:t}}function eb(e){return"string"!=typeof e?e:e.replace(/^[^a-zA-Z]*(.*?)[^a-zA-Z]*$/,"$1")}},{"react-toastify":"h8uoK","~tools/constants":"aHxh8","~tools/queryVideo":"en60F","../redux/storeNoStorage":"3Vwjp","~redux/store":"4ACRl","~redux/no-storage-slice":"8bwie","jwt-decode":"du0IS","@plasmohq/messaging":"bq7mF","./error":"2MpWC","~tools/logger":"jKVtu","./storages":"68W9f","./sleep":"667zm","./permission":"8482s","./constants/lang":"lWvef","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],aHxh8:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"SUBTITLE_LIST_PADDING_SIZE",()=>a),n.export(r,"SUBTITLE_LIST_WIDTH",()=>o),n.export(r,"DEFAULT_ROW_HEIGHT",()=>i),n.export(r,"SUBTITLE_LIST_TTS_TEXT_WIDTH",()=>s),n.export(r,"SUBTITLE_LIST_HEIGHT",()=>l),n.export(r,"DRAGGABLE_HANDLE_HEIGHT",()=>u),n.export(r,"CLOSE_SVG_REM_COUNT",()=>c),n.export(r,"SUBTITLE_LIST_ROW_HEIGHT",()=>d),n.export(r,"BWP_VIDEO",()=>f),n.export(r,"VIDEO_PAUSE",()=>p),n.export(r,"KEY_DOWN",()=>h),n.export(r,"CLICK_SUBTITLE",()=>m),n.export(r,"SENT_BILIBILI_AI_SUBTITLE_URL",()=>g),n.export(r,"SENT_YOUTUBE_SUBTITLE_API_URL",()=>y),n.export(r,"SENT_BAIDUPAN_SUBTITLE_API_URL",()=>b),n.export(r,"INIT_SUBTITLENODES",()=>_),n.export(r,"NO_SUBTITLENODES_DATA",()=>T),n.export(r,"FILTER_SUBTITLE_IN_WEBREQUEST",()=>S),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_1",()=>v),n.export(r,"FILTER_SUBTITLE_URL_IN_BAIDUPAN_2",()=>w),n.export(r,"FILTER_SUBTITLE_IN_YOUTUBE_URL",()=>E),n.export(r,"NEXT",()=>x),n.export(r,"PRE",()=>I),n.export(r,"ADD",()=>O),n.export(r,"SUB",()=>A),n.export(r,"VIDEO_MASK",()=>R),n.export(r,"SUB_MASK",()=>k),n.export(r,"REPEAT",()=>M),n.export(r,"VARIABLE_REPEAT",()=>D),n.export(r,"FOLLOW_READ",()=>L),n.export(r,"FULL_MASK",()=>C),n.export(r,"SUBTITLE_LIST",()=>j),n.export(r,"SUBTITLE",()=>P),n.export(r,"ZHSUBTITLE",()=>U),n.export(r,"DEFAULT_MAX_PAUSE_TIME",()=>N),n.export(r,"STORAGE_RANDOMUUID",()=>Y),n.export(r,"STORAGE_ALWAY_REPEAT_PLAY",()=>W),n.export(r,"STORAGE_PLAYED_THEN_PAUSE",()=>F),n.export(r,"STORAGE_SHOW_EN_DEFINITION",()=>B),n.export(r,"STORAGE_REPLAY_TIMES",()=>G),n.export(r,"STORAGE_MAX_PAUSE_TIME",()=>V),n.export(r,"STORAGE_SUBTITLELIST_TABS_KEY",()=>H),n.export(r,"STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW",()=>z),n.export(r,"STORAGE_SUBTITLELIST_TABS_SCROLL",()=>$),n.export(r,"STORAGE_SHOWSUBTITLE",()=>q),n.export(r,"STORAGE_SHOWZHSUBTITLE",()=>Z),n.export(r,"STORAGE_SHOWSUBTITLELIST",()=>K),n.export(r,"STORAGE_SHOWTTSSUBTITLELIST",()=>J),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTX",()=>X),n.export(r,"STORAGE_DRAGGABLESUBTITLELISTY",()=>Q),n.export(r,"STORAGE_BILIBILI_TRANSLATE_SELECT_LANG",()=>ee),n.export(r,"STORAGE_SHOWVIDEOMASK",()=>et),n.export(r,"STORAGE_SHOWSUBTITLELISTMASK",()=>er),n.export(r,"STORAGE_SHOWFLOATBALL",()=>en),n.export(r,"STORAGE_DISABLESHORTCUTS",()=>ea),n.export(r,"STORAGE_ALL_SHORTCUTS",()=>eo),n.export(r,"STORAGE_VIDEO_MASK_HEIGHT",()=>ei),n.export(r,"STORAGE_DEFAULT_VIDEO_MASK_HEIGHT",()=>es),n.export(r,"STORAGE_FOLLOW_READ_TIMES",()=>el),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_TIMES",()=>eu),n.export(r,"STORAGE_FOLLOW_READ_LENGTH",()=>ec),n.export(r,"STORAGE_DEFAULT_FOLLOW_READ_LENGTH",()=>ed),n.export(r,"STORAGE_POST_IDLETIME_ACTIVETIME_LOCK",()=>ef),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME",()=>ep),n.export(r,"STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME",()=>eh),n.export(r,"STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME",()=>em),n.export(r,"STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME",()=>eg),n.export(r,"STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME",()=>ey),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER",()=>eb),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE",()=>e_),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI",()=>eT),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU",()=>eS),n.export(r,"STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN",()=>ev),n.export(r,"STORAGE_AZURE_KEY_CODE",()=>ew),n.export(r,"STORAGE_AZURE_KEY_AREA",()=>eE),n.export(r,"STORAGE_FAVORITES_DICTS",()=>ex),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_SHOW",()=>eI),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_SHOW",()=>eO),n.export(r,"STORAGE_MASK_BACKDROP_BLUR_COLOR",()=>eA),n.export(r,"STORAGE_DEFAULT_MASK_BACKDROP_BLUR_COLOR",()=>eR),n.export(r,"STORAGE_USER_INFO",()=>ek),n.export(r,"IDLETIME_STORAGE_DEFAULT_VALUE",()=>eM),n.export(r,"FAVORITES_DICTS_DEFAULT_VALUE",()=>eD),n.export(r,"ALL_SHORT_CUTS",()=>eL),n.export(r,"COLOR_PRIMARY",()=>eC),n.export(r,"FONT_SIZE",()=>ej),n.export(r,"FONT_SANS",()=>eP),n.export(r,"FONT_SERIF",()=>eU),n.export(r,"FONT_MONO",()=>eN),n.export(r,"SUBTITLE_FONT_FAMILY",()=>eY),n.export(r,"FONT_WEIGHT",()=>eW),n.export(r,"LINE_HEIGHT",()=>eF),n.export(r,"ZIMU1_USESTORAGE_SYNC_JWT",()=>eB),n.export(r,"ZIMU1_USESTORAGE_SYNC_HEADIMGURL",()=>eG),n.export(r,"ZIMU1_USESTORAGE_SYNC_NICKNAME",()=>eV),n.export(r,"ZIMU1_USESTORAGE_SYNC_PAID",()=>eH),n.export(r,"DRAGGABLE_NODE_CONTAINER_WIDTH",()=>ez),n.export(r,"DRAGGABLE_NODE_CONTAINER_HEIGHT",()=>e$),n.export(r,"DRAGGABLE_NODE_CONTAINER_X",()=>eq),n.export(r,"DRAGGABLE_NODE_CONTAINER_Y",()=>eZ),n.export(r,"IDLE_TIME_OUT",()=>eK),n.export(r,"DARK_BG_COLOR",()=>eJ),n.export(r,"REPEAT_INIT_TIMES",()=>eX),n.export(r,"REPEAT_UI_INIT_TIMES",()=>eQ),n.export(r,"VARIABLE_REPEAT_INIT_TIMES",()=>e0),n.export(r,"VARIABLE_REPEAT_UI_INIT_TIMES",()=>e1),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL",()=>e2),n.export(r,"YOUTUBE_SUBTITLELIST_WATCH_URL_EMBED",()=>e3),n.export(r,"ZIMU1_SUBTITLELIST_WATCH_URL",()=>e4),n.export(r,"CASCADER_OPTION_MIX",()=>e6),n.export(r,"CASCADER_OPTION_ZH",()=>e5),n.export(r,"CASCADER_OPTION_FOREIGN",()=>e8),n.export(r,"STORAGE_SUBTITLE_FOREIGN_FONTSIZE",()=>e9),n.export(r,"STORAGE_SUBTITLE_ZH_FONTSIZE",()=>e7),n.export(r,"SUBTITLE_FOREIGN_FONT_SIZE",()=>te),n.export(r,"STORAGE_SUBTITLELIST_FOREIGN_FONTSIZE",()=>tt),n.export(r,"STORAGE_SUBTITLELIST_ZH_FONTSIZE",()=>tr),n.export(r,"STORAGE_ARTICLE_FONTSIZE",()=>tn),n.export(r,"STORAGE_SUBTITLE_FONT_FAMILY",()=>ta),n.export(r,"STORAGE_SUBTITLE_NO",()=>to),n.export(r,"STORAGE_SUBTITLE_NO_CURRENT_TIME",()=>ti),n.export(r,"BILIBILI_COM",()=>ts),n.export(r,"YOUTUBE_COM",()=>tl),n.export(r,"ZIMU1_COM",()=>tu),n.export(r,"PAN_BAIDU_COM",()=>tc),n.export(r,"PAN_BAIDU_COM_VIDEO",()=>td),n.export(r,"YOUTUBESUBTITLELIST",()=>tf),n.export(r,"NEXTJSSUBTITLELIST",()=>tp),n.export(r,"BILIBILISUBTITLESWITCH",()=>th),n.export(r,"YOUTUBESUBTITLESWITCH",()=>tm),n.export(r,"BAIDUPANSUBTITLESWITCH",()=>tg),n.export(r,"DRAGGABLESUBTITLELIST",()=>ty),n.export(r,"YOUTUBE_VALID_ORIGINS",()=>tb),n.export(r,"BILIBILI_VALID_ORIGINS",()=>t_),n.export(r,"ZIMU1_VALID_ORIGINS",()=>tT),n.export(r,"BAIDUPAN_VALID_ORIGINS",()=>tS),n.export(r,"JWT_IS_FALSE",()=>tv);let a=1,o=300,i=80,s=600,l=500,u=16,c=2,d=36,f="bwp-video",p="VIDEO_PAUSE",h="KEY_DOWN",m="CLICK_SUBTITLE",g="SENT_BILIBILI_AI_SUBTITLE_URL",y="SENT_YOUTUBE_SUBTITLE_API_URL",b="SENT_BAIDUPAN_SUBTITLE_API_URL",_="INIT_SUBTITLENODES",T="NO_SUBTITLENODES_DATA",S="api.bilibili.com/x/player/wbi/v2",v="/api/streaming",w="M3U8_SUBTITLE_SRT",E=".com/api/timedtext",x="K",I="J",O="I",A="U",R="H",k="L",M="R",D="Q",L="F",C="A",j="V",P="S",U="C",N=20,Y="storage_randomUUID",W="alwaysRepeatPlay",F="playedThenPause",B="showEnDefinition",G="storage_replay_times",V="storage_max_pause_time",H="subtitlelistTabsKey",z="subtitlelistLanguageModeToShow",$="subtitlelistTabsScroll",q="showSubtitle",Z="showZhSubtitle",K="showSubtitleList",J="showTTSSubtitleList",X="draggableSubtitleListX",Q="draggableSubtitleListY",ee="bilibiliTranslateSelectLang",et="showVideoMask",er="showSubtitleListMask",en="showFloatBall",ea="disableShortcuts",eo="allShortcuts",ei="videoMaskHeight",es=80,el="followReadTimes",eu=3,ec="followReadLength",ed=1.5,ef="storage_post_idletime_activetime_lock",ep="idleTimeVideoActivetime",eh="idleTimeDraggableSubListActivetime",em="idleTimeNextjsSubListActivetime",eg="idleTimeDraggableDictActivetime",ey="idleTimeYoutubeSubListActivetime",eb="idleTimeVideoActivetimeOther",e_="idleTimeVideoActivetimeYoutube",eT="idleTimeVideoActivetimeBilibili",eS="idleTimeVideoActivetime1zimu",ev="idleTimeVideoActivetimeBaidupan",ew="storage_azure_key_code",eE="storage_azure_key_area",ex="storage_favorites_dicts",eI="maskBackdropBlurPxValue",eO=!0,eA="maskBackdropBlurColor",eR="rgba(255, 255, 255, 0.3)",ek="storage_user_info",eM={default:""},eD=[],eL={next:x,pre:I,add:O,sub:A,videoMask:R,subMask:k,repeat:M,variableRepeat:D,followRead:L,fullMask:C,subtitleList:j,subtitle:P,zhSubtitle:U},eC="#16a34a",ej="21px",eP='ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',eU='ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',eN='ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',eY=[{value:1,label:"font-sans",origin:eP},{value:2,label:"font-serif",origin:eU},{value:3,label:"font-mono",origin:eN}],eW="700",eF="1.25",eB="zimu1_useStorage_sync_jwt",eG="zimu1_useStorage_sync_headimgurl",eV="zimu1_useStorage_sync_nickname",eH="zimu1_useStorage_sync_paid",ez=1e3,e$=480,eq=150,eZ=150,eK=30,eJ="#1e1e1e",eX=5,eQ=eX+1,e0=10,e1=e0+1,e2="youtube.com/watch",e3="youtube.com/embed",e4="1zimu.com/player",e6="mix",e5="zh",e8="foreign",e9="storageSubtitleForeignFontsize",e7="storageSubtitleZhFontsize",te=16,tt="storageSubtitlelistForeignFontsize",tr="storageSubtitlelistZhFontsize",tn="storageArticleFontsize",ta="storage_subtitle_font_family",to="storage_subtitle_no",ti="storage_subtitle_no_current_time",ts="bilibili.com",tl="youtube.com",tu="1zimu.com",tc="pan.baidu.com",td="pan.baidu.com/pfile/video",tf="YoutubeSubtitleList",tp="NextjsSubtitleList",th="BilibiliSubtitleSwitch",tm="YoutubeSubtitleSwitch",tg="BaidupanSubtitleSwitch",ty="DraggableSubtitleList",tb=["https://www.youtube.com","https://youtube.com"],t_=["https://www.bilibili.com","https://bilibili.com"],tT=["https://www.1zimu.com","https://1zimu.com"],tS=["https://pan.baidu.com/pfile/video","https://pan.baidu.com"],tv="jwt is false"},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],en60F:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"getBrowserInfo",()=>l),n.export(r,"queryVideoElementWithBlob2",()=>u),n.export(r,"queryVideoElementWithBlob",()=>c),n.export(r,"queryDanmukuBoxInBilibili",()=>d),n.export(r,"queryRightContainerInner",()=>f),n.export(r,"queryTedCurTime",()=>p),n.export(r,"queryUpPanelContainer",()=>h),n.export(r,"queryBaiduPanVideo",()=>m),n.export(r,"queryAliyundriveVideoPreviewer",()=>g),n.export(r,"queryAliyundriveVideoPreviewerContainer",()=>y),n.export(r,"queryBaidupanVideoControl",()=>b),n.export(r,"queryBilibiliVideoControl",()=>_),n.export(r,"queryYoutubeVideoControl",()=>T),n.export(r,"queryBpxPlayerControlBottomLeft",()=>S),n.export(r,"queryYoutubeYtp_left_controls",()=>v),n.export(r,"queryYoutubeItems",()=>w),n.export(r,"queryYoutubeItemsWidth",()=>E),n.export(r,"queryBaiduPanRightSubtitleListContainer",()=>x),n.export(r,"queryBaiduPanRightSubtitleListContainerWidth",()=>I),n.export(r,"queryRightSubtitleListContainer",()=>O),n.export(r,"queryRightSubtitleListContainerWidth",()=>A),n.export(r,"getBilibiliVideoPageRightContainerInnerWidth",()=>R),n.export(r,"getWindow1rem",()=>k);var a=e("ua-parser-js"),o=e("~tools/constants"),i=e("~tools/subtitle"),s=e("~tools/types");function l(){return new a.UAParser().getResult()}function u(e){return document.querySelector(o.BWP_VIDEO)}function c(e){try{let e,t;let r=window,n=document;if(r.browserType,r.OSType,(0,i.checkBwpVideo)()?(e=n.querySelectorAll(o.BWP_VIDEO),t=s.BROWSER_TYPE.EDGE):(e=n.querySelectorAll("video"),t=s.BROWSER_TYPE.CHROME),e?.length>0)for(let r=0;r<e.length;r++){let n=e[r];if(t===s.BROWSER_TYPE.CHROME){if(n?.src.includes("blob:")||n?.src.includes("https:"))return n}else if(t===s.BROWSER_TYPE.EDGE&&(n?.attributes[0]?.value.includes("blob:")||n?.attributes[0]?.value.includes("https:")))return n}return null}catch(e){console.error("catched error in tools.queryVideo :>> ",e)}}function d(){let e=document.querySelector("#danmukuBox");return e}function f(){let e=document.querySelector(".right-container-inner.scroll-sticky");return e}function p(){let e=document.querySelector("#oldfanfollowEntry");return e}function h(){let e=document.querySelector("#oldfanfollowEntry");return e}function m(){let e=document.querySelectorAll('video[id^="vjs_video_"][id$="_html5_api"]');if(e.length>0)for(let t=0;t<e.length;t++){let r=e[t];if(!r.id.includes("vjs_video_3_html5_api"))return r}return null}function g(){let e=document.querySelector('div[class^="video-previewer"]');return e}function y(){let e=document.querySelector('div[class^="video-previewer-container"]');return e}function b(){let e=document.querySelector(".vp-video__control-bar--setup");return e}function _(){let e=document.querySelector(".bpx-player-control-bottom-right");return e}function T(){let e=document.querySelector(".ytp-right-controls");return e}function S(){let e=document.querySelector(".bpx-player-ctrl-btn.bpx-player-ctrl-time");return e}function v(){let e=document.querySelector(".ytp-left-controls");return e}function w(){let e=document.querySelector("#secondary-inner");return e}function E(){let e=document.querySelector("#secondary-inner");return e?.clientWidth}function x(){let e=document.querySelector(".vp-tabs");return e}function I(){let e=document.querySelector(".vp-tabs");return e?.clientWidth}function O(){let e=document.querySelector("#subtitleListContainer");return e}function A(){let e=document.querySelector("#subtitleListContainer");return e?.clientWidth}function R(){let e=document.querySelector("#danmukuBox");return e?.clientWidth}function k(){try{let e=parseInt(getComputedStyle(document.documentElement).fontSize);if(!e)return 16;return e}catch(e){console.error("catched error in tools.queryVideo.getWindow1rem :>> ",e)}}},{"ua-parser-js":"jMsWN","~tools/constants":"aHxh8","~tools/subtitle":"lEjEC","~tools/types":"jJR4v","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],jMsWN:[function(t,r,n){!function(t,a){var o="function",i="undefined",s="object",l="string",u="major",c="model",d="name",f="type",p="vendor",h="version",m="architecture",g="console",y="mobile",b="tablet",_="smarttv",T="wearable",S="embedded",v="Amazon",w="Apple",E="ASUS",x="BlackBerry",I="Browser",O="Chrome",A="Firefox",R="Google",k="Honor",M="Huawei",D="Microsoft",L="Motorola",C="Nvidia",j="OnePlus",P="Opera",U="OPPO",N="Samsung",Y="Sharp",W="Sony",F="Xiaomi",B="Zebra",G="Facebook",V="Chromium OS",H="Mac OS",z=" Browser",$=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},q=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Z=function(e,t){return typeof e===l&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},J=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,500)},X=function(e,t){for(var r,n,i,l,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!u&&f[r];)if(u=f[r++].exec(e))for(i=0;i<p.length;i++)c=u[++n],typeof(l=p[i])===s&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):a:this[l[0]]=c?l[1].call(this,c,l[2]):a:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):a):this[l]=c||a;d+=2}},Q=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Z(t[r][n],e))return"?"===r?a:r}else if(Z(t[r],e))return"?"===r?a:r;return t.hasOwnProperty("*")?t["*"]:e},ee={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,h],[/opios[\/ ]+([\w\.]+)/i],[h,[d,P+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[d,P+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[d,P]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[d,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[d,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[d,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[d,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[d,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+I],h],[/\bfocus\/([\w\.]+)/i],[h,[d,A+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[d,P+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[d,P+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[d,"MIUI"+z]],[/fxios\/([\w\.-]+)/i],[h,[d,A]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[d,"360"]],[/\b(qq)\/([\w\.]+)/i],[[d,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1"+z],h],[/samsungbrowser\/([\w\.]+)/i],[h,[d,N+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[d,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[d],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,G],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[d,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,O+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[d,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[h,Q,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[d,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[d,A+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[d,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[d,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[m,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[m,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[m,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[m,/ower/,"",K]],[/ sun4\w[;\)]/i],[[m,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[m,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,N],[f,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,N],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,w],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,w],[f,b]],[/(macintosh);/i],[c,[p,w]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,Y],[f,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[p,k],[f,b]],[/honor([-\w ]+)[;\)]/i],[c,[p,k],[f,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[c,[p,M],[f,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,M],[f,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[p,F],[f,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[p,F],[f,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,U],[f,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[p,Q,{OnePlus:["304","403","203"],"*":U}],[f,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,L],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,L],[f,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,"LG"],[f,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,"LG"],[f,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[p,"Lenovo"],[f,b]],[/(nokia) (t[12][01])/i],[p,c,[f,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[c,/_/g," "],[f,y],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[p,R],[f,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,R],[f,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,W],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,W],[f,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,j],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,v],[f,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,v],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[f,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,x],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,E],[f,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,E],[f,y]],[/(nexus 9)/i],[c,[p,"HTC"],[f,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[f,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[p,"TCL"],[f,b]],[/(itel) ((\w+))/i],[[p,K],c,[f,Q,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[f,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[p,"Ulefone"],[f,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[p,"Energizer"],[f,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[p,"Cat"],[f,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[p,"Smartfren"],[f,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[p,"Nothing"],[f,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[p,"Archos"],[f,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[p,"Archos"],[f,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,c,[f,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[f,y]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[f,b]],[/(surface duo)/i],[c,[p,D],[f,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[f,y]],[/(u304aa)/i],[c,[p,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[f,b]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[f,b]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[f,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[f,b]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[f,b]],[/\b(k88) b/i],[c,[p,"ZTE"],[f,b]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[f,b]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[f,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[f,b]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[f,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[f,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[f,y]],[/\b(ph-1) /i],[c,[p,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[f,b]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[f,b]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[f,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[p,C],[f,b]],[/(sprint) (\w+)/i],[p,c,[f,y]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,D],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,B],[f,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,B],[f,y]],[/smart-tv.+(samsung)/i],[p,[f,_]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,N],[f,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,"LG"],[f,_]],[/(apple) ?tv/i],[p,[c,w+" TV"],[f,_]],[/crkey/i],[[c,O+"cast"],[p,R],[f,_]],[/droid.+aft(\w+)( bui|\))/i],[c,[p,v],[f,_]],[/(shield \w+ tv)/i],[c,[p,C],[f,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,Y],[f,_]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,W],[f,_]],[/(mi(tv|box)-?\w+) bui/i],[c,[p,F],[f,_]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[f,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,J],[c,J],[f,_]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[c,[f,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[f,g]],[/droid.+; (shield)( bui|\))/i],[c,[p,C],[f,g]],[/(playstation \w+)/i],[c,[p,W],[f,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,D],[f,g]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[p,N],[f,T]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,c,[f,T]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[p,U],[f,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,w],[f,T]],[/(opwwe\d{3})/i],[c,[p,j],[f,T]],[/(moto 360)/i],[c,[p,L],[f,T]],[/(smartwatch 3)/i],[c,[p,W],[f,T]],[/(g watch r)/i],[c,[p,"LG"],[f,T]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,B],[f,T]],[/droid.+; (glass) \d/i],[c,[p,R],[f,T]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,c,[f,T]],[/; (quest( \d| pro)?)/i],[c,[p,G],[f,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,S]],[/(aeobc)\b/i],[c,[p,v],[f,S]],[/(homepod).+mac os/i],[c,[p,w],[f,S]],[/windows iot/i],[[f,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[d,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[d,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,h],[/ladybird\//i],[[d,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[d,[h,Q,ee]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,Q,ee],[d,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,H],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,d],[/(ubuntu) ([\w\.]+) like android/i],[[d,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[d,h],[/\(bb(10);/i],[h,[d,x]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[d,A+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[d,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,V],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,h],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,h]]},er=function(e,r){if(typeof e===s&&(r=e,e=a),!(this instanceof er))return new er(e,r).getResult();var n=typeof t!==i&&t.navigator?t.navigator:a,g=e||(n&&n.userAgent?n.userAgent:""),_=n&&n.userAgentData?n.userAgentData:a,T=r?$(et,r):et,S=n&&n.userAgent==g;return this.getBrowser=function(){var e,t={};return t[d]=a,t[h]=a,X.call(t,g,T.browser),t[u]=typeof(e=t[h])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:a,S&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[d]="Brave"),t},this.getCPU=function(){var e={};return e[m]=a,X.call(e,g,T.cpu),e},this.getDevice=function(){var e={};return e[p]=a,e[c]=a,e[f]=a,X.call(e,g,T.device),S&&!e[f]&&_&&_.mobile&&(e[f]=y),S&&"Macintosh"==e[c]&&n&&typeof n.standalone!==i&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[c]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[d]=a,e[h]=a,X.call(e,g,T.engine),e},this.getOS=function(){var e={};return e[d]=a,e[h]=a,X.call(e,g,T.os),S&&!e[d]&&_&&_.platform&&"Unknown"!=_.platform&&(e[d]=_.platform.replace(/chrome os/i,V).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return g},this.setUA=function(e){return g=typeof e===l&&e.length>500?J(e,500):e,this},this.setUA(g),this};er.VERSION="1.0.41",er.BROWSER=q([d,h,u]),er.CPU=q([m]),er.DEVICE=q([c,p,f,g,y,_,b,T,S]),er.ENGINE=er.OS=q([d,h]),typeof n!==i?(r.exports&&(n=r.exports=er),n.UAParser=er):typeof e===o&&e.amd?e(function(){return er}):typeof t!==i&&(t.UAParser=er);var en=typeof t!==i&&(t.jQuery||t.Zepto);if(en&&!en.ua){var ea=new er;en.ua=ea.getResult(),en.ua.get=function(){return ea.getUA()},en.ua.set=function(e){ea.setUA(e);var t=ea.getResult();for(var r in t)en.ua[r]=t[r]}}}("object"==typeof window?window:this)},{}],jJR4v:[function(e,t,r){var n,a,o,i,s=e("@parcel/transformer-js/src/esmodule-helpers.js");s.defineInteropFlag(r),s.export(r,"BROWSER_TYPE",()=>o),s.export(r,"OS_TYPE",()=>i),(n=o||(o={}))[n.IE=0]="IE",n[n.EDGE=1]="EDGE",n[n.CHROME=2]="CHROME",n[n.OTHER=3]="OTHER",(a=i||(i={}))[a.MACOS=0]="MACOS",a[a.WINDOWS=1]="WINDOWS",a[a.OTHER=2]="OTHER"},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"3Vwjp":[function(e,t,r){let n;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"store",()=>n),a.export(r,"isStoreReady",()=>f),a.export(r,"storeReady",()=>p),a.export(r,"MyContext",()=>h),a.export(r,"useAppDispatch",()=>y),a.export(r,"useAppSelector",()=>b);var o=e("@reduxjs/toolkit"),i=e("./no-storage-slice"),s=a.interopDefault(i),l=e("react"),u=a.interopDefault(l),c=e("react-redux");let d={isReady:!1};try{(n=(0,o.configureStore)({reducer:{noStorager:s.default,readiness:(e=d,t)=>"STORE_READY"===t.type?{...e,isReady:!0}:e},middleware:e=>e({thunk:!1})})).dispatch({type:"STORE_READY"})}catch(e){console.error("Critical: Store initialization failed",e)}let f=e=>e.readiness.isReady,p=new Promise(e=>{if(n?.getState()?.readiness?.isReady){e();return}let t=n.subscribe(()=>{f(n.getState())&&(t(),e())})}),h=(0,u.default).createContext(null),m=(0,c.createDispatchHook)(h),g=(0,c.createSelectorHook)(h),y=m,b=g},{"@reduxjs/toolkit":"8h9ny","./no-storage-slice":"8bwie",react:"34kvN","react-redux":"UfIbn","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"8h9ny":[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"ReducerType",()=>es),a.export(r,"SHOULD_AUTOBATCH",()=>U),a.export(r,"TaskAbortError",()=>eI),a.export(r,"Tuple",()=>R),a.export(r,"addListener",()=>eq),a.export(r,"asyncThunkCreator",()=>ei),a.export(r,"autoBatchEnhancer",()=>W),a.export(r,"buildCreateSlice",()=>el),a.export(r,"clearAllListeners",()=>eZ),a.export(r,"combineSlices",()=>tt),a.export(r,"configureStore",()=>B),a.export(r,"createAction",()=>E),a.export(r,"createActionCreatorInvariantMiddleware",()=>A),a.export(r,"createAsyncThunk",()=>en),a.export(r,"createDraftSafeSelector",()=>S),a.export(r,"createDraftSafeSelectorCreator",()=>T),a.export(r,"createDynamicMiddleware",()=>e1),a.export(r,"createEntityAdapter",()=>eb),a.export(r,"createImmutableStateInvariantMiddleware",()=>L),a.export(r,"createListenerMiddleware",()=>eX),a.export(r,"createNextState",()=>i.produce),a.export(r,"createReducer",()=>V),a.export(r,"createSelector",()=>s.createSelector),a.export(r,"createSelectorCreator",()=>s.createSelectorCreator),a.export(r,"createSerializableStateInvariantMiddleware",()=>j),a.export(r,"createSlice",()=>eu),a.export(r,"current",()=>i.current),a.export(r,"findNonSerializableValue",()=>function e(t,r="",n=C,a,o=[],i){let s;if(!n(t))return{keyPath:r||"<root>",value:t};if("object"!=typeof t||null===t||(null==i?void 0:i.has(t)))return!1;let l=null!=a?a(t):Object.entries(t),u=o.length>0;for(let[t,c]of l){let l=r?r+"."+t:t;if(u){let e=o.some(e=>e instanceof RegExp?e.test(l):l===e);if(e)continue}if(!n(c))return{keyPath:l,value:c};if("object"==typeof c&&(s=e(c,l,n,a,o,i)))return s}return i&&function e(t){if(!Object.isFrozen(t))return!1;for(let r of Object.values(t))if("object"==typeof r&&null!==r&&!e(r))return!1;return!0}(t)&&i.add(t),!1}),a.export(r,"formatProdErrorMessage",()=>tr),a.export(r,"freeze",()=>i.freeze),a.export(r,"isActionCreator",()=>x),a.export(r,"isAllOf",()=>$),a.export(r,"isAnyOf",()=>z),a.export(r,"isAsyncThunkAction",()=>function e(...t){return 0===t.length?e=>q(e,["pending","fulfilled","rejected"]):Z(t)?z(...t.flatMap(e=>[e.pending,e.rejected,e.fulfilled])):e()(t[0])}),a.export(r,"isDraft",()=>i.isDraft),a.export(r,"isFluxStandardAction",()=>I),a.export(r,"isFulfilled",()=>function e(...t){return 0===t.length?e=>q(e,["fulfilled"]):Z(t)?z(...t.map(e=>e.fulfilled)):e()(t[0])}),a.export(r,"isImmutableDefault",()=>D),a.export(r,"isPending",()=>function e(...t){return 0===t.length?e=>q(e,["pending"]):Z(t)?z(...t.map(e=>e.pending)):e()(t[0])}),a.export(r,"isPlain",()=>C),a.export(r,"isRejected",()=>K),a.export(r,"isRejectedWithValue",()=>function e(...t){let r=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===t.length?$(K(...t),r):Z(t)?$(K(...t),r):e()(t[0])}),a.export(r,"lruMemoize",()=>s.lruMemoize),a.export(r,"miniSerializeError",()=>et),a.export(r,"nanoid",()=>J),a.export(r,"original",()=>i.original),a.export(r,"prepareAutoBatched",()=>N),a.export(r,"removeListener",()=>eK),a.export(r,"unwrapResult",()=>ea),a.export(r,"weakMapMemoize",()=>s.weakMapMemoize);var o=e("redux");a.exportAll(o,r);var i=e("immer"),s=e("reselect"),l=e("redux-thunk");e("d6c2ce6df8bac3b7");var u=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&m(e,r,t[r]);return e},y=(e,t)=>c(e,d(t)),b=(e,t)=>{var r={};for(var n in e)p.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&f)for(var n of f(e))0>t.indexOf(n)&&h.call(e,n)&&(r[n]=e[n]);return r},_=(e,t,r)=>m(e,"symbol"!=typeof t?t+"":t,r),T=(...e)=>{let t=(0,s.createSelectorCreator)(...e),r=Object.assign((...e)=>{let r=t(...e),n=(e,...t)=>r((0,i.isDraft)(e)?(0,i.current)(e):e,...t);return Object.assign(n,r),n},{withTypes:()=>r});return r},S=T(s.weakMapMemoize),v="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?o.compose:(0,o.compose).apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var w=e=>e&&"function"==typeof e.match;function E(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(tr(0));return g(g({type:e,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>(0,o.isAction)(t)&&t.type===e,r}function x(e){return"function"==typeof e&&"type"in e&&w(e)}function I(e){return(0,o.isAction)(e)&&Object.keys(e).every(O)}function O(e){return["type","payload","error","meta"].indexOf(e)>-1}function A(e={}){return()=>e=>t=>e(t)}var R=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function k(e){return(0,i.isDraftable)(e)?(0,i.produce)(e,()=>{}):e}function M(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function D(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function L(e={}){return()=>e=>t=>e(t)}function C(e){let t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||(0,o.isPlainObject)(e)}function j(e={}){return()=>e=>t=>e(t)}var P=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:a=!0}=null!=e?e:{},o=new R;return t&&("boolean"==typeof t?o.push(l.thunk):o.push((0,l.withExtraArgument)(t.extraArgument))),o},U="RTK_autoBatch",N=()=>e=>({payload:e,meta:{[U]:!0}}),Y=e=>t=>{setTimeout(t,e)},W=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),a=!0,o=!1,i=!1,s=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Y(10):"callback"===e.type?e.queueNotification:Y(e.timeout),u=()=>{i=!1,o&&(o=!1,s.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>a&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){var t;try{return(o=!(a=!(null==(t=null==e?void 0:e.meta)?void 0:t[U])))&&!i&&(i=!0,l(u)),n.dispatch(e)}finally{a=!0}}})},F=e=>function(t){let{autoBatch:r=!0}=null!=t?t:{},n=new R(e);return r&&n.push(W("object"==typeof r?r:void 0)),n};function B(e){let t,r;let n=P(),{reducer:a,middleware:i,devTools:s=!0,duplicateMiddlewareCheck:l=!0,preloadedState:u,enhancers:c}=e||{};if("function"==typeof a)t=a;else if((0,o.isPlainObject)(a))t=(0,o.combineReducers)(a);else throw Error(tr(1));r="function"==typeof i?i(n):n();let d=o.compose;s&&(d=v(g({trace:!1},"object"==typeof s&&s)));let f=(0,o.applyMiddleware)(...r),p=F(f),h="function"==typeof c?c(p):p(),m=d(...h);return(0,o.createStore)(t,u,m)}function G(e){let t;let r={},n=[],a={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(tr(28));if(n in r)throw Error(tr(29));return r[n]=t,a},addAsyncThunk:(e,t)=>(t.pending&&(r[e.pending.type]=t.pending),t.rejected&&(r[e.rejected.type]=t.rejected),t.fulfilled&&(r[e.fulfilled.type]=t.fulfilled),t.settled&&n.push({matcher:e.settled,reducer:t.settled}),a),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),a),addDefaultCase:e=>(t=e,a)};return e(a),[r,n,t]}function V(e,t){let r,[n,a,o]=G(t);if("function"==typeof e)r=()=>k(e());else{let t=k(e);r=()=>t}function s(e=r(),t){let s=[n[t.type],...a.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===s.filter(e=>!!e).length&&(s=[o]),s.reduce((e,r)=>{if(r){if((0,i.isDraft)(e)){let n=r(e,t);return void 0===n?e:n}if((0,i.isDraftable)(e))return(0,i.produce)(e,e=>r(e,t));{let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return s.getInitialState=r,s}var H=(e,t)=>w(e)?e.match(t):e(t);function z(...e){return t=>e.some(e=>H(e,t))}function $(...e){return t=>e.every(e=>H(e,t))}function q(e,t){if(!e||!e.meta)return!1;let r="string"==typeof e.meta.requestId,n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function Z(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function K(...e){return 0===e.length?e=>q(e,["rejected"]):Z(e)?z(...e.map(e=>e.rejected)):K()(e[0])}var J=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},X=["name","message","stack","code"],Q=class{constructor(e,t){this.payload=e,this.meta=t,_(this,"_type")}},ee=class{constructor(e,t){this.payload=e,this.meta=t,_(this,"_type")}},et=e=>{if("object"==typeof e&&null!==e){let t={};for(let r of X)"string"==typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},er="External signal was aborted",en=(()=>{function e(e,t,r){let n=E(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:y(g({},n||{}),{arg:r,requestId:t,requestStatus:"fulfilled"})})),a=E(e+"/pending",(e,t,r)=>({payload:void 0,meta:y(g({},r||{}),{arg:t,requestId:e,requestStatus:"pending"})})),o=E(e+"/rejected",(e,t,n,a,o)=>({payload:a,error:(r&&r.serializeError||et)(e||"Rejected"),meta:y(g({},o||{}),{arg:n,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:(null==e?void 0:e.name)==="AbortError",condition:(null==e?void 0:e.name)==="ConditionError"})}));return Object.assign(function(e,{signal:i}={}){return(s,l,u)=>{let c,d;let f=(null==r?void 0:r.idGenerator)?r.idGenerator(e):J(),p=new AbortController;function h(e){d=e,p.abort()}i&&(i.aborted?h(er):i.addEventListener("abort",()=>h(er),{once:!0}));let m=async function(){var i,m,g;let y;try{let o=null==(i=null==r?void 0:r.condition)?void 0:i.call(r,e,{getState:l,extra:u});if(g=o,null!==g&&"object"==typeof g&&"function"==typeof g.then&&(o=await o),!1===o||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let b=new Promise((e,t)=>{c=()=>{t({name:"AbortError",message:d||"Aborted"})},p.signal.addEventListener("abort",c)});s(a(f,e,null==(m=null==r?void 0:r.getPendingMeta)?void 0:m.call(r,{requestId:f,arg:e},{getState:l,extra:u}))),y=await Promise.race([b,Promise.resolve(t(e,{dispatch:s,getState:l,extra:u,requestId:f,signal:p.signal,abort:h,rejectWithValue:(e,t)=>new Q(e,t),fulfillWithValue:(e,t)=>new ee(e,t)})).then(t=>{if(t instanceof Q)throw t;return t instanceof ee?n(t.payload,f,e,t.meta):n(t,f,e)})])}catch(t){y=t instanceof Q?o(null,f,e,t.payload,t.meta):o(t,f,e)}finally{c&&p.signal.removeEventListener("abort",c)}let b=r&&!r.dispatchConditionRejection&&o.match(y)&&y.meta.condition;return b||s(y),y}();return Object.assign(m,{abort:h,requestId:f,arg:e,unwrap:()=>m.then(ea)})}},{pending:a,rejected:o,fulfilled:n,settled:z(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function ea(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var eo=Symbol.for("rtk-slice-createasyncthunk"),ei={[eo]:en},es=((n=es||{}).reducer="reducer",n.reducerWithPrepare="reducerWithPrepare",n.asyncThunk="asyncThunk",n);function el({creators:e}={}){var t;let r=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[eo];return function(e){let t;let{name:n,reducerPath:a=n}=e;if(!n)throw Error(tr(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return g({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(tr(12));if(r in s.sliceCaseReducersByType)throw Error(tr(13));return s.sliceCaseReducersByType[r]=t,l},addMatcher:(e,t)=>(s.sliceMatchers.push({matcher:e,reducer:t}),l),exposeAction:(e,t)=>(s.actionCreators[e]=t,l),exposeCaseReducer:(e,t)=>(s.sliceCaseReducersByName[e]=t,l)};function u(){let[t={},r=[],n]="function"==typeof e.extraReducers?G(e.extraReducers):[e.extraReducers],a=g(g({},t),s.sliceCaseReducersByType);return V(e.initialState,e=>{for(let t in a)e.addCase(t,a[t]);for(let t of s.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}i.forEach(t=>{let a=o[t],i={reducerName:t,type:`${n}/${t}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===a._reducerDefinitionType?function({type:e,reducerName:t},r,n,a){if(!a)throw Error(tr(18));let{payloadCreator:o,fulfilled:i,pending:s,rejected:l,settled:u,options:c}=r,d=a(e,o,c);n.exposeAction(t,d),i&&n.addCase(d.fulfilled,i),s&&n.addCase(d.pending,s),l&&n.addCase(d.rejected,l),u&&n.addMatcher(d.settled,u),n.exposeCaseReducer(t,{fulfilled:i||ec,pending:s||ec,rejected:l||ec,settled:u||ec})}(i,a,l,r):function({type:e,reducerName:t,createNotation:r},n,a){let o,i;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(tr(17));o=n.reducer,i=n.prepare}else o=n;a.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,i?E(e,i):E(e))}(i,a,l)});let c=e=>e,d=new Map,f=new WeakMap;function p(e,r){return t||(t=u()),t(e,r)}function h(){return t||(t=u()),t.getInitialState()}function m(t,r=!1){function n(e){let a=e[t];return void 0===a&&r&&(a=M(f,n,h)),a}function a(t=c){let n=M(d,r,()=>new WeakMap);return M(n,t,()=>{var n;let a={};for(let[o,i]of Object.entries(null!=(n=e.selectors)?n:{}))a[o]=function(e,t,r,n){function a(o,...i){let s=t(o);return void 0===s&&n&&(s=r()),e(s,...i)}return a.unwrapped=e,a}(i,t,()=>M(f,t,h),r);return a})}return{reducerPath:t,getSelectors:a,get selectors(){return a(n)},selectSlice:n}}let _=y(g({name:n,reducer:p,actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:h},m(a)),{injectInto(e,t={}){var{reducerPath:r}=t,n=b(t,["reducerPath"]);let o=null!=r?r:a;return e.inject({reducerPath:o,reducer:p},n),g(g({},_),m(o,!0))}});return _}}var eu=el();function ec(){}var ed=i.isDraft;function ef(e){return function(t,r){let n=t=>{I(r)?e(r.payload,t):e(r,t)};return ed(t)?(n(t),t):(0,i.produce)(t,n)}}function ep(e,t){let r=t(e);return r}function eh(e){return Array.isArray(e)||(e=Object.values(e)),e}function em(e){return(0,i.isDraft)(e)?(0,i.current)(e):e}function eg(e,t,r){e=eh(e);let n=em(r.ids),a=new Set(n),o=[],i=new Set([]),s=[];for(let r of e){let e=ep(r,t);a.has(e)||i.has(e)?s.push({id:e,changes:r}):(i.add(e),o.push(r))}return[o,s,n]}function ey(e){function t(t,r){let n=ep(t,e);n in r.entities||(r.ids.push(n),r.entities[n]=t)}function r(e,r){for(let n of e=eh(e))t(n,r)}function n(t,r){let n=ep(t,e);n in r.entities||r.ids.push(n),r.entities[n]=t}function a(e,t){let r=!1;e.forEach(e=>{e in t.entities&&(delete t.entities[e],r=!0)}),r&&(t.ids=t.ids.filter(e=>e in t.entities))}function o(t,r){let n={},a={};t.forEach(e=>{var t;e.id in r.entities&&(a[e.id]={id:e.id,changes:g(g({},null==(t=a[e.id])?void 0:t.changes),e.changes)})}),t=Object.values(a);let o=t.length>0;if(o){let a=t.filter(t=>(function(t,r,n){let a=n.entities[r.id];if(void 0===a)return!1;let o=Object.assign({},a,r.changes),i=ep(o,e),s=i!==r.id;return s&&(t[r.id]=i,delete n.entities[r.id]),n.entities[i]=o,s})(n,t,r)).length>0;a&&(r.ids=Object.values(r.entities).map(t=>ep(t,e)))}}function i(t,n){let[a,i]=eg(t,e,n);r(a,n),o(i,n)}return{removeAll:function(e){let t=ef((t,r)=>e(r));return function(e){return t(e,void 0)}}(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:ef(t),addMany:ef(r),setOne:ef(n),setMany:ef(function(e,t){for(let r of e=eh(e))n(r,t)}),setAll:ef(function(e,t){e=eh(e),t.ids=[],t.entities={},r(e,t)}),updateOne:ef(function(e,t){return o([e],t)}),updateMany:ef(o),upsertOne:ef(function(e,t){return i([e],t)}),upsertMany:ef(i),removeOne:ef(function(e,t){return a([e],t)}),removeMany:ef(a)}}function eb(e={}){let{selectId:t,sortComparer:r}=g({sortComparer:!1,selectId:e=>e.id},e),n=r?function(e,t){let{removeOne:r,removeMany:n,removeAll:a}=ey(e);function o(t,r,n){t=eh(t);let a=new Set(null!=n?n:em(r.ids)),o=t.filter(t=>!a.has(ep(t,e)));0!==o.length&&u(r,o)}function i(t,r){if(0!==(t=eh(t)).length){for(let n of t)delete r.entities[e(n)];u(r,t)}}function s(t,r){let n=!1,a=!1;for(let o of t){let t=r.entities[o.id];if(!t)continue;n=!0,Object.assign(t,o.changes);let i=e(t);if(o.id!==i){a=!0,delete r.entities[o.id];let e=r.ids.indexOf(o.id);r.ids[e]=i,r.entities[i]=t}}n&&u(r,[],n,a)}function l(t,r){let[n,a,i]=eg(t,e,r);n.length&&o(n,r,i),a.length&&s(a,r)}let u=(r,n,a,o)=>{let i=em(r.entities),s=em(r.ids),l=r.entities,u=s;o&&(u=new Set(s));let c=[];for(let e of u){let t=i[e];t&&c.push(t)}let d=0===c.length;for(let r of n)l[e(r)]=r,d||function(e,t,r){let n=function(e,t,r){let n=0,a=e.length;for(;n<a;){let o=n+a>>>1,i=e[o],s=r(t,i);s>=0?n=o+1:a=o}return n}(e,t,r);e.splice(n,0,t)}(c,r,t);d?c=n.slice().sort(t):a&&c.sort(t);let f=c.map(e);!function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(s,f)&&(r.ids=f)};return{removeOne:r,removeMany:n,removeAll:a,addOne:ef(function(e,t){return o([e],t)}),updateOne:ef(function(e,t){return s([e],t)}),upsertOne:ef(function(e,t){return l([e],t)}),setOne:ef(function(e,t){return i([e],t)}),setMany:ef(i),setAll:ef(function(e,t){e=eh(e),t.entities={},t.ids=[],o(e,t,[])}),addMany:ef(o),updateMany:ef(s),upsertMany:ef(l)}}(t,r):ey(t);return g(g(g({selectId:t,sortComparer:r},{getInitialState:function(e={},t){let r=Object.assign({ids:[],entities:{}},e);return t?n.setAll(r,t):r}}),{getSelectors:function(e,t={}){let{createSelector:r=S}=t,n=e=>e.ids,a=e=>e.entities,o=r(n,a,(e,t)=>e.map(e=>t[e])),i=(e,t)=>t,s=(e,t)=>e[t],l=r(n,e=>e.length);if(!e)return{selectIds:n,selectEntities:a,selectAll:o,selectTotal:l,selectById:r(a,i,s)};let u=r(e,a);return{selectIds:r(e,n),selectEntities:u,selectAll:r(e,o),selectTotal:r(e,l),selectById:r(u,i,s)}}}),n)}var e_="listener",eT="completed",eS="cancelled",ev=`task-${eS}`,ew=`task-${eT}`,eE=`${e_}-${eS}`,ex=`${e_}-${eT}`,eI=class{constructor(e){this.code=e,_(this,"name","TaskAbortError"),_(this,"message"),this.message=`task ${eS} (reason: ${e})`}},eO=(e,t)=>{if("function"!=typeof e)throw TypeError(tr(32))},eA=()=>{},eR=(e,t=eA)=>(e.catch(t),e),ek=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),eM=(e,t)=>{let r=e.signal;r.aborted||("reason"in r||Object.defineProperty(r,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},eD=e=>{if(e.aborted){let{reason:t}=e;throw new eI(t)}};function eL(e,t){let r=eA;return new Promise((n,a)=>{let o=()=>a(new eI(e.reason));if(e.aborted){o();return}r=ek(e,o),t.finally(()=>r()).then(n,a)}).finally(()=>{r=eA})}var eC=async(e,t)=>{try{await Promise.resolve();let t=await e();return{status:"ok",value:t}}catch(e){return{status:e instanceof eI?"cancelled":"rejected",error:e}}finally{null==t||t()}},ej=e=>t=>eR(eL(e,t).then(t=>(eD(e),t))),eP=e=>{let t=ej(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:eU}=Object,eN={},eY="listenerMiddleware",eW=(e,t)=>{let r=t=>ek(e,()=>eM(t,e.reason));return(n,a)=>{eO(n,"taskExecutor");let o=new AbortController;r(o);let i=eC(async()=>{eD(e),eD(o.signal);let t=await n({pause:ej(o.signal),delay:eP(o.signal),signal:o.signal});return eD(o.signal),t},()=>eM(o,ew));return(null==a?void 0:a.autoJoin)&&t.push(i.catch(eA)),{result:ej(e)(i),cancel(){eM(o,ev)}}}},eF=(e,t)=>{let r=async(r,n)=>{eD(t);let a=()=>{},o=new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});a=()=>{o(),n()}}),i=[o];null!=n&&i.push(new Promise(e=>setTimeout(e,n,null)));try{let e=await eL(t,Promise.race(i));return eD(t),e}finally{a()}};return(e,t)=>eR(r(e,t))},eB=e=>{let{type:t,actionCreator:r,matcher:n,predicate:a,effect:o}=e;if(t)a=E(t).match;else if(r)t=r.type,a=r.match;else if(n)a=n;else if(a);else throw Error(tr(21));return eO(o,"options.listener"),{predicate:a,type:t,effect:o}},eG=eU(e=>{let{type:t,predicate:r,effect:n}=eB(e),a={id:J(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(tr(22))}};return a},{withTypes:()=>eG}),eV=(e,t)=>{let{type:r,effect:n,predicate:a}=eB(t);return Array.from(e.values()).find(e=>{let t="string"==typeof r?e.type===r:e.predicate===a;return t&&e.effect===n})},eH=e=>{e.pending.forEach(e=>{eM(e,eE)})},ez=e=>()=>{e.forEach(eH),e.clear()},e$=(e,t,r)=>{try{e(t,r)}catch(e){setTimeout(()=>{throw e},0)}},eq=eU(E(`${eY}/add`),{withTypes:()=>eq}),eZ=E(`${eY}/removeAll`),eK=eU(E(`${eY}/remove`),{withTypes:()=>eK}),eJ=(...e)=>{console.error(`${eY}/error`,...e)},eX=(e={})=>{let t=new Map,{extra:r,onError:n=eJ}=e;eO(n,"onError");let a=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),(null==t?void 0:t.cancelActive)&&eH(e)}),i=e=>{var r;let n=null!=(r=eV(t,e))?r:eG(e);return a(n)};eU(i,{withTypes:()=>i});let s=e=>{let r=eV(t,e);return r&&(r.unsubscribe(),e.cancelActive&&eH(r)),!!r};eU(s,{withTypes:()=>s});let l=async(e,a,o,s)=>{let l=new AbortController,u=eF(i,l.signal),c=[];try{e.pending.add(l),await Promise.resolve(e.effect(a,eU({},o,{getOriginalState:s,condition:(e,t)=>u(e,t).then(Boolean),take:u,delay:eP(l.signal),pause:ej(l.signal),extra:r,signal:l.signal,fork:eW(l.signal,c),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==l&&(eM(e,eE),r.delete(e))})},cancel:()=>{eM(l,eE),e.pending.delete(l)},throwIfCancelled:()=>{eD(l.signal)}})))}catch(e){e instanceof eI||e$(n,e,{raisedBy:"effect"})}finally{await Promise.all(c),eM(l,ex),e.pending.delete(l)}},u=ez(t);return{middleware:e=>r=>a=>{let c;if(!(0,o.isAction)(a))return r(a);if(eq.match(a))return i(a.payload);if(eZ.match(a)){u();return}if(eK.match(a))return s(a.payload);let d=e.getState(),f=()=>{if(d===eN)throw Error(tr(23));return d};try{if(c=r(a),t.size>0){let r=e.getState(),o=Array.from(t.values());for(let t of o){let o=!1;try{o=t.predicate(a,r,d)}catch(e){o=!1,e$(n,e,{raisedBy:"predicate"})}o&&l(t,a,e,f)}}}finally{d=eN}return c},startListening:i,stopListening:s,clearListeners:u}},eQ=e=>({middleware:e,applied:new Map}),e0=e=>t=>{var r;return(null==(r=null==t?void 0:t.meta)?void 0:r.instanceId)===e},e1=()=>{let e=J(),t=new Map,r=Object.assign(E("dynamicMiddleware/add",(...t)=>({payload:t,meta:{instanceId:e}})),{withTypes:()=>r}),n=Object.assign(function(...e){e.forEach(e=>{M(t,e,eQ)})},{withTypes:()=>n}),a=e=>{let r=Array.from(t.values()).map(t=>M(t.applied,e,t.middleware));return(0,o.compose)(...r)},i=$(r,e0(e));return{middleware:e=>t=>r=>i(r)?(n(...r.payload),e.dispatch):a(e)(t)(r),addMiddleware:n,withMiddleware:r,instanceId:e}},e2=e=>"reducerPath"in e&&"string"==typeof e.reducerPath,e3=e=>e.flatMap(e=>e2(e)?[[e.reducerPath,e.reducer]]:Object.entries(e)),e4=Symbol.for("rtk-state-proxy-original"),e6=e=>!!e&&!!e[e4],e5=new WeakMap,e8=(e,t,r)=>M(e5,e,()=>new Proxy(e,{get:(e,n,a)=>{if(n===e4)return e;let o=Reflect.get(e,n,a);if(void 0===o){let e=r[n];if(void 0!==e)return e;let a=t[n];if(a){let e=a(void 0,{type:J()});if(void 0===e)throw Error(tr(24));return r[n]=e,e}}return o}})),e9=e=>{if(!e6(e))throw Error(tr(25));return e[e4]},e7={},te=(e=e7)=>e;function tt(...e){let t=Object.fromEntries(e3(e)),r=()=>Object.keys(t).length?(0,o.combineReducers)(t):te,n=r();function a(e,t){return n(e,t)}a.withLazyLoadedSlices=()=>a;let i={},s=Object.assign(function(e,r){return function(n,...a){return e(e8(r?r(n,...a):n,t,i),...a)}},{original:e9});return Object.assign(a,{inject:(e,o={})=>{let{reducerPath:s,reducer:l}=e,u=t[s];return!o.overrideExisting&&u&&u!==l||(o.overrideExisting&&u!==l&&delete i[s],t[s]=l,n=r()),a},selector:s})}function tr(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},{d6c2ce6df8bac3b7:"jDYfS",redux:"lPWlq",immer:"fCEsm",reselect:"ipfMj","redux-thunk":"asbbZ","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],jDYfS:[function(e,t,r){var n,a,o,i,s=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of c(t))f.call(e,a)||a===r||l(e,a,{get:()=>t[a],enumerable:!(n=u(t,a))||n.enumerable});return e},h=(e,t,r)=>(r=null!=e?s(d(e)):{},p(!t&&e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)),m=(n=(e,t)=>{var r,n,a=t.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},()=>(a||n((a={exports:{}}).exports,a),a.exports)),g={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(g,{default:()=>b}),t.exports=p(l({},"__esModule",{value:!0}),g);var y=h(m());o=h(m()),i=t.exports,p(g,o,"default"),i&&p(i,o,"default");var b=y.default},{}],lPWlq:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.defineInteropFlag(r),n.export(r,"__DO_NOT_USE__ActionTypes",()=>s),n.export(r,"applyMiddleware",()=>m),n.export(r,"bindActionCreators",()=>p),n.export(r,"combineReducers",()=>d),n.export(r,"compose",()=>h),n.export(r,"createStore",()=>u),n.export(r,"isAction",()=>g),n.export(r,"isPlainObject",()=>l),n.export(r,"legacy_createStore",()=>c);var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function l(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function u(e,t,r){if("function"!=typeof e)throw Error(a(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(a(1));return r(u)(e,t)}let n=e,i=t,c=new Map,d=c,f=0,p=!1;function h(){d===c&&(d=new Map,c.forEach((e,t)=>{d.set(t,e)}))}function m(){if(p)throw Error(a(3));return i}function g(e){if("function"!=typeof e)throw Error(a(4));if(p)throw Error(a(5));let t=!0;h();let r=f++;return d.set(r,e),function(){if(t){if(p)throw Error(a(6));t=!1,h(),d.delete(r),c=null}}}function y(e){if(!l(e))throw Error(a(7));if(void 0===e.type)throw Error(a(8));if("string"!=typeof e.type)throw Error(a(17));if(p)throw Error(a(9));try{p=!0,i=n(i,e)}finally{p=!1}let t=c=d;return t.forEach(e=>{e()}),e}return y({type:s.INIT}),{dispatch:y,subscribe:g,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));n=e,y({type:s.REPLACE})},[o]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(m())}t();let r=g(t);return{unsubscribe:r}},[o](){return this}}}}}function c(e,t,r){return u(e,t,r)}function d(e){let t;let r=Object.keys(e),n={};for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof e[a]&&(n[a]=e[a])}let o=Object.keys(n);try{!function(e){Object.keys(e).forEach(t=>{let r=e[t],n=r(void 0,{type:s.INIT});if(void 0===n)throw Error(a(12));if(void 0===r(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw Error(a(13))})}(n)}catch(e){t=e}return function(e={},r){if(t)throw t;let i=!1,s={};for(let t=0;t<o.length;t++){let l=o[t],u=n[l],c=e[l],d=u(c,r);if(void 0===d)throw r&&r.type,Error(a(14));s[l]=d,i=i||d!==c}return(i=i||o.length!==Object.keys(e).length)?s:e}}function f(e,t){return function(...r){return t(e.apply(this,r))}}function p(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw Error(a(16));let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=f(a,t))}return r}function h(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function m(...e){return t=>(r,n)=>{let o=t(r,n),i=()=>{throw Error(a(15))},s={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},l=e.map(e=>e(s));return i=h(...l)(o.dispatch),{...o,dispatch:i}}}function g(e){return l(e)&&"type"in e&&"string"==typeof e.type}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],fCEsm:[function(e,t,r){var n,a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"Immer",()=>K),a.export(r,"applyPatches",()=>ei),a.export(r,"castDraft",()=>eu),a.export(r,"castImmutable",()=>ec),a.export(r,"createDraft",()=>es),a.export(r,"current",()=>X),a.export(r,"enableMapSet",()=>ee),a.export(r,"enablePatches",()=>Q),a.export(r,"finishDraft",()=>el),a.export(r,"freeze",()=>k),a.export(r,"immerable",()=>f),a.export(r,"isDraft",()=>g),a.export(r,"isDraftable",()=>y),a.export(r,"nothing",()=>d),a.export(r,"original",()=>T),a.export(r,"produce",()=>er),a.export(r,"produceWithPatches",()=>en),a.export(r,"setAutoFreeze",()=>ea),a.export(r,"setUseStrictShallowCopy",()=>eo);var o=Object.defineProperty,i=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&u(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&u(e,r,t[r]);return e},d=Symbol.for("immer-nothing"),f=Symbol.for("immer-draftable"),p=Symbol.for("immer-state");function h(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var m=Object.getPrototypeOf;function g(e){return!!e&&!!e[p]}function y(e){var t;return!!e&&(_(e)||Array.isArray(e)||!!e[f]||!!(null==(t=e.constructor)?void 0:t[f])||I(e)||O(e))}var b=Object.prototype.constructor.toString();function _(e){if(!e||"object"!=typeof e)return!1;let t=m(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===b}function T(e){return g(e)||h(15,e),e[p].base_}function S(e,t){0===v(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function v(e){let t=e[p];return t?t.type_:Array.isArray(e)?1:I(e)?2:O(e)?3:0}function w(e,t){return 2===v(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function E(e,t){return 2===v(e)?e.get(t):e[t]}function x(e,t,r){let n=v(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function I(e){return e instanceof Map}function O(e){return e instanceof Set}function A(e){return e.copy_||e.base_}function R(e,t){if(I(e))return new Map(e);if(O(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=_(e);if(!0!==t&&("class_only"!==t||r)){let t=m(e);if(null!==t&&r)return c({},e);let n=Object.create(t);return Object.assign(n,e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[p];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let a=r[n],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(m(e),t)}}function k(e,t=!1){return D(e)||g(e)||!y(e)||(v(e)>1&&Object.defineProperties(e,{set:{value:M},add:{value:M},clear:{value:M},delete:{value:M}}),Object.freeze(e),t&&Object.values(e).forEach(e=>k(e,!0))),e}function M(){h(2)}function D(e){return Object.isFrozen(e)}var L={};function C(e){let t=L[e];return t||h(0,e),t}function j(e,t){t&&(C("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){U(e),e.drafts_.forEach(Y),e.drafts_=null}function U(e){e===n&&(n=e.parent_)}function N(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Y(e){let t=e[p];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function W(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0],n=void 0!==e&&e!==r;return n?(r[p].modified_&&(P(t),h(4)),y(e)&&(e=F(t,e),t.parent_||G(t,e)),t.patches_&&C("Patches").generateReplacementPatches_(r[p].base_,e,t.patches_,t.inversePatches_)):e=F(t,r,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==d?e:void 0}function F(e,t,r){if(D(t))return t;let n=t[p];if(!n)return S(t,(a,o)=>B(e,n,t,a,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return G(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,a=t,o=!1;3===n.type_&&(a=new Set(t),t.clear(),o=!0),S(a,(a,i)=>B(e,n,t,a,i,r,o)),G(e,t,!1),r&&e.patches_&&C("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function B(e,t,r,n,a,o,i){if(g(a)){let i=o&&t&&3!==t.type_&&!w(t.assigned_,n)?o.concat(n):void 0,s=F(e,a,i);if(x(r,n,s),!g(s))return;e.canAutoFreeze_=!1}else i&&r.add(a);if(y(a)&&!D(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;F(e,a),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(I(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&G(e,a)}}function G(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&k(t,r)}var V={get(e,t){if(t===p)return e;let r=A(e);if(!w(r,t))return function(e,t,r){var n;let a=$(t,r);return a?"value"in a?a.value:null==(n=a.get)?void 0:n.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!y(n)?n:n===z(e.base_,t)?(Z(e),e.copy_[t]=J(n,e)):n},has:(e,t)=>t in A(e),ownKeys:e=>Reflect.ownKeys(A(e)),set(e,t,r){let n=$(A(e),t);if(null==n?void 0:n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=z(A(e),t),a=null==n?void 0:n[p];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||w(e.base_,t)))return!0;Z(e),q(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==z(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Z(e),q(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=A(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){h(11)},getPrototypeOf:e=>m(e.base_),setPrototypeOf(){h(12)}},H={};function z(e,t){let r=e[p],n=r?A(r):e;return n[t]}function $(e,t){if(!(t in e))return;let r=m(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=m(r)}}function q(e){!e.modified_&&(e.modified_=!0,e.parent_&&q(e.parent_))}function Z(e){e.copy_||(e.copy_=R(e.base_,e.scope_.immer_.useStrictShallowCopy_))}S(V,(e,t)=>{H[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),H.deleteProperty=function(e,t){return H.set.call(this,e,t,void 0)},H.set=function(e,t,r){return V.set.call(this,e[0],t,r,e[0])};var K=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...a){return n.produce(e,e=>t.call(this,e,...a))}}if("function"!=typeof t&&h(6),void 0!==r&&"function"!=typeof r&&h(7),y(e)){let a=N(this),o=J(e,void 0),i=!0;try{n=t(o),i=!1}finally{i?P(a):U(a)}return j(a,r),W(n,a)}if(e&&"object"==typeof e)h(1,e);else{if(void 0===(n=t(e))&&(n=e),n===d&&(n=void 0),this.autoFreeze_&&k(n,!0),r){let t=[],a=[];C("Patches").generateReplacementPatches_(e,n,t,a),r(t,a)}return n}},this.produceWithPatches=(e,t)=>{let r,n;if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,t=>e(t,...r));let a=this.produce(e,t,(e,t)=>{r=e,n=t});return[a,r,n]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){y(e)||h(8),g(e)&&(e=X(e));let t=N(this),r=J(e,void 0);return r[p].isManual_=!0,U(t),r}finishDraft(e,t){let r=e&&e[p];r&&r.isManual_||h(9);let{scope_:n}=r;return j(n,t),W(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=C("Patches").applyPatches_;return g(e)?n(e,t):this.produce(e,e=>n(e,t))}};function J(e,t){let r=I(e)?C("MapSet").proxyMap_(e,t):O(e)?C("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),a={type_:r?1:0,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=a,i=V;r&&(o=[a],i=H);let{revoke:s,proxy:l}=Proxy.revocable(o,i);return a.draft_=l,a.revoke_=s,l}(e,t),a=t?t.scope_:n;return a.drafts_.push(r),r}function X(e){return g(e)||h(10,e),function e(t){let r;if(!y(t)||D(t))return t;let n=t[p];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=R(t,n.scope_.immer_.useStrictShallowCopy_)}else r=R(t,!0);return S(r,(t,n)=>{x(r,t,e(n))}),n&&(n.finalized_=!1),r}(e)}function Q(){var e;let t="replace",r="remove";function n(e){if(!y(e))return e;if(Array.isArray(e))return e.map(n);if(I(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,n(t)]));if(O(e))return new Set(Array.from(e).map(n));let t=Object.create(m(e));for(let r in e)t[r]=n(e[r]);return w(e,f)&&(t[f]=e[f]),t}function a(e){return g(e)?n(e):e}L[e="Patches"]||(L[e]={applyPatches_:function(e,a){return a.forEach(a=>{let{path:o,op:i}=a,s=e;for(let e=0;e<o.length-1;e++){let t=v(s),r=o[e];"string"!=typeof r&&"number"!=typeof r&&(r=""+r),(0===t||1===t)&&("__proto__"===r||"constructor"===r)&&h(19),"function"==typeof s&&"prototype"===r&&h(19),"object"!=typeof(s=E(s,r))&&h(18,o.join("/"))}let l=v(s),u=n(a.value),c=o[o.length-1];switch(i){case t:switch(l){case 2:return s.set(c,u);case 3:h(16);default:return s[c]=u}case"add":switch(l){case 1:return"-"===c?s.push(u):s.splice(c,0,u);case 2:return s.set(c,u);case 3:return s.add(u);default:return s[c]=u}case r:switch(l){case 1:return s.splice(c,1);case 2:return s.delete(c);case 3:return s.delete(a.value);default:return delete s[c]}default:h(17,i)}}),e},generatePatches_:function(e,n,o,i){switch(e.type_){case 0:case 2:return function(e,n,o,i){let{base_:s,copy_:l}=e;S(e.assigned_,(e,u)=>{let c=E(s,e),d=E(l,e),f=u?w(s,e)?t:"add":r;if(c===d&&f===t)return;let p=n.concat(e);o.push(f===r?{op:f,path:p}:{op:f,path:p,value:d}),i.push("add"===f?{op:r,path:p}:f===r?{op:"add",path:p,value:a(c)}:{op:t,path:p,value:a(c)})})}(e,n,o,i);case 1:return function(e,n,o,i){let{base_:s,assigned_:l}=e,u=e.copy_;u.length<s.length&&([s,u]=[u,s],[o,i]=[i,o]);for(let e=0;e<s.length;e++)if(l[e]&&u[e]!==s[e]){let r=n.concat([e]);o.push({op:t,path:r,value:a(u[e])}),i.push({op:t,path:r,value:a(s[e])})}for(let e=s.length;e<u.length;e++){let t=n.concat([e]);o.push({op:"add",path:t,value:a(u[e])})}for(let e=u.length-1;s.length<=e;--e){let t=n.concat([e]);i.push({op:r,path:t})}}(e,n,o,i);case 3:return function(e,t,n,a){let{base_:o,copy_:i}=e,s=0;o.forEach(e=>{if(!i.has(e)){let o=t.concat([s]);n.push({op:r,path:o,value:e}),a.unshift({op:"add",path:o,value:e})}s++}),s=0,i.forEach(e=>{if(!o.has(e)){let o=t.concat([s]);n.push({op:"add",path:o,value:e}),a.unshift({op:r,path:o,value:e})}s++})}(e,n,o,i)}},generateReplacementPatches_:function(e,r,n,a){n.push({op:t,path:[],value:r===d?void 0:r}),a.push({op:t,path:[],value:e})}})}function ee(){var e;class t extends Map{constructor(e,t){super(),this[p]={type_:2,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:e,draft_:this,isManual_:!1,revoked_:!1}}get size(){return A(this[p]).size}has(e){return A(this[p]).has(e)}set(e,t){let n=this[p];return i(n),A(n).has(e)&&A(n).get(e)===t||(r(n),q(n),n.assigned_.set(e,!0),n.copy_.set(e,t),n.assigned_.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),r(t),q(t),t.base_.has(e)?t.assigned_.set(e,!1):t.assigned_.delete(e),t.copy_.delete(e),!0}clear(){let e=this[p];i(e),A(e).size&&(r(e),q(e),e.assigned_=new Map,S(e.base_,t=>{e.assigned_.set(t,!1)}),e.copy_.clear())}forEach(e,t){let r=this[p];A(r).forEach((r,n,a)=>{e.call(t,this.get(n),n,this)})}get(e){let t=this[p];i(t);let n=A(t).get(e);if(t.finalized_||!y(n)||n!==t.base_.get(e))return n;let a=J(n,t);return r(t),t.copy_.set(e,a),a}keys(){return A(this[p]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:r}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let r=this.get(t.value);return{done:!1,value:[t.value,r]}}}}[Symbol.iterator](){return this.entries()}}function r(e){e.copy_||(e.assigned_=new Map,e.copy_=new Map(e.base_))}class a extends Set{constructor(e,t){super(),this[p]={type_:3,parent_:t,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,copy_:void 0,base_:e,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return A(this[p]).size}has(e){let t=this[p];return(i(t),t.copy_)?!!(t.copy_.has(e)||t.drafts_.has(e)&&t.copy_.has(t.drafts_.get(e))):t.base_.has(e)}add(e){let t=this[p];return i(t),this.has(e)||(o(t),q(t),t.copy_.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[p];return i(t),o(t),q(t),t.copy_.delete(e)||!!t.drafts_.has(e)&&t.copy_.delete(t.drafts_.get(e))}clear(){let e=this[p];i(e),A(e).size&&(o(e),q(e),e.copy_.clear())}values(){let e=this[p];return i(e),o(e),e.copy_.values()}entries(){let e=this[p];return i(e),o(e),e.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let r=this.values(),n=r.next();for(;!n.done;)e.call(t,n.value,n.value,this),n=r.next()}}function o(e){e.copy_||(e.copy_=new Set,e.base_.forEach(t=>{if(y(t)){let r=J(t,e);e.drafts_.set(t,r),e.copy_.add(r)}else e.copy_.add(t)}))}function i(e){e.revoked_&&h(3,JSON.stringify(A(e)))}L[e="MapSet"]||(L[e]={proxyMap_:function(e,r){return new t(e,r)},proxySet_:function(e,t){return new a(e,t)}})}var et=new K,er=et.produce,en=et.produceWithPatches.bind(et),ea=et.setAutoFreeze.bind(et),eo=et.setUseStrictShallowCopy.bind(et),ei=et.applyPatches.bind(et),es=et.createDraft.bind(et),el=et.finishDraft.bind(et);function eu(e){return e}function ec(e){return e}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],ipfMj:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"createSelector",()=>B),n.export(r,"createSelectorCreator",()=>F),n.export(r,"createStructuredSelector",()=>G),n.export(r,"lruMemoize",()=>P),n.export(r,"referenceEqualityCheck",()=>C),n.export(r,"setGlobalDevModeChecks",()=>f),n.export(r,"unstable_autotrackMemoize",()=>U),n.export(r,"weakMapMemoize",()=>W);var a=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&l(e,r,t[r]);if(o)for(var r of o(t))s.call(t,r)&&l(e,r,t[r]);return e},c=(e,t,r)=>(l(e,"symbol"!=typeof t?t+"":t,r),r),d={inputStabilityCheck:"once",identityFunctionCheck:"once"},f=e=>{Object.assign(d,e)},p=Symbol("NOT_FOUND");function h(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}var m=e=>Array.isArray(e)?e:[e],g=0,y=null,b=class{constructor(e,t=_){c(this,"revision",g),c(this,"_value"),c(this,"_lastValue"),c(this,"_isEqual",_),this._value=this._lastValue=e,this._isEqual=t}get value(){return null==y||y.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++g)}};function _(e,t){return e===t}var T=class{constructor(e){c(this,"_cachedValue"),c(this,"_cachedRevision",-1),c(this,"_deps",[]),c(this,"hits",0),c(this,"fn"),this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){let{fn:e}=this,t=new Set,r=y;y=t,this._cachedValue=e(),y=r,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return null==y||y.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map(e=>e.revision),0)}};function S(e){return e instanceof b||console.warn("Not a valid cell! ",e),e.value}var v=(e,t)=>!1;function w(){return function(e,t=_){return new b(null,t)}(0,v)}function E(e,t){!function(e,t){if(!(e instanceof b))throw TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var x=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=w()),S(t)},I=e=>{let t=e.collectionTag;null!==t&&E(t,null)};Symbol();var O=0,A=Object.getPrototypeOf({}),R=class{constructor(e){this.value=e,c(this,"proxy",new Proxy(this,k)),c(this,"tag",w()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},k={get(e,t){let r=function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in A)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=L(n)),r.tag&&S(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=w()).value=n),S(r),n}}();return r},ownKeys:e=>(x(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},M=class{constructor(e){this.value=e,c(this,"proxy",new Proxy([this],D)),c(this,"tag",w()),c(this,"tags",{}),c(this,"children",{}),c(this,"collectionTag",null),c(this,"id",O++),this.value=e,this.tag.value=e}},D={get:([e],t)=>("length"===t&&x(e),k.get(e,t)),ownKeys:([e])=>k.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>k.getOwnPropertyDescriptor(e,t),has:([e],t)=>k.has(e,t)};function L(e){return Array.isArray(e)?new M(e):new R(e)}var C=(e,t)=>e===t;function j(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;let{length:n}=t;for(let a=0;a<n;a++)if(!e(t[a],r[a]))return!1;return!0}}function P(e,t){let r;let{equalityCheck:n=C,maxSize:a=1,resultEqualityCheck:o}="object"==typeof t?t:{equalityCheck:t},i=j(n),s=0,l=a<=1?{get:e=>r&&i(r.key,e)?r.value:p,put(e,t){r={key:e,value:t}},getEntries:()=>r?[r]:[],clear(){r=void 0}}:function(e,t){let r=[];function n(e){let n=r.findIndex(r=>t(e,r.key));if(n>-1){let e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return p}return{get:n,put:function(t,a){n(t)===p&&(r.unshift({key:t,value:a}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(a,i);function u(){let t=l.get(arguments);if(t===p){if(t=e.apply(null,arguments),s++,o){let e=l.getEntries(),r=e.find(e=>o(e.value,t));r&&(t=r.value,0!==s&&s--)}l.put(arguments,t)}return t}return u.clearCache=()=>{l.clear(),u.resetResultsCount()},u.resultsCount=()=>s,u.resetResultsCount=()=>{s=0},u}function U(e){var t;let r=L([]),n=null,a=j(C),o=(h(t=()=>{let t=e.apply(null,r.proxy);return t},"the first parameter to `createCache` must be a function"),new T(t));function i(){return a(n,arguments)||(function e(t,r){let{value:n,tags:a,children:o}=t;if(t.value=r,Array.isArray(n)&&Array.isArray(r)&&n.length!==r.length)I(t);else if(n!==r){let e=0,a=0,o=!1;for(let t in n)e++;for(let e in r)if(a++,!(e in n)){o=!0;break}let i=o||e!==a;i&&I(t)}for(let e in a){let o=n[e],i=r[e];o!==i&&(I(t),E(a[e],i)),"object"==typeof i&&null!==i&&delete a[e]}for(let t in o){let n=o[t],a=r[t],i=n.value;i!==a&&("object"==typeof a&&null!==a?e(n,a):(function e(t){for(let e in t.tag&&E(t.tag,null),I(t),t.tags)E(t.tags[e],null);for(let r in t.children)e(t.children[r])}(n),delete o[t]))}}(r,arguments),n=arguments),o.value}return i.clearCache=()=>o.clear(),i}var N="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function Y(){return{s:0,v:void 0,o:null,p:null}}function W(e,t={}){let r,n=Y(),{resultEqualityCheck:a}=t,o=0;function i(){var t,i;let s;let l=n,{length:u}=arguments;for(let e=0;e<u;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=l.o;null===e&&(l.o=e=new WeakMap);let r=e.get(t);void 0===r?(l=Y(),e.set(t,l)):l=r}else{let e=l.p;null===e&&(l.p=e=new Map);let r=e.get(t);void 0===r?(l=Y(),e.set(t,l)):l=r}}let c=l;if(1===l.s)s=l.v;else if(s=e.apply(null,arguments),o++,a){let e=null!=(i=null==(t=null==r?void 0:r.deref)?void 0:t.call(r))?i:r;null!=e&&a(e,s)&&(s=e,0!==o&&o--);let n="object"==typeof s&&null!==s||"function"==typeof s;r=n?new N(s):s}return c.s=1,c.v=s,s}return i.clearCache=()=>{n=Y(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function F(e,...t){let r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,a=0,o={},i=e.pop();"object"==typeof i&&(o=i,i=e.pop()),h(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);let s=u(u({},r),o),{memoize:l,memoizeOptions:c=[],argsMemoize:d=W,argsMemoizeOptions:f=[],devModeChecks:p={}}=s,g=m(c),y=m(f),b=function(e){let t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),_=l(function(){return n++,i.apply(null,arguments)},...g),T=d(function(){a++;let e=function(e,t){let r=[],{length:n}=e;for(let a=0;a<n;a++)r.push(e[a].apply(null,t));return r}(b,arguments);return t=_.apply(null,e)},...y);return Object.assign(T,{resultFunc:i,memoizedResultFunc:_,dependencies:b,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:l,argsMemoize:d})};return Object.assign(n,{withTypes:()=>n}),n}var B=F(W),G=Object.assign((e,t=B)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e),n=r.map(t=>e[t]),a=t(n,(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}));return a},{withTypes:()=>G})},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],asbbZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){return({dispatch:t,getState:r})=>n=>a=>"function"==typeof a?a(t,r,e):n(a)}n.defineInteropFlag(r),n.export(r,"thunk",()=>o),n.export(r,"withExtraArgument",()=>i);var o=a(),i=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"8bwie":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"noStorageSlice",()=>l),n.export(r,"initSubtitleNodes",()=>u),n.export(r,"initTTSSubtitleNodes",()=>c),n.export(r,"initTTSWordsSubtitleNodes",()=>d),n.export(r,"setTTSWordsSubtitleNodes",()=>f),n.export(r,"setTTSSubtitleNodes",()=>p),n.export(r,"setSubtitleNodes",()=>h),n.export(r,"setSubtitleNodesAsObj",()=>m),n.export(r,"setSubtitleText",()=>g),n.export(r,"setSubtitleZhText",()=>y),n.export(r,"setPaused",()=>b),n.export(r,"setPausedForWavesurfer",()=>_),n.export(r,"setCurrentTime",()=>T),n.export(r,"setCurrentTForWavesurfer",()=>S),n.export(r,"setClientWidth",()=>v),n.export(r,"setClientHeight",()=>w),n.export(r,"setIndex",()=>E),n.export(r,"setIndexForWavesurfer",()=>x),n.export(r,"setIndexForWavesurferWords",()=>I),n.export(r,"setMediaIsAudio",()=>O),n.export(r,"setMaskClickPlay",()=>A),n.export(r,"setMaskFull",()=>R),n.export(r,"setNickname",()=>k),n.export(r,"setSubtitleUrl",()=>M),n.export(r,"setWavesurferAudioBlobUrl",()=>D),n.export(r,"setWavesurferAudioUrl",()=>L),n.export(r,"setYoudaoAudioUrl",()=>C),n.export(r,"setDict1ZimuApiUrl",()=>j),n.export(r,"setNowTime",()=>P),n.export(r,"setBiliRightContainerWidth",()=>U),n.export(r,"setMouseX",()=>N),n.export(r,"setMouseY",()=>Y),n.export(r,"setDraggableDictX",()=>W),n.export(r,"setDraggableDictY",()=>F),n.export(r,"setDraggableSubtitleListXInStore",()=>B),n.export(r,"setDraggableSubtitleListYInStore",()=>G),n.export(r,"setTextSelectionPopup",()=>V),n.export(r,"setSelectionText",()=>H),n.export(r,"setSelectionTextLanguage",()=>z),n.export(r,"setFilterSubtitleListText",()=>$),n.export(r,"setTargetLang",()=>q),n.export(r,"setSourceLang",()=>Z),n.export(r,"setRepeatTimes",()=>K),n.export(r,"setRepeatTimesForWavesurfer",()=>J),n.export(r,"setVariableRepeatTimes",()=>X),n.export(r,"setVariableRepeatTimesForWavesurfer",()=>Q),n.export(r,"setMediaPlaybackRate",()=>ee),n.export(r,"setMediaPlaybackRateForWavesurfer",()=>et),n.export(r,"setYoutubeSourceLang",()=>er),n.export(r,"setYoutubeSubUrl",()=>en),n.export(r,"setPlayThenPause",()=>ea),n.export(r,"setPlayThenPausedStartTime",()=>eo),n.export(r,"setShowSubtitleList",()=>ei),n.export(r,"setFavoritesDicts",()=>es),n.export(r,"setNoStorageJwt",()=>el),n.export(r,"setJwtId",()=>eu),n.export(r,"setBaiduPanVideo",()=>ec),n.export(r,"setSubtitleTextEnOrNot",()=>ed),n.export(r,"setToOpenFileUI",()=>ef),n.export(r,"setUserInfo",()=>ep);var a=e("@reduxjs/toolkit"),o=e("~tools/constants"),i=e("~tools/subtitle");let s={currentT:0,currentTForWavesurfer:0,subtitleNodes:[],subtitleTTSNodes:[],subtitleTTSWordsNodes:[],subtitleText:"",subtitleZhText:"",paused:!0,pausedForWavesurfer:!0,clientWidth:0,clientHeight:0,index:0,indexForWavesurfer:0,indexForWavesurferWords:0,mediaIsAudio:!1,maskClickPlay:!0,maskFull:!1,nickname:"",subtitleurl:"",dict1ZimuApiUrl:"",youdaoAudioUrl:"",wavesurferAudioUrl:void 0,wavesurferAudioBlobUrl:void 0,nowTime:0,biliRightContainerWidth:o.SUBTITLE_LIST_WIDTH,mouseX:0,mouseY:0,textSelectionPopup:!1,selectionText:"",selectionTextLanguage:"",filterSubtitleListText:"",draggableDictX:o.DRAGGABLE_NODE_CONTAINER_X,draggableDictY:o.DRAGGABLE_NODE_CONTAINER_Y,draggableSubtitleListXInStore:void 0,draggableSubtitleListYInStore:void 0,targetLang:"",sourceLang:"",repeatTimes:o.REPEAT_UI_INIT_TIMES,variableRepeatTimes:o.VARIABLE_REPEAT_UI_INIT_TIMES,repeatTimesForWavesurfer:o.REPEAT_UI_INIT_TIMES,variableRepeatTimesForWavesurfer:o.VARIABLE_REPEAT_UI_INIT_TIMES,mediaPlaybackRate:1,mediaPlaybackRateForWavesurfer:1,youtubeSourceLang:void 0,youtubeSubUrl:void 0,playThenPause:!1,playThenPausedStartTime:void 0,showSubtitleList:!0,favoritesDicts:void 0,jwt:void 0,jwtId:void 0,baiduPanVideo:!1,subtitleTextEnOrNot:!1,toOpenFileUI:!1,userInfo:void 0},l=(0,a.createSlice)({name:"noStorager",initialState:s,reducers:{setNickname:(e,t)=>{e.nickname!==t.payload&&(e.nickname=t.payload)},setCurrentTime:(e,t)=>{e.currentT!==t.payload&&(e.currentT=t.payload)},setCurrentTForWavesurfer:(e,t)=>{e.currentTForWavesurfer!==t.payload&&(e.currentTForWavesurfer=t.payload)},initSubtitleNodes:e=>{e.subtitleNodes=[],e.subtitleText=""},initTTSSubtitleNodes:e=>{e.subtitleTTSNodes=[]},initTTSWordsSubtitleNodes:e=>{e.subtitleTTSWordsNodes=[]},setTTSWordsSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSWordsNodes=[...r]},setTTSSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleTTSNodes=[...r]},setSubtitleNodesAsObj:(e,t)=>{let r=[],n=(0,i.sortByStart)(t.payload),a=0;n.forEach(e=>{if(e.text){let t={type:"cue",data:{start:0,end:0,text:"",zh_text:"",index:0}};t.data=e,t.data.index=a,a+=1,r.push(t)}}),e.subtitleNodes=[...r]},setSubtitleNodes:(e,t)=>{let r=[];r=(0,i.formSubtitleNodesFromPayload)(t.payload),e.subtitleNodes=[...r]},setSubtitleText:(e,t)=>{e.subtitleText!==t.payload&&(e.subtitleText=t.payload)},setSubtitleZhText:(e,t)=>{e.subtitleZhText!==t.payload&&(e.subtitleZhText=t.payload)},setPaused:(e,t)=>{e.paused!==t.payload&&(e.paused=t.payload)},setPausedForWavesurfer:(e,t)=>{e.pausedForWavesurfer!==t.payload&&(e.pausedForWavesurfer=t.payload)},setClientHeight:(e,t)=>{e.clientHeight!==t.payload&&(e.clientHeight=t.payload)},setClientWidth:(e,t)=>{e.clientWidth!==t.payload&&(e.clientWidth=t.payload)},setMouseX:(e,t)=>{e.mouseX!==t.payload&&(e.mouseX=t.payload)},setMouseY:(e,t)=>{e.mouseY!==t.payload&&(e.mouseY=t.payload)},setTextSelectionPopup:(e,t)=>{e.textSelectionPopup!==t.payload&&(e.textSelectionPopup=t.payload)},setTargetLang:(e,t)=>{e.targetLang!==t.payload&&(e.targetLang=t.payload)},setSourceLang:(e,t)=>{e.sourceLang!==t.payload&&(e.sourceLang=t.payload)},setRepeatTimes:(e,t)=>{e.repeatTimes!==t.payload&&(e.repeatTimes=t.payload)},setRepeatTimesForWavesurfer:(e,t)=>{e.repeatTimesForWavesurfer!==t.payload&&(e.repeatTimesForWavesurfer=t.payload)},setVariableRepeatTimes:(e,t)=>{e.variableRepeatTimes!==t.payload&&(e.variableRepeatTimes=t.payload)},setVariableRepeatTimesForWavesurfer:(e,t)=>{e.variableRepeatTimesForWavesurfer!==t.payload&&(e.variableRepeatTimesForWavesurfer=t.payload)},setMediaPlaybackRate:(e,t)=>{e.mediaPlaybackRate!==t.payload&&(e.mediaPlaybackRate=t.payload)},setMediaPlaybackRateForWavesurfer:(e,t)=>{e.mediaPlaybackRateForWavesurfer!==t.payload&&(e.mediaPlaybackRateForWavesurfer=t.payload)},setYoutubeSourceLang:(e,t)=>{e.youtubeSourceLang!==t.payload&&(e.youtubeSourceLang=t.payload)},setYoutubeSubUrl:(e,t)=>{e.youtubeSubUrl!==t.payload&&(e.youtubeSubUrl=t.payload)},setPlayThenPause:(e,t)=>{e.playThenPause!==t.payload&&(e.playThenPause=t.payload)},setPlayThenPausedStartTime:(e,t)=>{e.playThenPausedStartTime!==t.payload&&(e.playThenPausedStartTime=t.payload)},setShowSubtitleList:(e,t)=>{e.showSubtitleList!==t.payload&&(e.showSubtitleList=t.payload)},setFavoritesDicts:(e,t)=>{e.favoritesDicts=[...t.payload]},setNoStorageJwt:(e,t)=>{e.jwt!==t.payload&&(e.jwt=t.payload)},setJwtId:(e,t)=>{e.jwtId!==t.payload&&(e.jwtId=t.payload)},setBaiduPanVideo:(e,t)=>{e.baiduPanVideo!==t.payload&&(e.baiduPanVideo=t.payload)},setSubtitleTextEnOrNot:(e,t)=>{e.subtitleTextEnOrNot!==t.payload&&(e.subtitleTextEnOrNot=t.payload)},setToOpenFileUI:(e,t)=>{e.toOpenFileUI!==t.payload&&(e.toOpenFileUI=t.payload)},setUserInfo:(e,t)=>{e.userInfo=t.payload},setSelectionText:(e,t)=>{e.selectionText!==t.payload&&(e.selectionText=t.payload)},setSelectionTextLanguage:(e,t)=>{e.selectionTextLanguage!==t.payload&&(e.selectionTextLanguage=t.payload)},setFilterSubtitleListText:(e,t)=>{e.filterSubtitleListText!==t.payload&&(e.filterSubtitleListText=t.payload)},setDraggableDictX:(e,t)=>{e.draggableDictX!==t.payload&&(e.draggableDictX=t.payload)},setDraggableDictY:(e,t)=>{e.draggableDictY!==t.payload&&(e.draggableDictY=t.payload)},setDraggableSubtitleListXInStore:(e,t)=>{e.draggableSubtitleListXInStore!==t.payload&&(e.draggableSubtitleListXInStore=t.payload)},setDraggableSubtitleListYInStore:(e,t)=>{e.draggableSubtitleListYInStore!==t.payload&&(e.draggableSubtitleListYInStore=t.payload)},setIndex:(e,t)=>{e.index!==t.payload&&(e.index=t.payload)},setIndexForWavesurfer:(e,t)=>{e.indexForWavesurfer!==t.payload&&(e.indexForWavesurfer=t.payload)},setIndexForWavesurferWords:(e,t)=>{e.indexForWavesurferWords!==t.payload&&(e.indexForWavesurferWords=t.payload)},setMediaIsAudio:(e,t)=>{e.mediaIsAudio!==t.payload&&(e.mediaIsAudio=t.payload)},setMaskFull:(e,t)=>{e.maskFull!==t.payload&&(e.maskFull=t.payload)},setMaskClickPlay:(e,t)=>{e.maskClickPlay!==t.payload&&(e.maskClickPlay=t.payload)},setSubtitleUrl:(e,t)=>{e.subtitleurl!==t.payload&&(e.subtitleurl=t.payload)},setWavesurferAudioBlobUrl:(e,t)=>{e.wavesurferAudioBlobUrl!==t.payload&&(e.wavesurferAudioBlobUrl=t.payload)},setWavesurferAudioUrl:(e,t)=>{e.wavesurferAudioUrl!==t.payload&&(e.wavesurferAudioUrl=t.payload)},setDict1ZimuApiUrl:(e,t)=>{if(t?.payload?.length>0){let r="en";r="ja"===e.selectionTextLanguage?"ja":"ko"===e.selectionTextLanguage?"ko":"fr"===e.selectionTextLanguage?"fr":"en";let n=`https://${o.ZIMU1_COM}/subtitle/api/dict/${t.payload}/${r}`;e.dict1ZimuApiUrl!==n&&(e.dict1ZimuApiUrl=n)}else null!==e.dict1ZimuApiUrl&&(e.dict1ZimuApiUrl=null)},setYoudaoAudioUrl:(e,t)=>{let r="";"ja"===e.selectionTextLanguage?r="&le=jap":"ko"===e.selectionTextLanguage?r="&le=ko":"fr"===e.selectionTextLanguage&&(r="&le=fr"),t?.payload?.length>0?e.youdaoAudioUrl!==`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`&&(e.youdaoAudioUrl=`https://dict.youdao.com/dictvoice?audio=${t.payload}${r}`):null!==e.youdaoAudioUrl&&(e.youdaoAudioUrl=null)},setNowTime:(e,t)=>{e.nowTime!==t.payload&&(e.nowTime=t.payload)},setBiliRightContainerWidth:(e,t)=>{e.biliRightContainerWidth!==t.payload&&(e.biliRightContainerWidth=t.payload)}}}),{initSubtitleNodes:u,initTTSSubtitleNodes:c,initTTSWordsSubtitleNodes:d,setTTSWordsSubtitleNodes:f,setTTSSubtitleNodes:p,setSubtitleNodes:h,setSubtitleNodesAsObj:m,setSubtitleText:g,setSubtitleZhText:y,setPaused:b,setPausedForWavesurfer:_,setCurrentTime:T,setCurrentTForWavesurfer:S,setClientWidth:v,setClientHeight:w,setIndex:E,setIndexForWavesurfer:x,setIndexForWavesurferWords:I,setMediaIsAudio:O,setMaskClickPlay:A,setMaskFull:R,setNickname:k,setSubtitleUrl:M,setWavesurferAudioBlobUrl:D,setWavesurferAudioUrl:L,setYoudaoAudioUrl:C,setDict1ZimuApiUrl:j,setNowTime:P,setBiliRightContainerWidth:U,setMouseX:N,setMouseY:Y,setDraggableDictX:W,setDraggableDictY:F,setDraggableSubtitleListXInStore:B,setDraggableSubtitleListYInStore:G,setTextSelectionPopup:V,setSelectionText:H,setSelectionTextLanguage:z,setFilterSubtitleListText:$,setTargetLang:q,setSourceLang:Z,setRepeatTimes:K,setRepeatTimesForWavesurfer:J,setVariableRepeatTimes:X,setVariableRepeatTimesForWavesurfer:Q,setMediaPlaybackRate:ee,setMediaPlaybackRateForWavesurfer:et,setYoutubeSourceLang:er,setYoutubeSubUrl:en,setPlayThenPause:ea,setPlayThenPausedStartTime:eo,setShowSubtitleList:ei,setFavoritesDicts:es,setNoStorageJwt:el,setJwtId:eu,setBaiduPanVideo:ec,setSubtitleTextEnOrNot:ed,setToOpenFileUI:ef,setUserInfo:ep}=l.actions;r.default=l.reducer},{"@reduxjs/toolkit":"8h9ny","~tools/constants":"aHxh8","~tools/subtitle":"lEjEC","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],UfIbn:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"Provider",()=>ea),n.export(r,"ReactReduxContext",()=>ee),n.export(r,"batch",()=>eh),n.export(r,"connect",()=>en),n.export(r,"createDispatchHook",()=>eu),n.export(r,"createSelectorHook",()=>ef),n.export(r,"createStoreHook",()=>es),n.export(r,"shallowEqual",()=>Y),n.export(r,"useDispatch",()=>ec),n.export(r,"useSelector",()=>ep),n.export(r,"useStore",()=>el);var a=e("react"),o=e("use-sync-external-store/with-selector.js"),i=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&f(e,r,t[r]);if(u)for(var r of u(t))d.call(t,r)&&f(e,r,t[r]);return e},h=(e,t)=>s(e,l(t)),m=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&d.call(e,n)&&(r[n]=e[n]);return r},g=Symbol.for(a.version.startsWith("19")?"react.transitional.element":"react.element"),y=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),v=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),O=Symbol.for("react.lazy");function A(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function R(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function k(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=R(e);let a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=R(a),a=n(t,r)),a},n}}function M(e,t){return(r,n)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function D(e,t,r){return p(p(p({},r),e),t)}var L={notify(){},get:()=>[]};function C(e,t){let r;let n=L,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function s(){if(a++,!r){let a,o;r=t?t.addNestedSub(i):e.subscribe(i),a=null,o=null,n={clear(){a=null,o=null},notify(){(()=>{let e=a;for(;e;)e.callback(),e=e.next})()},get(){let e=[],t=a;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,r=o={callback:e,next:null,prev:o};return r.prev?r.prev.next=r:a=r,function(){t&&null!==a&&(t=!1,r.next?r.next.prev=r.prev:o=r.prev,r.prev?r.prev.next=r.next:a=r.next)}}}}}function l(){a--,r&&0===a&&(r(),r=void 0,n.clear(),n=L)}let u={addNestedSub:function(e){s();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>n};return u}var j=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),P="undefined"!=typeof navigator&&"ReactNative"===navigator.product,U=j||P?a.useLayoutEffect:a.useEffect;function N(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Y(e,t){if(N(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!N(e[r[n]],t[r[n]]))return!1;return!0}var W={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},F={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},B={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G={[w]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[I]:B};function V(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case g:switch(e=e.type){case b:case T:case _:case E:case x:return e;default:switch(e=e&&e.$$typeof){case v:case w:case O:case I:case S:return e;default:return t}}case y:return t}}}(e)===I?B:G[e.$$typeof]||W}var H=Object.defineProperty,z=Object.getOwnPropertyNames,$=Object.getOwnPropertySymbols,q=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,K=Object.prototype;function J(e,t){if("string"!=typeof t){if(K){let r=Z(t);r&&r!==K&&J(e,r)}let r=z(t);$&&(r=r.concat($(t)));let n=V(e),a=V(t);for(let o=0;o<r.length;++o){let i=r[o];if(!F[i]&&!(a&&a[i])&&!(n&&n[i])){let r=q(t,i);try{H(e,i,r)}catch(e){}}}}return e}var X=Symbol.for("react-redux-context"),Q="undefined"!=typeof globalThis?globalThis:{},ee=function(){var e;if(!a.createContext)return{};let t=null!=(e=Q[X])?e:Q[X]=new Map,r=t.get(a.createContext);return r||(r=a.createContext(null),t.set(a.createContext,r)),r}(),et=[null,null];function er(e,t){return e===t}var en=function(e,t,r,{pure:n,areStatesEqual:o=er,areOwnPropsEqual:i=Y,areStatePropsEqual:s=Y,areMergedPropsEqual:l=Y,forwardRef:u=!1,context:c=ee}={}){let d=e?"function"==typeof e?k(e,"mapStateToProps"):M(e,"mapStateToProps"):A(()=>({})),f=t&&"object"==typeof t?A(e=>(function(e,t){let r={};for(let n in e){let a=e[n];"function"==typeof a&&(r[n]=(...e)=>t(a(...e)))}return r})(t,e)):t?"function"==typeof t?k(t,"mapDispatchToProps"):M(t,"mapDispatchToProps"):A(e=>({dispatch:e})),g=r?"function"==typeof r?function(e,{displayName:t,areMergedPropsEqual:n}){let a,o=!1;return function(e,t,i){let s=r(e,t,i);return o?n(s,a)||(a=s):(o=!0,a=s),a}}:M(r,"mergeProps"):()=>D,y=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:y,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:g,areStatesEqual:o,areStatePropsEqual:s,areOwnPropsEqual:i,areMergedPropsEqual:l};function b(t){var r;let o;let[i,s,l]=a.useMemo(()=>{let{reactReduxForwardedRef:e}=t,r=m(t,["reactReduxForwardedRef"]);return[t.context,e,r]},[t]),u=a.useMemo(()=>(null==i||i.Consumer,c),[i,c]),d=a.useContext(u),f=!!t.store&&!!t.store.getState&&!!t.store.dispatch,g=!!d&&!!d.store,b=f?t.store:d.store,_=g?d.getServerState:b.getState,T=a.useMemo(()=>(function(e,t){var{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:a}=t,o=m(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);let i=r(e,o),s=n(e,o),l=a(e,o);return function(e,t,r,n,{areStatesEqual:a,areOwnPropsEqual:o,areStatePropsEqual:i}){let s,l,u,c,d,f=!1;return function(p,h){return f?function(f,p){let h=!o(p,l),m=!a(f,s,p,l);return(s=f,l=p,h&&m)?(u=e(s,l),t.dependsOnOwnProps&&(c=t(n,l)),d=r(u,c,l)):h?(e.dependsOnOwnProps&&(u=e(s,l)),t.dependsOnOwnProps&&(c=t(n,l)),d=r(u,c,l)):m?function(){let t=e(s,l),n=!i(t,u);return u=t,n&&(d=r(u,c,l)),d}():d}(p,h):(u=e(s=p,l=h),c=t(n,l),d=r(u,c,l),f=!0,d)}}(i,s,l,e,o)})(b.dispatch,n),[b]),[S,v]=a.useMemo(()=>{if(!y)return et;let e=C(b,f?void 0:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[b,f,d]),w=a.useMemo(()=>f?d:h(p({},d),{subscription:S}),[f,d,S]),E=a.useRef(void 0),x=a.useRef(l),I=a.useRef(void 0),O=a.useRef(!1),A=a.useRef(!1),R=a.useRef(void 0);U(()=>(A.current=!0,()=>{A.current=!1}),[]);let k=a.useMemo(()=>()=>I.current&&l===x.current?I.current:T(b.getState(),l),[b,l]),M=a.useMemo(()=>e=>S?function(e,t,r,n,a,o,i,s,l,u,c){if(!e)return()=>{};let d=!1,f=null,p=()=>{let e,r;if(d||!s.current)return;let p=t.getState();try{e=n(p,a.current)}catch(e){r=e,f=e}r||(f=null),e===o.current?i.current||u():(o.current=e,l.current=e,i.current=!0,c())};return r.onStateChange=p,r.trySubscribe(),p(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(y,b,S,T,x,E,O,A,I,v,e):()=>{},[S]);r=[x,E,O,l,I,v],U(()=>(function(e,t,r,n,a,o){e.current=n,r.current=!1,a.current&&(a.current=null,o())})(...r),void 0);try{o=a.useSyncExternalStore(M,k,_?()=>T(_(),l):k)}catch(e){throw R.current&&(e.message+=`
The error may be correlated with this previous error:
${R.current.stack}
`),e}U(()=>{R.current=void 0,I.current=void 0,E.current=o});let D=a.useMemo(()=>a.createElement(e,h(p({},o),{ref:s})),[s,e,o]),L=a.useMemo(()=>y?a.createElement(u.Provider,{value:w},D):D,[u,D,w]);return L}let _=a.memo(b);if(_.WrappedComponent=e,_.displayName=b.displayName=r,u){let t=a.forwardRef(function(e,t){return a.createElement(_,h(p({},e),{reactReduxForwardedRef:t}))});return t.displayName=r,t.WrappedComponent=e,J(t,e)}return J(_,e)}},ea=function(e){let{children:t,context:r,serverState:n,store:o}=e,i=a.useMemo(()=>{let e=C(o);return{store:o,subscription:e,getServerState:n?()=>n:void 0}},[o,n]),s=a.useMemo(()=>o.getState(),[o]);return U(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,s]),a.createElement((r||ee).Provider,{value:i},t)};function eo(e=ee){return function(){let t=a.useContext(e);return t}}var ei=eo();function es(e=ee){let t=e===ee?ei:eo(e),r=()=>{let{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var el=es();function eu(e=ee){let t=e===ee?el:es(e),r=()=>{let e=t();return e.dispatch};return Object.assign(r,{withTypes:()=>r}),r}var ec=eu(),ed=(e,t)=>e===t;function ef(e=ee){let t=e===ee?ei:eo(e),r=(e,r={})=>{let{equalityFn:n=ed}="function"==typeof r?{equalityFn:r}:r,i=t(),{store:s,subscription:l,getServerState:u}=i;a.useRef(!0);let c=a.useCallback({[e.name](t){let r=e(t);return r}}[e.name],[e]),d=(0,o.useSyncExternalStoreWithSelector)(l.addNestedSub,s.getState,u||s.getState,c,n);return a.useDebugValue(d),d};return Object.assign(r,{withTypes:()=>r}),r}var ep=ef(),eh=function(e){e()}},{react:"34kvN","use-sync-external-store/with-selector.js":"9dAW8","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"9dAW8":[function(e,t,r){t.exports=e("44db3591982713b9")},{"44db3591982713b9":"kET24"}],kET24:[function(e,t,r){var n=e("6d34fa13a6b19654"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,i=n.useRef,s=n.useEffect,l=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=o(e,(d=l(function(){function e(e){if(!s){if(s=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return i=t}return i=e}if(t=i,a(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,i=r)}var o,i,s=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,c]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},{"6d34fa13a6b19654":"34kvN"}],"4ACRl":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"store",()=>h),n.export(r,"persistor",()=>m),n.export(r,"useAppDispatch",()=>g),n.export(r,"useAppSelector",()=>y);var a=e("@reduxjs/toolkit"),o=e("react-redux"),i=e("redux-persist-webextension-storage"),s=e("@plasmohq/redux-persist"),l=e("@plasmohq/storage"),u=e("./storage-slice"),c=n.interopDefault(u);let d=(0,a.combineReducers)({odd:c.default}),f={key:"root",version:1,storage:i.localStorage},p=(0,s.persistReducer)(f,d);(0,a.configureStore)({reducer:d});let h=(0,a.configureStore)({reducer:p,middleware:e=>e({serializableCheck:{ignoredActions:[s.FLUSH,s.REHYDRATE,s.PAUSE,s.PERSIST,s.PURGE,s.REGISTER,s.RESYNC]}})}),m=(0,s.persistStore)(h);new(0,l.Storage)({area:"local"}).watch({[`persist:${f.key}`]:e=>{let{oldValue:t,newValue:r}=e,n=[];for(let e in t)t[e]!==r?.[e]&&n.push(e);for(let e in r)t?.[e]!==r[e]&&n.push(e);n.length>0&&m.resync()}});let g=o.useDispatch,y=o.useSelector},{"@reduxjs/toolkit":"8h9ny","react-redux":"UfIbn","redux-persist-webextension-storage":"etxgy","@plasmohq/redux-persist":"9nx8o","@plasmohq/storage":"4FVCo","./storage-slice":"hpgNF","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],etxgy:[function(e,t,r){var n=o(e("5d4f71de55428f87")),a=o(e("19680ef65d313b"));function o(e){return e&&e.__esModule?e:{default:e}}t.exports={localStorage:n.default,syncStorage:a.default}},{"5d4f71de55428f87":"c8mZC","19680ef65d313b":"8p01s"}],c8mZC:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("4ad5e0f4e633ccb5"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("local")},{"4ad5e0f4e633ccb5":"dVBkL"}],dVBkL:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){return{getItem:function(t){return new Promise(function(r,n){chrome.storage[e].get(t,function(e){null==chrome.runtime.lastError?r(e[t]):n()})})},removeItem:function(t){return new Promise(function(r,n){chrome.storage[e].remove(t,function(){null==chrome.runtime.lastError?r():n()})})},setItem:function(t,r){return new Promise(function(n,a){var o;chrome.storage[e].set((t in(o={})?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o),function(){null==chrome.runtime.lastError?n():a()})})}}}},{}],"8p01s":[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n,a=(n=e("d6e6ff7339f123c9"))&&n.__esModule?n:{default:n};r.default=(0,a.default)("sync")},{d6e6ff7339f123c9:"dVBkL"}],"9nx8o":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"persistReducer",()=>o.default),n.export(r,"persistCombineReducers",()=>s.default),n.export(r,"persistStore",()=>u.default),n.export(r,"createMigrate",()=>d.default),n.export(r,"createTransform",()=>p.default),n.export(r,"getStoredState",()=>m.default),n.export(r,"createPersistoid",()=>y.default),n.export(r,"purgeStoredState",()=>_.default);var a=e("./persistReducer"),o=n.interopDefault(a),i=e("./persistCombineReducers"),s=n.interopDefault(i),l=e("./persistStore"),u=n.interopDefault(l),c=e("./createMigrate"),d=n.interopDefault(c),f=e("./createTransform"),p=n.interopDefault(f),h=e("./getStoredState"),m=n.interopDefault(h),g=e("./createPersistoid"),y=n.interopDefault(g),b=e("./purgeStoredState"),_=n.interopDefault(b),T=e("./constants");n.exportAll(T,r)},{"./persistReducer":"cfG6D","./persistCombineReducers":"6Oxbq","./persistStore":"69nCo","./createMigrate":"erfbP","./createTransform":"b2Doz","./getStoredState":"k2HiI","./createPersistoid":"8j9Yn","./purgeStoredState":"5u8vw","./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],cfG6D:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>h);var a=e("./constants"),o=e("./stateReconciler/autoMergeLevel1"),i=n.interopDefault(o),s=e("./createPersistoid"),l=n.interopDefault(s),u=e("./getStoredState"),c=n.interopDefault(u),d=e("./purgeStoredState"),f=n.interopDefault(d),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};function h(e,t){let r=void 0!==e.version?e.version:a.DEFAULT_VERSION,n=void 0===e.stateReconciler?i.default:e.stateReconciler,o=e.getStoredState||c.default,s=void 0!==e.timeout?e.timeout:5e3,u=null,d=!1,h=!0,m=e=>(e._persist.rehydrated&&u&&!h&&u.update(e),e);return(i,c)=>{let g=i||{},{_persist:y}=g,b=p(g,["_persist"]);if(c.type===a.PERSIST){let n=!1,a=(t,r)=>{n||(c.rehydrate(e.key,t,r),n=!0)};if(s&&setTimeout(()=>{n||a(void 0,Error(`redux-persist: persist timed out for persist key "${e.key}"`))},s),h=!1,u||(u=(0,l.default)(e)),y)return Object.assign(Object.assign({},t(b,c)),{_persist:y});if("function"!=typeof c.rehydrate||"function"!=typeof c.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return c.register(e.key),o(e).then(t=>{if(t){let n=e.migrate||((e,t)=>Promise.resolve(e));n(t,r).then(e=>{a(e)},e=>{a(void 0,e)})}},e=>{a(void 0,e)}),Object.assign(Object.assign({},t(b,c)),{_persist:{version:r,rehydrated:!1}})}if(c.type===a.PURGE)return d=!0,c.result((0,f.default)(e)),Object.assign(Object.assign({},t(b,c)),{_persist:y});if(c.type===a.RESYNC)return o(e).then(t=>c.rehydrate(e.key,t,void 0),t=>c.rehydrate(e.key,void 0,t)).then(()=>c.result()),Object.assign(Object.assign({},t(b,c)),{_persist:{version:r,rehydrated:!1}});if(c.type===a.FLUSH)return c.result(u&&u.flush()),Object.assign(Object.assign({},t(b,c)),{_persist:y});if(c.type===a.PAUSE)h=!0;else if(c.type===a.REHYDRATE){if(d)return Object.assign(Object.assign({},b),{_persist:Object.assign(Object.assign({},y),{rehydrated:!0})});if(c.key===e.key){let r=t(b,c),a=c.payload,o=!1!==n&&void 0!==a?n(a,i,r,e):r,s=Object.assign(Object.assign({},o),{_persist:Object.assign(Object.assign({},y),{rehydrated:!0})});return m(s)}}if(!y)return t(i,c);let _=t(b,c);return _===b?i:m(Object.assign(Object.assign({},_),{_persist:y}))}}},{"./constants":"guw21","./stateReconciler/autoMergeLevel1":"eDEbS","./createPersistoid":"8j9Yn","./getStoredState":"k2HiI","./purgeStoredState":"5u8vw","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],guw21:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"KEY_PREFIX",()=>a),n.export(r,"FLUSH",()=>o),n.export(r,"REHYDRATE",()=>i),n.export(r,"RESYNC",()=>s),n.export(r,"PAUSE",()=>l),n.export(r,"PERSIST",()=>u),n.export(r,"PURGE",()=>c),n.export(r,"REGISTER",()=>d),n.export(r,"DEFAULT_VERSION",()=>f);let a="persist:",o="persist/FLUSH",i="persist/REHYDRATE",s="persist/RESYNC",l="persist/PAUSE",u="persist/PERSIST",c="persist/PURGE",d="persist/REGISTER",f=-1},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],eDEbS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{"_persist"!==n&&t[n]===r[n]&&(a[n]=e[n])})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"8j9Yn":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.blacklist||null,n=e.whitelist||null,o=e.transforms||[],s=e.throttle||0,l=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,u=e.storage;t=!1===e.serialize?e=>e:"function"==typeof e.serialize?e.serialize:i;let c=e.writeFailHandler||null,d={},f={},p=[],h=null,m=null;function g(){if(0===p.length){h&&clearInterval(h),h=null;return}let e=p.shift();if(void 0===e)return;let r=o.reduce((t,r)=>r.in(t,e,d),d[e]);if(void 0!==r)try{f[e]=t(r)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete f[e];0===p.length&&(Object.keys(f).forEach(e=>{void 0===d[e]&&delete f[e]}),m=u.setItem(l,t(f)).catch(b))}function y(e){return(!n||-1!==n.indexOf(e)||"_persist"===e)&&(!r||-1===r.indexOf(e))}function b(e){c&&c(e)}return{update:e=>{Object.keys(e).forEach(t=>{y(t)&&d[t]!==e[t]&&-1===p.indexOf(t)&&p.push(t)}),Object.keys(d).forEach(t=>{void 0===e[t]&&y(t)&&-1===p.indexOf(t)&&void 0!==d[t]&&p.push(t)}),null===h&&(h=setInterval(g,s)),d=e},flush:()=>{for(;0!==p.length;)g();return m||Promise.resolve()}}}function i(e){return JSON.stringify(e)}},{"./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],k2HiI:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t;let r=e.transforms||[],n=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`,o=e.storage;return e.debug,t=!1===e.deserialize?e=>e:"function"==typeof e.deserialize?e.deserialize:i,o.getItem(n).then(e=>{if(e)try{let n={},a=t(e);return Object.keys(a).forEach(e=>{n[e]=r.reduceRight((t,r)=>r.out(t,e,a),t(a[e]))}),n}catch(e){throw e}})}function i(e){return JSON.parse(e)}},{"./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"5u8vw":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e){let t=e.storage,r=`${void 0!==e.keyPrefix?e.keyPrefix:a.KEY_PREFIX}${e.key}`;return t.removeItem(r,i)}function i(e){}},{"./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"6Oxbq":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>u);var a=e("redux"),o=e("./persistReducer"),i=n.interopDefault(o),s=e("./stateReconciler/autoMergeLevel2"),l=n.interopDefault(s);function u(e,t){return e.stateReconciler=void 0===e.stateReconciler?l.default:e.stateReconciler,(0,i.default)(e,(0,a.combineReducers)(t))}},{redux:"lPWlq","./persistReducer":"cfG6D","./stateReconciler/autoMergeLevel2":"af1AZ","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],af1AZ:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r,{debug:n}){let a=Object.assign({},r);if(e&&"object"==typeof e){let n=Object.keys(e);n.forEach(n=>{if("_persist"!==n&&t[n]===r[n]){var o;if(null!==(o=r[n])&&!Array.isArray(o)&&"object"==typeof o){a[n]=Object.assign(Object.assign({},a[n]),e[n]);return}a[n]=e[n]}})}return a}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"69nCo":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>l);var a=e("redux"),o=e("./constants");let i={registry:[],bootstrapped:!1},s=(e=i,t)=>{let r=e.registry.indexOf(t.key),n=[...e.registry];switch(t.type){case o.REGISTER:return Object.assign(Object.assign({},e),{registry:[...e.registry,t.key]});case o.REHYDRATE:return n.splice(r,1),Object.assign(Object.assign({},e),{registry:n,bootstrapped:0===n.length});default:return e}};function l(e,t,r){let n=r||!1,l=(0,a.createStore)(s,i,t&&t.enhancer?t.enhancer:void 0),u=e=>{l.dispatch({type:o.REGISTER,key:e})},c=(t,r,a)=>{let i={type:o.REHYDRATE,payload:r,err:a,key:t};e.dispatch(i),l.dispatch(i),"function"==typeof n&&d.getState().bootstrapped&&(n(),n=!1)},d=Object.assign(Object.assign({},l),{purge:()=>{let t=[];return e.dispatch({type:o.PURGE,result:e=>{t.push(e)}}),Promise.all(t)},flush:()=>{let t=[];return e.dispatch({type:o.FLUSH,result:e=>{t.push(e)}}),Promise.all(t)},pause:()=>{e.dispatch({type:o.PAUSE})},persist:()=>{e.dispatch({type:o.PERSIST,register:u,rehydrate:c})},resync:()=>new Promise(t=>{e.dispatch({type:o.RESYNC,rehydrate:c,result:()=>t()})})});return t&&t.manualPersist||d.persist(),d}},{redux:"lPWlq","./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],erfbP:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>o);var a=e("./constants");function o(e,t){let{debug:r}=t||{};return function(t,r){if(!t)return Promise.resolve(void 0);let n=t._persist&&void 0!==t._persist.version?t._persist.version:a.DEFAULT_VERSION;if(n===r||n>r)return Promise.resolve(t);let o=Object.keys(e).map(e=>parseInt(e)).filter(e=>r>=e&&e>n).sort((e,t)=>e-t);try{let r=o.reduce((t,r)=>e[r](t),t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}}},{"./constants":"guw21","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],b2Doz:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r={}){let n=r.whitelist||null,a=r.blacklist||null;function o(e){return!!n&&-1===n.indexOf(e)||!!a&&-1!==a.indexOf(e)}return{in:(t,r,n)=>!o(r)&&e?e(t,r,n):t,out:(e,r,n)=>!o(r)&&t?t(e,r,n):e}}n.defineInteropFlag(r),n.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"4FVCo":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"BaseStorage",()=>s),n.export(r,"Storage",()=>l);var a=e("pify"),o=n.interopDefault(a),i=()=>{try{let e=globalThis.navigator?.userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if("Chrome"===e[1])return 100>parseInt(e[2])||globalThis.chrome.runtime?.getManifest()?.manifest_version===2}catch{}return!1},s=class{#e;#t;get primaryClient(){return this.#t}#r;get secondaryClient(){return this.#r}#n;get area(){return this.#n}get hasWebApi(){try{return"u">typeof window&&!!window.localStorage}catch(e){return console.error(e),!1}}#a=new Map;#o;get copiedKeySet(){return this.#o}isCopied=e=>this.hasWebApi&&(this.allCopied||this.copiedKeySet.has(e));#i=!1;get allCopied(){return this.#i}getExtStorageApi=()=>globalThis.browser?.storage||globalThis.chrome?.storage;get hasExtensionApi(){try{return!!this.getExtStorageApi()}catch(e){return console.error(e),!1}}isWatchSupported=()=>this.hasExtensionApi;keyNamespace="";isValidKey=e=>e.startsWith(this.keyNamespace);getNamespacedKey=e=>`${this.keyNamespace}${e}`;getUnnamespacedKey=e=>e.slice(this.keyNamespace.length);constructor({area:e="sync",allCopied:t=!1,copiedKeyList:r=[]}={}){this.setCopiedKeySet(r),this.#n=e,this.#i=t;try{this.hasWebApi&&(t||r.length>0)&&(this.#r=window.localStorage)}catch{}try{this.hasExtensionApi&&(this.#e=this.getExtStorageApi(),i()?this.#t=(0,o.default)(this.#e[this.area],{exclude:["getBytesInUse"],errorFirst:!1}):this.#t=this.#e[this.area])}catch{}}setCopiedKeySet(e){this.#o=new Set(e)}rawGetAll=()=>this.#t?.get();getAll=async()=>Object.entries(await this.rawGetAll()).filter(([e])=>this.isValidKey(e)).reduce((e,[t,r])=>(e[this.getUnnamespacedKey(t)]=r,e),{});copy=async e=>{let t=void 0===e;if(!t&&!this.copiedKeySet.has(e)||!this.allCopied||!this.hasExtensionApi)return!1;let r=this.allCopied?await this.rawGetAll():await this.#t.get((t?[...this.copiedKeySet]:[e]).map(this.getNamespacedKey));if(!r)return!1;let n=!1;for(let e in r){let t=r[e],a=this.#r?.getItem(e);this.#r?.setItem(e,t),n||=t!==a}return n};rawGet=async e=>this.hasExtensionApi?(await this.#t.get(e))[e]:this.isCopied(e)?this.#r?.getItem(e):null;rawSet=async(e,t)=>(this.isCopied(e)&&this.#r?.setItem(e,t),this.hasExtensionApi&&await this.#t.set({[e]:t}),null);clear=async(e=!1)=>{e&&this.#r?.clear(),await this.#t.clear()};rawRemove=async e=>{this.isCopied(e)&&this.#r?.removeItem(e),this.hasExtensionApi&&await this.#t.remove(e)};removeAll=async()=>{let e=Object.keys(await this.getAll());await Promise.all(e.map(this.remove))};watch=e=>{let t=this.isWatchSupported();return t&&this.#s(e),t};#s=e=>{for(let t in e){let r=this.getNamespacedKey(t),n=this.#a.get(r)?.callbackSet||new Set;if(n.add(e[t]),n.size>1)continue;let a=(e,t)=>{if(t!==this.area||!e[r])return;let n=this.#a.get(r);if(!n)throw Error(`Storage comms does not exist for nsKey: ${r}`);Promise.all([this.parseValue(e[r].newValue),this.parseValue(e[r].oldValue)]).then(([e,r])=>{for(let a of n.callbackSet)a({newValue:e,oldValue:r},t)})};this.#e.onChanged.addListener(a),this.#a.set(r,{callbackSet:n,listener:a})}};unwatch=e=>{let t=this.isWatchSupported();return t&&this.#l(e),t};#l(e){for(let t in e){let r=this.getNamespacedKey(t),n=e[t],a=this.#a.get(r);a&&(a.callbackSet.delete(n),0===a.callbackSet.size&&(this.#a.delete(r),this.#e.onChanged.removeListener(a.listener)))}}unwatchAll=()=>this.#u();#u(){this.#a.forEach(({listener:e})=>this.#e.onChanged.removeListener(e)),this.#a.clear()}async getItem(e){return this.get(e)}async setItem(e,t){await this.set(e,t)}async removeItem(e){return this.remove(e)}},l=class extends s{get=async e=>{let t=this.getNamespacedKey(e),r=await this.rawGet(t);return this.parseValue(r)};set=async(e,t)=>{let r=this.getNamespacedKey(e),n=JSON.stringify(t);return this.rawSet(r,n)};remove=async e=>{let t=this.getNamespacedKey(e);return this.rawRemove(t)};setNamespace=e=>{this.keyNamespace=e};parseValue=async e=>{try{if(void 0!==e)return JSON.parse(e)}catch(e){console.error(e)}}}},{pify:"9arDK","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"9arDK":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>i);let a=(e,t,r,n)=>function(...a){let o=t.promiseModule;return new o((o,i)=>{t.multiArgs?a.push((...e)=>{t.errorFirst?e[0]?i(e):(e.shift(),o(e)):o(e)}):t.errorFirst?a.push((e,t)=>{e?i(e):o(t)}):a.push(o),Reflect.apply(e,this===r?n:this,a)})},o=new WeakMap;function i(e,t){t={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...t};let r=typeof e;if(!(null!==e&&("object"===r||"function"===r)))throw TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":r}\``);let n=(e,r)=>{let n=o.get(e);if(n||(n={},o.set(e,n)),r in n)return n[r];let a=e=>"string"==typeof e||"symbol"==typeof r?r===e:e.test(r),i=Reflect.getOwnPropertyDescriptor(e,r),s=void 0===i||i.writable||i.configurable,l=t.include?t.include.some(e=>a(e)):!t.exclude.some(e=>a(e)),u=l&&s;return n[r]=u,u},i=new WeakMap,s=new Proxy(e,{apply(e,r,n){let o=i.get(e);if(o)return Reflect.apply(o,r,n);let l=t.excludeMain?e:a(e,t,s,e);return i.set(e,l),Reflect.apply(l,r,n)},get(e,r){let o=e[r];if(!n(e,r)||o===Function.prototype[r])return o;let l=i.get(o);if(l)return l;if("function"==typeof o){let r=a(o,t,s,e);return i.set(o,r),r}return o}});return s}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],hpgNF:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"setJwt",()=>i),n.export(r,"setHeadimgurl",()=>s),n.export(r,"setNickname",()=>l),n.export(r,"setPopupShow",()=>u);var a=e("@reduxjs/toolkit");let o=(0,a.createSlice)({name:"odd",initialState:{jwt:"",headimgurl:"",nickname:"",popupShow:!0},reducers:{setJwt:(e,t)=>{e.jwt=t.payload},setHeadimgurl:(e,t)=>{e.headimgurl=`${t.payload}`},setNickname:(e,t)=>{e.nickname=t.payload},setPopupShow:(e,t)=>{e.popupShow=t.payload}}}),{setJwt:i,setHeadimgurl:s,setNickname:l,setPopupShow:u}=o.actions;r.default=o.reducer},{"@reduxjs/toolkit":"8h9ny","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],du0IS:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"InvalidTokenError",()=>a),n.export(r,"jwtDecode",()=>o);class a extends Error{}function o(e,t){let r;if("string"!=typeof e)throw new a("Invalid token specified: must be a string");t||(t={});let n=!0===t.header?0:1,o=e.split(".")[n];if("string"!=typeof o)throw new a(`Invalid token specified: missing part #${n+1}`);try{r=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(o)}catch(e){throw new a(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new a(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}a.prototype.name="InvalidTokenError"},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],bq7mF:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"relay",()=>m),n.export(r,"relayMessage",()=>h),n.export(r,"sendToActiveContentScript",()=>p),n.export(r,"sendToBackground",()=>d),n.export(r,"sendToBackgroundViaRelay",()=>g),n.export(r,"sendToContentScript",()=>f),n.export(r,"sendViaRelay",()=>y);var a=e("nanoid"),o=globalThis.browser?.tabs||globalThis.chrome?.tabs,i=()=>{let e=globalThis.browser?.runtime||globalThis.chrome?.runtime;if(!e)throw Error("Extension runtime is not available");return e},s=()=>{if(!o)throw Error("Extension tabs API is not available");return o},l=async()=>{let e=s(),[t]=await e.query({active:!0,currentWindow:!0});return t},u=(e,t)=>!t.__internal&&e.source===globalThis.window&&e.data.name===t.name&&(void 0===t.relayId||e.data.relayId===t.relayId),c=(e,t,r=globalThis.window)=>{let n=async n=>{if(u(n,e)&&!n.data.relayed){let a={name:e.name,relayId:e.relayId,body:n.data.body},o=await t?.(a);r.postMessage({name:e.name,relayId:e.relayId,instanceId:n.data.instanceId,body:o,relayed:!0},{targetOrigin:e.targetOrigin||"/"})}};return r.addEventListener("message",n),()=>r.removeEventListener("message",n)},d=async e=>i().sendMessage(e.extensionId??null,e),f=async e=>{let t="number"==typeof e.tabId?e.tabId:(await l())?.id;if(!t)throw Error("No active tab found to send message to.");return s().sendMessage(t,e)},p=f,h=e=>c(e,d),m=h,g=(e,t=globalThis.window)=>new Promise((r,n)=>{let o=(0,a.nanoid)(),i=new AbortController;t.addEventListener("message",t=>{u(t,e)&&t.data.relayed&&t.data.instanceId===o&&(r(t.data.body),i.abort())},{signal:i.signal}),t.postMessage({...e,instanceId:o},{targetOrigin:e.targetOrigin||"/"})}),y=g},{nanoid:"WGs0a","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],WGs0a:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"urlAlphabet",()=>a.urlAlphabet),n.export(r,"random",()=>o),n.export(r,"customRandom",()=>i),n.export(r,"customAlphabet",()=>s),n.export(r,"nanoid",()=>l);var a=e("./url-alphabet/index.js");let o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,a=-~(1.6*n*t/e.length);return (o=t)=>{let i="";for(;;){let t=r(a),s=a;for(;s--;)if((i+=e[t[s]&n]||"").length===o)return i}}},s=(e,t=21)=>i(e,t,o),l=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},{"./url-alphabet/index.js":!1,"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],jKVtu:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"logger",()=>a);let a=new class{constructor(){this.isProduction=!0}log(...e){this.isProduction||console.log(...e)}info(...e){this.isProduction||console.info(...e)}error(...e){this.isProduction||console.error(...e)}warn(...e){this.isProduction||console.warn(...e)}debug(...e){this.isProduction||console.debug(...e)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"68W9f":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"storage",()=>o),n.export(r,"storageSync",()=>i);var a=e("@plasmohq/storage");let o=new a.Storage({area:"local"}),i=new a.Storage({area:"sync"})},{"@plasmohq/storage":"4FVCo","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"667zm":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"sleep",()=>o),n.export(r,"clickYoutubeSubtitleBtn",()=>i);var a=e("./error");function o(e){return new Promise(t=>setTimeout(t,e))}function i(){try{let e=document.querySelector("button.ytp-subtitles-button.ytp-button");if(e){let t=e.getAttribute("aria-pressed"),r=e.querySelector("svg");"false"===t&&"1"===r.getAttribute("fill-opacity")&&e.click()}}catch(e){(0,a.handleError)({error:e,msgToShow:"tools.subtitle.clickYoutubeSubtitleBtn()"})}}},{"./error":"2MpWC","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"8482s":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"haveNoPermission",()=>i),n.export(r,"withPermissionCheck",()=>s);var a=e("react-toastify"),o=e("../redux/storeNoStorage");function i(e){let{userInfo:t}=(0,o.store).getState().noStorager,r=t?.zm1_expired_or_not;return r&&"true"!==e}function s(e,t,r,n){return function(...o){if(i(t)){(0,a.toast).warning(r,{autoClose:5e3}),n&&n.open({duration:6e3,type:"error",content:`${r}`});return}return e(...o)}}},{"react-toastify":"h8uoK","../redux/storeNoStorage":"3Vwjp","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],lWvef:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"AZURE_LANGUAGES_TRANS",()=>a),n.export(r,"LANG_MAP",()=>o);let a=[{value:"af",label:"\u5357\u975e\u8377\u5170\u8bed Afrikaans"},{value:"am",label:"\u963f\u59c6\u54c8\u62c9\u8bed \u12a0\u121b\u122d\u129b"},{value:"ar",label:"\u963f\u62c9\u4f2f\u8bed \u0627\u0644\u0639\u0631\u0628\u064a\u0629"},{value:"as",label:"\u963f\u8428\u59c6\u8bed \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be"},{value:"az",label:"\u963f\u585e\u62dc\u7586\u8bed Az\u0259rbaycan"},{value:"ba",label:"\u5df4\u4ec0\u57fa\u5c14\u8bed Bashkir"},{value:"bg",label:"\u4fdd\u52a0\u5229\u4e9a\u8bed \u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},{value:"bho",label:"Bhojpuri \u092d\u094b\u091c\u092a\u0941\u0930\u0940"},{value:"bn",label:"\u5b5f\u52a0\u62c9\u8bed \u09ac\u09be\u0982\u09b2\u09be"},{value:"bo",label:"\u85cf\u8bed \u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b"},{value:"brx",label:"Bodo \u092c\u0921\u093c\u094b"},{value:"bs",label:"\u6ce2\u65af\u5c3c\u4e9a\u8bed Bosanski"},{value:"ca",label:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed Catal\xe0"},{value:"cs",label:"\u6377\u514b\u8bed \u010ce\u0161tina"},{value:"cy",label:"\u5a01\u5c14\u58eb\u8bed Cymraeg"},{value:"da",label:"\u4e39\u9ea6\u8bed Dansk"},{value:"de",label:"\u5fb7\u8bed Deutsch"},{value:"doi",label:"Dogri \u0921\u094b\u0917\u0930\u0940"},{value:"dsb",label:"\u4e0b\u7d22\u5e03\u8bed Dolnoserb\u0161\u0107ina"},{value:"dv",label:"\u8fea\u7ef4\u5e0c\u8bed \u078b\u07a8\u0788\u07ac\u0780\u07a8\u0784\u07a6\u0790\u07b0"},{value:"el",label:"\u5e0c\u814a\u8bed \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},{value:"en",label:"\u82f1\u8bed English"},{value:"es",label:"\u897f\u73ed\u7259\u8bed Espa\xf1ol"},{value:"et",label:"\u7231\u6c99\u5c3c\u4e9a\u8bed Eesti"},{value:"eu",label:"\u5df4\u65af\u514b\u8bed Euskara"},{value:"fa",label:"\u6ce2\u65af\u8bed \u0641\u0627\u0631\u0633\u06cc"},{value:"fi",label:"\u82ac\u5170\u8bed Suomi"},{value:"fil",label:"\u83f2\u5f8b\u5bbe\u8bed Filipino"},{value:"fj",label:"\u6590\u6d4e\u8bed Na Vosa Vakaviti"},{value:"fo",label:"\u6cd5\u7f57\u8bed F\xf8royskt"},{value:"fr",label:"\u6cd5\u8bed Fran\xe7ais"},{value:"fr-CA",label:"\u6cd5\u8bed (\u52a0\u62ff\u5927) Fran\xe7ais (Canada)"},{value:"ga",label:"\u7231\u5c14\u5170\u8bed Gaeilge"},{value:"gl",label:"\u52a0\u5229\u897f\u4e9a\u8bed Galego"},{value:"gom",label:"Konkani \u0915\u094b\u0902\u0915\u0923\u0940"},{value:"gu",label:"\u53e4\u5409\u62c9\u7279\u8bed \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0"},{value:"ha",label:"\u8c6a\u8428\u8bed Hausa"},{value:"he",label:"\u5e0c\u4f2f\u6765\u8bed \u05e2\u05d1\u05e8\u05d9\u05ea"},{value:"hi",label:"\u5370\u5730\u8bed \u0939\u093f\u0928\u094d\u0926\u0940"},{value:"hne",label:"Chhattisgarhi \u091b\u0924\u094d\u0924\u0940\u0938\u0917\u0922\u093c\u0940"},{value:"hr",label:"\u514b\u7f57\u5730\u4e9a\u8bed Hrvatski"},{value:"hsb",label:"\u4e0a\u7d22\u5e03\u8bed Hornjoserb\u0161\u0107ina"},{value:"ht",label:"\u6d77\u5730\u514b\u91cc\u5965\u5c14\u8bed Haitian Creole"},{value:"hu",label:"\u5308\u7259\u5229\u8bed Magyar"},{value:"hy",label:"\u4e9a\u7f8e\u5c3c\u4e9a\u8bed \u0540\u0561\u0575\u0565\u0580\u0565\u0576"},{value:"id",label:"\u5370\u5ea6\u5c3c\u897f\u4e9a\u8bed Indonesia"},{value:"ig",label:"\u4f0a\u535a\u8bed \xc1s\u1ee5\u0300s\u1ee5\u0301 \xccgb\xf2"},{value:"ikt",label:"Inuinnaqtun Inuinnaqtun"},{value:"is",label:"\u51b0\u5c9b\u8bed \xcdslenska"},{value:"it",label:"\u610f\u5927\u5229\u8bed Italiano"},{value:"iu",label:"\u56e0\u7ebd\u7279\u8bed \u1403\u14c4\u1483\u144e\u1450\u1466"},{value:"iu-Latn",label:"Inuktitut (Latin) Inuktitut (Latin)"},{value:"ja",label:"\u65e5\u8bed \u65e5\u672c\u8a9e"},{value:"ka",label:"\u683c\u9c81\u5409\u4e9a\u8bed \u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},{value:"kk",label:"\u54c8\u8428\u514b\u8bed \u049a\u0430\u0437\u0430\u049b \u0422\u0456\u043b\u0456"},{value:"km",label:"\u9ad8\u68c9\u8bed \u1781\u17d2\u1798\u17c2\u179a"},{value:"kmr",label:"\u5e93\u5c14\u5fb7\u8bed (\u5317) Kurd\xee (Bakur)"},{value:"kn",label:"\u5361\u7eb3\u8fbe\u8bed \u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},{value:"ko",label:"\u97e9\u8bed \ud55c\uad6d\uc5b4"},{value:"ks",label:"Kashmiri \u06a9\u0672\u0634\u064f\u0631"},{value:"ku",label:"\u5e93\u5c14\u5fb7\u8bed (\u4e2d) Kurd\xee (Nav\xeen)"},{value:"ky",label:"\u67ef\u5c14\u514b\u5b5c\u8bed \u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},{value:"ln",label:"\u6797\u52a0\u62c9\u8bed Ling\xe1la"},{value:"lo",label:"\u8001\u631d\u8bed \u0ea5\u0eb2\u0ea7"},{value:"lt",label:"\u7acb\u9676\u5b9b\u8bed Lietuvi\u0173"},{value:"lug",label:"Ganda Ganda"},{value:"lv",label:"\u62c9\u8131\u7ef4\u4e9a\u8bed Latvie\u0161u"},{value:"lzh",label:"Chinese (Literary) \u4e2d\u6587 (\u6587\u8a00\u6587)"},{value:"mai",label:"\u8fc8\u8482\u5229\u8bed \u092e\u0948\u0925\u093f\u0932\u0940"},{value:"mg",label:"\u9a6c\u62c9\u52a0\u65af\u8bed Malagasy"},{value:"mi",label:"\u6bdb\u5229\u8bed Te Reo M\u0101ori"},{value:"mk",label:"\u9a6c\u5176\u987f\u8bed \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},{value:"ml",label:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02"},{value:"mn-Cyrl",label:"Mongolian (Cyrillic) \u041c\u043e\u043d\u0433\u043e\u043b"},{value:"mn-Mong",label:"Mongolian (Traditional) \u182e\u1823\u1829\u182d\u1823\u182f \u182c\u1821\u182f\u1821"},{value:"mni",label:"Manipuri \uabc3\uabe9\uabc7\uabe9\uabc2\uabe3\uabdf"},{value:"mr",label:"\u9a6c\u62c9\u5730\u8bed \u092e\u0930\u093e\u0920\u0940"},{value:"ms",label:"\u9a6c\u6765\u8bed Melayu"},{value:"mt",label:"\u9a6c\u8033\u4ed6\u8bed Malti"},{value:"mww",label:"\u82d7\u8bed Hmong Daw"},{value:"my",label:"\u7f05\u7538\u8bed \u1019\u103c\u1014\u103a\u1019\u102c"},{value:"nb",label:"\u4e66\u9762\u632a\u5a01\u8bed Norsk Bokm\xe5l"},{value:"ne",label:"\u5c3c\u6cca\u5c14\u8bed \u0928\u0947\u092a\u093e\u0932\u0940"},{value:"nl",label:"\u8377\u5170\u8bed Nederlands"},{value:"nso",label:"Sesotho sa Leboa Sesotho sa Leboa"},{value:"nya",label:"Nyanja Nyanja"},{value:"or",label:"\u5965\u91cc\u4e9a\u8bed \u0b13\u0b21\u0b3c\u0b3f\u0b06"},{value:"otq",label:"\u514b\u96f7\u5854\u7f57\u5965\u6258\u7c73\u8bed H\xf1\xe4h\xf1u"},{value:"pa",label:"\u65c1\u906e\u666e\u8bed \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40"},{value:"pl",label:"\u6ce2\u5170\u8bed Polski"},{value:"prs",label:"\u8fbe\u91cc\u8bed \u062f\u0631\u06cc"},{value:"ps",label:"\u666e\u4ec0\u56fe\u8bed \u067e\u069a\u062a\u0648"},{value:"pt",label:"\u8461\u8404\u7259\u8bed (\u5df4\u897f) Portugu\xeas (Brasil)"},{value:"pt-PT",label:"\u8461\u8404\u7259\u8bed (\u8461\u8404\u7259) Portugu\xeas (Portugal)"},{value:"ro",label:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed Rom\xe2n\u0103"},{value:"ru",label:"\u4fc4\u8bed \u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{value:"run",label:"Rundi Rundi"},{value:"rw",label:"\u5362\u65fa\u8fbe\u8bed Kinyarwanda"},{value:"sd",label:"\u4fe1\u5fb7\u8bed \u0633\u0646\u068c\u064a"},{value:"si",label:"\u50e7\u4f3d\u7f57\u8bed \u0dc3\u0dd2\u0d82\u0dc4\u0dbd"},{value:"sk",label:"\u65af\u6d1b\u4f10\u514b\u8bed Sloven\u010dina"},{value:"sl",label:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed Sloven\u0161\u010dina"},{value:"sm",label:"\u8428\u6469\u4e9a\u8bed Gagana S\u0101moa"},{value:"sn",label:"\u7ecd\u7eb3\u8bed chiShona"},{value:"so",label:"\u7d22\u9a6c\u91cc\u8bed Soomaali"},{value:"sq",label:"\u963f\u5c14\u5df4\u5c3c\u4e9a\u8bed Shqip"},{value:"sr-Cyrl",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u897f\u91cc\u5c14\u6587) \u0421\u0440\u043f\u0441\u043a\u0438 (\u045b\u0438\u0440\u0438\u043b\u0438\u0446\u0430)"},{value:"sr-Latn",label:"\u585e\u5c14\u7ef4\u4e9a\u8bed (\u62c9\u4e01\u6587) Srpski (latinica)"},{value:"st",label:"Sesotho Sesotho"},{value:"sv",label:"\u745e\u5178\u8bed Svenska"},{value:"sw",label:"\u65af\u74e6\u5e0c\u91cc\u8bed Kiswahili"},{value:"ta",label:"\u6cf0\u7c73\u5c14\u8bed \u0ba4\u0bae\u0bbf\u0bb4\u0bcd"},{value:"te",label:"\u6cf0\u5362\u56fa\u8bed \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41"},{value:"th",label:"\u6cf0\u8bed \u0e44\u0e17\u0e22"},{value:"ti",label:"\u63d0\u683c\u5229\u5c3c\u4e9a\u8bed \u1275\u130d\u122d"},{value:"tk",label:"\u571f\u5e93\u66fc\u8bed T\xfcrkmen Dili"},{value:"tlh-Latn",label:"\u514b\u6797\u8d21\u8bed (\u62c9\u4e01\u6587) Klingon (Latin)"},{value:"tlh-Piqd",label:"\u514b\u6797\u8d21\u8bed (pIqaD) Klingon (pIqaD)"},{value:"tn",label:"Setswana Setswana"},{value:"to",label:"\u6c64\u52a0\u8bed Lea Fakatonga"},{value:"tr",label:"\u571f\u8033\u5176\u8bed T\xfcrk\xe7e"},{value:"tt",label:"\u9791\u977c\u8bed \u0422\u0430\u0442\u0430\u0440"},{value:"ty",label:"\u5854\u5e0c\u63d0\u8bed Reo Tahiti"},{value:"ug",label:"\u7ef4\u543e\u5c14\u8bed \u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\u06d5"},{value:"uk",label:"\u4e4c\u514b\u5170\u8bed \u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},{value:"ur",label:"\u4e4c\u5c14\u90fd\u8bed \u0627\u0631\u062f\u0648"},{value:"uz",label:"\u4e4c\u5179\u522b\u514b\u8bed O\u2018Zbek"},{value:"vi",label:"\u8d8a\u5357\u8bed Ti\u1ebfng Vi\u1ec7t"},{value:"xh",label:"\u79d1\u8428\u8bed isiXhosa"},{value:"yo",label:"\u7ea6\u9c81\u5df4\u8bed \xc8d\xe8 Yor\xf9b\xe1"},{value:"yua",label:"\u5c24\u5361\u7279\u514b\u739b\u96c5\u8bed Yucatec Maya"},{value:"yue",label:"\u7ca4\u8bed (\u7e41\u4f53) \u7cb5\u8a9e (\u7e41\u9ad4)"},{value:"zh-Hans",label:"\u4e2d\u6587 (\u7b80\u4f53) \u4e2d\u6587 (\u7b80\u4f53)"},{value:"zh-Hant",label:"\u4e2d\u6587 (\u7e41\u4f53) \u7e41\u9ad4\u4e2d\u6587 (\u7e41\u9ad4)"},{value:"zu",label:"\u7956\u9c81\u8bed Isi-Zulu"}],o={ar:"\u963f\u62c9\u4f2f\u8bed",am:"\u963f\u59c6\u54c8\u62c9\u8bed",bg:"\u4fdd\u52a0\u5229\u4e9a\u8bed",bn:"\u5b5f\u52a0\u62c9\u8bed",ca:"\u52a0\u6cf0\u7f57\u5c3c\u4e9a\u8bed",cs:"\u6377\u514b\u8bed",da:"\u4e39\u9ea6\u8bed",de:"\u5fb7\u8bed",el:"\u5e0c\u814a\u8bed",en:"\u82f1\u8bed",en_AU:"\u82f1\u8bed\uff08\u6fb3\u5927\u5229\u4e9a\uff09",en_GB:"\u82f1\u8bed\uff08\u82f1\u56fd\uff09",en_US:"\u82f1\u8bed\uff08\u7f8e\u56fd\uff09",es:"\u897f\u73ed\u7259\u8bed",es_419:"\u897f\u73ed\u7259\u8bed\uff08\u62c9\u4e01\u7f8e\u6d32\u548c\u52a0\u52d2\u6bd4\u5730\u533a\uff09",et:"\u7231\u6c99\u5c3c\u4e9a\u8bed",fa:"\u6ce2\u65af\u8bed",fi:"\u82ac\u5170\u8bed",fil:"\u83f2\u5f8b\u5bbe\u8bed",fr:"\u6cd5\u8bed",gu:"\u53e4\u5409\u62c9\u7279\u8bed",he:"\u5e0c\u4f2f\u6765\u8bed",hi:"\u5370\u5730\u8bed",hr:"\u514b\u7f57\u5730\u4e9a\u8bed",hu:"\u5308\u7259\u5229\u8bed",id:"\u5370\u5c3c\u8bed",it:"\u610f\u5927\u5229\u8bed",ja:"\u65e5\u8bed",kn:"\u5361\u7eb3\u8fbe\u8bed",ko:"\u97e9\u8bed",lt:"\u7acb\u9676\u5b9b\u8bed",lv:"\u62c9\u8131\u7ef4\u4e9a\u8bed",ml:"\u9a6c\u62c9\u96c5\u62c9\u59c6\u8bed",mr:"\u9a6c\u62c9\u5730\u8bed",ms:"\u9a6c\u6765\u8bed",nl:"\u8377\u5170\u8bed",no:"\u632a\u5a01\u8bed",pl:"\u6ce2\u5170\u8bed",pt:"\u8461\u8404\u7259\u8bed",pt_BR:"\u8461\u8404\u7259\u8bed\uff08\u5df4\u897f\uff09",pt_PT:"\u8461\u8404\u7259\u8bed\uff08\u8461\u8404\u7259\uff09",ro:"\u7f57\u9a6c\u5c3c\u4e9a\u8bed",ru:"\u4fc4\u8bed",sk:"\u65af\u6d1b\u4f10\u514b\u8bed",sl:"\u65af\u6d1b\u6587\u5c3c\u4e9a\u8bed",sr:"\u585e\u5c14\u7ef4\u4e9a\u8bed",sv:"\u745e\u5178\u8bed",sw:"\u65af\u74e6\u5e0c\u91cc\u8bed",ta:"\u6cf0\u7c73\u5c14\u8bed",te:"\u6cf0\u5362\u56fa\u8bed",th:"\u6cf0\u8bed ",tr:"\u571f\u8033\u5176\u8bed",uk:"\u4e4c\u514b\u5170\u8bed",vi:"\u8d8a\u5357\u8bed",zh:"\u4e2d\u6587",zh_CN:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09",zh_TW:"\u4e2d\u6587\uff08\u53f0\u6e7e\uff09"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],bk8TP:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"checkJWT",()=>s),n.export(r,"getJwtsId",()=>l),n.export(r,"getExtensionId",()=>u),n.export(r,"getExtensionOptionsUrl",()=>c),n.export(r,"openOptionsPage",()=>d);var a=e("jwt-decode"),o=e("@plasmohq/messaging"),i=e("react-toastify");function s(e){if(!e)return!1;let t={id:0,iat:0,exp:0};return e.length>1?t=(0,a.jwtDecode)(e):t.exp=0,!(!t?.id||t?.exp<Date.now()/1e3)}function l(e){try{if(!e)return null;let t={id:0,iat:0,exp:0};if(!(e.length>1)||(t=(0,a.jwtDecode)(e),!t?.id))return null;return t.id}catch(e){return null}}function u(){try{return chrome.runtime.id}catch(e){return console.error("\u65e0\u6cd5\u83b7\u53d6\u6269\u5c55ID:",e),null}}function c(){return chrome.runtime.getURL("options.html")||""}function d({paramValue:e,optionsUrl:t}){let r=`${t}?items=${encodeURIComponent(e)}`;(0,o.sendToBackground)({name:"subtitle-msg",body:{msgType:"open_options_page",optionsUrl:r}}).then(e=>{e?.resultArr?.length>0||e?.error&&((0,i.toast).dismiss(),(0,i.toast).error(`status:${e?.error},name:${e?.name},message:${e?.message}`,{autoClose:99999}))})}},{"jwt-decode":"du0IS","@plasmohq/messaging":"bq7mF","react-toastify":"h8uoK","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],aMQYp:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default={}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],bq9Y7:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default={}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],eP5gr:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default={}},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],iqY5N:[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js"),a=e("@plasmohq/messaging"),o=e("../redux/store"),i=e("~tools/constants"),s=e("~tools/logger"),l=e("date-and-time"),u=n.interopDefault(l),c=e("~tools/background"),d=e("~tools/jwt"),f=e("~tools/storages");let p=async()=>{let e=await (0,f.storage).get(i.STORAGE_RANDOMUUID);return void 0===e&&(e="undefined"!=typeof self&&self.crypto&&self.crypto.randomUUID?self.crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),(0,f.storage).set(i.STORAGE_RANDOMUUID,e)),(0,s.logger).log("randomUUID is ",e),e};async function h(){let[e]=await chrome.tabs.query({active:!0,lastFocusedWindow:!0});return e}async function m(e){await h()}async function g(){let e=new Date,t=(0,u.default).format(e,"YYYY-MM-DD HH:mm:ss");(0,s.logger).log(`in refreshJWT() ${t}`);let r=await (0,f.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT),n=await (0,f.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_HEADIMGURL),a=await (0,f.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_NICKNAME);if(!(0,d.checkJWT)(r)||!(0,c.checkJwtExpireByDays)(r))return;(0,s.logger).log(`after checkJwtExpireByDays() ${t}`);let o=new Headers;o.append("Authorization",`Bearer ${r}`),fetch("https://1zimu.com/subtitle/api/rjwt",{method:"POST",headers:o,redirect:"follow"}).then(async e=>{let t=await e.json();t?.jwt&&(0,d.checkJWT)(t.jwt)?(await (0,f.storageSync).set(i.ZIMU1_USESTORAGE_SYNC_JWT,t.jwt),y("zimu1_jwt",t.jwt),y("zimu1_headimgurl",n),y("zimu1_nickname",a)):console.warn("jwt isn't refresh!")}).catch(e=>(0,s.logger).error(e))}function y(e,t){let r=new Date,n=r.setDate(r.getDate()+365);var a={domain:i.ZIMU1_COM,path:"/",expirationDate:n,httpOnly:!1,name:e,value:t,url:`https://${i.ZIMU1_COM}`};chrome.cookies.set(a,function(e){})}async function b(e){e?.ret1?.retCreateArr?.length>0||e?.ret1?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME do not update"),e?.ret2?.retCreateArr?.length>0||e?.ret2?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME do not update"),e?.ret3?.retCreateArr?.length>0||e?.ret3?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME do not update"),e?.ret4?.retCreateArr?.length>0||e?.ret4?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME do not update"),e?.ret5?.retCreateArr?.length>0||e?.ret5?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME do not update"),e?.ret6?.retCreateArr?.length>0||e?.ret6?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER do not update"),e?.ret7?.retCreateArr?.length>0||e?.ret7?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE do not update"),e?.ret8?.retCreateArr?.length>0||e?.ret8?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI do not update"),e?.ret9?.retCreateArr?.length>0||e?.ret9?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU do not update"),e?.ret10?.retCreateArr?.length>0||e?.ret10?.retUpdateArr?.length>0?await (0,f.storage).set(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN,i.IDLETIME_STORAGE_DEFAULT_VALUE):console.warn("STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN do not update")}async function _(e){let t=new Headers;t.append("Content-Type","application/json");let r=JSON.stringify(e),n=await fetch("https://1zimu.com/subtitle/api/postzimuoptimeuuid",{method:"POST",headers:t,body:r,redirect:"follow"}),a=await n.json();(0,s.logger).log("resultJson in postActiveTimeWithUUIDInterval() is ",a),b(a)}async function T(){let e=await (0,f.storageSync).get(i.ZIMU1_USESTORAGE_SYNC_JWT),t=new Date,r=(0,u.default).format(t,"YYYY-MM-DD HH:mm:ss");(0,s.logger).log(`jwt in postActiveTimeInterval() ${r} :>> `,e);let n=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME),a=(0,c.deleteKeys)(n),o=await (0,f.storage).get(i.STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME),l=(0,c.deleteKeys)(o),h=await (0,f.storage).get(i.STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME),m=(0,c.deleteKeys)(h),g=await (0,f.storage).get(i.STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME),y=(0,c.deleteKeys)(g),T=await (0,f.storage).get(i.STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME),S=(0,c.deleteKeys)(T),v=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER),w=(0,c.deleteKeys)(v),E=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE),x=(0,c.deleteKeys)(E),I=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI),O=(0,c.deleteKeys)(I),A=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU),R=(0,c.deleteKeys)(A),k=await (0,f.storage).get(i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN),M=(0,c.deleteKeys)(k);if(0===Object.keys(l).length&&0===Object.keys(y).length&&0===Object.keys(S).length&&0===Object.keys(a).length&&0===Object.keys(m).length&&0===Object.keys(w).length&&0===Object.keys(O).length&&0===Object.keys(x).length&&0===Object.keys(R).length&&0===Object.keys(M).length){(0,s.logger).log("\u78c1\u76d8\u4e2d\u6570\u636e\u90fd\u4e3a\u7a7a\u65f6 return\uff0c\u51cf\u8f7b\u670d\u52a1\u5668\u538b\u529b");return}let D=await p(),L={uuid:D,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME]:a,[i.STORAGE_IDLETIME_DRAGGABLESUBTITLELIST_ACTIVETIME]:l,[i.STORAGE_IDLETIME_DRAGGABLEDICT_ACTIVETIME]:m,[i.STORAGE_IDLETIME_NEXTJSSUBTITLELIST_ACTIVETIME]:y,[i.STORAGE_IDLETIME_YOUTUBESUBTITLELIST_ACTIVETIME]:S,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_OTHER]:w,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_YOUTUBE]:x,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BILIBILI]:O,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_1ZIMU]:R,[i.STORAGE_IDLETIME_VIDEO_ACTIVETIME_BAIDUPAN]:M};if(!(0,d.checkJWT)(e)){await _(L);return}let C=new Headers;C.append("Content-Type","application/json"),C.append("Authorization",`Bearer ${e}`);let j=JSON.stringify(L),P=await fetch("https://1zimu.com/subtitle/api/postzimuoptime",{method:"POST",headers:C,body:j,redirect:"follow"}),U=await P.json();(0,s.logger).log("resultJson?.ret2?.retCreateArr?.length is ",U?.ret2?.retCreateArr?.length,"resultJson?.ret2?.retUpdateArr?.length is ",U?.ret2?.retUpdateArr?.length),(0,s.logger).log("resultJson?.ret8?.retCreateArr?.length is ",U?.ret8?.retCreateArr?.length,"resultJson?.ret8?.retUpdateArr?.length is ",U?.ret8?.retUpdateArr?.length),b(U)}(0,o.persistor).subscribe(()=>{o.store?.getState()?.odd?.popupShow?(chrome.action.setBadgeText({text:""}),chrome.action.setBadgeBackgroundColor({color:[0,0,0,0]})):(chrome.action.setBadgeText({text:"\u7981\u7528"}),chrome.action.setBadgeBackgroundColor({color:[255,0,0,255]}))}),chrome.tabs.onActivated.addListener(m),chrome.tabs.onRemoved.addListener(async e=>{await h()}),(0,f.storage).watch({storage_user_info:e=>{(0,s.logger).log("storage.watch() storage_user_info is ",e.newValue)},allShortcuts:e=>{},showSubtitle:e=>{},idleTimeYoutubeSubListActivetime:e=>{(0,s.logger).log("storage.watch() idleTimeYoutubeSubListActivetime is ",e.newValue)},idleTimeVideoActivetime:e=>{(0,s.logger).log("storage.watch() idleTimeVideoActivetime is ",e.newValue)},idleTimeDraggableDictActivetime:e=>{},idleTimeDraggableSubListActivetime:e=>{},idleTimeNextjsSubListActivetime:e=>{},zimu1_useStorage_sync_jwt:e=>{}}),(async()=>{await p();let e=new Date,t=(0,u.default).format(e,"YYYY-MM-DD HH:mm:ss");(0,s.logger).log(`in async()=>{} ${t}`);let r=await (0,f.storage).get(i.STORAGE_SHOWSUBTITLE),n=await (0,f.storage).get(i.STORAGE_SHOWSUBTITLELIST),a=await (0,f.storage).get(i.STORAGE_SHOWTTSSUBTITLELIST),o=await (0,f.storage).get(i.STORAGE_SHOWVIDEOMASK),l=await (0,f.storage).get(i.STORAGE_SHOWSUBTITLELISTMASK),c=await (0,f.storage).get(i.STORAGE_SHOWZHSUBTITLE),d=await (0,f.storage).get(i.STORAGE_SHOWFLOATBALL),h=await (0,f.storage).get(i.STORAGE_SUBTITLELIST_TABS_SCROLL),m=await (0,f.storage).get(i.STORAGE_DISABLESHORTCUTS),y=await (0,f.storage).get(i.STORAGE_FOLLOW_READ_TIMES),b=await (0,f.storage).get(i.STORAGE_VIDEO_MASK_HEIGHT),_=await (0,f.storage).get(i.STORAGE_FOLLOW_READ_LENGTH),S=await (0,f.storage).get(i.STORAGE_PLAYED_THEN_PAUSE),v=await (0,f.storage).get(i.STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW),w=await (0,f.storage).get(i.STORAGE_REPLAY_TIMES),E=await (0,f.storage).get(i.STORAGE_MAX_PAUSE_TIME);void 0===w&&await (0,f.storage).set(i.STORAGE_REPLAY_TIMES,i.REPEAT_INIT_TIMES),void 0===E&&await (0,f.storage).set(i.STORAGE_MAX_PAUSE_TIME,i.DEFAULT_MAX_PAUSE_TIME),void 0===r&&await (0,f.storage).set(i.STORAGE_SHOWSUBTITLE,!0),void 0===c&&await (0,f.storage).set(i.STORAGE_SHOWZHSUBTITLE,!0),void 0===d&&await (0,f.storage).set(i.STORAGE_SHOWFLOATBALL,!0),void 0===h&&await (0,f.storage).set(i.STORAGE_SUBTITLELIST_TABS_SCROLL,"2"),void 0===m&&await (0,f.storage).set(i.STORAGE_DISABLESHORTCUTS,!0),void 0===n&&await (0,f.storage).set(i.STORAGE_SHOWSUBTITLELIST,!0),void 0===a&&await (0,f.storage).set(i.STORAGE_SHOWTTSSUBTITLELIST,!1),void 0===o&&await (0,f.storage).set(i.STORAGE_SHOWVIDEOMASK,!1),void 0===l&&await (0,f.storage).set(i.STORAGE_SHOWSUBTITLELISTMASK,!1),void 0===y&&await (0,f.storage).set(i.STORAGE_FOLLOW_READ_TIMES,i.STORAGE_DEFAULT_FOLLOW_READ_TIMES),void 0===b&&await (0,f.storage).set(i.STORAGE_VIDEO_MASK_HEIGHT,i.STORAGE_DEFAULT_VIDEO_MASK_HEIGHT),void 0===_&&await (0,f.storage).set(i.STORAGE_FOLLOW_READ_LENGTH,i.STORAGE_DEFAULT_FOLLOW_READ_LENGTH),void 0===S&&await (0,f.storage).set(i.STORAGE_PLAYED_THEN_PAUSE,!1),void 0===v&&await (0,f.storage).set(i.STORAGE_SUBTITLELIST_LANGUAGE_MODE_TO_SHOW,[i.CASCADER_OPTION_MIX]);let x=await (0,f.storage).get(i.STORAGE_ALL_SHORTCUTS);void 0===x&&await (0,f.storage).set(i.STORAGE_ALL_SHORTCUTS,i.ALL_SHORT_CUTS),await T(),await g()})(),chrome.windows.onRemoved.addListener(async()=>{}),chrome.windows.onCreated.addListener(async()=>{}),chrome.runtime.onInstalled.addListener(async({reason:e})=>{chrome.contextMenus.create({id:"zimu1ContextMenus",title:"\u7ffb\u8bd1\u6240\u9009\u6587\u672c",contexts:["all"]}),(0,s.logger).log("reason :>> ",e),e.includes("install")||e.includes("update")&&await g(),chrome.alarms.clearAll();let t=await chrome.alarms.get("postActiveTimeInterval"),r=await chrome.alarms.get("refreshJWT");t||await chrome.alarms.create("postActiveTimeInterval",{periodInMinutes:3}),r||await chrome.alarms.create("refreshJWT",{periodInMinutes:10})}),chrome.alarms.onAlarm.addListener(async e=>{"postActiveTimeInterval"===e.name?await T():"refreshJWT"===e.name&&await g()}),chrome.contextMenus.onClicked.addListener(async function(e,t){if("zimu1ContextMenus"===e.menuItemId&&e.selectionText)try{let t=e.selectionText,r=t.replace(/[\/\\%\n\r\t]+/g,""),n={wordsFromMenusClick:r,nowTimeFromMenusClick:Date.now()};await (0,a.sendToContentScript)({name:"contextMenusMsg",body:n})}catch(e){console.error("catched error in backgroud.index :>> ",e)}})},{"@plasmohq/messaging":"bq7mF","../redux/store":"4ACRl","~tools/constants":"aHxh8","~tools/logger":"jKVtu","date-and-time":"f4Vy3","~tools/background":"4Sbj5","~tools/jwt":"bk8TP","~tools/storages":"68W9f","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],f4Vy3:[function(e,t,r){/**
* @preserve date-and-time (c) KNOWLEDGECODE | MIT
*/var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"default",()=>p);var a,o={},i={},s="en",l={MMMM:["January","February","March","April","May","June","July","August","September","October","November","December"],MMM:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dddd:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ddd:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dd:["Su","Mo","Tu","We","Th","Fr","Sa"],A:["AM","PM"]},u={YYYY:function(e){return("000"+e.getFullYear()).slice(-4)},YY:function(e){return("0"+e.getFullYear()).slice(-2)},Y:function(e){return""+e.getFullYear()},MMMM:function(e){return this.res.MMMM[e.getMonth()]},MMM:function(e){return this.res.MMM[e.getMonth()]},MM:function(e){return("0"+(e.getMonth()+1)).slice(-2)},M:function(e){return""+(e.getMonth()+1)},DD:function(e){return("0"+e.getDate()).slice(-2)},D:function(e){return""+e.getDate()},HH:function(e){return("0"+e.getHours()).slice(-2)},H:function(e){return""+e.getHours()},A:function(e){return this.res.A[e.getHours()>11|0]},hh:function(e){return("0"+(e.getHours()%12||12)).slice(-2)},h:function(e){return""+(e.getHours()%12||12)},mm:function(e){return("0"+e.getMinutes()).slice(-2)},m:function(e){return""+e.getMinutes()},ss:function(e){return("0"+e.getSeconds()).slice(-2)},s:function(e){return""+e.getSeconds()},SSS:function(e){return("00"+e.getMilliseconds()).slice(-3)},SS:function(e){return("0"+(e.getMilliseconds()/10|0)).slice(-2)},S:function(e){return""+(e.getMilliseconds()/100|0)},dddd:function(e){return this.res.dddd[e.getDay()]},ddd:function(e){return this.res.ddd[e.getDay()]},dd:function(e){return this.res.dd[e.getDay()]},Z:function(e){var t=e.getTimezoneOffset()/.6|0;return(t>0?"-":"+")+("000"+Math.abs(t-(t%100*.4|0))).slice(-4)},ZZ:function(e){var t=e.getTimezoneOffset(),r=Math.abs(t);return(t>0?"-":"+")+("0"+(r/60|0)).slice(-2)+":"+("0"+r%60).slice(-2)},post:function(e){return e},res:l},c={YYYY:function(e){return this.exec(/^\d{4}/,e)},Y:function(e){return this.exec(/^\d{1,4}/,e)},MMMM:function(e){var t=this.find(this.res.MMMM,e);return t.value++,t},MMM:function(e){var t=this.find(this.res.MMM,e);return t.value++,t},MM:function(e){return this.exec(/^\d\d/,e)},M:function(e){return this.exec(/^\d\d?/,e)},DD:function(e){return this.exec(/^\d\d/,e)},D:function(e){return this.exec(/^\d\d?/,e)},HH:function(e){return this.exec(/^\d\d/,e)},H:function(e){return this.exec(/^\d\d?/,e)},A:function(e){return this.find(this.res.A,e)},hh:function(e){return this.exec(/^\d\d/,e)},h:function(e){return this.exec(/^\d\d?/,e)},mm:function(e){return this.exec(/^\d\d/,e)},m:function(e){return this.exec(/^\d\d?/,e)},ss:function(e){return this.exec(/^\d\d/,e)},s:function(e){return this.exec(/^\d\d?/,e)},SSS:function(e){return this.exec(/^\d{1,3}/,e)},SS:function(e){var t=this.exec(/^\d\d?/,e);return t.value*=10,t},S:function(e){var t=this.exec(/^\d/,e);return t.value*=100,t},Z:function(e){var t=this.exec(/^[+-]\d{2}[0-5]\d/,e);return t.value=-((t.value/100|0)*60)-t.value%100,t},ZZ:function(e){var t=/^([+-])(\d{2}):([0-5]\d)/.exec(e)||["","","",""];return{value:0-((t[1]+t[2]|0)*60+(t[1]+t[3]|0)),length:t[0].length}},h12:function(e,t){return(12===e?0:e)+12*t},exec:function(e,t){var r=(e.exec(t)||[""])[0];return{value:0|r,length:r.length}},find:function(e,t){for(var r,n=-1,a=0,o=0,i=e.length;o<i;o++)r=e[o],!t.indexOf(r)&&r.length>a&&(n=o,a=r.length);return{value:n,length:a}},pre:function(e){return e},res:l},d=function(e,t,r,n){var a,o={};for(a in e)o[a]=e[a];for(a in t||{})!!r^!!o[a]||(o[a]=t[a]);return n&&(o.res=n),o},f={_formatter:u,_parser:c};f.compile=function(e){return[e].concat(e.match(/\[(?:[^[\]]|\[[^[\]]*])*]|([A-Za-z])\1*|\.{3}|./g)||[])},f.format=function(e,t,r){for(var n,o=this||a,i="string"==typeof t?o.compile(t):t,s=o._formatter,l=function(){if(r){var t=new Date(e.getTime());return t.getFullYear=t.getUTCFullYear,t.getMonth=t.getUTCMonth,t.getDate=t.getUTCDate,t.getHours=t.getUTCHours,t.getMinutes=t.getUTCMinutes,t.getSeconds=t.getUTCSeconds,t.getMilliseconds=t.getUTCMilliseconds,t.getDay=t.getUTCDay,t.getTimezoneOffset=function(){return 0},t.getTimezoneName=function(){return"UTC"},t}return e}(),u=/^\[(.*)\]$/,c="",d=1,f=i.length;d<f;d++)c+=s[n=i[d]]?s.post(s[n](l,i[0])):u.test(n)?n.replace(u,"$1"):n;return c},f.preparse=function(e,t){var r=this||a,n="string"==typeof t?r.compile(t):t,o=r._parser,i={Y:1970,M:1,D:1,H:0,A:0,h:0,m:0,s:0,S:0,Z:0,_index:0,_length:0,_match:0},s=/^\[(.*)\]$/;e=o.pre(e);for(var l,u,c,d=1,f=n.length;d<f;d++)if(l=n[d],u=e.substring(i._index),o[l]){if(!(c=o[l](u,n[0])).length)break;i[c.token||l.charAt(0)]=c.value,i._index+=c.length,i._match++}else if(l===u.charAt(0)||" "===l)i._index++;else if(s.test(l)&&!u.indexOf(l.replace(s,"$1")))i._index+=l.length-2;else if("..."===l){i._index=e.length;break}else break;return i.H=i.H||o.h12(i.h,i.A),i._length=e.length,i},f.parse=function(e,t,r){var n=this||a,o="string"==typeof t?n.compile(t):t,i=n.preparse(e,o);return n.isValid(i)?(i.M-=i.Y<100?22801:1,r||~n._parser.find(o,"ZZ").value)?new Date(Date.UTC(i.Y,i.M,i.D,i.H,i.m+i.Z,i.s,i.S)):new Date(i.Y,i.M,i.D,i.H,i.m,i.s,i.S):new Date(NaN)},f.isValid=function(e,t){var r=this||a,n="string"==typeof e?r.preparse(e,t):e;return!(n._index<1||n._length<1||n._index-n._length||n._match<1||n.Y<1||n.Y>9999||n.M<1||n.M>12||n.D<1||n.D>new Date(n.Y,n.M,0).getDate()||n.H<0||n.H>23||n.m<0||n.m>59||n.s<0||n.s>59||n.S<0||n.S>999||n.Z<-840||n.Z>720)},f.transform=function(e,t,r,n){let o=this||a;return o.format(o.parse(e,t),r,n)},f.addYears=function(e,t,r){return(this||a).addMonths(e,12*t,r)},f.addMonths=function(e,t,r){var n=new Date(e.getTime());return r?(n.setUTCMonth(n.getUTCMonth()+t),n.getUTCDate()<e.getUTCDate()&&n.setUTCDate(0)):(n.setMonth(n.getMonth()+t),n.getDate()<e.getDate()&&n.setDate(0)),n},f.addDays=function(e,t,r){var n=new Date(e.getTime());return r?n.setUTCDate(n.getUTCDate()+t):n.setDate(n.getDate()+t),n},f.addHours=function(e,t){return new Date(e.getTime()+36e5*t)},f.addMinutes=function(e,t){return new Date(e.getTime()+6e4*t)},f.addSeconds=function(e,t){return new Date(e.getTime()+1e3*t)},f.addMilliseconds=function(e,t){return new Date(e.getTime()+t)},f.subtract=function(e,t){var r=e.getTime()-t.getTime();return{toMilliseconds:function(){return r},toSeconds:function(){return r/1e3},toMinutes:function(){return r/6e4},toHours:function(){return r/36e5},toDays:function(){return r/864e5}}},f.isLeapYear=function(e){return!(e%4)&&!!(e%100)||!(e%400)},f.isSameDay=function(e,t){return e.toDateString()===t.toDateString()},f.locale=function(e,t){o[e]||(o[e]=t)},f.plugin=function(e,t){i[e]||(i[e]=t)},(a=d(f)).locale=function(e){var t="function"==typeof e?e:a.locale[e];if(!t)return s;var r=o[s=t(f)]||{},n=d(l,r.res,!0),p=d(u,r.formatter,!0,n),h=d(c,r.parser,!0,n);for(var m in a._formatter=p,a._parser=h,i)a.extend(i[m]);return s},a.extend=function(e){var t=d(a._parser.res,e.res),r=e.extender||{};for(var n in a._formatter=d(a._formatter,e.formatter,!1,t),a._parser=d(a._parser,e.parser,!1,t),r)a[n]||(a[n]=r[n])},a.plugin=function(e){var t="function"==typeof e?e:a.plugin[e];t&&a.extend(i[t(f,a)]||{})};var p=a},{"@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"4Sbj5":[function(e,t,r){var n=e("@parcel/transformer-js/src/esmodule-helpers.js");n.defineInteropFlag(r),n.export(r,"isValidDate",()=>s),n.export(r,"deleteKeys",()=>l),n.export(r,"checkJwtExpireByDays",()=>u);var a=e("moment"),o=n.interopDefault(a),i=e("jwt-decode");function s(e){return(0,o.default)(e,"YYYY-MM-DD",!0).isValid()}function l(e){return e?Object.keys(e).reduce((t,r)=>(s(r)&&(t[r]=e[r]),t),{}):{}}function u(e,t=15){if(!e)return!1;let r={id:0,iat:0,exp:0};e.length>1?r=(0,i.jwtDecode)(e):r.exp=0;let n=Date.now()/1e3,a=(r.exp-n)/86400;return a<t}},{moment:"2Vnr9","jwt-decode":"du0IS","@parcel/transformer-js/src/esmodule-helpers.js":"hbR2Q"}],"2Vnr9":[function(e,t,r){t.exports=function(){function e(){return W.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(a(e,t))return!1;return!0}function i(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var r,n=[],a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function c(e,t){for(var r in t)a(t,r)&&(e[r]=t[r]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,r,n){return ta(e,t,r,n,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());return(n&&(t=f(e),r=F.call(t.parsedDateParts,function(e){return null!=e}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e))?n:(e._isValid=n,e._isValid)}function h(e){var t=d(NaN);return null!=e?c(f(t),e):f(t).userInvalidated=!0,t}F=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var m,g,y=e.momentProperties=[],b=!1;function _(e,t){var r,n,a,o=y.length;if(i(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),i(t._i)||(e._i=t._i),i(t._f)||(e._f=t._f),i(t._l)||(e._l=t._l),i(t._strict)||(e._strict=t._strict),i(t._tzm)||(e._tzm=t._tzm),i(t._isUTC)||(e._isUTC=t._isUTC),i(t._offset)||(e._offset=t._offset),i(t._pf)||(e._pf=f(t)),i(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)i(a=t[n=y[r]])||(e[n]=a);return e}function T(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,e.updateOffset(this),b=!1)}function S(e){return e instanceof T||null!=e&&null!=e._isAMomentObject}function v(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function w(t,r){var n=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),n){var o,i,s,l=[],u=arguments.length;for(i=0;i<u;i++){if(o="","object"==typeof arguments[i]){for(s in o+="\n["+i+"] ",arguments[0])a(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[i];l.push(o)}v(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+Error().stack),n=!1}return r.apply(this,arguments)},r)}var E={};function x(t,r){null!=e.deprecationHandler&&e.deprecationHandler(t,r),E[t]||(v(r),E[t]=!0)}function I(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e,t){var r,o=c({},e);for(r in t)a(t,r)&&(n(e[r])&&n(t[r])?(o[r]={},c(o[r],e[r]),c(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)a(e,r)&&!a(t,r)&&n(e[r])&&(o[r]=c({},o[r]));return o}function A(e){null!=e&&this.set(e)}function R(e,t,r){var n=""+Math.abs(e);return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,B=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)a(e,t)&&r.push(t);return r};var k=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},L={};function C(e,t,r,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),e&&(L[e]=a),t&&(L[t[0]]=function(){return R(a.apply(this,arguments),t[1],t[2])}),r&&(L[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(D[t=P(t,e.localeData())]=D[t]||function(e){var t,r,n,a=e.match(k);for(r=0,n=a.length;r<n;r++)L[a[r]]?a[r]=L[a[r]]:a[r]=(t=a[r]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=I(a[r])?a[r].call(t,e):a[r];return o}}(t),D[t](e)):e.localeData().invalidDate()}function P(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(M.lastIndex=0;r>=0&&M.test(e);)e=e.replace(M,n),M.lastIndex=0,r-=1;return e}var U={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function N(e){return"string"==typeof e?U[e]||U[e.toLowerCase()]:void 0}function Y(e){var t,r,n={};for(r in e)a(e,r)&&(t=N(r))&&(n[t]=e[r]);return n}var W,F,B,G,V={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},H=/\d/,z=/\d\d/,$=/\d{3}/,q=/\d{4}/,Z=/[+-]?\d{6}/,K=/\d\d?/,J=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,et=/[+-]?\d{1,6}/,er=/\d+/,en=/[+-]?\d+/,ea=/Z|[+-]\d\d:?\d\d/gi,eo=/Z|[+-]\d\d(?::?\d\d)?/gi,ei=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,es=/^[1-9]\d?/,el=/^([1-9]\d|\d)/;function eu(e,t,r){G[e]=I(t)?t:function(e,n){return e&&r?r:t}}function ec(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ed(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ef(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=ed(t)),r}G={};var ep={};function eh(e,t){var r,n,a=t;for("string"==typeof e&&(e=[e]),s(t)&&(a=function(e,r){r[t]=ef(e)}),n=e.length,r=0;r<n;r++)ep[e[r]]=a}function em(e,t){eh(e,function(e,r,n,a){n._w=n._w||{},t(e,n._w,n,a)})}function eg(e){return e%4==0&&e%100!=0||e%400==0}function ey(e){return eg(e)?366:365}C("Y",0,0,function(){var e=this.year();return e<=9999?R(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),eu("Y",en),eu("YY",K,z),eu("YYYY",ee,q),eu("YYYYY",et,Z),eu("YYYYYY",et,Z),eh(["YYYYY","YYYYYY"],0),eh("YYYY",function(t,r){r[0]=2===t.length?e.parseTwoDigitYear(t):ef(t)}),eh("YY",function(t,r){r[0]=e.parseTwoDigitYear(t)}),eh("Y",function(e,t){t[0]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return ef(e)+(ef(e)>68?1900:2e3)};var eb=e_("FullYear",!0);function e_(t,r){return function(n){return null!=n?(eS(this,t,n),e.updateOffset(this,r),this):eT(this,t)}}function eT(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function eS(e,t,r){var n,a,o,i;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(a?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(a?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(a?n.setUTCHours(r):n.setHours(r));case"Date":return void(a?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=e.month(),i=29!==(i=e.date())||1!==o||eg(r)?i:28,a?n.setUTCFullYear(r,o,i):n.setFullYear(r,o,i)}}function ev(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=(t%12+12)%12;return e+=(t-r)/12,1===r?eg(e)?29:28:31-r%7%2}eB=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return -1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),eu("M",K,es),eu("MM",K,z),eu("MMM",function(e,t){return t.monthsShortRegex(e)}),eu("MMMM",function(e,t){return t.monthsRegex(e)}),eh(["M","MM"],function(e,t){t[1]=ef(e)-1}),eh(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);null!=a?t[1]=a:f(r).invalidMonth=e});var ew="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),eE=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;function ex(e,t,r){var n,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(n=0,this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[];n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(a=eB.call(this._shortMonthsParse,i))?a:null:-1!==(a=eB.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=eB.call(this._shortMonthsParse,i))?a:-1!==(a=eB.call(this._longMonthsParse,i))?a:null:-1!==(a=eB.call(this._longMonthsParse,i))?a:-1!==(a=eB.call(this._shortMonthsParse,i))?a:null}function eI(e,t){if(!e.isValid())return e;if("string"==typeof t){if(/^\d+$/.test(t))t=ef(t);else if(!s(t=e.localeData().monthsParse(t)))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,ev(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function eO(t){return null!=t?(eI(this,t),e.updateOffset(this,!0),this):eT(this,"Month")}function eA(){function e(e,t){return t.length-e.length}var t,r,n,a,o=[],i=[],s=[];for(t=0;t<12;t++)r=d([2e3,t]),n=ec(this.monthsShort(r,"")),a=ec(this.months(r,"")),o.push(n),i.push(a),s.push(a),s.push(n);o.sort(e),i.sort(e),s.sort(e),this._monthsRegex=RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+o.join("|")+")","i")}function eR(e,t,r,n,a,o,i){var s;return e<100&&e>=0?isFinite((s=new Date(e+400,t,r,n,a,o,i)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,r,n,a,o,i),s}function ek(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,r))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eM(e,t,r){var n=7+t-r;return-((7+ek(e,0,n).getUTCDay()-t)%7)+n-1}function eD(e,t,r,n,a){var o,i,s=1+7*(t-1)+(7+r-n)%7+eM(e,n,a);return s<=0?i=ey(o=e-1)+s:s>ey(e)?(o=e+1,i=s-ey(e)):(o=e,i=s),{year:o,dayOfYear:i}}function eL(e,t,r){var n,a,o=eM(e.year(),t,r),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?n=i+eC(a=e.year()-1,t,r):i>eC(e.year(),t,r)?(n=i-eC(e.year(),t,r),a=e.year()+1):(a=e.year(),n=i),{week:n,year:a}}function eC(e,t,r){var n=eM(e,t,r),a=eM(e+1,t,r);return(ey(e)-n+a)/7}function ej(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),eu("w",K,es),eu("ww",K,z),eu("W",K,es),eu("WW",K,z),em(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=ef(e)}),C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),eu("d",K),eu("e",K),eu("E",K),eu("dd",function(e,t){return t.weekdaysMinRegex(e)}),eu("ddd",function(e,t){return t.weekdaysShortRegex(e)}),eu("dddd",function(e,t){return t.weekdaysRegex(e)}),em(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);null!=a?t.d=a:f(r).invalidWeekday=e}),em(["d","e","E"],function(e,t,r,n){t[n]=ef(e)});var eP="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function eU(e,t,r){var n,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(n=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(a=eB.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=eB.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=eB.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=eB.call(this._weekdaysParse,i))||-1!==(a=eB.call(this._shortWeekdaysParse,i))?a:-1!==(a=eB.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=eB.call(this._shortWeekdaysParse,i))||-1!==(a=eB.call(this._weekdaysParse,i))?a:-1!==(a=eB.call(this._minWeekdaysParse,i))?a:null:-1!==(a=eB.call(this._minWeekdaysParse,i))||-1!==(a=eB.call(this._weekdaysParse,i))?a:-1!==(a=eB.call(this._shortWeekdaysParse,i))?a:null}function eN(){function e(e,t){return t.length-e.length}var t,r,n,a,o,i=[],s=[],l=[],u=[];for(t=0;t<7;t++)r=d([2e3,1]).day(t),n=ec(this.weekdaysMin(r,"")),a=ec(this.weekdaysShort(r,"")),o=ec(this.weekdays(r,"")),i.push(n),s.push(a),l.push(o),u.push(n),u.push(a),u.push(o);i.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+i.join("|")+")","i")}function eY(){return this.hours()%12||12}function eW(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eF(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,eY),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+eY.apply(this)+R(this.minutes(),2)}),C("hmmss",0,0,function(){return""+eY.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),eW("a",!0),eW("A",!1),eu("a",eF),eu("A",eF),eu("H",K,el),eu("h",K,es),eu("k",K,es),eu("HH",K,z),eu("hh",K,z),eu("kk",K,z),eu("hmm",J),eu("hmmss",X),eu("Hmm",J),eu("Hmmss",X),eh(["H","HH"],3),eh(["k","kk"],function(e,t,r){var n=ef(e);t[3]=24===n?0:n}),eh(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),eh(["h","hh"],function(e,t,r){t[3]=ef(e),f(r).bigHour=!0}),eh("hmm",function(e,t,r){var n=e.length-2;t[3]=ef(e.substr(0,n)),t[4]=ef(e.substr(n)),f(r).bigHour=!0}),eh("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[3]=ef(e.substr(0,n)),t[4]=ef(e.substr(n,2)),t[5]=ef(e.substr(a)),f(r).bigHour=!0}),eh("Hmm",function(e,t,r){var n=e.length-2;t[3]=ef(e.substr(0,n)),t[4]=ef(e.substr(n))}),eh("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[3]=ef(e.substr(0,n)),t[4]=ef(e.substr(n,2)),t[5]=ef(e.substr(a))});var eB,eG,eV=e_("Hours",!0),eH={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:ew,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eP,meridiemParse:/[ap]\.?m?\.?/i},ez={},e$={};function eq(e){return e?e.toLowerCase().replace("_","-"):e}function eZ(e){var r=null;if(void 0===ez[e]&&t&&t.exports&&e&&e.match("^[^/\\\\]*$"))try{r=eG._abbr,(void 0)("./locale/"+e),eK(r)}catch(t){ez[e]=null}return ez[e]}function eK(e,t){var r;return e&&((r=i(t)?eX(e):eJ(e,t))?eG=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eG._abbr}function eJ(e,t){if(null===t)return delete ez[e],null;var r,n=eH;if(t.abbr=e,null!=ez[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ez[e]._config;else if(null!=t.parentLocale){if(null!=ez[t.parentLocale])n=ez[t.parentLocale]._config;else{if(null==(r=eZ(t.parentLocale)))return e$[t.parentLocale]||(e$[t.parentLocale]=[]),e$[t.parentLocale].push({name:e,config:t}),null;n=r._config}}return ez[e]=new A(O(n,t)),e$[e]&&e$[e].forEach(function(e){eJ(e.name,e.config)}),eK(e),ez[e]}function eX(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eG;if(!r(e)){if(t=eZ(e))return t;e=[e]}return function(e){for(var t,r,n,a,o=0;o<e.length;){for(t=(a=eq(e[o]).split("-")).length,r=(r=eq(e[o+1]))?r.split("-"):null;t>0;){if(n=eZ(a.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(a,r)>=t-1)break;t--}o++}return eG}(e)}function eQ(e){var t,r=e._a;return r&&-2===f(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>ev(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var e0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/Z|[+-]\d\d(?::?\d\d)?/,e3=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e6=/^\/?Date\((-?\d+)/i,e5=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e8={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e9(e){var t,r,n,a,o,i,s=e._i,l=e0.exec(s)||e1.exec(s),u=e3.length,c=e4.length;if(l){for(t=0,f(e).iso=!0,r=u;t<r;t++)if(e3[t][1].exec(l[1])){a=e3[t][0],n=!1!==e3[t][2];break}if(null==a){e._isValid=!1;return}if(l[3]){for(t=0,r=c;t<r;t++)if(e4[t][1].exec(l[3])){o=(l[2]||" ")+e4[t][0];break}if(null==o){e._isValid=!1;return}}if(!n&&null!=o){e._isValid=!1;return}if(l[4]){if(e2.exec(l[4]))i="Z";else{e._isValid=!1;return}}e._f=a+(o||"")+(i||""),tr(e)}else e._isValid=!1}function e7(e){var t,r,n,a,o,i,s,l,u,c=e5.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(r=c[4],n=c[3],a=c[2],o=c[5],i=c[6],s=c[7],l=[(t=parseInt(r,10))<=49?2e3+t:t<=999?1900+t:t,ew.indexOf(n),parseInt(a,10),parseInt(o,10),parseInt(i,10)],s&&l.push(parseInt(s,10)),(u=c[1])&&eP.indexOf(u)!==new Date(l[0],l[1],l[2]).getDay()&&(f(e).weekdayMismatch=!0,e._isValid=!1,1))return;e._a=l,e._tzm=function(e,t,r){if(e)return e8[e];if(t)return 0;var n=parseInt(r,10),a=n%100;return 60*((n-a)/100)+a}(c[8],c[9],c[10]),e._d=ek.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function te(e,t,r){return null!=e?e:null!=t?t:r}function tt(t){var r,n,a,o,i,s,l,u,c,d,p,h,m,g,y,b=[];if(!t._d){for(d=new Date(e.now()),m=t._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],t._w&&null==t._a[2]&&null==t._a[1]&&(null!=(r=t._w).GG||null!=r.W||null!=r.E?(i=1,s=4,n=te(r.GG,t._a[0],eL(to(),1,4).year),a=te(r.W,1),((o=te(r.E,1))<1||o>7)&&(u=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,c=eL(to(),i,s),n=te(r.gg,t._a[0],c.year),a=te(r.w,c.week),null!=r.d?((o=r.d)<0||o>6)&&(u=!0):null!=r.e?(o=r.e+i,(r.e<0||r.e>6)&&(u=!0)):o=i),a<1||a>eC(n,i,s)?f(t)._overflowWeeks=!0:null!=u?f(t)._overflowWeekday=!0:(l=eD(n,a,o,i,s),t._a[0]=l.year,t._dayOfYear=l.dayOfYear)),null!=t._dayOfYear&&(y=te(t._a[0],m[0]),(t._dayOfYear>ey(y)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),h=ek(y,0,t._dayOfYear),t._a[1]=h.getUTCMonth(),t._a[2]=h.getUTCDate()),p=0;p<3&&null==t._a[p];++p)t._a[p]=b[p]=m[p];for(;p<7;p++)t._a[p]=b[p]=null==t._a[p]?2===p?1:0:t._a[p];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?ek:eR).apply(null,b),g=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==g&&(f(t).weekdayMismatch=!0)}}function tr(t){if(t._f===e.ISO_8601){e9(t);return}if(t._f===e.RFC_2822){e7(t);return}t._a=[],f(t).empty=!0;var r,n,o,i,s,l,u,c,d,p,h,m=""+t._i,g=m.length,y=0;for(s=0,h=(u=P(t._f,t._locale).match(k)||[]).length;s<h;s++)(c=u[s],(l=(m.match(a(G,c)?G[c](t._strict,t._locale):new RegExp(ec(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,a){return t||r||n||a}))))||[])[0])&&((d=m.substr(0,m.indexOf(l))).length>0&&f(t).unusedInput.push(d),m=m.slice(m.indexOf(l)+l.length),y+=l.length),L[c])?(l?f(t).empty=!1:f(t).unusedTokens.push(c),null!=l&&a(ep,c)&&ep[c](l,t._a,t,c)):t._strict&&!l&&f(t).unusedTokens.push(c);f(t).charsLeftOver=g-y,m.length>0&&f(t).unusedInput.push(m),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=(r=t._locale,n=t._a[3],null==(o=t._meridiem)?n:null!=r.meridiemHour?r.meridiemHour(n,o):(null!=r.isPM&&((i=r.isPM(o))&&n<12&&(n+=12),i||12!==n||(n=0)),n)),null!==(p=f(t).era)&&(t._a[0]=t._locale.erasConvertYear(p,t._a[0])),tt(t),eQ(t)}function tn(t){var a,o=t._i,d=t._f;return(t._locale=t._locale||eX(t._l),null===o||void 0===d&&""===o)?h({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),S(o))?new T(eQ(o)):(l(o)?t._d=o:r(d)?function(e){var t,r,n,a,o,i,s=!1,l=e._f.length;if(0===l){f(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<l;a++)o=0,i=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],tr(t),p(t)&&(i=!0),o+=f(t).charsLeftOver+10*f(t).unusedTokens.length,f(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||i)&&(n=o,r=t,i&&(s=!0));c(e,r||t)}(t):d?tr(t):i(a=t._i)?t._d=new Date(e.now()):l(a)?t._d=new Date(a.valueOf()):"string"==typeof a?function(t){var r=e6.exec(t._i);if(null!==r){t._d=new Date(+r[1]);return}e9(t),!1===t._isValid&&(delete t._isValid,e7(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))}(t):r(a)?(t._a=u(a.slice(0),function(e){return parseInt(e,10)}),tt(t)):n(a)?function(e){if(!e._d){var t=Y(e._i),r=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),tt(e)}}(t):s(a)?t._d=new Date(a):e.createFromInputFallback(t),p(t)||(t._d=null),t)}function ta(e,t,a,i,s){var l,u={};return(!0===t||!1===t)&&(i=t,t=void 0),(!0===a||!1===a)&&(i=a,a=void 0),(n(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=a,u._i=e,u._f=t,u._strict=i,(l=new T(eQ(tn(u))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function to(e,t,r,n){return ta(e,t,r,n,!1)}e.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var ti=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()}),ts=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()});function tl(e,t){var n,a;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return to();for(a=1,n=t[0];a<t.length;++a)(!t[a].isValid()||t[a][e](n))&&(n=t[a]);return n}var tu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tc(e){var t=Y(e),r=t.year||0,n=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,r,n=!1,o=tu.length;for(t in e)if(a(e,t)&&!(-1!==eB.call(tu,t)&&(null==e[t]||!isNaN(e[t]))))return!1;for(r=0;r<o;++r)if(e[tu[r]]){if(n)return!1;parseFloat(e[tu[r]])!==ef(e[tu[r]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+36e5*l,this._days=+s+7*i,this._months=+o+3*n+12*r,this._data={},this._locale=eX(),this._bubble()}function td(e){return e instanceof tc}function tf(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function tp(e,t){C(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+R(~~(e/60),2)+t+R(~~e%60,2)})}tp("Z",":"),tp("ZZ",""),eu("Z",eo),eu("ZZ",eo),eh(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=tm(eo,e)});var th=/([\+\-]|\d\d)/gi;function tm(e,t){var r,n,a=(t||"").match(e);return null===a?null:0===(n=+(60*(r=((a[a.length-1]||[])+"").match(th)||["-",0,0])[1])+ef(r[2]))?0:"+"===r[0]?n:-n}function tg(t,r){var n,a;return r._isUTC?(n=r.clone(),a=(S(t)||l(t)?t.valueOf():to(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),e.updateOffset(n,!1),n):to(t).local()}function ty(e){return-Math.round(e._d.getTimezoneOffset())}function tb(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var t_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,tT=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tS(e,t){var r,n,o,i,l,u,c=e,d=null;return td(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=t_.exec(e))?(i="-"===d[1]?-1:1,c={y:0,d:ef(d[2])*i,h:ef(d[3])*i,m:ef(d[4])*i,s:ef(d[5])*i,ms:ef(tf(1e3*d[6]))*i}):(d=tT.exec(e))?(i="-"===d[1]?-1:1,c={y:tv(d[2],i),M:tv(d[3],i),w:tv(d[4],i),d:tv(d[5],i),h:tv(d[6],i),m:tv(d[7],i),s:tv(d[8],i)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=to(c.from),n=to(c.to),u=r.isValid()&&n.isValid()?(n=tg(n,r),r.isBefore(n)?o=tw(r,n):((o=tw(n,r)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(c={}).ms=u.milliseconds,c.M=u.months),l=new tc(c),td(e)&&a(e,"_locale")&&(l._locale=e._locale),td(e)&&a(e,"_isValid")&&(l._isValid=e._isValid),l}function tv(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function tw(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function tE(e,t){return function(r,n){var a;return null===n||isNaN(+n)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),tx(this,tS(r,n),e),this}}function tx(t,r,n,a){var o=r._milliseconds,i=tf(r._days),s=tf(r._months);t.isValid()&&(a=null==a||a,s&&eI(t,eT(t,"Month")+s*n),i&&eS(t,"Date",eT(t,"Date")+i*n),o&&t._d.setTime(t._d.valueOf()+o*n),a&&e.updateOffset(t,i||s))}tS.fn=tc.prototype,tS.invalid=function(){return tS(NaN)};var tI=tE(1,"add"),tO=tE(-1,"subtract");function tA(e){return"string"==typeof e||e instanceof String}function tR(e,t){if(e.date()<t.date())return-tR(t,e);var r,n=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(n,"months");return r=t-a<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(n+1,"months")-a),-(n+r)||0}function tk(e){var t;return void 0===e?this._locale._abbr:(null!=(t=eX(e))&&(this._locale=t),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tM=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function tD(){return this._locale}function tL(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-126227808e5:new Date(e,t,r).valueOf()}function tC(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-126227808e5:Date.UTC(e,t,r)}function tj(e,t){return t.erasAbbrRegex(e)}function tP(){var e,t,r,n,a,o=[],i=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)r=ec(u[e].name),n=ec(u[e].abbr),a=ec(u[e].narrow),i.push(r),o.push(n),s.push(a),l.push(r),l.push(n),l.push(a);this._erasRegex=RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+s.join("|")+")","i")}function tU(e,t){C(0,[e,e.length],0,t)}function tN(e,t,r,n,a){var o;return null==e?eL(this,n,a).year:(t>(o=eC(e,n,a))&&(t=o),tY.call(this,e,t,r,n,a))}function tY(e,t,r,n,a){var o=eD(e,t,r,n,a),i=ek(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),eu("N",tj),eu("NN",tj),eu("NNN",tj),eu("NNNN",function(e,t){return t.erasNameRegex(e)}),eu("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),eh(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?f(r).era=a:f(r).invalidEra=e}),eu("y",er),eu("yy",er),eu("yyy",er),eu("yyyy",er),eu("yo",function(e,t){return t._eraYearOrdinalRegex||er}),eh(["y","yy","yyy","yyyy"],0),eh(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[0]=r._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tU("gggg","weekYear"),tU("ggggg","weekYear"),tU("GGGG","isoWeekYear"),tU("GGGGG","isoWeekYear"),eu("G",en),eu("g",en),eu("GG",K,z),eu("gg",K,z),eu("GGGG",ee,q),eu("gggg",ee,q),eu("GGGGG",et,Z),eu("ggggg",et,Z),em(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=ef(e)}),em(["gg","GG"],function(t,r,n,a){r[a]=e.parseTwoDigitYear(t)}),C("Q",0,"Qo","quarter"),eu("Q",H),eh("Q",function(e,t){t[1]=(ef(e)-1)*3}),C("D",["DD",2],"Do","date"),eu("D",K,es),eu("DD",K,z),eu("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),eh(["D","DD"],2),eh("Do",function(e,t){t[2]=ef(e.match(K)[0])});var tW=e_("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),eu("DDD",Q),eu("DDDD",$),eh(["DDD","DDDD"],function(e,t,r){r._dayOfYear=ef(e)}),C("m",["mm",2],0,"minute"),eu("m",K,el),eu("mm",K,z),eh(["m","mm"],4);var tF=e_("Minutes",!1);C("s",["ss",2],0,"second"),eu("s",K,el),eu("ss",K,z),eh(["s","ss"],5);var tB=e_("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),eu("S",Q,H),eu("SS",Q,z),eu("SSS",Q,$),m="SSSS";m.length<=9;m+="S")eu(m,er);function tG(e,t){t[6]=ef(("0."+e)*1e3)}for(m="S";m.length<=9;m+="S")eh(m,tG);g=e_("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var tV=T.prototype;function tH(e){return e}tV.add=tI,tV.calendar=function(t,i){if(1==arguments.length){if(arguments[0]){var u,c,d;(u=arguments[0],S(u)||l(u)||tA(u)||s(u)||(c=r(u),d=!1,c&&(d=0===u.filter(function(e){return!s(e)&&tA(u)}).length),c&&d)||function(e){var t,r,i=n(e)&&!o(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)r=l[t],s=s||a(e,r);return i&&s}(u)||null==u)?(t=arguments[0],i=void 0):function(e){var t,r,i=n(e)&&!o(e),s=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)r=l[t],s=s||a(e,r);return i&&s}(arguments[0])&&(i=arguments[0],t=void 0)}else t=void 0,i=void 0}var f=t||to(),p=tg(f,this).startOf("day"),h=e.calendarFormat(this,p)||"sameElse",m=i&&(I(i[h])?i[h].call(this,f):i[h]);return this.format(m||this.localeData().calendar(h,this,to(f)))},tV.clone=function(){return new T(this)},tV.diff=function(e,t,r){var n,a,o;if(!this.isValid()||!(n=tg(e,this)).isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=N(t)){case"year":o=tR(this,n)/12;break;case"month":o=tR(this,n);break;case"quarter":o=tR(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-a)/864e5;break;case"week":o=(this-n-a)/6048e5;break;default:o=this-n}return r?o:ed(o)},tV.endOf=function(t){var r,n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?tC:tL,t){case"year":r=n(this.year()+1,0,1)-1;break;case"quarter":r=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=n(this.year(),this.month()+1,1)-1;break;case"week":r=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=36e5-((r+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5-1;break;case"minute":r=this._d.valueOf(),r+=6e4-(r%6e4+6e4)%6e4-1;break;case"second":r=this._d.valueOf(),r+=1e3-(r%1e3+1e3)%1e3-1}return this._d.setTime(r),e.updateOffset(this,!0),this},tV.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var r=j(this,t);return this.localeData().postformat(r)},tV.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||to(e).isValid())?tS({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tV.fromNow=function(e){return this.from(to(),e)},tV.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||to(e).isValid())?tS({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tV.toNow=function(e){return this.to(to(),e)},tV.get=function(e){return I(this[e=N(e)])?this[e]():this},tV.invalidAt=function(){return f(this).overflow},tV.isAfter=function(e,t){var r=S(e)?e:to(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())},tV.isBefore=function(e,t){var r=S(e)?e:to(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())},tV.isBetween=function(e,t,r,n){var a=S(e)?e:to(e),o=S(t)?t:to(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(a,r):!this.isBefore(a,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r))},tV.isSame=function(e,t){var r,n=S(e)?e:to(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))},tV.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},tV.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},tV.isValid=function(){return p(this)},tV.lang=tM,tV.locale=tk,tV.localeData=tD,tV.max=ts,tV.min=ti,tV.parsingFlags=function(){return c({},f(this))},tV.set=function(e,t){if("object"==typeof e){var r,n=function(e){var t,r=[];for(t in e)a(e,t)&&r.push({unit:t,priority:V[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=Y(e)),o=n.length;for(r=0;r<o;r++)this[n[r].unit](e[n[r].unit])}else if(I(this[e=N(e)]))return this[e](t);return this},tV.startOf=function(t){var r,n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?tC:tL,t){case"year":r=n(this.year(),0,1);break;case"quarter":r=n(this.year(),this.month()-this.month()%3,1);break;case"month":r=n(this.year(),this.month(),1);break;case"week":r=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=n(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=((r+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5;break;case"minute":r=this._d.valueOf(),r-=(r%6e4+6e4)%6e4;break;case"second":r=this._d.valueOf(),r-=(r%1e3+1e3)%1e3}return this._d.setTime(r),e.updateOffset(this,!0),this},tV.subtract=tO,tV.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},tV.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},tV.toDate=function(){return new Date(this.valueOf())},tV.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return 0>r.year()||r.year()>9999?j(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+6e4*this.utcOffset()).toISOString().replace("Z",j(r,"Z")):j(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tV.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n="moment",a="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+n+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",r=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tV[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tV.toJSON=function(){return this.isValid()?this.toISOString():null},tV.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tV.unix=function(){return Math.floor(this.valueOf()/1e3)},tV.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tV.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tV.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""},tV.eraNarrow=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""},tV.eraAbbr=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""},tV.eraYear=function(){var t,r,n,a,o=this.localeData().eras();for(t=0,r=o.length;t<r;++t)if(n=o[t].since<=o[t].until?1:-1,a=this.clone().startOf("day").valueOf(),o[t].since<=a&&a<=o[t].until||o[t].until<=a&&a<=o[t].since)return(this.year()-e(o[t].since).year())*n+o[t].offset;return this.year()},tV.year=eb,tV.isLeapYear=function(){return eg(this.year())},tV.weekYear=function(e){return tN.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},tV.isoWeekYear=function(e){return tN.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},tV.quarter=tV.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)},tV.month=eO,tV.daysInMonth=function(){return ev(this.year(),this.month())},tV.week=tV.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add((e-t)*7,"d")},tV.isoWeek=tV.isoWeeks=function(e){var t=eL(this,1,4).week;return null==e?t:this.add((e-t)*7,"d")},tV.weeksInYear=function(){var e=this.localeData()._week;return eC(this.year(),e.dow,e.doy)},tV.weeksInWeekYear=function(){var e=this.localeData()._week;return eC(this.weekYear(),e.dow,e.doy)},tV.isoWeeksInYear=function(){return eC(this.year(),1,4)},tV.isoWeeksInISOWeekYear=function(){return eC(this.isoWeekYear(),1,4)},tV.date=tW,tV.day=tV.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=eT(this,"Day");return null==e?n:(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d"))},tV.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},tV.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,r=(t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?r:r-7)},tV.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},tV.hour=tV.hours=eV,tV.minute=tV.minutes=tF,tV.second=tV.seconds=tB,tV.millisecond=tV.milliseconds=g,tV.utcOffset=function(t,r,n){var a,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:ty(this);if("string"==typeof t){if(null===(t=tm(eo,t)))return this}else 16>Math.abs(t)&&!n&&(t*=60);return!this._isUTC&&r&&(a=ty(this)),this._offset=t,this._isUTC=!0,null!=a&&this.add(a,"m"),o===t||(!r||this._changeInProgress?tx(this,tS(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},tV.utc=function(e){return this.utcOffset(0,e)},tV.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ty(this),"m")),this},tV.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tm(ea,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tV.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?to(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tV.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tV.isLocal=function(){return!!this.isValid()&&!this._isUTC},tV.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tV.isUtc=tb,tV.isUTC=tb,tV.zoneAbbr=function(){return this._isUTC?"UTC":""},tV.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tV.dates=w("dates accessor is deprecated. Use date instead.",tW),tV.months=w("months accessor is deprecated. Use month instead",eO),tV.years=w("years accessor is deprecated. Use year instead",eb),tV.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tV.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=tn(t))._a?(e=t._isUTC?d(t._a):to(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(n=0;n<a;n++)(r&&e[n]!==t[n]||!r&&ef(e[n])!==ef(t[n]))&&i++;return i+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var tz=A.prototype;function t$(e,t,r,n){var a=eX(),o=d().set(n,t);return a[r](o,e)}function tq(e,t,r){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return t$(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=t$(e,n,r,"month");return a}function tZ(e,t,r,n){"boolean"==typeof e||(r=t=e,e=!1),s(t)&&(r=t,t=void 0),t=t||"";var a,o=eX(),i=e?o._week.dow:0,l=[];if(null!=r)return t$(t,(r+i)%7,n,"day");for(a=0;a<7;a++)l[a]=t$(t,(a+i)%7,n,"day");return l}tz.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return I(n)?n.call(t,r):n},tz.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(k).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tz.invalidDate=function(){return this._invalidDate},tz.ordinal=function(e){return this._ordinal.replace("%d",e)},tz.preparse=tH,tz.postformat=tH,tz.relativeTime=function(e,t,r,n){var a=this._relativeTime[r];return I(a)?a(e,t,r,n):a.replace(/%d/i,e)},tz.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return I(r)?r(t):r.replace(/%s/i,t)},tz.set=function(e){var t,r;for(r in e)a(e,r)&&(I(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tz.eras=function(t,r){var n,a,o,i=this._eras||eX("en")._eras;for(n=0,a=i.length;n<a;++n)switch("string"==typeof i[n].since&&(o=e(i[n].since).startOf("day"),i[n].since=o.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=e(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}return i},tz.erasParse=function(e,t,r){var n,a,o,i,s,l=this.eras();for(n=0,e=e.toUpperCase(),a=l.length;n<a;++n)if(o=l[n].name.toUpperCase(),i=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if([o,i,s].indexOf(e)>=0)return l[n]},tz.erasConvertYear=function(t,r){var n=t.since<=t.until?1:-1;return void 0===r?e(t.since).year():e(t.since).year()+(r-t.offset)*n},tz.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||tP.call(this),e?this._erasAbbrRegex:this._erasRegex},tz.erasNameRegex=function(e){return a(this,"_erasNameRegex")||tP.call(this),e?this._erasNameRegex:this._erasRegex},tz.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||tP.call(this),e?this._erasNarrowRegex:this._erasRegex},tz.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||eE).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},tz.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[eE.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tz.monthsParse=function(e,t,r){var n,a,o;if(this._monthsParseExact)return ex.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++)if(a=d([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e)||r&&"MMM"===t&&this._shortMonthsParse[n].test(e)||!r&&this._monthsParse[n].test(e))return n},tz.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||eA.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(a(this,"_monthsRegex")||(this._monthsRegex=ei),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tz.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||eA.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(a(this,"_monthsShortRegex")||(this._monthsShortRegex=ei),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tz.week=function(e){return eL(e,this._week.dow,this._week.doy).week},tz.firstDayOfYear=function(){return this._week.doy},tz.firstDayOfWeek=function(){return this._week.dow},tz.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ej(n,this._week.dow):e?n[e.day()]:n},tz.weekdaysMin=function(e){return!0===e?ej(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tz.weekdaysShort=function(e){return!0===e?ej(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tz.weekdaysParse=function(e,t,r){var n,a,o;if(this._weekdaysParseExact)return eU.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=d([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e)||r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},tz.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(a(this,"_weekdaysRegex")||(this._weekdaysRegex=ei),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tz.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ei),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tz.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||eN.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ei),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tz.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tz.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},eK("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===ef(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),e.lang=w("moment.lang is deprecated. Use moment.locale instead.",eK),e.langData=w("moment.langData is deprecated. Use moment.localeData instead.",eX);var tK=Math.abs;function tJ(e,t,r,n){var a=tS(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function tX(e){return e<0?Math.floor(e):Math.ceil(e)}function tQ(e){return 4800*e/146097}function t0(e){return 146097*e/4800}function t1(e){return function(){return this.as(e)}}var t2=t1("ms"),t3=t1("s"),t4=t1("m"),t6=t1("h"),t5=t1("d"),t8=t1("w"),t9=t1("M"),t7=t1("Q"),re=t1("y");function rt(e){return function(){return this.isValid()?this._data[e]:NaN}}var rr=rt("milliseconds"),rn=rt("seconds"),ra=rt("minutes"),ro=rt("hours"),ri=rt("days"),rs=rt("months"),rl=rt("years"),ru=Math.round,rc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function rd(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}var rf=Math.abs;function rp(e){return(e>0)-(e<0)||+e}function rh(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,a,o,i,s,l=rf(this._milliseconds)/1e3,u=rf(this._days),c=rf(this._months),d=this.asSeconds();return d?(e=ed(l/60),t=ed(e/60),l%=60,e%=60,r=ed(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=rp(this._months)!==rp(d)?"-":"",i=rp(this._days)!==rp(d)?"-":"",s=rp(this._milliseconds)!==rp(d)?"-":"",a+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(u?i+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var rm=tc.prototype;return rm.isValid=function(){return this._isValid},rm.abs=function(){var e=this._data;return this._milliseconds=tK(this._milliseconds),this._days=tK(this._days),this._months=tK(this._months),e.milliseconds=tK(e.milliseconds),e.seconds=tK(e.seconds),e.minutes=tK(e.minutes),e.hours=tK(e.hours),e.months=tK(e.months),e.years=tK(e.years),this},rm.add=function(e,t){return tJ(this,e,t,1)},rm.subtract=function(e,t){return tJ(this,e,t,-1)},rm.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+tQ(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(t0(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw Error("Unknown unit "+e)}},rm.asMilliseconds=t2,rm.asSeconds=t3,rm.asMinutes=t4,rm.asHours=t6,rm.asDays=t5,rm.asWeeks=t8,rm.asMonths=t9,rm.asQuarters=t7,rm.asYears=re,rm.valueOf=t2,rm._bubble=function(){var e,t,r,n,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*tX(t0(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=ed(o/1e3),l.seconds=e%60,t=ed(e/60),l.minutes=t%60,r=ed(t/60),l.hours=r%24,i+=ed(r/24),s+=a=ed(tQ(i)),i-=tX(t0(a)),n=ed(s/12),s%=12,l.days=i,l.months=s,l.years=n,this},rm.clone=function(){return tS(this)},rm.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},rm.milliseconds=rr,rm.seconds=rn,rm.minutes=ra,rm.hours=ro,rm.days=ri,rm.weeks=function(){return ed(this.days()/7)},rm.months=rs,rm.years=rl,rm.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,a,o,i,s,l,u,c,d,f,p,h,m=!1,g=rc;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(m=e),"object"==typeof t&&(g=Object.assign({},rc,t),null!=t.s&&null==t.ss&&(g.ss=t.s-1)),p=this.localeData(),r=!m,n=g,a=tS(this).abs(),o=ru(a.as("s")),i=ru(a.as("m")),s=ru(a.as("h")),l=ru(a.as("d")),u=ru(a.as("M")),c=ru(a.as("w")),d=ru(a.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l],null!=n.w&&(f=f||c<=1&&["w"]||c<n.w&&["ww",c]),(f=f||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=r,f[3]=+this>0,f[4]=p,h=rd.apply(null,f),m&&(h=p.pastFuture(+this,h)),p.postformat(h)},rm.toISOString=rh,rm.toString=rh,rm.toJSON=rh,rm.locale=tk,rm.localeData=tD,rm.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rh),rm.lang=tM,C("X",0,0,"unix"),C("x",0,0,"valueOf"),eu("x",en),eu("X",/[+-]?\d+(\.\d{1,3})?/),eh("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),eh("x",function(e,t,r){r._d=new Date(ef(e))}),e.version="2.30.1",W=to,e.fn=tV,e.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},e.max=function(){var e=[].slice.call(arguments,0);return tl("isAfter",e)},e.now=function(){return Date.now?Date.now():+new Date},e.utc=d,e.unix=function(e){return to(1e3*e)},e.months=function(e,t){return tq(e,t,"months")},e.isDate=l,e.locale=eK,e.invalid=h,e.duration=tS,e.isMoment=S,e.weekdays=function(e,t,r){return tZ(e,t,r,"weekdays")},e.parseZone=function(){return to.apply(null,arguments).parseZone()},e.localeData=eX,e.isDuration=td,e.monthsShort=function(e,t){return tq(e,t,"monthsShort")},e.weekdaysMin=function(e,t,r){return tZ(e,t,r,"weekdaysMin")},e.defineLocale=eJ,e.updateLocale=function(e,t){if(null!=t){var r,n,a=eH;null!=ez[e]&&null!=ez[e].parentLocale?ez[e].set(O(ez[e]._config,t)):(null!=(n=eZ(e))&&(a=n._config),t=O(a,t),null==n&&(t.abbr=e),(r=new A(t)).parentLocale=ez[e],ez[e]=r),eK(e)}else null!=ez[e]&&(null!=ez[e].parentLocale?(ez[e]=ez[e].parentLocale,e===eK()&&eK(e)):null!=ez[e]&&delete ez[e]);return ez[e]},e.locales=function(){return B(ez)},e.weekdaysShort=function(e,t,r){return tZ(e,t,r,"weekdaysShort")},e.normalizeUnits=N,e.relativeTimeRounding=function(e){return void 0===e?ru:"function"==typeof e&&(ru=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==rc[e]&&(void 0===t?rc[e]:(rc[e]=t,"s"===e&&(rc.ss=t-1),!0))},e.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},e.prototype=tV,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}()},{}]},["kgW6q"],"kgW6q","parcelRequiree1df"),globalThis.define=t; | 286,709 | index | js | en | javascript | code | {"qsc_code_num_words": 53211, "qsc_code_num_chars": 286709.0, "qsc_code_mean_word_length": 3.59545959, "qsc_code_frac_words_unique": 0.07643156, "qsc_code_frac_chars_top_2grams": 0.00891709, "qsc_code_frac_chars_top_3grams": 0.01392446, "qsc_code_frac_chars_top_4grams": 0.007072, "qsc_code_frac_chars_dupe_5grams": 0.3098872, "qsc_code_frac_chars_dupe_6grams": 0.24192183, "qsc_code_frac_chars_dupe_7grams": 0.20051433, "qsc_code_frac_chars_dupe_8grams": 0.16433895, "qsc_code_frac_chars_dupe_9grams": 0.13637504, "qsc_code_frac_chars_dupe_10grams": 0.12095569, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03501332, "qsc_code_frac_chars_whitespace": 0.01799385, "qsc_code_size_file_byte": 286709.0, "qsc_code_num_lines": 7.0, "qsc_code_num_chars_line_max": 166119.0, "qsc_code_num_chars_line_mean": 40958.42857143, "qsc_code_frac_chars_alphabet": 0.64450364, "qsc_code_frac_chars_comments": 0.0002023, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 9.25, "qsc_code_frac_chars_string_length": 0.26984288, "qsc_code_frac_chars_long_word_length": 0.17791259, "qsc_code_frac_lines_string_concat": 0.25, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codejavascript_cate_ast": 0.0, "qsc_codejavascript_cate_var_zero": null, "qsc_codejavascript_frac_lines_func_ratio": null, "qsc_codejavascript_num_statement_line": null, "qsc_codejavascript_score_lines_no_logic": null, "qsc_codejavascript_frac_words_legal_var_name": null, "qsc_codejavascript_frac_words_legal_func_name": null, "qsc_codejavascript_frac_words_legal_class_name": null, "qsc_codejavascript_frac_lines_print": 0.25} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 1, "qsc_code_num_chars_line_max": 1, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 1, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codejavascript_cate_ast": 1, "qsc_codejavascript_cate_var_zero": 0, "qsc_codejavascript_frac_lines_func_ratio": 0, "qsc_codejavascript_score_lines_no_logic": 0, "qsc_codejavascript_frac_lines_print": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/НастройкиПользователей/Forms/ВыборНастроек/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<AutoSaveDataInSettings>Use</AutoSaveDataInSettings>
<MobileDeviceCommandBarContent>
<xr:Item>
<xr:Presentation/>
<xr:CheckState>0</xr:CheckState>
<xr:Value xsi:type="xs:string">КоманднаяПанель</xr:Value>
</xr:Item>
</MobileDeviceCommandBarContent>
<CommandSet>
<ExcludedCommand>CustomizeForm</ExcludedCommand>
</CommandSet>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1">
<HorizontalAlign>Right</HorizontalAlign>
<Autofill>false</Autofill>
</AutoCommandBar>
<Events>
<Event name="OnSaveDataInSettingsAtServer">ПриСохраненииДанныхВНастройкахНаСервере</Event>
<Event name="OnOpen">ПриОткрытии</Event>
<Event name="OnLoadDataFromSettingsAtServer">ПриЗагрузкеДанныхИзНастроекНаСервере</Event>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
<Event name="OnClose">ПриЗакрытии</Event>
</Events>
<ChildItems>
<UsualGroup name="ОтображатьОтчет" id="67">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Отображать отчет</v8:content>
</v8:item>
</Title>
<Group>Vertical</Group>
<Behavior>Usual</Behavior>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ОтображатьОтчетРасширеннаяПодсказка" id="104"/>
<ChildItems>
<CommandBar name="КоманднаяПанель" id="51">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Командная панель</v8:content>
</v8:item>
</Title>
<CommandSource>Form</CommandSource>
<ExtendedTooltip name="КоманднаяПанельРасширеннаяПодсказка" id="107"/>
<ChildItems>
<Button name="Выбрать" id="78">
<Type>CommandBarButton</Type>
<DefaultButton>true</DefaultButton>
<CommandName>Form.Command.Выбрать</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВыбратьРасширеннаяПодсказка" id="108"/>
</Button>
<Button name="ПометитьВсе" id="79">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ПометитьВсе</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометить все</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПометитьВсеРасширеннаяПодсказка" id="109"/>
</Button>
<Button name="СнятьПометкуСоВсех" id="80">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.СнятьПометкуСоВсех</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять пометку со всех</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="СнятьПометкуСоВсехРасширеннаяПодсказка" id="110"/>
</Button>
<Button name="Открыть" id="61">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Открыть</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть</v8:content>
</v8:item>
</Title>
<LocationInCommandBar>InAdditionalSubmenu</LocationInCommandBar>
<ExtendedTooltip name="ОткрытьРасширеннаяПодсказка" id="111"/>
</Button>
<Button name="ФормаОбновить" id="182">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Обновить</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<LocationInCommandBar>InAdditionalSubmenu</LocationInCommandBar>
<ExtendedTooltip name="ФормаОбновитьРасширеннаяПодсказка" id="183"/>
</Button>
</ChildItems>
</CommandBar>
<Pages name="СтраницыДлительнаяОперация" id="170">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Страницы длительная операция</v8:content>
</v8:item>
</Title>
<PagesRepresentation>None</PagesRepresentation>
<ExtendedTooltip name="СтраницыДлительнаяОперацияРасширеннаяПодсказка" id="171"/>
<ChildItems>
<Page name="СтраницаДлительнаяОперация" id="172">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Страница длительная операция</v8:content>
</v8:item>
</Title>
<Group>HorizontalIfPossible</Group>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="СтраницаДлительнаяОперацияРасширеннаяПодсказка" id="173"/>
<ChildItems>
<PictureDecoration name="КартинкаДлительнаяОперация" id="176">
<Picture>
<xr:Ref>CommonPicture.ДлительнаяОперация48</xr:Ref>
<xr:LoadTransparent>false</xr:LoadTransparent>
</Picture>
<FileDragMode>AsFile</FileDragMode>
<ContextMenu name="КартинкаДлительнаяОперацияКонтекстноеМеню" id="177"/>
<ExtendedTooltip name="КартинкаДлительнаяОперацияРасширеннаяПодсказка" id="178"/>
</PictureDecoration>
<LabelDecoration name="ПояснениеДлительнаяОперация" id="179">
<Title formatted="false">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Формирование списка настроек пользователя...</v8:content>
</v8:item>
</Title>
<GroupVerticalAlign>Center</GroupVerticalAlign>
<ContextMenu name="ПояснениеДлительнаяОперацияКонтекстноеМеню" id="180"/>
<ExtendedTooltip name="ПояснениеДлительнаяОперацияРасширеннаяПодсказка" id="181"/>
</LabelDecoration>
</ChildItems>
</Page>
<Page name="СтраницаНастройки" id="174">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Страница настройки</v8:content>
</v8:item>
</Title>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="СтраницаНастройкиРасширеннаяПодсказка" id="175"/>
<ChildItems>
<Pages name="ВидыНастроек" id="13">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Виды настроек</v8:content>
</v8:item>
</Title>
<PagesRepresentation>TabsOnTop</PagesRepresentation>
<ExtendedTooltip name="ВидыНастроекРасширеннаяПодсказка" id="112"/>
<Events>
<Event name="OnCurrentPageChange">ПриСменеСтраницы</Event>
</Events>
<ChildItems>
<Page name="ВнешнийВидСтраница" id="15">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Внешний вид</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВнешнийВидСтраницаРасширеннаяПодсказка" id="113"/>
<ChildItems>
<Table name="ВнешнийВид" id="29">
<Representation>Tree</Representation>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<Header>false</Header>
<HorizontalLines>false</HorizontalLines>
<VerticalLines>false</VerticalLines>
<AutoInsertNewRow>true</AutoInsertNewRow>
<SearchOnInput>Use</SearchOnInput>
<InitialTreeView>ExpandAllLevels</InitialTreeView>
<EnableStartDrag>true</EnableStartDrag>
<EnableDrag>true</EnableDrag>
<FileDragMode>AsFile</FileDragMode>
<DataPath>ВнешнийВид</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Внешний вид</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>HierarchicalList</ExcludedCommand>
<ExcludedCommand>List</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
<ExcludedCommand>Tree</ExcludedCommand>
</CommandSet>
<SearchStringLocation>Top</SearchStringLocation>
<ContextMenu name="ВнешнийВидКонтекстноеМеню" id="30">
<ChildItems>
<Button name="ВнешнийВидКонтекстноеМенюОткрыть" id="76">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Открыть</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ВнешнийВидКонтекстноеМенюОткрытьРасширеннаяПодсказка" id="114"/>
</Button>
<Button name="ВнешнийВидКонтекстноеМенюКопироватьВБуферОбмена" id="56">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ВнешнийВид.StandardCommand.CopyToClipboard</CommandName>
<ExtendedTooltip name="ВнешнийВидКонтекстноеМенюКопироватьВБуферОбменаРасширеннаяПодсказка" id="115"/>
</Button>
<Button name="ВнешнийВидКонтекстноеМенюВыделитьВсе" id="57">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ВнешнийВид.StandardCommand.SelectAll</CommandName>
<ExtendedTooltip name="ВнешнийВидКонтекстноеМенюВыделитьВсеРасширеннаяПодсказка" id="116"/>
</Button>
<Button name="ВнешнийВидКонтекстноеМенюВывестиСписок" id="102">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ВнешнийВид.StandardCommand.OutputList</CommandName>
<ExtendedTooltip name="ВнешнийВидКонтекстноеМенюВывестиСписокРасширеннаяПодсказка" id="117"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="ВнешнийВидКоманднаяПанель" id="31">
<Autofill>false</Autofill>
</AutoCommandBar>
<ExtendedTooltip name="ВнешнийВидРасширеннаяПодсказка" id="118"/>
<SearchStringAddition name="ВнешнийВидСтрокаПоиска" id="143">
<AdditionSource>
<Item>ВнешнийВид</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="ВнешнийВидСтрокаПоискаКонтекстноеМеню" id="144"/>
<ExtendedTooltip name="ВнешнийВидСтрокаПоискаРасширеннаяПодсказка" id="145"/>
</SearchStringAddition>
<ViewStatusAddition name="ВнешнийВидСостояниеПросмотра" id="146">
<AdditionSource>
<Item>ВнешнийВид</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="ВнешнийВидСостояниеПросмотраКонтекстноеМеню" id="147"/>
<ExtendedTooltip name="ВнешнийВидСостояниеПросмотраРасширеннаяПодсказка" id="148"/>
</ViewStatusAddition>
<SearchControlAddition name="ВнешнийВидУправлениеПоиском" id="149">
<AdditionSource>
<Item>ВнешнийВид</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="ВнешнийВидУправлениеПоискомКонтекстноеМеню" id="150"/>
<ExtendedTooltip name="ВнешнийВидУправлениеПоискомРасширеннаяПодсказка" id="151"/>
</SearchControlAddition>
<Events>
<Event name="Selection">ДеревоНастроекВыбор</Event>
</Events>
<ChildItems>
<ColumnGroup name="ВнешнийВидКартинкаНастройкаПометка" id="38">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Внешний вид картинка настройка пометка</v8:content>
</v8:item>
</Title>
<Group>InCell</Group>
<ExtendedTooltip name="ВнешнийВидКартинкаНастройкаПометкаРасширеннаяПодсказка" id="119"/>
<ChildItems>
<CheckBoxField name="ВнешнийВидПометка" id="83">
<DataPath>ВнешнийВид.Пометка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ThreeState>true</ThreeState>
<ContextMenu name="ВнешнийВидПометкаКонтекстноеМеню" id="84"/>
<ExtendedTooltip name="ВнешнийВидПометкаРасширеннаяПодсказка" id="120"/>
<Events>
<Event name="OnChange">ПометкаПриИзменении</Event>
</Events>
</CheckBoxField>
<PictureField name="ВнешнийВидКартинка" id="36">
<DataPath>ВнешнийВид.Картинка</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<FileDragMode>AsFile</FileDragMode>
<ContextMenu name="ВнешнийВидКартинкаКонтекстноеМеню" id="37"/>
<ExtendedTooltip name="ВнешнийВидКартинкаРасширеннаяПодсказка" id="121"/>
</PictureField>
<LabelField name="ВнешнийВидНастройки" id="32">
<DataPath>ВнешнийВид.Настройка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="ВнешнийВидНастройкиКонтекстноеМеню" id="33"/>
<ExtendedTooltip name="ВнешнийВидНастройкиРасширеннаяПодсказка" id="122"/>
</LabelField>
</ChildItems>
</ColumnGroup>
</ChildItems>
</Table>
</ChildItems>
</Page>
<Page name="НастройкиОтчетовСтраница" id="14">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройки отчетов</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="НастройкиОтчетовСтраницаРасширеннаяПодсказка" id="123"/>
<ChildItems>
<Table name="НастройкиОтчетовДерево" id="19">
<Representation>Tree</Representation>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<Header>false</Header>
<HorizontalLines>false</HorizontalLines>
<AutoInsertNewRow>true</AutoInsertNewRow>
<SearchOnInput>Use</SearchOnInput>
<InitialTreeView>ExpandAllLevels</InitialTreeView>
<EnableStartDrag>true</EnableStartDrag>
<EnableDrag>true</EnableDrag>
<FileDragMode>AsFile</FileDragMode>
<DataPath>НастройкиОтчетов</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройки отчетов дерево</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>HierarchicalList</ExcludedCommand>
<ExcludedCommand>List</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
<ExcludedCommand>Tree</ExcludedCommand>
</CommandSet>
<SearchStringLocation>Top</SearchStringLocation>
<ContextMenu name="НастройкиОтчетовДеревоКонтекстноеМеню" id="20">
<ChildItems>
<Button name="НастройкиОтчетовДеревоКонтекстноеМенюОткрыть" id="65">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Открыть</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="НастройкиОтчетовДеревоКонтекстноеМенюОткрытьРасширеннаяПодсказка" id="124"/>
</Button>
<Button name="НастройкиОтчетовДеревоКонтекстноеМенюВыделитьВсе" id="53">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.НастройкиОтчетовДерево.StandardCommand.SelectAll</CommandName>
<ExtendedTooltip name="НастройкиОтчетовДеревоКонтекстноеМенюВыделитьВсеРасширеннаяПодсказка" id="125"/>
</Button>
<Button name="НастройкиОтчетовДеревоКонтекстноеМенюКопироватьВБуферОбмена" id="52">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.НастройкиОтчетовДерево.StandardCommand.CopyToClipboard</CommandName>
<ExtendedTooltip name="НастройкиОтчетовДеревоКонтекстноеМенюКопироватьВБуферОбменаРасширеннаяПодсказка" id="126"/>
</Button>
<Button name="НастройкиОтчетовДеревоКонтекстноеМенюВывестиСписок" id="101">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.НастройкиОтчетовДерево.StandardCommand.OutputList</CommandName>
<ExtendedTooltip name="НастройкиОтчетовДеревоКонтекстноеМенюВывестиСписокРасширеннаяПодсказка" id="127"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="НастройкиОтчетовДеревоКоманднаяПанель" id="21">
<Autofill>false</Autofill>
</AutoCommandBar>
<ExtendedTooltip name="НастройкиОтчетовДеревоРасширеннаяПодсказка" id="128"/>
<SearchStringAddition name="НастройкиОтчетовДеревоСтрокаПоиска" id="152">
<AdditionSource>
<Item>НастройкиОтчетовДерево</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="НастройкиОтчетовДеревоСтрокаПоискаКонтекстноеМеню" id="153"/>
<ExtendedTooltip name="НастройкиОтчетовДеревоСтрокаПоискаРасширеннаяПодсказка" id="154"/>
</SearchStringAddition>
<ViewStatusAddition name="НастройкиОтчетовДеревоСостояниеПросмотра" id="155">
<AdditionSource>
<Item>НастройкиОтчетовДерево</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="НастройкиОтчетовДеревоСостояниеПросмотраКонтекстноеМеню" id="156"/>
<ExtendedTooltip name="НастройкиОтчетовДеревоСостояниеПросмотраРасширеннаяПодсказка" id="157"/>
</ViewStatusAddition>
<SearchControlAddition name="НастройкиОтчетовДеревоУправлениеПоиском" id="158">
<AdditionSource>
<Item>НастройкиОтчетовДерево</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="НастройкиОтчетовДеревоУправлениеПоискомКонтекстноеМеню" id="159"/>
<ExtendedTooltip name="НастройкиОтчетовДеревоУправлениеПоискомРасширеннаяПодсказка" id="160"/>
</SearchControlAddition>
<Events>
<Event name="Selection">ДеревоНастроекВыбор</Event>
</Events>
<ChildItems>
<ColumnGroup name="НастройкиОтчетовКартинкаНастройкаПометка" id="28">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройки отчетов картинка настройка пометка</v8:content>
</v8:item>
</Title>
<Group>InCell</Group>
<ExtendedTooltip name="НастройкиОтчетовКартинкаНастройкаПометкаРасширеннаяПодсказка" id="129"/>
<ChildItems>
<CheckBoxField name="Пометка" id="81">
<DataPath>НастройкиОтчетов.Пометка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ThreeState>true</ThreeState>
<ContextMenu name="ПометкаКонтекстноеМеню" id="82"/>
<ExtendedTooltip name="ПометкаРасширеннаяПодсказка" id="130"/>
<Events>
<Event name="OnChange">ПометкаПриИзменении</Event>
</Events>
</CheckBoxField>
<PictureField name="Картинка" id="26">
<DataPath>НастройкиОтчетов.Картинка</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>Directly</EditMode>
<FileDragMode>AsFile</FileDragMode>
<ContextMenu name="КартинкаКонтекстноеМеню" id="27"/>
<ExtendedTooltip name="КартинкаРасширеннаяПодсказка" id="131"/>
</PictureField>
<LabelField name="Настройки" id="22">
<DataPath>НастройкиОтчетов.Настройка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="НастройкиКонтекстноеМеню" id="23"/>
<ExtendedTooltip name="НастройкиРасширеннаяПодсказка" id="132"/>
</LabelField>
</ChildItems>
</ColumnGroup>
</ChildItems>
</Table>
</ChildItems>
</Page>
<Page name="ПрочиеНастройкиСтраница" id="85">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прочие настройки</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПрочиеНастройкиСтраницаРасширеннаяПодсказка" id="133"/>
<ChildItems>
<Table name="ПрочиеНастройки" id="86">
<Representation>List</Representation>
<ChangeRowSet>false</ChangeRowSet>
<ChangeRowOrder>false</ChangeRowOrder>
<Header>false</Header>
<HorizontalScrollBar>DontUse</HorizontalScrollBar>
<HorizontalLines>false</HorizontalLines>
<VerticalLines>false</VerticalLines>
<AutoInsertNewRow>true</AutoInsertNewRow>
<SearchOnInput>Use</SearchOnInput>
<InitialTreeView>ExpandAllLevels</InitialTreeView>
<EnableStartDrag>true</EnableStartDrag>
<EnableDrag>true</EnableDrag>
<FileDragMode>AsFile</FileDragMode>
<DataPath>ПрочиеНастройки</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прочие настройки</v8:content>
</v8:item>
</Title>
<CommandSet>
<ExcludedCommand>Add</ExcludedCommand>
<ExcludedCommand>Change</ExcludedCommand>
<ExcludedCommand>Copy</ExcludedCommand>
<ExcludedCommand>Delete</ExcludedCommand>
<ExcludedCommand>EndEdit</ExcludedCommand>
<ExcludedCommand>HierarchicalList</ExcludedCommand>
<ExcludedCommand>List</ExcludedCommand>
<ExcludedCommand>MoveDown</ExcludedCommand>
<ExcludedCommand>MoveUp</ExcludedCommand>
<ExcludedCommand>SortListAsc</ExcludedCommand>
<ExcludedCommand>SortListDesc</ExcludedCommand>
<ExcludedCommand>Tree</ExcludedCommand>
</CommandSet>
<SearchStringLocation>Top</SearchStringLocation>
<ContextMenu name="ПрочиеНастройкиКонтекстноеМеню" id="87">
<ChildItems>
<Button name="ПрочиеНастройкиКонтекстноеМенюОткрыть" id="100">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.Открыть</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПрочиеНастройкиКонтекстноеМенюОткрытьРасширеннаяПодсказка" id="134"/>
</Button>
<Button name="ПрочиеНастройкиКонтекстноеМенюКопироватьВБуферОбмена" id="98">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ПрочиеНастройки.StandardCommand.CopyToClipboard</CommandName>
<ExtendedTooltip name="ПрочиеНастройкиКонтекстноеМенюКопироватьВБуферОбменаРасширеннаяПодсказка" id="135"/>
</Button>
<Button name="ПрочиеНастройкиКонтекстноеМенюВыделитьВсе" id="99">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ПрочиеНастройки.StandardCommand.SelectAll</CommandName>
<ExtendedTooltip name="ПрочиеНастройкиКонтекстноеМенюВыделитьВсеРасширеннаяПодсказка" id="136"/>
</Button>
<Button name="ПрочиеНастройкиКонтекстноеМенюВывестиСписок" id="103">
<Type>CommandBarButton</Type>
<CommandName>Form.Item.ПрочиеНастройки.StandardCommand.OutputList</CommandName>
<ExtendedTooltip name="ПрочиеНастройкиКонтекстноеМенюВывестиСписокРасширеннаяПодсказка" id="137"/>
</Button>
</ChildItems>
</ContextMenu>
<AutoCommandBar name="ПрочиеНастройкиКоманднаяПанель" id="88">
<Autofill>false</Autofill>
</AutoCommandBar>
<ExtendedTooltip name="ПрочиеНастройкиРасширеннаяПодсказка" id="138"/>
<SearchStringAddition name="ПрочиеНастройкиСтрокаПоиска" id="161">
<AdditionSource>
<Item>ПрочиеНастройки</Item>
<Type>SearchStringRepresentation</Type>
</AdditionSource>
<ContextMenu name="ПрочиеНастройкиСтрокаПоискаКонтекстноеМеню" id="162"/>
<ExtendedTooltip name="ПрочиеНастройкиСтрокаПоискаРасширеннаяПодсказка" id="163"/>
</SearchStringAddition>
<ViewStatusAddition name="ПрочиеНастройкиСостояниеПросмотра" id="164">
<AdditionSource>
<Item>ПрочиеНастройки</Item>
<Type>ViewStatusRepresentation</Type>
</AdditionSource>
<ContextMenu name="ПрочиеНастройкиСостояниеПросмотраКонтекстноеМеню" id="165"/>
<ExtendedTooltip name="ПрочиеНастройкиСостояниеПросмотраРасширеннаяПодсказка" id="166"/>
</ViewStatusAddition>
<SearchControlAddition name="ПрочиеНастройкиУправлениеПоиском" id="167">
<AdditionSource>
<Item>ПрочиеНастройки</Item>
<Type>SearchControl</Type>
</AdditionSource>
<ContextMenu name="ПрочиеНастройкиУправлениеПоискомКонтекстноеМеню" id="168"/>
<ExtendedTooltip name="ПрочиеНастройкиУправлениеПоискомРасширеннаяПодсказка" id="169"/>
</SearchControlAddition>
<Events>
<Event name="Selection">ДеревоНастроекВыбор</Event>
</Events>
<ChildItems>
<ColumnGroup name="ПрочиеНастройкиКартинкаНастройкаПометка" id="97">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прочие настройки картинка настройка пометка</v8:content>
</v8:item>
</Title>
<Group>InCell</Group>
<ShowTitle>false</ShowTitle>
<ExtendedTooltip name="ПрочиеНастройкиКартинкаНастройкаПометкаРасширеннаяПодсказка" id="139"/>
<ChildItems>
<CheckBoxField name="ПрочиеНастройкиПометка" id="95">
<DataPath>ПрочиеНастройки.Пометка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ThreeState>true</ThreeState>
<ContextMenu name="ПрочиеНастройкиПометкаКонтекстноеМеню" id="96"/>
<ExtendedTooltip name="ПрочиеНастройкиПометкаРасширеннаяПодсказка" id="140"/>
<Events>
<Event name="OnChange">ПометкаПриИзменении</Event>
</Events>
</CheckBoxField>
<PictureField name="ПрочиеНастройкиКартинка" id="91">
<DataPath>ПрочиеНастройки.Картинка</DataPath>
<ReadOnly>true</ReadOnly>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<FileDragMode>AsFile</FileDragMode>
<ContextMenu name="ПрочиеНастройкиКартинкаКонтекстноеМеню" id="92"/>
<ExtendedTooltip name="ПрочиеНастройкиКартинкаРасширеннаяПодсказка" id="141"/>
</PictureField>
<LabelField name="ПрочиеНастройкиНастройка" id="89">
<DataPath>ПрочиеНастройки.Настройка</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<HorizontalAlign>Left</HorizontalAlign>
<EditMode>EnterOnInput</EditMode>
<ContextMenu name="ПрочиеНастройкиНастройкаКонтекстноеМеню" id="90"/>
<ExtendedTooltip name="ПрочиеНастройкиНастройкаРасширеннаяПодсказка" id="142"/>
</LabelField>
</ChildItems>
</ColumnGroup>
</ChildItems>
</Table>
</ChildItems>
</Page>
</ChildItems>
</Pages>
</ChildItems>
</Page>
</ChildItems>
</Pages>
</ChildItems>
</UsualGroup>
</ChildItems>
<Attributes>
<Attribute name="НастройкиОтчетов" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройки отчетов</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTree</v8:Type>
</Type>
<Save>
<Field>НастройкиОтчетов</Field>
</Save>
<Columns>
<Column name="Настройка" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Картинка" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8ui:Picture</v8:Type>
</Type>
</Column>
<Column name="Ключи" id="3">
<Type>
<v8:Type>v8:ValueListType</v8:Type>
</Type>
</Column>
<Column name="Тип" id="4">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Пометка" id="5">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>0</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="ТипСтроки" id="6">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="ВнешнийВид" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Внешний вид</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTree</v8:Type>
</Type>
<Save>
<Field>ВнешнийВид</Field>
</Save>
<Columns>
<Column name="Настройка" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Картинка" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8ui:Picture</v8:Type>
</Type>
</Column>
<Column name="Ключи" id="3">
<Type>
<v8:Type>v8:ValueListType</v8:Type>
</Type>
</Column>
<Column name="Пометка" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>0</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="Тип" id="6">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="ТипСтроки" id="5">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="ВыбраннаяСтраницаНастроек" id="9">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ПользовательИнформационнойБазы" id="5">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ПрочиеНастройки" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Прочие настройки</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8:ValueTree</v8:Type>
</Type>
<Save>
<Field>ПрочиеНастройки</Field>
</Save>
<Columns>
<Column name="Настройка" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Картинка" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Картинка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>v8ui:Picture</v8:Type>
</Type>
</Column>
<Column name="Ключи" id="3">
<Type>
<v8:Type>v8:ValueListType</v8:Type>
</Type>
</Column>
<Column name="Пометка" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометка</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>0</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Column>
<Column name="Тип" id="5">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="ТипСтроки" id="6">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="КоличествоНастроекОтчетов" id="6">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Attribute>
<Attribute name="КоличествоНастроекВнешнегоВида" id="7">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Attribute>
<Attribute name="КоличествоПрочихНастроек" id="8">
<Type>
<v8:Type>xs:decimal</v8:Type>
<v8:NumberQualifiers>
<v8:Digits>10</v8:Digits>
<v8:FractionDigits>0</v8:FractionDigits>
<v8:AllowedSign>Any</v8:AllowedSign>
</v8:NumberQualifiers>
</Type>
</Attribute>
<Attribute name="ТекущийПользователь" id="11">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ИмяФормыПерсональныхНастроек" id="12">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ВсеВыбранныеНастройки" id="1">
<Type/>
</Attribute>
<Attribute name="ТаблицаПользовательскихВариантовОтчетов" id="13">
<Type>
<v8:Type>v8:ValueTable</v8:Type>
</Type>
<Columns>
<Column name="КлючОбъекта" id="1">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="КлючВарианта" id="2">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="Представление" id="3">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
<Column name="СтандартнаяОбработка" id="4">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Column>
</Columns>
</Attribute>
<Attribute name="ДействиеСНастройками" id="14">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ПользовательСсылка" id="15">
<Type>
<v8:Type>cfg:CatalogRef.ВнешниеПользователи</v8:Type>
<v8:Type>cfg:CatalogRef.Пользователи</v8:Type>
</Type>
</Attribute>
<Attribute name="ДанныеВХранилищеНастроекСохранены" id="16">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Attribute>
<Attribute name="ИдентификаторЗадания" id="17">
<Type/>
</Attribute>
<Attribute name="ПоискНастроек" id="18">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Attribute>
<Attribute name="НачальныеНастройкиЗагружены" id="19">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Attribute>
</Attributes>
<Commands>
<Command name="Обновить" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Обновить список настроек</v8:content>
</v8:item>
</ToolTip>
<Shortcut>F5</Shortcut>
<Picture>
<xr:Ref>StdPicture.Refresh</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>Обновить</Action>
<Representation>TextPicture</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="Открыть" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открыть настройку</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.InputFieldOpen</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>ОткрытьНастройку</Action>
<Representation>TextPicture</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="Выбрать" id="8">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Выбрать настройки</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.ChooseValue</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>Выбрать</Action>
<Representation>TextPicture</Representation>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="ПометитьВсе" id="9">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометить все</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Пометить все настройки</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.CheckAll</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>ПометитьВсе</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
<Command name="СнятьПометкуСоВсех" id="10">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять пометку со всех</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Снять пометку со всех настроек</v8:content>
</v8:item>
</ToolTip>
<Picture>
<xr:Ref>StdPicture.UncheckAll</xr:Ref>
<xr:LoadTransparent>true</xr:LoadTransparent>
</Picture>
<Action>СнятьПометкуСоВсех</Action>
<CurrentRowUse>DontUse</CurrentRowUse>
</Command>
</Commands>
<Parameters>
<Parameter name="Пользователь">
<Type>
<v8:Type>cfg:CatalogRef.ВнешниеПользователи</v8:Type>
<v8:Type>cfg:CatalogRef.Пользователи</v8:Type>
</Type>
</Parameter>
<Parameter name="ДействиеСНастройками">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Parameter>
<Parameter name="ОчиститьИсториюВыбораНастроек">
<Type>
<v8:Type>xs:boolean</v8:Type>
</Type>
</Parameter>
</Parameters>
</Form> | 46,413 | Form | xml | ru | xml | data | {"qsc_code_num_words": 3820, "qsc_code_num_chars": 46413.0, "qsc_code_mean_word_length": 7.18926702, "qsc_code_frac_words_unique": 0.14371728, "qsc_code_frac_chars_top_2grams": 0.02403233, "qsc_code_frac_chars_top_3grams": 0.01602156, "qsc_code_frac_chars_top_4grams": 0.02403233, "qsc_code_frac_chars_dupe_5grams": 0.63973346, "qsc_code_frac_chars_dupe_6grams": 0.59982522, "qsc_code_frac_chars_dupe_7grams": 0.57306194, "qsc_code_frac_chars_dupe_8grams": 0.54196555, "qsc_code_frac_chars_dupe_9grams": 0.51072352, "qsc_code_frac_chars_dupe_10grams": 0.48457925, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0326625, "qsc_code_frac_chars_whitespace": 0.27307005, "qsc_code_size_file_byte": 46413.0, "qsc_code_num_lines": 1211.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 38.32617671, "qsc_code_frac_chars_alphabet": 0.78129168, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.78034682, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.14618749, "qsc_code_frac_chars_long_word_length": 0.10645724, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 1, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
2000ZRL/LCSA_C2SLR_SRM | evaluation_relaxation/phoenix_eval.py | import os
def get_phoenix_wer(hyp, phase, tmp_prefix, shell_dir='evaluation_relaxation', dataset='2014'):
if dataset == '2014':
shell_file = os.path.join(shell_dir, 'phoenix_eval.sh')
elif dataset == '2014T':
shell_file = os.path.join(shell_dir, 'phoenix_T_eval.sh')
elif dataset == '2014SI':
shell_file = os.path.join(shell_dir, 'phoenix_SI_eval.sh')
elif dataset == '2014SI7':
shell_file = os.path.join(shell_dir, 'phoenix_SI3_eval.sh')
elif 'csl' in dataset:
return [0., 0., 0., 0.]
cmd = "sh {:s} {:s} {:s} {:s}".format(shell_file, hyp, phase, tmp_prefix)
os.system(cmd)
result_file = os.path.join(shell_dir, '{:s}.tmp.out.{:s}.sys'.format(tmp_prefix, hyp))
with open(result_file, 'r') as fid:
for line in fid:
line = line.strip()
if 'Sum/Avg' in line:
result = line
break
tmp_err = result.split('|')[3].split()
subs, inse, dele, wer = tmp_err[1], tmp_err[3], tmp_err[2], tmp_err[4]
subs, inse, dele, wer = float(subs), float(inse), float(dele), float(wer)
errs = [wer, subs, inse, dele]
os.system('rm {:s}'.format(os.path.join(shell_dir, '{:s}.tmp.*'.format(tmp_prefix))))
os.system('rm {:s}'.format(os.path.join(shell_dir, hyp)))
return errs
| 1,318 | phoenix_eval | py | en | python | code | {"qsc_code_num_words": 201, "qsc_code_num_chars": 1318.0, "qsc_code_mean_word_length": 3.78109453, "qsc_code_frac_words_unique": 0.31343284, "qsc_code_frac_chars_top_2grams": 0.08421053, "qsc_code_frac_chars_top_3grams": 0.09210526, "qsc_code_frac_chars_top_4grams": 0.13815789, "qsc_code_frac_chars_dupe_5grams": 0.31052632, "qsc_code_frac_chars_dupe_6grams": 0.31052632, "qsc_code_frac_chars_dupe_7grams": 0.30526316, "qsc_code_frac_chars_dupe_8grams": 0.27105263, "qsc_code_frac_chars_dupe_9grams": 0.09210526, "qsc_code_frac_chars_dupe_10grams": 0.09210526, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.03015564, "qsc_code_frac_chars_whitespace": 0.22003035, "qsc_code_size_file_byte": 1318.0, "qsc_code_num_lines": 30.0, "qsc_code_num_chars_line_max": 96.0, "qsc_code_num_chars_line_mean": 43.93333333, "qsc_code_frac_chars_alphabet": 0.70914397, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.14795144, "qsc_code_frac_chars_long_word_length": 0.03186646, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codepython_cate_ast": 1.0, "qsc_codepython_frac_lines_func_ratio": 0.03571429, "qsc_codepython_cate_var_zero": false, "qsc_codepython_frac_lines_pass": 0.0, "qsc_codepython_frac_lines_import": 0.03571429, "qsc_codepython_frac_lines_simplefunc": 0.0, "qsc_codepython_score_lines_no_logic": 0.14285714, "qsc_codepython_frac_lines_print": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0, "qsc_codepython_cate_ast": 0, "qsc_codepython_frac_lines_func_ratio": 0, "qsc_codepython_cate_var_zero": 0, "qsc_codepython_frac_lines_pass": 0, "qsc_codepython_frac_lines_import": 0, "qsc_codepython_frac_lines_simplefunc": 0, "qsc_codepython_score_lines_no_logic": 0, "qsc_codepython_frac_lines_print": 0} |
2000ZRL/LCSA_C2SLR_SRM | evaluation_relaxation/phoenix2014-nosigner05-groundtruth-test.stm | 24January_2013_Thursday_heute_default-12 1 signer07 0.0 1.79769e+308 SAMSTAG KALT MINUS ZEHN TEMPERATUR SONNTAG GLATT EIS REGEN
07December_2010_Tuesday_heute_default-6 1 signer07 0.0 1.79769e+308 UEBERSCHWEMMUNG SUED NORD DEUTSCHLAND BEWOELKT SUED HABEN SONNE BISSCHEN WEHEN TEMPERATUR ALPEN IX KOENNEN BIS ZEHN GRAD
28July_2010_Wednesday_tagesschau_default-7 1 signer08 0.0 1.79769e+308 __ON__ MORGEN TATSAECHLICH REGEN GEWITTER KOENNEN __OFF__
24February_2011_Thursday_heute_default-1 1 signer01 0.0 1.79769e+308 BERG GARTEN IX __OFF__ __ON__ WEST FUENF C+M NEU SCHNEE HOCH SCHON AUTOBAHN LAHM __OFF__
01April_2011_Friday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 __ON__ FLUSS NORDOST HEUTE ABEND NOCH WOLKE KOENNEN REGEN SUEDOST
10January_2011_Monday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 WEST SCHNEE REGEN GLATT IN-KOMMEND DANN WECHSELHAFT STARK MILD __OFF__
04January_2010_Monday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT MINUS ZWEI MINUS ZWANZIG UNTEN ALPEN TAL __OFF__
25January_2013_Friday_tagesschau_default-0 1 signer06 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN SAMSTAG SECHS ZWANZIG JANUAR __OFF__
28May_2010_Friday_tagesschau_default-11 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT ELF GRAD SUED BAYERN EINS GRAD NORD __OFF__
04February_2010_Thursday_heute_default-5 1 signer01 0.0 1.79769e+308 UND STURM WIND ABER REGION DANN REGEN AUCH NEU SCHNEE DABEI
28September_2009_Monday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 __ON__ WIE-AUSSEHEN IN-KOMMEND MITTWOCH NORD REGEN SUED MEHR FREUNDLICH
31March_2010_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN ERSTE APRIL DONNERSTAG __OFF__
13September_2010_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ WETTER MORGEN SIE DIENSTAG VIERZEHN SEPTEMBER __OFF__
21May_2010_Friday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 MOEGLICH NEBEL MORGEN NORD WOLKE SONNE WECHSELHAFT MOEGLICH SCHAUER GEWITTER
01April_2010_Thursday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SAMSTAG WECHSELHAFT BESONDERS FREUNDLICH NORDOST BISSCHEN BEREICH
07February_2010_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 KLAR UEBER ZEHN MINUS SUEDWEST NULL OST MINUS SIEBEN MOEGLICH
07May_2011_Saturday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 BRANDENBURG REGION NORD BAYERN SUEDWEST KOENNEN WOLKE __OFF__
03July_2011_Sunday_tagesschau_default-13 1 signer04 0.0 1.79769e+308 __ON__ DIENSTAG WEST FREUNDLICH IX SCHAUER GEWITTER
26January_2010_Tuesday_heute_default-8 1 signer03 0.0 1.79769e+308 IM-VERLAUF BLEIBEN KALT ENORM SCHNEE KOENNEN WOCHENENDE IX MEHR KALT __OFF__
24February_2011_Thursday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SONNTAG VIEL WOLKE IX REGEN IX UND SCHNEE BERG KOENNEN SCHNEE MONTAG AEHNLICH WETTER WENIG FEUCHT WENIG __OFF__
21May_2010_Friday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN __OFF__
04May_2011_Wednesday_heute_default-9 1 signer01 0.0 1.79769e+308 TROCKEN ENORM MORGEN SCHAUER NICHT VIEL SONNE MEISTENS MENSCHEN FROH __OFF__
17February_2011_Thursday_heute_default-8 1 signer07 0.0 1.79769e+308 SECHS BIS ACHT GRAD UNGEFAEHR PLUS __OFF__
19March_2011_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 MORGEN TEMPERATUR FUENF NORD BIS DREIZEHN FLUSS
06April_2010_Tuesday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 BEISPIEL TAL ODER WIND WEHEN NEBEL KOENNEN MORGEN UEBERWIEGEND SONNE
24April_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 NORD ZWEI IX SCHLECHT BODEN FROST MOEGLICH
21November_2009_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 NORDWEST SCHAUER STURM KOMMEN ABEND STURM BERG ORKAN MOEGLICH
06September_2009_Sunday_tagesschau_default-6 1 signer09 0.0 1.79769e+308 MORGEN WIND WEHEN SCHWACH NORD UEBERWIEGEND WIND HEUTE NACHT VIERZEHN IX UNTEN ALPEN VIER DANN
04January_2010_Monday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ NORD WIND MAESSIG KUESTE KOENNEN FRISCH WIND SUED WIND SCHWACH __OFF__
26January_2010_Tuesday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ HEUTE WETTER MORGEN MITTWOCH SIEBEN ZWANZIG JANUAR __OFF__
21November_2011_Monday_heute_default-6 1 signer07 0.0 1.79769e+308 PLUS VIER SEE AUCH WEST REGION VIER GRAD __OFF__
05April_2011_Tuesday_heute_default-3 1 signer01 0.0 1.79769e+308 __ON__ BESONDERS SUEDWEST WEHEN AUCH TEILWEISE WOLKE KOMMEN
25August_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE ABEND TEMPERATUR ZEHN REGION BIS ACHTZEHN REGION __OFF__
10November_2010_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 TAG VIER GRAD V LAND ELF GRAD NIEDER FLUSS __OFF__
03October_2010_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 MITTWOCH MISCHUNG WOLKE NEBEL NORDWEST BISSCHEN SCHAUER REGION TROCKEN
01July_2010_Thursday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 __ON__ SONNTAG SPEZIELL SUEDOST GEWITTER NORD MEHR SONNE
04January_2010_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DIENSTAG FUENFTE JANUAR __OFF__
04May_2011_Wednesday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ SEHEN KREISEN REGEN KOMMEN NICHT-HABEN NICHT-HABEN NICHT-HABEN
28January_2013_Monday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ TAG MILD __OFF__
31March_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT TIEF KOMMEN AUCH KUEHL AUFZIEHEN MORGEN WECHSELHAFT WETTER FREITAG MEHR WETTER VERSCHWINDEN
09June_2010_Wednesday_heute_default-6 1 signer08 0.0 1.79769e+308 NACHT BLEIBEN WARM NACHT UNTER ZWANZIG GRAD NICHT-WAHRSCHEINLICH KAUM __OFF__
27November_2009_Friday_tagesschau_default-9 1 signer09 0.0 1.79769e+308 MONTAG WOLKE MAL REGEN MEER SCHNEE SCHNEIEN DANN ALPEN REGEN SCHNEE SCHNEIEN DIENSTAG WECHSELHAFT __OFF__
18January_2010_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ REGION SECHS GRAD REGION MINUS EINS BIS FUENF GRAD __OFF__
16July_2009_Thursday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 HEUTE ABEND SUED REGION NOCH REGEN GEWITTER REGION KLAR HIMMEL BISSCHEN WOLKE
22January_2011_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 __ON__ SUED KLAR GERADE IX FROST NORDWEST PLUS EIN
07December_2011_Wednesday_heute_default-3 1 signer08 0.0 1.79769e+308 HUNDERT VIERZIG KILOMETER PRO STUNDE STURM SCHNELL __OFF__
21November_2011_Monday_heute_default-3 1 signer07 0.0 1.79769e+308 SONST NUR BISSCHEN REGEN ABER REGION REGION RECHNEN NICHT-HABEN REGEN BEDEUTEN WAHR BRAUCHEN
02June_2010_Wednesday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 TAG WEST KOMMEN BISSCHEN GEWITTER __OFF__
21October_2011_Friday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 DARUNTER NEBEL LANG IN-KOMMEND DANEBEN SONNE BERG OBEN DANN DURCHGEHEND SONNE __OFF__
12August_2010_Thursday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 REGION SONNE WOLKE REGEN WECHSELHAFT __OFF__
17February_2010_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND WEHEN MAESSIG __OFF__
21October_2011_Friday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HOCH KOMMEN DANN IN-KOMMEND EINFLUSS HIER WETTER
13November_2009_Friday_tagesschau_default-5 1 signer09 0.0 1.79769e+308 IM-VERLAUF REGEN KOMMEN DANN WEST MEHR FREUNDLICH __OFF__ __ON__ NORDWEST WIND KOMMEN
11August_2010_Wednesday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 TAGSUEBER OFT REGEN GEWITTER KOENNEN
03June_2011_Friday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 PLOETZLICH IX GEWITTER KOENNEN WIE UNWETTER
21August_2011_Sunday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ NORD NACHT ANFANG ENORM SCHAUER GEWITTER DANN WOLKE VERSCHWINDEN
24October_2009_Saturday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND ZEIGEN-BILDSCHIRM SCHWACH MAESSIG NORD WIND KOENNEN __OFF__
26August_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DONNERSTAG SIEBEN ZWANZIG AUGUST __OFF__
01February_2011_Tuesday_tagesschau_default-15 1 signer08 0.0 1.79769e+308 SUED FREUNDLICH TROCKEN __OFF__
20January_2010_Wednesday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ KALT ZEIGEN-BILDSCHIRM NORDOST MINUS FUENF MINUS SIEBEN GRAD
08October_2009_Thursday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG DANN REGEN KOMMEN __OFF__ __ON__ OST ERSTMAL FREUNDLICH WEST KOMMEN LOCH SONNE DA __OFF__
01February_2011_Tuesday_tagesschau_default-13 1 signer08 0.0 1.79769e+308 DONNERSTAG KOMMEN REGEN KOENNEN GLATT
11May_2010_Tuesday_heute_default-6 1 signer01 0.0 1.79769e+308 NORDOST KOMMEN __OFF__ __ON__ MORGEN VOR MITTAG REGEN OST REGION REGEN
06November_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SCHWACH WEHEN BERG WEHEN NORD WEHEN IX WEHEN __OFF__
06October_2011_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ WEST NORDWEST IX SCHAUER IX __OFF__
08October_2009_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ TAG TEMPERATUR ZWOELF GRAD NORDOST BIS ZWANZIG GRAD B REGION __OFF__
24July_2010_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 OST REGEN WEST KOMMEN DANN REGEN IX
03February_2011_Thursday_heute_default-2 1 signer08 0.0 1.79769e+308 __ON__ NORD STURM KOMMEN SCHON NACHT KOMMEN ORKAN
13August_2011_Saturday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 NORDWEST MORGEN ZWANZIG BIS DREI ZWANZIG GRAD REGION FUENF ZWANZIG BIS NEUN ZWANZIG GRAD __OFF__
11July_2009_Saturday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN SONNTAG ZWOELF JULI __OFF__
20October_2011_Thursday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 TAG BERG SECHS GRAD IX REGION DREIZEHN GRAD REGION WIE-AUSSEHEN IN-KOMMEND __OFF__
02October_2010_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ MILD WEHEN ICH RUSSLAND IX STARK KOMMEN EINFLUSS
25August_2009_Tuesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ MUESSEN AUSHALTEN REGEN GEWITTER BESONDERS SUEDOST STURM STARK KOENNEN DEUTSCH WETTER DIENST SCHON WARNUNG EINIGE GEWESEN __OFF__
31March_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ FREITAG SONNE WOLKE WECHSELHAFT SCHAUER KOENNEN IX ABER SONNE LANG __OFF__
28February_2011_Monday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ TEMPERATUR WIE-IMMER __OFF__
13October_2009_Tuesday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ AEHNLICH WETTER DONNERSTAG FREITAG SUEDWEST SONNE IM-VERLAUF SONST REGEN __OFF__
29March_2011_Tuesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WIE-AUSSEHEN WETTER MITTWOCH DREISSIG MAERZ __OFF__
01June_2010_Tuesday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ NORDWEST FREUNDLICH __OFF__ __ON__ WIND ZEIGEN-BILDSCHIRM __OFF__ __ON__ WIND WEHEN WIND KOENNEN __OFF__
08November_2010_Monday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ E REGION IN-KOMMEND ZWEI-TAG WETTER STARK TIEF KOMMEN __OFF__
10December_2009_Thursday_heute_default-7 1 signer02 0.0 1.79769e+308 NORD KOENNEN SONNE AB-SO AUFKOMMEN SAMSTAG NOCH SCHNEE NORD SCHNEE REGEN WECHSELHAFT __OFF__
17April_2010_Saturday_tagesschau_default-4 1 signer03 0.0 1.79769e+308 NAECHSTE WOCHE LUFT KOMMEN MEHR KUEHL
08December_2009_Tuesday_heute_default-0 1 signer02 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER BEGRUESSEN MORGEN TAG TRUEB __OFF__
28July_2010_Wednesday_tagesschau_default-15 1 signer08 0.0 1.79769e+308 __ON__ SAMSTAG MEHR FREUNDLICH TROCKEN MEHR WARM SONNTAG REGION REGEN GEWITTER KOMMEN __OFF__
14October_2009_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT PLUS VIER OST MINUS VIER REGION __OFF__
08November_2010_Monday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ ABEND LIEB ZUSCHAUER EUCH EUROPA REGION WETTER UNTERSCHIED STURM REGEN SCHNEE
04July_2010_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 DAZWISCHEN FREUNDLICH WENN NICHT-HABEN GEWITTER SCHWACH WEHEN KUESTE WIND
24January_2010_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN MONTAG FUENF ZWANZIG JANUAR __OFF__
02March_2011_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ REST REGION SONNE __OFF__
06April_2010_Tuesday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 WEST REGION SECHS GRAD __OFF__ __ON__ MORGEN ZWOELF GRAD NORD SEE REGION ZWEIZWANZIG GRAD REGION __OFF__
25February_2011_Friday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 __ON__ TAG OST VIEL SONNE WEST REGEN FLUSS REGION __OFF__
24December_2010_Friday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 OST FRISCH STARK WEHEN NORD MEER TEILWEISE ENORM FROST
30July_2011_Saturday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ WIND WEHEN SCHWACH MAESSIG WEHEN KOENNEN STARK __OFF__
06January_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 MORGEN MITTE BERG REGION TIEF AB FREITAG MEHR SCHNEE
23September_2010_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 SUEDOST SECHS BIS NEUN SUED IX MILD FUENFZEHN GRAD
23October_2010_Saturday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 __ON__ WOLKE DAS-IST-ES NACHT ZWEI BIS ACHT NICHT-HABEN FROST MORGEN REGION ALLGAEU FUENF
29September_2010_Wednesday_heute_default-2 1 signer07 0.0 1.79769e+308 ABER TROTZDEM IN-KOMMEND KOMMEN REGEN MEHR NUR WEST REGION REGEN OST GLUECK KEIN REGEN
02July_2009_Thursday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __OFF__ NORD OST DEUTSCHLAND MORGEN DIESE LOS KOMMEN DESWEGEN SONNE REGION
16February_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ LUFT MILD VIEL WOLKE SCHNEE REGEN BODEN GLATT KOENNEN __OFF__
06September_2010_Monday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DONNERSTAG WECHSELHAFT FREITAG WEST KOMMEN FREUNDLICH __OFF__
19April_2010_Monday_heute_default-17 1 signer08 0.0 1.79769e+308 __ON__ GUT SCHOEN ABEND MITTEILEN __OFF__
24April_2010_Saturday_tagesschau_default-5 1 signer04 0.0 1.79769e+308 TAG REGION SONNE SUEDWEST BISSCHEN WOLKE NACHMITTAG SCHWARZ REGION
28February_2011_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ RUEGEN EIN GRAD UND ZEHN GRAD REGION __OFF__
01June_2011_Wednesday_heute_default-7 1 signer01 0.0 1.79769e+308 MORGEN DASSELBE SCHAUER REGION SONST VIEL SONNE REGION TEILWEISE WEHEN STARK
08November_2010_Monday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ MITTWOCH SUEDWEST REGEN REGION IX FREUNDLICH SONNE __OFF__
06December_2011_Tuesday_tagesschau_default-12 1 signer07 0.0 1.79769e+308 FREITAG SUED HABEN SONST REGION REGEN MORGEN SCHNEIEN SCHNEE
04October_2010_Monday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT VIERZEHN REGION OST NUR SECHS GRAD __OFF__ __ON__ MORGEN DREIZEHN REGION SONST FUENFZEHN BIS ZWEIZWANZIG GRAD __OFF__
05January_2011_Wednesday_heute_default-3 1 signer08 0.0 1.79769e+308 MEISTENS HEUTE KALT LUFT SCHNELL AUFLOESEN
08October_2009_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORD HEUTE NACHT WIND MORGEN SCHWACH MAESSIG WEHEN __OFF__
08June_2010_Tuesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 GEWITTER SUEDOST DEUTSCH LAND BLEIBEN LANG IM-VERLAUF GUT IM-VERLAUF MOEGLICH GEWITTER
05January_2011_Wednesday_heute_default-8 1 signer08 0.0 1.79769e+308 HEUTE NACHT WEST ANFANG KOMMEN BIS MORGEN MITTAG KOMMEN ZONE
11July_2009_Saturday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT SINKEN VIERZEHN BIS SIEBEN GRAD MORGEN KOENNEN SIEBZEHN REGION FUENF ZWANZIG REGION
09November_2010_Tuesday_heute_default-10 1 signer01 0.0 1.79769e+308 DANN MOEGLICH AUCH MILD JETZT SCHOEN ABEND TSCHUESS __OFF__
08June_2010_Tuesday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 NORDWEST MORGEN WECHSEL SONNE WOLKE DAZU STARK REGEN NACH MITTAG GEWITTER
12April_2011_Tuesday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 WEST REGION SCHON GLUECK FRANKREICH HOCH KOMMEN SCHOEN KOMMEN MEHR KLAR KOMMEN IN-KOMMEND __OFF__
30October_2009_Friday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ HEUTE WETTER __OFF__ __ON__ MORGEN SAMSTAG EINS ZWANZIG OKTOBER __OFF__
25October_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ REGEN SCHNEE REGION VERSCHWINDEN NORD REGEN KOENNEN REGION STERN KOENNEN SEHEN __OFF__
12December_2011_Monday_heute_default-12 1 signer08 0.0 1.79769e+308 NORDWEST REGEN KOMMEN NACH MITTAG NORDWEST VERSCHWINDEN SCHAUER MOEGLICH GEWITTER UND STURM KOENNEN
17May_2010_Monday_heute_default-13 1 signer08 0.0 1.79769e+308 KUEHL NAECHSTE BESSER SONNE KOMMEN DANN WARM __OFF__
31January_2011_Monday_heute_default-13 1 signer07 0.0 1.79769e+308 FREITAG NORD KRAEFTIG STURM TATSAECHLICH INSGESAMT MEHR MILD SCHOEN ABEND NOCH IHR __OFF__
22April_2010_Thursday_tagesschau_default-14 1 signer03 0.0 1.79769e+308 __ON__ WOCHENENDE HAUPTSAECHLICH SONNE HIMMEL SCHOEN MEHR WARM
12May_2010_Wednesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG SUEDOST REGEN NORD DANN WIND STARK SONST REGEN IX TEILWEISE AUCH SONNE DABEI __OFF__
27August_2009_Thursday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ SCHOTTLAND WOLKE TIEF NORWEGEN WOLKE NAEHE DEUTSCH LAND KUEHL KOMMEN __OFF__
28March_2011_Monday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ SUED WOLKE KOMMEN BISSCHEN REGEN KOENNEN REGION KLAR LOCKER WOLKE __OFF__
12April_2010_Monday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ SIEBEN BIS SECHSZEHN GRAD REGION DONNERSTAG SUEDOST WEITER WECHSELHAFT NORDWEST MEHR FREUNDLICH SONNE
11July_2009_Saturday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ DIENSTAG MITTWOCH SONNE WOLKE WECHSELHAFT SCHAUER TYPISCH REGION REGEN GEWITTER KOENNEN __OFF__
08October_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG NEUN OKTOBER __OFF__
24July_2010_Saturday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DIENSTAG SUED SCHAUER TEIL AUCH GEWITTER NORD FREUNDLICH
16February_2010_Tuesday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WEST TAG REGEN IX KOENNEN SCHNEE REGEN KALT FROST __OFF__
14February_2010_Sunday_tagesschau_default-2 1 signer09 0.0 1.79769e+308 LUFT KALT FEUCHT DARUM KOMMEN DEUTSCHLAND EINFLUSS
05January_2010_Tuesday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ MORGEN SPANIEN KOMMEN DANN FREITAG HAUPTSAECHLICH SCHNEE BESONDERS NORD SUEDWEST
31January_2013_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 TAG SAUER LAND VIER REGION ZWOELF GRAD __OFF__
08May_2010_Saturday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ DEUTSCH LAND SCHWACH DRUCK UNTERSCHIED REGION FEUCHT REGION IX GEWITTER REGION
05January_2010_Tuesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ SCHWER WIRBEL __OFF__
29March_2010_Monday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ REGEN GEWITTER MITBRINGEN IN-KOMMEND DANN NAEHE KALT WECHSELHAFT __OFF__
21November_2011_Monday_heute_default-14 1 signer07 0.0 1.79769e+308 ACH KOMMEN VON MEHR WIND KOMMEN BESONDERS NORD BEKOMMEN BISSCHEN REGEN IHR SCHOEN ABEND __OFF__
06May_2011_Friday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ HEISS ZWANZIG BIS ACHT ZWANZIG GRAD NORD WENIGER __OFF__
14October_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN MORGEN FUENFZEHN OKTOBER __OFF__
11December_2009_Friday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MEIN SAMSTAG ZWOELF DEZEMBER __OFF__
25January_2013_Friday_tagesschau_default-15 1 signer06 0.0 1.79769e+308 __ON__ SONNTAG NAECHSTE OST SCHNEE REGEN GEFRIEREN KOMMEN STRASSE KOENNEN GLATT GEFAHR
21November_2011_Monday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 NACHT IX ANFANG WIEDER VIEL KLAR HIMMEL DANN MEHR NEBEL HOCH NEBEL
24January_2011_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE WIEDER IN-KOMMEND SCHNEE UEBER DREIHUNDERT METER NACH MITTAG REGEN KOMMEN BERLIN IX
23September_2009_Wednesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ FREITAG NAEHE KUESTE SUED WAHRSCHEINLICH STARK WOLKE SONST REGION FREUNDLICH __OFF__
06July_2011_Wednesday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 SPAETER BISSCHEN MEHR TROCKEN REGION TAG KOENNEN SCHOEN MOEGLICH BISSCHEN ORT WOLKE
22February_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 NORDOST HEUTE NACHT TROCKEN IN-KOMMEND REGEN NORDWEST REGEN NORD IX SCHNEE KOENNEN __OFF__
16March_2011_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 MAESSIG WEHEN SCHWACH MAESSIG WEHEN NORD SEE BISSCHEN WEHEN NORD WEHEN
06May_2011_Friday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WEHEN SCHWACH REGION FRISCH HEUTE NACHT ZWOELF GRAD REGION EIN GRAD BAYERN WALD REGION __OFF__
30April_2010_Friday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 SAUER LAND FUENF GRAD MORGEN KUESTE REGION ZEHN GRAD BAYERN REGION ZWEI GRAD DANN
14October_2010_Thursday_tagesschau_default-5 1 signer07 0.0 1.79769e+308 NORD NORDWEST MEISTENS REGEN AUCH MOEGLICH BISSCHEN GEWITTER
02March_2011_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN ZEIGEN-BILDSCHIRM DONNERSTAG DRITTE MAERZ __OFF__
16March_2011_Wednesday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 TAG AUCH NORD WEST MEHR TROCKEN REGION REST REGION ORT REGEN
12July_2011_Tuesday_heute_default-20 1 signer01 0.0 1.79769e+308 __ON__ NORMAL KUEHL ANGENEHM JA DANN DONNERSTAG NORD REGEN STURM WEHEN KOENNEN
10August_2009_Monday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ DANN BIS VIER ZWANZIG GRAD REGION SUED REGION BIS SIEBEN ZWANZIG GRAD __OFF__
18February_2010_Thursday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 AUCH SONNE MOEGLICH SAMSTAG NORD WIND NAECHSTE WOCHE GLEICH WEITER SO __OFF__
10March_2011_Thursday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ WOCHENENDE SONNE SAMSTAG SCHOEN TEMPERATUR BIS SIEBZEHN GRAD REGION
25November_2009_Wednesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ FREITAG REGEN WECHSELHAFT NORDWEST KOENNEN GEWITTER __OFF__
22April_2010_Thursday_tagesschau_default-16 1 signer03 0.0 1.79769e+308 MONTAG MOEGLICH REGEN GEWITTER MEHR WOLKE REGION ABER BLEIBEN WARM SONNE GUT __OFF__
24November_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT BESONDERS NORD TAG NORDWEST WIND NORD AUCH SCHWER WIND BERG ORKAN MOEGLICH __OFF__
30October_2009_Friday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 OST NEBEL NICHT-HABEN SONNE REGION WEST REGION IM-VERLAUF MORGEN WOLKE ABER BLEIBEN TROCKEN REGEN NICHT-HABEN
05January_2011_Wednesday_heute_default-5 1 signer08 0.0 1.79769e+308 GEFAHR FLUSS SUED ANFANG SCHNEE REGEN GLATT
01June_2011_Wednesday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ REGION VIEL SONNE BISSCHEN WOLKE __OFF__
27August_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG ACHT ZWANZIG AUGUST __OFF__
25October_2010_Monday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ TAG MISCHUNG SONNE WOLKE KOENNEN NEBEL SUEDOST SUED NORD HABEN SCHAUER KOENNEN
29June_2011_Wednesday_tagesschau_default-12 1 signer07 0.0 1.79769e+308 __ON__ FREITAG SONNE WOLKE WECHSELHAFT MOEGLICH BISSCHEN REGEN MOEGLICH GEWITTER NORDOST BLEIBEN TROCKEN
07August_2009_Friday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ IX SCHON WARNUNG DEUTSCH WETTER DIENST STURM KOENNEN NACHMITTAG SONNE
27August_2010_Friday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 AUCH WOLKE TRUEB REGEN KOENNEN HAUPTSAECHLICH NORDWEST GEWITTER DABEI __OFF__
25August_2010_Wednesday_tagesschau_default-10 1 signer03 0.0 1.79769e+308 MORGEN IX DREISSIG GRAD NORD REGION SECHSZEHN GRAD __OFF__
23July_2009_Thursday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HEUTE DRUCK ENORM MEER KOMMEN VERSCHWINDEN KOENNEN DABEI STURM GEWITTER
08February_2010_Monday_heute_default-2 1 signer04 0.0 1.79769e+308 WEST MEHR MILD MINUS VIER BIS MINUS SIEBEN BEKOMMEN BISSCHEN NEBEL KLAR
08February_2010_Monday_heute_default-1 1 signer04 0.0 1.79769e+308 TRUEB DIESE BILD WEST KAUM SCHNEE AUFTAUCHEN ABER AUSNAHME ACHTUNG MEER SONNE DA SCHNEE
06September_2010_Monday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 SCHWACH NORD STURM WEHEN NORD SUED SCHWER WEHEN STURM
15October_2009_Thursday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 BERG OBEN UNTEN AUCH SUEDWEST ZUERST GUT REGION HAUPTSAECHLICH REGEN __OFF__
06October_2012_Saturday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 DIENSTAG NORDOST WIND DAZU REGEN KURZ REGEN KOENNEN SUEDWEST REGEN ORT REGION FREUNDLICH
14October_2010_Thursday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 NORD SEE MEHR WOLKE NORD MEISTENS REGEN HEUTE ABEND SUED BISSCHEN KLAR HIMMEL BISSCHEN NEBEL AUCH DABEI
05February_2011_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN SONNTAG ERSTE SECHSTE FEBRUAR __OFF__
17February_2010_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 TIEF KOMMEN MILD WEITER NORD KOMMEN HEUTE ABEND SCHNEE KOENNEN
11December_2010_Saturday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 SCHNEE BIS SECHSHUNDERT BIS DREIHUNDERT METER BERG
24November_2009_Tuesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ IX ENORM WARM IN-KOMMEND ABER BISSCHEN KUEHL REDUZIEREN __OFF__
23July_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG VIER ZWANZIG JULI __OFF__
25June_2010_Friday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ MORGEN REGION SONNE IX WOLKE BEWOELKT __OFF__
24October_2009_Saturday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ MORGEN OST ZEHN BIS DREIZEHN WEST BIS SIEBZEHN GRAD __OFF__
13December_2010_Monday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 WIND DABEI FREITAG MEHR RUHIG __OFF__
09July_2010_Friday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 ZUERST GEWITTER NUR WEST RISIKO JEDEN-TAG OST MEHR OST KOENNEN GEWITTER WEST
26July_2010_Monday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 IN-PAAR-TAG BLEIBEN SO WECHSELHAFT SOMMER TEMPERATUR SELTEN __OFF__
11November_2010_Thursday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ TEILWEISE REGEN KOMMEN IX NORDWEST VERSCHWINDEN NORD KOENNEN BISSCHEN GEWITTER __OFF__
27April_2010_Tuesday_heute_default-11 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG MEHR SCHOEN MEHR WARM NACH MITTAG ABEND BISSCHEN REGEN NORD WEST DANN FREITAG KOMMEN
30November_2009_Monday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 MORGEN SUEDOST TEIL REGEN MOEGLICH SCHNEE
13January_2010_Wednesday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 PLUS VIER MINUS FUENF THUERINGEN REGION SACHSEN WIE-AUSSEHEN IN-KOMMEND __OFF__
19February_2010_Friday_tagesschau_default-3 1 signer09 0.0 1.79769e+308 NAEHE TIEF LUFT DRUCK STARK UNTERSCHIED DESHALB TEIL WIND
30November_2009_Monday_tagesschau_default-8 1 signer03 0.0 1.79769e+308 NORD MEHR GUT MANCHMAL WOLKE TROCKEN WIND SCHWACH MAESSIG WEHEN
25June_2010_Friday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ SUED REGION BESONDERS BAYERN WALD BIS ALPEN DANN REGEN NACH MITTAG KOENNEN __OFF__
07February_2011_Monday_heute_default-10 1 signer07 0.0 1.79769e+308 KLAR LUFT VON NORD SEE WEHEN MITTWOCH AUCH SCHOEN KLAR SONNE GUT
11May_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 DONNERSTAG BESONDERS SUED SUEDOST REGEN IX
26July_2010_Monday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 MITTWOCH NORDWEST KOMMEN REGEN SCHAUER TEIL GEWITTER
11July_2011_Monday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 HEUTE NACHT MEHR LOCKER WOLKE ODER KLAR STERN SEHEN NORDWEST WOLKE __OFF__
30November_2009_Monday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 NORDWEST HAUPTSAECHLICH TROCKEN MANCHMAL WOLKE SONNE SONNE TEIL NEBEL
04July_2011_Monday_heute_default-5 1 signer07 0.0 1.79769e+308 STERN SEHEN SUEDWEST
20September_2010_Monday_heute_default-3 1 signer01 0.0 1.79769e+308 WEHEN MEHR FREUNDLICH MEHR HEUTE NACHT WAHRSCHEINLICH REGEN NORD REGION STERN KOENNEN SEHEN
11November_2010_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ TAG DANN SCHAUER BESONDERS NORD SPAETER REGION KOMMEN NEU REGEN __OFF__
25November_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN DONNERSTAG SECHS ZWANZIG NOVEMBER __OFF__
17April_2010_Saturday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 DIENSTAG HAUPTSAECHLICH SONNE ABER WOLKE AUCH HABEN WECHSELHAFT MOEGLICH REGEN ODER GEWITTER
27June_2011_Monday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ DANN MORGEN TAGSUEBER DANN OST DREIDREISSIG GRAD SEIN ANGENEHM IX SONST
17July_2009_Friday_tagesschau_default-3 1 signer09 0.0 1.79769e+308 KOMMEN KALT LUFT SO DESHALB WETTER WECHSELHAFT OST SUED
17July_2009_Friday_tagesschau_default-0 1 signer09 0.0 1.79769e+308 __ON__ IN-KOMMEND WETTER WIE-AUSSEHEN MORGEN SAMSTAG ACHTZEHN JULI __OFF__
17April_2011_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN MONTAG ACHTZEHN APRIL __OFF__
27April_2010_Tuesday_heute_default-1 1 signer01 0.0 1.79769e+308 SCHON MORGEN DREISSIG GRAD SUED FRANKREICH AUCH WARM HIER DEUTSCH LAND SCHON SUEDWEST FUENF ZWANZIG GRAD
26April_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ NORD REGEN NACHT VERSCHWINDEN ALPEN REGEN KOENNEN IX NEBEL __OFF__
05July_2010_Monday_heute_default-1 1 signer01 0.0 1.79769e+308 MORGEN UNGEFAEHR MITTE EUROPA ACHTZEHN BIS SECHS ZWANZIG GRAD OST EUROPA HEISS BIS FUENF ZWANZIG GRAD
19September_2010_Sunday_tagesschau_default-11 1 signer07 0.0 1.79769e+308 DONNERSTAG BISSCHEN SONNE WEST WOLKE MEHR NACH MITTAG BISSCHEN SONNE GEWITTER __OFF__
14October_2010_Thursday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUSSAGE FUER MORGEN FREITAG FUENFZEHN OKTOBER __OFF__
08February_2010_Monday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ MORGEN ERWARTEN NOCHEINMAL RUHIG WETTER IX TROCKEN WINTER
07December_2011_Wednesday_heute_default-8 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT NOCH STURM MITTE SUED DAZU SCHNEE REGEN
12December_2011_Monday_heute_default-2 1 signer08 0.0 1.79769e+308 __ON__ WEST HIMMEL STERN KOENNEN SEHEN ABER NICHTALP-STIMMT MORGEN WIEDER REGEN
24January_2013_Thursday_heute_default-4 1 signer07 0.0 1.79769e+308 BEDEUTEN HIMMEL WETTER HAUPTSAECHLICH UEBERWIEGEND KLAR KOMMEN ABER WEST BISSCHEN MILD LUFT WARM BISSCHEN
18April_2011_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DIENSTAG NEUNZEHN APRIL __OFF__
24June_2010_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN FREITAG FUENF ZWANZIG JUNI __OFF__
11December_2010_Saturday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 SUED MEHR REGEN UMWANDELN SCHNEE NACHT OST MITTE BERG STURM
17February_2010_Wednesday_heute_default-6 1 signer01 0.0 1.79769e+308 BODEN GEFRIEREN FLUSS IX BERUHIGEN PLUS STEIGEN SONST REGION FROST __OFF__
29November_2009_Sunday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 BODEN SEE MOEGLICH FLACH AUCH SCHNEE SUEDOST REGION NORD SEE NOCH TROCKEN
31January_2013_Thursday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT BESONDERS REGION KOMMEN REGEN REGION REGEN
30May_2010_Sunday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 __ON__ WO REGEN IX AUCH UNWETTER WIND NORD REGEN
12December_2011_Monday_heute_default-5 1 signer08 0.0 1.79769e+308 IX HIMMEL STERN KOENNEN SEHEN REGEN VERSCHWINDEN ABER WEST WOLKE DICK IX ANFANG REGEN BERG ANFANG IX SCHNEE AUCH
08December_2009_Tuesday_tagesschau_default-3 1 signer02 0.0 1.79769e+308 __ON__ SUED OST NOCH REGEN BERG SCHNEE NORD REGION NACH MITTAG ANFANG REGEN __OFF__
20July_2010_Tuesday_heute_default-6 1 signer03 0.0 1.79769e+308 BITTE IHR VIEL TRINKEN MOEGLICH BEISPIEL FLUSS FUENF DREISSIG FUENF DREISSIG GRAD KUESTE IX DREISSIG GRAD __OFF__
25June_2010_Friday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ AUCH ABEND ZWISCHEN NACHT IM-VERLAUF DANN REGEN REGION REGEN VERSCHWINDEN DANN REGION WOLKE KLAR __OFF__ __ON__ IX NEBEL __OFF__
24July_2011_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 OST SONNE MEHR MITTWOCH MEISTENS NACHMITTAG SCHAUER GEWITTER GLEICH WETTER AUCH DONNERSTAG __OFF__
11April_2010_Sunday_tagesschau_default-0 1 signer08 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN MONTAG ZWOELF APRIL ZEIGEN-BILDSCHIRM __OFF__
09March_2011_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 SUEDOST REGION VERSCHWINDEN LANGSAM IM-VERLAUF
19January_2011_Wednesday_heute_default-9 1 signer07 0.0 1.79769e+308 TROCKEN LUFT DAZU BISSCHEN KALT FRISCH NORD WEHEN
10November_2009_Tuesday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ ALLGEMEIN TIEF OST EUROPA KOMMEN
23August_2010_Monday_heute_default-8 1 signer08 0.0 1.79769e+308 AUCH SO WEITER MITTWOCH ABER DONNERSTAG HEISS ZURUECK SUED DARUM NORD REGEN KUEHL
05February_2011_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SPAETER KOMMEN OST AUFLOCKERUNG
09March_2011_Wednesday_heute_default-10 1 signer01 0.0 1.79769e+308 __ON__ MORGEN BISSCHEN REGEN KOMMEN NORD NEU REGEN KOMMEN
12January_2010_Tuesday_heute_default-5 1 signer03 0.0 1.79769e+308 HEUTE NACHT NOCH KALT HAUPTSAECHLICH MITTE BERG REGION MORGEN FRUEH WAHRSCHEINLICH SUED REGION MOEGLICH SCHNEE
21March_2011_Monday_tagesschau_default-10 1 signer08 0.0 1.79769e+308 __ON__ DREHEN MEER NORD MAESSIG FRISCH
04October_2010_Monday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ TEMPERATUR REGEN MEHR KUEHL SONST GUT
16November_2009_Monday_tagesschau_default-9 1 signer09 0.0 1.79769e+308 __ON__ MITTWOCH DONNERSTAG NORD WIND BLEIBEN TEIL REGEN VON-UNTEN NACH-NORD MEHR FREUNDLICH
20June_2011_Monday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ SO MANCHMAL ENORM SCHNELL OB SCHOEN SELBST LEUTE MUESSEN ENTSCHEIDUNG GEBEN SCHOEN GUT ABEND EUCH
20October_2011_Thursday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 SUED REGION KOENNEN NACHT FROST BODEN __OFF__
04July_2011_Monday_heute_default-14 1 signer07 0.0 1.79769e+308 OST ODER SUED ODER OST WEST OST
27June_2011_Monday_heute_default-4 1 signer01 0.0 1.79769e+308 __ON__ WEST WARM ZWANZIG GRAD OST BESTE SCHLAF FUENF BIS VIERZEHN GRAD __OFF__
20June_2011_Monday_heute_default-5 1 signer07 0.0 1.79769e+308 BISSCHEN WARM KALT WARM KALT SO WETTER WECHSELHAFT NICHT-IN-KOMMEND WIE-IMMER WIE-IMMER
05January_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 HEUTE NACHT KOENNEN SCHNEE IX REGEN NEBEL DANN KOENNEN BLEIBEN BIS SONNE DA __OFF__
17July_2009_Friday_tagesschau_default-4 1 signer09 0.0 1.79769e+308 HEUTE ABEND UEBERWIEGEND REGEN STARK GEWITTER DEUTSCH WETTER DIENST SAGEN WARNUNG
06January_2011_Thursday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 DARUM SCHNEE TAUEN VIEL WASSER STROEMEN KOENNEN UEBERSCHWEMMUNG
06June_2010_Sunday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 MORGEN GEWITTER TEIL HAGEL STURM NACHT KOMMEN NORD LANG REGEN
24January_2013_Thursday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 SONNTAG AB MEER KOMMEN BISSCHEN MEHR MILD KOMMEN
01June_2010_Tuesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ OST REGION HOCH STURM KOENNEN MANNHEIM BISSCHEN REGION ZWEI SIEBEN GRENZE __OFF__
12December_2011_Monday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ TIEF KOMMEN IN-KOMMEND IN-KOMMEND REGEN STURM __OFF__
07December_2010_Tuesday_tagesschau_default-13 1 signer07 0.0 1.79769e+308 HAUPTSAECHLICH STARK WIND FREITAG SUEDWEST SCHNEE REGEN TIEF WEST AUCH HABEN REGEN
15May_2010_Saturday_tagesschau_default-8 1 signer03 0.0 1.79769e+308 __ON__ HEUTE NACHT ACHT BIS ZWEI GRAD KLAR HIMMEL MOEGLICH BODEN FROST __OFF__
09August_2009_Sunday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ WIND SCHWACH __OFF__ __ON__ SUED WIND ZEIGEN-BILDSCHIRM __OFF__
25August_2010_Wednesday_heute_default-6 1 signer03 0.0 1.79769e+308 GRUND HOCH TIEF WIEDER UND SUED REGION LUFT FEUCHT WARM SUED REGION SONNE ABEND GEWITTER KOENNEN __OFF__
30December_2010_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN __OFF__
05February_2011_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 IX MORGEN LANG SONNE NORD OST MORGEN FRUEH REGEN
28December_2011_Wednesday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 IX NACHMITTAG KOMMEN REGEN VIERHUNDERT ACHTHUNDERT METER UEBER SCHNEE
31May_2011_Tuesday_heute_default-25 1 signer01 0.0 1.79769e+308 FLUSS REGION SCHAUER NORDWEST WARM KOMMEN
12October_2009_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN DREIZEHN OKTOBER __OFF__
09November_2010_Tuesday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT IX TEMPERATUR SECHS BIS EIN GRAD __OFF__
11November_2009_Wednesday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 __ON__ IM-VERLAUF AUCH WOLKE REGEN __OFF__ __ON__ WIND SCHWACH MAESSIG WEHEN
25November_2009_Wednesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ REGION KOMMEN BISSCHEN LUFT NICHT-HABEN MILD __OFF__
05January_2011_Wednesday_tagesschau_default-17 1 signer08 0.0 1.79769e+308 __ON__ WOCHENENDE BLEIBEN TAUEN DAZU REGEN BLEIBEN __OFF__
31January_2011_Monday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 JETZT WETTER VORAUS INFORMIEREN MORGEN DIENSTAG ERSTE FEBRUAR __OFF__
01April_2011_Friday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 __ON__ MONTAG UEBERALL WECHSELHAFT ABER KUEHL AB DIENSTAG IN-KOMMEND LANGSAM WIEDER ZURUECK FREUNDLICH WARM __OFF__
27May_2011_Friday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 MORGEN NORDOST FUENFZEHN GRAD FLUSS DREI ZWANZIG GRAD __OFF__
18May_2010_Tuesday_heute_default-7 1 signer08 0.0 1.79769e+308 __ON__ MORGEN REGEN KOMMEN WEST KOMMEN SPEZIELL BADEN WUERTTEMBERG BAYERN REGION __OFF__
17June_2010_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ AUCH DEUTSCH WETTER DIENST SCHON WARNUNG UNWETTER KOENNEN
17February_2011_Thursday_tagesschau_default-5 1 signer07 0.0 1.79769e+308 TAG GANZTAGS MEHR STARK WOLKE ODER NEBEL SONNE KAUM
30July_2011_Saturday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ REGEN REGION __OFF__
22September_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT MEHR KLAR STERN KOENNEN SEHEN LEICHT WOLKE BESONDERS NAEHE FLUSS MITTE SUED REGION NEBEL QUELL WOLKE __OFF__
04December_2011_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 BOEE STARK WIND BERG SCHWER STURM __OFF__
05November_2010_Friday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 BISSCHEN FRISCH KUEHL WEHEN BISSCHEN STURM BERG MOEGLICH
12April_2010_Monday_heute_default-6 1 signer01 0.0 1.79769e+308 MORGEN SO NORD GUT SONNE VIEL BESONDERS KUESTE VIEL SONNE TROCKEN BLEIBEN
18November_2011_Friday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ HOCH LUFT MEISTENS KOMMEN WOCHENENDE NAECHSTE ANFANG WOCHE WIE-IMMER SO __OFF__
10February_2010_Wednesday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 SAMSTAG TEIL SCHNEE BISSCHEN NORD REGION KLAR HIMMEL
30March_2010_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WEST REGION REGEN BERG SCHNEE SCHAUER DABEI __OFF__
05May_2011_Thursday_heute_default-5 1 signer08 0.0 1.79769e+308 FROST SCHADEN BRAUN KNOSPE-ABFALLEN DARUM ERNTE WENIGER AUCH WEIN UEBERALL DEUTSCH LAND __OFF__
24August_2010_Tuesday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT KUESTE REGEN SUED AUCH IX LANGSAM AUFLOESEN REGION TROCKEN KOENNEN
13April_2010_Tuesday_tagesschau_default-19 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG VIEL SONNE BESONDERS ALPEN KUESTE WOLKE KOENNEN __OFF__
05October_2010_Tuesday_heute_default-7 1 signer01 0.0 1.79769e+308 AUCH TEILWEISE NEBEL DAZU WIND REGION __OFF__
12July_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ WEST NORDWEST VERSCHWINDEN MORGEN OST SUEDOST MISCHUNG SONNE WOLKE TEILWEISE REGEN GEWITTER __OFF__
11August_2010_Wednesday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 NEUNZEHN BIS FUENF ZWANZIG L IX SIEBEN ZWANZIG GRAD __OFF__
23October_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 IX MEER SCHWER STURM __OFF__
13April_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ OST SIEBEN GRAD FUENFZEHN FLUSS __OFF__
04May_2010_Tuesday_heute_default-6 1 signer04 0.0 1.79769e+308 DONNERSTAG EXTREM WETTER REGION TEMPERATUR UNTERSCHIED SECHS BIS ZWANZIG GRAD DANN RUHIG
30December_2010_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORD BISSCHEN REGEN SCHNEE HAGEL REGION TROCKEN
04May_2010_Tuesday_heute_default-0 1 signer04 0.0 1.79769e+308 __ON__ MITTWOCH REGION SONNE BRAUCHEN MOECHTEN HIER ENTTAEUSCHT
12October_2009_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ MITTWOCH REGEN SCHNEE SUEDOST STURM WEST FREUNDLICH __OFF__
01June_2010_Tuesday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ LIEB ZUSCHAUER BEGRUESSEN GUT ABEND __OFF__
06October_2010_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 MORGEN VOR MITTAG NORD STARK WIND WEHEN SCHWACH __OFF__
18July_2009_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ KOMMEN TIEF DRUCK DESHALB DEUTSCHLAND REGEN KUEHL REGEN
12October_2009_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ AUCH DONNERSTAG FREITAG VIEL WOLKE BEWOELKT SUEDOST SCHNEE KOENNEN __OFF__
22July_2009_Wednesday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 HIER NACHT HAUPTSAECHLICH NORDWEST SCHAUER GEWITTER HEFTIG REGEN MOEGLICH
20February_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 IX ALPEN MINUS ACHT MAXIMAL NORD FLUSS MINUS EINS FLUSS PLUS ACHT
25September_2010_Saturday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 MONTAG HEFTIG REGEN NORDOST REGEN AUCH DAZU WIND REGION
15May_2010_Saturday_tagesschau_default-4 1 signer03 0.0 1.79769e+308 MORGEN SUEDOST WOLKE HAUPTSAECHLICH ALPEN MOEGLICH REGEN
07October_2012_Sunday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 __ON__ REGION HEUTE NACHT STURM MORGEN LEICHT MAESSIG WIND NORDWEST FRISCH WEHEN __OFF__
02June_2010_Wednesday_heute_default-6 1 signer01 0.0 1.79769e+308 AUCH DRESDEN REGION REGEN KOENNEN __OFF__
05May_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ MITTE MEER TIEF KOMMEN NORD KOMMEN MORGEN FAST REGION WOLKE HIMMEL
17October_2009_Saturday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DIENSTAG RUHIG HERBST MIT REGEN SONNE TEIL NEBEL UND NEBEL __OFF__
29June_2011_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 NACHT ACHTZEHN GRAD REGION ACHT GRAD BERG IX __OFF__
18April_2010_Sunday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 DONNERSTAG MITTAG FREUNDLICH NORD REGEN SUED REGEN __OFF__
01October_2009_Thursday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 __ON__ SONNTAG NORD MITTE REGION REGEN NORD STURM SUED REGION BESSER __OFF__
04December_2011_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 __ON__ WIND KALT DIENSTAG REGEN SCHNEE GRAUPEL IX REGEN LANG
05September_2009_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 SUED SCHWACH MAESSIG WEHEN NORD WIND NACHT STURM
05May_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 NORD MORGEN MUESSEN TROCKEN DANN REGION REGEN VIEL
30August_2011_Tuesday_heute_default-1 1 signer07 0.0 1.79769e+308 DEUTSCH LAND BISSCHEN WARM MEHR WENIG SONNE ABER ENORM VIEL REGEN
25August_2009_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ IN-KOMMEND WIE-AUSSEHEN TEIL WECHSELHAFT SONNE WOLKE UNTERSCHIED GEWITTER KOENNEN
18February_2011_Friday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 SONST REGION FROST VOR REGION MINUS SECHS REGION SONST NOCH MINUS ZWEI GRAD REGION
01October_2012_Monday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 __ON__ MITTE BERG VIER NORDWEST ZWOELF GRAD WOLKE
24August_2009_Monday_heute_default-4 1 signer09 0.0 1.79769e+308 MORGEN BIS NACH MITTAG OST SONNE DAZU WOLKE REGION KOMMEN
15February_2011_Tuesday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 OST KOENNEN GEFRIEREN GLATT AUCH REGEN KOENNEN TAG MEHR WOLKE ODER NEBEL __OFF__
15July_2010_Thursday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 SUEDOST LOCKER NACHT KOENNEN GEWITTER SPAETER SUEDOST
07June_2010_Monday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 HAUPTSAECHLICH POSITION KOENNEN STARK REGEN HAGEL STURM
05February_2010_Friday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 FLUSS WEST UND NORD MEHR TROCKEN __OFF__
12July_2011_Tuesday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ MORGEN GEWITTER MEISTENS WO SUEDOST REGION BRAND BURG IX __OFF__
27June_2010_Sunday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 MORGEN TEMPERATUR ZWEIZWANZIG GRAD NORD SEE IX ZWEIDREISSIG GRAD FLUSS
06August_2010_Friday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 TEIL LANG REGION SONNE BISSCHEN WOLKE NORDWEST NACHMITTAG BISSCHEN SCHAUER __OFF__
06October_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ ALLGAEU HEUTE NACHT FUENF NORD VIERZEHN GRAD FREUNDLICH __OFF__
21April_2010_Wednesday_heute_default-0 1 signer08 0.0 1.79769e+308 __ON__ GUT ABEND BEGRUESSEN JETZT NACHT KOMMEN FROST TAG TEMPERATUR HOCH NOCH-NICHT
26August_2009_Wednesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG KUEHL WENIGER NORD STARK WIND AB SONNTAG TEMPERATUR STEIGEN SONNE LANG __OFF__
18December_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 IX WEHEN IX WEHEN __OFF__
29April_2010_Thursday_heute_default-10 1 signer03 0.0 1.79769e+308 NOCH SONNE VOR MITTAG NOCH DANN IM-VERLAUF NACH MITTAG BAYERN REGION GEWITTER
06February_2010_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 OST SONNE WEST TRUEB BISSCHEN REGEN TROPFEN WIND SCHWACH WEHEN
18December_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 __ON__ IX TEIL REGEN GEFRIEREN ZUERST SCHWACH WEHEN
06February_2010_Saturday_tagesschau_default-5 1 signer04 0.0 1.79769e+308 SUEDWEST NEBEL NORDOST AUFLOESEN ALPEN SCHNEE
09June_2010_Wednesday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 DAZU LUFT ENORM WARM FEUCHT KOENNEN GEWITTER DEUTSCH WETTER DIENST BEKANNTGEBEN MOEGLICH GEWITTER KOMMEN __OFF__
20June_2011_Monday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUS INFORMIEREN MORGEN DIENSTAG EINS ZWANZIG JUNI __OFF__
24November_2009_Tuesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ SCHOTTLAND REGION UND SUED EUROPA SUED REGION DAZWISCHEN MORGEN LUFT MILD KOMMEN __OFF__
28January_2013_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WIND HEUTE NACHT WEHEN NORD STURM KOENNEN STURM BERG STURM ORKAN __OFF__
08January_2010_Friday_tagesschau_default-5 1 signer09 0.0 1.79769e+308 __ON__ SUED WIND MAESSIG NORD WIND STARK EIN-PAAR WIND NORD MEER WIE ORKAN MOEGLICH __OFF__
05July_2010_Monday_tagesschau_default-17 1 signer01 0.0 1.79769e+308 __ON__ MORGEN ACHTZEHN NORD DANN SECHS ZWANZIG REGION __OFF__
28September_2010_Tuesday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ HALLO GUT ABEND BISHER TAG LETZTE DEUTSCHLAND SCHLECHT VIEL REGEN DARUM FLUSS OST AUCH HOCHWASSER MESSEN VORSICHT
16May_2010_Sunday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 IN-KOMMEND REGION TIEF DRUCK ENORM LUFT BLEIBEN __OFF__
25October_2010_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 DANN NEU WOLKE KOMMEN STROEMEN NACH MITTAG KOENNEN REGEN SCHON WIND KOMMEN __OFF__
20June_2011_Monday_tagesschau_default-9 1 signer07 0.0 1.79769e+308 FLUSS MILD SECHSZEHN GRAD FLUSS NUR ACHT GRAD HOCH FLUSS WARM DREISSIG GRAD
21May_2010_Friday_tagesschau_default-10 1 signer03 0.0 1.79769e+308 __ON__ ES-BEDEUTET WIND WEHEN ABER HAUPTSAECHLICH SCHWACH MAESSIG WEHEN __OFF__
07February_2011_Monday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER SONNE VORBEI DANN KOMMEN MEHR REGEN MORGEN IX FLUSS AUCH MEHR WOLKE
12March_2011_Saturday_tagesschau_default-15 1 signer07 0.0 1.79769e+308 DANN DIENSTAG NORDWEST BISSCHEN REGEN OST REGEN SONST SONNE WOLKE
11May_2010_Tuesday_heute_default-13 1 signer01 0.0 1.79769e+308 __ON__ ZWANZIG GRAD IN-KOMMEND DONNERSTAG BESONDERS SCHOEN WAHRSCHEINLICH REGION NORD
05February_2010_Friday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 __ON__ ABER STARK WOLKE HIMMEL KOENNEN NEBEL TEILWEISE SOLL SONNE DABEI __OFF__
17September_2010_Friday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 __ON__ A REGION WETTER BIS SUED DEUTSCHLAND KOMMEN GUT FREUNDLICH SONNE GUT
12December_2009_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 NACHT SCHNEE LEICHT KUESTE TIEF SUED REGEN DABEI
05May_2010_Wednesday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 BAYERN SACHSEN IX SCHAUER GEWITTER AUCH EIN-PAAR IX KOENNEN SEHEN HIMMEL __OFF__
22November_2010_Monday_heute_default-10 1 signer01 0.0 1.79769e+308 BIS ABEND IN-KOMMEND DANN KOMMEN NIEDERUNG __OFF__
18July_2009_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 ANDERE MAESSIG SUED ALPEN SUED NACHT SECHS MAXIMAL FUENFZEHN FLUSS
25March_2011_Friday_tagesschau_default-13 1 signer07 0.0 1.79769e+308 __ON__ MONTAG FAST UEBERALL SONNE MEER BERG IX MEHR WOLKE ABER NUR BISSCHEN ORT REGEN
25October_2010_Monday_tagesschau_default-21 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG NORDWEST REGEN REGION SONNE WOLKE WECHSELHAFT DANN FREITAG AEHNLICH WETTER __OFF__
07December_2009_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WIND ZEIGEN-BILDSCHIRM SCHWACH MAESSIG __OFF__
18February_2011_Friday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 BESONDERS OST DEUTSCH LAND MEHR REGEN ODER SCHNEE
24November_2009_Tuesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG BESONDERS NORDWEST REGEN STURM KOENNEN IX AUCH GEWITTER SUEDOST SONNE DABEI __OFF__
24August_2010_Tuesday_heute_default-0 1 signer08 0.0 1.79769e+308 __ON__ LIEB ZUSCHAUER GUT ABEND WETTER VERAENDERN ENORM GESTERN ORKAN STURM ORKAN
11December_2010_Saturday_tagesschau_default-13 1 signer08 0.0 1.79769e+308 GLEICH AEHNLICH DIENSTAG ABER OST DANN SCHNEE MITTWOCH SEIN GLEICH MINUS NEUN BIS MINUS EIN GRAD __OFF__
06December_2009_Sunday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT REGEN KOMMEN RICHTUNG __OFF__
11August_2011_Thursday_heute_default-8 1 signer08 0.0 1.79769e+308 NACH MITTAG ENDLICH SONNE UND REGEN KOMMEN MUENCHEN P KOMMEN __OFF__
21April_2010_Wednesday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 MORGEN NORD NEUN GRAD SUED ACHTZEHN GRAD __OFF__
04May_2011_Wednesday_heute_default-12 1 signer01 0.0 1.79769e+308 REGION ZWOELF BIS ACHTZEHN GRAD KUEHL SEIN __OFF__
07February_2011_Monday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 TAG SUED FREUNDLICH SONNE NORD AUCH BISSCHEN WOLKE BISSCHEN MEHR SONNE
06October_2011_Thursday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ WEHEN REGION FRISCH WIND SCHAUER IX __OFF__
22November_2011_Tuesday_heute_default-2 1 signer07 0.0 1.79769e+308 WOCHENENDE VIEL REGEN NICHTALP-AUCH NICHTALP-AUCH NORMAL IX MITTE REGION SAEGE SECHS SECHZIG LITER REGEN PRO QUADRATMETER DEUTSCH LAND
03July_2009_Friday_tagesschau_default-13 1 signer04 0.0 1.79769e+308 SONNTAG UEBERWIEGEND OST SUED SCHAUER GEWITTER REGION FREUNDLICH NAECHSTE WOCHE KUEHL ABWECHSELN WETTER __OFF__
26March_2011_Saturday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ NACHT REGEN REGION B BAYERN REGION REGEN
25August_2010_Wednesday_tagesschau_default-2 1 signer03 0.0 1.79769e+308 __ON__ WEST KOMMEN TIEF ENORM REGEN GEWITTER SUED REGION MORGEN SOLL HOCH DRUCK
18December_2010_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN SONNTAG NEUNZEHNTE DEZEMBER __OFF__
24November_2009_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT NORD REGION ELF GRAD ALPEN EINS GRAD NACHMITTAG MITTE REGION ZEHN GRAD __OFF__ __ON__ SUED SECHSZEHN GRAD __OFF__
25August_2010_Wednesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 NOCH GUT WARM HEUTE NACHT WEST KOMMEN REGEN KOENNEN
24October_2010_Sunday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 OST SUED BISSCHEN SCHAUER BIS ZWISCHEN-MITTE SCHNEE TEIL NEBEL WOLKE ODER SONNE
18January_2011_Tuesday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUS INFORMIEREN MORGEN MITTWOCH NEUNZEHN JANUAR __OFF__
04April_2010_Sunday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 __ON__ DIENSTAG HAUPTSAECHLICH SONNE NORDOST WOLKE MOEGLICH REGEN
25September_2010_Saturday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 __ON__ DESWEGEN UNWETTER MEISTENS VERBREITEN NACHT ZONE REGION WECHSELHAFT WOLKE
13April_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 REGION HOCH DRUCK KOMMEN SKANDINAVIEN KOMMEN DARUM KOMMEN FREUNDLICH
21January_2011_Friday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 BEI-UNS NORDWEST BEKOMMEN REGEN ODER SCHNEE
23January_2011_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN MONTAG VIER ZWANZIG JANUAR ZWEITAUSEND ELF __OFF__
07December_2009_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ IX KOENNEN SONNE __OFF__
29March_2011_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ DANN REGEN WENIG ABER MORGEN BISSCHEN REGEN MEHR __OFF__
24August_2009_Monday_heute_default-8 1 signer09 0.0 1.79769e+308 __ON__ MITTWOCH NUR REST SCHAUER GEWITTER REGION
10August_2009_Monday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE ABEND OST REGION REGEN GEWITTER KOENNEN WIND REGEN __OFF__
20November_2010_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 KLAR NACHT EIS NORD PLUS FUENF
28March_2011_Monday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ NORDWEST ZONE NEBEL AUFLOESEN MORGEN MEISTENS SONNE __OFF__
19September_2010_Sunday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 __ON__ SUED WIND NUR SCHWACH NORD WEHEN BISSCHEN WEHEN KUESTE STARK STURM WEHEN DAS-WARS
05May_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 NORD REGEN WOCHENENDE MEHR WARM WETTER WECHSELHAFT GEWITTER UND SONNE DABEI __OFF__
05May_2011_Thursday_heute_default-16 1 signer08 0.0 1.79769e+308 __ON__ WALD TROCKEN SPEZIELL NORDOST BIS WOCHENENDE IN-KOMMEND
04December_2010_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN SONNTAG FUENFTE DEZEMBER __OFF__
27August_2010_Friday_tagesschau_default-14 1 signer03 0.0 1.79769e+308 __ON__ SONNTAG MONTAG BLEIBEN SO MEHR KUEHL AUCH WECHSELHAFT
22October_2010_Friday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 NORDWEST NACHT ACHT WENN KLAR FROST IX BERG REGION MORGEN SIEBEN
01October_2012_Monday_heute_default-1 1 signer04 0.0 1.79769e+308 FUER VIEL SONNE NICHT-REGION NICHT PAAR-TAG ANFANG WIE-IMMER WIE-IMMER IN-KOMMEND
10May_2010_Monday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT SUED ANFANG BISSCHEN GEWITTER IX SONST REGION REGEN IX KOENNEN AUCH NEBEL __OFF__
03August_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ NEUNZEHN GRAD NORD SECHS ZWANZIG THUERINGEN SACHSEN TAG KLAR __OFF__
21November_2010_Sunday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 MITTWOCH DONNERSTAG WECHSELHAFT BISSCHEN REGEN SCHNEE MEHR TIEF SCHNEE HABEN __OFF__
19November_2011_Saturday_tagesschau_default-12 1 signer04 0.0 1.79769e+308 __ON__ NACHT FUENF IX S+L+Y IX MINUS FUENF BERG
21November_2010_Sunday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ HEUTE-NACHT STERN HABEN BISSCHEN FROST MOEGLICH SONST NULL BIS VIER GRAD __OFF__
01October_2010_Friday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 NACHT ZWOELF KOELN REGION EINS REGION IX AM-TAG ELF VOGEL LAND __OFF__
28January_2013_Monday_heute_default-8 1 signer01 0.0 1.79769e+308 __ON__ WEST REGEN KOMMEN OST REGION ANFANG SCHNEE MITTE BERG AUCH __OFF__
10February_2010_Wednesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 SCHNEE AUCH FROST __OFF__ __ON__ FUER HEUTE WETTER BESSER RUHIG
24January_2013_Thursday_heute_default-7 1 signer07 0.0 1.79769e+308 BISSCHEN SCHNEE IN-KOMMEND SACHSEN ODER BERG REGION BAYERN REGION MOEGLICH SCHNEE SONST
26June_2010_Saturday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND SCHWACH __OFF__
02February_2011_Wednesday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 NORDWEST WIEDER FREUNDLICH WOLKE AUFLOESEN WIND SCHWACH NORD MAESSIG
31August_2010_Tuesday_heute_default-6 1 signer01 0.0 1.79769e+308 SONST REGION HIMMEL __OFF__
06October_2011_Thursday_heute_default-3 1 signer01 0.0 1.79769e+308 __ON__ TIEF O+P+H+E+L+I+A KALT KOMMEN MITTE EUROPA BERG SCHON SCHNEE __OFF__
28January_2013_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ STURM WEITER KRAEFTIG REGEN KOMMEN __OFF__
26June_2010_Saturday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ REGION TAGSUEBER DANN WOLKE __OFF__ __ON__ DANN SUEDWEST GEWITTER KOENNEN __OFF__
21January_2011_Friday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 HEUTE NACHT STERN SEHEN MEISTENS NEBEL AUCH
01April_2010_Thursday_heute_default-5 1 signer04 0.0 1.79769e+308 ABER FREUEN MORGEN SONNE SELTEN REGEN
05July_2010_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ SUEDWEST KOMMEN MEHR TROCKEN __OFF__
11February_2010_Thursday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 __ON__ WOCHENENDE IM-VERLAUF MEHR TROCKEN ABER BLEIBEN KALT __OFF__
28September_2010_Tuesday_heute_default-7 1 signer07 0.0 1.79769e+308 FLUSS UNGEFAEHR FUENFZEHN IX SIEBZEHN GRAD EINS ZWEI GRAD STEIGEN
02December_2010_Thursday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 __ON__ OST SEE TIEF DRUCK ZONE NORD NOCH SCHNEE SCHNEIEN ZWEITE MITTE MEER DANN SLOWAKEI KOMMEN
07April_2011_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORDOST WOLKE VIEL IX WENIG __OFF__
08June_2010_Tuesday_tagesschau_default-11 1 signer03 0.0 1.79769e+308 DONNERSTAG FREITAG WETTER BLEIBEN HEUTE FEUCHT WARM HEISS ENORM MOEGLICH GEWITTER AUCH STARK
24October_2010_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 MITTWOCH KOMMEN REGEN REGION KOMMEN MISCHUNG NEBEL WOLKE SONNE __OFF__
03July_2011_Sunday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 REGION MEHR FREUNDLICH HOCH DRUCK KOMMEN BIS REGION __OFF__
22September_2010_Wednesday_heute_default-13 1 signer01 0.0 1.79769e+308 __ON__ FREITAG LANGSAM SINKEN TEMPERATUR SINKEN WEST OST REGEN SAMSTAG SONNTAG KUEHL HERBST SO IN-KOMMEND SCHOEN ABEND TSCHUESS __OFF__
13December_2010_Monday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 __ON__ NORD HEUTE NACHT MINUS ZWEI BERG BIS MINUS FUENFZEHN GRAD IX MORGEN MINUS SIEBEN GRAD
05November_2010_Friday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 AUCH BISSCHEN SONNE MORGEN MEISTENS REGEN TAG IM-VERLAUF KOMMEN
17January_2011_Monday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 SUED AUCH VIEL WOLKE ODER NEBEL ABER REGEN SUED KAUM __OFF__
18January_2011_Tuesday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 SONNE SELTEN NUR WOLKE HAUPTSAECHLICH
24August_2010_Tuesday_heute_default-3 1 signer08 0.0 1.79769e+308 NAECHSTE REGEN AB DONNERSTAG WAHRSCHEINLICH KUEHL BLEIBEN
11August_2009_Tuesday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ BEREICH SUED MEHR FREUNDLICH SONST VIEL WOLKE NORD KOMMEN SCHAUER GEWITTER KOENNEN __OFF__
19January_2011_Wednesday_heute_default-12 1 signer07 0.0 1.79769e+308 UND NICHT-IMMER KOMMEN SCHNEE SCHNEIEN SCHOEN ABEND EUCH MACHEN GUT __OFF__
04January_2010_Monday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER BEGRUESSEN __OFF__
25June_2010_Friday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ KOMMEN KRAEFTIG WAS WOCHENENDE VIEL SONNE TEMPERATUR STEIGEN __OFF__
23May_2010_Sunday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ IN-KOMMEND TIEF AUFZIEHEN WETTER WECHSELHAFT TEMPERATUR REDUZIEREN __OFF__
12August_2010_Thursday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ DEUTSCH LAND KOMMEN KUEHL HEISS GETRENNT NAEHE __OFF__
15February_2011_Tuesday_heute_default-17 1 signer08 0.0 1.79769e+308 __ON__ SONNE KOENNEN OST SUED BERG REGION SPAETER IX SUEDWEST __OFF__
29September_2012_Saturday_tagesschau_default-8 1 signer06 0.0 1.79769e+308 SUED WIND SCHWACH MAESSIG WEHEN FRISCH STARK BOEE __OFF__
09February_2010_Tuesday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 SAMSTAG SCHNEE WENIG REGION MANCHMAL JA __OFF__
01April_2011_Friday_tagesschau_default-0 1 signer08 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN SAMSTAG ZWEITE APRIL __OFF__ __ON__ ZEIGEN-BILDSCHIRM __OFF__
19February_2011_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN SONNTAG ZWANZIG AUGUST FEBRUAR __OFF__
23September_2010_Thursday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG HAUPTSAECHLICH MEHR WOLKE SONNE WENIG IX SUEDOST REGEN KOENNEN SUEDWEST BISSCHEN SCHAUER __OFF__
17May_2010_Monday_heute_default-15 1 signer08 0.0 1.79769e+308 __ON__ JETZT SCHOEN ABEND MITTEILEN __OFF__
10August_2009_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ ANKLICKEN TEXT ODER INTERNET ANSCHAUEN KOENNEN __OFF__
11August_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE REGION SCHWACH MAESSIG WIND ZEIGEN-BILDSCHIRM __OFF__
14March_2011_Monday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 ABER REST REGION FREUNDLICH AUCH WEST REGION OST MOEGLICH IX SONNE __OFF__
25August_2009_Tuesday_heute_default-10 1 signer01 0.0 1.79769e+308 DONNERSTAG FREUNDLICH SONNE MANCHMAL WARM TEMPERATUR __OFF__
05May_2011_Thursday_heute_default-13 1 signer08 0.0 1.79769e+308 DAZU IX WIND WEHEN LEICHT __OFF__
19March_2011_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ REGION KOMMEN STARK DANN VIEL SONNE
29December_2011_Thursday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 DESWEGEN SCHNEEVERWEHUNG KOENNEN SUEDOST WARNUNG UNWETTER
14August_2011_Sunday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ REGION KUEHL KOMMEN WARM KOMMEN WARM KOMMEN MORGEN KOENNEN REGEN GEWITTER UNWETTER KOENNEN
12July_2009_Sunday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ WETTER MORGEN WIE-AUSSEHEN __OFF__
17February_2011_Thursday_heute_default-5 1 signer07 0.0 1.79769e+308 TEMPERATUR NULL GRAD KALT NORD MINUS FUENF GRAD __OFF__
14August_2011_Sunday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ OST SUEDOST NACHT ANFANG NOCH REGEN HAGEL
01April_2010_Thursday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 SONNTAG REGEN TEIL GEWITTER SUEDOST DURCH REGEN
29December_2011_Thursday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SUED OST SUED SCHNEE SONST WECHSELHAFT WOLKE SCHAUER SONNE
16June_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ NORD MITTE REGION HEUTE NACHT KLAR STERN KOENNEN SEHEN SUED REGEN HOEHER __OFF__
26August_2009_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 ABER NORD BISSCHEN KUEHL FUENFZEHN BIS ZWANZIG GRAD __OFF__
21May_2010_Friday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 MORGEN NORD FUENFZEHN GRAD REGION FLUSS VIER ZWANZIG GRAD MOEGLICH
14August_2011_Sunday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 __ON__ NORDWEST NUR SCHAUER NORDWEST AUCH REGEN VESCHWINDEN WOLKE VERSCHWINDEN __OFF__
06January_2010_Wednesday_tagesschau_default-18 1 signer01 0.0 1.79769e+308 __ON__ BERG SCHNEE WIND WOCHENENDE AUCH IX SCHNEE KOENNEN BLEIBEN WIND __OFF__
21May_2010_Friday_tagesschau_default-13 1 signer03 0.0 1.79769e+308 SONNTAG BLEIBEN SO MONTAG NORD WOLKE KOMMEN REGEN
30September_2009_Wednesday_tagesschau_default-2 1 signer03 0.0 1.79769e+308 __ON__ SUED SCHWEDEN TIEF KOMMEN JETZT DEUTSCH LAND KOMMEN
| 63,357 | phoenix2014-nosigner05-groundtruth-test | stm | de | unknown | unknown | {} | 0 | {} |
1zilc/fishing-funds | src/renderer/components/Home/FundView/FundManagerContent/Appraise/index.tsx | import React from 'react';
import { useResizeEchart, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import styles from './index.module.css';
export interface AppraiseProps {
power: Fund.Manager.Power;
}
const Appraise: React.FC<AppraiseProps> = ({
power = {
avr: '',
categories: [''],
dsc: [],
data: [],
jzrq: '',
},
}) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
useRenderEcharts(
() => {
chartInstance?.setOption({
// backgroundColor: '#161627',
title: {
text: '',
left: 'center',
},
grid: {
left: 0,
right: 0,
bottom: 0,
containLabel: true,
},
tooltip: {
trigger: 'item',
confine: true,
},
radar: {
indicator: power.categories?.map((name) => ({
name,
max: 100,
})) || [''],
shape: 'circle',
splitNumber: 5,
center: ['50%', '50%'],
radius: '64%',
name: {
textStyle: {
color: 'rgb(228, 167, 82)',
},
},
splitLine: {
lineStyle: {
color: [
'rgba(238, 197, 102, 0.3)',
'rgba(238, 197, 102, 0.5)',
'rgba(238, 197, 102, 0.7)',
'rgba(238, 197, 102, 0.8)',
'rgba(238, 197, 102, 0.9)',
'rgba(238, 197, 102, 1)',
].reverse(),
},
},
splitArea: {
show: false,
},
axisLine: {
lineStyle: {
color: 'rgba(238, 197, 102, 0.5)',
},
},
},
series: [
{
name: '能力评估',
type: 'radar',
lineStyle: { width: 1, opacity: 0.8 },
data: [power.data || []],
symbol: 'none',
itemStyle: {
color: '#F9713C',
},
areaStyle: {
opacity: 0.5,
},
},
],
});
},
chartInstance,
[power]
);
return (
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
</div>
);
};
export default Appraise;
| 2,363 | index | tsx | en | tsx | code | {"qsc_code_num_words": 187, "qsc_code_num_chars": 2363.0, "qsc_code_mean_word_length": 5.07486631, "qsc_code_frac_words_unique": 0.53475936, "qsc_code_frac_chars_top_2grams": 0.0516333, "qsc_code_frac_chars_top_3grams": 0.07376185, "qsc_code_frac_chars_top_4grams": 0.09589041, "qsc_code_frac_chars_dupe_5grams": 0.12012645, "qsc_code_frac_chars_dupe_6grams": 0.07586934, "qsc_code_frac_chars_dupe_7grams": 0.05900948, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.08646617, "qsc_code_frac_chars_whitespace": 0.43715616, "qsc_code_size_file_byte": 2363.0, "qsc_code_num_lines": 102.0, "qsc_code_num_chars_line_max": 89.0, "qsc_code_num_chars_line_mean": 23.16666667, "qsc_code_frac_chars_alphabet": 0.62706767, "qsc_code_frac_chars_comments": 0.01269573, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.04166667, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.11958851, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
2000ZRL/LCSA_C2SLR_SRM | evaluation_relaxation/phoenix2014-groundtruth-test.stm | 24January_2013_Thursday_heute_default-12 1 signer07 0.0 1.79769e+308 SAMSTAG KALT MINUS ZEHN TEMPERATUR SONNTAG GLATT EIS REGEN
07December_2010_Tuesday_heute_default-6 1 signer07 0.0 1.79769e+308 UEBERSCHWEMMUNG SUED NORD DEUTSCHLAND BEWOELKT SUED HABEN SONNE BISSCHEN WEHEN TEMPERATUR ALPEN IX KOENNEN BIS ZEHN GRAD
28July_2010_Wednesday_tagesschau_default-7 1 signer08 0.0 1.79769e+308 __ON__ MORGEN TATSAECHLICH REGEN GEWITTER KOENNEN __OFF__
04January_2011_Tuesday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 HEUTE NACHT KLAR HIMMEL FROST NORD MINUS ZWEI __OFF__
24February_2011_Thursday_heute_default-1 1 signer01 0.0 1.79769e+308 BERG GARTEN IX __OFF__ __ON__ WEST FUENF C+M NEU SCHNEE HOCH SCHON AUTOBAHN LAHM __OFF__
01April_2011_Friday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 __ON__ FLUSS NORDOST HEUTE ABEND NOCH WOLKE KOENNEN REGEN SUEDOST
10January_2011_Monday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 WEST SCHNEE REGEN GLATT IN-KOMMEND DANN WECHSELHAFT STARK MILD __OFF__
04January_2010_Monday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT MINUS ZWEI MINUS ZWANZIG UNTEN ALPEN TAL __OFF__
14July_2009_Tuesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 TEIL AUCH KLAR MORGEN FRUEH SUEDOST RECHNEN REGEN SUED TATSAECHLICH UEBERWIEGEND GEWITTER
25January_2013_Friday_tagesschau_default-0 1 signer06 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN SAMSTAG SECHS ZWANZIG JANUAR __OFF__
28May_2010_Friday_tagesschau_default-11 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT ELF GRAD SUED BAYERN EINS GRAD NORD __OFF__
04February_2010_Thursday_heute_default-5 1 signer01 0.0 1.79769e+308 UND STURM WIND ABER REGION DANN REGEN AUCH NEU SCHNEE DABEI
28January_2010_Thursday_heute_default-0 1 signer05 0.0 1.79769e+308 __ON__ GUT ABEND LIEB DU ZUSCHAUER EIN-PAAR STUNDE NOCH FUENF ZENTIMETER HOEHE SCHNEE
08July_2011_Friday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 NACHT SUED ENORM GEWITTER __OFF__
28September_2009_Monday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 __ON__ WIE-AUSSEHEN IN-KOMMEND MITTWOCH NORD REGEN SUED MEHR FREUNDLICH
08July_2011_Friday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ SCHOTTLAND TIEF KOMMEN MORGEN REGION SUEDOST AUCH WARM
31March_2010_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN ERSTE APRIL DONNERSTAG __OFF__
13September_2010_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ WETTER MORGEN SIE DIENSTAG VIERZEHN SEPTEMBER __OFF__
04March_2011_Friday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 WOLKE KOMMEN ABER WOLKE BEWEGEN
13July_2009_Monday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 GRENZE TEILWEISE STARK GEWITTER REGEN HEUTE NACHT RHEINLAND-PFALZ IX BADEN WUERTTEMBERG BIS REGION THUERINGEN REGEN
21May_2010_Friday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 MOEGLICH NEBEL MORGEN NORD WOLKE SONNE WECHSELHAFT MOEGLICH SCHAUER GEWITTER
01September_2010_Wednesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 MORGEN IX NORDOST WOLKE UEBERWIEGEND SCHAUER
13July_2009_Monday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH LAND IRLAND UND MITTE REGION HOCH SCHWUEL HEISS KOMMEN REGION MAESSIG WARM
01April_2010_Thursday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SAMSTAG WECHSELHAFT BESONDERS FREUNDLICH NORDOST BISSCHEN BEREICH
14July_2009_Tuesday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 HEUTE NACHT DREIZEHN ZWISCHEN ACHTZEHN GRAD SCHWUEL WARM
04August_2011_Thursday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 __ON__ OST REGION ANFANG FREUNDLICH SPAETER NORDWEST AUCH SONNE SONST REGION WOLKE SCHAUER GEWITTER STARK KUEHL __OFF__
07February_2010_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 KLAR UEBER ZEHN MINUS SUEDWEST NULL OST MINUS SIEBEN MOEGLICH
07May_2011_Saturday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 BRANDENBURG REGION NORD BAYERN SUEDWEST KOENNEN WOLKE __OFF__
03July_2011_Sunday_tagesschau_default-13 1 signer04 0.0 1.79769e+308 __ON__ DIENSTAG WEST FREUNDLICH IX SCHAUER GEWITTER
26January_2010_Tuesday_heute_default-8 1 signer03 0.0 1.79769e+308 IM-VERLAUF BLEIBEN KALT ENORM SCHNEE KOENNEN WOCHENENDE IX MEHR KALT __OFF__
14July_2009_Tuesday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 DONNERSTAG IN-KOMMEND MEISTENS FREUNDLICH REGION BESONDERS SUED BERG WARM GEWITTER
24February_2011_Thursday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SONNTAG VIEL WOLKE IX REGEN IX UND SCHNEE BERG KOENNEN SCHNEE MONTAG AEHNLICH WETTER WENIG FEUCHT WENIG __OFF__
21May_2010_Friday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN __OFF__
04May_2011_Wednesday_heute_default-9 1 signer01 0.0 1.79769e+308 TROCKEN ENORM MORGEN SCHAUER NICHT VIEL SONNE MEISTENS MENSCHEN FROH __OFF__
17February_2011_Thursday_heute_default-8 1 signer07 0.0 1.79769e+308 SECHS BIS ACHT GRAD UNGEFAEHR PLUS __OFF__
05June_2010_Saturday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 FLUSS MAXIMAL EINS ZWANZIG GRAD MONTAG NACHT SCHAUER GEWITTER KOMMEN
19March_2011_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 MORGEN TEMPERATUR FUENF NORD BIS DREIZEHN FLUSS
06April_2010_Tuesday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 BEISPIEL TAL ODER WIND WEHEN NEBEL KOENNEN MORGEN UEBERWIEGEND SONNE
24April_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 NORD ZWEI IX SCHLECHT BODEN FROST MOEGLICH
21November_2009_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 NORDWEST SCHAUER STURM KOMMEN ABEND STURM BERG ORKAN MOEGLICH
28October_2009_Wednesday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 __ON__ REGION SICHER GEFRIEREN LAGE __OFF__ __ON__ MORGEN NORD ACHT SUEDWEST SIEBZEHN MAXIMAL __OFF__
06September_2009_Sunday_tagesschau_default-6 1 signer09 0.0 1.79769e+308 MORGEN WIND WEHEN SCHWACH NORD UEBERWIEGEND WIND HEUTE NACHT VIERZEHN IX UNTEN ALPEN VIER DANN
04January_2010_Monday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ NORD WIND MAESSIG KUESTE KOENNEN FRISCH WIND SUED WIND SCHWACH __OFF__
26January_2010_Tuesday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ HEUTE WETTER MORGEN MITTWOCH SIEBEN ZWANZIG JANUAR __OFF__
21November_2011_Monday_heute_default-6 1 signer07 0.0 1.79769e+308 PLUS VIER SEE AUCH WEST REGION VIER GRAD __OFF__
05April_2011_Tuesday_heute_default-3 1 signer01 0.0 1.79769e+308 __ON__ BESONDERS SUEDWEST WEHEN AUCH TEILWEISE WOLKE KOMMEN
25August_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE ABEND TEMPERATUR ZEHN REGION BIS ACHTZEHN REGION __OFF__
22August_2010_Sunday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 MORGEN ORT SCHAUER BESONDERS SUEDOST TATSAECHLICH GEWITTER HAUPTSAECHLICH REGEN UNWETTER MOEGLICH __OFF__
10November_2010_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 TAG VIER GRAD V LAND ELF GRAD NIEDER FLUSS __OFF__
08April_2010_Thursday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 MORGEN NEUN GRAD IX MAXIMAL SIEBZEHN GRAD REGION __OFF__
11September_2009_Friday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN SAMSTAG ZWOELF SEPTEMBER __OFF__
01May_2010_Saturday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 MONTAG AUCH MEHR WOLKE ALS SONNE UEBERWIEGEND REGEN UEBERWIEGEND GEWITTER
03October_2010_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 MITTWOCH MISCHUNG WOLKE NEBEL NORDWEST BISSCHEN SCHAUER REGION TROCKEN
01July_2010_Thursday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 __ON__ SONNTAG SPEZIELL SUEDOST GEWITTER NORD MEHR SONNE
11September_2009_Friday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 __ON__ SONST WECHSELHAFT SONNE WOLKE __OFF__
04January_2010_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DIENSTAG FUENFTE JANUAR __OFF__
04May_2011_Wednesday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ SEHEN KREISEN REGEN KOMMEN NICHT-HABEN NICHT-HABEN NICHT-HABEN
28January_2013_Monday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ TAG MILD __OFF__
23July_2010_Friday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 SONNTAG LANG SONNE NUR MAL SCHAUER OST REGION IX MOEGLICH LANG REGEN
31March_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT TIEF KOMMEN AUCH KUEHL AUFZIEHEN MORGEN WECHSELHAFT WETTER FREITAG MEHR WETTER VERSCHWINDEN
09June_2010_Wednesday_heute_default-6 1 signer08 0.0 1.79769e+308 NACHT BLEIBEN WARM NACHT UNTER ZWANZIG GRAD NICHT-WAHRSCHEINLICH KAUM __OFF__
27November_2009_Friday_tagesschau_default-9 1 signer09 0.0 1.79769e+308 MONTAG WOLKE MAL REGEN MEER SCHNEE SCHNEIEN DANN ALPEN REGEN SCHNEE SCHNEIEN DIENSTAG WECHSELHAFT __OFF__
18January_2010_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ REGION SECHS GRAD REGION MINUS EINS BIS FUENF GRAD __OFF__
16July_2009_Thursday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 HEUTE ABEND SUED REGION NOCH REGEN GEWITTER REGION KLAR HIMMEL BISSCHEN WOLKE
22January_2011_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 __ON__ SUED KLAR GERADE IX FROST NORDWEST PLUS EIN
07December_2011_Wednesday_heute_default-3 1 signer08 0.0 1.79769e+308 HUNDERT VIERZIG KILOMETER PRO STUNDE STURM SCHNELL __OFF__
21November_2011_Monday_heute_default-3 1 signer07 0.0 1.79769e+308 SONST NUR BISSCHEN REGEN ABER REGION REGION RECHNEN NICHT-HABEN REGEN BEDEUTEN WAHR BRAUCHEN
02June_2010_Wednesday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 TAG WEST KOMMEN BISSCHEN GEWITTER __OFF__
13July_2009_Monday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 SONST WIND IX WEHEN SCHWACH __OFF__
21October_2011_Friday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 DARUNTER NEBEL LANG IN-KOMMEND DANEBEN SONNE BERG OBEN DANN DURCHGEHEND SONNE __OFF__
12August_2010_Thursday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 REGION SONNE WOLKE REGEN WECHSELHAFT __OFF__
17February_2010_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND WEHEN MAESSIG __OFF__
21October_2011_Friday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HOCH KOMMEN DANN IN-KOMMEND EINFLUSS HIER WETTER
13November_2009_Friday_tagesschau_default-5 1 signer09 0.0 1.79769e+308 IM-VERLAUF REGEN KOMMEN DANN WEST MEHR FREUNDLICH __OFF__ __ON__ NORDWEST WIND KOMMEN
24May_2010_Monday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN DIENSTAG FUENF ZWANZIG MAI __OFF__
11August_2010_Wednesday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 TAGSUEBER OFT REGEN GEWITTER KOENNEN
03June_2011_Friday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 PLOETZLICH IX GEWITTER KOENNEN WIE UNWETTER
21August_2011_Sunday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ NORD NACHT ANFANG ENORM SCHAUER GEWITTER DANN WOLKE VERSCHWINDEN
24October_2009_Saturday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND ZEIGEN-BILDSCHIRM SCHWACH MAESSIG NORD WIND KOENNEN __OFF__
26August_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DONNERSTAG SIEBEN ZWANZIG AUGUST __OFF__
24May_2011_Tuesday_heute_default-1 1 signer05 0.0 1.79769e+308 TEMPERATUR SINKEN MITTE BERG NULL ZWISCHEN BODEN FROST MOEGLICH SCHOEN ABEND EUCH
01December_2011_Thursday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 WIND MAESSIG FRISCH STARK STURM BERG SCHWER STURM SUEDOST SCHWACH WIND
14April_2010_Wednesday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 ABER REGION WECHSELHAFT SUEDOST WECHSELHAFT GRUND IX UNGARN IX WECHSELHAFT TIEF KOMMEN
01February_2011_Tuesday_tagesschau_default-15 1 signer08 0.0 1.79769e+308 SUED FREUNDLICH TROCKEN __OFF__
20January_2010_Wednesday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ KALT ZEIGEN-BILDSCHIRM NORDOST MINUS FUENF MINUS SIEBEN GRAD
16December_2009_Wednesday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 TAG AUCH SCHEINEN IX WEST IX SCHNEE SCHEINEN MOEGLICH GLATT MITTE MAL KLAR HIMMEL __OFF__
08October_2009_Thursday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG DANN REGEN KOMMEN __OFF__ __ON__ OST ERSTMAL FREUNDLICH WEST KOMMEN LOCH SONNE DA __OFF__
01February_2011_Tuesday_tagesschau_default-13 1 signer08 0.0 1.79769e+308 DONNERSTAG KOMMEN REGEN KOENNEN GLATT
03September_2010_Friday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 __ON__ TAG WEST FREUNDLICH SONST SONNE WOLKE WECHSELHAFT MAL SCHAUER OST REGION SUEDOST MOEGLICH GEWITTER __OFF__
11May_2010_Tuesday_heute_default-6 1 signer01 0.0 1.79769e+308 NORDOST KOMMEN __OFF__ __ON__ MORGEN VOR MITTAG REGEN OST REGION REGEN
30January_2013_Wednesday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 __ON__ TAG NORDOST ANFANG SONNE SUED AUCH FREUNDLICH IX
06November_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SCHWACH WEHEN BERG WEHEN NORD WEHEN IX WEHEN __OFF__
11September_2009_Friday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 __ON__ WIND SCHWACH MAESSIG KUESTE MEER AUCH FRISCH WEHEN HEUTE NACHT VIERZEHN ZWISCHEN SIEBEN
06October_2011_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ WEST NORDWEST IX SCHAUER IX __OFF__
21August_2010_Saturday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT ZWISCHEN NEUNZEHN ZWISCHEN FUENFZEHN SUEDOST MAXIMAL ZWOELF
04October_2012_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 HEUTE NACHT OST SUEDOST SONST REGEN SONST REGION KLAR WOLKE KAUM
04March_2011_Friday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 LOCH MIT NEBEL WENN NEBEL VERSCHWINDEN SUED MORGEN SONNE
08October_2009_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ TAG TEMPERATUR ZWOELF GRAD NORDOST BIS ZWANZIG GRAD B REGION __OFF__
03October_2012_Wednesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT IX NORDWEST REGEN KOMMEN REGION
24July_2010_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 OST REGEN WEST KOMMEN DANN REGEN IX
11September_2009_Friday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH LAND KOMMEN KUEHL WEHEN TIEF KOMMEN NUR SCHWACH ABER DOCH
01May_2010_Saturday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 TAG NORDOST ZWOELF SUED BAYERN IX MAXIMAL ZWANZIG GRAD
04June_2010_Friday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 BESONDERS KUESTE MAL WOLKE UEBERALL TROCKEN WIND SCHWACH VERSCHIEDEN WEHEN __OFF__
07April_2010_Wednesday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 ABKUEHLEN SONNE WOLKE BISSCHEN DABEI REGEN
09September_2010_Thursday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HOCH SAMSTAG SONNTAG FREUNDLICH SPAET SOMMER WETTER __OFF__ __ON__ HEUTE NACHT WOLKE MEHR WENIG MAL SCHAUER
08July_2010_Thursday_tagesschau_default-14 1 signer05 0.0 1.79769e+308 OST MEISTENS SONNE MONTAG IN-KOMMEND AUCH SONNE ABER SCHWER GEWITTER DABEI __OFF__
03February_2011_Thursday_heute_default-2 1 signer08 0.0 1.79769e+308 __ON__ NORD STURM KOMMEN SCHON NACHT KOMMEN ORKAN
13August_2011_Saturday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 NORDWEST MORGEN ZWANZIG BIS DREI ZWANZIG GRAD REGION FUENF ZWANZIG BIS NEUN ZWANZIG GRAD __OFF__
22February_2011_Tuesday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 MORGEN WETTER WECHSELHAFT DANN NAECHSTE DONNERSTAG IX WEST KOMMEN MILD SCHNEE SCHNEIEN FROST REGEN MIT FROST
11July_2009_Saturday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN SONNTAG ZWOELF JULI __OFF__
22August_2010_Sunday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 FLUSS IX MAXIMAL NEUN ZWANZIG GRAD DIENSTAG SUED NOCH REGEN GEWITTER
08April_2010_Thursday_tagesschau_default-12 1 signer05 0.0 1.79769e+308 MONTAG ANFANG AB LOS WECHSELHAFT KUEHL __OFF__
20October_2011_Thursday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 TAG BERG SECHS GRAD IX REGION DREIZEHN GRAD REGION WIE-AUSSEHEN IN-KOMMEND __OFF__
30March_2011_Wednesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN DONNERSTAG EINS DREISSIG MAERZ __OFF__
02October_2010_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ MILD WEHEN ICH RUSSLAND IX STARK KOMMEN EINFLUSS
25August_2009_Tuesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ MUESSEN AUSHALTEN REGEN GEWITTER BESONDERS SUEDOST STURM STARK KOENNEN DEUTSCH WETTER DIENST SCHON WARNUNG EINIGE GEWESEN __OFF__
31March_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ FREITAG SONNE WOLKE WECHSELHAFT SCHAUER KOENNEN IX ABER SONNE LANG __OFF__
28February_2011_Monday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ TEMPERATUR WIE-IMMER __OFF__
13October_2009_Tuesday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ AEHNLICH WETTER DONNERSTAG FREITAG SUEDWEST SONNE IM-VERLAUF SONST REGEN __OFF__
29March_2011_Tuesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WIE-AUSSEHEN WETTER MITTWOCH DREISSIG MAERZ __OFF__
01June_2010_Tuesday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ NORDWEST FREUNDLICH __OFF__ __ON__ WIND ZEIGEN-BILDSCHIRM __OFF__ __ON__ WIND WEHEN WIND KOENNEN __OFF__
08November_2010_Monday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ E REGION IN-KOMMEND ZWEI-TAG WETTER STARK TIEF KOMMEN __OFF__
10December_2009_Thursday_heute_default-7 1 signer02 0.0 1.79769e+308 NORD KOENNEN SONNE AB-SO AUFKOMMEN SAMSTAG NOCH SCHNEE NORD SCHNEE REGEN WECHSELHAFT __OFF__
17April_2010_Saturday_tagesschau_default-4 1 signer03 0.0 1.79769e+308 NAECHSTE WOCHE LUFT KOMMEN MEHR KUEHL
08December_2009_Tuesday_heute_default-0 1 signer02 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER BEGRUESSEN MORGEN TAG TRUEB __OFF__
14December_2009_Monday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 NORD WIND SCHWACH UNTERSCHIED SONST MAESSIG WENN BERG UNTEN BERG FRISCH WIND __OFF__
12August_2009_Wednesday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 FREITAG SONNE WOLKE SUED ANFANG REGEN
28July_2010_Wednesday_tagesschau_default-15 1 signer08 0.0 1.79769e+308 __ON__ SAMSTAG MEHR FREUNDLICH TROCKEN MEHR WARM SONNTAG REGION REGEN GEWITTER KOMMEN __OFF__
14October_2009_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT PLUS VIER OST MINUS VIER REGION __OFF__
08November_2010_Monday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ ABEND LIEB ZUSCHAUER EUCH EUROPA REGION WETTER UNTERSCHIED STURM REGEN SCHNEE
04July_2010_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 DAZWISCHEN FREUNDLICH WENN NICHT-HABEN GEWITTER SCHWACH WEHEN KUESTE WIND
24January_2010_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN MONTAG FUENF ZWANZIG JANUAR __OFF__
20November_2009_Friday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 TAL NEBEL MANCHMAL MORGEN LANG DAUER NEBEL WOLKE ABER TROCKEN NACH MITTAG MEHR FREUNDLICH __OFF__
02March_2011_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ REST REGION SONNE __OFF__
06April_2010_Tuesday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 WEST REGION SECHS GRAD __OFF__ __ON__ MORGEN ZWOELF GRAD NORD SEE REGION ZWEIZWANZIG GRAD REGION __OFF__
25February_2011_Friday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 __ON__ TAG OST VIEL SONNE WEST REGEN FLUSS REGION __OFF__
24December_2010_Friday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 OST FRISCH STARK WEHEN NORD MEER TEILWEISE ENORM FROST
30July_2011_Saturday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ WIND WEHEN SCHWACH MAESSIG WEHEN KOENNEN STARK __OFF__
06January_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 MORGEN MITTE BERG REGION TIEF AB FREITAG MEHR SCHNEE
22February_2011_Tuesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HEUTE NACHT HIMMEL KLAR SUED NORDOST IX __OFF__
23September_2010_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 SUEDOST SECHS BIS NEUN SUED IX MILD FUENFZEHN GRAD
23October_2010_Saturday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 __ON__ WOLKE DAS-IST-ES NACHT ZWEI BIS ACHT NICHT-HABEN FROST MORGEN REGION ALLGAEU FUENF
29September_2010_Wednesday_heute_default-2 1 signer07 0.0 1.79769e+308 ABER TROTZDEM IN-KOMMEND KOMMEN REGEN MEHR NUR WEST REGION REGEN OST GLUECK KEIN REGEN
02July_2009_Thursday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __OFF__ NORD OST DEUTSCHLAND MORGEN DIESE LOS KOMMEN DESWEGEN SONNE REGION
16February_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ LUFT MILD VIEL WOLKE SCHNEE REGEN BODEN GLATT KOENNEN __OFF__
06September_2010_Monday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DONNERSTAG WECHSELHAFT FREITAG WEST KOMMEN FREUNDLICH __OFF__
19April_2010_Monday_heute_default-17 1 signer08 0.0 1.79769e+308 __ON__ GUT SCHOEN ABEND MITTEILEN __OFF__
16December_2009_Wednesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN DONNERSTAG SIEBZEHN DEZEMBER __OFF__
24April_2010_Saturday_tagesschau_default-5 1 signer04 0.0 1.79769e+308 TAG REGION SONNE SUEDWEST BISSCHEN WOLKE NACHMITTAG SCHWARZ REGION
28February_2011_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ RUEGEN EIN GRAD UND ZEHN GRAD REGION __OFF__
01June_2011_Wednesday_heute_default-7 1 signer01 0.0 1.79769e+308 MORGEN DASSELBE SCHAUER REGION SONST VIEL SONNE REGION TEILWEISE WEHEN STARK
20November_2009_Friday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 TEIL WIND MEHR KUEHL AUCH ABER HIER SO HIER HERBST MILD __OFF__
13July_2011_Wednesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ LUFT DRUCK TIEF REGEN VERLAENGERN REGEN
08November_2010_Monday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ MITTWOCH SUEDWEST REGEN REGION IX FREUNDLICH SONNE __OFF__
14December_2009_Monday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 KALT LUFT BLEIBEN BIS FREITAG MINUS
06December_2011_Tuesday_tagesschau_default-12 1 signer07 0.0 1.79769e+308 FREITAG SUED HABEN SONST REGION REGEN MORGEN SCHNEIEN SCHNEE
28August_2009_Friday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 __ON__ WIND MAESSIG IX STARK IX WEHEN IX AUCH STURM
04October_2010_Monday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT VIERZEHN REGION OST NUR SECHS GRAD __OFF__ __ON__ MORGEN DREIZEHN REGION SONST FUENFZEHN BIS ZWEIZWANZIG GRAD __OFF__
28August_2009_Friday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 DIENSTAG ABEND IX WOLKE SCHAUER GEWITTER __OFF__
05January_2011_Wednesday_heute_default-3 1 signer08 0.0 1.79769e+308 MEISTENS HEUTE KALT LUFT SCHNELL AUFLOESEN
08October_2009_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORD HEUTE NACHT WIND MORGEN SCHWACH MAESSIG WEHEN __OFF__
07April_2010_Wednesday_heute_default-0 1 signer05 0.0 1.79769e+308 __ON__ HALLO GUT ABEND LIEB IX ZUSCHAUER BEGRUESSEN __OFF__
20April_2011_Wednesday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 AUCH TAG VIEL SONNE SPAETER IX QUELL WOLKE
07September_2010_Tuesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN MITTWOCH ACHTE SEPTEMBER __OFF__
27May_2010_Thursday_tagesschau_default-14 1 signer05 0.0 1.79769e+308 SONNTAG WECHSELHAFT TEIL UEBERWIEGEND REGEN AUCH DABEI GEWITTER
14September_2010_Tuesday_heute_default-1 1 signer05 0.0 1.79769e+308 NORD DEUTSCH LAND NORD SCHON HABEN IX SUED AUCH KOMMEN NORD REGION IX KOMMEN
08June_2010_Tuesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 GEWITTER SUEDOST DEUTSCH LAND BLEIBEN LANG IM-VERLAUF GUT IM-VERLAUF MOEGLICH GEWITTER
05January_2011_Wednesday_heute_default-8 1 signer08 0.0 1.79769e+308 HEUTE NACHT WEST ANFANG KOMMEN BIS MORGEN MITTAG KOMMEN ZONE
11July_2009_Saturday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT SINKEN VIERZEHN BIS SIEBEN GRAD MORGEN KOENNEN SIEBZEHN REGION FUENF ZWANZIG REGION
09November_2010_Tuesday_heute_default-10 1 signer01 0.0 1.79769e+308 DANN MOEGLICH AUCH MILD JETZT SCHOEN ABEND TSCHUESS __OFF__
08June_2010_Tuesday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 NORDWEST MORGEN WECHSEL SONNE WOLKE DAZU STARK REGEN NACH MITTAG GEWITTER
12April_2011_Tuesday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 WEST REGION SCHON GLUECK FRANKREICH HOCH KOMMEN SCHOEN KOMMEN MEHR KLAR KOMMEN IN-KOMMEND __OFF__
09August_2010_Monday_heute_default-1 1 signer05 0.0 1.79769e+308 RUSSLAND IX TROCKEN HEISS SCHEINEN FUENF DREISSIG BIS VIERZIG GRAD DIESE BLEIBEN BRAND WEITER
30October_2009_Friday_tagesschau_default-0 1 signer03 0.0 1.79769e+308 __ON__ HEUTE WETTER __OFF__ __ON__ MORGEN SAMSTAG EINS ZWANZIG OKTOBER __OFF__
25October_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ REGEN SCHNEE REGION VERSCHWINDEN NORD REGEN KOENNEN REGION STERN KOENNEN SEHEN __OFF__
24November_2011_Thursday_tagesschau_default-13 1 signer05 0.0 1.79769e+308 SONNTAG MEHR WIND NORDWEST WOLKE BISSCHEN REGEN MONTAG MEISTENS TROCKEN SONNE WOLKE MISCHUNG __OFF__
12December_2011_Monday_heute_default-12 1 signer08 0.0 1.79769e+308 NORDWEST REGEN KOMMEN NACH MITTAG NORDWEST VERSCHWINDEN SCHAUER MOEGLICH GEWITTER UND STURM KOENNEN
17May_2010_Monday_heute_default-13 1 signer08 0.0 1.79769e+308 KUEHL NAECHSTE BESSER SONNE KOMMEN DANN WARM __OFF__
31January_2011_Monday_heute_default-13 1 signer07 0.0 1.79769e+308 FREITAG NORD KRAEFTIG STURM TATSAECHLICH INSGESAMT MEHR MILD SCHOEN ABEND NOCH IHR __OFF__
22April_2010_Thursday_tagesschau_default-14 1 signer03 0.0 1.79769e+308 __ON__ WOCHENENDE HAUPTSAECHLICH SONNE HIMMEL SCHOEN MEHR WARM
12May_2010_Wednesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG SUEDOST REGEN NORD DANN WIND STARK SONST REGEN IX TEILWEISE AUCH SONNE DABEI __OFF__
27August_2009_Thursday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ SCHOTTLAND WOLKE TIEF NORWEGEN WOLKE NAEHE DEUTSCH LAND KUEHL KOMMEN __OFF__
24May_2011_Tuesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH LAND MORGEN HOCH DRUCK KOMMEN SONNE TROCKEN __OFF__
13August_2009_Thursday_tagesschau_default-13 1 signer05 0.0 1.79769e+308 MONTAG WECHSELHAFT BISSCHEN KUEHL __OFF__
28March_2011_Monday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ SUED WOLKE KOMMEN BISSCHEN REGEN KOENNEN REGION KLAR LOCKER WOLKE __OFF__
07April_2010_Wednesday_heute_default-11 1 signer05 0.0 1.79769e+308 IM-VERLAUF UMSTELLEN REDUZIEREN KUEHL BESONDERS SAMSTAG SONNTAG __OFF__
12April_2010_Monday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ SIEBEN BIS SECHSZEHN GRAD REGION DONNERSTAG SUEDOST WEITER WECHSELHAFT NORDWEST MEHR FREUNDLICH SONNE
09August_2010_Monday_heute_default-2 1 signer05 0.0 1.79769e+308 HIER HEUTE NACHT SUEDOST FRISCH ZEHN ELF GRAD REGION DREIZEHN MAXIMAL FUENFZEHN
26October_2009_Monday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT UEBERWIEGEND REGION ORT REGEN
11July_2009_Saturday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ DIENSTAG MITTWOCH SONNE WOLKE WECHSELHAFT SCHAUER TYPISCH REGION REGEN GEWITTER KOENNEN __OFF__
08October_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG NEUN OKTOBER __OFF__
24July_2010_Saturday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DIENSTAG SUED SCHAUER TEIL AUCH GEWITTER NORD FREUNDLICH
29October_2009_Thursday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ MISCHUNG NEBEL AUFLOESEN DANN WOLKE SONNE
16February_2010_Tuesday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WEST TAG REGEN IX KOENNEN SCHNEE REGEN KALT FROST __OFF__
14February_2010_Sunday_tagesschau_default-2 1 signer09 0.0 1.79769e+308 LUFT KALT FEUCHT DARUM KOMMEN DEUTSCHLAND EINFLUSS
05January_2010_Tuesday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ MORGEN SPANIEN KOMMEN DANN FREITAG HAUPTSAECHLICH SCHNEE BESONDERS NORD SUEDWEST
31January_2013_Thursday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 TAG SAUER LAND VIER REGION ZWOELF GRAD __OFF__
08May_2010_Saturday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ DEUTSCH LAND SCHWACH DRUCK UNTERSCHIED REGION FEUCHT REGION IX GEWITTER REGION
15March_2011_Tuesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ SKANDINAVIEN IX HOCH MEHR KOMMEN GLEICH SPANIEN
05January_2010_Tuesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ SCHWER WIRBEL __OFF__
24March_2011_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 __ON__ NACHT NORD NORDOST WOLKE OST REGION MOEGLICH IX REGEN SONST REGION WOLKE LOCKER
29March_2010_Monday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ REGEN GEWITTER MITBRINGEN IN-KOMMEND DANN NAEHE KALT WECHSELHAFT __OFF__
05June_2010_Saturday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 DIENSTAG BESONDERS OST MEHR FREUNDLICH LANG ABER AUCH DABEI SCHAUER GEWITTER
21November_2011_Monday_heute_default-14 1 signer07 0.0 1.79769e+308 ACH KOMMEN VON MEHR WIND KOMMEN BESONDERS NORD BEKOMMEN BISSCHEN REGEN IHR SCHOEN ABEND __OFF__
01December_2011_Thursday_heute_default-6 1 signer05 0.0 1.79769e+308 DAZWISCHEN REGION MILD NEUN BIS VIERZEHN GRAD TAG AUCH REGEN
23February_2011_Wednesday_heute_default-8 1 signer05 0.0 1.79769e+308 IX REGION BIS L REGION BLEIBEN FROST ABER MEISTENS MEHR SUPER SONNE WIE HEUTE
06May_2011_Friday_tagesschau_default-14 1 signer01 0.0 1.79769e+308 __ON__ HEISS ZWANZIG BIS ACHT ZWANZIG GRAD NORD WENIGER __OFF__
14October_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN MORGEN FUENFZEHN OKTOBER __OFF__
25November_2011_Friday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 SUED SONNTAG OFT SONNE SONST REGION VIEL WOLKE ORT REGEN
26May_2010_Wednesday_heute_default-0 1 signer05 0.0 1.79769e+308 __ON__ LIEB ZUSCHAUER GUT ABEND HEUTE AUCH WETTER HEFTIG GEWITTER NACH MITTAG AUCH REGEN
11December_2009_Friday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MEIN SAMSTAG ZWOELF DEZEMBER __OFF__
25January_2013_Friday_tagesschau_default-15 1 signer06 0.0 1.79769e+308 __ON__ SONNTAG NAECHSTE OST SCHNEE REGEN GEFRIEREN KOMMEN STRASSE KOENNEN GLATT GEFAHR
21November_2011_Monday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 NACHT IX ANFANG WIEDER VIEL KLAR HIMMEL DANN MEHR NEBEL HOCH NEBEL
20November_2009_Friday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN SAMSTAG EINS ZWANZIG NOVEMBER __OFF__
24January_2011_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE WIEDER IN-KOMMEND SCHNEE UEBER DREIHUNDERT METER NACH MITTAG REGEN KOMMEN BERLIN IX
23September_2009_Wednesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ FREITAG NAEHE KUESTE SUED WAHRSCHEINLICH STARK WOLKE SONST REGION FREUNDLICH __OFF__
06July_2011_Wednesday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 SPAETER BISSCHEN MEHR TROCKEN REGION TAG KOENNEN SCHOEN MOEGLICH BISSCHEN ORT WOLKE
22February_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 NORDOST HEUTE NACHT TROCKEN IN-KOMMEND REGEN NORDWEST REGEN NORD IX SCHNEE KOENNEN __OFF__
16March_2011_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 MAESSIG WEHEN SCHWACH MAESSIG WEHEN NORD SEE BISSCHEN WEHEN NORD WEHEN
06May_2011_Friday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WEHEN SCHWACH REGION FRISCH HEUTE NACHT ZWOELF GRAD REGION EIN GRAD BAYERN WALD REGION __OFF__
30April_2010_Friday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 SAUER LAND FUENF GRAD MORGEN KUESTE REGION ZEHN GRAD BAYERN REGION ZWEI GRAD DANN
14October_2010_Thursday_tagesschau_default-5 1 signer07 0.0 1.79769e+308 NORD NORDWEST MEISTENS REGEN AUCH MOEGLICH BISSCHEN GEWITTER
02March_2011_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN ZEIGEN-BILDSCHIRM DONNERSTAG DRITTE MAERZ __OFF__
16March_2011_Wednesday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 TAG AUCH NORD WEST MEHR TROCKEN REGION REST REGION ORT REGEN
12July_2011_Tuesday_heute_default-20 1 signer01 0.0 1.79769e+308 __ON__ NORMAL KUEHL ANGENEHM JA DANN DONNERSTAG NORD REGEN STURM WEHEN KOENNEN
10August_2009_Monday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ DANN BIS VIER ZWANZIG GRAD REGION SUED REGION BIS SIEBEN ZWANZIG GRAD __OFF__
18February_2010_Thursday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 AUCH SONNE MOEGLICH SAMSTAG NORD WIND NAECHSTE WOCHE GLEICH WEITER SO __OFF__
12January_2011_Wednesday_heute_default-7 1 signer05 0.0 1.79769e+308 SAUER LAND AUCH BAYERN IX
10March_2011_Thursday_heute_default-12 1 signer01 0.0 1.79769e+308 __ON__ WOCHENENDE SONNE SAMSTAG SCHOEN TEMPERATUR BIS SIEBZEHN GRAD REGION
03June_2010_Thursday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ NORD SEE HOCH DEUTSCH LAND KOMMEN AUCH SAMSTAG SONNTAG VIEL SONNE DANN TEMPERATUR STEIGEN
07September_2010_Tuesday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 __ON__ NORD NORD FRISCH IX WEHEN IX WEHEN IM-VERLAUF SPAETER NORD STARK WEHEN __OFF__
25November_2009_Wednesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ FREITAG REGEN WECHSELHAFT NORDWEST KOENNEN GEWITTER __OFF__
22April_2010_Thursday_tagesschau_default-16 1 signer03 0.0 1.79769e+308 MONTAG MOEGLICH REGEN GEWITTER MEHR WOLKE REGION ABER BLEIBEN WARM SONNE GUT __OFF__
24November_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT BESONDERS NORD TAG NORDWEST WIND NORD AUCH SCHWER WIND BERG ORKAN MOEGLICH __OFF__
30October_2009_Friday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 OST NEBEL NICHT-HABEN SONNE REGION WEST REGION IM-VERLAUF MORGEN WOLKE ABER BLEIBEN TROCKEN REGEN NICHT-HABEN
05January_2011_Wednesday_heute_default-5 1 signer08 0.0 1.79769e+308 GEFAHR FLUSS SUED ANFANG SCHNEE REGEN GLATT
01June_2011_Wednesday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ REGION VIEL SONNE BISSCHEN WOLKE __OFF__
20November_2009_Friday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ TIEF WIE-AUSSEHEN KOMMEN NORD HEUTE NACHT BISSCHEN REGEN DEUTSCH LAND SONST HOCH DRUCK TROCKEN TEIL FREUNDLICH MORGEN __OFF__
27August_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG ACHT ZWANZIG AUGUST __OFF__
25October_2010_Monday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ TAG MISCHUNG SONNE WOLKE KOENNEN NEBEL SUEDOST SUED NORD HABEN SCHAUER KOENNEN
15March_2011_Tuesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 FLUSS BIS L REGION WOLKE SONST KLAR LOCKER REGION ABER NACHT MEHR WOLKE __OFF__
29June_2011_Wednesday_tagesschau_default-12 1 signer07 0.0 1.79769e+308 __ON__ FREITAG SONNE WOLKE WECHSELHAFT MOEGLICH BISSCHEN REGEN MOEGLICH GEWITTER NORDOST BLEIBEN TROCKEN
07August_2009_Friday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ IX SCHON WARNUNG DEUTSCH WETTER DIENST STURM KOENNEN NACHMITTAG SONNE
27August_2010_Friday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 AUCH WOLKE TRUEB REGEN KOENNEN HAUPTSAECHLICH NORDWEST GEWITTER DABEI __OFF__
28August_2009_Friday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 HEUTE RHEIN NACHT ACHT GRAD L IX SECHSZEHN X MORGEN ZWEIZWANZIG GRAD NORD NUR SECHSZEHN GRAD
28August_2009_Friday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 SONNTAG NORD WOLKE IX SCHAUER SONST REGION VIEL SONNE
29August_2009_Saturday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT SELTEN TATSAECHLICH KOMMEN KUESTE SUED WAHRSCHEINLICH WOLKE KLAR MORGEN FRUEH IX MOEGLICH NEBEL __OFF__
25August_2010_Wednesday_tagesschau_default-10 1 signer03 0.0 1.79769e+308 MORGEN IX DREISSIG GRAD NORD REGION SECHSZEHN GRAD __OFF__
23July_2009_Thursday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ HEUTE DRUCK ENORM MEER KOMMEN VERSCHWINDEN KOENNEN DABEI STURM GEWITTER
08February_2010_Monday_heute_default-2 1 signer04 0.0 1.79769e+308 WEST MEHR MILD MINUS VIER BIS MINUS SIEBEN BEKOMMEN BISSCHEN NEBEL KLAR
14September_2010_Tuesday_heute_default-2 1 signer05 0.0 1.79769e+308 MEISTENS NORD DEUTSCH LAND HEUTE ABEND MEHR KOMMEN HIER NEU TIEF NORD SCHWER STURM TEIL
03February_2010_Wednesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH LAND TIEF DRUCK KOMMEN IM-VERLAUF TAG BEWOELKT BISSCHEN REGEN SCHNEE SCHNEIEN
08February_2010_Monday_heute_default-1 1 signer04 0.0 1.79769e+308 TRUEB DIESE BILD WEST KAUM SCHNEE AUFTAUCHEN ABER AUSNAHME ACHTUNG MEER SONNE DA SCHNEE
06September_2010_Monday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 SCHWACH NORD STURM WEHEN NORD SUED SCHWER WEHEN STURM
15October_2009_Thursday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 BERG OBEN UNTEN AUCH SUEDWEST ZUERST GUT REGION HAUPTSAECHLICH REGEN __OFF__
06October_2012_Saturday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 DIENSTAG NORDOST WIND DAZU REGEN KURZ REGEN KOENNEN SUEDWEST REGEN ORT REGION FREUNDLICH
14October_2010_Thursday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 NORD SEE MEHR WOLKE NORD MEISTENS REGEN HEUTE ABEND SUED BISSCHEN KLAR HIMMEL BISSCHEN NEBEL AUCH DABEI
05February_2011_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN SONNTAG ERSTE SECHSTE FEBRUAR __OFF__
17February_2010_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 TIEF KOMMEN MILD WEITER NORD KOMMEN HEUTE ABEND SCHNEE KOENNEN
11December_2010_Saturday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 SCHNEE BIS SECHSHUNDERT BIS DREIHUNDERT METER BERG
24November_2009_Tuesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ IX ENORM WARM IN-KOMMEND ABER BISSCHEN KUEHL REDUZIEREN __OFF__
19October_2010_Tuesday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 ABEND AUCH EBEN MOEGLICH REGEN GRAUPEL KURZ GEWITTER __OFF__
19October_2010_Tuesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 TAG WOLKE DANN REGEN NORDWEST MEER IX AUCH MEISTENS IX REGEN SCHNEE SCHNEIEN
23July_2009_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN FREITAG VIER ZWANZIG JULI __OFF__
25June_2010_Friday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ MORGEN REGION SONNE IX WOLKE BEWOELKT __OFF__
24October_2009_Saturday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ MORGEN OST ZEHN BIS DREIZEHN WEST BIS SIEBZEHN GRAD __OFF__
13December_2010_Monday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 WIND DABEI FREITAG MEHR RUHIG __OFF__
09July_2010_Friday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 ZUERST GEWITTER NUR WEST RISIKO JEDEN-TAG OST MEHR OST KOENNEN GEWITTER WEST
03February_2010_Wednesday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 FLUSS IX MORGEN SIEBEN FLUSS NUR TEIL MINUS EINS __OFF__
05March_2011_Saturday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 REGION BERG IX BISSCHEN SCHNEE SCHNEIEN MOEGLICH NORD SONNE
26July_2010_Monday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 IN-PAAR-TAG BLEIBEN SO WECHSELHAFT SOMMER TEMPERATUR SELTEN __OFF__
11November_2010_Thursday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ TEILWEISE REGEN KOMMEN IX NORDWEST VERSCHWINDEN NORD KOENNEN BISSCHEN GEWITTER __OFF__
27April_2010_Tuesday_heute_default-11 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG MEHR SCHOEN MEHR WARM NACH MITTAG ABEND BISSCHEN REGEN NORD WEST DANN FREITAG KOMMEN
30November_2009_Monday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 MORGEN SUEDOST TEIL REGEN MOEGLICH SCHNEE
26May_2011_Thursday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 SONST REGION MAL WOLKE MEHR WEHEN IX REGION SCHAUER KURZ GEWITTER
24November_2011_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 NORD WAHRSCHEINLICH WOLKE MEHR WENIG __OFF__
05March_2011_Saturday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 BISSCHEN REGEN SCHNEE SCHNEIEN MORGEN IX MEISTENS WOLKE
24May_2011_Tuesday_tagesschau_default-12 1 signer05 0.0 1.79769e+308 BAYERN SUED MAXIMAL ELF REGION IX KUEHL FUENFZEHN SECHSZEHN DREI ZWANZIG BIS SECHS ZWANZIG GRAD
13January_2010_Wednesday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 PLUS VIER MINUS FUENF THUERINGEN REGION SACHSEN WIE-AUSSEHEN IN-KOMMEND __OFF__
19February_2010_Friday_tagesschau_default-3 1 signer09 0.0 1.79769e+308 NAEHE TIEF LUFT DRUCK STARK UNTERSCHIED DESHALB TEIL WIND
30November_2009_Monday_tagesschau_default-8 1 signer03 0.0 1.79769e+308 NORD MEHR GUT MANCHMAL WOLKE TROCKEN WIND SCHWACH MAESSIG WEHEN
25June_2010_Friday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ SUED REGION BESONDERS BAYERN WALD BIS ALPEN DANN REGEN NACH MITTAG KOENNEN __OFF__
07February_2011_Monday_heute_default-10 1 signer07 0.0 1.79769e+308 KLAR LUFT VON NORD SEE WEHEN MITTWOCH AUCH SCHOEN KLAR SONNE GUT
11May_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 DONNERSTAG BESONDERS SUED SUEDOST REGEN IX
26July_2010_Monday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 MITTWOCH NORDWEST KOMMEN REGEN SCHAUER TEIL GEWITTER
11July_2011_Monday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 HEUTE NACHT MEHR LOCKER WOLKE ODER KLAR STERN SEHEN NORDWEST WOLKE __OFF__
30November_2009_Monday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 NORDWEST HAUPTSAECHLICH TROCKEN MANCHMAL WOLKE SONNE SONNE TEIL NEBEL
04July_2011_Monday_heute_default-5 1 signer07 0.0 1.79769e+308 STERN SEHEN SUEDWEST
20September_2010_Monday_heute_default-3 1 signer01 0.0 1.79769e+308 WEHEN MEHR FREUNDLICH MEHR HEUTE NACHT WAHRSCHEINLICH REGEN NORD REGION STERN KOENNEN SEHEN
20October_2010_Wednesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT WAHRSCHEINLICH SCHAUER IX AUCH GEWITTER
11November_2010_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ TAG DANN SCHAUER BESONDERS NORD SPAETER REGION KOMMEN NEU REGEN __OFF__
25November_2009_Wednesday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN DONNERSTAG SECHS ZWANZIG NOVEMBER __OFF__
27November_2011_Sunday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 MORGEN SUED DAUER NEBEL NUR ZWEI MAXIMAL ELF
17April_2010_Saturday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 DIENSTAG HAUPTSAECHLICH SONNE ABER WOLKE AUCH HABEN WECHSELHAFT MOEGLICH REGEN ODER GEWITTER
27June_2011_Monday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ DANN MORGEN TAGSUEBER DANN OST DREIDREISSIG GRAD SEIN ANGENEHM IX SONST
17July_2009_Friday_tagesschau_default-3 1 signer09 0.0 1.79769e+308 KOMMEN KALT LUFT SO DESHALB WETTER WECHSELHAFT OST SUED
17July_2009_Friday_tagesschau_default-0 1 signer09 0.0 1.79769e+308 __ON__ IN-KOMMEND WETTER WIE-AUSSEHEN MORGEN SAMSTAG ACHTZEHN JULI __OFF__
17April_2011_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN MONTAG ACHTZEHN APRIL __OFF__
27April_2010_Tuesday_heute_default-1 1 signer01 0.0 1.79769e+308 SCHON MORGEN DREISSIG GRAD SUED FRANKREICH AUCH WARM HIER DEUTSCH LAND SCHON SUEDWEST FUENF ZWANZIG GRAD
07April_2010_Wednesday_heute_default-7 1 signer05 0.0 1.79769e+308 MORGEN SUEDOST WIRKLICH WIE HEUTE UNGEFAEHR NORDWEST WOLKE MEHR IX
26April_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ NORD REGEN NACHT VERSCHWINDEN ALPEN REGEN KOENNEN IX NEBEL __OFF__
27May_2010_Thursday_heute_default-2 1 signer05 0.0 1.79769e+308 SAMSTAG IN-KOMMEND NUR BISSCHEN SCHAUER KOMMEN DANN BESSER HEUTE NACHT BESONDERS REGEN WEST SCHAUER
05July_2010_Monday_heute_default-1 1 signer01 0.0 1.79769e+308 MORGEN UNGEFAEHR MITTE EUROPA ACHTZEHN BIS SECHS ZWANZIG GRAD OST EUROPA HEISS BIS FUENF ZWANZIG GRAD
19September_2010_Sunday_tagesschau_default-11 1 signer07 0.0 1.79769e+308 DONNERSTAG BISSCHEN SONNE WEST WOLKE MEHR NACH MITTAG BISSCHEN SONNE GEWITTER __OFF__
14October_2010_Thursday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUSSAGE FUER MORGEN FREITAG FUENFZEHN OKTOBER __OFF__
08February_2010_Monday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ MORGEN ERWARTEN NOCHEINMAL RUHIG WETTER IX TROCKEN WINTER
07December_2011_Wednesday_heute_default-8 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT NOCH STURM MITTE SUED DAZU SCHNEE REGEN
12December_2011_Monday_heute_default-2 1 signer08 0.0 1.79769e+308 __ON__ WEST HIMMEL STERN KOENNEN SEHEN ABER NICHTALP-STIMMT MORGEN WIEDER REGEN
24January_2013_Thursday_heute_default-4 1 signer07 0.0 1.79769e+308 BEDEUTEN HIMMEL WETTER HAUPTSAECHLICH UEBERWIEGEND KLAR KOMMEN ABER WEST BISSCHEN MILD LUFT WARM BISSCHEN
08April_2010_Thursday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 DOCH WOLKE ABER REGEN WENIG __OFF__
18April_2011_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN DIENSTAG NEUNZEHN APRIL __OFF__
24June_2010_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN FREITAG FUENF ZWANZIG JUNI __OFF__
11December_2010_Saturday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 SUED MEHR REGEN UMWANDELN SCHNEE NACHT OST MITTE BERG STURM
17February_2010_Wednesday_heute_default-6 1 signer01 0.0 1.79769e+308 BODEN GEFRIEREN FLUSS IX BERUHIGEN PLUS STEIGEN SONST REGION FROST __OFF__
25January_2011_Tuesday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 FREITAG RUHIG WETTER BESONDERS NORD FREUNDLICH GLEICH SAMSTAG AUCH NUR NORD BISSCHEN SCHNEE SCHNEIEN UND NIESELREGEN FROST __OFF__
29November_2009_Sunday_tagesschau_default-7 1 signer03 0.0 1.79769e+308 BODEN SEE MOEGLICH FLACH AUCH SCHNEE SUEDOST REGION NORD SEE NOCH TROCKEN
14December_2010_Tuesday_heute_default-8 1 signer05 0.0 1.79769e+308 OBWOHL PLUS SONST REGION FROST BESONDERS KALT SUED SUEDOST
31January_2013_Thursday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT BESONDERS REGION KOMMEN REGEN REGION REGEN
30May_2010_Sunday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 __ON__ WO REGEN IX AUCH UNWETTER WIND NORD REGEN
12December_2011_Monday_heute_default-5 1 signer08 0.0 1.79769e+308 IX HIMMEL STERN KOENNEN SEHEN REGEN VERSCHWINDEN ABER WEST WOLKE DICK IX ANFANG REGEN BERG ANFANG IX SCHNEE AUCH
08December_2009_Tuesday_tagesschau_default-3 1 signer02 0.0 1.79769e+308 __ON__ SUED OST NOCH REGEN BERG SCHNEE NORD REGION NACH MITTAG ANFANG REGEN __OFF__
20July_2010_Tuesday_heute_default-6 1 signer03 0.0 1.79769e+308 BITTE IHR VIEL TRINKEN MOEGLICH BEISPIEL FLUSS FUENF DREISSIG FUENF DREISSIG GRAD KUESTE IX DREISSIG GRAD __OFF__
25June_2010_Friday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ AUCH ABEND ZWISCHEN NACHT IM-VERLAUF DANN REGEN REGION REGEN VERSCHWINDEN DANN REGION WOLKE KLAR __OFF__ __ON__ IX NEBEL __OFF__
24July_2011_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 OST SONNE MEHR MITTWOCH MEISTENS NACHMITTAG SCHAUER GEWITTER GLEICH WETTER AUCH DONNERSTAG __OFF__
11April_2010_Sunday_tagesschau_default-0 1 signer08 0.0 1.79769e+308 __ON__ JETZT WETTER MORGEN MONTAG ZWOELF APRIL ZEIGEN-BILDSCHIRM __OFF__
09March_2011_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 SUEDOST REGION VERSCHWINDEN LANGSAM IM-VERLAUF
19January_2011_Wednesday_heute_default-9 1 signer07 0.0 1.79769e+308 TROCKEN LUFT DAZU BISSCHEN KALT FRISCH NORD WEHEN
10November_2009_Tuesday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ ALLGEMEIN TIEF OST EUROPA KOMMEN
18November_2009_Wednesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN DONNERSTAG NEUNZEHN NOVEMBER __OFF__
01November_2010_Monday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ MORGEN DANN HERBST MISCHUNG HOCH NEBEL WOLKE SONNE
03June_2010_Thursday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 TAG OST SECHSZEHN MAXIMAL SIEBEN ZWANZIG GRAD FLUSS
23August_2010_Monday_heute_default-8 1 signer08 0.0 1.79769e+308 AUCH SO WEITER MITTWOCH ABER DONNERSTAG HEISS ZURUECK SUED DARUM NORD REGEN KUEHL
05February_2011_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SPAETER KOMMEN OST AUFLOCKERUNG
02October_2012_Tuesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH HIER LAND SUEDOST HOCH DRUCK FREUNDLICH
19November_2009_Thursday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN FREITAG ZWANZIG NOVEMBER __OFF__
11January_2011_Tuesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 __ON__ NORDOST IX BAYERN OST SCHNEE SCHNEIEN UND REGEN MIT FROST BODEN __OFF__
09March_2011_Wednesday_heute_default-10 1 signer01 0.0 1.79769e+308 __ON__ MORGEN BISSCHEN REGEN KOMMEN NORD NEU REGEN KOMMEN
12January_2010_Tuesday_heute_default-5 1 signer03 0.0 1.79769e+308 HEUTE NACHT NOCH KALT HAUPTSAECHLICH MITTE BERG REGION MORGEN FRUEH WAHRSCHEINLICH SUED REGION MOEGLICH SCHNEE
21March_2011_Monday_tagesschau_default-10 1 signer08 0.0 1.79769e+308 __ON__ DREHEN MEER NORD MAESSIG FRISCH
04October_2010_Monday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ TEMPERATUR REGEN MEHR KUEHL SONST GUT
01November_2010_Monday_heute_default-8 1 signer05 0.0 1.79769e+308 MORGEN OST IX WEST NOCHEINMAL VIERZEHN GRAD MAXIMAL SCHLUSS
16November_2009_Monday_tagesschau_default-9 1 signer09 0.0 1.79769e+308 __ON__ MITTWOCH DONNERSTAG NORD WIND BLEIBEN TEIL REGEN VON-UNTEN NACH-NORD MEHR FREUNDLICH
07April_2010_Wednesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN MORGEN DONNERSTAG ACHTE APRIL WETTER __OFF__
07October_2010_Thursday_heute_default-6 1 signer05 0.0 1.79769e+308 IX REGION ZWISCHEN ACHTZEHN ZWISCHEN DREI ZWANZIG IX OST NUR ZWOELF ZWISCHEN SIEBZEHN GRAD
20June_2011_Monday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ SO MANCHMAL ENORM SCHNELL OB SCHOEN SELBST LEUTE MUESSEN ENTSCHEIDUNG GEBEN SCHOEN GUT ABEND EUCH
29August_2011_Monday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HEUTE NACHT NORD MEISTENS WOLKE BESONDERS REGION IX U IX SCHAUER BERG IX AUCH SCHAUER
20October_2011_Thursday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 SUED REGION KOENNEN NACHT FROST BODEN __OFF__
04July_2011_Monday_heute_default-14 1 signer07 0.0 1.79769e+308 OST ODER SUED ODER OST WEST OST
27June_2011_Monday_heute_default-4 1 signer01 0.0 1.79769e+308 __ON__ WEST WARM ZWANZIG GRAD OST BESTE SCHLAF FUENF BIS VIERZEHN GRAD __OFF__
20June_2011_Monday_heute_default-5 1 signer07 0.0 1.79769e+308 BISSCHEN WARM KALT WARM KALT SO WETTER WECHSELHAFT NICHT-IN-KOMMEND WIE-IMMER WIE-IMMER
03February_2010_Wednesday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 NORDOST MIT SCHNEE SCHNEIEN WIND SCHWACH MAESSIG UNTEN KOMMEN IX KOMMEN
05January_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 HEUTE NACHT KOENNEN SCHNEE IX REGEN NEBEL DANN KOENNEN BLEIBEN BIS SONNE DA __OFF__
03February_2010_Wednesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HEUTE NACHT ODER FLUSS NOCH SCHNEE SCHNEIEN SUEDWEST AUCH TEIL REGION SCHNEE SCHNEIEN
17July_2009_Friday_tagesschau_default-4 1 signer09 0.0 1.79769e+308 HEUTE ABEND UEBERWIEGEND REGEN STARK GEWITTER DEUTSCH WETTER DIENST SAGEN WARNUNG
06January_2011_Thursday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 DARUM SCHNEE TAUEN VIEL WASSER STROEMEN KOENNEN UEBERSCHWEMMUNG
04December_2009_Friday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ WETTER BISSCHEN RUHIG DANN MORGEN IX REGION TIEF KOMMEN WOLKE REGEN WENN BERG IX AUCH SCHNEE SCHNEIEN
06June_2010_Sunday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 MORGEN GEWITTER TEIL HAGEL STURM NACHT KOMMEN NORD LANG REGEN
20October_2010_Wednesday_tagesschau_default-13 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT NORDOST DREI NULL FUENF GRAD SONST OST ZWISCHEN NULL ZWISCHEN
24January_2013_Thursday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 SONNTAG AB MEER KOMMEN BISSCHEN MEHR MILD KOMMEN
01June_2010_Tuesday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ OST REGION HOCH STURM KOENNEN MANNHEIM BISSCHEN REGION ZWEI SIEBEN GRENZE __OFF__
03March_2011_Thursday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ MORGEN SCHON VIEL SONNE ABER HOCH DRUCK
12December_2011_Monday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ TIEF KOMMEN IN-KOMMEND IN-KOMMEND REGEN STURM __OFF__
14August_2009_Friday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ DEUTSCH LAND MORGEN HOCH DRUCK KOMMEN WOLKE AUFLOESEN AUCH WARM FEUCHT
11January_2011_Tuesday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 ISLAND DANN MILD LUFT KOMMEN DANN DONNERSTAG IX MEISTENS REGEN MOEGLICH SCHLIMM HOCHWASSER __OFF__
11January_2011_Tuesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN IX WETTER MORGEN MITTWOCH ZWOELFTE JANUAR __OFF__
07December_2010_Tuesday_tagesschau_default-13 1 signer07 0.0 1.79769e+308 HAUPTSAECHLICH STARK WIND FREITAG SUEDWEST SCHNEE REGEN TIEF WEST AUCH HABEN REGEN
15May_2010_Saturday_tagesschau_default-8 1 signer03 0.0 1.79769e+308 __ON__ HEUTE NACHT ACHT BIS ZWEI GRAD KLAR HIMMEL MOEGLICH BODEN FROST __OFF__
09August_2009_Sunday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ WIND SCHWACH __OFF__ __ON__ SUED WIND ZEIGEN-BILDSCHIRM __OFF__
26September_2009_Saturday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 WENN NEBEL TAG AUFLOESEN SONNE SUED REGION REGEN IX BISSCHEN WOLKE
25August_2010_Wednesday_heute_default-6 1 signer03 0.0 1.79769e+308 GRUND HOCH TIEF WIEDER UND SUED REGION LUFT FEUCHT WARM SUED REGION SONNE ABEND GEWITTER KOENNEN __OFF__
15December_2009_Tuesday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 __ON__ WIE-AUSSEHEN IN-KOMMEND DONNERSTAG BESONDERS NORD WEST LEICHT SCHNEE SCHNEIEN
26September_2009_Saturday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 __ON__ SUED BISSCHEN SCHAUER MOEGLICH __OFF__
30December_2010_Thursday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ MORGEN WETTER WIE-AUSSEHEN __OFF__
05February_2011_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 IX MORGEN LANG SONNE NORD OST MORGEN FRUEH REGEN
28December_2011_Wednesday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 IX NACHMITTAG KOMMEN REGEN VIERHUNDERT ACHTHUNDERT METER UEBER SCHNEE
31May_2011_Tuesday_heute_default-25 1 signer01 0.0 1.79769e+308 FLUSS REGION SCHAUER NORDWEST WARM KOMMEN
12October_2009_Monday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ JETZT MORGEN WETTER WIE-AUSSEHEN DREIZEHN OKTOBER __OFF__
27May_2010_Thursday_heute_default-11 1 signer05 0.0 1.79769e+308 SUED SCHON NAECHSTE SONNTAG WIEDER SCHLECHTER WECHSELHAFT
09November_2010_Tuesday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT IX TEMPERATUR SECHS BIS EIN GRAD __OFF__
11November_2009_Wednesday_tagesschau_default-6 1 signer03 0.0 1.79769e+308 __ON__ IM-VERLAUF AUCH WOLKE REGEN __OFF__ __ON__ WIND SCHWACH MAESSIG WEHEN
25November_2009_Wednesday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ REGION KOMMEN BISSCHEN LUFT NICHT-HABEN MILD __OFF__
26September_2009_Saturday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 NORD WIND SCHWACH MAESSIG IX WEHEN SONST REGION VERSCHIEDEN WEHEN
05January_2011_Wednesday_tagesschau_default-17 1 signer08 0.0 1.79769e+308 __ON__ WOCHENENDE BLEIBEN TAUEN DAZU REGEN BLEIBEN __OFF__
24November_2011_Thursday_heute_default-5 1 signer05 0.0 1.79769e+308 NORD NICHT-FROST NICHT-HABEN MILD AEHNLICH WIE HEUTE SECHS ZWISCHEN ELF GRAD
31January_2011_Monday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 JETZT WETTER VORAUS INFORMIEREN MORGEN DIENSTAG ERSTE FEBRUAR __OFF__
01April_2011_Friday_tagesschau_default-14 1 signer08 0.0 1.79769e+308 __ON__ MONTAG UEBERALL WECHSELHAFT ABER KUEHL AB DIENSTAG IN-KOMMEND LANGSAM WIEDER ZURUECK FREUNDLICH WARM __OFF__
27May_2011_Friday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 MORGEN NORDOST FUENFZEHN GRAD FLUSS DREI ZWANZIG GRAD __OFF__
18May_2010_Tuesday_heute_default-7 1 signer08 0.0 1.79769e+308 __ON__ MORGEN REGEN KOMMEN WEST KOMMEN SPEZIELL BADEN WUERTTEMBERG BAYERN REGION __OFF__
07October_2010_Thursday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN FREITAG ACHTE OKTOBER __OFF__
02December_2009_Wednesday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 REGION SUEDOST HAUPTSAECHLICH BEWOELKT TROCKEN SONNE WOLKE __OFF__
17June_2010_Thursday_tagesschau_default-8 1 signer01 0.0 1.79769e+308 __ON__ AUCH DEUTSCH WETTER DIENST SCHON WARNUNG UNWETTER KOENNEN
17February_2011_Thursday_tagesschau_default-5 1 signer07 0.0 1.79769e+308 TAG GANZTAGS MEHR STARK WOLKE ODER NEBEL SONNE KAUM
30July_2011_Saturday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ REGEN REGION __OFF__
22September_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT MEHR KLAR STERN KOENNEN SEHEN LEICHT WOLKE BESONDERS NAEHE FLUSS MITTE SUED REGION NEBEL QUELL WOLKE __OFF__
04December_2011_Sunday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 BOEE STARK WIND BERG SCHWER STURM __OFF__
25February_2010_Thursday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 __ON__ U IX MORGEN DREI FLUSS BIS DREI GRAD __OFF__
19October_2010_Tuesday_heute_default-3 1 signer05 0.0 1.79769e+308 MORGEN KUEHL ZEHN GRAD NUR NORD SCHAFFEN MAXIMAL ZEHN GRAD MITTE BERG BESONDERS OST SUED
04December_2009_Friday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 SONNTAG MEHR MILD VIEL WOLKE REGEN NORDWEST WIND MONTAG DIENSTAG WECHSELHAFT MAL-SO MAL-SO AUCH SONNE __OFF__
05November_2010_Friday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 BISSCHEN FRISCH KUEHL WEHEN BISSCHEN STURM BERG MOEGLICH
08September_2010_Wednesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 S H VOR POMMERN UND BRAND BURG MORGEN DURCHGEHEND REGEN SONST REGION WOLKE TEIL REGION SONNE
12April_2010_Monday_heute_default-6 1 signer01 0.0 1.79769e+308 MORGEN SO NORD GUT SONNE VIEL BESONDERS KUESTE VIEL SONNE TROCKEN BLEIBEN
14September_2010_Tuesday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 __ON__ HEUTE NACHT SIEBEN MAXIMAL VIERZEHN TAG SUED ZWEIZWANZIG GRAD REGION ZWEIZWANZIG GRAD __OFF__
18November_2011_Friday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ HOCH LUFT MEISTENS KOMMEN WOCHENENDE NAECHSTE ANFANG WOCHE WIE-IMMER SO __OFF__
10February_2010_Wednesday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 SAMSTAG TEIL SCHNEE BISSCHEN NORD REGION KLAR HIMMEL
03February_2010_Wednesday_heute_default-11 1 signer05 0.0 1.79769e+308 SAMSTAG BESSER UND DANN SONNTAG IX REGION KOMMEN KALT SCHOEN ABEND AUSRICHTEN __OFF__
01November_2010_Monday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 ABER IM-VERLAUF NEBEL HOCH NEBEL IX MORGEN LANG BLEIBEN
30March_2010_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WEST REGION REGEN BERG SCHNEE SCHAUER DABEI __OFF__
05May_2011_Thursday_heute_default-5 1 signer08 0.0 1.79769e+308 FROST SCHADEN BRAUN KNOSPE-ABFALLEN DARUM ERNTE WENIGER AUCH WEIN UEBERALL DEUTSCH LAND __OFF__
24August_2010_Tuesday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ HEUTE NACHT KUESTE REGEN SUED AUCH IX LANGSAM AUFLOESEN REGION TROCKEN KOENNEN
13April_2010_Tuesday_tagesschau_default-19 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG VIEL SONNE BESONDERS ALPEN KUESTE WOLKE KOENNEN __OFF__
05October_2010_Tuesday_heute_default-7 1 signer01 0.0 1.79769e+308 AUCH TEILWEISE NEBEL DAZU WIND REGION __OFF__
07October_2010_Thursday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 BESONDERS IX NORD HEUTE NACHT MEISTENS WOLKE WAHRSCHEINLICH REGEN SUED VIEL NEBEL HOCH NEBEL
12July_2010_Monday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 __ON__ WEST NORDWEST VERSCHWINDEN MORGEN OST SUEDOST MISCHUNG SONNE WOLKE TEILWEISE REGEN GEWITTER __OFF__
05March_2011_Saturday_tagesschau_default-13 1 signer05 0.0 1.79769e+308 __ON__ MORGEN TEMPERATUR VOGEL LAND MAXIMAL NEUN GRAD
12January_2011_Wednesday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HOCH WASSER GEFAHR WETTER DIENST WARNUNG UNWETTER
11August_2010_Wednesday_tagesschau_default-12 1 signer08 0.0 1.79769e+308 NEUNZEHN BIS FUENF ZWANZIG L IX SIEBEN ZWANZIG GRAD __OFF__
23October_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 IX MEER SCHWER STURM __OFF__
13April_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ OST SIEBEN GRAD FUENFZEHN FLUSS __OFF__
07October_2010_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 MORGEN STARK NEBEL IX NORDOST MEISTENS WOLKE
04May_2010_Tuesday_heute_default-6 1 signer04 0.0 1.79769e+308 DONNERSTAG EXTREM WETTER REGION TEMPERATUR UNTERSCHIED SECHS BIS ZWANZIG GRAD DANN RUHIG
30December_2010_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORD BISSCHEN REGEN SCHNEE HAGEL REGION TROCKEN
02October_2012_Tuesday_heute_default-4 1 signer05 0.0 1.79769e+308 SONST WAHRSCHEINLICH BEIDE ABER KOMMEN
04May_2010_Tuesday_heute_default-0 1 signer04 0.0 1.79769e+308 __ON__ MITTWOCH REGION SONNE BRAUCHEN MOECHTEN HIER ENTTAEUSCHT
12October_2009_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ MITTWOCH REGEN SCHNEE SUEDOST STURM WEST FREUNDLICH __OFF__
01June_2010_Tuesday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ LIEB ZUSCHAUER BEGRUESSEN GUT ABEND __OFF__
06October_2010_Wednesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 MORGEN VOR MITTAG NORD STARK WIND WEHEN SCHWACH __OFF__
18July_2009_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ KOMMEN TIEF DRUCK DESHALB DEUTSCHLAND REGEN KUEHL REGEN
12October_2009_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ AUCH DONNERSTAG FREITAG VIEL WOLKE BEWOELKT SUEDOST SCHNEE KOENNEN __OFF__
22July_2009_Wednesday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 HIER NACHT HAUPTSAECHLICH NORDWEST SCHAUER GEWITTER HEFTIG REGEN MOEGLICH
20February_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 IX ALPEN MINUS ACHT MAXIMAL NORD FLUSS MINUS EINS FLUSS PLUS ACHT
25September_2010_Saturday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 MONTAG HEFTIG REGEN NORDOST REGEN AUCH DAZU WIND REGION
20October_2010_Wednesday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 __ON__ SUED MORGEN WOLKE TEIL SONNE SONST REGION SCHAUER
14August_2009_Friday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 SONNTAG NAECHSTE NORDWEST WOLKE SONNE WOLKE GEWITTER REGEN DABEI FREITAG REGION SONNE WAHRSCHEINLICH SCHAUER GEWITTER STARK
25November_2011_Friday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 ZEHN ELF ZWISCHEN SONST REGION ZWEI ZWISCHEN NEUN
15May_2010_Saturday_tagesschau_default-4 1 signer03 0.0 1.79769e+308 MORGEN SUEDOST WOLKE HAUPTSAECHLICH ALPEN MOEGLICH REGEN
07October_2012_Sunday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 __ON__ REGION HEUTE NACHT STURM MORGEN LEICHT MAESSIG WIND NORDWEST FRISCH WEHEN __OFF__
27November_2011_Sunday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT INFORMIEREN WETTER MORGEN MONTAG ACHT ZWANZIG NOVEMBER __OFF__
03February_2010_Wednesday_heute_default-5 1 signer05 0.0 1.79769e+308 AUCH DABEI SCHNEE REGEN NORD TROCKEN IX MORGEN IX SCHNEE REGEN SCHNEE REGEN
02June_2010_Wednesday_heute_default-6 1 signer01 0.0 1.79769e+308 AUCH DRESDEN REGION REGEN KOENNEN __OFF__
05May_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ MITTE MEER TIEF KOMMEN NORD KOMMEN MORGEN FAST REGION WOLKE HIMMEL
17October_2009_Saturday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 DIENSTAG RUHIG HERBST MIT REGEN SONNE TEIL NEBEL UND NEBEL __OFF__
29June_2011_Wednesday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 NACHT ACHTZEHN GRAD REGION ACHT GRAD BERG IX __OFF__
18April_2010_Sunday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 DONNERSTAG MITTAG FREUNDLICH NORD REGEN SUED REGEN __OFF__
01October_2009_Thursday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 __ON__ SONNTAG NORD MITTE REGION REGEN NORD STURM SUED REGION BESSER __OFF__
08September_2010_Wednesday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 SAMSTAG IX NOCH BISSCHEN REGEN SONST REGION FREUNDLICH TROCKEN
04December_2011_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 __ON__ WIND KALT DIENSTAG REGEN SCHNEE GRAUPEL IX REGEN LANG
05September_2009_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 SUED SCHWACH MAESSIG WEHEN NORD WIND NACHT STURM
05May_2010_Wednesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 NORD MORGEN MUESSEN TROCKEN DANN REGION REGEN VIEL
30August_2011_Tuesday_heute_default-1 1 signer07 0.0 1.79769e+308 DEUTSCH LAND BISSCHEN WARM MEHR WENIG SONNE ABER ENORM VIEL REGEN
07October_2010_Thursday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 HEUTE NACHT ALLGAEU IX NORD VIER GRAD FLUSS DANN NORD DREIZEHN __OFF__
25August_2009_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ IN-KOMMEND WIE-AUSSEHEN TEIL WECHSELHAFT SONNE WOLKE UNTERSCHIED GEWITTER KOENNEN
18February_2011_Friday_tagesschau_default-8 1 signer07 0.0 1.79769e+308 SONST REGION FROST VOR REGION MINUS SECHS REGION SONST NOCH MINUS ZWEI GRAD REGION
01October_2012_Monday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 __ON__ MITTE BERG VIER NORDWEST ZWOELF GRAD WOLKE
24August_2009_Monday_heute_default-4 1 signer09 0.0 1.79769e+308 MORGEN BIS NACH MITTAG OST SONNE DAZU WOLKE REGION KOMMEN
15February_2011_Tuesday_tagesschau_default-6 1 signer08 0.0 1.79769e+308 OST KOENNEN GEFRIEREN GLATT AUCH REGEN KOENNEN TAG MEHR WOLKE ODER NEBEL __OFF__
15July_2010_Thursday_tagesschau_default-4 1 signer08 0.0 1.79769e+308 SUEDOST LOCKER NACHT KOENNEN GEWITTER SPAETER SUEDOST
07June_2010_Monday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 HAUPTSAECHLICH POSITION KOENNEN STARK REGEN HAGEL STURM
05February_2010_Friday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 FLUSS WEST UND NORD MEHR TROCKEN __OFF__
12July_2011_Tuesday_heute_default-14 1 signer01 0.0 1.79769e+308 __ON__ MORGEN GEWITTER MEISTENS WO SUEDOST REGION BRAND BURG IX __OFF__
29July_2010_Thursday_tagesschau_default-12 1 signer05 0.0 1.79769e+308 SAMSTAG MEISTENS FREUNDLICH REGION TROCKEN BEWOELKT SCHAUER NUR NORDWEST
27June_2010_Sunday_tagesschau_default-9 1 signer03 0.0 1.79769e+308 MORGEN TEMPERATUR ZWEIZWANZIG GRAD NORD SEE IX ZWEIDREISSIG GRAD FLUSS
06August_2010_Friday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 TEIL LANG REGION SONNE BISSCHEN WOLKE NORDWEST NACHMITTAG BISSCHEN SCHAUER __OFF__
06October_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 __ON__ ALLGAEU HEUTE NACHT FUENF NORD VIERZEHN GRAD FREUNDLICH __OFF__
21April_2010_Wednesday_heute_default-0 1 signer08 0.0 1.79769e+308 __ON__ GUT ABEND BEGRUESSEN JETZT NACHT KOMMEN FROST TAG TEMPERATUR HOCH NOCH-NICHT
26August_2009_Wednesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG KUEHL WENIGER NORD STARK WIND AB SONNTAG TEMPERATUR STEIGEN SONNE LANG __OFF__
08July_2010_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 BISSCHEN WENIG WOLKE REGION IX REGION SONNE __OFF__
16September_2010_Thursday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 ALPEN BISSCHEN TROPFEN REGEN SONNTAG NORD ALPEN IX SONNE WOLKE SCHAUER SONST REGION FREUNDLICH __OFF__
18December_2010_Saturday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 IX WEHEN IX WEHEN __OFF__
29April_2010_Thursday_heute_default-10 1 signer03 0.0 1.79769e+308 NOCH SONNE VOR MITTAG NOCH DANN IM-VERLAUF NACH MITTAG BAYERN REGION GEWITTER
06February_2010_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 OST SONNE WEST TRUEB BISSCHEN REGEN TROPFEN WIND SCHWACH WEHEN
18December_2010_Saturday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 __ON__ IX TEIL REGEN GEFRIEREN ZUERST SCHWACH WEHEN
02December_2009_Wednesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN DONNERSTAG DRITTE DEZEMBER __OFF__
06February_2010_Saturday_tagesschau_default-5 1 signer04 0.0 1.79769e+308 SUEDWEST NEBEL NORDOST AUFLOESEN ALPEN SCHNEE
09June_2010_Wednesday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 DAZU LUFT ENORM WARM FEUCHT KOENNEN GEWITTER DEUTSCH WETTER DIENST BEKANNTGEBEN MOEGLICH GEWITTER KOMMEN __OFF__
20June_2011_Monday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUS INFORMIEREN MORGEN DIENSTAG EINS ZWANZIG JUNI __OFF__
13August_2009_Thursday_tagesschau_default-12 1 signer05 0.0 1.79769e+308 SONNTAG WIEDER WECHSELHAFT SCHAUER GEWITTER ORT STARK
24November_2009_Tuesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ SCHOTTLAND REGION UND SUED EUROPA SUED REGION DAZWISCHEN MORGEN LUFT MILD KOMMEN __OFF__
28January_2013_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WIND HEUTE NACHT WEHEN NORD STURM KOENNEN STURM BERG STURM ORKAN __OFF__
08January_2010_Friday_tagesschau_default-5 1 signer09 0.0 1.79769e+308 __ON__ SUED WIND MAESSIG NORD WIND STARK EIN-PAAR WIND NORD MEER WIE ORKAN MOEGLICH __OFF__
29September_2011_Thursday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 SAMSTAG SONNTAG GLEICH IX GERADE MONTAG TAG FEIER TAG BISSCHEN KUEHL IX WOLKE
05July_2010_Monday_tagesschau_default-17 1 signer01 0.0 1.79769e+308 __ON__ MORGEN ACHTZEHN NORD DANN SECHS ZWANZIG REGION __OFF__
28September_2010_Tuesday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ HALLO GUT ABEND BISHER TAG LETZTE DEUTSCHLAND SCHLECHT VIEL REGEN DARUM FLUSS OST AUCH HOCHWASSER MESSEN VORSICHT
16May_2010_Sunday_tagesschau_default-3 1 signer08 0.0 1.79769e+308 IN-KOMMEND REGION TIEF DRUCK ENORM LUFT BLEIBEN __OFF__
25October_2010_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 DANN NEU WOLKE KOMMEN STROEMEN NACH MITTAG KOENNEN REGEN SCHON WIND KOMMEN __OFF__
20June_2011_Monday_tagesschau_default-9 1 signer07 0.0 1.79769e+308 FLUSS MILD SECHSZEHN GRAD FLUSS NUR ACHT GRAD HOCH FLUSS WARM DREISSIG GRAD
21May_2010_Friday_tagesschau_default-10 1 signer03 0.0 1.79769e+308 __ON__ ES-BEDEUTET WIND WEHEN ABER HAUPTSAECHLICH SCHWACH MAESSIG WEHEN __OFF__
07February_2011_Monday_heute_default-0 1 signer07 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER SONNE VORBEI DANN KOMMEN MEHR REGEN MORGEN IX FLUSS AUCH MEHR WOLKE
12March_2011_Saturday_tagesschau_default-15 1 signer07 0.0 1.79769e+308 DANN DIENSTAG NORDWEST BISSCHEN REGEN OST REGEN SONST SONNE WOLKE
11May_2010_Tuesday_heute_default-13 1 signer01 0.0 1.79769e+308 __ON__ ZWANZIG GRAD IN-KOMMEND DONNERSTAG BESONDERS SCHOEN WAHRSCHEINLICH REGION NORD
05February_2010_Friday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 __ON__ ABER STARK WOLKE HIMMEL KOENNEN NEBEL TEILWEISE SOLL SONNE DABEI __OFF__
02August_2010_Monday_heute_default-5 1 signer05 0.0 1.79769e+308 DANN REGEN OST REGION MILD FUENFZEHN SECHSZEHN
04December_2009_Friday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ MORGEN SAMSTAG FUENFTE DEZEMBER WIE-AUSSEHEN WETTER __OFF__
17September_2010_Friday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 __ON__ A REGION WETTER BIS SUED DEUTSCHLAND KOMMEN GUT FREUNDLICH SONNE GUT
12December_2009_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 NACHT SCHNEE LEICHT KUESTE TIEF SUED REGEN DABEI
25November_2010_Thursday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 HEUTE NACHT BESONDERS REGION BADEN W BIS SACHSEN IX SONST REGION IX SCHNEE SCHNEIEN SCHAUER VORSICHT SEIN ACHTUNG STRASSE GLATT __OFF__
05May_2010_Wednesday_tagesschau_default-6 1 signer01 0.0 1.79769e+308 BAYERN SACHSEN IX SCHAUER GEWITTER AUCH EIN-PAAR IX KOENNEN SEHEN HIMMEL __OFF__
22November_2010_Monday_heute_default-10 1 signer01 0.0 1.79769e+308 BIS ABEND IN-KOMMEND DANN KOMMEN NIEDERUNG __OFF__
18November_2009_Wednesday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 IN-KOMMEND RUHIG FREUNDLICH HERBST __OFF__
18July_2009_Saturday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 ANDERE MAESSIG SUED ALPEN SUED NACHT SECHS MAXIMAL FUENFZEHN FLUSS
25March_2011_Friday_tagesschau_default-13 1 signer07 0.0 1.79769e+308 __ON__ MONTAG FAST UEBERALL SONNE MEER BERG IX MEHR WOLKE ABER NUR BISSCHEN ORT REGEN
25October_2010_Monday_tagesschau_default-21 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG NORDWEST REGEN REGION SONNE WOLKE WECHSELHAFT DANN FREITAG AEHNLICH WETTER __OFF__
07December_2009_Monday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ WIND ZEIGEN-BILDSCHIRM SCHWACH MAESSIG __OFF__
18February_2011_Friday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 BESONDERS OST DEUTSCH LAND MEHR REGEN ODER SCHNEE
24November_2009_Tuesday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 __ON__ DONNERSTAG BESONDERS NORDWEST REGEN STURM KOENNEN IX AUCH GEWITTER SUEDOST SONNE DABEI __OFF__
04June_2010_Friday_tagesschau_default-9 1 signer05 0.0 1.79769e+308 MONTAG WECHSELHAFT MAL SONNE WOLKE BESONDERS REGION SCHAUER GEWITTER __OFF__
24August_2010_Tuesday_heute_default-0 1 signer08 0.0 1.79769e+308 __ON__ LIEB ZUSCHAUER GUT ABEND WETTER VERAENDERN ENORM GESTERN ORKAN STURM ORKAN
11December_2010_Saturday_tagesschau_default-13 1 signer08 0.0 1.79769e+308 GLEICH AEHNLICH DIENSTAG ABER OST DANN SCHNEE MITTWOCH SEIN GLEICH MINUS NEUN BIS MINUS EIN GRAD __OFF__
16September_2010_Thursday_tagesschau_default-6 1 signer05 0.0 1.79769e+308 SUED SCHAUER NORD SCHAUER KURZ GEWITTER __OFF__
24September_2009_Thursday_heute_default-6 1 signer05 0.0 1.79769e+308 ABER ENORM SPAET SOMMER WARM NEU WOCHE WECHSELHAFT SCHOEN ABEND MITTEILEN
06December_2009_Sunday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT REGEN KOMMEN RICHTUNG __OFF__
11August_2011_Thursday_heute_default-8 1 signer08 0.0 1.79769e+308 NACH MITTAG ENDLICH SONNE UND REGEN KOMMEN MUENCHEN P KOMMEN __OFF__
21April_2010_Wednesday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 MORGEN NORD NEUN GRAD SUED ACHTZEHN GRAD __OFF__
04May_2011_Wednesday_heute_default-12 1 signer01 0.0 1.79769e+308 REGION ZWOELF BIS ACHTZEHN GRAD KUEHL SEIN __OFF__
07February_2011_Monday_tagesschau_default-4 1 signer07 0.0 1.79769e+308 TAG SUED FREUNDLICH SONNE NORD AUCH BISSCHEN WOLKE BISSCHEN MEHR SONNE
06October_2011_Thursday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ WEHEN REGION FRISCH WIND SCHAUER IX __OFF__
22November_2011_Tuesday_heute_default-2 1 signer07 0.0 1.79769e+308 WOCHENENDE VIEL REGEN NICHTALP-AUCH NICHTALP-AUCH NORMAL IX MITTE REGION SAEGE SECHS SECHZIG LITER REGEN PRO QUADRATMETER DEUTSCH LAND
03July_2009_Friday_tagesschau_default-13 1 signer04 0.0 1.79769e+308 SONNTAG UEBERWIEGEND OST SUED SCHAUER GEWITTER REGION FREUNDLICH NAECHSTE WOCHE KUEHL ABWECHSELN WETTER __OFF__
26March_2011_Saturday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ NACHT REGEN REGION B BAYERN REGION REGEN
25August_2010_Wednesday_tagesschau_default-2 1 signer03 0.0 1.79769e+308 __ON__ WEST KOMMEN TIEF ENORM REGEN GEWITTER SUED REGION MORGEN SOLL HOCH DRUCK
18December_2010_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN SONNTAG NEUNZEHNTE DEZEMBER __OFF__
24November_2009_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT NORD REGION ELF GRAD ALPEN EINS GRAD NACHMITTAG MITTE REGION ZEHN GRAD __OFF__ __ON__ SUED SECHSZEHN GRAD __OFF__
25August_2010_Wednesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 NOCH GUT WARM HEUTE NACHT WEST KOMMEN REGEN KOENNEN
24October_2010_Sunday_tagesschau_default-10 1 signer04 0.0 1.79769e+308 OST SUED BISSCHEN SCHAUER BIS ZWISCHEN-MITTE SCHNEE TEIL NEBEL WOLKE ODER SONNE
10August_2010_Tuesday_heute_default-4 1 signer05 0.0 1.79769e+308 __ON__ REGEN HEUTE NACHT REGION KOMMEN UND AB ZWOELF UHR DAUER
26October_2009_Monday_tagesschau_default-11 1 signer05 0.0 1.79769e+308 NORDOST MEHR WOLKE REGEN FREITAG WENN NEBEN AUFLOESEN SONNE __OFF__
18January_2011_Tuesday_tagesschau_default-0 1 signer07 0.0 1.79769e+308 __ON__ JETZT WETTER VORAUS INFORMIEREN MORGEN MITTWOCH NEUNZEHN JANUAR __OFF__
04April_2010_Sunday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 __ON__ DIENSTAG HAUPTSAECHLICH SONNE NORDOST WOLKE MOEGLICH REGEN
14September_2010_Tuesday_tagesschau_default-15 1 signer05 0.0 1.79769e+308 SAMSTAG SUED FREUNDLICH NORD EINIGE SCHAUER __OFF__
25September_2010_Saturday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 __ON__ DESWEGEN UNWETTER MEISTENS VERBREITEN NACHT ZONE REGION WECHSELHAFT WOLKE
13April_2010_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 REGION HOCH DRUCK KOMMEN SKANDINAVIEN KOMMEN DARUM KOMMEN FREUNDLICH
21January_2011_Friday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 BEI-UNS NORDWEST BEKOMMEN REGEN ODER SCHNEE
11January_2011_Tuesday_tagesschau_default-14 1 signer05 0.0 1.79769e+308 WIND VIEL SUED FREUNDLICH TEIL __OFF__
23January_2011_Sunday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN MONTAG VIER ZWANZIG JANUAR ZWEITAUSEND ELF __OFF__
07December_2009_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ IX KOENNEN SONNE __OFF__
29March_2011_Tuesday_tagesschau_default-5 1 signer01 0.0 1.79769e+308 __ON__ DANN REGEN WENIG ABER MORGEN BISSCHEN REGEN MEHR __OFF__
24August_2009_Monday_heute_default-8 1 signer09 0.0 1.79769e+308 __ON__ MITTWOCH NUR REST SCHAUER GEWITTER REGION
29September_2011_Thursday_tagesschau_default-8 1 signer05 0.0 1.79769e+308 VIERZEHN FLUSS MORGEN MAXIMAL DREI ZWANZIG GRAD WENN NEBEL LANG BLEIBEN SIEBZEHN GRAD
10August_2009_Monday_heute_default-5 1 signer01 0.0 1.79769e+308 __ON__ HEUTE ABEND OST REGION REGEN GEWITTER KOENNEN WIND REGEN __OFF__
24September_2009_Thursday_heute_default-2 1 signer05 0.0 1.79769e+308 HIER AUCH ICH HIER SCHAU-MAL ZEIGEN-BILDSCHIRM ABER SAMSTAG SONNTAG IN-KOMMEND HIER NACHT BAYERN HIER WALD BISSCHEN REGEN
20November_2010_Saturday_tagesschau_default-9 1 signer04 0.0 1.79769e+308 KLAR NACHT EIS NORD PLUS FUENF
15December_2009_Tuesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 SUEDOST MORGEN BEWOELKT VIEL SCHNEE SCHNEIEN NORD BEWOELKT
24September_2009_Thursday_heute_default-3 1 signer05 0.0 1.79769e+308 SONST HIMMEL SEHEN STERN NEBEL TEMPERATUR DREIZEHN ZWISCHEN FUENF GRAD MORGEN IX
28March_2011_Monday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ NORDWEST ZONE NEBEL AUFLOESEN MORGEN MEISTENS SONNE __OFF__
19September_2010_Sunday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 __ON__ SUED WIND NUR SCHWACH NORD WEHEN BISSCHEN WEHEN KUESTE STARK STURM WEHEN DAS-WARS
05May_2010_Wednesday_tagesschau_default-11 1 signer01 0.0 1.79769e+308 NORD REGEN WOCHENENDE MEHR WARM WETTER WECHSELHAFT GEWITTER UND SONNE DABEI __OFF__
05May_2011_Thursday_heute_default-16 1 signer08 0.0 1.79769e+308 __ON__ WALD TROCKEN SPEZIELL NORDOST BIS WOCHENENDE IN-KOMMEND
04December_2010_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ JETZT WIE-AUSSEHEN WETTER MORGEN SONNTAG FUENFTE DEZEMBER __OFF__
27August_2010_Friday_tagesschau_default-14 1 signer03 0.0 1.79769e+308 __ON__ SONNTAG MONTAG BLEIBEN SO MEHR KUEHL AUCH WECHSELHAFT
22October_2010_Friday_tagesschau_default-6 1 signer04 0.0 1.79769e+308 NORDWEST NACHT ACHT WENN KLAR FROST IX BERG REGION MORGEN SIEBEN
01October_2012_Monday_heute_default-1 1 signer04 0.0 1.79769e+308 FUER VIEL SONNE NICHT-REGION NICHT PAAR-TAG ANFANG WIE-IMMER WIE-IMMER IN-KOMMEND
10May_2010_Monday_tagesschau_default-4 1 signer01 0.0 1.79769e+308 __ON__ HEUTE NACHT SUED ANFANG BISSCHEN GEWITTER IX SONST REGION REGEN IX KOENNEN AUCH NEBEL __OFF__
03August_2010_Tuesday_tagesschau_default-13 1 signer01 0.0 1.79769e+308 __ON__ NEUNZEHN GRAD NORD SECHS ZWANZIG THUERINGEN SACHSEN TAG KLAR __OFF__
21November_2010_Sunday_tagesschau_default-15 1 signer01 0.0 1.79769e+308 MITTWOCH DONNERSTAG WECHSELHAFT BISSCHEN REGEN SCHNEE MEHR TIEF SCHNEE HABEN __OFF__
19November_2011_Saturday_tagesschau_default-12 1 signer04 0.0 1.79769e+308 __ON__ NACHT FUENF IX S+L+Y IX MINUS FUENF BERG
21November_2010_Sunday_tagesschau_default-12 1 signer01 0.0 1.79769e+308 __ON__ HEUTE-NACHT STERN HABEN BISSCHEN FROST MOEGLICH SONST NULL BIS VIER GRAD __OFF__
12November_2009_Thursday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 EINIGE WOLKE NEBEL MAL SONNE __OFF__
01October_2010_Friday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 NACHT ZWOELF KOELN REGION EINS REGION IX AM-TAG ELF VOGEL LAND __OFF__
28January_2013_Monday_heute_default-8 1 signer01 0.0 1.79769e+308 __ON__ WEST REGEN KOMMEN OST REGION ANFANG SCHNEE MITTE BERG AUCH __OFF__
10February_2010_Wednesday_tagesschau_default-3 1 signer03 0.0 1.79769e+308 SCHNEE AUCH FROST __OFF__ __ON__ FUER HEUTE WETTER BESSER RUHIG
24January_2013_Thursday_heute_default-7 1 signer07 0.0 1.79769e+308 BISSCHEN SCHNEE IN-KOMMEND SACHSEN ODER BERG REGION BAYERN REGION MOEGLICH SCHNEE SONST
26June_2010_Saturday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ WIND SCHWACH __OFF__
02February_2011_Wednesday_tagesschau_default-8 1 signer08 0.0 1.79769e+308 NORDWEST WIEDER FREUNDLICH WOLKE AUFLOESEN WIND SCHWACH NORD MAESSIG
31August_2010_Tuesday_heute_default-6 1 signer01 0.0 1.79769e+308 SONST REGION HIMMEL __OFF__
06October_2011_Thursday_heute_default-3 1 signer01 0.0 1.79769e+308 __ON__ TIEF O+P+H+E+L+I+A KALT KOMMEN MITTE EUROPA BERG SCHON SCHNEE __OFF__
28January_2013_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ STURM WEITER KRAEFTIG REGEN KOMMEN __OFF__
07October_2010_Thursday_tagesschau_default-10 1 signer05 0.0 1.79769e+308 RUHIG TROCKEN FREUNDLICH NAECHSTE BLEIBEN __OFF__
26June_2010_Saturday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ REGION TAGSUEBER DANN WOLKE __OFF__ __ON__ DANN SUEDWEST GEWITTER KOENNEN __OFF__
21January_2011_Friday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 HEUTE NACHT STERN SEHEN MEISTENS NEBEL AUCH
01April_2010_Thursday_heute_default-5 1 signer04 0.0 1.79769e+308 ABER FREUEN MORGEN SONNE SELTEN REGEN
05July_2010_Monday_tagesschau_default-10 1 signer01 0.0 1.79769e+308 __ON__ SUEDWEST KOMMEN MEHR TROCKEN __OFF__
11February_2010_Thursday_tagesschau_default-5 1 signer03 0.0 1.79769e+308 __ON__ WOCHENENDE IM-VERLAUF MEHR TROCKEN ABER BLEIBEN KALT __OFF__
30January_2013_Wednesday_tagesschau_default-15 1 signer05 0.0 1.79769e+308 AUCH SAMSTAG REGEN SCHNEE SCHNEIEN IM-VERLAUF WEST NORDWEST MEHR FREUNDLICH __OFF__
28September_2010_Tuesday_heute_default-7 1 signer07 0.0 1.79769e+308 FLUSS UNGEFAEHR FUENFZEHN IX SIEBZEHN GRAD EINS ZWEI GRAD STEIGEN
24May_2011_Tuesday_heute_default-6 1 signer05 0.0 1.79769e+308 __ON__ FLUSS A SUED SONNE STRAHLEN AUCH SUED __OFF__
06July_2010_Tuesday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 __ON__ WIND SCHWACH UNTERSCHIED KOMMEN IX AUCH FRISCH IX KOMMEN __OFF__
02December_2010_Thursday_tagesschau_default-2 1 signer07 0.0 1.79769e+308 __ON__ OST SEE TIEF DRUCK ZONE NORD NOCH SCHNEE SCHNEIEN ZWEITE MITTE MEER DANN SLOWAKEI KOMMEN
07April_2011_Thursday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ NORDOST WOLKE VIEL IX WENIG __OFF__
08June_2010_Tuesday_tagesschau_default-11 1 signer03 0.0 1.79769e+308 DONNERSTAG FREITAG WETTER BLEIBEN HEUTE FEUCHT WARM HEISS ENORM MOEGLICH GEWITTER AUCH STARK
24October_2010_Sunday_tagesschau_default-11 1 signer04 0.0 1.79769e+308 MITTWOCH KOMMEN REGEN REGION KOMMEN MISCHUNG NEBEL WOLKE SONNE __OFF__
03July_2011_Sunday_tagesschau_default-3 1 signer04 0.0 1.79769e+308 REGION MEHR FREUNDLICH HOCH DRUCK KOMMEN BIS REGION __OFF__
22September_2010_Wednesday_heute_default-13 1 signer01 0.0 1.79769e+308 __ON__ FREITAG LANGSAM SINKEN TEMPERATUR SINKEN WEST OST REGEN SAMSTAG SONNTAG KUEHL HERBST SO IN-KOMMEND SCHOEN ABEND TSCHUESS __OFF__
13December_2010_Monday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 __ON__ NORD HEUTE NACHT MINUS ZWEI BERG BIS MINUS FUENFZEHN GRAD IX MORGEN MINUS SIEBEN GRAD
05November_2010_Friday_tagesschau_default-6 1 signer07 0.0 1.79769e+308 AUCH BISSCHEN SONNE MORGEN MEISTENS REGEN TAG IM-VERLAUF KOMMEN
17January_2011_Monday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 SUED AUCH VIEL WOLKE ODER NEBEL ABER REGEN SUED KAUM __OFF__
18January_2011_Tuesday_tagesschau_default-3 1 signer07 0.0 1.79769e+308 SONNE SELTEN NUR WOLKE HAUPTSAECHLICH
24August_2010_Tuesday_heute_default-3 1 signer08 0.0 1.79769e+308 NAECHSTE REGEN AB DONNERSTAG WAHRSCHEINLICH KUEHL BLEIBEN
29January_2010_Friday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 MEHR REGION KOMMEN DANN MORGEN SCHNEE SCHNEIEN NORDOST LANG SCHNEE SCHNEIEN IX
11August_2009_Tuesday_tagesschau_default-7 1 signer01 0.0 1.79769e+308 __ON__ BEREICH SUED MEHR FREUNDLICH SONST VIEL WOLKE NORD KOMMEN SCHAUER GEWITTER KOENNEN __OFF__
19January_2011_Wednesday_heute_default-12 1 signer07 0.0 1.79769e+308 UND NICHT-IMMER KOMMEN SCHNEE SCHNEIEN SCHOEN ABEND EUCH MACHEN GUT __OFF__
27October_2009_Tuesday_tagesschau_default-0 1 signer05 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MONTAG MORGEN MITTWOCH ACHT ZWANZIG OKTOBER __OFF__
04January_2010_Monday_heute_default-0 1 signer01 0.0 1.79769e+308 __ON__ GUT ABEND LIEB ZUSCHAUER BEGRUESSEN __OFF__
25June_2010_Friday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ KOMMEN KRAEFTIG WAS WOCHENENDE VIEL SONNE TEMPERATUR STEIGEN __OFF__
23May_2010_Sunday_tagesschau_default-3 1 signer01 0.0 1.79769e+308 __ON__ IN-KOMMEND TIEF AUFZIEHEN WETTER WECHSELHAFT TEMPERATUR REDUZIEREN __OFF__
12August_2010_Thursday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ DEUTSCH LAND KOMMEN KUEHL HEISS GETRENNT NAEHE __OFF__
15February_2011_Tuesday_heute_default-17 1 signer08 0.0 1.79769e+308 __ON__ SONNE KOENNEN OST SUED BERG REGION SPAETER IX SUEDWEST __OFF__
29September_2012_Saturday_tagesschau_default-8 1 signer06 0.0 1.79769e+308 SUED WIND SCHWACH MAESSIG WEHEN FRISCH STARK BOEE __OFF__
05June_2010_Saturday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 MONTAG ABEND BEWOELKT HIER NACHT HIMMEL KLAR
09February_2010_Tuesday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 SAMSTAG SCHNEE WENIG REGION MANCHMAL JA __OFF__
28October_2009_Wednesday_tagesschau_default-5 1 signer05 0.0 1.79769e+308 MORGEN UEBERWIEGEND BEWOELKT NEBEL AUCH SUED IX SONNE NORDOST BEWOELKT IX REGEN __OFF__
01April_2011_Friday_tagesschau_default-0 1 signer08 0.0 1.79769e+308 __ON__ JETZT WETTER WIE-AUSSEHEN MORGEN SAMSTAG ZWEITE APRIL __OFF__ __ON__ ZEIGEN-BILDSCHIRM __OFF__
19February_2011_Saturday_tagesschau_default-0 1 signer04 0.0 1.79769e+308 __ON__ WETTER WIE-AUSSEHEN MORGEN SONNTAG ZWANZIG AUGUST FEBRUAR __OFF__
23September_2010_Thursday_tagesschau_default-16 1 signer01 0.0 1.79769e+308 __ON__ SAMSTAG HAUPTSAECHLICH MEHR WOLKE SONNE WENIG IX SUEDOST REGEN KOENNEN SUEDWEST BISSCHEN SCHAUER __OFF__
17May_2010_Monday_heute_default-15 1 signer08 0.0 1.79769e+308 __ON__ JETZT SCHOEN ABEND MITTEILEN __OFF__
10August_2009_Monday_heute_default-9 1 signer01 0.0 1.79769e+308 __ON__ ANKLICKEN TEXT ODER INTERNET ANSCHAUEN KOENNEN __OFF__
11August_2009_Tuesday_tagesschau_default-9 1 signer01 0.0 1.79769e+308 __ON__ HEUTE REGION SCHWACH MAESSIG WIND ZEIGEN-BILDSCHIRM __OFF__
14March_2011_Monday_tagesschau_default-7 1 signer07 0.0 1.79769e+308 ABER REST REGION FREUNDLICH AUCH WEST REGION OST MOEGLICH IX SONNE __OFF__
25August_2009_Tuesday_heute_default-10 1 signer01 0.0 1.79769e+308 DONNERSTAG FREUNDLICH SONNE MANCHMAL WARM TEMPERATUR __OFF__
05May_2011_Thursday_heute_default-13 1 signer08 0.0 1.79769e+308 DAZU IX WIND WEHEN LEICHT __OFF__
29October_2009_Thursday_tagesschau_default-15 1 signer05 0.0 1.79769e+308 MONTAG ANFANG WECHSELHAFT MEHR KUEHL __OFF__
19March_2011_Saturday_tagesschau_default-2 1 signer04 0.0 1.79769e+308 __ON__ REGION KOMMEN STARK DANN VIEL SONNE
29December_2011_Thursday_tagesschau_default-4 1 signer04 0.0 1.79769e+308 DESWEGEN SCHNEEVERWEHUNG KOENNEN SUEDOST WARNUNG UNWETTER
14August_2011_Sunday_tagesschau_default-2 1 signer08 0.0 1.79769e+308 __ON__ REGION KUEHL KOMMEN WARM KOMMEN WARM KOMMEN MORGEN KOENNEN REGEN GEWITTER UNWETTER KOENNEN
12July_2009_Sunday_tagesschau_default-0 1 signer01 0.0 1.79769e+308 __ON__ WETTER MORGEN WIE-AUSSEHEN __OFF__
17February_2011_Thursday_heute_default-5 1 signer07 0.0 1.79769e+308 TEMPERATUR NULL GRAD KALT NORD MINUS FUENF GRAD __OFF__
14August_2011_Sunday_tagesschau_default-5 1 signer08 0.0 1.79769e+308 __ON__ OST SUEDOST NACHT ANFANG NOCH REGEN HAGEL
01April_2010_Thursday_tagesschau_default-8 1 signer04 0.0 1.79769e+308 SONNTAG REGEN TEIL GEWITTER SUEDOST DURCH REGEN
29December_2011_Thursday_tagesschau_default-7 1 signer04 0.0 1.79769e+308 SUED OST SUED SCHNEE SONST WECHSELHAFT WOLKE SCHAUER SONNE
16June_2010_Wednesday_tagesschau_default-2 1 signer01 0.0 1.79769e+308 __ON__ NORD MITTE REGION HEUTE NACHT KLAR STERN KOENNEN SEHEN SUED REGEN HOEHER __OFF__
26August_2009_Wednesday_heute_default-3 1 signer01 0.0 1.79769e+308 ABER NORD BISSCHEN KUEHL FUENFZEHN BIS ZWANZIG GRAD __OFF__
21October_2010_Thursday_tagesschau_default-7 1 signer05 0.0 1.79769e+308 __ON__ NORD HEUTE NACHT KRAEFTIG WEHEN AUCH STURM DANN WIND IX ORKAN MOEGLICH __OFF__
21May_2010_Friday_tagesschau_default-12 1 signer03 0.0 1.79769e+308 MORGEN NORD FUENFZEHN GRAD REGION FLUSS VIER ZWANZIG GRAD MOEGLICH
28October_2009_Wednesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ NORD TATSAECHLICH WOLKE MORGEN BISSCHEN REGEN SONST REGION HOCH DRUCK
15December_2010_Wednesday_tagesschau_default-2 1 signer05 0.0 1.79769e+308 __ON__ KRAEFTIG AB MORGEN FRUEH MEISTENS SCHNEE SCHNEIEN KALT REGEN
28October_2009_Wednesday_tagesschau_default-3 1 signer05 0.0 1.79769e+308 HERBST GEMISCHT NEBEL WOLKE SONNE HEUTE NACHT NORD NORDOST IX REGEN
14August_2011_Sunday_tagesschau_default-9 1 signer08 0.0 1.79769e+308 __ON__ NORDWEST NUR SCHAUER NORDWEST AUCH REGEN VESCHWINDEN WOLKE VERSCHWINDEN __OFF__
06January_2010_Wednesday_tagesschau_default-18 1 signer01 0.0 1.79769e+308 __ON__ BERG SCHNEE WIND WOCHENENDE AUCH IX SCHNEE KOENNEN BLEIBEN WIND __OFF__
21May_2010_Friday_tagesschau_default-13 1 signer03 0.0 1.79769e+308 SONNTAG BLEIBEN SO MONTAG NORD WOLKE KOMMEN REGEN
25November_2011_Friday_tagesschau_default-4 1 signer05 0.0 1.79769e+308 HEUTE NACHT WOLKE MEHR REGION KOMMEN BISSCHEN REGEN
30September_2009_Wednesday_tagesschau_default-2 1 signer03 0.0 1.79769e+308 __ON__ SUED SCHWEDEN TIEF KOMMEN JETZT DEUTSCH LAND KOMMEN
| 89,063 | phoenix2014-groundtruth-test | stm | de | unknown | unknown | {} | 0 | {} |
1zilc/fishing-funds | src/renderer/components/Home/FundView/FundHistoryValueContent/HistoryBar/index.tsx | import React from 'react';
import dayjs from 'dayjs';
import { useResizeEchart, useRenderEcharts } from '@/utils/hooks';
import * as CONST from '@/constants';
import * as Utils from '@/utils';
import styles from './index.module.css';
interface HistoryBarProps {
data?: { x: number; y: number; equityReturn: number; unitMoney: 0 }[];
}
const HistoryBar: React.FC<HistoryBarProps> = ({ data = [] }) => {
const { ref: chartRef, chartInstance } = useResizeEchart(CONST.DEFAULT.ECHARTS_SCALE);
useRenderEcharts(
() => {
chartInstance?.setOption({
title: {
show: false,
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow', // 默认为直线,可选为:'line' | 'shadow'
},
},
grid: {
top: '3%',
left: 0,
right: 0,
bottom: 0,
containLabel: true,
},
xAxis: {
type: 'category',
axisLabel: {
fontSize: 10,
},
data: data.map(({ x }) => dayjs(x).format('YYYY-MM-DD')) || [],
},
yAxis: {
type: 'value',
axisLabel: {
formatter: `{value}%`,
fontSize: 10,
},
splitLine: {
lineStyle: {
color: 'var(--border-color)',
},
},
},
series: [
{
type: 'bar',
data: data.map(({ equityReturn }) => {
return {
value: equityReturn,
itemStyle: {
color: Utils.GetValueColor(equityReturn).color,
},
};
}),
},
],
dataZoom: [
{
type: 'inside',
start: 95,
end: 100,
minValueSpan: 7,
},
],
});
},
chartInstance,
[data]
);
return (
<div className={styles.content}>
<div ref={chartRef} style={{ width: '100%' }} />
</div>
);
};
export default HistoryBar;
| 2,065 | index | tsx | en | tsx | code | {"qsc_code_num_words": 155, "qsc_code_num_chars": 2065.0, "qsc_code_mean_word_length": 5.83225806, "qsc_code_frac_words_unique": 0.58064516, "qsc_code_frac_chars_top_2grams": 0.0199115, "qsc_code_frac_chars_top_3grams": 0.02433628, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01487603, "qsc_code_frac_chars_whitespace": 0.41404358, "qsc_code_size_file_byte": 2065.0, "qsc_code_num_lines": 88.0, "qsc_code_num_chars_line_max": 89.0, "qsc_code_num_chars_line_mean": 23.46590909, "qsc_code_frac_chars_alphabet": 0.7322314, "qsc_code_frac_chars_comments": 0.01452785, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.12195122, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.06191646, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/НастройкиПользователей/Forms/ВыборНастроек/Ext/Help/ru.html | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html;charset=utf-8" http-equiv="content-type"></meta><link rel="stylesheet" type="text/css" href="v8help://service_book/service_style"></link><meta name="GENERATOR" content="MSHTML 11.00.10570.1001"></meta></head><body>
<p>Выбор пользовательских <a href="DataProcessor.НастройкиПользователей.Form.НастройкиПользователей/Help">настроек</a>, которые необходимо <a href="DataProcessor.НастройкиПользователей.Form.КопированиеНастроекПользователей/Help">скопировать</a> или <a href="DataProcessor.НастройкиПользователей.Form.ОчисткаНастроекПользователей/Help">очистить</a>:</p>
<p>Список состоит из трех вкладок:</p>
<ul><li><strong>Внешний вид -</strong> выводятся настройки внешнего вида рабочего стола, форм (например, различных списков приложения) и командного интерфейса приложения.
</li>
<li><strong>Настройки отчетов</strong> - список пользовательских настроек отчетов сгруппирован по названиям вариантов отчетов.
</li>
<li><strong>Прочие настройки - </strong>выводятся персональные настройки пользователя, настройки печати табличного документа, настройки быстрого доступа к дополнительным отчетам и обработкам, настройки раздела <strong>Избранное</strong> и прочие настройки, не вошедшие в другие разделы.</li></ul><h3>Выбор настроек</h3>
<ul><li>Выберите нужные настройки с помощью флажков. Для этого имеются дополнительные возможности:
<ul><li>Нажмите кнопку <img src="StdPicture.CheckAll" width="16" height="16"></img> для того чтобы <strong>Пометить все</strong> настройки;
</li>
<li>Нажмите кнопку <img src="StdPicture.UncheckAll"></img> для того чтобы <strong>Снять пометку со всех</strong> настроек;</li></ul></li>
<li>Для копирования или очистки настроек нажмите <strong>Выбрать</strong>. </li></ul><h3>Просмотр настроек</h3>
<ul><li>Настройки отчетов и внешнего вида приложения текущего пользователя можно просмотреть с помощью двойного щелчка мыши (или с помощью команды <strong>Еще</strong> - <strong>Открыть</strong>). </li></ul><h3>См. также:</h3>
<ul><li>
<div><a href="v8help://frame/form_common">Работа с формами</a>.</div></li></ul></body></html> | 2,165 | ru | html | ru | html | code | {"qsc_code_num_words": 291, "qsc_code_num_chars": 2165.0, "qsc_code_mean_word_length": 5.72852234, "qsc_code_frac_words_unique": 0.51546392, "qsc_code_frac_chars_top_2grams": 0.01439712, "qsc_code_frac_chars_top_3grams": 0.03239352, "qsc_code_frac_chars_top_4grams": 0.0719856, "qsc_code_frac_chars_dupe_5grams": 0.14157169, "qsc_code_frac_chars_dupe_6grams": 0.03719256, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01454363, "qsc_code_frac_chars_whitespace": 0.07898383, "qsc_code_size_file_byte": 2165.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 353.0, "qsc_code_num_chars_line_mean": 135.3125, "qsc_code_frac_chars_alphabet": 0.82096289, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.1875, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.20785219, "qsc_code_frac_chars_long_word_length": 0.15150115, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0, "qsc_codehtml_cate_ast": 1.0, "qsc_codehtml_frac_words_text": 0.50762125, "qsc_codehtml_num_chars_text": 1099.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 1, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_cate_xml_start": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_cate_autogen": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_codehtml_cate_ast": 0, "qsc_codehtml_frac_words_text": 0, "qsc_codehtml_num_chars_text": 0} |
1zilc/fishing-funds | src/renderer/utils/hooks/system.ts | import { useLayoutEffect, useEffect, useRef } from 'react';
import { flushSync } from 'react-dom';
import { useInterval } from 'ahooks';
import { theme } from 'antd';
import { UnknownAction } from 'redux';
import dayjs from 'dayjs';
import NP from 'number-precision';
import { startListening } from '@/store/listeners';
import { updateAvaliableAction } from '@/store/features/updater';
import { setFundConfigAction } from '@/store/features/fund';
import { syncTabsActiveKeyAction } from '@/store/features/tabs';
import { changeCurrentWalletCodeAction, toggleEyeStatusAction } from '@/store/features/wallet';
import {
updateAdjustmentNotificationDateAction,
syncDarkMode,
saveSyncConfigAction,
syncVaribleColors,
} from '@/store/features/setting';
import { syncTranslateShowAction } from '@/store/features/translate';
import {
useWorkDayTimeToDo,
useFixTimeToDo,
useAfterMountedEffect,
useAppDispatch,
useAppSelector,
useLoadCoins,
useLoadRemoteCoins,
useLoadRemoteFunds,
useLoadFundRatingMap,
useLoadWalletsFunds,
useLoadWalletsStocks,
useLoadFixWalletsFunds,
useLoadQuotations,
useLoadZindexs,
useIpcRendererListener,
} from '@/utils/hooks';
import { walletIcons } from '@/helpers/wallet';
import { encryptFF, decryptFF } from '@/utils/coding';
import { useLoadFunds } from './utils';
import * as Utils from '@/utils';
import * as Adapters from '@/utils/adpters';
import * as Helpers from '@/helpers';
import * as Enums from '@/utils/enums';
import * as Enhancement from '@/utils/enhancement';
const { dialog, ipcRenderer, clipboard, app } = window.contextModules.electron;
const { production } = window.contextModules.process;
const { saveString, readStringFile } = window.contextModules.io;
const { useToken } = theme;
export function useUpdater() {
const dispatch = useAppDispatch();
const { autoCheckUpdateSetting } = useAppSelector((state) => state.setting.systemSetting);
// 2小时检查一次版本
useInterval(() => autoCheckUpdateSetting && ipcRenderer.invoke('check-update'), 1000 * 60 * 60 * 2, {
immediate: true,
});
useIpcRendererListener('update-available', (e, data) => {
if (autoCheckUpdateSetting) {
dispatch(updateAvaliableAction(data));
}
});
}
export function useAdjustmentNotification() {
const dispatch = useAppDispatch();
const { adjustmentNotificationSetting, adjustmentNotificationTimeSetting, timestampSetting } = useAppSelector(
(state) => state.setting.systemSetting
);
const lastNotificationDate = useAppSelector((state) => state.setting.adjustmentNotificationDate);
useInterval(
async () => {
if (!adjustmentNotificationSetting) {
return;
}
const timestamp = await Helpers.Time.GetCurrentHours(timestampSetting);
const { isAdjustmentNotificationTime, now } = Utils.JudgeAdjustmentNotificationTime(
Number(timestamp),
adjustmentNotificationTimeSetting
);
const month = now.get('month');
const date = now.get('date');
const hour = now.get('hour');
const minute = now.get('minute');
const currentDate = `${month}-${date}`;
if (isAdjustmentNotificationTime && currentDate !== lastNotificationDate) {
const notification = new Notification('调仓提醒', {
body: `当前时间${hour}:${minute} 注意行情走势`,
});
notification.onclick = () => {
ipcRenderer.invoke('show-current-window');
};
dispatch(updateAdjustmentNotificationDateAction(currentDate));
}
},
1000 * 50,
{
immediate: true,
}
);
}
export function useRiskNotification() {
const noticeMapRef = useRef<Record<string, boolean>>({});
const riskNotificationSetting = useAppSelector((state) => state.setting.systemSetting.riskNotificationSetting);
const wallets = useAppSelector((state) => state.wallet.wallets);
const walletsConfig = useAppSelector((state) => state.wallet.config.walletConfig);
const zindexs = useAppSelector((state) => state.zindex.zindexs);
const zindexsCodeMap = useAppSelector((state) => state.zindex.config.codeMap);
useInterval(
() => {
if (!riskNotificationSetting) {
return;
}
try {
// 基金提醒
wallets.forEach((wallet) => {
const { codeMap } = Helpers.Fund.GetFundConfig(wallet.code, walletsConfig);
const walletConfig = Helpers.Wallet.GetCurrentWalletConfig(wallet.code, walletsConfig);
wallet.funds?.forEach((fund) => {
// 涨跌范围提醒
checkZdfRange({
zdf: fund.gszzl,
preset: codeMap[fund.fundcode!]?.zdfRange,
key: `${wallet.code}-${fund.fundcode}-zdfRange`,
content: `${walletConfig.name} ${fund.name} ${Utils.Yang(fund.gszzl)}%`,
});
// 净值提醒
checkJzNotice({
dwjz: fund.dwjz,
gsz: fund.gsz,
preset: codeMap[fund.fundcode!]?.jzNotice,
key: `${wallet.code}-${fund.fundcode}-jzNotice`,
content: `${walletConfig.name} ${fund.name} ${fund.gsz}`,
});
});
});
// 股票提醒
wallets.forEach((wallet) => {
const { codeMap } = Helpers.Stock.GetStockConfig(wallet.code, walletsConfig);
const walletConfig = Helpers.Wallet.GetCurrentWalletConfig(wallet.code, walletsConfig);
wallet.stocks.forEach((stock) => {
// 涨跌范围提醒
checkZdfRange({
zdf: stock.zdf,
preset: codeMap[stock.secid!]?.zdfRange,
key: `${stock.secid}-zdfRange`,
content: `${walletConfig.name} ${stock.name} ${Utils.Yang(stock.zdf)}%`,
});
// 净值提醒
checkJzNotice({
dwjz: stock.zs,
gsz: stock.zx,
preset: codeMap[stock.secid!]?.jzNotice,
key: `${stock.secid}-jzNotice`,
content: `${walletConfig.name} ${stock.name} ${stock.zx}`,
});
});
});
// 指数提醒
zindexs.forEach((zindex) => {
// 涨跌范围提醒
checkZdfRange({
zdf: zindex.zdf,
preset: zindexsCodeMap[zindex.code!]?.zdfRange,
key: `${zindex.code}-zdfRange`,
content: `${zindex.name} ${Utils.Yang(zindex.zdf)}%`,
});
// 净值提醒
checkJzNotice({
dwjz: zindex.zs,
gsz: zindex.zsz,
preset: zindexsCodeMap[zindex.code!]?.jzNotice,
key: `${zindex.code}-jzNotice`,
content: `${zindex.name} ${zindex.zsz}`,
});
});
} catch (error) {}
},
1000 * 60,
{
immediate: true,
}
);
// 24小时清除一次
useInterval(() => {
noticeMapRef.current = {};
}, 1000 * 60 * 60 * 24);
function checkZdfRange(data: { zdf: any; preset: any; key: string; content: string }) {
const { zdf, preset, key, content } = data;
const noticed = noticeMapRef.current[key];
if (!noticed && preset && Math.abs(preset) < Math.abs(Number(zdf))) {
const notification = new Notification('涨跌提醒', {
body: content,
});
notification.onclick = () => {
ipcRenderer.invoke('show-current-window');
};
noticeMapRef.current[key] = true;
}
}
function checkJzNotice(data: { dwjz: any; gsz: any; preset: any; key: string; content: string }) {
const { dwjz, gsz, preset, key, content } = data;
const noticed = noticeMapRef.current[key];
if (
!noticed &&
!!Number(gsz) &&
preset &&
((Number(dwjz) <= preset && Number(gsz) >= preset) || (Number(dwjz) >= preset && Number(gsz) <= preset))
) {
const notification = new Notification('净值提醒', {
body: content,
});
notification.onclick = () => {
ipcRenderer.invoke('show-current-window');
};
noticeMapRef.current[key] = true;
}
}
}
export function useFundsClipboard() {
const dispatch = useAppDispatch();
const currentWalletCode = useAppSelector((state) => state.wallet.currentWalletCode);
const walletsConfig = useAppSelector((state) => state.wallet.config.walletConfig);
const fundConfig = useAppSelector((state) => state.wallet.fundConfig);
const fundApiTypeSetting = useAppSelector((state) => state.setting.systemSetting.fundApiTypeSetting);
const loadFunds = useLoadFunds({
enableLoading: true,
autoFix: true,
});
useIpcRendererListener('clipboard-funds-import', async (e: Electron.IpcRendererEvent, data) => {
try {
const limit = 99;
const text = await clipboard.readText();
const json: any[] = JSON.parse(text);
if (json.length > limit) {
dialog.showMessageBox({
type: 'info',
title: `超过最大限制`,
message: `最大${limit}个`,
});
return;
}
const { codeMap: oldCodeMap } = Helpers.Fund.GetFundConfig(currentWalletCode, walletsConfig);
const jsonFundConfig = json
.map((fund) => ({
name: '',
cyfe: Number(fund.cyfe) < 0 ? 0 : Number(fund.cyfe) || 0,
code: fund.code && String(fund.code),
cbj: Utils.NotEmpty(fund.cbj) ? (Number(fund.cbj) < 0 ? undefined : Number(fund.cbj)) : undefined,
}))
.filter(({ code }) => code);
const jsonCodeMap = Utils.GetCodeMap(jsonFundConfig, 'code');
// 去重复
const fundConfigSet = Object.entries(jsonCodeMap).map(([code, fund]) => fund);
const responseFunds = await Helpers.Fund.GetFunds(fundConfigSet, fundApiTypeSetting);
const newFundConfig = responseFunds.map((fund) => ({
name: fund!.name!,
code: fund!.fundcode!,
cyfe: jsonCodeMap[fund!.fundcode!].cyfe,
cbj: jsonCodeMap[fund!.fundcode!].cbj,
}));
const newCodeMap = Utils.GetCodeMap(newFundConfig, 'code');
const allCodeMap = {
...oldCodeMap,
...newCodeMap,
};
const allFundConfig = Object.entries(allCodeMap).map(([code, fund]) => fund);
await dispatch(setFundConfigAction({ config: allFundConfig, walletCode: currentWalletCode }));
dialog.showMessageBox({
type: 'info',
title: `导入完成`,
message: `更新:${newFundConfig.length}个,总共:${json.length}个`,
});
loadFunds();
} catch (error) {
dialog.showMessageBox({
type: 'info',
title: `解析失败`,
message: `请检查JSON格式`,
});
}
});
useIpcRendererListener('clipboard-funds-copy', async (e: Electron.IpcRendererEvent, data) => {
try {
clipboard.writeText(JSON.stringify(fundConfig));
dialog.showMessageBox({
title: `复制成功`,
type: 'info',
message: `已复制${fundConfig.length}支基金配置到粘贴板`,
});
} catch (error) {
dialog.showMessageBox({
type: 'info',
title: `复制失败`,
message: `基金JSON复制失败`,
});
}
});
}
export function useBootStrap() {
const { freshDelaySetting, autoFreshSetting } = useAppSelector((state) => state.setting.systemSetting);
const runLoadRemoteFunds = useLoadRemoteFunds();
const runLoadFundRatingMap = useLoadFundRatingMap();
const runLoadRemoteCoins = useLoadRemoteCoins();
const runLoadWalletsFunds = useLoadWalletsFunds();
const runLoadFixWalletsFunds = useLoadFixWalletsFunds();
const runLoadWalletsStocks = useLoadWalletsStocks();
const runLoadZindexs = useLoadZindexs({
enableLoading: false,
autoFilter: false,
});
const runLoadQuotations = useLoadQuotations({
enableLoading: false,
autoFilter: false,
});
const runLoadCoins = useLoadCoins({
enableLoading: false,
autoFilter: false,
});
// 间隔时间刷新远程基金数据,远程货币数据,基金评级
useInterval(() => {
runLoadRemoteFunds();
runLoadRemoteCoins();
runLoadFundRatingMap();
}, 1000 * 60 * 60 * 24);
// 间隔时间刷新基金,指数,板块,钱包
useWorkDayTimeToDo(() => {
if (autoFreshSetting) {
Adapters.ConCurrencyAllAdapter([
() => Adapters.ChokeAllAdapter([runLoadWalletsFunds]),
() => Adapters.ChokeAllAdapter([runLoadWalletsStocks]),
() => Adapters.ChokeAllAdapter([runLoadZindexs, runLoadQuotations]),
]);
}
}, freshDelaySetting * 1000 * 60);
// 间隔时间检查最新净值
useFixTimeToDo(() => {
if (autoFreshSetting) {
Adapters.ChokeAllAdapter([runLoadFixWalletsFunds]);
}
}, 1000 * 60 * 10);
// 间隔时间刷新货币
useInterval(() => {
if (autoFreshSetting) {
Adapters.ChokeAllAdapter([runLoadCoins]);
}
}, freshDelaySetting * 1000 * 60);
// 第一次刷新所有数据
useEffect(() => {
Adapters.ConCurrencyAllAdapter([
() => Adapters.ChokeAllAdapter([runLoadRemoteFunds, runLoadRemoteCoins, runLoadFundRatingMap]),
() => Adapters.ChokeAllAdapter([runLoadWalletsFunds, runLoadFixWalletsFunds]),
() => Adapters.ChokeAllAdapter([runLoadWalletsStocks]),
() => Adapters.ChokeAllAdapter([runLoadZindexs, runLoadQuotations, runLoadCoins]),
]);
}, []);
}
export function useMappingLocalToSystemSetting() {
const dispatch = useAppDispatch();
const { hashId } = useToken();
const {
systemThemeSetting,
autoStartSetting,
alwaysOnTopSetting,
lowKeySetting,
opacitySetting,
adjustmentNotificationTimeSetting,
proxyTypeSetting,
proxyHostSetting,
proxyPortSetting,
hotkeySetting: visibleHotkey,
} = useAppSelector((state) => state.setting.systemSetting);
const { hotkeySetting: translateHotkey } = useAppSelector((state) => state.translate.translateSetting);
useIpcRendererListener('nativeTheme-updated', (e, data) => {
dispatch(syncDarkMode(!!data?.darkMode));
});
useEffect(() => {
Enhancement.UpdateSystemTheme(systemThemeSetting);
}, [systemThemeSetting]);
useEffect(() => {
if (production) {
app.setLoginItemSettings({ openAtLogin: autoStartSetting });
}
}, [autoStartSetting]);
useLayoutEffect(() => {
if (lowKeySetting) {
document.body.classList.add('lowKey');
} else {
document.body.classList.remove('lowKey');
}
}, [lowKeySetting]);
useAfterMountedEffect(() => {
dispatch(updateAdjustmentNotificationDateAction(''));
}, [adjustmentNotificationTimeSetting]);
useEffect(() => {
switch (proxyTypeSetting) {
case Enums.ProxyType.System:
ipcRenderer.invoke('set-proxy', { mode: 'system' });
break;
case Enums.ProxyType.Http:
ipcRenderer.invoke('set-proxy', { proxyRules: `${proxyHostSetting}:${proxyPortSetting}` });
break;
case Enums.ProxyType.Socks:
ipcRenderer.invoke('set-proxy', { proxyRules: `socks=${proxyHostSetting}:${proxyPortSetting}` });
break;
case Enums.ProxyType.None:
default:
ipcRenderer.invoke('set-proxy', { mode: 'direct' });
}
}, [proxyTypeSetting, proxyHostSetting, proxyPortSetting]);
useEffect(() => {
ipcRenderer.invoke('set-visible-hotkey', visibleHotkey);
}, [visibleHotkey]);
useEffect(() => {
dispatch(syncVaribleColors());
}, [hashId]);
useEffect(() => {
ipcRenderer.invoke('set-translate-hotkey', translateHotkey);
}, [translateHotkey]);
useEffect(() => {
if (lowKeySetting) {
ipcRenderer.invoke('set-opacity', opacitySetting);
} else {
ipcRenderer.invoke('set-opacity', 1);
}
}, [lowKeySetting, opacitySetting]);
useEffect(() => {
ipcRenderer.invoke('set-alwaysOnTop', alwaysOnTopSetting);
}, [alwaysOnTopSetting]);
}
export function useTrayContent() {
const trayContentSetting = useAppSelector((state) => state.setting.systemSetting.trayContentSetting);
const traySimpleIncomeSetting = useAppSelector((state) => state.setting.systemSetting.traySimpleIncomeSetting);
const walletConfig = useAppSelector((state) => state.wallet.config.walletConfig);
const wallets = useAppSelector((state) => state.wallet.wallets);
const currentWalletCode = useAppSelector((state) => state.wallet.currentWalletCode);
const eyeStatus = useAppSelector((state) => state.wallet.eyeStatus);
// 当前选中钱包
const { sygz, gssyl } = Helpers.Wallet.CalcWallet({ code: currentWalletCode, walletConfig, wallets });
// 所有钱包
const allCalcResult = (() => {
const allResult = wallets.reduce(
(r, { code }) => {
const { zje, gszje } = Helpers.Wallet.CalcWallet({ code, walletConfig, wallets });
return {
zje: r.zje + zje,
gszje: r.gszje + gszje,
};
},
{ zje: 0, gszje: 0 }
);
const sygz = NP.minus(allResult.gszje, allResult.zje);
return { sygz, gssyl: allResult.zje ? NP.times(NP.divide(sygz, allResult.zje), 100) : 0 };
})();
const trayContent = (() => {
const group = [trayContentSetting].flat();
let content = group
.map((trayContentType: Enums.TrayContent) => {
switch (trayContentType) {
case Enums.TrayContent.Sy:
return traySimpleIncomeSetting ? `${Utils.Yang(Utils.FormatNumberAbbr(sygz))}` : `${Utils.Yang(sygz.toFixed(2))}`;
case Enums.TrayContent.Syl:
return `${Utils.Yang(gssyl.toFixed(2))}%`;
case Enums.TrayContent.Zsy:
return traySimpleIncomeSetting
? `${Utils.Yang(Utils.FormatNumberAbbr(allCalcResult.sygz))}`
: `${Utils.Yang(allCalcResult.sygz.toFixed(2))}`;
case Enums.TrayContent.Zsyl:
return `${Utils.Yang(allCalcResult.gssyl.toFixed(2))}%`;
default:
break;
}
})
.join(' │ ');
content = !!content ? ` ${content}` : content;
return content;
})();
useEffect(() => {
const content = eyeStatus ? trayContent : '';
ipcRenderer.invoke('set-tray-content', content);
}, [trayContent, eyeStatus]);
}
export function useUpdateContextMenuWalletsState() {
const dispatch = useAppDispatch();
const wallets = useAppSelector((state) => state.wallet.wallets);
const currentWalletCode = useAppSelector((state) => state.wallet.currentWalletCode);
const walletConfig = useAppSelector((state) => state.wallet.config.walletConfig);
useEffect(() => {
ipcRenderer.invoke(
'update-tray-context-menu-wallets',
walletConfig.map((config) => {
const { sygz, gssyl } = Helpers.Wallet.CalcWallet({ code: config.code, walletConfig, wallets });
const value = ` ${Utils.Yang(sygz.toFixed(2))} ${Utils.Yang(gssyl.toFixed(2))}%`;
return {
label: `${config.name} ${value}`,
type: currentWalletCode === config.code ? 'radio' : 'normal',
dataURL: walletIcons[config.iconIndex],
id: config.code,
};
})
);
}, [wallets, currentWalletCode, walletConfig]);
useIpcRendererListener('change-current-wallet-code', (e, code) => {
try {
dispatch(changeCurrentWalletCodeAction(code));
} catch (error) {}
});
}
export function useAllConfigBackup() {
useIpcRendererListener('backup-all-config-export', async (e, code) => {
try {
const backupConfig = await Enhancement.GenerateBackupConfig();
const { filePath, canceled } = await dialog.showSaveDialog({
title: '保存',
defaultPath: `${backupConfig.name}-${backupConfig.timestamp}.${backupConfig.suffix}`,
});
if (canceled) {
return;
}
const encodeBackupConfig = await encryptFF(backupConfig);
await saveString(filePath!, encodeBackupConfig);
dialog.showMessageBox({
type: 'info',
title: `导出成功`,
message: `已导出全局配置文件至${filePath}`,
});
} catch (error) {
dialog.showMessageBox({
type: 'info',
title: `导出失败`,
message: `导出全局配置文件失败`,
});
}
});
useIpcRendererListener('backup-all-config-import', async (e, code) => {
try {
const { filePaths, canceled } = await dialog.showOpenDialog({
title: '选择备份文件',
filters: [{ name: 'Fishing Funds', extensions: ['ff'] }],
});
const filePath = filePaths[0];
if (canceled || !filePath) {
return;
}
const encodeBackupConfig = await readStringFile(filePath);
const backupConfig: Backup.Config = await decryptFF(encodeBackupConfig);
await Enhancement.CoverBackupConfig(backupConfig);
const { response } = await dialog.showMessageBox({
type: 'info',
title: `导入成功`,
message: `请重新启动Fishing Funds`,
buttons: ['重启', '关闭'],
});
if (response === 0) {
app.relaunch();
} else {
app.quit();
}
} catch (error) {
dialog.showMessageBox({
type: 'info',
title: `导入失败`,
message: `导入全局配置文件失败`,
});
}
});
useIpcRendererListener('open-backup-file', async (e, filePath) => {
try {
const encodeBackupConfig = await readStringFile(filePath);
const backupConfig: Backup.Config = await decryptFF(encodeBackupConfig);
const { response } = await dialog.showMessageBox({
title: `确认从备份文件恢复`,
message: `备份时间:${dayjs(backupConfig.timestamp).format('YYYY-MM-DD HH:mm:ss')} ,当前数据将被覆盖,请谨慎操作`,
buttons: ['确定', '取消'],
});
if (response === 0) {
await Enhancement.CoverBackupConfig(backupConfig);
const { response } = await dialog.showMessageBox({
type: 'info',
title: `恢复成功`,
message: `请重新启动Fishing Funds`,
buttons: ['重启', '关闭'],
});
if (response === 0) {
app.relaunch();
} else {
app.quit();
}
}
} catch (error) {
dialog.showMessageBox({
type: 'info',
title: `恢复失败`,
message: `恢复备份文件失败`,
});
}
});
}
export function useTouchBar() {
const dispatch = useAppDispatch();
const zindexs = useAppSelector((state) => state.zindex.zindexs);
const activeKey = useAppSelector((state) => state.tabs.activeKey);
const eyeStatus = useAppSelector((state) => state.wallet.eyeStatus);
const currentWallet = useAppSelector((state) => state.wallet.currentWallet);
const currentWalletCode = useAppSelector((state) => state.wallet.currentWalletCode);
const walletsConfig = useAppSelector((state) => state.wallet.config.walletConfig);
const fundConfigCodeMap = useAppSelector((state) => state.wallet.fundConfigCodeMap);
const bottomTabsSetting = useAppSelector((state) => state.setting.systemSetting.bottomTabsSetting);
useEffect(() => {
ipcRenderer.invoke(
'update-touchbar-zindex',
zindexs.slice(0, 1).map((zindex) => ({
label: `${zindex.name} ${zindex.zsz}`,
backgroundColor: Utils.GetValueColor(zindex.zdf).color,
}))
);
}, [zindexs]);
useEffect(() => {
const walletConfig = Helpers.Wallet.GetCurrentWalletConfig(currentWalletCode, walletsConfig);
const calcResult = Helpers.Fund.CalcFunds(currentWallet.funds, fundConfigCodeMap);
const value = Utils.Yang(calcResult.gssyl.toFixed(2));
ipcRenderer.invoke('update-touchbar-wallet', [
{
id: currentWalletCode,
label: `${value}%`, // 只显示当前钱包
dataURL: walletIcons[walletConfig.iconIndex],
},
]);
}, [currentWallet, currentWalletCode, walletsConfig, fundConfigCodeMap]);
useEffect(() => {
ipcRenderer.invoke(
'update-touchbar-tab',
bottomTabsSetting
.filter(({ show }) => show)
.map((tab) => ({
label: tab.name,
selected: tab.key === activeKey,
}))
);
}, [activeKey]);
useEffect(() => {
ipcRenderer.invoke('update-touchbar-eye-status', eyeStatus);
}, [eyeStatus]);
useIpcRendererListener('change-tab-active-key', (e, key) => {
dispatch(syncTabsActiveKeyAction(key));
});
useIpcRendererListener('change-eye-status', (e, key) => {
dispatch(toggleEyeStatusAction());
});
}
export function useShareStoreState() {
const dispatch = useAppDispatch();
useEffect(() => {
startListening();
}, []);
useIpcRendererListener('sync-store-data', (event, action: UnknownAction) => {
dispatch(action);
});
}
export function useSyncConfig() {
const dispatch = useAppDispatch();
const syncConfigSetting = useAppSelector((state) => state.setting.systemSetting.syncConfigSetting);
const syncConfigPathSetting = useAppSelector((state) => state.setting.systemSetting.syncConfigPathSetting);
useEffect(() => {
if (syncConfigSetting && syncConfigPathSetting) {
dispatch(saveSyncConfigAction());
}
}, [syncConfigSetting, syncConfigPathSetting]);
}
export function useTranslate() {
const dispatch = useAppDispatch();
const show = useAppSelector((state) => state.translate.show); // translate当前显示状态
useIpcRendererListener('trigger-translate', (event, visible: boolean) => {
// menubar 当前显示状态
if (visible) {
if (show) {
ipcRenderer.invoke('set-menubar-visible', false);
dispatch(syncTranslateShowAction(false));
} else {
dispatch(syncTranslateShowAction(true));
}
} else {
if (show) {
flushSync(() => {
dispatch(syncTranslateShowAction(false));
});
}
dispatch(syncTranslateShowAction(true));
ipcRenderer.invoke('set-menubar-visible', true);
}
});
}
export function useForceReloadApp() {
useIpcRendererListener('force-reload-app', async (event) => {
const { response } = await dialog.showMessageBox({
type: 'info',
title: `崩溃重载`,
message: `程序将重新加载`,
buttons: ['确定', '取消'],
});
if (response === 0) {
window.location.reload();
}
});
}
| 25,414 | system | ts | en | typescript | code | {"qsc_code_num_words": 2053, "qsc_code_num_chars": 25414.0, "qsc_code_mean_word_length": 7.75499269, "qsc_code_frac_words_unique": 0.21773015, "qsc_code_frac_chars_top_2grams": 0.04176873, "qsc_code_frac_chars_top_3grams": 0.0527605, "qsc_code_frac_chars_top_4grams": 0.03203316, "qsc_code_frac_chars_dupe_5grams": 0.29288361, "qsc_code_frac_chars_dupe_6grams": 0.21506187, "qsc_code_frac_chars_dupe_7grams": 0.17517744, "qsc_code_frac_chars_dupe_8grams": 0.14006658, "qsc_code_frac_chars_dupe_9grams": 0.11456567, "qsc_code_frac_chars_dupe_10grams": 0.10526977, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00463718, "qsc_code_frac_chars_whitespace": 0.22782718, "qsc_code_size_file_byte": 25414.0, "qsc_code_num_lines": 759.0, "qsc_code_num_chars_line_max": 127.0, "qsc_code_num_chars_line_mean": 33.48353096, "qsc_code_frac_chars_alphabet": 0.80661435, "qsc_code_frac_chars_comments": 0.00952231, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.37243402, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.04409662, "qsc_code_frac_chars_long_word_length": 0.01422215, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/ФормаПолученияТокена/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получение токена Google Drive</v8:content>
</v8:item>
</Title>
<SaveWindowSettings>false</SaveWindowSettings>
<AutoTitle>false</AutoTitle>
<CommandBarLocation>None</CommandBarLocation>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<ChildItems>
<HTMLDocumentField name="ПолеHTML" id="1">
<DataPath>ПолеHTML</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Поле HTML</v8:content>
</v8:item>
</Title>
<TitleLocation>None</TitleLocation>
<AutoMaxWidth>false</AutoMaxWidth>
<AutoMaxHeight>false</AutoMaxHeight>
<ContextMenu name="ПолеHTMLКонтекстноеМеню" id="2"/>
<ExtendedTooltip name="ПолеHTMLРасширеннаяПодсказка" id="3"/>
</HTMLDocumentField>
<LabelDecoration name="Декорация1" id="14">
<ContextMenu name="Декорация1КонтекстноеМеню" id="15"/>
<ExtendedTooltip name="Декорация1РасширеннаяПодсказка" id="16"/>
</LabelDecoration>
<UsualGroup name="ГруппаПолучениеТокена" id="7">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получение токена</v8:content>
</v8:item>
</Title>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
<BackColor>web:LightGreen</BackColor>
<ExtendedTooltip name="ГруппаПолучениеТокенаРасширеннаяПодсказка" id="8"/>
<ChildItems>
<InputField name="ClientID" id="4">
<DataPath>ClientID</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Client ID</v8:content>
</v8:item>
</Title>
<ContextMenu name="ClientIDКонтекстноеМеню" id="5"/>
<ExtendedTooltip name="ClientIDРасширеннаяПодсказка" id="6"/>
</InputField>
<InputField name="ClientSecret" id="9">
<DataPath>ClientSecret</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Client secret</v8:content>
</v8:item>
</Title>
<ContextMenu name="ClientSecretКонтекстноеМеню" id="10"/>
<ExtendedTooltip name="ClientSecretРасширеннаяПодсказка" id="11"/>
</InputField>
<Button name="ПолучитьТокен" id="12">
<Type>UsualButton</Type>
<CommandName>Form.Command.ПолучитьТокен</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получить токен</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ПолучитьТокенРасширеннаяПодсказка" id="13"/>
</Button>
</ChildItems>
</UsualGroup>
</ChildItems>
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
<Attribute name="ПолеHTML" id="2">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Поле HTML</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
</Attribute>
<Attribute name="ClientID" id="3">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Client ID</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<Save>
<Field>ClientID</Field>
</Save>
</Attribute>
<Attribute name="ClientSecret" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Client secret</v8:content>
</v8:item>
</Title>
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<Save>
<Field>ClientSecret</Field>
</Save>
</Attribute>
<Attribute name="Код" id="5">
<Type>
<v8:Type>xs:string</v8:Type>
<v8:StringQualifiers>
<v8:Length>0</v8:Length>
<v8:AllowedLength>Variable</v8:AllowedLength>
</v8:StringQualifiers>
</Type>
<Save>
<Field>Код</Field>
</Save>
</Attribute>
</Attributes>
<Commands>
<Command name="ПолучитьТокен" id="1">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получить токен</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Получить токен</v8:content>
</v8:item>
</ToolTip>
<Action>ПолучитьТокен</Action>
</Command>
</Commands>
</Form> | 5,664 | Form | xml | ru | xml | data | {"qsc_code_num_words": 703, "qsc_code_num_chars": 5664.0, "qsc_code_mean_word_length": 5.25746799, "qsc_code_frac_words_unique": 0.20910384, "qsc_code_frac_chars_top_2grams": 0.03571429, "qsc_code_frac_chars_top_3grams": 0.03246753, "qsc_code_frac_chars_top_4grams": 0.04058442, "qsc_code_frac_chars_dupe_5grams": 0.5021645, "qsc_code_frac_chars_dupe_6grams": 0.4745671, "qsc_code_frac_chars_dupe_7grams": 0.46103896, "qsc_code_frac_chars_dupe_8grams": 0.44047619, "qsc_code_frac_chars_dupe_9grams": 0.39556277, "qsc_code_frac_chars_dupe_10grams": 0.35579004, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.04639498, "qsc_code_frac_chars_whitespace": 0.15519068, "qsc_code_size_file_byte": 5664.0, "qsc_code_num_lines": 175.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 32.36571429, "qsc_code_frac_chars_alphabet": 0.72580982, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.65142857, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.20515537, "qsc_code_frac_chars_long_word_length": 0.05490819, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/ФормаПолученияТокена/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
Если Не Параметры.Свойство("ClientID")
Или Не Параметры.Свойство("ClientSecret") Тогда
ВызватьИсключение НСтр("ru = 'Эта форма не предназначена для непосредственного открытия.'",
ОбщегоНазначения.КодОсновногоЯзыка());
КонецЕсли;
ПолеHTML = Обработки.ТранспортСообщенийОбменаGoogleDrive.ПолучитьМакет("ПолучениеТокена_ru").ПолучитьТекст();
ЗаполнитьЗначенияСвойств(ЭтотОбъект, Параметры, "ClientID,ClientSecret");
КонецПроцедуры
#КонецОбласти
#Область ОбработчикиКомандФормы
&НаКлиенте
Процедура ПолучитьТокен(Команда)
ПараметрыФормы = Новый Структура;
ПараметрыФормы.Вставить("ClientID", ClientID);
Оповещение = Новый ОписаниеОповещения("ПолучитьТокенЗавершение", ЭтотОбъект);
ОткрытьФорму("Обработка.ТранспортСообщенийОбменаGoogleDrive.Форма.ФормаАвторизации",
ПараметрыФормы,,,,, Оповещение, РежимОткрытияОкнаФормы.БлокироватьОкноВладельца);
КонецПроцедуры
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
&НаКлиенте
Процедура ПолучитьТокенЗавершение(Результат, ДополнительныеПараметры) Экспорт
Если Результат = Неопределено Тогда
Возврат;
КонецЕсли;
Код = Результат;
Результат = ПолучитьТокенЗавершениеНаСервере();
Закрыть(Результат);
КонецПроцедуры
&НаСервере
Функция ПолучитьТокенЗавершениеНаСервере()
ИмяСервера = "accounts.google.com";
АдресРесурса = "/o/oauth2/token";
СтрокаЗапроса = "client_id=" + ClientID + "&" +
"client_secret=" + ClientSecret + "&" +
"grant_type=authorization_code" + "&" +
"code=" + Код + "&" +
"redirect_uri=http://localhost";
Заголовки = Новый Соответствие;
Заголовки.Вставить("Content-Type","application/x-www-form-urlencoded");
Запрос = Новый HTTPЗапрос(АдресРесурса, Заголовки);
Запрос.УстановитьТелоИзСтроки(СтрокаЗапроса);
ЗащищенноеСоединение = ОбщегоНазначенияКлиентСервер.НовоеЗащищенноеСоединение();
Прокси = Неопределено;
Если ОбщегоНазначения.ПодсистемаСуществует("СтандартныеПодсистемы.ПолучениеФайловИзИнтернета") Тогда
МодульПолучениеФайловИзИнтернета = ОбщегоНазначения.ОбщийМодуль("ПолучениеФайловИзИнтернета");
Прокси = МодульПолучениеФайловИзИнтернета.ПолучитьПрокси("https");
КонецЕсли;
Соединение = Новый HTTPСоединение(ИмяСервера, 443,,, Прокси, 20, ЗащищенноеСоединение);
Ответ = Соединение.ОтправитьДляОбработки(Запрос);
ТелоОтвета = Ответ.ПолучитьТелоКакСтроку(КодировкаТекста.UTF8);
РезультатЗапроса = ТранспортСообщенийОбмена.JSONВЗначение(ТелоОтвета);
Если Ответ.КодСостояния <> 200 Тогда
СообщениеОбОшибке = РезультатЗапроса["error"]["message"];
ОбщегоНазначения.СообщитьПользователю(СообщениеОбОшибке);
Возврат Неопределено;
КонецЕсли;
Результат = Новый Структура();
Результат.Вставить("AccessToken", РезультатЗапроса["access_token"]);
Результат.Вставить("RefreshToken", РезультатЗапроса["refresh_token"]);
Результат.Вставить("ExpiresIn", ТекущаяДатаСеанса() + РезультатЗапроса["expires_in"]);
Результат.Вставить("ClientID", ClientID);
Результат.Вставить("ClientSecret", ClientSecret);
Возврат Результат;
КонецФункции
#КонецОбласти
| 3,644 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 275, "qsc_code_num_chars": 3644.0, "qsc_code_mean_word_length": 9.88, "qsc_code_frac_words_unique": 0.60727273, "qsc_code_frac_chars_top_2grams": 0.0312845, "qsc_code_frac_chars_top_3grams": 0.00294442, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0064083, "qsc_code_frac_chars_whitespace": 0.1007135, "qsc_code_size_file_byte": 3644.0, "qsc_code_num_lines": 114.0, "qsc_code_num_chars_line_max": 111.0, "qsc_code_num_chars_line_mean": 31.96491228, "qsc_code_frac_chars_alphabet": 0.82239854, "qsc_code_frac_chars_comments": 0.97118551, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/Форма/Ext/Form.xml | <?xml version="1.0" encoding="UTF-8"?>
<Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcssch="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<SaveWindowSettings>false</SaveWindowSettings>
<AutoCommandBar name="ФормаКоманднаяПанель" id="-1"/>
<Events>
<Event name="OnCreateAtServer">ПриСозданииНаСервере</Event>
</Events>
<Attributes>
<Attribute name="Объект" id="1">
<Type>
<v8:Type>cfg:DataProcessorObject.ТранспортСообщенийОбменаEMAIL</v8:Type>
</Type>
<MainAttribute>true</MainAttribute>
</Attribute>
</Attributes>
</Form> | 1,367 | Form | xml | ru | xml | data | {"qsc_code_num_words": 231, "qsc_code_num_chars": 1367.0, "qsc_code_mean_word_length": 4.25974026, "qsc_code_frac_words_unique": 0.32034632, "qsc_code_frac_chars_top_2grams": 0.09146341, "qsc_code_frac_chars_top_3grams": 0.12195122, "qsc_code_frac_chars_top_4grams": 0.15243902, "qsc_code_frac_chars_dupe_5grams": 0.41565041, "qsc_code_frac_chars_dupe_6grams": 0.41565041, "qsc_code_frac_chars_dupe_7grams": 0.3648374, "qsc_code_frac_chars_dupe_8grams": 0.31808943, "qsc_code_frac_chars_dupe_9grams": 0.14939024, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.06298003, "qsc_code_frac_chars_whitespace": 0.04754938, "qsc_code_size_file_byte": 1367.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 918.0, "qsc_code_num_chars_line_mean": 85.4375, "qsc_code_frac_chars_alphabet": 0.69201229, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.53255304, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ТранспортСообщенийОбменаGoogleDrive/Forms/Форма/Ext/Form/Module.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Область ОбработчикиСобытийФормы
&НаСервере
Процедура ПриСозданииНаСервере(Отказ, СтандартнаяОбработка)
ВызватьИсключение НСтр("ru = 'Обработка не предназначена для непосредственного использования.'");
КонецПроцедуры
#КонецОбласти | 741 | Module | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 60, "qsc_code_num_chars": 741.0, "qsc_code_mean_word_length": 7.13333333, "qsc_code_frac_words_unique": 0.9, "qsc_code_frac_chars_top_2grams": 0.01401869, "qsc_code_frac_chars_top_3grams": 0.01869159, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01622419, "qsc_code_frac_chars_whitespace": 0.08502024, "qsc_code_size_file_byte": 741.0, "qsc_code_num_lines": 18.0, "qsc_code_num_chars_line_max": 105.0, "qsc_code_num_chars_line_mean": 41.16666667, "qsc_code_frac_chars_alphabet": 0.61356932, "qsc_code_frac_chars_comments": 0.8582996, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Ext/ManagerModule.bsl | ///////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2024, ООО 1С-Софт
// Все права защищены. Эта программа и сопроводительные материалы предоставляются
// в соответствии с условиями лицензии Attribution 4.0 International (CC BY 4.0)
// Текст лицензии доступен по ссылке:
// https://creativecommons.org/licenses/by/4.0/legalcode
///////////////////////////////////////////////////////////////////////////////////////////////////////
#Если Сервер Или ТолстыйКлиентОбычноеПриложение Или ВнешнееСоединение Тогда
#Область ПрограммныйИнтерфейс
#Область ДляВызоваИзДругихПодсистем
// ИнтернетПоддержкаПользователей.РаботаСКлассификаторами
// См. РаботаСКлассификаторамиПереопределяемый.ПриДобавленииКлассификаторов
Процедура ПриДобавленииКлассификаторов(Классификаторы) Экспорт
Описание = Неопределено;
Если ОбщегоНазначения.ПодсистемаСуществует("ИнтернетПоддержкаПользователей.РаботаСКлассификаторами") Тогда
МодульРаботаСКлассификаторами = ОбщегоНазначения.ОбщийМодуль("РаботаСКлассификаторами");
Описание = МодульРаботаСКлассификаторами.ОписаниеКлассификатора();
КонецЕсли;
Если Описание = Неопределено Тогда
Возврат;
КонецЕсли;
Описание.Идентификатор = ИдентификаторКлассификатора();
Описание.Наименование = НСтр("ru = 'Общероссийский классификатор валют'");
Описание.ОбновлятьАвтоматически = Истина;
Описание.ОбщиеДанные = Истина;
Описание.ОбработкаРазделенныхДанных = Ложь;
Описание.СохранятьФайлВКэш = Истина;
Классификаторы.Добавить(Описание);
КонецПроцедуры
// См. РаботаСКлассификаторамиПереопределяемый.ПриЗагрузкеКлассификатора.
Процедура ПриЗагрузкеКлассификатора(Идентификатор, Версия, Адрес, Обработан, ДополнительныеПараметры) Экспорт
Если Идентификатор <> ИдентификаторКлассификатора() Тогда
Возврат;
КонецЕсли;
Обработан = Истина;
КонецПроцедуры
// Конец ИнтернетПоддержкаПользователей.РаботаСКлассификаторами
#КонецОбласти
#КонецОбласти
#Область СлужебныеПроцедурыИФункции
// Добавляет в справочник валюты из классификатора.
//
// Параметры:
// Коды - Массив из Строка - цифровые коды добавляемых валют.
//
// Возвращаемое значение:
// Массив из СправочникСсылка.Валюты
//
Функция ДобавитьВалютыПоКоду(Знач Коды) Экспорт
Результат = Новый Массив;
КлассификаторТаблица = КлассификаторВалют();
Для каждого Код Из Коды Цикл
ЗаписьОКВ = КлассификаторТаблица.Найти(Код, "Code");
Если ЗаписьОКВ = Неопределено Тогда
Продолжить;
КонецЕсли;
ВалютаСсылка = Справочники.Валюты.НайтиПоКоду(ЗаписьОКВ.Code);
Если ВалютаСсылка.Пустая() Тогда
НоваяСтрока = Справочники.Валюты.СоздатьЭлемент();
НоваяСтрока.Код = ЗаписьОКВ.Code;
НоваяСтрока.Наименование = ЗаписьОКВ.CodeSymbol;
НоваяСтрока.НаименованиеПолное = ЗаписьОКВ.Name;
Если ЗаписьОКВ.RBCLoading Тогда
НоваяСтрока.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.ЗагрузкаИзИнтернета;
Иначе
НоваяСтрока.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.РучнойВвод;
КонецЕсли;
НоваяСтрока.ПараметрыПрописи = ЗаписьОКВ.NumerationItemOptions;
НоваяСтрока.Записать();
Результат.Добавить(НоваяСтрока.Ссылка);
Иначе
Результат.Добавить(ВалютаСсылка);
КонецЕсли
КонецЦикла;
Возврат Результат;
КонецФункции
// Загружает курсы валют на текущую дату.
//
// Параметры:
// ПараметрыЗагрузки - Структура:
// * НачалоПериода - Дата - начало периода загрузки;
// * КонецПериода - Дата - конец периода загрузки;
// * СписокВалют - ТаблицаЗначений:
// ** Валюта - СправочникСсылка.Валюты
// ** КодВалюты - Строка
// АдресРезультата - Строка - адрес во временном хранилище для помещения результатов загрузки.
//
Процедура ЗагрузитьАктуальныйКурс(ПараметрыЗагрузки = Неопределено, АдресРезультата = Неопределено) Экспорт
ИмяСобытия = ИмяСобытияЖурналаРегистрации();
ЗаписьЖурналаРегистрации(ИмяСобытия, УровеньЖурналаРегистрации.Информация, , ,
НСтр("ru = 'Начата регламентная загрузка курсов валют'"));
ТекущаяДата = НачалоДня(ТекущаяДатаСеанса());
ПриЗагрузкеВозниклиОшибки = Ложь;
ВалютыЗагружаемыеИзИнтернета = Справочники.Валюты.ВалютыЗагружаемыеИзИнтернета();
Если ПараметрыЗагрузки = Неопределено Тогда
РегламентныеЗаданияСервер.УстановитьСлужебногоПользователяРегламентногоЗадания(
Метаданные.РегламентныеЗадания.ЗагрузкаКурсовВалют);
УстановитьПривилегированныйРежим(Истина);
ТекстЗапроса =
"ВЫБРАТЬ
| КурсыВалют.Валюта КАК Валюта,
| КурсыВалют.Валюта.Код КАК КодВалюты,
| МАКСИМУМ(КурсыВалют.Период) КАК ДатаКурса
|ИЗ
| РегистрСведений.КурсыВалют КАК КурсыВалют
|ГДЕ
| КурсыВалют.Валюта.СпособУстановкиКурса = ЗНАЧЕНИЕ(Перечисление.СпособыУстановкиКурсаВалюты.ЗагрузкаИзИнтернета)
| И НЕ КурсыВалют.Валюта.ПометкаУдаления
|
|СГРУППИРОВАТЬ ПО
| КурсыВалют.Валюта,
| КурсыВалют.Валюта.Код";
Запрос = Новый Запрос(ТекстЗапроса);
Выборка = Запрос.Выполнить().Выбрать();
КонецПериода = ТекущаяДата;
Пока Выборка.Следующий() Цикл
НачалоПериода = ?(Выборка.ДатаКурса = '198001010000', НачалоГода(ДобавитьМесяц(ТекущаяДата, -12)), Выборка.ДатаКурса + 60*60*24);
СписокВалют = ОбщегоНазначенияКлиентСервер.ЗначениеВМассиве(Выборка);
Если НачалоПериода <= КонецПериода Тогда
ЗагрузитьКурсыВалютПоПараметрам(СписокВалют, НачалоПериода, КонецПериода, ВалютыЗагружаемыеИзИнтернета, ПриЗагрузкеВозниклиОшибки);
КонецЕсли;
КонецЦикла;
Иначе
Результат = ЗагрузитьКурсыВалютПоПараметрам(ПараметрыЗагрузки.СписокВалют,
ПараметрыЗагрузки.НачалоПериода, ПараметрыЗагрузки.КонецПериода, ВалютыЗагружаемыеИзИнтернета, ПриЗагрузкеВозниклиОшибки);
КонецЕсли;
Если АдресРезультата <> Неопределено Тогда
ПоместитьВоВременноеХранилище(Результат, АдресРезультата);
КонецЕсли;
Если ПриЗагрузкеВозниклиОшибки Тогда
ЗаписьЖурналаРегистрации(ИмяСобытия, УровеньЖурналаРегистрации.Ошибка,,,
НСтр("ru = 'Во время регламентной загрузки курсов валют возникли ошибки'"));
Если ПараметрыЗагрузки = Неопределено Тогда
ВызватьИсключение НСтр("ru = 'Загрузка курсов не выполнена.'");
КонецЕсли;
Иначе
ЗаписьЖурналаРегистрации(ИмяСобытия, УровеньЖурналаРегистрации.Информация,,,
НСтр("ru = 'Завершена регламентная загрузка курсов валют.'"));
КонецЕсли;
КонецПроцедуры
// Возвращает список разрешений для загрузки классификатора банков с сайта 1С.
//
// Параметры:
// Разрешения - Массив - коллекция разрешений.
//
Процедура ДобавитьРазрешения(Разрешения) Экспорт
УстановитьПривилегированныйРежим(Истина);
ИспользоватьАльтернативныйСервер = Константы.ИспользоватьАльтернативныйСерверДляЗагрузкиКурсовВалют.Получить();
УстановитьПривилегированныйРежим(Ложь);
МодульРаботаВБезопасномРежиме = ОбщегоНазначения.ОбщийМодуль("РаботаВБезопасномРежиме");
Если ИспользоватьАльтернативныйСервер Тогда
Протокол = "HTTP";
Адрес = "cbrates.rbc.ru";
Порт = Неопределено;
Описание = НСтр("ru = 'Загрузка курсов валют с сайта РБК.'");
Разрешения.Добавить(
МодульРаботаВБезопасномРежиме.РазрешениеНаИспользованиеИнтернетРесурса(Протокол, Адрес, Порт, Описание));
Иначе
Протокол = "HTTPS";
Адрес = "currencyrates.1c.ru";
Порт = Неопределено;
Описание = НСтр("ru = 'Загрузка курсов валют с сайта 1С.'");
Разрешения.Добавить(
МодульРаботаВБезопасномРежиме.РазрешениеНаИспользованиеИнтернетРесурса(Протокол, Адрес, Порт, Описание));
КонецЕсли;
КонецПроцедуры
// См. ОбновлениеИнформационнойБазыБСП.ПриДобавленииОбработчиковОбновления.
Процедура ПриДобавленииОбработчиковОбновления(Обработчики) Экспорт
Обработчик = Обработчики.Добавить();
Обработчик.Версия = "2.4.1.1";
Обработчик.Процедура = "Обработки.ЗагрузкаКурсовВалют.ОтключитьЗагрузкуКурсаВалюты643ИзИнтернета";
Обработчик.РежимВыполнения = "Отложенно";
Обработчик.Идентификатор = Новый УникальныйИдентификатор("dc79c561-8657-4852-bbc5-38ced6996fff");
Обработчик.Комментарий = НСтр("ru = 'Отключает ошибочно включенную загрузку курсов валюты ""Российский рубль (643)"" из интернета.'");
Обработчик.ПроцедураЗаполненияДанныхОбновления = "Обработки.ЗагрузкаКурсовВалют.ЗарегистрироватьДанныеКОбработкеДляПереходаНаНовуюВерсию";
Обработчик.ЧитаемыеОбъекты = "Справочник.Валюты";
Обработчик.ИзменяемыеОбъекты = "Справочник.Валюты";
Если Не ОбщегоНазначения.РазделениеВключено() Тогда
Обработчик = Обработчики.Добавить();
Обработчик.Версия = "2.4.1.1";
Обработчик.Процедура = "Обработки.ЗагрузкаКурсовВалют.УстановитьРасписаниеРегламентногоЗадания";
Обработчик.РежимВыполнения = "Оперативно";
Обработчик.НачальноеЗаполнение = Истина;
КонецЕсли;
КонецПроцедуры
// Регистрирует на плане обмена ОбновлениеИнформационнойБазы объекты,
// которые необходимо обновить на новую версию.
//
// Параметры:
// Параметры - Структура - служебный параметр для передачи в процедуру ОбновлениеИнформационнойБазы.ОтметитьКОбработке.
//
Процедура ЗарегистрироватьДанныеКОбработкеДляПереходаНаНовуюВерсию(Параметры) Экспорт
ТекстЗапроса =
"ВЫБРАТЬ
| Валюты.Ссылка
|ИЗ
| Справочник.Валюты КАК Валюты
|ГДЕ
| Валюты.Код = ""643""
| И Валюты.СпособУстановкиКурса = ЗНАЧЕНИЕ(Перечисление.СпособыУстановкиКурсаВалюты.ЗагрузкаИзИнтернета)";
Запрос = Новый Запрос(ТекстЗапроса);
Результат = Запрос.Выполнить().Выгрузить();
МассивСсылок = Результат.ВыгрузитьКолонку("Ссылка");
ОбновлениеИнформационнойБазы.ОтметитьКОбработке(Параметры, МассивСсылок);
КонецПроцедуры
// См. РегламентныеЗаданияПереопределяемый.ПриОпределенииНастроекРегламентныхЗаданий
Процедура ПриОпределенииНастроекРегламентныхЗаданий(Настройки) Экспорт
Зависимость = Настройки.Добавить();
Зависимость.РегламентноеЗадание = Метаданные.РегламентныеЗадания.ЗагрузкаКурсовВалют;
Зависимость.ОбращаетсяКВнешнимРесурсам = Истина;
Зависимость.ДоступноВМоделиСервиса = Ложь;
Зависимость.ДоступноВАвтономномРабочемМесте = Ложь;
КонецПроцедуры
// Процедура для загрузки курсов валют по определенному периоду.
//
// Параметры:
// Валюты - Массив из Структура:
// * КодВалюты - Число - числовой код валюты.
// * Валюта - СправочникСсылка.Валюты
// НачалоПериодаЗагрузки - Дата - начало периода загрузки курсов.
// ОкончаниеПериодаЗагрузки - Дата - окончание периода загрузки курсов.
// ВалютыЗагружаемыеИзИнтернета - см. ВалютыЗагружаемыеИзИнтернета
//
// Возвращаемое значение:
// Массив из Структура:
// Валюта - СправочникСсылка.Валюты - загружаемая валюта.
// СтатусОперации - Булево - завершилась ли загрузка успешно.
// Сообщение - Строка - текст сообщения об ошибке или поясняющее сообщение.
//
Функция ЗагрузитьКурсыВалютПоПараметрам(Знач Валюты, Знач НачалоПериодаЗагрузки, Знач ОкончаниеПериодаЗагрузки,
Знач ВалютыЗагружаемыеИзИнтернета, ПриЗагрузкеВозниклиОшибки = Ложь)
СостояниеЗагрузки = Новый Массив;
ПараметрыПолучения = Неопределено;
ИмяФайлаДневногоКурса = Формат(ОкончаниеПериодаЗагрузки, "ДФ=/yyyy/MM/dd");
УстановитьПривилегированныйРежим(Истина);
ИспользоватьАльтернативныйСервер = Константы.ИспользоватьАльтернативныйСерверДляЗагрузкиКурсовВалют.Получить();
УстановитьПривилегированныйРежим(Ложь);
Если ИспользоватьАльтернативныйСервер Тогда
СерверИсточник = "http://cbrates.rbc.ru";
Если НачалоПериодаЗагрузки = ОкончаниеПериодаЗагрузки Тогда
ШаблонИмениФайла = СерверИсточник + "/tsv/%1" + ИмяФайлаДневногоКурса + ".tsv";
Иначе
ШаблонИмениФайла = СерверИсточник + "/tsv/cb/%1.tsv";
КонецЕсли;
Иначе
СерверИсточник = "https://currencyrates.1c.ru/exchangerate/v1";
Если НачалоПериодаЗагрузки = ОкончаниеПериодаЗагрузки Тогда
ШаблонИмениФайла = СерверИсточник + "/%1" + ИмяФайлаДневногоКурса + ".tsv";
Иначе
ШаблонИмениФайла = СерверИсточник + "/%1.tsv";
КонецЕсли;
УстановитьПривилегированныйРежим(Истина);
ПараметрыПолучения = ПараметрыАутентификацииНаСайте();
УстановитьПривилегированныйРежим(Ложь);
КонецЕсли;
Для Каждого Валюта Из Валюты Цикл
Если ВалютыЗагружаемыеИзИнтернета.Найти(Валюта.Валюта) = Неопределено Тогда
ПриЗагрузкеВозниклиОшибки = Истина;
СтатусОперации = Ложь;
ПоясняющееСообщение = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Невозможно получить файл данных с курсами валюты %2 (код %1):
|Курсы данной валюты не предоставляются.'"),
Валюта.КодВалюты,
Валюта.Валюта);
ЗаписьЖурналаРегистрации(ИмяСобытияЖурналаРегистрации(), УровеньЖурналаРегистрации.Ошибка, , , ПоясняющееСообщение);
Иначе
ФайлНаВебСервере = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(ШаблонИмениФайла, Валюта.КодВалюты);
Результат = ПолучениеФайловИзИнтернета.СкачатьФайлНаСервере(ФайлНаВебСервере, ПараметрыПолучения);
Если Результат.Статус Тогда
ПоясняющееСообщение = ЗагрузитьКурсВалютыИзФайла(Валюта.Валюта, Результат.Путь, НачалоПериодаЗагрузки, ОкончаниеПериодаЗагрузки) + Символы.ПС;
УдалитьФайлы(Результат.Путь);
СтатусОперации = ПустаяСтрока(ПоясняющееСообщение);
Иначе
Если НачалоПериодаЗагрузки = ОкончаниеПериодаЗагрузки И НачалоПериодаЗагрузки > ТекущаяДатаСеанса() Тогда
ПоясняющееСообщение = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Не удалось загрузить курс валюты %2 (код %1) на %3.
|Курсы валют на будущие даты не предоставляются.
|Доступны курсы на текущую дату и история курсов.'"),
Валюта.КодВалюты,
Валюта.Валюта,
Формат(НачалоПериодаЗагрузки, "ДЛФ=D;"));
Иначе
ПоясняющееСообщение = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Невозможно получить файл данных с курсами валюты %2 (код %1):
|%3
|Возможно, нет доступа к веб-сайту с курсами валют, либо указана несуществующая валюта.'"),
Валюта.КодВалюты,
Валюта.Валюта,
Результат.СообщениеОбОшибке);
КонецЕсли;
СтатусОперации = Ложь;
ПриЗагрузкеВозниклиОшибки = Истина;
КонецЕсли;
КонецЕсли;
СостояниеЗагрузки.Добавить(Новый Структура("Валюта,СтатусОперации,Сообщение", Валюта.Валюта, СтатусОперации, ПоясняющееСообщение));
КонецЦикла;
Возврат СостояниеЗагрузки;
КонецФункции
// Загружает информацию о курсе валюты Валюта из файла ПутьКФайлу в регистр
// сведений курсов валют. При этом файл с курсами разбирается, и записываются
// только те данные, которые удовлетворяют периоду (НачалоПериодаЗагрузки, ОкончаниеПериодаЗагрузки).
//
Функция ЗагрузитьКурсВалютыИзФайла(Знач Валюта, Знач ПутьКФайлу, Знач НачалоПериодаЗагрузки, Знач ОкончаниеПериодаЗагрузки)
ЧислоЗагружаемыхДнейВсего = 1 + (ОкончаниеПериодаЗагрузки - НачалоПериодаЗагрузки) / ( 24 * 60 * 60);
ЧислоЗагруженныхДней = 0;
Если ЭтоАдресВременногоХранилища(ПутьКФайлу) Тогда
ИмяФайла = ПолучитьИмяВременногоФайла();
ДвоичныеДанные = ПолучитьИзВременногоХранилища(ПутьКФайлу); // ДвоичныеДанные
ДвоичныеДанные.Записать(ИмяФайла);
Иначе
ИмяФайла = ПутьКФайлу;
КонецЕсли;
ЗагружаемыеДаты = Новый Соответствие;
ДатаЗапрета = Неопределено;
ЧтениеТекста = Новый ЧтениеТекста(ИмяФайла, КодировкаТекста.ANSI);
Текст = ЧтениеТекста.Прочитать();
ЧтениеТекста.Закрыть();
СтрокиТекста = СтрРазделить(Текст, Символы.ПС + Символы.ВК, Ложь);
Для Индекс = -СтрокиТекста.ВГраница() По 0 Цикл
Стр = СтрокиТекста[-Индекс];
Если (Стр = "") ИЛИ (СтрНайти(Стр, Символы.Таб) = 0) Тогда
Продолжить;
КонецЕсли;
ЧастиСтроки = СтрРазделить(Стр, Символы.Таб, Истина);
Если НачалоПериодаЗагрузки = ОкончаниеПериодаЗагрузки Тогда
ДатаКурса = ОкончаниеПериодаЗагрузки;
Кратность = Число(ЧастиСтроки[0]);
Курс = КурсИзСтроки(ЧастиСтроки[1]);
Иначе
ДатаКурсаСтр = ЧастиСтроки[0];
ДатаКурса = Дата(Лев(ДатаКурсаСтр,4), Сред(ДатаКурсаСтр,5,2), Сред(ДатаКурсаСтр,7,2));
Кратность = Число(ЧастиСтроки[1]);
Курс = КурсИзСтроки(ЧастиСтроки[2]);
КонецЕсли;
Если ДатаКурса > ОкончаниеПериодаЗагрузки Тогда
Продолжить;
КонецЕсли;
Если ДатаКурса < НачалоПериодаЗагрузки Тогда
Прервать;
КонецЕсли;
ЗагружаемыеДаты.Вставить(ДатаКурса, Истина);
НаборЗаписей = РегистрыСведений.КурсыВалют.СоздатьНаборЗаписей();
НаборЗаписей.Отбор.Валюта.Установить(Валюта);
НаборЗаписей.Отбор.Период.Установить(ДатаКурса);
Запись = НаборЗаписей.Добавить();
Запись.Валюта = Валюта;
Запись.Период = ДатаКурса;
Запись.Курс = Курс;
Запись.Кратность = Кратность;
Записывать = Истина;
Если ОбщегоНазначения.ПодсистемаСуществует("СтандартныеПодсистемы.ДатыЗапретаИзменения") Тогда
МодульДатыЗапретаИзменения = ОбщегоНазначения.ОбщийМодуль("ДатыЗапретаИзменения");
Записывать = Не МодульДатыЗапретаИзменения.ИзменениеЗапрещено(НаборЗаписей);
Если Не Записывать Тогда
Если ДатаЗапрета = Неопределено Тогда
ДатаЗапрета = ДатаКурса;
Иначе
ДатаЗапрета = Макс(ДатаЗапрета, ДатаКурса);
КонецЕсли;
КонецЕсли;
КонецЕсли;
Если Записывать Тогда
НаборЗаписей.Записать();
КонецЕсли;
ЧислоЗагруженныхДней = ЧислоЗагруженныхДней + 1;
Если НаборЗаписей.ДополнительныеСвойства.Свойство("ВалютыСНекорректнойФормулой") Тогда
ВалютыСНекорректнойФормулой = НаборЗаписей.ДополнительныеСвойства.ВалютыСНекорректнойФормулой;
Для Каждого Элемент Из ВалютыСНекорректнойФормулой Цикл
ВалютаСНекорректнойФормулой = Элемент.Ключ;
ОтключитьАвтоматическийРасчетКурсаВалютыПоФормуле(ВалютаСНекорректнойФормулой);
КонецЦикла;
КонецЕсли;
КонецЦикла;
Если ЭтоАдресВременногоХранилища(ПутьКФайлу) Тогда
УдалитьФайлы(ИмяФайла);
УдалитьИзВременногоХранилища(ПутьКФайлу);
КонецЕсли;
ПояснениеОЗагрузке = "";
Если ЧислоЗагружаемыхДнейВсего <> ЧислоЗагруженныхДней Тогда
Если ЧислоЗагруженныхДней = 0 Тогда
ПояснениеОЗагрузке = НСтр("ru = 'Курсы валюты %1 (%2) не загружены.
|Нет сведений о курсе за указанный период.'");
Иначе
ПропущенныеДаты = Новый Массив;
КоличествоСекундВСутках = 24 * 60 * 60;
Для Индекс = 0 По ЧислоЗагружаемыхДнейВсего - 1 Цикл
Дата = ОкончаниеПериодаЗагрузки - Индекс * КоличествоСекундВСутках;
Если ЗагружаемыеДаты[Дата] <> Истина Тогда
ПропущенныеДаты.Добавить(Формат(Дата, "ДЛФ=D;"));
КонецЕсли;
КонецЦикла;
ПояснениеОЗагрузке = НСтр("ru = 'Загружены не все курсы по валюте %1 (%2).'") + Символы.ПС
+ ПояснениеПоПропущеннымДатам(ПропущенныеДаты);
КонецЕсли;
КонецЕсли;
РеквизитыВалюты = ОбщегоНазначения.ЗначенияРеквизитовОбъекта(Валюта, "Наименование,Код");
Если Не ПустаяСтрока(ПояснениеОЗагрузке) Тогда
ПояснениеОЗагрузке = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(ПояснениеОЗагрузке, РеквизитыВалюты.Наименование, РеквизитыВалюты.Код);
КонецЕсли;
Если ДатаЗапрета <> Неопределено Тогда
ПояснениеОЗагрузке = ПояснениеОЗагрузке + Символы.ПС + СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(НСтр("ru = 'Загрузка курсов валюты %1(%2) ограничена датой запрета изменений %3.
|Курсы запрещенного периода были пропущены при загрузке.'"), РеквизитыВалюты.Наименование, РеквизитыВалюты.Код, Формат(ДатаЗапрета, "ДЛФ=D"));
КонецЕсли;
ПояснениеОЗагрузке = СокрЛП(ПояснениеОЗагрузке);
СообщенияПользователю = ПолучитьСообщенияПользователю(Истина);
СписокОшибок = Новый Массив;
Для Каждого СообщениеПользователю Из СообщенияПользователю Цикл
СписокОшибок.Добавить(СообщениеПользователю.Текст);
КонецЦикла;
СписокОшибок = ОбщегоНазначенияКлиентСервер.СвернутьМассив(СписокОшибок);
ПояснениеОЗагрузке = ПояснениеОЗагрузке + ?(ПустаяСтрока(ПояснениеОЗагрузке), "", Символы.ПС) + СтрСоединить(СписокОшибок, Символы.ПС);
Возврат ПояснениеОЗагрузке;
КонецФункции
Функция ПояснениеПоПропущеннымДатам(ПропущенныеДаты);
Результат = "";
Если ПропущенныеДаты.Количество() = 1 Тогда
Результат = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Отсутствует курс на %1.'"), СтрСоединить(ПропущенныеДаты));
ИначеЕсли ПропущенныеДаты.Количество() <=5 Тогда
Результат = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Отсутствуют курсы на %1.'"), СтрСоединить(ПропущенныеДаты, ", "));
Иначе
Результат = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Отсутствуют курсы на %1, %2, %3 и другие даты (всего %4).'"),
ПропущенныеДаты[0],
ПропущенныеДаты[1],
ПропущенныеДаты[2],
ПропущенныеДаты.Количество());
КонецЕсли;
Возврат Результат;
КонецФункции
// Предназначена для преобразования формата чисел, используемого в файле курсов валюты.
// Работает в любой локализации, не поддерживает отрицательные числа.
//
Функция КурсИзСтроки(Знач Строка)
Строка = СокрЛП(Строка);
ЧастиСтроки = СтрРазделить(Строка, ".", Истина);
Если Строка = "" Или ЧастиСтроки.Количество() > 2 Тогда
ВызватьИсключение НСтр("ru = 'Преобразование значения к типу Число не может быть выполнено.'");
КонецЕсли;
ДлинаДробнойЧасти = 0;
Если ЧастиСтроки.Количество() > 1 Тогда
ДлинаДробнойЧасти = СтрДлина(ЧастиСтроки[1]);
КонецЕсли;
Строка = СтрСоединить(ЧастиСтроки, "");
Результат = 0;
Если Строка <> "" Тогда
Результат = Число(Строка) / Pow(10, ДлинаДробнойЧасти);
КонецЕсли;
Возврат Результат;
КонецФункции
// Отключает у валюты 643 загрузку из интернета.
Процедура ОтключитьЗагрузкуКурсаВалюты643ИзИнтернета(Параметры) Экспорт
Выборка = ОбновлениеИнформационнойБазы.ВыбратьСсылкиДляОбработки(Параметры.Очередь, "Справочник.Валюты");
Пока Выборка.Следующий() Цикл
Блокировка = Новый БлокировкаДанных;
ЭлементБлокировки = Блокировка.Добавить("Справочник.Валюты");
ЭлементБлокировки.УстановитьЗначение("Ссылка", Выборка.Ссылка);
НачатьТранзакцию();
Попытка
Блокировка.Заблокировать();
Валюта = Выборка.Ссылка.ПолучитьОбъект();
Валюта.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.РучнойВвод;
ОбновлениеИнформационнойБазы.ЗаписатьДанные(Валюта);
ЗафиксироватьТранзакцию();
Исключение
ОтменитьТранзакцию();
ВызватьИсключение;
КонецПопытки;
КонецЦикла;
Параметры.ОбработкаЗавершена = ОбновлениеИнформационнойБазы.ОбработкаДанныхЗавершена(Параметры.Очередь, "Справочник.Валюты");
КонецПроцедуры
Процедура УстановитьРасписаниеРегламентногоЗадания() Экспорт
ГенераторСлучайныхЧисел = Новый ГенераторСлучайныхЧисел(ТекущаяУниверсальнаяДатаВМиллисекундах());
Задержка = ГенераторСлучайныхЧисел.СлучайноеЧисло(0, 21600); // С 0 до 6 часов утра.
Расписание = Новый РасписаниеРегламентногоЗадания;
Расписание.ПериодПовтораДней = 1;
Расписание.ПериодНедель = 1;
Расписание.ВремяНачала = '00010101000000' + Задержка;
ПараметрыЗадания = Новый Структура;
ПараметрыЗадания.Вставить("Расписание", Расписание);
ПараметрыЗадания.Вставить("ИнтервалПовтораПриАварийномЗавершении", 600);
ПараметрыЗадания.Вставить("КоличествоПовторовПриАварийномЗавершении", 10);
УстановитьПараметрыРегламентногоЗадания(ПараметрыЗадания);
КонецПроцедуры
Процедура УстановитьПараметрыРегламентногоЗадания(ИзменяемыеПараметры)
РегламентныеЗаданияСервер.УстановитьПараметрыРегламентногоЗадания(
Метаданные.РегламентныеЗадания.ЗагрузкаКурсовВалют, ИзменяемыеПараметры);
КонецПроцедуры
Функция ПараметрыАутентификацииНаСайте()
Результат = Новый Структура;
Если ОбщегоНазначения.ПодсистемаСуществует("ИнтернетПоддержкаПользователей") Тогда
МодульИнтернетПоддержкаПользователей = ОбщегоНазначения.ОбщийМодуль("ИнтернетПоддержкаПользователей");
ДанныеАутентификации = МодульИнтернетПоддержкаПользователей.ДанныеАутентификацииПользователяИнтернетПоддержки();
Если ДанныеАутентификации <> Неопределено Тогда
Результат.Вставить("Пользователь", ДанныеАутентификации.Логин);
Результат.Вставить("Пароль", ДанныеАутентификации.Пароль);
КонецЕсли;
КонецЕсли;
Возврат Результат;
КонецФункции
Функция КодыВалютЗагружаемыхИзИнтернета() Экспорт
КлассификаторТаблица = КлассификаторВалют();
НайденныеСтроки = КлассификаторТаблица.НайтиСтроки(Новый Структура("RBCLoading", "истина"));
ЗагружаемыеПоКлассификатору = КлассификаторТаблица.Скопировать(НайденныеСтроки, "Code").ВыгрузитьКолонку("Code");
Возврат ЗагружаемыеПоКлассификатору;
КонецФункции
Функция ИмяСобытияЖурналаРегистрации()
Возврат НСтр("ru = 'Валюты.Загрузка курсов валют'", ОбщегоНазначения.КодОсновногоЯзыка());
КонецФункции
// См. ИнтеграцияПодсистемБСП.ПриИзмененииДанныхАутентификацииИнтернетПоддержки.
Процедура ПриИзмененииДанныхАутентификацииИнтернетПоддержки(ДанныеПользователя) Экспорт
УстановитьПараметрыРегламентногоЗадания(Новый Структура("Использование", ДанныеПользователя <> Неопределено));
КонецПроцедуры
Функция ИдентификаторКлассификатора()
Возврат "Currencies";
КонецФункции
Функция КлассификаторВалют() Экспорт
КлассификаторXML = Неопределено;
Если ОбщегоНазначения.ПодсистемаСуществует("ИнтернетПоддержкаПользователей.РаботаСКлассификаторами") Тогда
ИдентификаторКлассификатора = ИдентификаторКлассификатора();
МодульРаботаСКлассификаторами = ОбщегоНазначения.ОбщийМодуль("РаботаСКлассификаторами");
Идентификаторы = ОбщегоНазначенияКлиентСервер.ЗначениеВМассиве(ИдентификаторКлассификатора);
Результат = МодульРаботаСКлассификаторами.ПолучитьФайлыКлассификаторов(Идентификаторы);
Если ПустаяСтрока(Результат.КодОшибки) И Результат.ДанныеКлассификаторов <> Неопределено Тогда
ОписаниеКлассификатора = Результат.ДанныеКлассификаторов.Найти(ИдентификаторКлассификатора, "Идентификатор");
Если ОписаниеКлассификатора <> Неопределено Тогда
ДвоичныеДанные = ПолучитьИзВременногоХранилища(ОписаниеКлассификатора.АдресФайла);
ПотокВПамяти = Новый ПотокВПамяти;
ЗаписьДанных = Новый ЗаписьДанных(ПотокВПамяти);
ЗаписьДанных.Записать(ДвоичныеДанные);
ЗаписьДанных.Закрыть();
ПотокВПамяти.Перейти(0, ПозицияВПотоке.Начало);
ЧтениеТекста = Новый ЧтениеТекста(ПотокВПамяти);
КлассификаторXML = ЧтениеТекста.Прочитать();
КонецЕсли;
КонецЕсли;
КонецЕсли;
Если КлассификаторXML = Неопределено Тогда
УстановитьПривилегированныйРежим(Истина);
КлассификаторXML = ПолучитьМакет("ОбщероссийскийКлассификаторВалют").ПолучитьТекст();
УстановитьПривилегированныйРежим(Ложь);
КонецЕсли;
Результат = ОбщегоНазначения.ПрочитатьXMLВТаблицу(КлассификаторXML).Данные;
Результат.Индексы.Добавить("Code");
Результат.Индексы.Добавить("RBCLoading");
Возврат Результат;
КонецФункции
// Параметры:
// Валюта - СправочникСсылка.Валюты
//
Процедура ОтключитьАвтоматическийРасчетКурсаВалютыПоФормуле(Валюта)
Блокировка = Новый БлокировкаДанных;
ЭлементБлокировки = Блокировка.Добавить("Справочник.Валюты");
ЭлементБлокировки.УстановитьЗначение("Ссылка", Валюта);
НачатьТранзакцию();
Попытка
Блокировка.Заблокировать();
Объект = Валюта.ПолучитьОбъект();
ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Вычисление курса валюты по формуле отключено из-за некорректной формулы:
|%1'"),
Объект.ФормулаРасчетаКурса);
Объект.СпособУстановкиКурса = Перечисления.СпособыУстановкиКурсаВалюты.РучнойВвод;
Объект.Записать();
ЗаписьЖурналаРегистрации(НСтр("ru = 'Валюты.Загрузка курсов валют'", ОбщегоНазначения.КодОсновногоЯзыка()),
УровеньЖурналаРегистрации.Предупреждение, Валюта.Метаданные(), Валюта, ТекстСообщения);
ЗафиксироватьТранзакцию();
Исключение
ОтменитьТранзакцию();
ТекстСообщения = СтроковыеФункцииКлиентСервер.ПодставитьПараметрыВСтроку(
НСтр("ru = 'Не удалось отключить вычисление курса валюты по некорректной формуле по причине:
|%1'"),
ОбработкаОшибок.ПодробноеПредставлениеОшибки(ИнформацияОбОшибке()));
ЗаписьЖурналаРегистрации(НСтр("ru = 'Валюты.Загрузка курсов валют'", ОбщегоНазначения.КодОсновногоЯзыка()),
УровеньЖурналаРегистрации.Ошибка, Метаданные.Справочники.Валюты, Валюта, ТекстСообщения);
КонецПопытки;
КонецПроцедуры
#КонецОбласти
#КонецЕсли | 27,505 | ManagerModule | bsl | ru | 1c enterprise | code | {"qsc_code_num_words": 2083, "qsc_code_num_chars": 27505.0, "qsc_code_mean_word_length": 10.43398944, "qsc_code_frac_words_unique": 0.27700432, "qsc_code_frac_chars_top_2grams": 0.0063495, "qsc_code_frac_chars_top_3grams": 0.02401767, "qsc_code_frac_chars_top_4grams": 0.02484586, "qsc_code_frac_chars_dupe_5grams": 0.1381246, "qsc_code_frac_chars_dupe_6grams": 0.12528757, "qsc_code_frac_chars_dupe_7grams": 0.09515046, "qsc_code_frac_chars_dupe_8grams": 0.08502807, "qsc_code_frac_chars_dupe_9grams": 0.0554891, "qsc_code_frac_chars_dupe_10grams": 0.04739118, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00735841, "qsc_code_frac_chars_whitespace": 0.12052354, "qsc_code_size_file_byte": 27505.0, "qsc_code_num_lines": 730.0, "qsc_code_num_chars_line_max": 194.0, "qsc_code_num_chars_line_mean": 37.67808219, "qsc_code_frac_chars_alphabet": 0.89107069, "qsc_code_frac_chars_comments": 0.99618251, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.0, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 1, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Templates/ОбщероссийскийКлассификаторВалют.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Template uuid="6f2354cd-4a34-4921-96bb-b786486f85cf">
<Properties>
<Name>ОбщероссийскийКлассификаторВалют</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Общероссийский классификатор валют</v8:content>
</v8:item>
</Synonym>
<Comment/>
<TemplateType>TextDocument</TemplateType>
</Properties>
</Template>
</MetaDataObject> | 1,282 | ОбщероссийскийКлассификаторВалют | xml | ru | xml | data | {"qsc_code_num_words": 225, "qsc_code_num_chars": 1282.0, "qsc_code_mean_word_length": 4.0, "qsc_code_frac_words_unique": 0.33777778, "qsc_code_frac_chars_top_2grams": 0.1, "qsc_code_frac_chars_top_3grams": 0.13333333, "qsc_code_frac_chars_top_4grams": 0.16666667, "qsc_code_frac_chars_dupe_5grams": 0.40777778, "qsc_code_frac_chars_dupe_6grams": 0.40777778, "qsc_code_frac_chars_dupe_7grams": 0.33888889, "qsc_code_frac_chars_dupe_8grams": 0.27111111, "qsc_code_frac_chars_dupe_9grams": 0.05333333, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.0879668, "qsc_code_frac_chars_whitespace": 0.0600624, "qsc_code_size_file_byte": 1282.0, "qsc_code_num_lines": 16.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 80.125, "qsc_code_frac_chars_alphabet": 0.65809129, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.52184087, "qsc_code_frac_chars_long_word_length": 0.02808112, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/ЗагрузкаКурсовВалют/Forms/Форма.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="6fcd2a3a-4d66-40e3-bde0-5c274b43783f">
<Properties>
<Name>Форма</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Форма</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,493 | Форма | xml | ru | xml | data | {"qsc_code_num_words": 247, "qsc_code_num_chars": 1493.0, "qsc_code_mean_word_length": 4.24291498, "qsc_code_frac_words_unique": 0.32793522, "qsc_code_frac_chars_top_2grams": 0.08587786, "qsc_code_frac_chars_top_3grams": 0.11450382, "qsc_code_frac_chars_top_4grams": 0.14312977, "qsc_code_frac_chars_dupe_5grams": 0.42270992, "qsc_code_frac_chars_dupe_6grams": 0.42270992, "qsc_code_frac_chars_dupe_7grams": 0.29103053, "qsc_code_frac_chars_dupe_8grams": 0.23282443, "qsc_code_frac_chars_dupe_9grams": 0.04580153, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07697842, "qsc_code_frac_chars_whitespace": 0.06898861, "qsc_code_size_file_byte": 1493.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 67.86363636, "qsc_code_frac_chars_alphabet": 0.67625899, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.48158071, "qsc_code_frac_chars_long_word_length": 0.05760214, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
2003abdulhadi/OttawaCareers | README.md | # OttawaCareers
A list of companies with a presence in the Ottawa region
Last updated 2025-06-23
- [AffinityClick](https://affinityclick.com/careers/)
- [AGF Group](https://groupeagf.com/en/careers/job-opportunities/)
- [Ainsworth](https://recruiting.ultipro.ca/GDI5000GDFS/JobBoard/3afe5771-0bd0-401e-b3e7-55f7d6aad783/)
- [Alphawave Semi](https://alphawave.wd10.myworkdayjobs.com/Alphawave_External)
- [Amazon](https://www.amazon.jobs/en/search)
- [AMD](https://careers.amd.com/careers-home/jobs)
- [Ansys](https://careers.ansys.com/)
- [Arcane Four](https://arcanefour.com/careers)
- [Architecture49](https://emit.fa.ca3.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1004/)
- [Artaflex](https://artaflex.com/careers/)
- [Augmentt](https://augmentt.applytojobs.ca/)
- [Axiel](https://careers.axiell.com/)
- [Baker Tilly](https://www.bakertilly.ca/careers/opportunities)
- [Bank of Canada](https://careers.bankofcanada.ca/go/All-Job-Opportunities/2400817/)
- [Barracuda Networks](https://www.barracuda.com/company/careers)
- [Bell](https://jobs.bell.ca/ca/en/search-results)
- [Benbria](https://benbria.com/careers/)
- [BGIS](https://fa-evcg-saasfaprod1.fa.ocs.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1)
- [Bird](https://careers.bird.ca/ca/en/search-results)
- [Blackberry/QNX](https://bb.wd3.myworkdayjobs.com/BlackBerry/jobs)
- [BluWave AI](https://bluwaveai.applytojob.com/apply)
- [BMT](https://www.bmt.org/careers/vacancies/)
- [Boston Scientific](https://bostonscientific.eightfold.ai/careers)
- [BPA](https://can251.dayforcehcm.com/CandidatePortal/en-CA/bpapointca)
- [BrokerLink](https://recruiting.ultipro.ca/CAN5002/JobBoard/e0b03396-b670-e3fa-c08c-ac121df108d7/)
- [BTA Design Services](https://www.btadesignservices.com/careers/)
- [BWXT](https://careers.bwxt.com/search/?createNewAlert=false&q=&locationsearch=)
- [Calian](https://careers.calian.com/careers/)
- [Canada Post](https://jobs.canadapost.ca/go/Canada-Post-All-Current-Opportunities/2319117/)
- [Canonical](https://canonical.com/careers)
- [CGI](https://cgi.njoyn.com/)
- [CEPEO](https://cepeo.on.ca/offres-demploi/offres-demploi-du-cepeo/)
- [Cerio](https://www.cerio.io/careers/#jobposts)
- [Check Point](https://careers.checkpoint.com/index.php?module=cpcareers&a=search&q=)
- [Ciena](https://ciena.wd5.myworkdayjobs.com/Careers)
- [CIMA](https://www.cima.ca/en/careers/#jobs)
- [CIRA](https://www.cira.ca/en/careers/#jobs)
- [Cisco](https://jobs.cisco.com/jobs/SearchJobs)
- [City of Ottawa](https://jobs-emplois.ottawa.ca/city-jobs)
- [Cliniconex](https://cliniconex.com/about/careers/)
- [Cohesity](https://careers.cohesity.com/open-positions/)
- [Crank AMETEK](https://www.cranksoftware.com/about/careers)
- [Curtiss-Wright](https://curtisswright.wd1.myworkdayjobs.com/CW_External_Career_Site)
- [Dafocom](https://dafocom.com/careers/)
- [Defence Construction Canada](https://www.dcc-cdc.gc.ca/careers)
- [Definity](https://careers.definityfinancial.com/search/jobs/)
- [Dell](https://jobs.dell.com/en/search-jobs)
- [Deloitte](https://careers.deloitte.ca/search/)
- [Deltek](https://sjobs.brassring.com/TGnewUI/Search/Home/Home?partnerid=25397&siteid=5259#home)
- [DragonWave-X](https://www.dragonwavex.com/company/careers/current-career-openings)
- [Dream](https://recruiting.ultipro.ca/DRE5000DOMC/JobBoard/641409c4-22a9-4262-b1c5-14ed9a4d73fb/)
- [EDC](https://edc.taleo.net/careersection/corporate_2020/moresearch.ftl)
- [Edge Signal](https://www.edgesignal.ai/careers)
- [Empress Effects](https://empresseffects.com/pages/job-openings)
- [Enablence](https://www.enablence.com/careers)
- [Enghouse](https://www.enghouse.com/careers/)
- [Entrust](https://entrust.wd1.myworkdayjobs.com/EntrustCareers)
- [Epiphan](https://www.epiphan.com/company/careers/#opportunities)
- [Ericcson](https://jobs.ericsson.com/careers)
- [Explorator Labs](https://exploratorlabs.com/career)
- [FCC](https://fccfac.wd3.myworkdayjobs.com/en-US/careers-carrieres)
- [Fidus](https://fidus.com/careers/)
- [Fishburn Sheridan & Associates](https://www.fsaeng.com/careers)
- [flex](https://flextronics.wd1.myworkdayjobs.com/Careers?source=Flex_Career_Site)
- [Fortinet](https://edel.fa.us2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_2001/jobs)
- [Fullscript](https://fullscript.com/careers#board)
- [GEMTEC](https://www.gemtec.ca/careers.html)
- [General Dynamics](https://www.gd.com/careers/job-search)
- [Genomadix](https://genomadix.com/careers-2/)
- [Gerdau](https://careers.gerdau.com/view-all-jobs)
- [Giatec](https://www.giatecscientific.com/careers)
- [Government of Canada](https://www.canada.ca/en.html)
- [Harris](https://harriscomputer.wd3.myworkdayjobs.com/en-US/1)
- [HDR](https://hdr.taleo.net/careersection/ex/jobsearch.ftl)
- [Hiboo Networks](https://www.hiboonetworks.com/careers)
- [High Tech Genesis](https://jobs.hightechgenesis.com/)
- [Honeywell](https://careers.honeywell.com/en/sites/Honeywell/jobs)
- [HP](https://apply.hp.com/careers/search)
- [Huawei](https://huaweicanada.recruitee.com/)
- [Interac](https://interac.wd3.myworkdayjobs.com/en-US/Interac)
- [IBM](https://www.ibm.com/careers/search)
- [Intact](https://careers.intactfc.com/ca/en/search-results)
- [IQVIA](https://jobs.iqvia.com/en/search-jobs)
- [Irdeto](https://careers.irdeto.com/search)
- [Iversoft](https://www.iversoft.ca/careers-at-iversoft/)
- [Jabil](https://careers.jabil.com/en/jobs/)
- [Juniper Networks](https://jobs.juniper.net/careers)
- [Kinaxis](https://careers-kinaxis.icims.com/jobs/search)
- [Klipfolio](https://www.klipfolio.com/about/careers)
- [Kongsberg](https://www.kongsberggeospatial.com/company/careers)
- [Kyndryl](https://www.kyndryl.com/us/en/careers)
- [L3Harris](https://careers.l3harris.com/en/search-jobs)
- [Lafarge](https://careers.holcimgroup.com/lafarge_canada/go/Jobs-at-Lafarge-Canada/8915402/)
- [Leonardo DRS](https://careers.leonardodrs.com/search)
- [Lightspeed](https://www.lightspeedhq.com/careers/openings/)
- [Loblaw](https://careers.loblaw.ca/jobs)
- [Lumentum](https://lumentum.wd5.myworkdayjobs.com/LITE)
- [Magmic](https://magmic.com/jobs/)
- [Magnet Forensics](https://www.magnetforensics.com/careers-at-magnet/)
- [March](https://www.marchnetworks.com/careers/#job-openings)
- [Martello](https://martellotech.com/careers/#open-positions)
- [Marvell](https://marvell.wd1.myworkdayjobs.com/MarvellCareers)
- [Microchip](https://wd5.myworkdaysite.com/en-US/recruiting/microchiphr/External)
- [Microsoft](https://jobs.careers.microsoft.com/global/en/search)
- [Minto](https://fa-erjt-saasfaprod1.fa.ocs.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_3001)
- [Mitel](https://mitel.wd3.myworkdayjobs.com/mitelcareers)
- [Modern Niagara](https://recruiting.ultipro.ca/MOD5000MONG/JobBoard/a0891200-a909-4c18-b8db-3bd0e1006828/)
- [Mosan](https://www.linkedin.com/company/mosan-canada/jobs/)
- [Myticas](https://myticas.com/it-jobs-careers)
- [N-able](https://careers.n-able.com/jobs)
- [nanometrics](https://workforcenow.adp.com/mascsr/default/mdf/recruitment/recruitment.html?cid=3d178141-59e5-45ba-a347-db3cfa0b5d08&ccId=19000101_000001&type=MP&lang=en_CA)
- [NAV CANADA](https://navcanada.wd10.myworkdayjobs.com/en-US/NAV_Careers)
- [Noda](https://noda-1720000970.teamtailor.com/)
- [Nokia](https://fa-evmr-saasfaprod1.fa.ocs.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1/jobs)
- [numbercrunch](https://www.numbercrunch.ca/careers/)
- [NXP](https://nxp.wd3.myworkdayjobs.com/careers)
- [OCSB](https://www.ocsb.ca/our-board/careers/)
- [opentext](https://careers.opentext.com/us/en/search-results)
- [ORBCOMM](https://workforcenow.adp.com/mascsr/default/mdf/recruitment/recruitment.html?cid=b9e6f585-387b-496e-8b63-bee5bed64c3e)
- [OSEG](https://workforcenow.adp.com/mascsr/default/mdf/recruitment/recruitment.html?cid=17d4599d-5f19-4243-8319-86de4335b90e)
- [Palo Alto Networks](https://jobs.paloaltonetworks.com/en/search-jobs)
- [PCL Construction](https://careers.pcl.com/search)
- [Phreesia](https://phreesia.wd1.myworkdayjobs.com/en-US/PhreesiaCanada/)
- [Pinchin](https://recruiting.ultipro.ca/PIN5100PINCH/JobBoard/9a8366c3-1176-4a5a-a975-6d3d69566f75/?q=&o=postedDateDesc&w=&wc=&we=&wpst=)
- [Pleora](https://www.pleora.com/about-us/working-at-pleora/#current-opportunities)
- [Privacy Analytics](https://privacy-analytics.com/about-us/working-here/)
- [Qlik](https://www.qlik.com/us/company/careers/job-listings?page=1&limit=9)
- [Quarry Consulting](https://quarryconsulting.ca/current-opportunities/)
- [Ranovus](https://ranovus.com/careers/)
- [RBR](https://rbr-global.com/about-rbr/careers/#1)
- [Reckitt](https://careers.reckitt.com/search/?createNewAlert=false&q=&locationsearch=&optionsFacetsDD_facility=&optionsFacetsDD_country=)
- [Renaissance](https://renrns.com/career-opportunities/)
- [Renesas](https://jobs.renesas.com/jobs)
- [Ribbon Communications](https://vhr-genband.wd1.myworkdayjobs.com/ribboncareers)
- [Ross Video](https://earlyaccess.dayforcehcm.com/CandidatePortal/en-US/rossvideo)
- [Sanmina](https://careers.sanmina.com/job-search)
- [Sectigo](https://careers.smartrecruiters.com/Sectigo)
- [SEMTECH](https://semtech.wd1.myworkdayjobs.com/SemtechCareers/)
- [shift4](https://www.shift4.com/careers)
- [Shopify](https://www.shopify.com/careers)
- [Siemens](https://jobs.sw.siemens.com/jobs/)
- [SIGNIANT](https://recruiting.paylocity.com/recruiting/jobs/All/2d4c79d4-b82f-466c-b78a-1ddfd627e707/SIGNIANT-INC)
- [SkySys](https://myskysys.com/opening/)
- [Skyworks](https://careers.skyworksinc.com/search)
- [Softchoice](https://careers.softchoice.com/search/)
- [Solace](https://solace.com/careers/)
- [Solink](https://solink.com/careers/#positions)
- [Sotera Health](https://eftx.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1007/)
- [SSi](https://www.ssicanada.com/join-the-team/)
- [Stantec](https://stantec.jobs/jobs/)
- [Starvoy](https://www.starvoy.com/about-us/careers)
- [SurveyMonkey](https://www.surveymonkey.com/careers)
- [Synopsys](https://careers.synopsys.com/search-jobs)
- [Syntronic](https://syntronic.com/career-americas/)
- [Tech Insights](https://www.techinsights.com/about-techinsights/overview/careers-techinsights#career-opportunities)
- [TekWissen](https://tekwissen.com/job-openings/)
- [Teldio](https://www.teldio.com/careers/#positions)
- [Telesat](https://www.telesat.com/careers/jobs/)
- [Thales](https://careers.thalesgroup.com/global/en/search-results)
- [thinkRF](https://thinkrf.com/career-opportunities/#current_opportunities)
- [Threekit](https://threekit.bamboohr.com/careers)
- [Trend Micro](https://trendmicro.wd3.myworkdayjobs.com/External)
- [truecontext](https://truecontext.com/about/careers/#hiring)
- [TSMC](https://ro.careers.tsmc.com/search/)
- [TÜV SÜD](https://www.tuvsud.com/en/careers/global-job-opportunities)
- [Warner Bros Discovery](https://careers.wbd.com/global/en/search-results)
- [Wesley Clover](https://careers.wesleyclover.com/jobs)
- [Wind River](https://jobs.jobvite.com/windriver/jobs)
- [WorkDynamics](https://www.workdynamics.com/careers/)
| 11,009 | README | md | en | markdown | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.05901219, "qsc_doc_num_sentences": 362.0, "qsc_doc_num_words": 1441, "qsc_doc_num_chars": 11009.0, "qsc_doc_num_lines": 175.0, "qsc_doc_mean_word_length": 5.75572519, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0, "qsc_doc_frac_lines_start_with_bullet": 0.0, "qsc_doc_frac_words_unique": 0.3462873, "qsc_doc_entropy_unigram": 4.92979961, "qsc_doc_frac_words_all_caps": 0.01956382, "qsc_doc_frac_lines_dupe_lines": 0.0, "qsc_doc_frac_chars_dupe_lines": 0.0, "qsc_doc_frac_chars_top_2grams": 0.04244032, "qsc_doc_frac_chars_top_3grams": 0.01603569, "qsc_doc_frac_chars_top_4grams": 0.02748975, "qsc_doc_frac_chars_dupe_5grams": 0.09368218, "qsc_doc_frac_chars_dupe_6grams": 0.07499397, "qsc_doc_frac_chars_dupe_7grams": 0.06462503, "qsc_doc_frac_chars_dupe_8grams": 0.04762479, "qsc_doc_frac_chars_dupe_9grams": 0.04762479, "qsc_doc_frac_chars_dupe_10grams": 0.04762479, "qsc_doc_frac_chars_replacement_symbols": 0.0, "qsc_doc_cate_code_related_file_name": 1.0, "qsc_doc_num_chars_sentence_length_mean": 19.5027933, "qsc_doc_frac_chars_hyperlink_html_tag": 0.78063403, "qsc_doc_frac_chars_alphabet": 0.75080174, "qsc_doc_frac_chars_digital": 0.03150349, "qsc_doc_frac_chars_whitespace": 0.03696975, "qsc_doc_frac_chars_hex_words": 0.0} | 0 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_8grams": 0, "qsc_doc_frac_chars_dupe_9grams": 0, "qsc_doc_frac_chars_dupe_10grams": 0, "qsc_doc_frac_chars_dupe_lines": 0, "qsc_doc_frac_lines_dupe_lines": 0, "qsc_doc_frac_lines_end_with_readmore": 0, "qsc_doc_frac_lines_start_with_bullet": 0, "qsc_doc_frac_words_all_caps": 0, "qsc_doc_mean_word_length": 0, "qsc_doc_num_chars": 0, "qsc_doc_num_lines": 0, "qsc_doc_num_sentences": 0, "qsc_doc_num_words": 0, "qsc_doc_frac_chars_hex_words": 0, "qsc_doc_frac_chars_hyperlink_html_tag": 1, "qsc_doc_frac_chars_alphabet": 0, "qsc_doc_frac_chars_digital": 0, "qsc_doc_frac_chars_whitespace": 0} |
2002Bishwajeet/no_signal | .github/workflows/build.yml | name: Build
on:
push:
branches:
- master
pull_request:
jobs:
flutter_build_android:
name: Build Flutter (android) apps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: "11.x"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter pub get
- run: flutter build apk
- uses: actions/upload-artifact@v3
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk
flutter_build_ios:
name: Build Flutter (iOS) apps
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter clean
- run: flutter pub get
- run: flutter build ios --release --no-codesign
flutter_build_windows:
name: Build Flutter (windows) apps
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter clean
- run: flutter pub get
- run: flutter build windows
- run: flutter pub run msix:create
- uses: actions/upload-artifact@v3
with:
name: chat_app.msix
path: build/windows/runner/Release/chat_app.msix
flutter_build_linux:
name: Build Flutter (linux) apps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter clean
- run: flutter pub get
- run: flutter build linux
flutter_build_macos:
name: Build Flutter (macOS) apps
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter clean
- run: flutter pub get
- run: flutter build macos | 2,079 | build | yml | en | yaml | data | {"qsc_code_num_words": 259, "qsc_code_num_chars": 2079.0, "qsc_code_mean_word_length": 4.88416988, "qsc_code_frac_words_unique": 0.24324324, "qsc_code_frac_chars_top_2grams": 0.11857708, "qsc_code_frac_chars_top_3grams": 0.06166008, "qsc_code_frac_chars_top_4grams": 0.08695652, "qsc_code_frac_chars_dupe_5grams": 0.58023715, "qsc_code_frac_chars_dupe_6grams": 0.58023715, "qsc_code_frac_chars_dupe_7grams": 0.58023715, "qsc_code_frac_chars_dupe_8grams": 0.5083004, "qsc_code_frac_chars_dupe_9grams": 0.5083004, "qsc_code_frac_chars_dupe_10grams": 0.5083004, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.01081081, "qsc_code_frac_chars_whitespace": 0.28811929, "qsc_code_size_file_byte": 2079.0, "qsc_code_num_lines": 82.0, "qsc_code_num_chars_line_max": 62.0, "qsc_code_num_chars_line_mean": 25.35365854, "qsc_code_frac_chars_alphabet": 0.84391892, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.55844156, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.01826923, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/НастройкаРазрешенийНаИспользованиеВнешнихРесурсов/Forms/НастройкаРазрешенийНаИспользованиеВнешнихРесурсов.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="7a4346c3-f1aa-4ce0-886e-76cd9abf563c">
<Properties>
<Name>НастройкаРазрешенийНаИспользованиеВнешнихРесурсов</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Настройка разрешений на использование внешних ресурсов</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,586 | НастройкаРазрешенийНаИспользованиеВнешнихРесурсов | xml | ru | xml | data | {"qsc_code_num_words": 252, "qsc_code_num_chars": 1586.0, "qsc_code_mean_word_length": 4.50793651, "qsc_code_frac_words_unique": 0.3452381, "qsc_code_frac_chars_top_2grams": 0.07922535, "qsc_code_frac_chars_top_3grams": 0.1056338, "qsc_code_frac_chars_top_4grams": 0.13204225, "qsc_code_frac_chars_dupe_5grams": 0.38996479, "qsc_code_frac_chars_dupe_6grams": 0.38996479, "qsc_code_frac_chars_dupe_7grams": 0.26848592, "qsc_code_frac_chars_dupe_8grams": 0.21478873, "qsc_code_frac_chars_dupe_9grams": 0.04225352, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07171854, "qsc_code_frac_chars_whitespace": 0.06809584, "qsc_code_size_file_byte": 1586.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 72.09090909, "qsc_code_frac_chars_alphabet": 0.6962111, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.45334174, "qsc_code_frac_chars_long_word_length": 0.05422446, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
2002Bishwajeet/no_signal | ios/Runner/Info.plist | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>no_signal</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
| 1,528 | Info | plist | en | openstep property list | data | {"qsc_code_num_words": 147, "qsc_code_num_chars": 1528.0, "qsc_code_mean_word_length": 7.93197279, "qsc_code_frac_words_unique": 0.40136054, "qsc_code_frac_chars_top_2grams": 0.08490566, "qsc_code_frac_chars_top_3grams": 0.01543739, "qsc_code_frac_chars_top_4grams": 0.03602058, "qsc_code_frac_chars_dupe_5grams": 0.27272727, "qsc_code_frac_chars_dupe_6grams": 0.27272727, "qsc_code_frac_chars_dupe_7grams": 0.18696398, "qsc_code_frac_chars_dupe_8grams": 0.18696398, "qsc_code_frac_chars_dupe_9grams": 0.18696398, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00770308, "qsc_code_frac_chars_whitespace": 0.06544503, "qsc_code_size_file_byte": 1528.0, "qsc_code_num_lines": 45.0, "qsc_code_num_chars_line_max": 103.0, "qsc_code_num_chars_line_mean": 33.95555556, "qsc_code_frac_chars_alphabet": 0.80882353, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.22222222, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.05497382, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/НастройкаРазрешенийНаИспользованиеВнешнихРесурсов/Forms/ОткрытиеВнешнейОбработкиИлиОтчетаСВыборомБезопасногоРежима.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="4fa11304-fbd4-4c90-909d-5024283a6868">
<Properties>
<Name>ОткрытиеВнешнейОбработкиИлиОтчетаСВыборомБезопасногоРежима</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Открытие внешней обработки или отчета</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,578 | ОткрытиеВнешнейОбработкиИлиОтчетаСВыборомБезопасногоРежима | xml | ru | xml | data | {"qsc_code_num_words": 251, "qsc_code_num_chars": 1578.0, "qsc_code_mean_word_length": 4.49800797, "qsc_code_frac_words_unique": 0.34262948, "qsc_code_frac_chars_top_2grams": 0.07971656, "qsc_code_frac_chars_top_3grams": 0.10628875, "qsc_code_frac_chars_top_4grams": 0.13286094, "qsc_code_frac_chars_dupe_5grams": 0.39238264, "qsc_code_frac_chars_dupe_6grams": 0.39238264, "qsc_code_frac_chars_dupe_7grams": 0.27015058, "qsc_code_frac_chars_dupe_8grams": 0.21612046, "qsc_code_frac_chars_dupe_9grams": 0.0425155, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07613868, "qsc_code_frac_chars_whitespace": 0.06780735, "qsc_code_size_file_byte": 1578.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 71.72727273, "qsc_code_frac_chars_alphabet": 0.69068661, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.45564005, "qsc_code_frac_chars_long_word_length": 0.05449937, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
2002Bishwajeet/no_signal | ios/Runner.xcodeproj/project.pbxproj | // !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
9705A1C41CF9048500538489 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
97C146EB1CF9000F007C117D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
9740EEB31CF90195004384FC /* Generated.xcconfig */,
);
name = Flutter;
sourceTree = "<group>";
};
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
);
sourceTree = "<group>";
};
97C146EF1CF9000F007C117D /* Products */ = {
isa = PBXGroup;
children = (
97C146EE1CF9000F007C117D /* Runner.app */,
);
name = Products;
sourceTree = "<group>";
};
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
97C147021CF9000F007C117D /* Info.plist */,
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
);
path = Runner;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
97C146ED1CF9000F007C117D /* Runner */ = {
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
);
buildRules = (
);
dependencies = (
);
name = Runner;
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 1100;
};
};
};
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 97C146E51CF9000F007C117D;
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
97C146ED1CF9000F007C117D /* Runner */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
97C146EC1CF9000F007C117D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Thin Binary";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Run Script";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
97C146EA1CF9000F007C117D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C146FB1CF9000F007C117D /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
97C147001CF9000F007C117D /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Profile;
};
249021D4217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.noSignal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Profile;
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
97C147061CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.noSignal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
97C147071CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.noSignal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147031CF9000F007C117D /* Debug */,
97C147041CF9000F007C117D /* Release */,
249021D3217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
isa = XCConfigurationList;
buildConfigurations = (
97C147061CF9000F007C117D /* Debug */,
97C147071CF9000F007C117D /* Release */,
249021D4217E4FDB00AE95B9 /* Profile */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
| 18,432 | project | pbxproj | en | unknown | unknown | {} | 0 | {} |
1c-syntax/ssl_3_1 | src/cf/DataProcessors/НастройкаРазрешенийНаИспользованиеВнешнихРесурсов/Forms/ИнициализацияЗапросаРазрешений.xml | <?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.18">
<Form uuid="5079f17e-dfd6-43f4-83fa-6ac408e5bd3b">
<Properties>
<Name>ИнициализацияЗапросаРазрешений</Name>
<Synonym>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Инициализация запроса разрешений</v8:content>
</v8:item>
</Synonym>
<Comment/>
<FormType>Managed</FormType>
<IncludeHelpInContents>false</IncludeHelpInContents>
<UsePurposes>
<v8:Value xsi:type="app:ApplicationUsePurpose">PlatformApplication</v8:Value>
<v8:Value xsi:type="app:ApplicationUsePurpose">MobilePlatformApplication</v8:Value>
</UsePurposes>
<ExtendedPresentation/>
</Properties>
</Form>
</MetaDataObject> | 1,545 | ИнициализацияЗапросаРазрешений | xml | ru | xml | data | {"qsc_code_num_words": 249, "qsc_code_num_chars": 1545.0, "qsc_code_mean_word_length": 4.40963855, "qsc_code_frac_words_unique": 0.3373494, "qsc_code_frac_chars_top_2grams": 0.08196721, "qsc_code_frac_chars_top_3grams": 0.10928962, "qsc_code_frac_chars_top_4grams": 0.13661202, "qsc_code_frac_chars_dupe_5grams": 0.40346084, "qsc_code_frac_chars_dupe_6grams": 0.40346084, "qsc_code_frac_chars_dupe_7grams": 0.27777778, "qsc_code_frac_chars_dupe_8grams": 0.22222222, "qsc_code_frac_chars_dupe_9grams": 0.04371585, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.07361111, "qsc_code_frac_chars_whitespace": 0.06796117, "qsc_code_size_file_byte": 1545.0, "qsc_code_num_lines": 22.0, "qsc_code_num_chars_line_max": 869.0, "qsc_code_num_chars_line_mean": 70.22727273, "qsc_code_frac_chars_alphabet": 0.68819444, "qsc_code_frac_chars_comments": 0.0, "qsc_code_cate_xml_start": 1.0, "qsc_code_frac_lines_dupe_lines": 0.0, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.46537217, "qsc_code_frac_chars_long_word_length": 0.05566343, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 1, "qsc_code_cate_autogen": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0} |
2002Bishwajeet/no_signal | lib/models/user.dart | import 'dart:typed_data';
/// [NoSignalUser]
/// A normal user model containing all the neccessary data to be used in the app
/// This model will contains as described below
class NoSignalUser {
final String id;
final String name;
final String email;
final String? bio;
final Uint8List? image;
final String? imgId;
NoSignalUser({
required this.id,
required this.name,
required this.email,
this.bio,
this.image,
this.imgId,
});
NoSignalUser copyWith({
String? id,
String? name,
String? email,
String? bio,
Uint8List? image,
String? imgId,
}) {
return NoSignalUser(
id: id ?? this.id,
name: name ?? this.name,
email: email ?? this.email,
bio: bio ?? this.bio,
image: image ?? this.image,
imgId: imgId ?? this.imgId,
);
}
Map<String, dynamic> toMap() {
return {
'id': id,
'name': name,
'email': email,
'bio': bio,
'imgId': imgId,
};
}
factory NoSignalUser.fromMap(Map<String, dynamic> map) {
return NoSignalUser(
id: map['id'],
name: map['name'],
email: map['email'],
bio: map['bio'],
imgId: map['imgId'],
);
}
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is NoSignalUser &&
other.id == id &&
other.name == name &&
other.email == email &&
other.bio == bio &&
other.image == image &&
other.imgId == imgId;
}
@override
int get hashCode {
return id.hashCode ^
name.hashCode ^
email.hashCode ^
bio.hashCode ^
image.hashCode ^
imgId.hashCode;
}
}
| 1,709 | user | dart | en | dart | code | {"qsc_code_num_words": 192, "qsc_code_num_chars": 1709.0, "qsc_code_mean_word_length": 5.03125, "qsc_code_frac_words_unique": 0.28125, "qsc_code_frac_chars_top_2grams": 0.05693582, "qsc_code_frac_chars_top_3grams": 0.04140787, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code_frac_chars_dupe_6grams": 0.0, "qsc_code_frac_chars_dupe_7grams": 0.0, "qsc_code_frac_chars_dupe_8grams": 0.0, "qsc_code_frac_chars_dupe_9grams": 0.0, "qsc_code_frac_chars_dupe_10grams": 0.0, "qsc_code_frac_chars_replacement_symbols": 0.0, "qsc_code_frac_chars_digital": 0.00167926, "qsc_code_frac_chars_whitespace": 0.30310123, "qsc_code_size_file_byte": 1709.0, "qsc_code_num_lines": 82.0, "qsc_code_num_chars_line_max": 82.0, "qsc_code_num_chars_line_mean": 20.84146341, "qsc_code_frac_chars_alphabet": 0.80940386, "qsc_code_frac_chars_comments": 0.08543008, "qsc_code_cate_xml_start": 0.0, "qsc_code_frac_lines_dupe_lines": 0.08333333, "qsc_code_cate_autogen": 0.0, "qsc_code_frac_lines_long_string": 0.0, "qsc_code_frac_chars_string_length": 0.03390915, "qsc_code_frac_chars_long_word_length": 0.0, "qsc_code_frac_lines_string_concat": 0.0, "qsc_code_cate_encoded_data": 0.0, "qsc_code_frac_chars_hex_words": 0.0, "qsc_code_frac_lines_prompt_comments": 0.0, "qsc_code_frac_lines_assert": 0.0} | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc_code_frac_chars_dupe_7grams": 0, "qsc_code_frac_chars_dupe_8grams": 0, "qsc_code_frac_chars_dupe_9grams": 0, "qsc_code_frac_chars_dupe_10grams": 0, "qsc_code_frac_lines_dupe_lines": 0, "qsc_code_size_file_byte": 0, "qsc_code_num_lines": 0, "qsc_code_num_chars_line_max": 0, "qsc_code_num_chars_line_mean": 0, "qsc_code_frac_chars_alphabet": 0, "qsc_code_frac_chars_digital": 0, "qsc_code_frac_chars_whitespace": 0, "qsc_code_frac_chars_comments": 0, "qsc_code_cate_xml_start": 0, "qsc_code_cate_autogen": 0, "qsc_code_frac_lines_long_string": 0, "qsc_code_frac_chars_string_length": 0, "qsc_code_frac_chars_long_word_length": 0, "qsc_code_cate_encoded_data": 0, "qsc_code_frac_chars_hex_words": 0, "qsc_code_frac_lines_prompt_comments": 0, "qsc_code_frac_lines_assert": 0} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.