commit 005a8f444b20391c6e982bc338a5b5494be80bb0 Author: Loshop Studio Date: Sun Nov 29 13:22:23 2026 +0800 site: 中育Toolbox 官网 + 更新日志(v1.3.1) diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e421a3f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,80 @@ +# 更新日志 + +## v1.3.1 (2026-11-29) + +**新功能** + +- 增加云笔记教师分享查看 +- 增加云笔记矢量渲染和导出(是的,切换到 Flutter 这么久才移植过来) +- 增加随身答提问和回复 +- 增加随身答图片搜索和收藏 +- 增加 PPT 预览 +- 增加优客畅学公开课程订阅 +- 增加优客畅学中习题查看和作答 +- 增加错题笔记和微课查看 +- 增加了在线专栏收藏夹编辑功能 +- 增加了随身答问题移动分类功能 +- 增加随身答懂了功能 +- 增加了网阅联考 +- 增加了问卷调查 +- 增加了问答未读提示 +- 增加了 MCP 功能 + +**问题修复** + +- 修复了云笔记上传 PDF 失败的问题 +- 修复了 iOS 下编译问题 + +## v1.2.1 (2026-11-22) + +**问题修复** + +- 修复了编译流程 + +## v1.1.0 (2026-11-14) + +**新功能** + +- 增加了个人信息查看和修改 + +## v1.0.11 (2026-11-13) + +**问题修复** + +- 修复了领创无法显示应用图标的问题 + +## v1.0.10 (2026-11-13) + +**问题修复** + +- 修复了编译流程 + +## v1.0.7 (2026-11-10) + +**问题修复** + +- 修复 win 下无法打开文章的问题 + +## v1.0.6 (2026-11-08) + +**其它** + +- 修改了安卓下编译的签名 + +## v1.0.5 (2026-11-08) + +**新功能** + +- 增加了关于界面背景音乐 + +## v1.0.4 (2026-11-08) + +**新功能** + +- 增加了音频查看 + +## v1.0.3 (2026-11-08) + +**问题修复** + +- 修复了编译流程 diff --git a/assets/app.js b/assets/app.js new file mode 100644 index 0000000..5ce63b8 --- /dev/null +++ b/assets/app.js @@ -0,0 +1,527 @@ +(() => { + 'use strict'; + + const PLATFORMS = ['windows', 'android', 'ios', 'macos']; + const PLATFORM_NAMES = { windows: 'Windows', android: 'Android', ios: 'iOS', macos: 'macOS' }; + const { REPO, FIRST_PAGE, parseChangelog, translate, formatDate, changelogMeta, timelineHtml } = globalThis.ZytbSite; + const SITE = new URL('..', document.currentScript.src); + + const root = document.documentElement; + const $ = (selector, scope = document) => scope.querySelector(selector); + const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)'); + + const state = { + platform: 'windows', + detected: { platform: null, ios: false }, + platformChosen: false, + release: null, + releaseFailed: false, + versions: [], + changelogFailed: false, + shown: FIRST_PAGE, + query: '', + }; + + function t(key, ...args) { + return translate('zh', key, ...args); + } + + function el(tag, props, ...children) { + const node = document.createElement(tag); + if (props) { + for (const [key, value] of Object.entries(props)) { + if (value == null || value === false) continue; + if (key === 'class') node.className = value; + else if (key === 'text') node.textContent = value; + else if (key.startsWith('on')) node.addEventListener(key.slice(2), value); + else node.setAttribute(key, value === true ? '' : value); + } + } + for (const child of children.flat()) { + if (child == null || child === false) continue; + node.append(child); + } + return node; + } + + function svg(markup) { + const template = document.createElement('template'); + template.innerHTML = markup.trim(); + return template.content.firstChild; + } + + const ICON_DOWN = + ''; + + function rise(node, index) { + if (reducedMotion.matches || !node.animate) return; + node.animate([{ opacity: 0, translate: '0 14px' }, { opacity: 1, translate: '0 0' }], { + duration: 600, + delay: 40 * index, + easing: 'cubic-bezier(0.22, 1, 0.36, 1)', + fill: 'backwards', + }); + } + + function formatAgo(iso) { + if (!iso) return ''; + const days = Math.round((Date.now() - Date.parse(`${iso}T00:00:00Z`)) / 86400000); + const rtf = new Intl.RelativeTimeFormat('zh-CN', { numeric: 'auto' }); + if (days < 7) return rtf.format(-Math.max(days, 0), 'day'); + if (days < 30) return rtf.format(-Math.round(days / 7), 'week'); + if (days < 365) return rtf.format(-Math.round(days / 30.4), 'month'); + return rtf.format(-Math.round(days / 365), 'year'); + } + + function formatSize(bytes) { + return `${(bytes / 1048576).toFixed(1)} MB`; + } + + // 发布 workflow 产出的文件名,见 .github/workflows/publish-release.yml。 + function buildsFor(platform) { + switch (platform) { + case 'windows': + return [ + { platform, suffix: '-setup.exe', kind: 'EXE', titleKey: 'winSetup', note: 'noteWinSetup', rec: true }, + { platform, suffix: '.zip', kind: 'ZIP', titleKey: 'winPortable', note: 'noteWinPortable' }, + ]; + case 'android': + return [{ platform, suffix: '.apk', kind: 'APK', title: 'APK 安装包', note: 'noteAndroid', rec: true }]; + case 'ios': + return [{ platform, suffix: '-unsigned.ipa', kind: 'IPA', title: '未签名 IPA', note: 'noteIos', rec: true }]; + case 'macos': + return [{ platform, suffix: '.zip', kind: 'ZIP', title: 'macOS 应用', note: 'noteMacos', rec: true }]; + default: + return []; + } + } + + function assetName(release, build) { + return `zhongyu-toolbox-${build.platform}-v${release.version}${build.suffix}`; + } + + function assetHref(release, name) { + if (release.assets && !release.assets.has(name)) return `${REPO}/releases/tag/${release.tag}`; + return `${REPO}/releases/download/${release.tag}/${name}`; + } + + function resolveBuilds(platform) { + const release = state.release; + if (!release) return []; + return buildsFor(platform).map((build) => { + const name = assetName(release, build); + const asset = release.assets ? release.assets.get(name) : null; + return { + ...build, + name, + title: build.titleKey ? t(build.titleKey) : build.title, + href: assetHref(release, name), + size: asset ? asset.size : null, + digest: asset && asset.digest ? asset.digest.replace(/^sha256:/, '') : null, + }; + }); + } + + function isIos() { + const ua = navigator.userAgent; + return /iphone|ipad|ipod/i.test(ua) || (/macintosh/i.test(ua) && navigator.maxTouchPoints > 1); + } + + function platformFromAgent() { + const ua = navigator.userAgent; + if (/android/i.test(ua)) return 'android'; + if (isIos()) return 'ios'; + if (/windows/i.test(ua)) return 'windows'; + if (/macintosh|mac os x/i.test(ua)) return 'macos'; + return null; + } + + async function loadData() { + const [markdown, release] = await Promise.allSettled([ + fetch(new URL('CHANGELOG.md', SITE), { cache: 'no-cache' }).then((r) => + r.ok ? r.text() : Promise.reject(r.status), + ), + fetch(new URL('release.json', SITE), { cache: 'no-cache' }).then((r) => (r.ok ? r.json() : null)), + ]); + + if (markdown.status === 'fulfilled') state.versions = parseChangelog(markdown.value); + else state.changelogFailed = true; + + const meta = release.status === 'fulfilled' ? release.value : null; + if (meta && meta.tag) { + state.release = { + tag: meta.tag, + version: meta.tag.replace(/^v/, ''), + date: (meta.publishedAt || '').slice(0, 10), + assets: new Map((meta.assets || []).map((asset) => [asset.name, asset])), + }; + } else { + const stable = state.versions.find((v) => !v.tag.includes('-')); + if (stable) state.release = { tag: stable.tag, version: stable.version, date: stable.date, assets: null }; + else state.releaseFailed = true; + } + } + + function applyStaticText() { + root.lang = 'zh-CN'; + document.title = t('pageTitle'); + $('meta[name="description"]').content = t('pageDescription'); + for (const node of document.querySelectorAll('[data-i18n]')) node.textContent = t(node.dataset.i18n); + for (const node of document.querySelectorAll('[data-i18n-placeholder]')) { + node.placeholder = t(node.dataset.i18nPlaceholder); + } + $('#platform-seg').setAttribute('aria-label', t('platformLabel')); + } + + function renderReleaseMeta() { + const release = state.release; + if (release) { + $('#hero-release-text').textContent = t('heroRelease', release.tag, formatDate(release.date)); + $('#hero-release').href = `#${release.tag}`; + $('#dl-meta').textContent = $('#dock-dl-meta').textContent = t( + 'dlMeta', + release.version, + formatDate(release.date), + ); + } + } + + function renderCta() { + const cta = $('#cta'); + const sub = $('#cta-sub'); + const note = $('#cta-note'); + $('#hero-platform').textContent = PLATFORM_NAMES[state.platform]; + note.hidden = !state.detected.ios; + note.textContent = state.detected.ios ? t('ctaIos') : ''; + const builds = state.detected.ios && !state.platformChosen ? [] : resolveBuilds(state.platform); + const pick = builds.find((b) => b.rec) || builds[0]; + if (!pick) { + $('#cta-title').textContent = t('ctaChoose'); + sub.hidden = true; + cta.href = '#download'; + return; + } + $('#cta-title').textContent = t('ctaDownload', PLATFORM_NAMES[state.platform]); + const parts = [pick.title]; + if (pick.size) parts.push(formatSize(pick.size)); + sub.textContent = parts.join(' · '); + sub.hidden = false; + cta.href = pick.href; + } + + function selectTab(group, value) { + for (const button of group.querySelectorAll('[role="tab"]')) { + const selected = button.dataset.value === value; + button.setAttribute('aria-selected', String(selected)); + button.tabIndex = selected ? 0 : -1; + } + } + + function wireTabs(group, onSelect) { + group.addEventListener('click', (event) => { + const button = event.target.closest('[role="tab"]'); + if (button) onSelect(button.dataset.value); + }); + group.addEventListener('keydown', (event) => { + if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return; + const tabs = [...group.querySelectorAll('[role="tab"]')]; + const index = tabs.indexOf(document.activeElement); + if (index < 0) return; + event.preventDefault(); + let next = index; + if (event.key === 'ArrowLeft') next = (index - 1 + tabs.length) % tabs.length; + if (event.key === 'ArrowRight') next = (index + 1) % tabs.length; + if (event.key === 'Home') next = 0; + if (event.key === 'End') next = tabs.length - 1; + tabs[next].focus(); + onSelect(tabs[next].dataset.value); + }); + } + + function fileRow(build) { + const sha = build.digest + ? el('button', { + class: 'sha', + type: 'button', + text: 'SHA-256', + title: build.digest, + 'aria-label': t('copySha', build.name), + onclick: (event) => copyText(build.digest, event.currentTarget), + }) + : null; + return el( + 'li', + { class: build.rec ? 'file rec' : 'file' }, + el( + 'div', + { class: 'file-main' }, + el( + 'p', + { class: 'file-head' }, + el('a', { class: 'file-title', href: build.href, title: build.name, text: build.title }), + build.rec ? el('span', { class: 'rec-tag', text: t('recommended') }) : null, + ), + el( + 'p', + { class: 'file-sub' }, + el('span', { class: 'note', text: t(build.note) }), + el('span', { class: 'kind', text: build.kind }), + build.size ? el('span', { class: 'size', text: formatSize(build.size) }) : null, + sha, + ), + ), + el('span', { class: 'go', 'aria-hidden': 'true' }, svg(ICON_DOWN)), + ); + } + + function tip(titleKey, textKey) { + return el('div', { class: 'tip' }, el('h3', { text: t(titleKey) }), el('p', { text: t(textKey) })); + } + + function extrasFor(platform) { + const tips = { windows: 'tipWindows', android: 'tipAndroid', ios: 'tipIos', macos: 'tipMacos' }; + const titles = { + windows: 'tipWindowsTitle', + android: 'tipAndroidTitle', + ios: 'tipIosTitle', + macos: 'tipMacosTitle', + }; + return [tip(titles[platform], tips[platform]), tip('tipAccountTitle', 'tipAccount')]; + } + + function renderPanel(withMotion) { + const hints = { windows: 'hintWindows', android: 'hintAndroid', ios: 'hintIos', macos: 'hintMacos' }; + $('#panel-hint').textContent = t(hints[state.platform]); + $('#panel').setAttribute('aria-labelledby', `tab-${state.platform}`); + + const files = $('#files'); + files.replaceChildren(...resolveBuilds(state.platform).map(fileRow)); + $('#dl-error').hidden = !state.releaseFailed; + $('#dl-error').textContent = state.releaseFailed ? t('dlError') : ''; + $('#extras').replaceChildren(...extrasFor(state.platform)); + if (withMotion) [...files.children, ...$('#extras').children].forEach(rise); + } + + function setPlatform(platform) { + if (!PLATFORM_NAMES[platform]) return; + const changed = platform !== state.platform; + state.platform = platform; + state.platformChosen = true; + selectTab($('#platform-seg'), platform); + renderCta(); + renderPanel(changed); + } + + function matchVersion(version, query) { + if (version.version.includes(query) || version.tag.toLowerCase().includes(query)) return version.groups; + return version.groups + .map((group) => ({ + ...group, + entries: group.entries.filter( + (entry) => + entry.text.toLowerCase().includes(query) || + (entry.scope && entry.scope.toLowerCase().includes(query)) || + (entry.id && entry.id.startsWith(query)), + ), + })) + .filter((group) => group.entries.length); + } + + const revealer = + 'IntersectionObserver' in window + ? new IntersectionObserver( + (entries) => { + for (const entry of entries) { + if (!entry.isIntersecting) continue; + entry.target.classList.replace('pending', 'shown'); + revealer.unobserve(entry.target); + } + }, + { rootMargin: '0px 0px -8% 0px' }, + ) + : null; + + function stageReveal(nodes) { + if (!revealer || reducedMotion.matches) return; + for (const node of nodes) { + if (node.getBoundingClientRect().top < innerHeight * 0.92) continue; + node.classList.add('pending'); + revealer.observe(node); + } + } + + let lastYear = null; + + function appendReleases(container, items, query) { + const { html, year } = timelineHtml(items, { + query, + latestTag: state.versions[0]?.tag, + ago: formatAgo, + year: lastYear, + }); + lastYear = year; + const template = document.createElement('template'); + template.innerHTML = html; + const releases = [...template.content.querySelectorAll('.release')]; + container.append(template.content); + stageReveal(releases); + } + + function renderTimeline() { + const timeline = $('#timeline'); + const status = $('#cl-status'); + + if (state.changelogFailed) { + status.replaceChildren( + t('clError'), + ' ', + el('a', { href: `${REPO}/releases`, text: t('clErrorLink') }), + ); + return; + } + timeline.replaceChildren(); + lastYear = null; + + const versions = state.versions; + $('#cl-meta').textContent = $('#dock-cl-meta').textContent = changelogMeta(versions); + + const query = state.query.trim().toLowerCase(); + if (!query) { + status.replaceChildren(); + appendReleases( + timeline, + versions.slice(0, state.shown).map((version) => ({ version, groups: version.groups })), + '', + ); + return; + } + + const matches = versions + .map((version) => ({ version, groups: matchVersion(version, query) })) + .filter(({ version, groups }) => groups.length || version.version.includes(query)); + const entryCount = matches.reduce( + (sum, { groups }) => sum + groups.reduce((n, group) => n + group.entries.length, 0), + 0, + ); + const clear = el('button', { + type: 'button', + text: t('clClear'), + onclick: () => { + $('#cl-search').value = ''; + state.query = ''; + renderTimeline(); + $('#cl-search').focus(); + }, + }); + if (matches.length) status.replaceChildren(t('clResults', entryCount, matches.length), ' · ', clear); + else status.replaceChildren(t('clNone', state.query.trim()), ' ', clear); + appendReleases(timeline, matches, query); + } + + function revealHash() { + let tag; + try { + tag = decodeURIComponent(location.hash.slice(1)); + } catch { + return; + } + const index = state.versions.findIndex((v) => v.tag === tag); + if (index < 0) return; + requestAnimationFrame(() => document.getElementById(tag)?.scrollIntoView()); + } + + async function copyText(text, button) { + let ok = false; + try { + await navigator.clipboard.writeText(text); + ok = true; + } catch { + const area = el('textarea', { readonly: true, style: 'position:fixed;opacity:0' }); + area.value = text; + document.body.append(area); + area.select(); + try { + ok = document.execCommand('copy'); + } catch {} + area.remove(); + } + if (!ok) return; + button.classList.add('done'); + const label = button.classList.contains('sha') ? button.textContent : null; + if (label) button.textContent = t('copied'); + clearTimeout(button._reset); + button._reset = setTimeout(() => { + button.classList.remove('done'); + if (label) button.textContent = label; + }, 1600); + } + + function takeCarriedView() { + const params = new URLSearchParams(location.search); + const view = { platform: params.get('platform'), query: params.get('q') }; + if (!['platform', 'q'].some((key) => params.has(key))) return view; + for (const key of ['platform', 'q']) params.delete(key); + const search = params.toString(); + history.replaceState(history.state, '', `${location.pathname}${search ? `?${search}` : ''}${location.hash}`); + return view; + } + + function wireEvents() { + wireTabs($('#platform-seg'), setPlatform); + + let searchTimer = 0; + $('#cl-search').addEventListener('input', (event) => { + clearTimeout(searchTimer); + searchTimer = setTimeout(() => { + state.query = event.target.value; + renderTimeline(); + }, 80); + }); + $('#cl-search').addEventListener('keydown', (event) => { + if (event.key === 'Escape' && event.target.value) { + event.target.value = ''; + state.query = ''; + renderTimeline(); + } + }); + document.addEventListener('keydown', (event) => { + if (event.key !== '/' || event.metaKey || event.ctrlKey || event.altKey) return; + if (event.target.closest('input, textarea, [contenteditable]')) return; + event.preventDefault(); + $('#cl-search').focus({ preventScroll: true }); + $('#changelog').scrollIntoView(); + }); + addEventListener('hashchange', revealHash); + } + + async function start() { + const carried = takeCarriedView(); + state.platform = platformFromAgent() || 'windows'; + applyStaticText(); + selectTab($('#platform-seg'), state.platform); + renderCta(); + wireEvents(); + + await loadData(); + const detected = platformFromAgent(); + state.detected = { platform: detected, ios: isIos() }; + state.platform = detected || 'windows'; + if (PLATFORMS.includes(carried.platform)) { + state.platform = carried.platform; + state.platformChosen = true; + } + if (carried.query) { + state.query = carried.query; + $('#cl-search').value = carried.query; + } + + renderReleaseMeta(); + selectTab($('#platform-seg'), state.platform); + renderCta(); + renderPanel(false); + renderTimeline(); + if (location.hash) revealHash(); + } + + start(); +})(); diff --git a/assets/fonts/archivo-OFL.txt b/assets/fonts/archivo-OFL.txt new file mode 100644 index 0000000..537e4be --- /dev/null +++ b/assets/fonts/archivo-OFL.txt @@ -0,0 +1,94 @@ +Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + diff --git a/assets/fonts/archivo.woff2 b/assets/fonts/archivo.woff2 new file mode 100644 index 0000000..7af3f7d Binary files /dev/null and b/assets/fonts/archivo.woff2 differ diff --git a/assets/fonts/instrument-sans-OFL.txt b/assets/fonts/instrument-sans-OFL.txt new file mode 100644 index 0000000..110c135 --- /dev/null +++ b/assets/fonts/instrument-sans-OFL.txt @@ -0,0 +1,94 @@ +Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + diff --git a/assets/fonts/instrument-sans.woff2 b/assets/fonts/instrument-sans.woff2 new file mode 100644 index 0000000..665fa65 Binary files /dev/null and b/assets/fonts/instrument-sans.woff2 differ diff --git a/assets/fonts/martian-mono-OFL.txt b/assets/fonts/martian-mono-OFL.txt new file mode 100644 index 0000000..5b9125e --- /dev/null +++ b/assets/fonts/martian-mono-OFL.txt @@ -0,0 +1,94 @@ +Copyright 2021 The Martian Mono Project Authors (https://github.com/evilmartians/mono) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + diff --git a/assets/fonts/martian-mono.woff2 b/assets/fonts/martian-mono.woff2 new file mode 100644 index 0000000..e8283d9 Binary files /dev/null and b/assets/fonts/martian-mono.woff2 differ diff --git a/assets/icon.png b/assets/icon.png new file mode 100644 index 0000000..cd09d9e Binary files /dev/null and b/assets/icon.png differ diff --git a/assets/scene.js b/assets/scene.js new file mode 100644 index 0000000..176c91c --- /dev/null +++ b/assets/scene.js @@ -0,0 +1,271 @@ +// 滚动场景:品牌图标随滚动换形状、换主题色,并在宽屏上停靠到左栏,给右侧内容让出位置。 +// 结构取自 FlClash 官网(GPL-3.0),图标与分区改为中育Toolbox 的。 +(() => { + 'use strict'; + + const root = document.documentElement; + const $ = (selector) => document.querySelector(selector); + const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)'); + const wide = matchMedia('(min-width: 960px)'); + const { start: START_MORPH, enter: ENTER_MORPH, cycle: CYCLE_MORPHS } = globalThis.ZytbShapes; + // 页面滚动时依次走过的主题色。取自 style.css 里的 data-accent; + // 只留在蓝与绿之间走:整页铺满大红、明黄或品红时,太像报错或促销。 + const ACCENTS = ['blue', 'green']; + const MORPH_MS = 450; + // 首屏保持起始形状;之后每 STEP_VH 的滚动换一个形状、换一套配色。 + const HERO_VH = 0.08; + const STEP_VH = 0.85; + // 宽屏下图标停靠完成所需的滚动量,与 style.css 里 .flow 的负边距对应。 + const DOCKED_VH = 0.45; + + const shape = { pos: 0, origin: 0, to: 0, target: 0, t: 1 }; + // 点按钮一次多走一个形状;滚动仍按原位置算,两者相加,所以点完不会立刻被滚动拉回去。 + let bias = 0; + let scene = null; + let tickFrame = 0; + let tickLast = 0; + + function setAccent(accent) { + if (accent === (root.dataset.accent || ACCENTS[0])) return; + if (accent === ACCENTS[0]) delete root.dataset.accent; + else root.dataset.accent = accent; + } + + function morphPath(morph, progress, size = 1) { + const digits = size === 1 ? 4 : 2; + const at = (cubic, j) => ((cubic[j] + (cubic[j + 8] - cubic[j]) * progress) * size).toFixed(digits); + let d = `M${at(morph[0], 0)} ${at(morph[0], 1)}`; + for (const cubic of morph) { + d += `C${at(cubic, 2)} ${at(cubic, 3)} ${at(cubic, 4)} ${at(cubic, 5)} ${at(cubic, 6)} ${at(cubic, 7)}`; + } + return `${d}Z`; + } + + // 从第 index 个形状出发的那段形变,通向 index + 1。 + function morphOf(index) { + if (index === 0) return START_MORPH; + if (index === 1) return ENTER_MORPH; + return CYCLE_MORPHS[(index - 2) % CYCLE_MORPHS.length]; + } + + // Flutter 的 easeOutBack 与 easeInCubic,与应用里按钮形变用的曲线一致。 + function easeOutBack(t) { + return 1 + 2.70158 * (t - 1) ** 3 + 1.70158 * (t - 1) ** 2; + } + + function easeInCubic(t) { + return t * t * t; + } + + function unit(value) { + return Math.min(Math.max(value, 0), 1); + } + + function smooth(value) { + const t = unit(value); + return t * t * (3 - 2 * t); + } + + // 一次只走一个形状,跳过多格时(例如点锚点)直接落位。 + function nextShape(from, target) { + const gap = target - from; + return Math.abs(gap) > 3 ? target : from + Math.sign(gap); + } + + function tick(now) { + const step = (now - tickLast) / MORPH_MS; + tickLast = now; + if (shape.t < 1) { + shape.t = Math.min(1, shape.t + step); + const eased = shape.to === 0 ? 1 - easeInCubic(1 - shape.t) : easeOutBack(shape.t); + shape.pos = shape.origin + (shape.to - shape.origin) * eased; + if (shape.t === 1 && shape.to !== shape.target) { + shape.origin = shape.to; + shape.to = nextShape(shape.to, shape.target); + shape.t = 0; + } + } + drawEmblem(); + tickFrame = shape.t < 1 ? requestAnimationFrame(tick) : 0; + } + + function animate() { + if (tickFrame) return; + tickLast = performance.now(); + tickFrame = requestAnimationFrame(tick); + } + + function aimShape(target) { + if (target === shape.target) return; shape.target = target; + setAccent(ACCENTS[target <= 1 ? 0 : (target - 1) % ACCENTS.length]); + if (reducedMotion.matches) { + shape.pos = shape.origin = shape.to = target; + shape.t = 1; + drawEmblem(); + return; + } + const heading = Math.sign(shape.to - shape.pos); + if (shape.t < 1 && heading !== 0 && heading === Math.sign(target - shape.pos)) return; + shape.origin = shape.pos; + shape.to = nextShape(target > shape.pos ? Math.floor(shape.pos) : Math.ceil(shape.pos), target); + shape.t = 0; + animate(); + } + + function pageTop(node) { + let top = 0; + for (; node; node = node.offsetParent) top += node.offsetTop; + return top; + } + + function pageLeft(node) { + let left = 0; + for (; node; node = node.offsetParent) left += node.offsetLeft; + return left; + } + + // 图标盒子的最终位置是左栏;首屏那一点是它出发的位置。宽屏下左栏 sticky 在视口顶部, + // 所以图标在原地放大并平移到左边。 + function measure() { + const emblem = $('#emblem'); + const spot = $('#spot'); + const size = emblem.offsetWidth; + const docks = wide.matches; + const dockTop = docks ? 0 : pageTop($('#dock')); + scene = { + vh: innerHeight, + wide: docks, + dx: pageLeft(spot) + spot.offsetWidth / 2 - (emblem.offsetLeft + size / 2), + dy: pageTop(spot) + spot.offsetHeight / 2 - (dockTop + emblem.offsetTop + size / 2), + scale: spot.offsetWidth / size, + sections: ['#features', '#download', '#changelog'].map((id) => pageTop($(id))), + lastScroll: Math.max(0, scrollY), + part: -1, + docking: 0, + spin: 0, + shapeKey: null, + }; + emblem.classList.add('ready'); + } + + function drawEmblem() { + const lower = Math.max(0, Math.floor(shape.pos)); + const shapeKey = shape.pos.toFixed(4); + if (shapeKey !== scene.shapeKey) { + scene.shapeKey = shapeKey; + $('#emblem-path').setAttribute('d', morphPath(morphOf(lower), shape.pos - lower)); + } + // 每段形变顺带转九分之一圈,再叠上滚动本身带来的旋转。只转形状,箭头保持竖直。 + const turn = scene.spin + 40 * shape.pos; + $('.emblem-shape').style.transform = `rotate(${turn.toFixed(2)}deg)`; + // 上传箭头只在首屏出现:往下滑就淡出,图标回到纯色形状,停靠到左栏时也一样。 + const fade = unit((scene.lastScroll - scene.vh * 0.06) / (scene.vh * 0.18)); + $('.emblem-glyph').style.opacity = String(1 - fade); + } + + // 滚动位置对应的形状序号:首屏是起始形状(圆),之后每 STEP_VH 一格。 + function targetFor(scroll) { + const hero = innerHeight * HERO_VH; + return scroll < hero ? 0 : 2 + Math.floor((scroll - hero) / (innerHeight * STEP_VH)); + } + + function moveEmblem(scroll) { + const { vh } = scene; + const still = reducedMotion.matches; + const travel = (scroll - vh * 0.1) / (vh * (DOCKED_VH - 0.1)); + const docking = scene.wide && (still ? (travel >= 0.8 ? 1 : 0) : smooth(travel)); + const grow = scene.wide ? (still ? docking : smooth(scroll / (vh * 0.25))) : still ? 0 : unit(scroll / (vh * 0.6)); + scene.docking = docking; + scene.spin = still ? 0 : (scroll / vh) * 30; + const scale = scene.wide ? scene.scale + (1 - scene.scale) * grow : scene.scale * (1 + 0.15 * grow); + const emblem = $('#emblem'); + const x = (scene.dx * (1 - docking)).toFixed(1); + const y = (scene.dy * (1 - docking)).toFixed(1); + emblem.style.transform = `translate(${x}px, ${y}px) scale(${scale.toFixed(4)})`; + + // style.css 用 data-part 切换左栏标题、图标里的序号,以及右侧内容的入场。 + let part = 0; + if (scene.wide && docking > 0.9) { + const line = scroll + vh * 0.45; + part = 1; + if (line >= scene.sections[1]) part = 2; + if (line >= scene.sections[2]) part = 3; + } + if (part !== scene.part) { + scene.part = part; + root.dataset.part = String(part); + } + + aimShape(targetFor(scroll) + bias); + // 更新日志回到品牌蓝:那里用颜色区分「新功能 / 问题修复」,绿色会撞色。 + if (part === 3) setAccent(ACCENTS[0]); + drawEmblem(); + } + + // 点上传按钮:图标换到下一个形状(弹簧 easeOutBack),箭头做一次「往上送」的小动画。 + function popEmblem() { + if (reducedMotion.matches) return; + const emblem = $('#emblem'); + emblem.classList.remove('pop'); + void emblem.offsetWidth; + emblem.classList.add('pop'); + clearTimeout(emblem._popTimer); + emblem._popTimer = setTimeout(() => emblem.classList.remove('pop'), 900); + } + + function playUpload() { + bias += 1; + aimShape(targetFor(Math.max(0, scrollY)) + bias); + popEmblem(); + } + + // 滚动驱动的 CSS 动画在 120 Hz 的 Android WebView 上会卡,所以图标和首屏文字跟着滚动位置由脚本摆放。 + function followScroll() { + const scroll = Math.max(0, scrollY); + const { vh } = scene; + const delta = scroll - scene.lastScroll; + scene.lastScroll = scroll; + const bar = $('#bar'); + if (scroll < vh * 0.1 || delta < -6) bar.classList.remove('away'); + else if (delta > 6) bar.classList.add('away'); + + moveEmblem(scroll); + const copy = $('#hero-copy'); + if (reducedMotion.matches) { + copy.style.visibility = scene.docking === 1 ? 'hidden' : ''; + return; + } + const fade = unit((scroll - vh * 0.06) / (vh * 0.26)); + copy.style.opacity = fade > 0 ? String(1 - fade) : ''; + copy.style.transform = fade > 0 ? `translateY(${(-scroll * 0.2).toFixed(1)}px)` : ''; + copy.style.visibility = fade === 1 ? 'hidden' : ''; + $('#scroll-hint').style.opacity = String(Math.max(0, 1 - scroll / (vh * 0.15))); + } + + function relayout() { + measure(); + followScroll(); + } + + function start() { + root.style.setProperty('--circle', `path('${morphPath(START_MORPH, 0, 40)}')`); + root.style.setProperty('--cookie', `path('${morphPath(START_MORPH, 1, 40)}')`); + relayout(); + addEventListener('scroll', followScroll, { passive: true }); + new ResizeObserver(relayout).observe(document.body); + let resizeFrame = 0; + addEventListener('resize', () => { + cancelAnimationFrame(resizeFrame); + resizeFrame = requestAnimationFrame(relayout); + }); + reducedMotion.addEventListener('change', () => { + $('#hero-copy').removeAttribute('style'); + $('#scroll-hint').style.removeProperty('opacity'); + relayout(); + }); + document.fonts.ready.then(relayout); + $('#emblem').addEventListener('click', playUpload); + } + + start(); +})(); diff --git a/assets/shapes.js b/assets/shapes.js new file mode 100644 index 0000000..630ef2a --- /dev/null +++ b/assets/shapes.js @@ -0,0 +1,720 @@ +// Material's shape morphs as cubic pairs in a unit square, written by +// flutter test --update-goldens test/tool/site_shapes_test.dart +globalThis.ZytbShapes = { + start: [ + [0.976,0.345,0.981,0.363,0.986,0.38,0.99,0.398,0.885,0.279,0.894,0.296,0.907,0.311,0.923,0.323], + [0.99,0.398,1.003,0.465,1.003,0.535,0.99,0.602,0.923,0.323,0.985,0.371,1,0.458,0.958,0.524], + [0.99,0.602,0.986,0.62,0.981,0.637,0.976,0.655,0.958,0.524,0.948,0.54,0.941,0.559,0.937,0.578], + [0.976,0.655,0.97,0.672,0.963,0.689,0.956,0.705,0.937,0.578,0.934,0.597,0.934,0.617,0.938,0.637], + [0.956,0.705,0.928,0.768,0.887,0.824,0.836,0.87,0.938,0.637,0.955,0.713,0.911,0.789,0.837,0.813], + [0.836,0.87,0.823,0.882,0.809,0.894,0.794,0.905,0.837,0.813,0.818,0.819,0.8,0.829,0.785,0.841], + [0.794,0.905,0.779,0.915,0.764,0.925,0.748,0.934,0.785,0.841,0.771,0.854,0.758,0.869,0.749,0.887], + [0.748,0.934,0.689,0.968,0.623,0.99,0.554,0.997,0.749,0.887,0.712,0.956,0.63,0.986,0.557,0.956], + [0.554,0.997,0.536,0.999,0.518,1,0.5,1,0.557,0.956,0.539,0.949,0.519,0.945,0.5,0.945], + [0.5,1,0.482,1,0.464,0.999,0.446,0.997,0.5,0.945,0.481,0.945,0.461,0.949,0.443,0.956], + [0.446,0.997,0.377,0.99,0.311,0.968,0.252,0.934,0.443,0.956,0.37,0.986,0.288,0.956,0.251,0.887], + [0.252,0.934,0.236,0.925,0.221,0.915,0.206,0.905,0.251,0.887,0.242,0.869,0.229,0.854,0.215,0.841], + [0.206,0.905,0.191,0.894,0.177,0.882,0.164,0.87,0.215,0.841,0.2,0.829,0.182,0.819,0.163,0.813], + [0.164,0.87,0.113,0.824,0.072,0.768,0.044,0.705,0.163,0.813,0.089,0.789,0.045,0.713,0.062,0.637], + [0.044,0.705,0.037,0.689,0.03,0.672,0.024,0.655,0.062,0.637,0.066,0.617,0.066,0.597,0.063,0.578], + [0.024,0.655,0.019,0.637,0.014,0.62,0.01,0.602,0.063,0.578,0.059,0.559,0.052,0.54,0.042,0.524], + [0.01,0.602,-0.003,0.535,-0.003,0.465,0.01,0.398,0.042,0.524,0,0.458,0.015,0.371,0.077,0.323], + [0.01,0.398,0.014,0.38,0.019,0.363,0.024,0.345,0.077,0.323,0.093,0.311,0.106,0.296,0.115,0.279], + [0.024,0.345,0.03,0.328,0.037,0.311,0.044,0.295,0.115,0.279,0.125,0.262,0.132,0.243,0.134,0.224], + [0.044,0.295,0.072,0.232,0.113,0.176,0.164,0.13,0.134,0.224,0.145,0.146,0.212,0.09,0.29,0.093], + [0.164,0.13,0.177,0.118,0.191,0.106,0.206,0.095,0.29,0.093,0.31,0.093,0.33,0.09,0.348,0.084], + [0.206,0.095,0.221,0.085,0.236,0.075,0.252,0.066,0.348,0.084,0.366,0.077,0.383,0.067,0.398,0.053], + [0.252,0.066,0.327,0.023,0.413,0,0.5,0,0.398,0.053,0.449,0.007,0.524,0.002,0.581,0.037], + [0.5,0,0.516,0,0.532,0.001,0.548,0.002,0.581,0.037,0.588,0.042,0.595,0.047,0.602,0.053], + [0.548,0.002,0.621,0.009,0.691,0.032,0.753,0.069,0.602,0.053,0.631,0.08,0.67,0.094,0.71,0.093], + [0.753,0.069,0.767,0.077,0.781,0.086,0.794,0.095,0.71,0.093,0.719,0.092,0.728,0.093,0.736,0.094], + [0.794,0.095,0.865,0.147,0.92,0.216,0.956,0.295,0.736,0.094,0.803,0.103,0.856,0.155,0.866,0.224], + [0.956,0.295,0.963,0.311,0.97,0.328,0.976,0.345,0.866,0.224,0.868,0.243,0.875,0.262,0.885,0.279], + ], + enter: [ + [0.398,0.053,0.415,0.039,0.434,0.028,0.454,0.021,0.397,0.072,0.415,0.057,0.434,0.041,0.453,0.025], + [0.454,0.021,0.484,0.012,0.516,0.012,0.547,0.022,0.453,0.025,0.482,0,0.524,0,0.554,0.025], + [0.547,0.022,0.567,0.028,0.585,0.039,0.602,0.053,0.554,0.025,0.572,0.041,0.591,0.057,0.609,0.072], + [0.602,0.053,0.611,0.062,0.622,0.069,0.633,0.075,0.609,0.072,0.621,0.082,0.632,0.091,0.643,0.101], + [0.633,0.075,0.645,0.082,0.658,0.087,0.672,0.089,0.643,0.101,0.655,0.111,0.671,0.118,0.687,0.119], + [0.672,0.089,0.684,0.092,0.697,0.093,0.71,0.093,0.687,0.119,0.701,0.12,0.716,0.121,0.73,0.122], + [0.71,0.093,0.732,0.092,0.753,0.096,0.773,0.104,0.73,0.122,0.755,0.124,0.779,0.126,0.803,0.128], + [0.773,0.104,0.802,0.116,0.827,0.137,0.844,0.164,0.803,0.128,0.842,0.131,0.872,0.162,0.875,0.2], + [0.844,0.164,0.855,0.181,0.863,0.202,0.866,0.224,0.875,0.2,0.877,0.224,0.879,0.248,0.881,0.273], + [0.866,0.224,0.867,0.236,0.871,0.248,0.875,0.26,0.881,0.273,0.882,0.287,0.883,0.302,0.884,0.316], + [0.875,0.26,0.881,0.273,0.888,0.285,0.896,0.296,0.884,0.316,0.885,0.333,0.892,0.348,0.902,0.361], + [0.896,0.296,0.904,0.306,0.913,0.315,0.923,0.323,0.902,0.361,0.912,0.372,0.921,0.383,0.931,0.394], + [0.923,0.323,0.941,0.337,0.954,0.353,0.964,0.372,0.931,0.394,0.947,0.412,0.962,0.431,0.978,0.45], + [0.964,0.372,0.979,0.4,0.985,0.432,0.98,0.464,0.978,0.45,1.003,0.479,1.003,0.521,0.978,0.55], + [0.98,0.464,0.977,0.484,0.97,0.505,0.958,0.524,0.978,0.55,0.962,0.569,0.947,0.588,0.931,0.606], + [0.958,0.524,0.952,0.534,0.946,0.546,0.942,0.558,0.931,0.606,0.921,0.617,0.912,0.628,0.902,0.639], + [0.942,0.558,0.938,0.571,0.936,0.585,0.935,0.599,0.902,0.639,0.892,0.652,0.885,0.667,0.884,0.684], + [0.935,0.599,0.935,0.612,0.936,0.624,0.938,0.637,0.884,0.684,0.883,0.698,0.882,0.713,0.881,0.727], + [0.938,0.637,0.943,0.658,0.943,0.68,0.939,0.701,0.881,0.727,0.879,0.752,0.877,0.776,0.875,0.8], + [0.939,0.701,0.932,0.732,0.915,0.76,0.892,0.781,0.875,0.8,0.872,0.838,0.842,0.869,0.803,0.872], + [0.892,0.781,0.876,0.795,0.858,0.806,0.837,0.813,0.803,0.872,0.779,0.874,0.755,0.876,0.73,0.878], + [0.837,0.813,0.825,0.817,0.813,0.822,0.802,0.829,0.73,0.878,0.716,0.879,0.701,0.88,0.687,0.881], + [0.802,0.829,0.791,0.836,0.78,0.845,0.77,0.856,0.687,0.881,0.671,0.882,0.655,0.889,0.643,0.899], + [0.77,0.856,0.762,0.865,0.755,0.875,0.749,0.887,0.643,0.899,0.632,0.909,0.621,0.918,0.609,0.928], + [0.749,0.887,0.738,0.906,0.724,0.923,0.708,0.936,0.609,0.928,0.591,0.943,0.572,0.959,0.554,0.975], + [0.708,0.936,0.666,0.968,0.609,0.977,0.557,0.956,0.554,0.975,0.528,0.997,0.491,1,0.462,0.982], + [0.557,0.956,0.548,0.952,0.538,0.95,0.528,0.948,0.462,0.982,0.459,0.98,0.456,0.978,0.453,0.975], + [0.528,0.948,0.5,0.942,0.47,0.945,0.443,0.956,0.453,0.975,0.444,0.968,0.436,0.961,0.427,0.954], + [0.443,0.956,0.372,0.985,0.291,0.957,0.253,0.891,0.427,0.954,0.406,0.935,0.385,0.917,0.364,0.899], + [0.253,0.891,0.253,0.889,0.252,0.888,0.251,0.887,0.364,0.899,0.363,0.899,0.363,0.899,0.362,0.898], + [0.251,0.887,0.239,0.863,0.22,0.843,0.198,0.829,0.362,0.898,0.35,0.888,0.335,0.882,0.319,0.881], + [0.198,0.829,0.187,0.822,0.175,0.817,0.163,0.813,0.319,0.881,0.305,0.88,0.29,0.879,0.276,0.878], + [0.163,0.813,0.142,0.806,0.123,0.795,0.108,0.781,0.276,0.878,0.252,0.876,0.227,0.874,0.203,0.872], + [0.108,0.781,0.084,0.76,0.068,0.731,0.061,0.7,0.203,0.872,0.165,0.869,0.134,0.838,0.131,0.8], + [0.061,0.7,0.057,0.68,0.057,0.658,0.062,0.637,0.131,0.8,0.129,0.776,0.127,0.752,0.126,0.727], + [0.062,0.637,0.064,0.624,0.065,0.612,0.065,0.599,0.126,0.727,0.124,0.713,0.123,0.698,0.122,0.684], + [0.065,0.599,0.064,0.585,0.062,0.571,0.058,0.558,0.122,0.684,0.121,0.667,0.114,0.652,0.104,0.639], + [0.058,0.558,0.054,0.546,0.048,0.534,0.042,0.524,0.104,0.639,0.094,0.628,0.085,0.617,0.076,0.606], + [0.042,0.524,0.03,0.505,0.023,0.484,0.02,0.463,0.076,0.606,0.06,0.588,0.044,0.569,0.028,0.55], + [0.02,0.463,0.015,0.432,0.021,0.4,0.036,0.372,0.028,0.55,0.003,0.521,0.003,0.479,0.028,0.45], + [0.036,0.372,0.046,0.353,0.059,0.337,0.077,0.323,0.028,0.45,0.044,0.431,0.06,0.412,0.076,0.394], + [0.077,0.323,0.087,0.315,0.096,0.306,0.104,0.296,0.076,0.394,0.085,0.383,0.094,0.372,0.104,0.361], + [0.104,0.296,0.112,0.285,0.119,0.273,0.125,0.26,0.104,0.361,0.114,0.348,0.121,0.333,0.122,0.316], + [0.125,0.26,0.129,0.248,0.133,0.236,0.134,0.224,0.122,0.316,0.123,0.302,0.124,0.287,0.126,0.273], + [0.134,0.224,0.137,0.202,0.145,0.181,0.156,0.163,0.126,0.273,0.127,0.248,0.129,0.224,0.131,0.2], + [0.156,0.163,0.173,0.137,0.198,0.116,0.228,0.104,0.131,0.2,0.134,0.162,0.165,0.131,0.203,0.128], + [0.228,0.104,0.247,0.096,0.268,0.092,0.29,0.093,0.203,0.128,0.227,0.126,0.252,0.124,0.276,0.122], + [0.29,0.093,0.303,0.093,0.316,0.092,0.328,0.089,0.276,0.122,0.29,0.121,0.305,0.12,0.319,0.119], + [0.328,0.089,0.342,0.087,0.355,0.082,0.367,0.075,0.319,0.119,0.336,0.118,0.351,0.111,0.364,0.101], + [0.367,0.075,0.378,0.069,0.389,0.062,0.398,0.053,0.364,0.101,0.375,0.091,0.386,0.082,0.397,0.072], + ], + cycle: [ + [ + [0.978,0.45,1.003,0.479,1.003,0.521,0.978,0.55,0.943,0.302,0.953,0.323,0.96,0.346,0.962,0.37], + [0.978,0.55,0.953,0.58,0.928,0.61,0.902,0.639,0.962,0.37,0.966,0.407,0.959,0.445,0.941,0.48], + [0.902,0.639,0.901,0.642,0.899,0.644,0.897,0.646,0.941,0.48,0.939,0.482,0.938,0.485,0.936,0.487], + [0.897,0.646,0.894,0.651,0.892,0.655,0.89,0.66,0.936,0.487,0.934,0.491,0.931,0.496,0.929,0.5], + [0.89,0.66,0.887,0.668,0.885,0.676,0.884,0.684,0.929,0.5,0.933,0.507,0.936,0.514,0.94,0.522], + [0.884,0.684,0.884,0.684,0.884,0.684,0.884,0.684,0.94,0.522,0.94,0.522,0.94,0.522,0.94,0.522], + [0.884,0.684,0.881,0.723,0.878,0.762,0.875,0.8,0.94,0.522,0.96,0.559,0.966,0.599,0.961,0.637], + [0.875,0.8,0.872,0.838,0.842,0.869,0.803,0.872,0.961,0.637,0.957,0.673,0.942,0.707,0.919,0.735], + [0.803,0.872,0.765,0.875,0.726,0.878,0.687,0.881,0.919,0.735,0.896,0.763,0.864,0.786,0.826,0.797], + [0.687,0.881,0.684,0.881,0.681,0.882,0.678,0.882,0.826,0.797,0.823,0.798,0.821,0.799,0.818,0.799], + [0.678,0.882,0.673,0.883,0.668,0.885,0.663,0.887,0.818,0.799,0.813,0.801,0.808,0.802,0.803,0.803], + [0.663,0.887,0.656,0.89,0.649,0.894,0.643,0.899,0.803,0.803,0.801,0.811,0.798,0.819,0.796,0.826], + [0.643,0.899,0.643,0.899,0.642,0.899,0.642,0.9,0.796,0.826,0.796,0.827,0.796,0.827,0.796,0.827], + [0.642,0.9,0.613,0.925,0.583,0.95,0.554,0.975,0.796,0.827,0.784,0.867,0.76,0.9,0.729,0.923], + [0.554,0.975,0.524,1,0.482,1,0.453,0.975,0.729,0.923,0.701,0.945,0.666,0.959,0.63,0.962], + [0.453,0.975,0.423,0.95,0.393,0.925,0.364,0.899,0.63,0.962,0.594,0.966,0.555,0.959,0.52,0.941], + [0.364,0.899,0.361,0.897,0.359,0.896,0.357,0.894,0.52,0.941,0.518,0.939,0.515,0.938,0.513,0.936], + [0.357,0.894,0.352,0.891,0.348,0.889,0.343,0.887,0.513,0.936,0.509,0.934,0.504,0.931,0.5,0.929], + [0.343,0.887,0.335,0.884,0.328,0.882,0.319,0.881,0.5,0.929,0.493,0.933,0.486,0.936,0.478,0.94], + [0.319,0.881,0.319,0.881,0.319,0.881,0.319,0.881,0.478,0.94,0.478,0.94,0.478,0.94,0.478,0.94], + [0.319,0.881,0.28,0.878,0.241,0.875,0.203,0.872,0.478,0.94,0.441,0.96,0.401,0.966,0.363,0.961], + [0.203,0.872,0.165,0.869,0.134,0.838,0.131,0.8,0.363,0.961,0.327,0.957,0.293,0.942,0.265,0.919], + [0.131,0.8,0.128,0.762,0.125,0.723,0.122,0.684,0.265,0.919,0.237,0.896,0.214,0.864,0.203,0.826], + [0.122,0.684,0.122,0.681,0.121,0.678,0.121,0.675,0.203,0.826,0.202,0.823,0.201,0.821,0.201,0.818], + [0.121,0.675,0.12,0.67,0.118,0.665,0.116,0.66,0.201,0.818,0.199,0.813,0.198,0.808,0.197,0.803], + [0.116,0.66,0.113,0.653,0.109,0.646,0.104,0.639,0.197,0.803,0.189,0.801,0.181,0.798,0.174,0.796], + [0.104,0.639,0.104,0.639,0.104,0.639,0.104,0.639,0.174,0.796,0.173,0.796,0.173,0.796,0.173,0.796], + [0.104,0.639,0.078,0.61,0.053,0.58,0.028,0.55,0.173,0.796,0.133,0.784,0.1,0.76,0.077,0.729], + [0.028,0.55,0.003,0.521,0.003,0.479,0.028,0.45,0.077,0.729,0.033,0.673,0.023,0.594,0.057,0.525], + [0.028,0.45,0.029,0.448,0.03,0.447,0.031,0.446,0.057,0.525,0.059,0.521,0.061,0.517,0.064,0.513], + [0.031,0.446,0.032,0.445,0.033,0.443,0.034,0.442,0.064,0.513,0.066,0.509,0.069,0.504,0.071,0.5], + [0.034,0.442,0.036,0.44,0.038,0.438,0.04,0.436,0.071,0.5,0.067,0.493,0.064,0.485,0.06,0.478], + [0.04,0.436,0.061,0.411,0.082,0.386,0.104,0.361,0.06,0.478,0.01,0.386,0.045,0.275,0.129,0.223], + [0.104,0.361,0.108,0.356,0.111,0.35,0.114,0.345,0.129,0.223,0.145,0.213,0.163,0.206,0.182,0.201], + [0.114,0.345,0.115,0.343,0.116,0.341,0.116,0.34,0.182,0.201,0.187,0.199,0.192,0.198,0.197,0.197], + [0.116,0.34,0.12,0.332,0.121,0.324,0.122,0.316,0.197,0.197,0.199,0.189,0.202,0.181,0.204,0.174], + [0.122,0.316,0.122,0.316,0.122,0.316,0.122,0.316,0.204,0.174,0.204,0.173,0.204,0.173,0.204,0.173], + [0.122,0.316,0.125,0.277,0.128,0.238,0.131,0.2,0.204,0.173,0.216,0.133,0.24,0.1,0.271,0.077], + [0.131,0.2,0.134,0.162,0.165,0.131,0.203,0.128,0.271,0.077,0.299,0.055,0.334,0.041,0.37,0.038], + [0.203,0.128,0.242,0.125,0.28,0.122,0.319,0.119,0.37,0.038,0.406,0.034,0.445,0.041,0.48,0.059], + [0.319,0.119,0.322,0.119,0.325,0.118,0.328,0.118,0.48,0.059,0.482,0.061,0.485,0.062,0.487,0.064], + [0.328,0.118,0.333,0.117,0.338,0.115,0.343,0.113,0.487,0.064,0.491,0.066,0.496,0.069,0.5,0.071], + [0.343,0.113,0.35,0.11,0.357,0.106,0.364,0.101,0.5,0.071,0.507,0.067,0.514,0.064,0.522,0.06], + [0.364,0.101,0.364,0.101,0.364,0.101,0.364,0.1,0.522,0.06,0.522,0.06,0.522,0.06,0.522,0.06], + [0.364,0.1,0.393,0.075,0.423,0.05,0.453,0.025,0.522,0.06,0.559,0.04,0.599,0.034,0.637,0.039], + [0.453,0.025,0.482,0,0.524,0,0.554,0.025,0.637,0.039,0.673,0.043,0.707,0.058,0.735,0.081], + [0.554,0.025,0.583,0.05,0.613,0.075,0.643,0.101,0.735,0.081,0.763,0.104,0.786,0.136,0.797,0.174], + [0.643,0.101,0.645,0.103,0.647,0.104,0.649,0.106,0.797,0.174,0.798,0.177,0.799,0.179,0.799,0.182], + [0.649,0.106,0.654,0.109,0.658,0.111,0.663,0.113,0.799,0.182,0.801,0.187,0.802,0.192,0.803,0.197], + [0.663,0.113,0.671,0.116,0.679,0.118,0.687,0.119,0.803,0.197,0.806,0.198,0.808,0.198,0.811,0.199], + [0.687,0.119,0.703,0.12,0.72,0.122,0.736,0.123,0.811,0.199,0.816,0.201,0.821,0.202,0.827,0.204], + [0.736,0.123,0.759,0.125,0.781,0.127,0.803,0.128,0.827,0.204,0.834,0.206,0.842,0.209,0.849,0.212], + [0.803,0.128,0.842,0.131,0.872,0.162,0.875,0.2,0.849,0.212,0.86,0.217,0.871,0.223,0.881,0.23], + [0.875,0.2,0.878,0.238,0.881,0.277,0.884,0.316,0.881,0.23,0.892,0.238,0.902,0.247,0.911,0.256], + [0.884,0.316,0.885,0.333,0.892,0.348,0.902,0.361,0.911,0.256,0.915,0.26,0.918,0.264,0.922,0.269], + [0.902,0.361,0.928,0.39,0.953,0.42,0.978,0.45,0.922,0.269,0.93,0.279,0.937,0.29,0.943,0.302], + ], + [ + [0.5,0.071,0.507,0.067,0.515,0.064,0.522,0.06,0.62,0.132,0.627,0.134,0.634,0.135,0.642,0.134], + [0.522,0.06,0.527,0.057,0.531,0.055,0.536,0.053,0.642,0.134,0.646,0.133,0.651,0.132,0.655,0.13], + [0.536,0.053,0.569,0.039,0.603,0.034,0.635,0.038,0.655,0.13,0.683,0.119,0.711,0.107,0.739,0.096], + [0.635,0.038,0.673,0.043,0.708,0.058,0.737,0.083,0.739,0.096,0.774,0.081,0.813,0.109,0.81,0.148], + [0.737,0.083,0.761,0.103,0.78,0.129,0.792,0.16,0.81,0.148,0.808,0.178,0.806,0.208,0.803,0.238], + [0.792,0.16,0.795,0.167,0.797,0.175,0.799,0.182,0.803,0.238,0.803,0.246,0.804,0.253,0.806,0.26], + [0.799,0.182,0.801,0.187,0.802,0.192,0.803,0.197,0.806,0.26,0.808,0.264,0.81,0.268,0.813,0.272], + [0.803,0.197,0.811,0.199,0.819,0.202,0.827,0.204,0.813,0.272,0.818,0.278,0.823,0.283,0.83,0.287], + [0.827,0.204,0.832,0.206,0.837,0.207,0.842,0.209,0.83,0.287,0.834,0.289,0.838,0.291,0.843,0.292], + [0.842,0.209,0.875,0.222,0.902,0.244,0.922,0.269,0.843,0.292,0.872,0.299,0.901,0.306,0.93,0.313], + [0.922,0.269,0.945,0.299,0.959,0.335,0.963,0.373,0.93,0.313,0.968,0.322,0.983,0.368,0.958,0.397], + [0.963,0.373,0.965,0.404,0.96,0.436,0.947,0.466,0.958,0.397,0.938,0.42,0.919,0.443,0.9,0.466], + [0.947,0.466,0.944,0.473,0.94,0.48,0.936,0.487,0.9,0.466,0.895,0.472,0.891,0.479,0.889,0.486], + [0.936,0.487,0.934,0.491,0.931,0.496,0.929,0.5,0.889,0.486,0.888,0.49,0.887,0.495,0.887,0.5], + [0.929,0.5,0.933,0.507,0.936,0.515,0.94,0.522,0.887,0.5,0.887,0.507,0.889,0.515,0.892,0.522], + [0.94,0.522,0.943,0.527,0.945,0.531,0.947,0.536,0.892,0.522,0.894,0.526,0.897,0.53,0.9,0.533], + [0.947,0.536,0.961,0.569,0.966,0.603,0.962,0.635,0.9,0.533,0.919,0.556,0.939,0.579,0.958,0.602], + [0.962,0.635,0.957,0.673,0.942,0.708,0.917,0.737,0.958,0.602,0.983,0.631,0.968,0.677,0.931,0.686], + [0.917,0.737,0.897,0.761,0.871,0.78,0.84,0.792,0.931,0.686,0.902,0.693,0.872,0.7,0.843,0.708], + [0.84,0.792,0.833,0.795,0.825,0.797,0.818,0.799,0.843,0.708,0.836,0.709,0.829,0.713,0.823,0.717], + [0.818,0.799,0.813,0.801,0.808,0.802,0.803,0.803,0.823,0.717,0.82,0.72,0.816,0.724,0.813,0.728], + [0.803,0.803,0.801,0.811,0.798,0.819,0.796,0.827,0.813,0.728,0.809,0.734,0.806,0.741,0.804,0.748], + [0.796,0.827,0.794,0.832,0.793,0.837,0.791,0.842,0.804,0.748,0.804,0.753,0.803,0.757,0.804,0.762], + [0.791,0.842,0.778,0.875,0.756,0.902,0.731,0.922,0.804,0.762,0.806,0.792,0.808,0.822,0.811,0.852], + [0.731,0.922,0.711,0.938,0.688,0.949,0.663,0.956,0.811,0.852,0.813,0.89,0.775,0.918,0.739,0.904], + [0.663,0.956,0.653,0.959,0.642,0.961,0.632,0.962,0.739,0.904,0.711,0.892,0.683,0.881,0.655,0.87], + [0.632,0.962,0.623,0.963,0.615,0.964,0.606,0.963,0.655,0.87,0.632,0.86,0.605,0.869,0.592,0.89], + [0.606,0.963,0.596,0.963,0.585,0.962,0.575,0.96,0.592,0.89,0.576,0.916,0.56,0.942,0.544,0.967], + [0.575,0.96,0.563,0.958,0.551,0.954,0.54,0.95,0.544,0.967,0.524,1,0.477,1,0.456,0.967], + [0.54,0.95,0.531,0.946,0.522,0.942,0.513,0.936,0.456,0.967,0.442,0.944,0.427,0.92,0.412,0.896], + [0.513,0.936,0.512,0.936,0.512,0.936,0.511,0.935,0.412,0.896,0.411,0.894,0.41,0.892,0.409,0.89], + [0.511,0.935,0.507,0.933,0.504,0.931,0.5,0.929,0.409,0.89,0.402,0.88,0.392,0.872,0.38,0.868], + [0.5,0.929,0.493,0.933,0.485,0.936,0.478,0.94,0.38,0.868,0.373,0.866,0.366,0.865,0.358,0.866], + [0.478,0.94,0.473,0.943,0.469,0.945,0.464,0.947,0.358,0.866,0.354,0.867,0.349,0.868,0.345,0.87], + [0.464,0.947,0.431,0.961,0.397,0.966,0.365,0.962,0.345,0.87,0.317,0.881,0.289,0.893,0.261,0.904], + [0.365,0.962,0.327,0.957,0.292,0.942,0.263,0.917,0.261,0.904,0.226,0.919,0.187,0.891,0.19,0.852], + [0.263,0.917,0.239,0.897,0.22,0.871,0.208,0.84,0.19,0.852,0.192,0.822,0.194,0.792,0.197,0.762], + [0.208,0.84,0.205,0.833,0.203,0.825,0.201,0.818,0.197,0.762,0.197,0.754,0.196,0.747,0.194,0.74], + [0.201,0.818,0.199,0.813,0.198,0.808,0.197,0.803,0.194,0.74,0.192,0.736,0.19,0.732,0.187,0.728], + [0.197,0.803,0.189,0.801,0.181,0.798,0.173,0.796,0.187,0.728,0.182,0.722,0.177,0.717,0.17,0.713], + [0.173,0.796,0.168,0.794,0.163,0.793,0.158,0.791,0.17,0.713,0.166,0.711,0.162,0.709,0.157,0.708], + [0.158,0.791,0.125,0.778,0.098,0.756,0.078,0.731,0.157,0.708,0.128,0.701,0.099,0.694,0.07,0.687], + [0.078,0.731,0.055,0.701,0.041,0.665,0.037,0.627,0.07,0.687,0.032,0.678,0.017,0.632,0.042,0.603], + [0.037,0.627,0.035,0.596,0.04,0.564,0.053,0.534,0.042,0.603,0.062,0.58,0.081,0.557,0.1,0.534], + [0.053,0.534,0.056,0.527,0.06,0.52,0.064,0.513,0.1,0.534,0.105,0.528,0.109,0.521,0.111,0.514], + [0.064,0.513,0.066,0.509,0.069,0.504,0.071,0.5,0.111,0.514,0.112,0.51,0.113,0.505,0.113,0.5], + [0.071,0.5,0.067,0.493,0.064,0.485,0.06,0.478,0.113,0.5,0.113,0.493,0.111,0.485,0.108,0.478], + [0.06,0.478,0.057,0.473,0.055,0.469,0.053,0.464,0.108,0.478,0.106,0.474,0.103,0.47,0.1,0.467], + [0.053,0.464,0.039,0.431,0.034,0.397,0.038,0.365,0.1,0.467,0.081,0.444,0.061,0.421,0.042,0.398], + [0.038,0.365,0.043,0.327,0.058,0.292,0.083,0.263,0.042,0.398,0.017,0.369,0.032,0.323,0.069,0.314], + [0.083,0.263,0.103,0.239,0.129,0.22,0.16,0.208,0.069,0.314,0.098,0.307,0.128,0.3,0.157,0.292], + [0.16,0.208,0.167,0.205,0.175,0.203,0.182,0.201,0.157,0.292,0.164,0.291,0.171,0.287,0.177,0.283], + [0.182,0.201,0.187,0.199,0.192,0.198,0.197,0.197,0.177,0.283,0.18,0.28,0.184,0.276,0.187,0.272], + [0.197,0.197,0.199,0.189,0.202,0.181,0.204,0.173,0.187,0.272,0.191,0.266,0.194,0.259,0.196,0.252], + [0.204,0.173,0.206,0.168,0.207,0.163,0.209,0.158,0.196,0.252,0.196,0.247,0.197,0.243,0.196,0.238], + [0.209,0.158,0.222,0.125,0.244,0.098,0.269,0.078,0.196,0.238,0.194,0.208,0.192,0.178,0.189,0.148], + [0.269,0.078,0.289,0.062,0.312,0.051,0.337,0.044,0.189,0.148,0.187,0.11,0.225,0.082,0.261,0.096], + [0.337,0.044,0.347,0.041,0.358,0.039,0.368,0.038,0.261,0.096,0.289,0.108,0.317,0.119,0.345,0.13], + [0.368,0.038,0.377,0.037,0.385,0.036,0.394,0.037,0.345,0.13,0.368,0.14,0.395,0.131,0.408,0.11], + [0.394,0.037,0.404,0.037,0.415,0.038,0.425,0.04,0.408,0.11,0.424,0.084,0.44,0.058,0.456,0.033], + [0.425,0.04,0.437,0.042,0.449,0.046,0.46,0.05,0.456,0.033,0.476,0,0.523,0,0.544,0.033], + [0.46,0.05,0.469,0.054,0.478,0.058,0.487,0.064,0.544,0.033,0.558,0.056,0.573,0.08,0.588,0.104], + [0.487,0.064,0.488,0.064,0.488,0.064,0.489,0.065,0.588,0.104,0.589,0.106,0.59,0.108,0.591,0.11], + [0.489,0.065,0.493,0.067,0.496,0.069,0.5,0.071,0.591,0.11,0.598,0.12,0.608,0.128,0.62,0.132], + ], + [ + [0.157,0.292,0.169,0.289,0.18,0.282,0.187,0.272,0.159,0.38,0.168,0.377,0.177,0.373,0.186,0.37], + [0.187,0.272,0.194,0.263,0.197,0.251,0.196,0.238,0.186,0.37,0.176,0.35,0.166,0.33,0.156,0.309], + [0.196,0.238,0.196,0.235,0.196,0.233,0.196,0.23,0.156,0.309,0.153,0.305,0.151,0.3,0.149,0.296], + [0.196,0.23,0.194,0.209,0.192,0.188,0.191,0.167,0.149,0.296,0.131,0.259,0.124,0.218,0.129,0.178], + [0.191,0.167,0.19,0.161,0.19,0.155,0.19,0.149,0.129,0.178,0.131,0.167,0.136,0.157,0.144,0.149], + [0.19,0.149,0.19,0.149,0.189,0.149,0.189,0.148,0.144,0.149,0.144,0.149,0.145,0.148,0.145,0.148], + [0.189,0.148,0.189,0.147,0.189,0.146,0.189,0.145,0.145,0.148,0.146,0.147,0.147,0.145,0.149,0.144], + [0.189,0.145,0.189,0.139,0.19,0.133,0.192,0.128,0.149,0.144,0.156,0.136,0.167,0.131,0.177,0.13], + [0.192,0.128,0.201,0.101,0.232,0.085,0.261,0.096,0.177,0.13,0.212,0.125,0.246,0.129,0.278,0.142], + [0.261,0.096,0.268,0.099,0.275,0.102,0.282,0.105,0.278,0.142,0.284,0.144,0.289,0.146,0.295,0.149], + [0.282,0.105,0.303,0.113,0.324,0.122,0.345,0.13,0.295,0.149,0.311,0.157,0.327,0.165,0.344,0.173], + [0.345,0.13,0.356,0.135,0.369,0.135,0.38,0.132,0.344,0.173,0.352,0.178,0.361,0.182,0.37,0.186], + [0.38,0.132,0.392,0.128,0.402,0.12,0.408,0.11,0.37,0.186,0.375,0.17,0.381,0.153,0.386,0.136], + [0.408,0.11,0.412,0.104,0.416,0.098,0.419,0.092,0.386,0.136,0.39,0.127,0.393,0.117,0.396,0.107], + [0.419,0.092,0.431,0.072,0.443,0.053,0.456,0.033,0.396,0.107,0.407,0.075,0.426,0.046,0.45,0.023], + [0.456,0.033,0.458,0.029,0.461,0.025,0.464,0.022,0.45,0.023,0.455,0.019,0.46,0.014,0.465,0.01], + [0.464,0.022,0.47,0.017,0.477,0.013,0.484,0.011,0.465,0.01,0.474,0.004,0.485,0,0.496,0], + [0.484,0.011,0.486,0.01,0.487,0.01,0.489,0.009,0.496,0,0.498,0,0.501,0,0.503,0], + [0.489,0.009,0.497,0.008,0.505,0.008,0.513,0.01,0.503,0,0.514,0,0.525,0.004,0.534,0.01], + [0.513,0.01,0.525,0.013,0.536,0.021,0.544,0.033,0.534,0.01,0.546,0.02,0.558,0.031,0.568,0.043], + [0.544,0.033,0.554,0.049,0.565,0.066,0.575,0.083,0.568,0.043,0.583,0.062,0.595,0.084,0.603,0.107], + [0.575,0.083,0.58,0.092,0.586,0.101,0.591,0.11,0.603,0.107,0.607,0.119,0.611,0.132,0.615,0.144], + [0.591,0.11,0.598,0.12,0.608,0.128,0.62,0.132,0.615,0.144,0.62,0.158,0.625,0.172,0.63,0.186], + [0.62,0.132,0.631,0.135,0.644,0.135,0.655,0.13,0.63,0.186,0.638,0.182,0.647,0.177,0.656,0.173], + [0.655,0.13,0.676,0.122,0.697,0.113,0.717,0.105,0.656,0.173,0.672,0.165,0.688,0.157,0.704,0.149], + [0.717,0.105,0.724,0.102,0.731,0.099,0.739,0.096,0.704,0.149,0.71,0.146,0.716,0.144,0.721,0.141], + [0.739,0.096,0.767,0.084,0.798,0.1,0.807,0.127,0.721,0.141,0.753,0.129,0.788,0.125,0.822,0.129], + [0.807,0.127,0.809,0.133,0.81,0.139,0.81,0.145,0.822,0.129,0.833,0.131,0.843,0.136,0.851,0.144], + [0.81,0.145,0.81,0.146,0.81,0.147,0.81,0.148,0.851,0.144,0.852,0.145,0.853,0.146,0.854,0.147], + [0.81,0.148,0.81,0.148,0.81,0.149,0.81,0.149,0.854,0.147,0.855,0.147,0.855,0.148,0.856,0.149], + [0.81,0.149,0.809,0.155,0.809,0.16,0.809,0.166,0.856,0.149,0.864,0.156,0.869,0.167,0.87,0.177], + [0.809,0.166,0.807,0.187,0.806,0.209,0.804,0.23,0.87,0.177,0.876,0.218,0.869,0.259,0.851,0.295], + [0.804,0.23,0.804,0.233,0.804,0.235,0.803,0.238,0.851,0.295,0.849,0.3,0.846,0.304,0.844,0.309], + [0.803,0.238,0.803,0.251,0.806,0.263,0.813,0.272,0.844,0.309,0.834,0.329,0.824,0.349,0.814,0.37], + [0.813,0.272,0.82,0.282,0.831,0.289,0.843,0.292,0.814,0.37,0.823,0.373,0.832,0.376,0.841,0.379], + [0.843,0.292,0.865,0.297,0.886,0.303,0.908,0.308,0.841,0.379,0.858,0.385,0.876,0.39,0.893,0.396], + [0.908,0.308,0.916,0.31,0.923,0.312,0.93,0.313,0.893,0.396,0.899,0.398,0.904,0.4,0.91,0.403], + [0.93,0.313,0.968,0.322,0.983,0.368,0.958,0.397,0.91,0.403,0.932,0.412,0.951,0.425,0.968,0.441], + [0.958,0.397,0.945,0.412,0.932,0.428,0.92,0.443,0.968,0.441,0.976,0.449,0.983,0.457,0.99,0.465], + [0.92,0.443,0.913,0.451,0.906,0.458,0.9,0.466,0.99,0.465,0.993,0.47,0.996,0.475,0.997,0.48], + [0.9,0.466,0.893,0.474,0.889,0.484,0.888,0.493,0.997,0.48,0.999,0.485,1,0.491,1,0.496], + [0.888,0.493,0.887,0.497,0.887,0.502,0.888,0.506,1,0.496,1,0.498,1,0.501,1,0.503], + [0.888,0.506,0.889,0.516,0.893,0.525,0.9,0.533,1,0.503,1,0.509,0.999,0.514,0.997,0.519], + [0.9,0.533,0.906,0.541,0.913,0.549,0.919,0.557,0.997,0.519,0.996,0.524,0.993,0.529,0.99,0.534], + [0.919,0.557,0.932,0.572,0.945,0.587,0.958,0.602,0.99,0.534,0.983,0.542,0.976,0.55,0.968,0.558], + [0.958,0.602,0.983,0.631,0.968,0.677,0.931,0.686,0.968,0.558,0.951,0.574,0.932,0.587,0.91,0.596], + [0.931,0.686,0.923,0.688,0.916,0.69,0.908,0.692,0.91,0.596,0.905,0.599,0.899,0.601,0.893,0.603], + [0.908,0.692,0.887,0.697,0.865,0.702,0.843,0.708,0.893,0.603,0.876,0.609,0.859,0.615,0.841,0.62], + [0.843,0.708,0.831,0.711,0.82,0.718,0.813,0.728,0.841,0.62,0.832,0.623,0.823,0.627,0.814,0.63], + [0.813,0.728,0.806,0.737,0.803,0.749,0.804,0.762,0.814,0.63,0.824,0.65,0.834,0.67,0.844,0.691], + [0.804,0.762,0.804,0.765,0.804,0.767,0.804,0.77,0.844,0.691,0.847,0.695,0.849,0.7,0.851,0.704], + [0.804,0.77,0.806,0.791,0.808,0.812,0.809,0.833,0.851,0.704,0.869,0.741,0.876,0.782,0.871,0.822], + [0.809,0.833,0.81,0.839,0.81,0.845,0.81,0.851,0.871,0.822,0.869,0.833,0.864,0.843,0.856,0.851], + [0.81,0.851,0.81,0.851,0.811,0.851,0.811,0.852,0.856,0.851,0.856,0.851,0.855,0.852,0.855,0.852], + [0.811,0.852,0.811,0.853,0.811,0.854,0.811,0.855,0.855,0.852,0.854,0.853,0.853,0.855,0.851,0.856], + [0.811,0.855,0.811,0.861,0.81,0.867,0.808,0.872,0.851,0.856,0.844,0.864,0.833,0.869,0.823,0.87], + [0.808,0.872,0.799,0.899,0.768,0.915,0.739,0.904,0.823,0.87,0.788,0.875,0.754,0.871,0.722,0.858], + [0.739,0.904,0.732,0.901,0.725,0.898,0.718,0.895,0.722,0.858,0.716,0.856,0.711,0.854,0.705,0.851], + [0.718,0.895,0.697,0.887,0.676,0.878,0.655,0.87,0.705,0.851,0.689,0.843,0.673,0.835,0.656,0.827], + [0.655,0.87,0.644,0.865,0.631,0.865,0.62,0.868,0.656,0.827,0.648,0.822,0.639,0.818,0.63,0.814], + [0.62,0.868,0.608,0.872,0.598,0.88,0.592,0.89,0.63,0.814,0.625,0.83,0.619,0.847,0.614,0.864], + [0.592,0.89,0.588,0.896,0.584,0.902,0.581,0.908,0.614,0.864,0.61,0.873,0.607,0.883,0.604,0.893], + [0.581,0.908,0.569,0.928,0.557,0.947,0.544,0.967,0.604,0.893,0.593,0.925,0.574,0.954,0.55,0.977], + [0.544,0.967,0.542,0.971,0.539,0.975,0.536,0.978,0.55,0.977,0.545,0.981,0.54,0.986,0.535,0.99], + [0.536,0.978,0.53,0.983,0.523,0.987,0.516,0.989,0.535,0.99,0.526,0.996,0.515,1,0.504,1], + [0.516,0.989,0.514,0.99,0.513,0.99,0.511,0.991,0.504,1,0.502,1,0.499,1,0.497,1], + [0.511,0.991,0.503,0.992,0.495,0.992,0.487,0.99,0.497,1,0.486,1,0.475,0.996,0.466,0.99], + [0.487,0.99,0.475,0.987,0.464,0.979,0.456,0.967,0.466,0.99,0.454,0.98,0.442,0.969,0.432,0.957], + [0.456,0.967,0.446,0.951,0.435,0.934,0.425,0.917,0.432,0.957,0.417,0.938,0.405,0.916,0.397,0.893], + [0.425,0.917,0.42,0.908,0.414,0.899,0.409,0.89,0.397,0.893,0.393,0.881,0.389,0.868,0.385,0.856], + [0.409,0.89,0.402,0.88,0.392,0.872,0.38,0.868,0.385,0.856,0.38,0.842,0.375,0.828,0.37,0.814], + [0.38,0.868,0.369,0.865,0.356,0.865,0.345,0.87,0.37,0.814,0.362,0.818,0.353,0.823,0.344,0.827], + [0.345,0.87,0.324,0.878,0.303,0.887,0.283,0.895,0.344,0.827,0.328,0.835,0.312,0.843,0.296,0.851], + [0.283,0.895,0.276,0.898,0.269,0.901,0.261,0.904,0.296,0.851,0.29,0.854,0.284,0.856,0.279,0.859], + [0.261,0.904,0.233,0.916,0.202,0.9,0.193,0.873,0.279,0.859,0.247,0.871,0.212,0.875,0.178,0.871], + [0.193,0.873,0.191,0.867,0.19,0.861,0.19,0.855,0.178,0.871,0.167,0.869,0.157,0.864,0.149,0.856], + [0.19,0.855,0.19,0.854,0.19,0.853,0.19,0.852,0.149,0.856,0.148,0.855,0.147,0.854,0.146,0.853], + [0.19,0.852,0.19,0.852,0.19,0.851,0.19,0.851,0.146,0.853,0.145,0.853,0.145,0.852,0.144,0.851], + [0.19,0.851,0.191,0.845,0.191,0.84,0.191,0.834,0.144,0.851,0.136,0.844,0.131,0.833,0.13,0.823], + [0.191,0.834,0.193,0.813,0.194,0.791,0.196,0.77,0.13,0.823,0.124,0.782,0.131,0.741,0.149,0.705], + [0.196,0.77,0.196,0.767,0.196,0.765,0.197,0.762,0.149,0.705,0.151,0.7,0.154,0.696,0.156,0.691], + [0.197,0.762,0.197,0.749,0.194,0.737,0.187,0.728,0.156,0.691,0.166,0.671,0.176,0.651,0.186,0.63], + [0.187,0.728,0.18,0.718,0.169,0.711,0.157,0.708,0.186,0.63,0.177,0.627,0.168,0.624,0.159,0.621], + [0.157,0.708,0.135,0.703,0.114,0.697,0.092,0.692,0.159,0.621,0.142,0.615,0.124,0.61,0.107,0.604], + [0.092,0.692,0.084,0.69,0.077,0.688,0.07,0.687,0.107,0.604,0.101,0.602,0.096,0.6,0.09,0.597], + [0.07,0.687,0.032,0.678,0.017,0.632,0.042,0.603,0.09,0.597,0.068,0.588,0.049,0.575,0.032,0.559], + [0.042,0.603,0.055,0.588,0.068,0.572,0.08,0.557,0.032,0.559,0.024,0.551,0.017,0.543,0.01,0.535], + [0.08,0.557,0.087,0.549,0.094,0.542,0.1,0.534,0.01,0.535,0.007,0.53,0.004,0.525,0.003,0.52], + [0.1,0.534,0.107,0.526,0.111,0.516,0.112,0.507,0.003,0.52,0.001,0.515,0,0.509,0,0.504], + [0.112,0.507,0.113,0.503,0.113,0.498,0.112,0.494,0,0.504,0,0.502,0,0.499,0,0.497], + [0.112,0.494,0.111,0.484,0.107,0.475,0.1,0.467,0,0.497,0,0.491,0.001,0.486,0.003,0.481], + [0.1,0.467,0.094,0.459,0.087,0.451,0.081,0.443,0.003,0.481,0.004,0.476,0.007,0.471,0.01,0.466], + [0.081,0.443,0.068,0.428,0.055,0.413,0.042,0.398,0.01,0.466,0.017,0.458,0.024,0.45,0.032,0.442], + [0.042,0.398,0.017,0.369,0.032,0.323,0.069,0.314,0.032,0.442,0.049,0.426,0.068,0.413,0.09,0.404], + [0.069,0.314,0.077,0.312,0.084,0.31,0.092,0.308,0.09,0.404,0.095,0.401,0.101,0.399,0.107,0.397], + [0.092,0.308,0.113,0.303,0.135,0.298,0.157,0.292,0.107,0.397,0.124,0.391,0.141,0.385,0.159,0.38], + ], + [ + [0.37,0.186,0.379,0.16,0.387,0.134,0.396,0.107,0.205,0.079,0.221,0.072,0.238,0.067,0.256,0.064], + [0.396,0.107,0.409,0.069,0.433,0.035,0.465,0.01,0.256,0.064,0.281,0.061,0.307,0.061,0.334,0.067], + [0.465,0.01,0.474,0.004,0.485,0,0.496,0,0.334,0.067,0.34,0.069,0.347,0.07,0.354,0.072], + [0.496,0,0.498,0,0.501,0,0.503,0,0.354,0.072,0.356,0.073,0.357,0.073,0.358,0.074], + [0.503,0,0.514,0,0.525,0.004,0.534,0.01,0.358,0.074,0.365,0.076,0.372,0.079,0.378,0.081], + [0.534,0.01,0.534,0.01,0.534,0.01,0.534,0.01,0.378,0.081,0.378,0.081,0.378,0.081,0.378,0.081], + [0.534,0.01,0.553,0.025,0.569,0.043,0.582,0.063,0.378,0.081,0.392,0.087,0.406,0.093,0.419,0.099], + [0.582,0.063,0.591,0.076,0.598,0.091,0.603,0.107,0.419,0.099,0.429,0.103,0.439,0.107,0.449,0.109], + [0.603,0.107,0.612,0.133,0.621,0.16,0.63,0.186,0.449,0.109,0.465,0.114,0.483,0.116,0.5,0.116], + [0.63,0.186,0.651,0.175,0.672,0.165,0.694,0.154,0.5,0.116,0.528,0.116,0.555,0.11,0.581,0.099], + [0.694,0.154,0.697,0.152,0.701,0.151,0.704,0.149,0.581,0.099,0.585,0.097,0.589,0.095,0.593,0.094], + [0.704,0.149,0.712,0.145,0.72,0.141,0.729,0.139,0.593,0.094,0.603,0.089,0.612,0.085,0.621,0.081], + [0.729,0.139,0.758,0.128,0.79,0.125,0.822,0.129,0.621,0.081,0.66,0.065,0.698,0.06,0.734,0.063], + [0.822,0.129,0.833,0.131,0.843,0.136,0.851,0.144,0.734,0.063,0.747,0.064,0.76,0.067,0.773,0.071], + [0.851,0.144,0.852,0.145,0.854,0.147,0.856,0.149,0.773,0.071,0.775,0.071,0.778,0.072,0.781,0.073], + [0.856,0.149,0.864,0.156,0.869,0.167,0.87,0.177,0.781,0.073,0.793,0.077,0.805,0.082,0.816,0.088], + [0.87,0.177,0.876,0.218,0.869,0.259,0.851,0.295,0.816,0.088,0.848,0.105,0.876,0.13,0.897,0.16], + [0.851,0.295,0.838,0.32,0.826,0.345,0.814,0.37,0.897,0.16,0.907,0.174,0.916,0.19,0.922,0.207], + [0.814,0.37,0.84,0.379,0.866,0.387,0.893,0.396,0.922,0.207,0.929,0.223,0.933,0.24,0.936,0.258], + [0.893,0.396,0.931,0.409,0.965,0.433,0.99,0.465,0.936,0.258,0.939,0.282,0.939,0.308,0.933,0.334], + [0.99,0.465,0.996,0.474,1,0.485,1,0.496,0.933,0.334,0.932,0.341,0.93,0.347,0.928,0.354], + [1,0.496,1,0.498,1,0.501,1,0.503,0.928,0.354,0.927,0.356,0.927,0.357,0.926,0.359], + [1,0.503,1,0.514,0.996,0.525,0.99,0.534,0.926,0.359,0.924,0.365,0.922,0.372,0.919,0.378], + [0.99,0.534,0.99,0.534,0.99,0.534,0.99,0.534,0.919,0.378,0.919,0.378,0.919,0.378,0.919,0.378], + [0.99,0.534,0.975,0.553,0.957,0.569,0.937,0.582,0.919,0.378,0.913,0.392,0.907,0.405,0.901,0.419], + [0.937,0.582,0.924,0.591,0.909,0.598,0.893,0.603,0.901,0.419,0.897,0.429,0.894,0.438,0.891,0.448], + [0.893,0.603,0.867,0.612,0.84,0.621,0.814,0.63,0.891,0.448,0.887,0.465,0.884,0.483,0.884,0.5], + [0.814,0.63,0.825,0.651,0.835,0.672,0.846,0.694,0.884,0.5,0.884,0.528,0.89,0.555,0.901,0.581], + [0.846,0.694,0.848,0.697,0.849,0.701,0.851,0.704,0.901,0.581,0.903,0.585,0.905,0.589,0.907,0.593], + [0.851,0.704,0.855,0.712,0.859,0.72,0.861,0.729,0.907,0.593,0.911,0.603,0.915,0.612,0.919,0.621], + [0.861,0.729,0.872,0.758,0.875,0.79,0.871,0.822,0.919,0.621,0.935,0.66,0.941,0.698,0.937,0.734], + [0.871,0.822,0.869,0.833,0.864,0.843,0.856,0.851,0.937,0.734,0.936,0.747,0.933,0.76,0.93,0.772], + [0.856,0.851,0.855,0.852,0.853,0.854,0.851,0.856,0.93,0.772,0.929,0.775,0.928,0.778,0.927,0.781], + [0.851,0.856,0.844,0.864,0.833,0.869,0.823,0.87,0.927,0.781,0.923,0.793,0.918,0.805,0.912,0.816], + [0.823,0.87,0.782,0.876,0.741,0.869,0.705,0.851,0.912,0.816,0.895,0.848,0.87,0.876,0.84,0.897], + [0.705,0.851,0.68,0.838,0.655,0.826,0.63,0.814,0.84,0.897,0.826,0.907,0.81,0.916,0.794,0.922], + [0.63,0.814,0.621,0.84,0.613,0.866,0.604,0.893,0.794,0.922,0.777,0.929,0.76,0.933,0.742,0.936], + [0.604,0.893,0.591,0.931,0.567,0.965,0.535,0.99,0.742,0.936,0.718,0.939,0.692,0.938,0.666,0.933], + [0.535,0.99,0.526,0.996,0.515,1,0.504,1,0.666,0.933,0.659,0.931,0.653,0.93,0.646,0.927], + [0.504,1,0.502,1,0.499,1,0.497,1,0.646,0.927,0.645,0.927,0.643,0.927,0.642,0.926], + [0.497,1,0.486,1,0.475,0.996,0.466,0.99,0.642,0.926,0.635,0.924,0.629,0.921,0.622,0.919], + [0.466,0.99,0.466,0.99,0.466,0.99,0.466,0.99,0.622,0.919,0.622,0.919,0.622,0.919,0.622,0.919], + [0.466,0.99,0.447,0.975,0.431,0.957,0.418,0.937,0.622,0.919,0.608,0.913,0.595,0.907,0.581,0.901], + [0.418,0.937,0.409,0.924,0.402,0.909,0.397,0.893,0.581,0.901,0.572,0.897,0.562,0.893,0.552,0.891], + [0.397,0.893,0.388,0.867,0.379,0.84,0.37,0.814,0.552,0.891,0.535,0.886,0.517,0.884,0.5,0.884], + [0.37,0.814,0.349,0.825,0.328,0.835,0.306,0.846,0.5,0.884,0.473,0.884,0.445,0.89,0.419,0.901], + [0.306,0.846,0.303,0.848,0.299,0.849,0.296,0.851,0.419,0.901,0.415,0.903,0.411,0.905,0.407,0.906], + [0.296,0.851,0.288,0.855,0.28,0.859,0.271,0.861,0.407,0.906,0.398,0.911,0.388,0.915,0.379,0.919], + [0.271,0.861,0.242,0.872,0.21,0.875,0.178,0.871,0.379,0.919,0.341,0.935,0.302,0.94,0.266,0.937], + [0.178,0.871,0.167,0.869,0.157,0.864,0.149,0.856,0.266,0.937,0.253,0.936,0.24,0.933,0.228,0.929], + [0.149,0.856,0.148,0.855,0.146,0.853,0.144,0.851,0.228,0.929,0.225,0.929,0.222,0.928,0.22,0.927], + [0.144,0.851,0.136,0.844,0.131,0.833,0.13,0.823,0.22,0.927,0.207,0.923,0.195,0.918,0.184,0.912], + [0.13,0.823,0.124,0.782,0.131,0.741,0.149,0.705,0.184,0.912,0.152,0.895,0.124,0.87,0.103,0.84], + [0.149,0.705,0.162,0.68,0.174,0.655,0.186,0.63,0.103,0.84,0.093,0.826,0.085,0.81,0.078,0.793], + [0.186,0.63,0.16,0.621,0.134,0.613,0.107,0.604,0.078,0.793,0.072,0.777,0.067,0.76,0.064,0.742], + [0.107,0.604,0.069,0.591,0.035,0.567,0.01,0.535,0.064,0.742,0.061,0.718,0.062,0.692,0.067,0.666], + [0.01,0.535,0.004,0.526,0,0.515,0,0.504,0.067,0.666,0.069,0.659,0.071,0.653,0.073,0.646], + [0,0.504,0,0.502,0,0.499,0,0.497,0.073,0.646,0.073,0.644,0.074,0.643,0.074,0.641], + [0,0.497,0,0.486,0.004,0.475,0.01,0.466,0.074,0.641,0.076,0.635,0.079,0.628,0.082,0.622], + [0.01,0.466,0.01,0.466,0.01,0.466,0.01,0.466,0.082,0.622,0.082,0.622,0.082,0.622,0.082,0.622], + [0.01,0.466,0.025,0.447,0.043,0.431,0.063,0.418,0.082,0.622,0.087,0.608,0.093,0.595,0.099,0.581], + [0.063,0.418,0.076,0.409,0.091,0.402,0.107,0.397,0.099,0.581,0.103,0.571,0.107,0.562,0.109,0.552], + [0.107,0.397,0.133,0.388,0.16,0.379,0.186,0.37,0.109,0.552,0.114,0.535,0.116,0.517,0.116,0.5], + [0.186,0.37,0.175,0.349,0.165,0.328,0.154,0.306,0.116,0.5,0.116,0.472,0.11,0.445,0.099,0.419], + [0.154,0.306,0.152,0.303,0.151,0.299,0.149,0.296,0.099,0.419,0.097,0.415,0.095,0.411,0.094,0.407], + [0.149,0.296,0.145,0.288,0.141,0.28,0.139,0.271,0.094,0.407,0.09,0.397,0.086,0.388,0.082,0.379], + [0.139,0.271,0.128,0.242,0.125,0.21,0.129,0.178,0.082,0.379,0.065,0.341,0.06,0.304,0.063,0.268], + [0.129,0.178,0.131,0.167,0.136,0.157,0.144,0.149,0.063,0.268,0.064,0.255,0.067,0.243,0.07,0.23], + [0.144,0.149,0.145,0.148,0.147,0.146,0.149,0.144,0.07,0.23,0.071,0.227,0.072,0.225,0.072,0.222], + [0.149,0.144,0.156,0.136,0.167,0.131,0.177,0.13,0.072,0.222,0.076,0.21,0.081,0.198,0.087,0.186], + [0.177,0.13,0.218,0.124,0.259,0.131,0.295,0.149,0.087,0.186,0.104,0.154,0.129,0.126,0.158,0.104], + [0.295,0.149,0.32,0.162,0.345,0.174,0.37,0.186,0.158,0.104,0.173,0.094,0.188,0.085,0.205,0.079], + ], + [ + [0.919,0.621,0.92,0.624,0.921,0.626,0.922,0.629,0.933,0.745,0.933,0.749,0.931,0.752,0.927,0.752], + [0.922,0.629,0.939,0.672,0.942,0.715,0.934,0.755,0.927,0.752,0.87,0.751,0.813,0.751,0.756,0.75], + [0.934,0.755,0.933,0.757,0.933,0.759,0.932,0.762,0.756,0.75,0.753,0.75,0.75,0.753,0.75,0.756], + [0.932,0.762,0.923,0.803,0.902,0.84,0.873,0.869,0.75,0.756,0.751,0.813,0.752,0.87,0.752,0.926], + [0.873,0.869,0.869,0.873,0.864,0.878,0.86,0.881,0.752,0.926,0.753,0.931,0.747,0.934,0.743,0.932], + [0.86,0.881,0.799,0.935,0.71,0.957,0.622,0.919,0.743,0.932,0.71,0.912,0.677,0.892,0.643,0.872], + [0.622,0.919,0.608,0.913,0.595,0.907,0.581,0.901,0.643,0.872,0.638,0.869,0.632,0.865,0.626,0.862], + [0.581,0.901,0.559,0.891,0.535,0.886,0.51,0.885,0.626,0.862,0.616,0.856,0.606,0.85,0.596,0.844], + [0.51,0.885,0.506,0.884,0.501,0.884,0.497,0.884,0.596,0.844,0.594,0.843,0.59,0.844,0.588,0.847], + [0.497,0.884,0.47,0.885,0.444,0.89,0.419,0.901,0.588,0.847,0.57,0.879,0.552,0.911,0.534,0.944], + [0.419,0.901,0.406,0.907,0.393,0.912,0.38,0.918,0.534,0.944,0.524,0.961,0.515,0.978,0.505,0.995], + [0.38,0.918,0.38,0.918,0.379,0.918,0.379,0.919,0.505,0.995,0.505,0.996,0.504,0.997,0.504,0.997], + [0.379,0.919,0.376,0.92,0.374,0.921,0.371,0.922,0.504,0.997,0.501,0.999,0.497,0.999,0.495,0.995], + [0.371,0.922,0.328,0.939,0.285,0.942,0.245,0.934,0.495,0.995,0.467,0.946,0.439,0.896,0.411,0.846], + [0.245,0.934,0.243,0.933,0.241,0.933,0.239,0.932,0.411,0.846,0.409,0.843,0.406,0.842,0.403,0.844], + [0.239,0.932,0.198,0.923,0.161,0.902,0.131,0.873,0.403,0.844,0.354,0.873,0.305,0.902,0.257,0.932], + [0.131,0.873,0.129,0.871,0.127,0.869,0.125,0.866,0.257,0.932,0.253,0.934,0.247,0.931,0.248,0.926], + [0.125,0.866,0.096,0.837,0.076,0.799,0.067,0.758,0.248,0.926,0.248,0.869,0.249,0.812,0.25,0.755], + [0.067,0.758,0.067,0.756,0.066,0.754,0.066,0.751,0.25,0.755,0.25,0.752,0.247,0.749,0.244,0.749], + [0.066,0.751,0.059,0.713,0.062,0.671,0.079,0.629,0.244,0.749,0.187,0.75,0.13,0.751,0.073,0.752], + [0.079,0.629,0.08,0.627,0.081,0.624,0.082,0.622,0.073,0.752,0.069,0.752,0.067,0.749,0.067,0.745], + [0.082,0.622,0.082,0.621,0.082,0.621,0.082,0.62,0.067,0.745,0.067,0.744,0.067,0.744,0.068,0.743], + [0.082,0.62,0.088,0.607,0.094,0.594,0.099,0.581,0.068,0.743,0.078,0.726,0.088,0.709,0.098,0.692], + [0.099,0.581,0.11,0.556,0.115,0.53,0.116,0.503,0.098,0.692,0.117,0.66,0.136,0.628,0.155,0.596], + [0.116,0.503,0.116,0.501,0.116,0.499,0.116,0.497,0.155,0.596,0.157,0.593,0.156,0.589,0.153,0.588], + [0.116,0.497,0.115,0.47,0.11,0.444,0.099,0.419,0.153,0.588,0.121,0.57,0.088,0.552,0.056,0.534], + [0.099,0.419,0.093,0.406,0.088,0.393,0.082,0.38,0.056,0.534,0.039,0.524,0.021,0.514,0.004,0.505], + [0.082,0.38,0.082,0.38,0.082,0.379,0.082,0.379,0.004,0.505,0.003,0.504,0.003,0.504,0.002,0.503], + [0.082,0.379,0.08,0.376,0.079,0.374,0.078,0.371,0.002,0.503,0,0.5,0.001,0.496,0.004,0.494], + [0.078,0.371,0.061,0.328,0.059,0.285,0.066,0.245,0.004,0.494,0.054,0.466,0.103,0.439,0.153,0.411], + [0.066,0.245,0.067,0.243,0.067,0.241,0.068,0.238,0.153,0.411,0.156,0.409,0.157,0.405,0.155,0.402], + [0.068,0.238,0.077,0.197,0.098,0.16,0.127,0.131,0.155,0.402,0.126,0.354,0.097,0.305,0.068,0.256], + [0.127,0.131,0.129,0.129,0.132,0.127,0.134,0.125,0.068,0.256,0.066,0.252,0.068,0.247,0.073,0.247], + [0.134,0.125,0.164,0.096,0.201,0.076,0.242,0.067,0.073,0.247,0.13,0.248,0.187,0.248,0.244,0.249], + [0.242,0.067,0.244,0.067,0.247,0.066,0.249,0.066,0.244,0.249,0.247,0.249,0.25,0.246,0.25,0.243], + [0.249,0.066,0.288,0.059,0.329,0.062,0.371,0.078,0.25,0.243,0.249,0.186,0.248,0.129,0.248,0.073], + [0.371,0.078,0.374,0.079,0.376,0.08,0.378,0.081,0.248,0.073,0.247,0.069,0.251,0.066,0.254,0.067], + [0.378,0.081,0.379,0.082,0.379,0.082,0.38,0.082,0.254,0.067,0.255,0.067,0.256,0.067,0.257,0.067], + [0.38,0.082,0.393,0.088,0.406,0.093,0.419,0.099,0.257,0.067,0.274,0.078,0.291,0.088,0.308,0.098], + [0.419,0.099,0.444,0.11,0.47,0.115,0.497,0.116,0.308,0.098,0.34,0.117,0.372,0.136,0.404,0.155], + [0.497,0.116,0.499,0.116,0.5,0.116,0.502,0.116,0.404,0.155,0.406,0.156,0.41,0.155,0.412,0.152], + [0.502,0.116,0.527,0.115,0.551,0.111,0.574,0.102,0.412,0.152,0.439,0.103,0.467,0.053,0.495,0.004], + [0.574,0.102,0.576,0.101,0.577,0.101,0.579,0.1,0.495,0.004,0.497,-0.001,0.503,-0.001,0.505,0.004], + [0.579,0.1,0.58,0.1,0.58,0.099,0.581,0.099,0.505,0.004,0.506,0.005,0.507,0.007,0.508,0.009], + [0.581,0.099,0.595,0.093,0.608,0.087,0.621,0.081,0.508,0.009,0.525,0.038,0.541,0.068,0.558,0.098], + [0.621,0.081,0.631,0.077,0.64,0.074,0.65,0.071,0.558,0.098,0.568,0.116,0.579,0.134,0.589,0.153], + [0.65,0.071,0.651,0.071,0.653,0.07,0.654,0.07,0.589,0.153,0.591,0.156,0.594,0.157,0.597,0.155], + [0.654,0.07,0.68,0.063,0.706,0.061,0.731,0.063,0.597,0.155,0.646,0.126,0.695,0.097,0.743,0.067], + [0.731,0.063,0.733,0.063,0.734,0.063,0.736,0.063,0.743,0.067,0.747,0.065,0.753,0.068,0.752,0.073], + [0.736,0.063,0.761,0.066,0.786,0.073,0.808,0.084,0.752,0.073,0.752,0.13,0.751,0.187,0.75,0.244], + [0.808,0.084,0.809,0.085,0.81,0.085,0.812,0.086,0.75,0.244,0.75,0.247,0.753,0.25,0.756,0.25], + [0.812,0.086,0.834,0.097,0.854,0.112,0.871,0.129,0.756,0.25,0.813,0.249,0.87,0.248,0.927,0.247], + [0.871,0.129,0.873,0.131,0.875,0.133,0.876,0.134,0.927,0.247,0.932,0.247,0.934,0.252,0.932,0.256], + [0.876,0.134,0.904,0.164,0.925,0.202,0.933,0.243,0.932,0.256,0.903,0.305,0.874,0.354,0.845,0.403], + [0.933,0.243,0.934,0.245,0.934,0.247,0.935,0.249,0.845,0.403,0.843,0.406,0.844,0.41,0.847,0.411], + [0.935,0.249,0.941,0.288,0.938,0.329,0.922,0.371,0.847,0.411,0.897,0.439,0.946,0.467,0.996,0.494], + [0.922,0.371,0.921,0.373,0.92,0.376,0.919,0.378,0.996,0.494,0.999,0.496,1,0.5,0.998,0.503], + [0.919,0.378,0.919,0.379,0.918,0.379,0.918,0.38,0.998,0.503,0.997,0.504,0.997,0.504,0.996,0.505], + [0.918,0.38,0.912,0.393,0.907,0.406,0.901,0.419,0.996,0.505,0.979,0.514,0.961,0.524,0.944,0.534], + [0.901,0.419,0.89,0.444,0.885,0.47,0.884,0.497,0.944,0.534,0.912,0.552,0.879,0.57,0.847,0.588], + [0.884,0.497,0.884,0.499,0.884,0.501,0.884,0.503,0.847,0.588,0.844,0.59,0.843,0.594,0.845,0.597], + [0.884,0.503,0.885,0.53,0.891,0.556,0.901,0.581,0.845,0.597,0.864,0.628,0.883,0.66,0.902,0.692], + [0.901,0.581,0.907,0.594,0.913,0.607,0.918,0.62,0.902,0.692,0.912,0.709,0.922,0.726,0.932,0.743], + [0.918,0.62,0.918,0.62,0.919,0.621,0.919,0.621,0.932,0.743,0.932,0.744,0.933,0.744,0.933,0.745], + ], + [ + [0.495,0.004,0.497,-0.001,0.503,-0.001,0.505,0.004,0.495,0.005,0.498,0.005,0.502,0.005,0.505,0.005], + [0.505,0.004,0.522,0.033,0.538,0.063,0.555,0.092,0.505,0.005,0.529,0.006,0.552,0.017,0.57,0.036], + [0.555,0.092,0.566,0.112,0.578,0.132,0.589,0.153,0.57,0.036,0.582,0.049,0.596,0.058,0.612,0.063], + [0.589,0.153,0.591,0.156,0.594,0.157,0.597,0.155,0.612,0.063,0.614,0.063,0.617,0.064,0.619,0.065], + [0.597,0.155,0.617,0.143,0.637,0.131,0.657,0.119,0.619,0.065,0.635,0.068,0.652,0.068,0.669,0.063], + [0.657,0.119,0.686,0.102,0.715,0.085,0.743,0.067,0.669,0.063,0.694,0.055,0.719,0.058,0.741,0.069], + [0.743,0.067,0.747,0.065,0.753,0.068,0.752,0.073,0.741,0.069,0.744,0.07,0.746,0.071,0.749,0.073], + [0.752,0.073,0.752,0.106,0.752,0.14,0.751,0.174,0.749,0.073,0.769,0.086,0.784,0.107,0.79,0.133], + [0.751,0.174,0.751,0.197,0.751,0.22,0.75,0.244,0.79,0.133,0.794,0.149,0.802,0.165,0.813,0.177], + [0.75,0.244,0.75,0.247,0.753,0.25,0.756,0.25,0.813,0.177,0.815,0.178,0.816,0.18,0.818,0.182], + [0.756,0.25,0.78,0.249,0.803,0.249,0.826,0.249,0.818,0.182,0.83,0.193,0.845,0.201,0.862,0.205], + [0.826,0.249,0.859,0.248,0.893,0.248,0.927,0.247,0.862,0.205,0.888,0.21,0.909,0.226,0.922,0.246], + [0.927,0.247,0.932,0.247,0.934,0.252,0.932,0.256,0.922,0.246,0.923,0.249,0.925,0.251,0.926,0.254], + [0.932,0.256,0.915,0.285,0.898,0.314,0.88,0.343,0.926,0.254,0.937,0.275,0.94,0.301,0.932,0.326], + [0.88,0.343,0.868,0.363,0.857,0.383,0.845,0.403,0.932,0.326,0.927,0.343,0.927,0.36,0.93,0.376], + [0.845,0.403,0.843,0.406,0.844,0.41,0.847,0.411,0.93,0.376,0.931,0.378,0.931,0.38,0.932,0.383], + [0.847,0.411,0.867,0.423,0.887,0.434,0.908,0.445,0.932,0.383,0.937,0.399,0.946,0.413,0.959,0.425], + [0.908,0.445,0.937,0.461,0.966,0.478,0.996,0.494,0.959,0.425,0.978,0.443,0.988,0.466,0.99,0.49], + [0.996,0.494,1,0.497,1,0.502,0.996,0.505,0.99,0.49,0.99,0.493,0.99,0.496,0.99,0.499], + [0.996,0.505,0.966,0.521,0.937,0.538,0.907,0.554,0.99,0.499,0.988,0.523,0.978,0.547,0.959,0.565], + [0.907,0.554,0.887,0.566,0.867,0.577,0.847,0.588,0.959,0.565,0.946,0.577,0.937,0.591,0.932,0.607], + [0.847,0.588,0.844,0.59,0.843,0.594,0.845,0.597,0.932,0.607,0.931,0.609,0.931,0.611,0.93,0.614], + [0.845,0.597,0.857,0.616,0.868,0.636,0.88,0.656,0.93,0.614,0.927,0.63,0.927,0.647,0.932,0.664], + [0.88,0.656,0.897,0.685,0.915,0.714,0.932,0.743,0.932,0.664,0.94,0.689,0.937,0.714,0.926,0.736], + [0.932,0.743,0.934,0.747,0.932,0.752,0.927,0.752,0.926,0.736,0.925,0.738,0.923,0.741,0.922,0.744], + [0.927,0.752,0.893,0.752,0.859,0.751,0.825,0.751,0.922,0.744,0.909,0.764,0.888,0.779,0.862,0.785], + [0.825,0.751,0.802,0.75,0.779,0.75,0.756,0.75,0.862,0.785,0.845,0.789,0.83,0.797,0.818,0.808], + [0.756,0.75,0.753,0.75,0.75,0.753,0.75,0.756,0.818,0.808,0.816,0.81,0.815,0.811,0.813,0.813], + [0.75,0.756,0.75,0.779,0.751,0.802,0.751,0.825,0.813,0.813,0.802,0.825,0.794,0.84,0.79,0.857], + [0.751,0.825,0.751,0.859,0.752,0.893,0.752,0.926,0.79,0.857,0.784,0.883,0.769,0.904,0.749,0.917], + [0.752,0.926,0.753,0.931,0.747,0.934,0.743,0.932,0.749,0.917,0.746,0.918,0.744,0.92,0.741,0.921], + [0.743,0.932,0.714,0.914,0.685,0.897,0.656,0.88,0.741,0.921,0.719,0.932,0.694,0.935,0.669,0.927], + [0.656,0.88,0.636,0.868,0.616,0.856,0.596,0.844,0.669,0.927,0.652,0.922,0.635,0.921,0.619,0.925], + [0.596,0.844,0.594,0.843,0.59,0.844,0.588,0.847,0.619,0.925,0.617,0.926,0.614,0.926,0.612,0.927], + [0.588,0.847,0.577,0.867,0.566,0.887,0.554,0.907,0.612,0.927,0.596,0.932,0.582,0.941,0.57,0.954], + [0.554,0.907,0.538,0.937,0.522,0.966,0.505,0.995,0.57,0.954,0.552,0.973,0.529,0.983,0.505,0.984], + [0.505,0.995,0.503,0.999,0.497,0.999,0.495,0.995,0.505,0.984,0.502,0.985,0.498,0.985,0.495,0.984], + [0.495,0.995,0.478,0.966,0.462,0.936,0.445,0.907,0.495,0.984,0.471,0.983,0.448,0.973,0.43,0.954], + [0.445,0.907,0.434,0.887,0.422,0.867,0.411,0.846,0.43,0.954,0.418,0.941,0.404,0.932,0.388,0.927], + [0.411,0.846,0.409,0.843,0.406,0.842,0.403,0.844,0.388,0.927,0.386,0.926,0.383,0.926,0.381,0.925], + [0.403,0.844,0.383,0.856,0.363,0.868,0.343,0.88,0.381,0.925,0.365,0.921,0.348,0.922,0.331,0.927], + [0.343,0.88,0.314,0.897,0.285,0.914,0.257,0.932,0.331,0.927,0.306,0.935,0.281,0.932,0.259,0.921], + [0.257,0.932,0.253,0.934,0.247,0.931,0.248,0.926,0.259,0.921,0.256,0.92,0.254,0.918,0.251,0.917], + [0.248,0.926,0.248,0.893,0.248,0.859,0.249,0.825,0.251,0.917,0.231,0.904,0.216,0.883,0.21,0.857], + [0.249,0.825,0.249,0.802,0.249,0.779,0.25,0.755,0.21,0.857,0.206,0.84,0.198,0.825,0.187,0.813], + [0.25,0.755,0.25,0.752,0.247,0.749,0.244,0.749,0.187,0.813,0.185,0.811,0.184,0.81,0.182,0.808], + [0.244,0.749,0.22,0.75,0.197,0.75,0.174,0.75,0.182,0.808,0.17,0.797,0.155,0.789,0.138,0.785], + [0.174,0.75,0.141,0.751,0.107,0.751,0.073,0.752,0.138,0.785,0.112,0.779,0.091,0.764,0.078,0.744], + [0.073,0.752,0.068,0.752,0.066,0.747,0.068,0.743,0.078,0.744,0.077,0.741,0.075,0.738,0.074,0.736], + [0.068,0.743,0.085,0.714,0.102,0.685,0.12,0.656,0.074,0.736,0.063,0.714,0.06,0.689,0.068,0.664], + [0.12,0.656,0.132,0.636,0.143,0.616,0.155,0.596,0.068,0.664,0.073,0.647,0.073,0.63,0.07,0.614], + [0.155,0.596,0.157,0.593,0.156,0.589,0.153,0.588,0.07,0.614,0.069,0.611,0.069,0.609,0.068,0.607], + [0.153,0.588,0.133,0.576,0.113,0.565,0.092,0.554,0.068,0.607,0.063,0.591,0.054,0.577,0.041,0.565], + [0.092,0.554,0.063,0.538,0.034,0.521,0.004,0.505,0.041,0.565,0.022,0.547,0.012,0.523,0.01,0.499], + [0.004,0.505,0,0.502,0,0.497,0.004,0.494,0.01,0.499,0.01,0.496,0.01,0.493,0.01,0.49], + [0.004,0.494,0.034,0.478,0.063,0.461,0.093,0.445,0.01,0.49,0.012,0.466,0.022,0.443,0.041,0.425], + [0.093,0.445,0.113,0.433,0.133,0.422,0.153,0.411,0.041,0.425,0.054,0.413,0.063,0.399,0.068,0.383], + [0.153,0.411,0.156,0.409,0.157,0.405,0.155,0.402,0.068,0.383,0.069,0.38,0.069,0.378,0.07,0.376], + [0.155,0.402,0.143,0.383,0.132,0.363,0.12,0.343,0.07,0.376,0.073,0.36,0.073,0.343,0.068,0.326], + [0.12,0.343,0.103,0.314,0.085,0.285,0.068,0.256,0.068,0.326,0.06,0.301,0.063,0.275,0.074,0.254], + [0.068,0.256,0.066,0.252,0.068,0.247,0.073,0.247,0.074,0.254,0.075,0.251,0.077,0.249,0.078,0.246], + [0.073,0.247,0.107,0.247,0.141,0.248,0.175,0.248,0.078,0.246,0.091,0.226,0.112,0.21,0.138,0.205], + [0.175,0.248,0.198,0.249,0.221,0.249,0.244,0.249,0.138,0.205,0.155,0.201,0.17,0.193,0.182,0.182], + [0.244,0.249,0.247,0.249,0.25,0.246,0.25,0.243,0.182,0.182,0.184,0.18,0.185,0.178,0.187,0.177], + [0.25,0.243,0.25,0.22,0.249,0.197,0.249,0.174,0.187,0.177,0.198,0.165,0.206,0.149,0.21,0.133], + [0.249,0.174,0.249,0.14,0.248,0.106,0.248,0.073,0.21,0.133,0.216,0.107,0.231,0.086,0.251,0.073], + [0.248,0.073,0.247,0.068,0.253,0.065,0.257,0.067,0.251,0.073,0.254,0.071,0.256,0.07,0.259,0.069], + [0.257,0.067,0.286,0.085,0.315,0.102,0.344,0.119,0.259,0.069,0.281,0.058,0.306,0.055,0.331,0.063], + [0.344,0.119,0.364,0.131,0.384,0.143,0.404,0.155,0.331,0.063,0.348,0.068,0.365,0.068,0.381,0.065], + [0.404,0.155,0.406,0.156,0.41,0.155,0.412,0.152,0.381,0.065,0.383,0.064,0.386,0.063,0.388,0.063], + [0.412,0.152,0.423,0.132,0.434,0.112,0.446,0.092,0.388,0.063,0.404,0.058,0.418,0.049,0.43,0.036], + [0.446,0.092,0.462,0.062,0.478,0.033,0.495,0.004,0.43,0.036,0.448,0.017,0.471,0.006,0.495,0.005], + ], + [ + [0.43,0.036,0.468,-0.005,0.532,-0.005,0.57,0.036,0.524,0.08,0.549,0.062,0.576,0.049,0.604,0.041], + [0.57,0.036,0.595,0.063,0.633,0.074,0.669,0.063,0.604,0.041,0.623,0.035,0.643,0.031,0.663,0.029], + [0.669,0.063,0.722,0.046,0.778,0.078,0.79,0.133,0.663,0.029,0.718,0.024,0.773,0.035,0.822,0.062], + [0.79,0.133,0.794,0.151,0.803,0.167,0.816,0.179,0.822,0.062,0.846,0.075,0.869,0.091,0.889,0.111], + [0.816,0.179,0.828,0.192,0.844,0.201,0.862,0.205,0.889,0.111,0.909,0.132,0.926,0.155,0.939,0.179], + [0.862,0.205,0.917,0.217,0.949,0.273,0.932,0.326,0.939,0.179,0.965,0.228,0.976,0.284,0.971,0.338], + [0.932,0.326,0.921,0.361,0.931,0.4,0.959,0.425,0.971,0.338,0.969,0.358,0.965,0.378,0.959,0.397], + [0.959,0.425,1,0.462,1,0.527,0.959,0.565,0.959,0.397,0.95,0.425,0.937,0.451,0.92,0.476], + [0.959,0.565,0.953,0.57,0.949,0.575,0.945,0.581,0.92,0.476,0.918,0.479,0.915,0.482,0.913,0.486], + [0.945,0.581,0.938,0.59,0.934,0.6,0.931,0.61,0.913,0.486,0.909,0.49,0.906,0.495,0.902,0.5], + [0.931,0.61,0.93,0.614,0.929,0.618,0.929,0.621,0.902,0.5,0.906,0.505,0.909,0.51,0.913,0.514], + [0.929,0.621,0.927,0.635,0.928,0.65,0.932,0.664,0.913,0.514,0.928,0.534,0.941,0.556,0.95,0.578], + [0.932,0.664,0.949,0.717,0.917,0.773,0.862,0.785,0.95,0.578,0.983,0.657,0.979,0.746,0.938,0.822], + [0.862,0.785,0.844,0.789,0.828,0.798,0.816,0.81,0.938,0.822,0.926,0.846,0.909,0.868,0.889,0.889], + [0.816,0.81,0.803,0.823,0.794,0.839,0.79,0.857,0.889,0.889,0.868,0.909,0.845,0.926,0.821,0.939], + [0.79,0.857,0.778,0.912,0.722,0.944,0.669,0.927,0.821,0.939,0.772,0.965,0.716,0.976,0.662,0.971], + [0.669,0.927,0.633,0.916,0.595,0.926,0.57,0.954,0.662,0.971,0.642,0.969,0.622,0.965,0.603,0.959], + [0.57,0.954,0.532,0.995,0.468,0.995,0.43,0.954,0.603,0.959,0.575,0.95,0.549,0.937,0.524,0.92], + [0.43,0.954,0.425,0.948,0.42,0.944,0.414,0.94,0.524,0.92,0.521,0.918,0.518,0.915,0.514,0.913], + [0.414,0.94,0.405,0.933,0.395,0.929,0.384,0.926,0.514,0.913,0.51,0.909,0.505,0.906,0.5,0.902], + [0.384,0.926,0.381,0.925,0.377,0.924,0.374,0.924,0.5,0.902,0.495,0.906,0.49,0.909,0.486,0.913], + [0.374,0.924,0.36,0.922,0.345,0.923,0.331,0.927,0.486,0.913,0.466,0.928,0.444,0.941,0.422,0.95], + [0.331,0.927,0.278,0.944,0.222,0.912,0.21,0.857,0.422,0.95,0.343,0.983,0.254,0.979,0.178,0.938], + [0.21,0.857,0.206,0.839,0.197,0.823,0.184,0.81,0.178,0.938,0.154,0.926,0.132,0.909,0.111,0.889], + [0.184,0.81,0.172,0.798,0.156,0.789,0.138,0.785,0.111,0.889,0.091,0.868,0.074,0.845,0.061,0.821], + [0.138,0.785,0.083,0.773,0.051,0.717,0.068,0.664,0.061,0.821,0.021,0.746,0.017,0.656,0.05,0.577], + [0.068,0.664,0.072,0.65,0.073,0.635,0.071,0.621,0.05,0.577,0.06,0.555,0.072,0.534,0.087,0.514], + [0.071,0.621,0.071,0.617,0.07,0.614,0.069,0.61,0.087,0.514,0.091,0.51,0.094,0.505,0.098,0.5], + [0.069,0.61,0.066,0.6,0.061,0.59,0.055,0.581,0.098,0.5,0.094,0.495,0.091,0.49,0.087,0.486], + [0.055,0.581,0.051,0.575,0.047,0.57,0.041,0.565,0.087,0.486,0.084,0.482,0.082,0.479,0.08,0.476], + [0.041,0.565,0,0.527,0,0.462,0.041,0.425,0.08,0.476,0.062,0.451,0.049,0.424,0.041,0.396], + [0.041,0.425,0.069,0.4,0.079,0.361,0.068,0.326,0.041,0.396,0.035,0.377,0.031,0.357,0.029,0.337], + [0.068,0.326,0.051,0.273,0.083,0.217,0.138,0.205,0.029,0.337,0.024,0.282,0.035,0.227,0.062,0.178], + [0.138,0.205,0.156,0.201,0.172,0.192,0.184,0.179,0.062,0.178,0.075,0.154,0.091,0.131,0.111,0.111], + [0.184,0.179,0.197,0.167,0.206,0.151,0.21,0.133,0.111,0.111,0.132,0.091,0.155,0.074,0.179,0.061], + [0.21,0.133,0.222,0.078,0.278,0.046,0.331,0.063,0.179,0.061,0.254,0.021,0.344,0.017,0.423,0.05], + [0.331,0.063,0.345,0.067,0.36,0.068,0.374,0.066,0.423,0.05,0.445,0.06,0.466,0.072,0.486,0.087], + [0.374,0.066,0.377,0.065,0.381,0.065,0.385,0.064,0.486,0.087,0.49,0.091,0.495,0.094,0.5,0.098], + [0.385,0.064,0.395,0.061,0.405,0.056,0.414,0.05,0.5,0.098,0.505,0.094,0.51,0.091,0.514,0.087], + [0.414,0.05,0.42,0.046,0.425,0.041,0.43,0.036,0.514,0.087,0.518,0.084,0.521,0.082,0.524,0.08], + ], + [ + [0.5,0.098,0.505,0.094,0.51,0.091,0.514,0.087,0.646,0.154,0.648,0.155,0.65,0.155,0.652,0.156], + [0.514,0.087,0.554,0.057,0.598,0.038,0.644,0.031,0.652,0.156,0.666,0.161,0.682,0.162,0.698,0.158], + [0.644,0.031,0.715,0.021,0.788,0.036,0.848,0.077,0.698,0.158,0.72,0.152,0.743,0.146,0.765,0.141], + [0.848,0.077,0.862,0.087,0.876,0.099,0.889,0.111,0.765,0.141,0.772,0.139,0.778,0.139,0.783,0.138], + [0.889,0.111,0.962,0.184,0.987,0.289,0.963,0.383,0.783,0.138,0.836,0.137,0.879,0.187,0.866,0.241], + [0.963,0.383,0.957,0.408,0.947,0.431,0.934,0.453,0.866,0.241,0.86,0.264,0.855,0.286,0.849,0.309], + [0.934,0.453,0.928,0.464,0.921,0.475,0.913,0.486,0.849,0.309,0.846,0.321,0.846,0.333,0.848,0.344], + [0.913,0.486,0.909,0.49,0.906,0.495,0.902,0.5,0.848,0.344,0.849,0.35,0.851,0.355,0.853,0.361], + [0.902,0.5,0.906,0.505,0.909,0.51,0.913,0.514,0.853,0.361,0.855,0.366,0.858,0.371,0.861,0.376], + [0.913,0.514,0.921,0.525,0.928,0.536,0.935,0.547,0.861,0.376,0.867,0.385,0.876,0.394,0.887,0.4], + [0.935,0.547,0.947,0.57,0.957,0.593,0.963,0.617,0.887,0.4,0.907,0.412,0.926,0.424,0.946,0.436], + [0.963,0.617,0.977,0.674,0.974,0.733,0.954,0.788,0.946,0.436,1,0.468,1,0.546,0.946,0.578], + [0.954,0.788,0.946,0.809,0.935,0.829,0.922,0.849,0.946,0.578,0.926,0.59,0.907,0.602,0.887,0.613], + [0.922,0.849,0.912,0.863,0.901,0.876,0.889,0.889,0.887,0.613,0.871,0.623,0.859,0.637,0.853,0.653], + [0.889,0.889,0.876,0.901,0.862,0.913,0.848,0.923,0.853,0.653,0.846,0.669,0.845,0.687,0.849,0.705], + [0.848,0.923,0.828,0.936,0.808,0.946,0.786,0.954,0.849,0.705,0.855,0.727,0.86,0.75,0.866,0.772], + [0.786,0.954,0.751,0.967,0.713,0.973,0.675,0.972,0.866,0.772,0.881,0.833,0.826,0.888,0.765,0.873], + [0.675,0.972,0.667,0.971,0.659,0.971,0.65,0.969,0.765,0.873,0.743,0.867,0.72,0.861,0.698,0.856], + [0.65,0.969,0.638,0.968,0.626,0.965,0.613,0.962,0.698,0.856,0.663,0.847,0.626,0.862,0.607,0.893], + [0.613,0.962,0.605,0.96,0.597,0.957,0.589,0.954,0.607,0.893,0.595,0.913,0.583,0.933,0.571,0.953], + [0.589,0.954,0.571,0.948,0.553,0.939,0.535,0.928,0.571,0.953,0.539,1.007,0.461,1.007,0.429,0.953], + [0.535,0.928,0.528,0.923,0.522,0.918,0.515,0.913,0.429,0.953,0.417,0.933,0.405,0.913,0.393,0.893], + [0.515,0.913,0.515,0.913,0.515,0.913,0.514,0.913,0.393,0.893,0.393,0.893,0.393,0.893,0.392,0.892], + [0.514,0.913,0.51,0.909,0.505,0.906,0.5,0.902,0.392,0.892,0.383,0.877,0.37,0.866,0.354,0.859], + [0.5,0.902,0.495,0.906,0.49,0.909,0.486,0.913,0.354,0.859,0.349,0.857,0.343,0.856,0.338,0.855], + [0.486,0.913,0.475,0.921,0.464,0.928,0.453,0.935,0.338,0.855,0.326,0.852,0.314,0.853,0.302,0.856], + [0.453,0.935,0.43,0.947,0.407,0.957,0.383,0.963,0.302,0.856,0.28,0.861,0.257,0.867,0.235,0.873], + [0.383,0.963,0.326,0.977,0.267,0.974,0.212,0.954,0.235,0.873,0.174,0.888,0.119,0.833,0.134,0.772], + [0.212,0.954,0.191,0.946,0.171,0.935,0.151,0.922,0.134,0.772,0.14,0.75,0.145,0.727,0.151,0.705], + [0.151,0.922,0.137,0.912,0.124,0.901,0.111,0.889,0.151,0.705,0.156,0.687,0.154,0.669,0.147,0.653], + [0.111,0.889,0.099,0.876,0.087,0.862,0.077,0.848,0.147,0.653,0.141,0.637,0.129,0.623,0.113,0.614], + [0.077,0.848,0.064,0.828,0.054,0.808,0.046,0.786,0.113,0.614,0.093,0.602,0.074,0.59,0.054,0.578], + [0.046,0.786,0.026,0.732,0.023,0.672,0.037,0.616,0.054,0.578,0,0.546,0,0.468,0.054,0.436], + [0.037,0.616,0.044,0.592,0.053,0.568,0.066,0.546,0.054,0.436,0.074,0.424,0.093,0.412,0.113,0.4], + [0.066,0.546,0.072,0.535,0.079,0.525,0.087,0.514,0.113,0.4,0.124,0.394,0.133,0.385,0.139,0.376], + [0.087,0.514,0.091,0.51,0.094,0.505,0.098,0.5,0.139,0.376,0.142,0.371,0.145,0.366,0.147,0.361], + [0.098,0.5,0.094,0.495,0.091,0.49,0.087,0.486,0.147,0.361,0.149,0.355,0.151,0.35,0.152,0.344], + [0.087,0.486,0.079,0.475,0.072,0.464,0.065,0.453,0.152,0.344,0.154,0.333,0.154,0.321,0.151,0.309], + [0.065,0.453,0.053,0.43,0.043,0.407,0.037,0.383,0.151,0.309,0.145,0.286,0.14,0.264,0.134,0.241], + [0.037,0.383,0.023,0.326,0.026,0.267,0.046,0.212,0.134,0.241,0.119,0.181,0.174,0.126,0.235,0.141], + [0.046,0.212,0.054,0.191,0.065,0.171,0.078,0.151,0.235,0.141,0.257,0.147,0.28,0.152,0.302,0.158], + [0.078,0.151,0.088,0.137,0.099,0.124,0.111,0.111,0.302,0.158,0.32,0.162,0.338,0.161,0.354,0.154], + [0.111,0.111,0.124,0.099,0.138,0.087,0.152,0.077,0.354,0.154,0.37,0.147,0.384,0.136,0.393,0.12], + [0.152,0.077,0.172,0.064,0.192,0.054,0.214,0.046,0.393,0.12,0.405,0.1,0.417,0.08,0.429,0.06], + [0.214,0.046,0.268,0.026,0.328,0.023,0.384,0.037,0.429,0.06,0.461,0.007,0.539,0.007,0.571,0.06], + [0.384,0.037,0.408,0.044,0.432,0.053,0.454,0.066,0.571,0.06,0.583,0.08,0.595,0.1,0.607,0.12], + [0.454,0.066,0.465,0.072,0.475,0.079,0.486,0.087,0.607,0.12,0.613,0.131,0.621,0.139,0.631,0.146], + [0.486,0.087,0.49,0.091,0.495,0.094,0.5,0.098,0.631,0.146,0.636,0.149,0.641,0.152,0.646,0.154], + ], + [ + [0.571,0.953,0.539,1.007,0.461,1.007,0.429,0.953,0.597,0.957,0.535,0.984,0.465,0.984,0.403,0.957], + [0.429,0.953,0.417,0.933,0.405,0.913,0.393,0.893,0.403,0.957,0.378,0.946,0.355,0.931,0.334,0.911], + [0.393,0.893,0.393,0.893,0.392,0.892,0.392,0.891,0.334,0.911,0.334,0.911,0.333,0.91,0.332,0.909], + [0.392,0.891,0.373,0.862,0.339,0.848,0.305,0.855,0.332,0.909,0.304,0.882,0.269,0.862,0.232,0.851], + [0.305,0.855,0.305,0.855,0.304,0.855,0.304,0.855,0.232,0.851,0.231,0.851,0.23,0.851,0.23,0.851], + [0.304,0.855,0.303,0.855,0.303,0.856,0.302,0.856,0.23,0.851,0.229,0.85,0.228,0.85,0.228,0.85], + [0.302,0.856,0.28,0.861,0.257,0.867,0.235,0.873,0.228,0.85,0.2,0.842,0.175,0.829,0.153,0.813], + [0.235,0.873,0.174,0.888,0.119,0.833,0.134,0.772,0.153,0.813,0.116,0.786,0.089,0.75,0.072,0.709], + [0.134,0.772,0.14,0.75,0.145,0.727,0.151,0.705,0.072,0.709,0.069,0.7,0.066,0.691,0.063,0.683], + [0.151,0.705,0.16,0.669,0.145,0.632,0.113,0.614,0.063,0.683,0.059,0.669,0.057,0.656,0.056,0.642], + [0.113,0.614,0.093,0.602,0.074,0.59,0.054,0.578,0.056,0.642,0.055,0.633,0.054,0.623,0.054,0.614], + [0.054,0.578,0.009,0.551,0.001,0.491,0.032,0.454,0.054,0.614,0.055,0.596,0.057,0.577,0.062,0.559], + [0.032,0.454,0.038,0.447,0.045,0.441,0.054,0.436,0.062,0.559,0.062,0.556,0.063,0.552,0.064,0.549], + [0.054,0.436,0.074,0.424,0.093,0.412,0.113,0.4,0.064,0.549,0.066,0.54,0.067,0.531,0.068,0.522], + [0.113,0.4,0.144,0.382,0.159,0.346,0.152,0.312,0.068,0.522,0.07,0.495,0.068,0.469,0.062,0.443], + [0.152,0.312,0.152,0.311,0.152,0.311,0.151,0.31,0.062,0.443,0.062,0.442,0.061,0.442,0.061,0.441], + [0.151,0.31,0.151,0.31,0.151,0.309,0.151,0.309,0.061,0.441,0.061,0.44,0.061,0.44,0.061,0.439], + [0.151,0.309,0.145,0.286,0.14,0.264,0.134,0.241,0.061,0.439,0.054,0.411,0.052,0.383,0.056,0.355], + [0.134,0.241,0.119,0.181,0.174,0.126,0.235,0.141,0.056,0.355,0.063,0.289,0.098,0.228,0.153,0.188], + [0.235,0.141,0.257,0.147,0.28,0.152,0.302,0.158,0.153,0.188,0.174,0.172,0.199,0.159,0.226,0.151], + [0.302,0.158,0.303,0.158,0.304,0.158,0.305,0.158,0.226,0.151,0.228,0.151,0.229,0.15,0.23,0.15], + [0.305,0.158,0.338,0.166,0.373,0.151,0.391,0.123,0.23,0.15,0.267,0.139,0.302,0.119,0.33,0.092], + [0.391,0.123,0.392,0.122,0.392,0.122,0.392,0.121,0.33,0.092,0.331,0.091,0.331,0.091,0.332,0.091], + [0.392,0.121,0.393,0.121,0.393,0.12,0.393,0.12,0.332,0.091,0.332,0.09,0.333,0.09,0.333,0.089], + [0.393,0.12,0.405,0.1,0.417,0.08,0.429,0.06,0.333,0.089,0.354,0.069,0.378,0.054,0.403,0.043], + [0.429,0.06,0.461,0.007,0.539,0.007,0.571,0.06,0.403,0.043,0.465,0.016,0.535,0.016,0.597,0.043], + [0.571,0.06,0.583,0.08,0.595,0.1,0.607,0.12,0.597,0.043,0.622,0.054,0.645,0.069,0.666,0.089], + [0.607,0.12,0.607,0.121,0.608,0.122,0.608,0.122,0.666,0.089,0.666,0.089,0.667,0.09,0.668,0.091], + [0.608,0.122,0.627,0.151,0.661,0.165,0.695,0.159,0.668,0.091,0.696,0.118,0.731,0.138,0.768,0.149], + [0.695,0.159,0.695,0.158,0.696,0.158,0.696,0.158,0.768,0.149,0.769,0.149,0.77,0.149,0.77,0.149], + [0.696,0.158,0.697,0.158,0.697,0.158,0.698,0.158,0.77,0.149,0.771,0.15,0.772,0.15,0.772,0.15], + [0.698,0.158,0.72,0.152,0.743,0.146,0.765,0.141,0.772,0.15,0.8,0.158,0.825,0.171,0.847,0.187], + [0.765,0.141,0.826,0.126,0.881,0.181,0.866,0.241,0.847,0.187,0.902,0.227,0.937,0.289,0.944,0.355], + [0.866,0.241,0.86,0.264,0.855,0.286,0.849,0.309,0.944,0.355,0.947,0.382,0.946,0.41,0.939,0.438], + [0.849,0.309,0.849,0.31,0.848,0.311,0.848,0.312,0.939,0.438,0.939,0.439,0.939,0.44,0.938,0.441], + [0.848,0.312,0.841,0.346,0.856,0.382,0.887,0.4,0.938,0.441,0.932,0.467,0.93,0.493,0.932,0.52], + [0.887,0.4,0.907,0.412,0.926,0.424,0.946,0.436,0.932,0.52,0.933,0.529,0.934,0.538,0.936,0.547], + [0.946,0.436,0.954,0.441,0.961,0.446,0.967,0.453,0.936,0.547,0.937,0.55,0.937,0.554,0.938,0.557], + [0.967,0.453,0.968,0.454,0.969,0.456,0.97,0.457,0.938,0.557,0.938,0.558,0.939,0.558,0.939,0.559], + [0.97,0.457,0.998,0.495,0.99,0.551,0.946,0.578,0.939,0.559,0.943,0.577,0.946,0.596,0.946,0.614], + [0.946,0.578,0.926,0.59,0.907,0.602,0.887,0.613,0.946,0.614,0.946,0.624,0.946,0.633,0.945,0.642], + [0.887,0.613,0.855,0.632,0.84,0.669,0.849,0.705,0.945,0.642,0.943,0.656,0.941,0.67,0.937,0.683], + [0.849,0.705,0.855,0.727,0.86,0.75,0.866,0.772,0.937,0.683,0.934,0.692,0.931,0.701,0.928,0.71], + [0.866,0.772,0.881,0.833,0.826,0.888,0.765,0.873,0.928,0.71,0.911,0.75,0.883,0.786,0.847,0.813], + [0.765,0.873,0.743,0.867,0.72,0.861,0.698,0.856,0.847,0.813,0.825,0.829,0.801,0.841,0.774,0.849], + [0.698,0.856,0.697,0.855,0.696,0.855,0.695,0.855,0.774,0.849,0.772,0.849,0.771,0.85,0.77,0.85], + [0.695,0.855,0.662,0.848,0.627,0.862,0.609,0.891,0.77,0.85,0.733,0.861,0.698,0.881,0.67,0.908], + [0.609,0.891,0.608,0.891,0.608,0.892,0.608,0.892,0.67,0.908,0.669,0.909,0.669,0.909,0.668,0.909], + [0.608,0.892,0.607,0.892,0.607,0.893,0.607,0.893,0.668,0.909,0.668,0.91,0.667,0.91,0.667,0.911], + [0.607,0.893,0.595,0.913,0.583,0.933,0.571,0.953,0.667,0.911,0.646,0.931,0.622,0.946,0.597,0.957], + ], + [ + [0.77,0.85,0.761,0.853,0.752,0.856,0.743,0.86,0.71,0.879,0.702,0.88,0.694,0.88,0.687,0.881], + [0.743,0.86,0.725,0.867,0.707,0.877,0.691,0.89,0.687,0.881,0.671,0.882,0.655,0.889,0.643,0.899], + [0.691,0.89,0.684,0.895,0.677,0.901,0.67,0.908,0.643,0.899,0.637,0.904,0.631,0.909,0.625,0.914], + [0.67,0.908,0.669,0.909,0.669,0.909,0.668,0.909,0.625,0.914,0.625,0.914,0.625,0.915,0.624,0.915], + [0.668,0.909,0.639,0.938,0.604,0.957,0.568,0.968,0.624,0.915,0.601,0.935,0.577,0.955,0.554,0.975], + [0.568,0.968,0.524,0.98,0.477,0.98,0.433,0.968,0.554,0.975,0.524,1,0.482,1,0.453,0.975], + [0.433,0.968,0.396,0.957,0.361,0.938,0.332,0.909,0.453,0.975,0.429,0.955,0.405,0.935,0.381,0.914], + [0.332,0.909,0.325,0.903,0.318,0.896,0.31,0.891,0.381,0.914,0.375,0.909,0.369,0.904,0.364,0.899], + [0.31,0.891,0.294,0.878,0.277,0.868,0.258,0.86,0.364,0.899,0.351,0.889,0.336,0.882,0.319,0.881], + [0.258,0.86,0.249,0.857,0.241,0.854,0.232,0.851,0.319,0.881,0.312,0.88,0.304,0.88,0.297,0.879], + [0.232,0.851,0.231,0.851,0.23,0.851,0.23,0.851,0.297,0.879,0.296,0.879,0.296,0.879,0.295,0.879], + [0.23,0.851,0.19,0.839,0.156,0.819,0.129,0.792,0.295,0.879,0.264,0.877,0.234,0.874,0.203,0.872], + [0.129,0.792,0.096,0.761,0.072,0.72,0.061,0.676,0.203,0.872,0.165,0.869,0.134,0.838,0.131,0.8], + [0.061,0.676,0.052,0.639,0.052,0.599,0.062,0.559,0.131,0.8,0.129,0.769,0.126,0.738,0.124,0.707], + [0.062,0.559,0.064,0.55,0.066,0.54,0.067,0.531,0.124,0.707,0.123,0.699,0.123,0.691,0.122,0.684], + [0.067,0.531,0.069,0.518,0.069,0.504,0.069,0.491,0.122,0.684,0.121,0.667,0.114,0.652,0.104,0.639], + [0.069,0.491,0.068,0.475,0.066,0.459,0.062,0.443,0.104,0.639,0.079,0.61,0.054,0.581,0.028,0.551], + [0.062,0.443,0.062,0.443,0.062,0.443,0.062,0.443,0.028,0.551,0.028,0.551,0.028,0.551,0.028,0.55], + [0.062,0.443,0.062,0.442,0.061,0.442,0.061,0.441,0.028,0.55,0.027,0.549,0.026,0.548,0.025,0.547], + [0.061,0.441,0.058,0.426,0.055,0.411,0.054,0.397,0.025,0.547,0.003,0.518,0.004,0.478,0.028,0.45], + [0.054,0.397,0.053,0.38,0.054,0.363,0.057,0.347,0.028,0.45,0.053,0.42,0.078,0.39,0.104,0.361], + [0.057,0.347,0.058,0.34,0.059,0.334,0.061,0.327,0.104,0.361,0.114,0.348,0.121,0.333,0.122,0.316], + [0.061,0.327,0.064,0.311,0.07,0.295,0.077,0.281,0.122,0.316,0.125,0.277,0.128,0.238,0.131,0.2], + [0.077,0.281,0.089,0.253,0.107,0.229,0.129,0.208,0.131,0.2,0.134,0.162,0.165,0.131,0.203,0.128], + [0.129,0.208,0.156,0.181,0.191,0.161,0.23,0.15,0.203,0.128,0.234,0.126,0.265,0.123,0.296,0.121], + [0.23,0.15,0.239,0.147,0.248,0.144,0.257,0.14,0.296,0.121,0.304,0.12,0.312,0.12,0.319,0.119], + [0.257,0.14,0.275,0.133,0.293,0.123,0.309,0.11,0.319,0.119,0.336,0.118,0.351,0.111,0.364,0.101], + [0.309,0.11,0.316,0.105,0.323,0.099,0.33,0.092,0.364,0.101,0.369,0.096,0.375,0.091,0.381,0.086], + [0.33,0.092,0.331,0.091,0.331,0.091,0.332,0.091,0.381,0.086,0.381,0.086,0.382,0.085,0.382,0.085], + [0.332,0.091,0.361,0.062,0.396,0.043,0.432,0.032,0.382,0.085,0.406,0.065,0.429,0.045,0.453,0.025], + [0.432,0.032,0.476,0.02,0.523,0.02,0.567,0.032,0.453,0.025,0.482,0,0.524,0,0.554,0.025], + [0.567,0.032,0.604,0.043,0.639,0.062,0.668,0.091,0.554,0.025,0.577,0.045,0.601,0.065,0.625,0.086], + [0.668,0.091,0.675,0.097,0.682,0.104,0.69,0.109,0.625,0.086,0.631,0.091,0.637,0.096,0.643,0.101], + [0.69,0.109,0.706,0.122,0.723,0.132,0.742,0.14,0.643,0.101,0.655,0.111,0.671,0.118,0.687,0.119], + [0.742,0.14,0.751,0.143,0.759,0.146,0.768,0.149,0.687,0.119,0.694,0.12,0.702,0.12,0.709,0.121], + [0.768,0.149,0.769,0.149,0.77,0.149,0.77,0.149,0.709,0.121,0.71,0.121,0.71,0.121,0.711,0.121], + [0.77,0.149,0.81,0.161,0.844,0.181,0.871,0.208,0.711,0.121,0.742,0.123,0.773,0.126,0.803,0.128], + [0.871,0.208,0.904,0.239,0.928,0.28,0.939,0.324,0.803,0.128,0.842,0.131,0.872,0.162,0.875,0.2], + [0.939,0.324,0.948,0.361,0.948,0.401,0.938,0.441,0.875,0.2,0.877,0.231,0.88,0.262,0.882,0.293], + [0.938,0.441,0.936,0.45,0.934,0.46,0.933,0.469,0.882,0.293,0.883,0.301,0.883,0.309,0.884,0.316], + [0.933,0.469,0.931,0.482,0.931,0.496,0.931,0.509,0.884,0.316,0.885,0.333,0.892,0.348,0.902,0.361], + [0.931,0.509,0.932,0.525,0.934,0.541,0.938,0.557,0.902,0.361,0.928,0.39,0.953,0.419,0.978,0.449], + [0.938,0.557,0.938,0.557,0.938,0.557,0.938,0.557,0.978,0.449,0.978,0.449,0.978,0.449,0.978,0.45], + [0.938,0.557,0.938,0.558,0.939,0.558,0.939,0.559,0.978,0.45,0.979,0.451,0.98,0.452,0.981,0.453], + [0.939,0.559,0.942,0.574,0.945,0.589,0.946,0.603,0.981,0.453,1.003,0.482,1.002,0.522,0.978,0.55], + [0.946,0.603,0.947,0.62,0.946,0.637,0.943,0.653,0.978,0.55,0.953,0.58,0.928,0.61,0.902,0.639], + [0.943,0.653,0.942,0.66,0.941,0.666,0.939,0.673,0.902,0.639,0.892,0.652,0.885,0.667,0.884,0.684], + [0.939,0.673,0.936,0.689,0.93,0.705,0.923,0.719,0.884,0.684,0.881,0.723,0.878,0.762,0.875,0.8], + [0.923,0.719,0.911,0.747,0.893,0.771,0.871,0.792,0.875,0.8,0.872,0.838,0.842,0.869,0.803,0.872], + [0.871,0.792,0.844,0.819,0.809,0.839,0.77,0.85,0.803,0.872,0.772,0.874,0.741,0.877,0.71,0.879], + ], + ], +}; diff --git a/assets/shared.js b/assets/shared.js new file mode 100644 index 0000000..eaa407f --- /dev/null +++ b/assets/shared.js @@ -0,0 +1,257 @@ +// 站点公共数据与渲染片段:文案、CHANGELOG.md 解析、时间线 HTML。 +// 版式取自 FlClash 官网(GPL-3.0),此处改写为中育Toolbox 的内容与数据。 +globalThis.ZytbSite = (() => { + 'use strict'; + + // 源码在 GitHub,安装包发布在自建的 Gitea;站点从 Gitea 的 homepage 分支提供。 + const SOURCE = 'https://github.com/Loshop-Studio/ZhongYuToolBox_Next'; + const REPO = 'https://git.loshop.com.cn/LoshopStudio/ToolboxRelease'; + // 一次全部展开,站点上的版本本来就不多。 + const FIRST_PAGE = 100; + const MAX_STAGGER = 16; + const TYPE_BY_TITLE = { + 不兼容变更: 'breaking', + 新功能: 'feat', + 问题修复: 'fix', + 性能: 'perf', + 其它: 'other', + }; + const TYPE_KEYS = { + breaking: 'typeBreaking', + feat: 'typeFeat', + fix: 'typeFix', + perf: 'typePerf', + other: 'typeOther', + }; + const ICON_EXTERNAL = + ''; + + const STRINGS = { + zh: { + pageTitle: '中育Toolbox – 云笔记、图库、测评、专栏、随身答,一个客户端', + pageDescription: + '中育Toolbox 是把学校云笔记、图库、测评、错题本、在线专栏、优客畅学和随身答收在一起的跨平台客户端,支持 Windows、Android、iOS 与 macOS,以 GPL-3.0 开源、无广告。', + skip: '跳到下载', + heroFor: '适用于', + heroLede: + '把云笔记、图库、测评、专栏和随身答收进同一个客户端。账号、主题和下载记录都留在本地,开源、无广告。', + heroRelease: (v, d) => `${v} · ${d}`, + ctaDownload: (p) => `下载 ${p} 版`, + ctaChoose: '选择下载版本', + ctaIos: 'iOS 版是未签名的 IPA,需要自签工具或企业签名才能安装。也可以先选其他设备的版本。', + scrollHint: '向下滚动查看功能、下载和更新日志', + featTitle: '功能', + featLead: '五个模块共用一套账号:登录一次,笔记、测评、课程和随身答就都在手边。', + featMeta: (n) => `${n} 个模块 · 多账号 · 插件 · MCP`, + dlTitle: '下载', + dlMeta: (v, d) => `版本 ${v} · ${d}发布`, + dlLead: '已为当前设备选好安装包。每个文件都标了大小和 SHA-256,下载后可以自行校验。', + dlAll: '在 Gitea 查看全部版本', + dlError: '未能读取版本信息,请前往 GitHub Releases 下载。', + platformLabel: '平台', + recommended: '推荐', + copied: '已复制', + copy: '复制', + copySha: (name) => `复制 ${name} 的 SHA-256`, + hintAndroid: '手机安装前需要允许「安装未知应用」。', + hintWindows: '安装版带开始菜单入口和卸载程序;便携版解压即用。', + hintIos: 'IPA 未签名,需要用 AltStore、Sideloadly 等工具自签后安装。', + hintMacos: '包未公证,首次打开请在「隐私与安全性」里允许。', + winSetup: '安装版', + noteWinSetup: '带开始菜单入口与卸载程序', + winPortable: '便携版', + noteWinPortable: '解压即用,无需安装', + noteAndroid: '适用于 Android 手机与平板', + noteIos: '需要自签工具或企业签名', + noteMacos: 'ZIP 包,适用于 Apple 芯片的 Mac', + tipWindowsTitle: '第一次运行', + tipWindows: + '安装包没有购买代码签名证书,SmartScreen 可能提示「已保护你的电脑」。点「更多信息」→「仍要运行」即可。', + tipAndroidTitle: '安装包体积', + tipAndroid: + 'APK 里打包了 PDF、视频和 PPT 的渲染组件,体积在 150 MB 以上属正常。装好后不需要另外下载运行库。', + tipIosTitle: '安装未签名的 IPA', + tipIos: + '在电脑上用 AltStore、Sideloadly 或爱思助手把 IPA 签进自己的 Apple ID,或使用学校提供的企业签名。签名过期后需要重新签一次。', + tipMacosTitle: '首次打开', + tipMacos: + '打开「系统设置 → 隐私与安全性」,在被拦截的提示旁点「仍要打开」;也可以在 Finder 里右键应用选「打开」。', + tipAccountTitle: '登录', + tipAccount: + '用学校代码 + 平台用户名密码登录,账号只保存在本机应用数据目录。首次登录后可以在主页添加多个账号并来回切换。', + clTitle: '更新日志', + clMeta: (n, d) => `自 ${d}以来共 ${n} 个版本`, + clSearch: '搜索更新内容或版本', + clLatest: '最新', + clResults: (e, v) => `${v} 个版本中有 ${e} 条匹配`, + clNone: (q) => `没有与「${q}」相关的更新。`, + clClear: '清除', + clEmpty: '仅内部改进。', + clError: '未能加载更新日志。', + clErrorLink: '在 Gitea 查看全部发布', + clOnGithub: '发布页', + clOnGithubLabel: (v) => `在 Gitea 查看 ${v} 发布页`, + typeBreaking: '不兼容变更', + typeFeat: '新功能', + typeFix: '问题修复', + typePerf: '性能', + typeOther: '其它', + footLicense: '以 GPL-3.0 协议开源。', + footUpdated: '本页随每次发布更新。', + footNote: '非官方客户端,与学校及中育平台没有隶属关系,仅供学习交流。', + footReleases: '发布页', + footIssues: '反馈问题', + }, + }; + + function parseChangelog(markdown) { + const versions = []; + let version = null; + let group = null; + let entry = null; + for (const raw of markdown.split(/\r?\n/)) { + const line = raw.trimEnd(); + let match = line.match(/^## (v?\d[^\s(]*)(?: \((\d{4}-\d{2}-\d{2})\))?$/); + if (match) { + version = { + tag: match[1], + version: match[1].replace(/^v/, ''), + date: match[2] || '', + groups: [], + empty: false, + }; + versions.push(version); + group = null; + entry = null; + continue; + } + if (!version) continue; + match = line.match(/^\*\*(.+)\*\*$/); + if (match) { + group = { type: TYPE_BY_TITLE[match[1]] || 'other', title: match[1], entries: [] }; + version.groups.push(group); + entry = null; + continue; + } + match = line.match(/^[-*] (.+)$/); + if (match) { + if (!group) { + group = { type: null, title: '', entries: [] }; + version.groups.push(group); + } + entry = parseEntry(match[1]); + group.entries.push(entry); + continue; + } + if (entry && /^\s+\S/.test(raw)) { + entry.text += ` ${raw.trim()}`; + continue; + } + if (line === 'Internal improvements only.') version.empty = true; + } + return versions; + } + + function parseEntry(source) { + let text = source; + let scope = null; + let id = null; + const scoped = text.match(/^\*\*([^*]+)\*\* (.+)$/); + if (scoped) { + scope = scoped[1]; + text = scoped[2]; + } + const hashed = text.match(/^(.*) \(([0-9a-f]{7,40})\)$/); + if (hashed) { + text = hashed[1]; + id = hashed[2]; + } + return { scope, text, id }; + } + + function translate(lang, key, ...args) { + const value = STRINGS[lang]?.[key] ?? STRINGS.zh[key] ?? key; + return typeof value === 'function' ? value(...args) : value; + } + + function formatDate(iso, lang) { + if (!iso) return ''; + return new Intl.DateTimeFormat('zh-CN', { + year: 'numeric', + month: 'long', + day: 'numeric', + timeZone: 'UTC', + }).format(new Date(`${iso}T00:00:00Z`)); + } + + function changelogMeta(versions) { + const oldest = versions.filter((version) => version.date).pop(); + return oldest ? translate('zh', 'clMeta', versions.length, formatDate(oldest.date)) : ''; + } + + function escapeHtml(text) { + return String(text).replace(/[&<>"]/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"' })[c]); + } + + function highlight(text, query) { + if (!query) return escapeHtml(text); + const lower = text.toLowerCase(); + let html = ''; + let from = 0; + for (let at = lower.indexOf(query); at !== -1; at = lower.indexOf(query, from)) { + html += `${escapeHtml(text.slice(from, at))}${escapeHtml(text.slice(at, at + query.length))}`; + from = at + query.length; + } + return html + escapeHtml(text.slice(from)); + } + + function releaseHtml(version, groups, { query, isLatest, ago }) { + const t = (key, ...args) => translate('zh', key, ...args); + const tag = escapeHtml(version.tag); + let row = 0; + const order = () => ` style="--i:${Math.min(row++, MAX_STAGGER)}"`; + const sections = groups.map((group) => { + const title = group.type ? (TYPE_KEYS[group.type] ? t(TYPE_KEYS[group.type]) : group.title) : ''; + const heading = title + ? `

${escapeHtml(title)}

` + : ''; + const entries = group.entries.map((entry) => { + const scope = entry.scope ? `${highlight(entry.scope, query)}` : ''; + const hash = entry.id ? `${entry.id.slice(0, 7)}` : ''; + return `
  • ${scope}${highlight(entry.text, query)}${hash}
  • `; + }); + return ( + `
    ` + + `${heading}
    ` + ); + }); + const empty = version.empty && !groups.length ? `

    ${escapeHtml(t('clEmpty'))}

    ` : ''; + const title = ago ? ` title="${escapeHtml(ago(version.date))}"` : ''; + const date = version.date + ? `` + : ''; + return ( + `
    ` + + `${highlight(version.version, query)}` + + (isLatest ? `${escapeHtml(t('clLatest'))}` : '') + + `
    ${date}${escapeHtml(t('clOnGithub'))} ${ICON_EXTERNAL}` + + `
    ${empty}${sections.join('')}
    ` + ); + } + + function timelineHtml(items, { query = '', latestTag, ago, year = null }) { + let html = ''; + for (const { version, groups } of items) { + const releaseYear = version.date.slice(0, 4); + if (releaseYear && releaseYear !== year) { + html += `
    ${releaseYear}
    `; + year = releaseYear; + } + html += releaseHtml(version, groups, { query, isLatest: version.tag === latestTag, ago }); + } + return { html, year }; + } + + return { REPO, SOURCE, FIRST_PAGE, STRINGS, parseChangelog, translate, formatDate, changelogMeta, escapeHtml, timelineHtml }; +})(); diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..2b84329 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1803 @@ +/* 中育Toolbox 官网样式。 + 版式、分层与动效改写自 FlClash 官网(chen08209/FlClash,GPL-3.0), + 配色与内容改为中育Toolbox:Material 3 的色调表面 + 状态层 + 弹簧曲线。 */ + +@font-face { + font-family: "Archivo"; + src: url("fonts/archivo.woff2") format("woff2"); + font-weight: 500 800; + font-stretch: 100% 125%; + font-display: swap; + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, + U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + src: url("fonts/instrument-sans.woff2") format("woff2"); + font-weight: 400 600; + font-display: swap; + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, + U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Martian Mono"; + src: url("fonts/martian-mono.woff2") format("woff2"); + font-weight: 400 600; + font-display: swap; + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, + U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +:root { + --paper: var(--page); + --ink: var(--on-surface); + --muted: var(--on-surface-variant); + --rule: color-mix(in srgb, var(--on-surface) 14%, transparent); + + --display: "Archivo", "Arial Black", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; + --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; + --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", monospace; + + --bar-h: 80px; + --edge: clamp(20px, 3.9vw, 56px); + --gutter: max(var(--edge), calc((100vw - 1200px) / 2)); + --ease-out: cubic-bezier(0.22, 1, 0.36, 1); + --spring: cubic-bezier(0.22, 1, 0.36, 1); + --float: var(--card); + --float-fill: var(--block); + color-scheme: light dark; +} + +@media (prefers-color-scheme: dark) { + :root { + --float: var(--block); + --float-fill: var(--inset); + } +} + +/* Registered so the page eases into each accent's palette as scene.js steps through them on scroll. */ +@property --page { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --card { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --block { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --inset { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --on-surface { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --on-surface-variant { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --primary { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --on-primary { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --primary-container { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@property --on-primary-container { + syntax: ""; + inherits: true; + initial-value: transparent; +} + +@media (prefers-reduced-motion: no-preference) { + :root { + transition: --page 0.6s, --card 0.6s, --block 0.6s, --inset 0.6s, --on-surface 0.6s, + --on-surface-variant 0.6s, --primary 0.6s, --on-primary 0.6s, + --primary-container 0.6s, --on-primary-container 0.6s; + } +} + +@supports (transition-timing-function: linear(0, 1)) { + :root { + --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, + 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, + 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1); + } +} + +/* 每个种子色派生出的 Material 3 配色,对应 App 设置里的“主题色”。 + 默认这套取自 App 的默认蓝 #1565C0(ThemePrefs.defaultBlue);其余几套沿用同一套色阶。 */ + +:root { + --page: #eef2f9; + --card: #fbfdff; + --block: #e8edf6; + --inset: #dde4ee; + --on-surface: #101419; + --on-surface-variant: #414854; + --primary: #1565c0; + --on-primary: #ffffff; + --primary-container: #d8e3ff; + --on-primary-container: #001c3b; + --success: #006e1c; + --warning: #8b5000; + --error: #ba1a1a; + --error-container: #ffdad6; + --on-error-container: #93000a; +} + +:root[data-accent="purple"] { + --page: #f3ecef; + --card: #fef8f9; + --block: #f3ecef; + --inset: #e8e1e3; + --on-surface: #221822; + --on-surface-variant: #524151; + --primary: #cb30e0; + --on-primary: #ffffff; + --primary-container: #ffd6fc; + --on-primary-container: #6b2d72; +} + +:root[data-accent="pink"] { + --page: #f6ebeb; + --card: #fff8f7; + --block: #f6ebeb; + --inset: #ebe0e0; + --on-surface: #281718; + --on-surface-variant: #5d3f40; + --primary: #ff2d55; + --on-primary: #ffffff; + --primary-container: #ffdada; + --on-primary-container: #7d2933; +} + +:root[data-accent="red"] { + --page: #f6ebea; + --card: #fff8f7; + --block: #f6ebea; + --inset: #ebe0df; + --on-surface: #291715; + --on-surface-variant: #5d3f3d; + --primary: #ff383c; + --on-primary: #ffffff; + --primary-container: #ffdad7; + --on-primary-container: #7e2a27; +} + +:root[data-accent="orange"] { + --page: #f6ece7; + --card: #fff8f5; + --block: #f6ece7; + --inset: #eae1dc; + --on-surface: #241913; + --on-surface-variant: #564336; + --primary: #de7405; + --on-primary: #ffffff; + --primary-container: #ffdcc5; + --on-primary-container: #703700; +} + +:root[data-accent="yellow"] { + --page: #f3ede6; + --card: #fef8f5; + --block: #f3ede6; + --inset: #e7e2db; + --on-surface: #1f1b10; + --on-surface-variant: #4e4632; + --primary: #b08c00; + --on-primary: #ffffff; + --primary-container: #ffe08b; + --on-primary-container: #584400; +} + +:root[data-accent="green"] { + --page: #eeeee9; + --card: #fbf9f6; + --block: #eeeee9; + --inset: #e3e3de; + --on-surface: #161d16; + --on-surface-variant: #3d4a3c; + --primary: #00a741; + --on-primary: #ffffff; + --primary-container: #a5f5a8; + --on-primary-container: #00531c; +} + +@media (prefers-color-scheme: dark) { + :root { + --page: #101418; + --card: #1b2026; + --block: #232930; + --inset: #2f3640; + --on-surface: #e3e8f1; + --on-surface-variant: #c0c7d4; + --primary: #a8c8ff; + --on-primary: #003063; + --primary-container: #00468c; + --on-primary-container: #d8e3ff; + --success: #78dc77; + --warning: #ffb870; + --error: #ffb4ab; + --error-container: #93000a; + --on-error-container: #ffdad6; + } + + :root[data-accent="purple"] { + --page: #151315; + --card: #282527; + --block: #353234; + --inset: #433f41; + --on-surface: #fff3fa; + --on-surface-variant: #d7c0d3; + --primary: #d43be9; + --on-primary: #ffffff; + --primary-container: #6b2d72; + --on-primary-container: #ffd6fc; + } + + :root[data-accent="pink"] { + --page: #171212; + --card: #2a2525; + --block: #373131; + --inset: #443e3e; + --on-surface: #fff4f3; + --on-surface-variant: #e6bcbd; + --primary: #ff4962; + --on-primary: #ffffff; + --primary-container: #7d2933; + --on-primary-container: #ffdada; + } + + :root[data-accent="red"] { + --page: #171212; + --card: #2a2524; + --block: #373131; + --inset: #453e3e; + --on-surface: #fff4f3; + --on-surface-variant: #e6bdb9; + --primary: #ff504d; + --on-primary: #ffffff; + --primary-container: #7e2a27; + --on-primary-container: #ffdad7; + } + + :root[data-accent="orange"] { + --page: #171310; + --card: #292522; + --block: #37322f; + --inset: #443f3c; + --on-surface: #fff4ef; + --on-surface-variant: #ddc1b0; + --primary: #ff9a49; + --on-primary: #301400; + --primary-container: #703700; + --on-primary-container: #ffdcc5; + } + + :root[data-accent="yellow"] { + --page: #15130f; + --card: #282521; + --block: #35322e; + --inset: #42403b; + --on-surface: #fff5e5; + --on-surface-variant: #d2c5ab; + --primary: #e0b300; + --on-primary: #241a00; + --primary-container: #584400; + --on-primary-container: #ffe08b; + } + + :root[data-accent="green"] { + --page: #121411; + --card: #252624; + --block: #313330; + --inset: #3f403d; + --on-surface: #f1f9ec; + --on-surface-variant: #bccbb8; + --primary: #3fd060; + --on-primary: #002107; + --primary-container: #00531c; + --on-primary-container: #a5f5a8; + } +} + + +*, +*::before, +*::after { + box-sizing: border-box; +} + +[hidden] { + display: none !important; +} + +html { + scroll-padding-top: calc(var(--bar-h) + 16px); + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +body { + margin: 0; + background: var(--paper); + color: var(--ink); + font: 16px / 1.5 var(--sans); + -webkit-font-smoothing: antialiased; +} + +a { + color: inherit; +} + +button, +input { + font: inherit; + color: inherit; +} + +p { + margin: 0; +} + +:focus-visible { + outline: 2px solid var(--primary); + outline-offset: 3px; +} + +.skip { + position: fixed; + top: 12px; + left: 12px; + z-index: 30; + padding: 10px 18px; + border-radius: 999px; + background: var(--ink); + color: var(--paper); + font-weight: 600; + text-decoration: none; + transform: translateY(-200%); +} + +.skip:focus-visible { + transform: none; +} + +/* Material's state layer: each control names its fill and the content color laid over it on hover and press. */ +:where(.brand, .seg, .release-tag, .cta, .file, .go, .copy, .feat) { + --state: 0%; + background-color: color-mix(in srgb, var(--on) var(--state), var(--fill)); + transition: background-color 0.2s, color 0.2s, border-radius 0.4s var(--spring); +} + +@media (hover: hover) { + :where(.brand, .seg, .release-tag, .cta, .file, .copy, .feat):hover, + .file:hover .go { + --state: 8%; + } +} + +:where(.brand, .seg, .release-tag, .cta, .file, .copy, .feat):active, +.file:active .go { + --state: 10%; +} + +.bar { + position: fixed; + top: 12px; + left: var(--gutter); + right: var(--gutter); + z-index: 20; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + height: 56px; + padding: 0 8px 0 10px; + border-radius: 999px; + background: color-mix(in srgb, var(--float) 72%, transparent); + -webkit-backdrop-filter: blur(24px) saturate(1.6); + backdrop-filter: blur(24px) saturate(1.6); + transition: translate 0.45s var(--ease-out), opacity 0.3s; +} + +.bar.away:not(:focus-within) { + translate: 0 calc(-100% - 16px); + opacity: 0; + pointer-events: none; +} + +.brand, +.seg { + --fill: transparent; + --on: var(--on-surface); + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + height: 40px; + padding: 0 16px; + border: 0; + border-radius: 999px; + color: inherit; + font: inherit; + text-decoration: none; + cursor: pointer; +} + +/* Material's connected button group: --r is half an item's height and the radius of the group's ends and of the + selected item; the corners between items are a third of it and tighten on press. */ +.segs { + --r: 24px; + display: flex; + flex-wrap: wrap; + gap: 2px; +} + +.seg { + --fill: var(--seg-fill, var(--card)); + height: calc(var(--r) * 2); + padding: 0 calc(var(--r) - 2px); + border-radius: calc(var(--r) / 3); +} + +.seg:first-child { + border-top-left-radius: var(--r); + border-bottom-left-radius: var(--r); +} + +.seg:last-child { + border-top-right-radius: var(--r); + border-bottom-right-radius: var(--r); +} + +.seg:active { + border-radius: calc(var(--r) * 0.6); +} + +.seg:is([aria-current], [aria-selected="true"]), +.seg:is([aria-current], [aria-selected="true"]):active { + --fill: var(--primary); + --on: var(--on-primary); + border-radius: var(--r); + color: var(--on-primary); + font-weight: 600; +} + +.seg-icon { + display: grid; + flex: none; + place-items: center; +} + +.brand { + gap: 10px; + padding-left: 10px; + font-size: 17px; + font-weight: 600; + letter-spacing: -0.01em; +} + +.glyph { + width: 22px; + height: 22px; +} + +.links { + display: flex; + align-items: center; + gap: 8px; + font-size: 15px; + font-weight: 500; +} + +.links .segs { + --r: 20px; + --seg-fill: var(--float-fill); + flex-wrap: nowrap; +} + +.links .nav { + --seg-fill: transparent; + font-size: 14px; +} + +@media (max-width: 760px) { + .links .nav { + display: none; + } +} + + +.stage { + --dock-w: calc((100vw - 2 * var(--gutter)) * 0.42); + --mark: min(calc(var(--dock-w) - 24px), 62vh, 560px); + --spot: calc(var(--mark) * 0.72); + position: relative; + overflow-x: clip; +} + +.dock { + position: absolute; + inset: 0; + z-index: 2; + pointer-events: none; +} + +/* 首屏的大图标是个按钮:上传箭头画在图标形状里,点一下换形状、换配色。 */ +.emblem { + position: absolute; + width: var(--mark); + height: var(--mark); + padding: 0; + border: 0; + border-radius: 50%; + background: none; + color: inherit; + font: inherit; + visibility: hidden; + cursor: pointer; + pointer-events: auto; + touch-action: manipulation; + -webkit-tap-highlight-color: transparent; +} + +.emblem.ready { + visibility: visible; +} + +.emblem-press { + position: relative; + display: block; + width: 100%; + height: 100%; + transition: scale 0.4s var(--spring); +} + +.emblem:active .emblem-press { + scale: 0.94; +} + +.emblem-shape { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + overflow: visible; +} + +.emblem-shape path { + --state: 0%; + fill: color-mix(in srgb, var(--on-primary) var(--state), var(--primary)); + transition: fill 0.2s; +} + +@media (hover: hover) { + .emblem:hover .emblem-shape path { + --state: 8%; + } +} + +.emblem:active .emblem-shape path { + --state: 10%; +} + +.emblem-glyph { + position: absolute; + left: 30%; + top: 30%; + width: 40%; + height: 40%; + overflow: visible; + color: var(--on-primary); + transition: opacity 0.25s var(--ease-out); +} + +.dock-part { + grid-area: 1 / 1; + opacity: 0; +} + +/* data-part is the section the docked column names: 0 while the emblem travels, 1 features, 2 downloads, 3 the changelog. */ +[data-part="1"] .dock-part:first-child, +[data-part="2"] .dock-part:nth-child(2), +[data-part="3"] .dock-part:last-child { + opacity: 1; +} + +.dock-title { + display: none; +} + +.dock-name { + font-family: var(--display); + font-size: clamp(44px, 4.6vw, 72px); + font-stretch: 118%; + font-weight: 800; + line-height: 0.95; + letter-spacing: -0.035em; +} + +.dock-sub { + min-height: 1.5em; + margin-top: 14px; + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + + +.hero { + --title: clamp(50px, min(9.4vw, 15.2vh), 136px); + position: relative; + display: flex; + flex-direction: column; + min-height: 100vh; + min-height: 100svh; + padding: calc(var(--bar-h) + clamp(16px, 5.8vh, 52px)) var(--gutter) clamp(96px, 14vh, 124px); +} + +.spot { + pointer-events: none; +} + +.hero-copy { + position: relative; + z-index: 3; + display: flex; + flex-direction: column; + align-items: flex-start; + pointer-events: none; +} + +.hero-copy > * { + pointer-events: auto; +} + +.release-tag { + --fill: var(--card); + --on: var(--on-surface); + display: inline-flex; + align-items: center; + gap: 10px; + height: 36px; + padding: 0 7px; + border-radius: 18px; + font-family: var(--mono); + font-size: 12px; + text-decoration: none; +} + +.release-tag:active { + border-radius: 11px; +} + +#hero-release-text { + padding-right: 9px; +} + +#hero-release-text:empty { + display: none; +} + +.title { + display: flex; + flex-direction: column; + margin: 16px 0 0 -0.05em; + font-family: var(--display); + font-weight: 800; + letter-spacing: -0.035em; +} + +.title-word { + font-size: var(--title); + font-stretch: 118%; + line-height: 0.92; +} + +.title-for { + margin: 0.35em 0 0 0.15em; + color: var(--muted); + font-size: max(22px, calc(var(--title) * 0.256)); + font-weight: 500; + line-height: 1; + letter-spacing: -0.02em; +} + +.lede { + width: min(452px, 35vw); + margin-top: clamp(20px, 4.3vh, 39px); + font-size: 19px; + line-height: 1.5; + text-wrap: pretty; +} + +.cta-block { + display: grid; + justify-items: start; + gap: 10px; + margin-top: clamp(22px, 5.6vh, 51px); +} + +.cta { + --fill: var(--primary); + --on: var(--on-primary); + display: flex; + align-items: center; + gap: 10px; + height: 56px; + padding: 0 28px 0 22px; + border-radius: 28px; + color: var(--on-primary); + font-size: 16px; + font-weight: 600; + text-decoration: none; +} + +.cta:active { + border-radius: 16px; +} + +.cta-icon { + display: grid; + place-items: center; +} + +.cta-sub, +.cta-note { + color: var(--muted); + font-family: var(--mono); + font-size: 11px; +} + +.cta-note { + max-width: 34em; + font-family: var(--sans); + font-size: 13px; +} + +.scroll-hint { + position: absolute; + left: var(--gutter); + bottom: clamp(32px, 7.8vh, 70px); + display: flex; + align-items: center; + gap: 8px; + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + + +.flow { + position: relative; + z-index: 1; + padding: 0 var(--gutter) clamp(48px, 8vw, 96px); +} + +.part + .part { + margin-top: clamp(96px, 16vh, 168px); +} + +.headline { + margin: 0; + font-family: var(--display); + font-size: clamp(52px, 6.4vw, 96px); + font-stretch: 118%; + font-weight: 800; + line-height: 0.9; + letter-spacing: -0.035em; +} + +.lead { + max-width: 560px; + margin-top: 22px; + font-size: 18px; + line-height: 1.5; + text-wrap: pretty; +} + +.meta, +.section-sub { + min-height: 1.5em; + margin-top: 12px; + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + +/* 功能:两列 bento,第一张占满整行。卡片只用色调表面分层次,不加阴影和描边。 */ +.feats { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 10px; + margin: 36px 0 0; + padding: 0; + list-style: none; +} + +.feat { + --fill: var(--card); + --on: var(--on-surface); + position: relative; + display: flex; + flex-direction: column; + gap: 10px; + min-height: 216px; + padding: 22px 24px 24px; + border-radius: 28px; +} + +.feat.wide { + grid-column: 1 / -1; + min-height: 0; +} + +.feat-no { + align-self: flex-start; + padding: 3px 10px; + border-radius: 999px; + background: var(--primary-container); + color: var(--on-primary-container); + font-family: var(--mono); + font-size: 11px; + font-weight: 600; + letter-spacing: 0.06em; +} + +.feat h3 { + margin: 0; + font-family: var(--display); + font-size: clamp(30px, 3vw, 42px); + font-stretch: 118%; + font-weight: 800; + line-height: 1; + letter-spacing: -0.03em; +} + +.feat p { + margin: 0; + color: var(--muted); + font-size: 15px; + line-height: 1.6; + text-wrap: pretty; +} + +.feat.wide p { + max-width: 62ch; +} + +.feat-tags { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin-top: auto; + padding-top: 6px; +} + +.feat-tags span { + padding: 3px 10px; + border-radius: 999px; + background: var(--block); + color: var(--ink); + font-family: var(--mono); + font-size: 11px; + line-height: 18px; +} + +.chips { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 8px; + margin-top: 22px; + color: var(--muted); + font-size: 13px; +} + +.chips span { + padding: 6px 13px; + border-radius: 999px; + background: var(--card); + color: var(--ink); + font-size: 13px; +} + +.tabs { + margin-top: 28px; + font-size: 16px; + font-weight: 500; +} + +.segs.small { + --r: 18px; + font-size: 14px; +} + +.panel { + margin-top: 36px; +} + +.panel-top { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: 12px 24px; + min-height: 36px; + margin-bottom: 14px; +} + +.panel-hint { + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + +.files { + display: grid; + gap: 2px; + margin: 0; + padding: 0; + list-style: none; +} + +.file, +.tip { + border-radius: 6px; +} + +.file { + --fill: var(--card); + --on: var(--on-surface); + position: relative; + display: grid; + grid-template-columns: minmax(0, 1fr) 40px; + align-items: center; + gap: 16px; + padding: 12px 12px 12px 20px; +} + +:is(.file, .tip):first-child { + border-top-left-radius: 24px; + border-top-right-radius: 24px; +} + +:is(.file, .tip):last-child { + border-bottom-left-radius: 24px; + border-bottom-right-radius: 24px; +} + +.file-main { + min-width: 0; +} + +.file-head { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 4px 10px; +} + +.file-title { + font-size: 16px; + font-weight: 600; + text-decoration: none; +} + +.file-title::after { + content: ""; + position: absolute; + inset: 0; + border-radius: inherit; +} + +.rec-tag, +.latest, +.scope { + display: inline-block; + padding: 3px 10px; + border-radius: 999px; + font-family: var(--mono); + font-size: 11px; + font-weight: 600; + line-height: 16px; +} + +.rec-tag, +.latest { + letter-spacing: 0.06em; + text-transform: uppercase; +} + +.rec-tag { + background: var(--primary-container); + color: var(--on-primary-container); +} + +.file-sub { + display: flex; + flex-wrap: wrap; + align-items: baseline; + gap: 0 12px; + margin-top: 2px; + color: var(--muted); + font-family: var(--mono); + font-size: 11px; +} + +.note { + margin-right: 4px; + font-family: var(--sans); + font-size: 13px; +} + +.sha { + position: relative; + z-index: 1; + padding: 4px 0; + border: 0; + background: none; + color: inherit; + font: inherit; + text-decoration: underline dotted; + text-underline-offset: 3px; + cursor: pointer; +} + +.sha.done { + text-decoration: none; +} + +/* scene.js sets the start button's circle and cookie at this size as --circle and --cookie on the root. */ +.go { + --fill: var(--block); + --on: var(--on-surface); + display: grid; + place-items: center; + width: 40px; + height: 40px; + border-radius: 20px; + color: var(--ink); + clip-path: var(--circle, none); +} + +@media (hover: hover) { + .file:hover .go { + clip-path: var(--cookie, none); + } +} + +.file.rec .go { + --fill: var(--primary); + --on: var(--on-primary); + color: var(--on-primary); +} + +.dl-error { + margin-top: 10px; + padding: 16px 20px; + border-radius: 16px; + background: var(--error-container); + color: var(--on-error-container); +} + +.extras { + display: grid; + gap: 2px; + margin-top: 16px; +} + +.extras:empty { + display: none; +} + +.tip { + min-width: 0; + padding: 14px 20px 16px; + background: var(--card); +} + +.tip h3 { + margin: 0 0 2px; + font-size: 15px; + font-weight: 600; +} + +.tip p { + color: var(--muted); + font-size: 13px; +} + +.tip p + p { + margin-top: 6px; +} + +.cmd { + position: relative; + margin-top: 10px; + border-radius: 12px; + background: var(--block); +} + +.cmd pre { + margin: 0; + padding: 10px 48px 10px 14px; + overflow-x: auto; + font-family: var(--mono); + font-size: 11px; + line-height: 1.7; +} + +.copy { + --fill: transparent; + --on: var(--on-surface); + position: absolute; + top: 4px; + right: 4px; + display: grid; + place-items: center; + width: 36px; + height: 36px; + border: 0; + border-radius: 18px; + cursor: pointer; +} + +.copy .ico-check, +.copy.done .ico-copy { + display: none; +} + +.copy.done .ico-check { + display: block; +} + +.dl-links { + display: flex; + flex-wrap: wrap; + gap: 8px 24px; + margin-top: 28px; + font-family: var(--mono); + font-size: 12px; +} + +.dl-links a { + text-underline-offset: 4px; +} + + +.search { + display: flex; + align-items: center; + gap: 12px; + width: min(440px, 100%); + height: 56px; + margin-top: 28px; + padding: 0 12px 0 20px; + border-radius: 28px; + background: var(--card); + color: var(--muted); + cursor: text; +} + +.search:focus-within { + outline: 2px solid var(--primary); + outline-offset: 3px; +} + +.search input { + flex: 1; + min-width: 0; + height: 100%; + padding: 0; + border: 0; + outline: 0; + background: transparent; + color: var(--ink); + font-size: 16px; +} + +.search input::placeholder { + color: var(--muted); +} + +.search input::-webkit-search-cancel-button { + display: none; +} + +kbd { + display: grid; + place-items: center; + min-width: 32px; + height: 32px; + border-radius: 16px; + background: var(--block); + color: var(--muted); + font-family: var(--mono); + font-size: 11px; +} + +.cl-status { + min-height: 1.5em; + margin-top: 16px; + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + +.cl-status button { + padding: 0; + border: 0; + background: none; + text-decoration: underline; + text-underline-offset: 3px; + cursor: pointer; +} + +.cl-status a { + text-underline-offset: 3px; +} + +.year { + padding: 48px 0 12px; + border-bottom: 1px solid var(--rule); + font-family: var(--display); + font-size: 22px; + font-stretch: 118%; + font-weight: 800; + letter-spacing: -0.02em; +} + +.timeline > .year:first-child { + padding-top: 8px; +} + +.release { + display: grid; + grid-template-columns: minmax(0, 168px) minmax(0, 1fr); + gap: 14px 32px; + padding: 32px 0; + border-bottom: 1px solid var(--rule); +} + +.release-head { + position: sticky; + top: 28px; + align-self: start; + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 8px; +} + +.ver-row { + display: flex; + align-items: center; + gap: 10px; +} + +.ver { + font-family: var(--display); + font-size: 30px; + font-stretch: 118%; + font-weight: 800; + line-height: 1; + letter-spacing: -0.03em; + text-decoration: none; +} + +.latest { + background: var(--primary); + color: var(--on-primary); +} + +.when { + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + +.when a { + display: inline-flex; + align-items: center; + gap: 4px; + text-decoration: none; +} + +.when a:hover { + color: var(--ink); + text-decoration: underline; + text-underline-offset: 3px; +} + +.release-body { + display: grid; + gap: 22px; + min-width: 0; +} + +.group { + --type: var(--muted); +} + +.group[data-type="feat"] { + --type: var(--success); +} + +.group[data-type="fix"] { + --type: var(--primary); +} + +.group[data-type="perf"] { + --type: var(--warning); +} + +.group[data-type="breaking"] { + --type: var(--error); +} + +.group-title { + display: flex; + align-items: center; + gap: 10px; + margin: 0 0 10px; + font-family: var(--mono); + font-size: 11px; + font-weight: 600; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.mark { + width: 10px; + height: 10px; + border-radius: 50%; + background: var(--type); +} + +.entries { + display: grid; + gap: 8px; + margin: 0; + padding: 0; + list-style: none; +} + +.entry { + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 16px; + font-size: 15px; + line-height: 1.55; +} + +.entry-text { + min-width: 0; + overflow-wrap: anywhere; +} + +.scope { + margin-right: 8px; + padding: 2px 9px; + background: var(--card); + color: var(--muted); + vertical-align: 1px; +} + +.hash { + flex: none; + color: var(--muted); + font-family: var(--mono); + font-size: 11px; + text-decoration: none; +} + +.hash:hover { + color: var(--ink); + text-decoration: underline; +} + +.empty { + color: var(--muted); +} + +mark { + border-radius: 4px; + background: var(--primary-container); + color: var(--on-primary-container); +} + +.foot { + display: flex; + flex-wrap: wrap; + align-items: flex-end; + justify-content: space-between; + gap: 24px 40px; + padding: 48px var(--gutter) max(48px, env(safe-area-inset-bottom)); + border-top: 1px solid var(--rule); +} + +.foot-main { + display: grid; + gap: 10px; +} + +.foot-name { + font-family: var(--display); + font-size: 28px; + font-stretch: 118%; + font-weight: 800; + letter-spacing: -0.03em; +} + +.foot-text { + max-width: 46ch; + color: var(--muted); + font-family: var(--mono); + font-size: 12px; +} + +.foot-links { + font-size: 14px; + font-weight: 500; +} + + +@media (prefers-reduced-motion: no-preference) { + .hero-copy > * { + animation: rise 0.9s var(--ease-out) backwards; + } + + .hero-copy > :nth-child(2) { + animation-delay: 0.06s; + } + + .hero-copy > :nth-child(3) { + animation-delay: 0.12s; + } + + .hero-copy > :nth-child(4) { + animation-delay: 0.18s; + } + + .hero-copy > :nth-child(5) { + animation-delay: 0.24s; + } + + .scroll-hint { + animation: rise 0.9s var(--ease-out) 0.5s backwards; + } + + .emblem.ready .emblem-press { + animation: grow 0.9s var(--spring) 0.15s backwards; + } + + .cta-icon svg, + .file .go svg { + transition: translate 0.4s var(--spring); + } + + .go { + transition: background-color 0.2s, clip-path 0.45s var(--spring); + } + + .dock-part { + translate: 0 12px; + transition: opacity 0.09s linear, translate 0.09s linear; + } + + /* 点按钮时:箭头往上送出去,再从下方回到原位。 */ + .emblem.pop .glyph-arrow { + animation: upload-arrow 0.78s cubic-bezier(0.3, 0, 0.2, 1) both; + } + + .emblem.pop .glyph-tray { + animation: tray-bump 0.78s var(--spring) both; + } + + [data-part="1"] .dock-part:first-child, + [data-part="2"] .dock-part:nth-child(2), + [data-part="3"] .dock-part:last-child { + translate: none; + transition: opacity 0.21s linear 0.09s, translate 0.5s var(--spring) 0.09s; + } + + #features { + transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out), translate 0.7s var(--spring); + } + + .cta:hover .cta-icon svg, + .file:hover .go svg { + translate: 0 3px; + } + + .release.pending { + opacity: 0; + translate: 0 24px; + } + + .release.shown { + transition: opacity 0.6s var(--ease-out), translate 0.8s var(--spring); + } +} + +@keyframes rise { + from { + opacity: 0; + translate: 0 18px; + } +} + +@keyframes grow { + from { + opacity: 0; + scale: 0.4; + } +} + +@keyframes upload-arrow { + 0% { + translate: 0 0; + opacity: 1; + } + + 35% { + translate: 0 -18%; + opacity: 0; + } + + 50% { + translate: 0 16%; + opacity: 0; + } + + 85%, + 100% { + translate: 0 0; + opacity: 1; + } +} + +@keyframes tray-bump { + 0%, + 100% { + scale: 1; + } + + 50% { + scale: 1.06; + } +} + + +/* Wide screens split below the hero: the emblem docks in the left column above the name of the section the right + column is showing. The downloads start under the hero and stay hidden until the emblem has docked, then appear in + place with their top on --rest, the line the docked column starts on, instead of scrolling up through empty space. */ +@media (min-width: 960px) { + .stage { + --mark: min(calc(var(--dock-w) - 24px), 48vh, 440px); + --spot: calc(var(--mark) * 0.8); + --rest: max(20vh, 96px); + } + + .dock-view { + position: sticky; + top: 0; + height: 100vh; + } + + .emblem { + left: var(--gutter); + top: var(--rest); + } + + .dock-title { + position: absolute; + left: var(--gutter); + top: calc(var(--rest) + var(--mark) + 32px); + display: grid; + width: var(--dock-w); + } + + .part-head { + position: absolute; + width: 1px; + height: 1px; + overflow: hidden; + clip-path: inset(50%); + white-space: nowrap; + } + + .part-head + * { + margin-top: 0; + } + + [data-part="0"] #features { + opacity: 0; + filter: blur(16px); + translate: 0 32px; + pointer-events: none; + } + + .spot { + position: absolute; + left: calc(78% - var(--spot) / 2); + top: calc(50% - var(--spot) / 2); + width: var(--spot); + height: var(--spot); + } + + /* 55vh is the scroll by which scene.js has docked the emblem, DOCKED_VH. */ + .flow { + margin-top: calc(var(--rest) - 55vh); + padding-left: calc(var(--gutter) + var(--dock-w) + clamp(32px, 3vw, 56px)); + } +} + +@media (min-width: 960px) and (max-width: 1279.98px) { + .release { + grid-template-columns: minmax(0, 1fr); + } + + .release-head { + position: static; + flex-direction: row; + flex-wrap: wrap; + align-items: baseline; + gap: 6px 14px; + } +} + +@media (max-width: 959.98px) { + .feat { + min-height: 0; + } + + .stage { + --mark: min(64vw, 38vh, 340px); + --spot: calc(var(--mark) / 1.15); + } + + .emblem { + left: 0; + top: 0; + } + + .hero { + min-height: 0; + padding-bottom: 48px; + } + + .spot { + order: 1; + align-self: center; + width: var(--spot); + height: var(--spot); + margin-top: 40px; + } + + .lede { + width: auto; + max-width: 30em; + font-size: 17px; + } + + .scroll-hint { + display: none; + } + + .flow { + padding-top: 24px; + } + + .release { + grid-template-columns: minmax(0, 1fr); + } + + .release-head { + position: static; + flex-direction: row; + flex-wrap: wrap; + align-items: baseline; + gap: 6px 14px; + } + + .ver { + font-size: 26px; + } +} + +@media (max-width: 640px) { + .feats { + grid-template-columns: minmax(0, 1fr); + margin-top: 28px; + } + + .feat.wide { + grid-column: auto; + } + + :root { + --bar-h: 72px; + } + + .bar { + top: 8px; + height: 52px; + } + + .gh-name { + display: none; + } + + .links .seg { + padding: 0 10px; + } + + .note { + flex-basis: 100%; + } + + .foot-links { + flex-direction: column; + width: 100%; + } + + .foot-links .seg, + .foot-links .seg:is(:first-child, :last-child) { + border-radius: calc(var(--r) / 3); + } + + .foot-links .seg:first-child { + border-top-left-radius: var(--r); + border-top-right-radius: var(--r); + } + + .foot-links .seg:last-child { + border-bottom-left-radius: var(--r); + border-bottom-right-radius: var(--r); + } + + .tabs { + --r: 22px; + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + font-size: 15px; + } + + .tabs .seg { + padding: 0 6px; + } +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..0210721 --- /dev/null +++ b/index.html @@ -0,0 +1,184 @@ + + + + + + 中育Toolbox – 云笔记、图库、测评、专栏、随身答,一个客户端 + + + + + + + + + + + + + + + + + + + +
    + 中育Toolbox + +
    + +
    +
    +
    + + +
    +
    + +
    +
    +
    + 最新v1.3.1 +

    + 中育Toolbox + 适用于 Windows +

    +

    把云笔记、图库、测评、专栏和随身答收进同一个客户端。账号和主题都留在本地,开源、无广告。

    + +
    + + +
    + +
    +
    +
    +

    功能

    +

    五个模块共用一套账号:登录一次,笔记、测评、课程和随身答就都在手边。

    +

    5 个模块 · 多账号 · 插件 · MCP

    +
    +
      +
    • + 01 +

      资源

      +

      云笔记按文件夹浏览,搜索、重命名、移动和回收站都在,笔记可以导出 PDF,也能把整本笔记的页面截图打包下载。图库支持拍照或从相册上传,点开是原图,双指、滚轮和拖动都能缩放。

      +

      云笔记图库搜索回收站PDF 导出教师分享

      +
    • +
    • + 02 +

      测评

      +

      待处理、已完成、全部三个列表随时切换;每道题都带答案、解析和知识点。概览给出总分、均分、最高最低与五项进度,题目分析能追到错的是谁。本人的错题可以一键加进官方错题本,客观题答案还能导出 xlsx。

      +

      三栏列表题目解析成绩概览错题本

      +
    • +
    • + 03 +

      主页

      +

      账号卡片和未完成测评统计在最上面,选课、网阅联考、问卷调查、应用下载、开发工具和设置的入口都收在这一页,换账号也在这里。

      +

      多账号待办统计入口聚合

      +
    • +
    • + 04 +

      学习

      +

      在线专栏按学科分成专栏和文章,可以收藏、看消息。优客畅学列出在学与公开课程,章节里的 PDF、视频和 PPT 直接在应用内打开,习题也能在画板上作答。

      +

      在线专栏优客畅学习题附件预览

      +
    • +
    • + 05 +

      问答

      +

      随身答的会话、回复和提问都在这里。画板编辑器对齐官方工具集:手写、直线、荧光笔、图形、文字和图片,支持录制与录音;图片搜索、收藏、未读角标和自定义分类也一并做了。

      +

      画板图片搜索收藏未读分类

      +
    • +
    +

    还有多账号切换主题色跟随系统取色插件(.zytbplugin)MCP 服务错题笔记网阅联考问卷调查Windows 托盘

    +
    + +
    +
    +

    下载

    +

    已为当前设备选好安装包。每个文件都标了大小和 SHA-256,下载后可以自行校验。

    +

    +
    +
    + + + + +
    +
    +
    +

    +
    +
      + + +
      + +
      +
      + +
      +
      +

      更新日志

      +

      +
      + +

      +
      + +
      +
      +
      + +
      +
      +

      中育Toolbox

      +

      以 GPL-3.0 协议开源。本页随每次发布更新。非官方客户端,与学校及中育平台没有隶属关系,仅供学习交流。

      +
      + +
      + + + + + + + diff --git a/release.json b/release.json new file mode 100644 index 0000000..4a5ec1b --- /dev/null +++ b/release.json @@ -0,0 +1,31 @@ +{ + "tag": "v1.3.1", + "publishedAt": "2026-11-29T00:00:00Z", + "assets": [ + { + "name": "zhongyu-toolbox-android-v1.3.1.apk", + "size": 167772160, + "digest": "sha256:5f9e1c4870b2889a666d14e5295a3121fe0d82e27fff1eea1792f01a00ebbc53" + }, + { + "name": "zhongyu-toolbox-ios-v1.3.1-unsigned.ipa", + "size": 46347059, + "digest": "sha256:3ea77dc3041bd613d6c6aab9ce809cd280f7b9c9d45994c6fe4d23adad0760a1" + }, + { + "name": "zhongyu-toolbox-macos-v1.3.1.zip", + "size": 74134323, + "digest": "sha256:ffb3d50e9227ecab253a6c26fddc651fef244fa47cdf48a3fd645ba5c1f759b7" + }, + { + "name": "zhongyu-toolbox-windows-v1.3.1-setup.exe", + "size": 50855936, + "digest": "sha256:28e23f75f27300f4866dccc620a856f825f300c080a180a24efe711d0f866dd4" + }, + { + "name": "zhongyu-toolbox-windows-v1.3.1.zip", + "size": 66060288, + "digest": "sha256:0243864096e168922986020f962268f5c155395baca1e009f5efbc535ecc8532" + } + ] +}