{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== 'OCR模型免费转Markdown' && linkText !== 'OCR模型免费转Markdown' ) { link.textContent = 'OCR模型免费转Markdown'; link.href = 'https://fast360.xyz'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== '模型下载攻略' ) { link.textContent = '模型下载攻略'; link.href = '/'; replacedLinks.add(link); } // 删除Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, 'OCR模型免费转Markdown'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); \n\n"},"meta":{"kind":"string","value":"{'content_hash': '29f9b1683a16dbd4e796b1c9cef877bc', 'timestamp': '', 'source': 'github', 'line_count': 182, 'max_line_length': 163, 'avg_line_length': 27.46153846153846, 'alnum_prop': 0.5898359343737495, 'repo_name': 'MarcelJurtz/Vorlesungsevaluation', 'id': '6e871e1ab810fe8d35f3cf8bb24f1d1749eeedc6', 'size': '5011', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'student/survey_edit.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '3299'}, {'name': 'JavaScript', 'bytes': '5208'}, {'name': 'PHP', 'bytes': '118368'}]}"}}},{"rowIdx":849815,"cells":{"text":{"kind":"string","value":"\n\npackage org.apache.polygene.runtime.composite;\n\nimport org.apache.polygene.api.concern.ConcernDescriptor;\n\n/**\n * JAVADOC\n */\npublic final class ConcernModel extends AbstractModifierModel\n implements ConcernDescriptor\n{\n public ConcernModel( Class concernClass, Class instantiationClass )\n {\n super( concernClass, instantiationClass );\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'aec98a6bffadaebc9aba8d29be6a8481', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 71, 'avg_line_length': 21.294117647058822, 'alnum_prop': 0.7541436464088398, 'repo_name': 'Qi4j/qi4j-sdk', 'id': 'b583aaf23e3f88d28a0dd6660f9133a56c0d4c24', 'size': '1187', 'binary': False, 'copies': '3', 'ref': 'refs/heads/develop', 'path': 'core/runtime/src/main/java/org/apache/polygene/runtime/composite/ConcernModel.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '47894'}, {'name': 'Dockerfile', 'bytes': '6578'}, {'name': 'Groovy', 'bytes': '182719'}, {'name': 'HTML', 'bytes': '274845'}, {'name': 'Java', 'bytes': '9262986'}, {'name': 'JavaScript', 'bytes': '76579'}, {'name': 'Python', 'bytes': '6472'}, {'name': 'Shell', 'bytes': '6828'}, {'name': 'XSLT', 'bytes': '74729'}]}"}}},{"rowIdx":849816,"cells":{"text":{"kind":"string","value":"\n\n \n unittest-sql-example\n demo.jz2013\n 1.0-SNAPSHOT\n \n 4.0.0\n pom\n\n sql-unittest-demoapp\n \n sql-unittest-demo-core\n sql-unittest-demo-schema\n \n\n\n"},"meta":{"kind":"string","value":"{'content_hash': '19699738fd3b416ab208101c5da4b3ee', 'timestamp': '', 'source': 'github', 'line_count': 20, 'max_line_length': 108, 'avg_line_length': 34.1, 'alnum_prop': 0.6495601173020528, 'repo_name': 'eirikma/sql-unittest-example', 'id': '858968ef704f9d860de7da55a2e591e787d96503', 'size': '682', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'sql-unittest-demoapp/pom.xml', 'mode': '33261', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '164311'}, {'name': 'PLSQL', 'bytes': '20917'}]}"}}},{"rowIdx":849817,"cells":{"text":{"kind":"string","value":"namespace autofill_assistant {\nclass UiControllerAndroid;\n// Delegate class for CollectUserDataAction, to react on clicks on its chips.\nclass AssistantCollectUserDataDelegate {\n public:\n explicit AssistantCollectUserDataDelegate(UiControllerAndroid* ui_controller);\n ~AssistantCollectUserDataDelegate();\n\n void OnContactInfoChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n const base::android::JavaParamRef& jcontact_profile);\n\n void OnShippingAddressChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n const base::android::JavaParamRef& jaddress);\n\n void OnCreditCardChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n const base::android::JavaParamRef& jcard,\n const base::android::JavaParamRef& jbilling_profile);\n\n void OnTermsAndConditionsChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint state);\n\n void OnTextLinkClicked(JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint link);\n\n void OnLoginChoiceChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n const base::android::JavaParamRef& jidentifier);\n\n void OnDateTimeRangeStartDateChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint year,\n jint month,\n jint day);\n\n void OnDateTimeRangeStartDateCleared(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller);\n\n void OnDateTimeRangeStartTimeSlotChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint index);\n\n void OnDateTimeRangeStartTimeSlotCleared(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller);\n\n void OnDateTimeRangeEndDateChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint year,\n jint month,\n jint day);\n\n void OnDateTimeRangeEndDateCleared(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller);\n\n void OnDateTimeRangeEndTimeSlotChanged(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n jint index);\n\n void OnDateTimeRangeEndTimeSlotCleared(\n JNIEnv* env,\n const base::android::JavaParamRef& jcaller);\n\n void OnKeyValueChanged(JNIEnv* env,\n const base::android::JavaParamRef& jcaller,\n const base::android::JavaParamRef& jkey,\n const base::android::JavaParamRef& jvalue);\n\n void OnTextFocusLost(JNIEnv* env,\n const base::android::JavaParamRef& jcaller);\n\n base::android::ScopedJavaGlobalRef GetJavaObject();\n\n private:\n UiControllerAndroid* ui_controller_;\n\n // Java-side AssistantCollectUserDataDelegate object.\n base::android::ScopedJavaGlobalRef\n java_assistant_collect_user_data_delegate_;\n};\n} // namespace autofill_assistant\n\n#endif // CHROME_BROWSER_ANDROID_AUTOFILL_ASSISTANT_ASSISTANT_COLLECT_USER_DATA_DELEGATE_H_\n"},"meta":{"kind":"string","value":"{'content_hash': 'f814e904b66d459418c3cf510165ca63', 'timestamp': '', 'source': 'github', 'line_count': 98, 'max_line_length': 92, 'avg_line_length': 33.04081632653061, 'alnum_prop': 0.695799876466955, 'repo_name': 'endlessm/chromium-browser', 'id': '8dc3abe9411671e899da42e8bbd3e949c59e4fe2', 'size': '3628', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'chrome/browser/android/autofill_assistant/assistant_collect_user_data_delegate.h', 'mode': '33188', 'license': 'bsd-3-clause', 'language': []}"}}},{"rowIdx":849818,"cells":{"text":{"kind":"string","value":"Materials for presentation \"Scope in javaScript– potential traps for people new in javaScript\"\n\nHow to run it:\n* install node from https://nodejs.org/en/download/\n* npm install\n* run index.html in the browser\n"},"meta":{"kind":"string","value":"{'content_hash': '746a6ed0b65bf21b41e9cd901e57deee', 'timestamp': '', 'source': 'github', 'line_count': 6, 'max_line_length': 94, 'avg_line_length': 34.833333333333336, 'alnum_prop': 0.7751196172248804, 'repo_name': 'Krzysiek102/ScopeInJavaScript', 'id': '969053b8648436a5ebb2c620ab2f0418b53b28e3', 'size': '232', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'README.md', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'HTML', 'bytes': '734'}, {'name': 'JavaScript', 'bytes': '8680'}]}"}}},{"rowIdx":849819,"cells":{"text":{"kind":"string","value":"NS_ASSUME_NONNULL_BEGIN\n\n@implementation STDSTextFieldCustomization\n\n+ (instancetype)defaultSettings {\n return [self new];\n}\n\n- (instancetype)init {\n self = [super init];\n if (self) {\n self.font = [UIFont _stds_defaultLabelTextFontWithScale:(CGFloat)1.9];\n _borderWidth = 2;\n _cornerRadius = 8;\n _keyboardAppearance = UIKeyboardAppearanceDefault;\n \n self.textColor = UIColor._stds_labelColor;\n _borderColor = UIColor.clearColor;\n _placeholderTextColor = UIColor._stds_systemGray2Color;\n }\n return self;\n}\n\n- (id)copyWithZone:(nullable NSZone *)zone {\n STDSTextFieldCustomization *copy = [super copyWithZone:zone];\n copy.borderWidth = self.borderWidth;\n copy.borderColor = self.borderColor;\n copy.cornerRadius = self.cornerRadius;\n copy.keyboardAppearance = self.keyboardAppearance;\n copy.placeholderTextColor = self.placeholderTextColor;\n \n return copy;\n}\n\n@end\n\nNS_ASSUME_NONNULL_END\n"},"meta":{"kind":"string","value":"{'content_hash': '349d4c4ea40c126960a8716470c1599c', 'timestamp': '', 'source': 'github', 'line_count': 37, 'max_line_length': 78, 'avg_line_length': 26.486486486486488, 'alnum_prop': 0.6918367346938775, 'repo_name': 'stripe/stripe-ios', 'id': '18a85c8de1983bf00e879b54962205d51a521d06', 'size': '1241', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Stripe3DS2/Stripe3DS2/STDSTextFieldCustomization.m', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '663'}, {'name': 'HTML', 'bytes': '259541'}, {'name': 'JavaScript', 'bytes': '76560'}, {'name': 'Mustache', 'bytes': '9421'}, {'name': 'Objective-C', 'bytes': '1387115'}, {'name': 'Ruby', 'bytes': '106095'}, {'name': 'SCSS', 'bytes': '31808'}, {'name': 'Shell', 'bytes': '36821'}, {'name': 'Swift', 'bytes': '6061875'}]}"}}},{"rowIdx":849820,"cells":{"text":{"kind":"string","value":"\n\n \n \n \n dpdgraph: Not compatible 👼\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n
\n
\n
\n « Up\n

\n dpdgraph\n \n 0.6.4\n Not compatible 👼\n \n

\n

📅 (2022-10-04 18:00:14 UTC)

\n

Context

\n
# Packages matching: installed\n# Name                # Installed # Synopsis\nbase-bigarray         base\nbase-threads          base\nbase-unix             base\nconf-findutils        1           Virtual package relying on findutils\nconf-gmp              4           Virtual package relying on a GMP lib system installation\ncoq                   8.13.0      Formal proof management system\nnum                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic\nocaml                 4.12.1      The OCaml compiler (virtual package)\nocaml-base-compiler   4.12.1      Official release 4.12.1\nocaml-config          2           OCaml Switch Configuration\nocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled\nocamlfind             1.9.5       A library manager for OCaml\nzarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers\n# opam file:\nopam-version: "2.0"\nmaintainer: "yves.bertot@inria.fr"\nlicense: "LGPL 2.1"\nhomepage: "https://github.com/karmaki/coq-dpdgraph"\nbuild: [\n  ["./configure"]\n  ["echo" "%{jobs}%" "jobs for the linter"]\n  [make]\n ]\nbug-reports: "https://github.com/karmaki/coq-dpdgraph/issues"\ndev-repo: "git+https://github.com/karmaki/coq-dpdgraph.git"\ninstall: [\n  [make "install" "BINDIR=%{bin}%"]\n]\nremove: [\n  ["rm" "%{bin}%/dpd2dot" "%{bin}%/dpdusage"]\n  ["rm" "-R" "%{lib}%/coq/user-contrib/dpdgraph"]\n]\ndepends: [\n  "ocaml" {< "4.08.0"}\n  "coq" {>= "8.9" & < "8.10~"}\n  "ocamlgraph"\n]\nauthors: [ "Anne Pacalet" "Yves Bertot"]\nsynopsis: "Compute dependencies between Coq objects (definitions, theorems) and produce graphs"\nflags: light-uninstall\nurl {\n  src:\n    "https://github.com/Karmaki/coq-dpdgraph/releases/download/v0.6.4/coq-dpdgraph-0.6.4.tgz"\n  checksum: "md5=93e5ffcfa808fdba9cc421866ee1d416"\n}\n
\n

Lint

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
\n

Dry install 🏜️

\n

Dry install with the current Coq version:

\n
\n
Command
\n
opam install -y --show-action coq-dpdgraph.0.6.4 coq.8.13.0
\n
Return code
\n
5120
\n
Output
\n
[NOTE] Package coq is already installed (current version is 8.13.0).\nThe following dependencies couldn't be met:\n  - coq-dpdgraph -> ocaml < 4.08.0\n      base of this switch (use `--unlock-base' to force)\nNo solution found, exiting\n
\n
\n

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

\n
\n
Command
\n
opam remove -y coq; opam install -y --show-action --unlock-base coq-dpdgraph.0.6.4
\n
Return code
\n
0
\n
\n

Install dependencies

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Duration
\n
0 s
\n
\n

Install 🚀

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Duration
\n
0 s
\n
\n

Installation size

\n

No files were installed.

\n

Uninstall 🧹

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Missing removes
\n
\n none\n
\n
Wrong removes
\n
\n none\n
\n
\n
\n
\n
\n
\n
\n

\n Sources are on GitHub © Guillaume Claret 🐣\n

\n
\n
\n \n \n \n\n"},"meta":{"kind":"string","value":"{'content_hash': '9aff9d3f93211475400b1221dee4dc0c', 'timestamp': '', 'source': 'github', 'line_count': 172, 'max_line_length': 159, 'avg_line_length': 40.848837209302324, 'alnum_prop': 0.5371477369769427, 'repo_name': 'coq-bench/coq-bench.github.io', 'id': '39f199066d260006f52f7f4e3bd7bc09363b447c', 'size': '7051', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'clean/Linux-x86_64-4.12.1-2.0.8/released/8.13.0/dpdgraph/0.6.4.html', 'mode': '33188', 'license': 'mit', 'language': []}"}}},{"rowIdx":849821,"cells":{"text":{"kind":"string","value":"import { FunctionComponent } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport NotificationsSystem, {\n bootstrapTheme,\n dismissNotification,\n} from 'reapop';\n\nexport const NotificationContainer: FunctionComponent = () => {\n const dispatch = useDispatch();\n const notifications = useSelector((state: any) => state.notifications);\n return (\n dispatch(dismissNotification(id))}\n />\n );\n};\n"},"meta":{"kind":"string","value":"{'content_hash': 'e5c2304dbe768e54eea18aaa461379b4', 'timestamp': '', 'source': 'github', 'line_count': 18, 'max_line_length': 73, 'avg_line_length': 30.333333333333332, 'alnum_prop': 0.7142857142857143, 'repo_name': 'opennode/waldur-homeport', 'id': 'e8c9835b168887a2e50c0cf4841b6021e453b8fb', 'size': '546', 'binary': False, 'copies': '1', 'ref': 'refs/heads/develop', 'path': 'src/NotificationContainer.tsx', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '181090'}, {'name': 'Dockerfile', 'bytes': '808'}, {'name': 'HTML', 'bytes': '195802'}, {'name': 'JavaScript', 'bytes': '1231952'}, {'name': 'Shell', 'bytes': '363'}, {'name': 'TypeScript', 'bytes': '1637778'}]}"}}},{"rowIdx":849822,"cells":{"text":{"kind":"string","value":"package types\n\nimport (\n\t\"github.com/rivine/rivine/build\"\n)\n\n// BlockchainInfo contains information about a blockchain.\ntype BlockchainInfo struct {\n\tName string\n\tNetworkName string\n\tCoinUnit string\n\tChainVersion build.ProtocolVersion\n\tProtocolVersion build.ProtocolVersion\n}\n\n// DefaultNetworkName returns a sane default network name,\n// based on the build.Release tag (NOTE that in most cases\n// you do really want a user-approved default network name\n// rather than this static value).\nfunc DefaultNetworkName() string {\n\tswitch build.Release {\n\tcase \"standard\":\n\t\treturn \"standard\"\n\tcase \"testing\":\n\t\treturn \"testnet\"\n\tcase \"dev\":\n\t\treturn \"devnet\"\n\tdefault:\n\t\tpanic(\"unknown build.Release tag: \" + build.Release)\n\t}\n}\n\n// DefaultBlockchainInfo returns the blockchain information\n// for the default (Rivine) blockchain, using the version\n// which is set as part of the build process.\nfunc DefaultBlockchainInfo() BlockchainInfo {\n\treturn BlockchainInfo{\n\t\tName: \"Rivine\",\n\t\tNetworkName: DefaultNetworkName(),\n\t\tCoinUnit: \"ROC\",\n\t\tChainVersion: build.Version,\n\t\tProtocolVersion: build.Version,\n\t}\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'c444f82058424daade6382fc916986be', 'timestamp': '', 'source': 'github', 'line_count': 44, 'max_line_length': 59, 'avg_line_length': 26.181818181818183, 'alnum_prop': 0.7274305555555556, 'repo_name': 'rivine/rivine', 'id': '0006958da58b685e02a580c822684bf461a89f9c', 'size': '1152', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'types/blockchain.go', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Go', 'bytes': '1890620'}, {'name': 'Makefile', 'bytes': '5559'}, {'name': 'Shell', 'bytes': '2875'}]}"}}},{"rowIdx":849823,"cells":{"text":{"kind":"string","value":"@interface AKUFixedDate : NSObject\n\n+ (NSDate *)date;\n+ (NSString *)string;\n\n@end"},"meta":{"kind":"string","value":"{'content_hash': 'e5491462ad63a123df1d765ef2003e1c', 'timestamp': '', 'source': 'github', 'line_count': 6, 'max_line_length': 34, 'avg_line_length': 13.5, 'alnum_prop': 0.691358024691358, 'repo_name': 'akuraru/AKUTestKit', 'id': '1a4d74437fe38c2a6cb94d8ae5e37d8cffde77f0', 'size': '291', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Pod/Classes/generator/AKUFixedDate.h', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Objective-C', 'bytes': '47099'}, {'name': 'Ruby', 'bytes': '1615'}]}"}}},{"rowIdx":849824,"cells":{"text":{"kind":"string","value":"package alien4cloud.webconfiguration;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\n\nimport com.mangofactory.swagger.configuration.SpringSwaggerConfig;\nimport com.mangofactory.swagger.plugin.EnableSwagger;\nimport com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin;\nimport com.wordnik.swagger.model.ApiInfo;\n\n@Configuration\n@EnableSwagger\npublic class RestDocumentationConfig {\n private SpringSwaggerConfig springSwaggerConfig;\n\n @Autowired\n public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {\n this.springSwaggerConfig = springSwaggerConfig;\n }\n\n @Bean\n public SwaggerSpringMvcPlugin customImplementation() {\n return new SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(apiInfo());\n }\n\n private ApiInfo apiInfo() {\n ApiInfo apiInfo = new ApiInfo(\"ALIEN 4 Cloud API\", \"Welcome on the live configuration of ALIEN 4 Cloud Rest API.\", \"\", \"alien-support@fastconnect.fr\",\n \"Licensed under the Apache License, Version 2.0\", \"http://www.apache.org/licenses/LICENSE-2.0\");\n return apiInfo;\n }\n}"},"meta":{"kind":"string","value":"{'content_hash': '6ff7e0de0702ab6cd99b56f4a20984d3', 'timestamp': '', 'source': 'github', 'line_count': 32, 'max_line_length': 158, 'avg_line_length': 38.28125, 'alnum_prop': 0.7746938775510204, 'repo_name': 'xdegenne/alien4cloud', 'id': 'c181f009829d837abbf6a1d20f637144fcd55d9c', 'size': '1225', 'binary': False, 'copies': '5', 'ref': 'refs/heads/features/customwf', 'path': 'alien4cloud-rest-api/src/main/java/alien4cloud/webconfiguration/RestDocumentationConfig.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'ApacheConf', 'bytes': '59321'}, {'name': 'Batchfile', 'bytes': '653'}, {'name': 'CSS', 'bytes': '75924'}, {'name': 'Cucumber', 'bytes': '388687'}, {'name': 'Groovy', 'bytes': '139435'}, {'name': 'HTML', 'bytes': '407298'}, {'name': 'Java', 'bytes': '2950746'}, {'name': 'JavaScript', 'bytes': '1490857'}, {'name': 'Shell', 'bytes': '42418'}]}"}}},{"rowIdx":849825,"cells":{"text":{"kind":"string","value":"setName('secret:store')\n ->setDescription('Store a Portunus secret')\n ->addArgument(\n 'safe',\n InputArgument::OPTIONAL,\n 'Safe name'\n )\n ->addArgument(\n 'key',\n InputArgument::OPTIONAL,\n 'Secret key'\n )\n ->addArgument(\n 'value',\n InputArgument::OPTIONAL,\n 'Secret value'\n )\n ;\n }\n\n protected function execute(InputInterface $input, OutputInterface $output)\n {\n $SafeController = new SafeController();\n\n $safeName = $input->getArgument('safe');\n if (empty($safeName)) {\n $safeNames = $SafeController->getSafeNames();\n $helper = $this->getHelper('question');\n $question = new ChoiceQuestion(\n 'Please select the safe for this secret: ',\n $safeNames\n );\n $safeName = $helper->ask($input, $output, $question);\n }\n\n if (empty($safeName)) {\n throw new \\Exception(\"Invalid safe name\");\n }\n\n $output->writeln('');\n $output->writeln(sprintf(\"Using safe '%s'... \", $safeName));\n\n $keyName = $input->getArgument('key');\n if (empty($keyName)) {\n $helper = $this->getHelper('question');\n $question = new Question('Please enter the key name for this secret : ');\n $keyName = $helper->ask($input, $output, $question);\n }\n\n if (empty($keyName)) {\n throw new \\Exception(\"Invalid key name\");\n }\n\n $value = $input->getArgument('value');\n if (empty($value)) {\n $helper = $this->getHelper('question');\n $question = new Question('Please enter the value for this secret (output hidden): ');\n $question->setHidden(true);\n $question->setHiddenFallback(false);\n $value = $helper->ask($input, $output, $question);\n }\n\n if (empty($value) && !file_exists($value)) {\n throw new \\Exception(\"Invalid value\");\n }\n\n if (file_exists($value)) {\n $value = file_get_contents($value);\n }\n\n $output->writeln('');\n $output->write(sprintf(\"Creating secret '%s'... \", $keyName));\n\n $SecretController = new SecretController();\n\n try {\n $safe = $SafeController->view($safeName);\n $SecretController->create($safe, $keyName, $value);\n } catch (\\Exception $e) {\n $output->writeln('FAILED');\n $output->writeln('');\n $output->writeln('' . $e->getMessage() .'');\n return;\n }\n\n $output->writeln('DONE');\n $output->writeln('');\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '52c5aa797064da9eb91bf8ac68501205', 'timestamp': '', 'source': 'github', 'line_count': 110, 'max_line_length': 118, 'avg_line_length': 32.00909090909091, 'alnum_prop': 0.5506958250497018, 'repo_name': 'garyr/portunus', 'id': '171aaba67f16808ca4ac93b2eadc115691cf8226', 'size': '3521', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/Portunus/Console/Command/Secret/StoreCommand.php', 'mode': '33261', 'license': 'mit', 'language': [{'name': 'PHP', 'bytes': '56427'}]}"}}},{"rowIdx":849826,"cells":{"text":{"kind":"string","value":" if (RedisModule_CreateCommand(ctx, cmd, f, \"readonly fast allow-loading allow-stale\", \\\n 1, 1, 1) == REDISMODULE_ERR) return REDISMODULE_ERR;\n\nint CommentCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)\n{\n RedisModule_ReplyWithSimpleString(ctx, \"\");\n return REDISMODULE_OK; \n}\n\nint RedisModule_OnLoad(RedisModuleCtx *ctx)\n{\n // Register the module itself\n if (RedisModule_Init(ctx, \"COMMENTDIS\", 1, REDISMODULE_APIVER_1) ==\n REDISMODULE_ERR) {\n return REDISMODULE_ERR;\n }\n\n // register CommentCommand - using the shortened utility registration macro\n RMUtil_RegisterReadCmd(ctx, \"#\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \";;\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \"//\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \"/*\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \"/**\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \"comment\", CommentCommand);\n RMUtil_RegisterReadCmd(ctx, \"comment:\", CommentCommand);\n\n return REDISMODULE_OK;\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '7389a3a6645e6618e2959e0c0144c450', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 91, 'avg_line_length': 38.107142857142854, 'alnum_prop': 0.6794751640112465, 'repo_name': 'picotera/commentDis', 'id': '59c283ef5beade265f2fc5be9e169dd774d1950e', 'size': '1140', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'module.c', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '17941'}, {'name': 'Makefile', 'bytes': '799'}]}"}}},{"rowIdx":849827,"cells":{"text":{"kind":"string","value":"\n\nimport async from 'async';\nimport csv from 'babyparse';\nimport sundial from 'sundial';\n\nimport TZOUtil from '../../TimezoneOffsetUtil';\nimport annotate from '../../eventAnnotations';\nimport common from '../../commonFunctions';\n\nconst isBrowser = typeof window !== 'undefined';\nconst debug = isBrowser ? require('bows')('LibreViewDriver') : console.log;\n\nfunction addOutOfRangeAnnotation(recordBuilder, low, high, units, type) {\n let step = 1;\n if (units === 'mmol/L') {\n step = 0.1;\n }\n\n if (low !== null && recordBuilder.value < low + step) {\n recordBuilder.with_value(low);\n annotate.annotateEvent(recordBuilder, {\n code: `${type}/out-of-range`,\n value: 'low',\n threshold: common.fixFloatingPoint(low + step),\n });\n } else if (high !== null && recordBuilder.value > high - step) {\n recordBuilder.with_value(high);\n annotate.annotateEvent(recordBuilder, {\n code: `${type}/out-of-range`,\n value: 'high',\n threshold: common.fixFloatingPoint(high - step),\n });\n }\n}\n\nmodule.exports = (config) => {\n const LIBREVIEW_TS_FORMAT = [\n 'YYYY-MM-DD hh:mm A',\n 'YYYY-MM-DD HH:mm',\n 'MM-DD-YYYY hh:mm A',\n 'MM-DD-YYYY HH:mm',\n ];\n\n const LIBREVIEW_TS_FORMAT_ALT = [\n 'DD-MM-YYYY hh:mm A',\n 'DD-MM-YYYY HH:mm',\n ];\n\n const RECORD_TYPE_HISTORIC = 0;\n const RECORD_TYPE_SCAN = 1;\n const RECORD_TYPE_STRIP = 2;\n const RECORD_TYPE_KETONE = 3;\n\n const GLUCOSE_HI = {\n 'mg/dL': 500,\n 'mmol/L': 27.8,\n };\n\n const GLUCOSE_LO = {\n 'mg/dL': 40,\n 'mmol/L': 2.2,\n };\n\n const STRIP_GLUCOSE_LO = {\n 'mg/dL': 20,\n 'mmol/L': 1.1,\n };\n\n const KETONE_HI = 8.0;\n const KETONE_LO = null; // ketone value cannot be low\n\n const TYPES_TO_READ = {\n 0: 4, // Historic Glucose\n 1: 5, // Scan Glucose\n 2: 14, // Strip Glucose\n 3: 15, // Ketone\n\n 4: false, // Rapid-Acting Insulin (units) OR Non-numeric Long-Acting Insulin\n 5: false, // Non-numeric Food\n 6: false, // ?\n };\n\n return {\n detect: (obj, cb) => {\n debug('LibreView Detect!');\n cb(null, obj);\n },\n\n setup: (deviceInfo, progress, cb) => {\n debug('LibreView Setup!');\n progress(100);\n deviceInfo = deviceInfo || {};\n cb(null, { devices: deviceInfo });\n },\n\n connect: (progress, payload, cb) => {\n debug('LibreView Connect!');\n progress(100);\n cb(null, payload);\n },\n\n getConfigInfo: (progress, payload, cb) => {\n debug('LibreView GetConfigInfo!');\n // Due to language differences, we cannot parse the units from the CSV\n // If we find any values larger than 40, we use mg/dL instead\n config.units = 'mmol/L';\n progress(100);\n cb(null, payload);\n },\n\n fetchData: (progress, payload, cb) => {\n debug('LibreView FetchData!');\n let data = config.filedata;\n payload.filedata = config.filedata; // to store as blob\n\n if (typeof config.filedata !== 'string') {\n data = new TextDecoder().decode(new Uint8Array(config.filedata));\n }\n\n debug('LibreView data', data.length);\n\n const endOfPreamble = data.indexOf('\\n') + 1;\n // Setup the preamble to have everything up to the header line\n payload.preamble = csv.parse(data.substr(0, endOfPreamble), {});\n\n // Store the rest of the data\n const parsed = csv.parse(data.substr(endOfPreamble), {\n dynamicTyping: true,\n });\n\n if (parsed.data[0].filter((x) => x).length <= 2) {\n // for LibreView Pro, we remove the patient name and birth date\n parsed.data.shift();\n }\n\n const parseRows = (format) => {\n const rows = [];\n let validateDateFormat = false;\n\n debug('Using format', format);\n\n for (let i = parsed.data.length - 1; i > 0; --i) {\n const datum = parsed.data[i];\n\n if (datum[0] === '') {\n /* eslint-disable-next-line no-continue */\n continue;\n }\n\n if (!sundial.isValidDateForMask(datum[2], format)) {\n return false;\n }\n\n datum.jsDate = sundial.parseFromFormat(datum[2], format);\n\n if ((datum.jsDate.getDate() > 12) || Number(datum[2].slice(0, 4))) {\n // if there's a row in the data where the date is higher than 12\n // (to distinguish it from the month) or the year is first, it's valid\n validateDateFormat = true;\n }\n\n datum.deviceTime = sundial.formatDeviceTime(datum.jsDate);\n datum.csvIndex = i;\n\n const recordType = datum[3];\n if (!TYPES_TO_READ[recordType]) {\n /* eslint-disable-next-line no-continue */\n continue;\n }\n datum.device = `${datum[0]} ${datum[1]}`;\n datum.type = TYPES_TO_READ[recordType];\n\n datum.value = Number(datum[datum.type]);\n\n if (Number.isNaN(datum.value)) {\n // comma decimal separator is being used\n datum.value = Number(datum[datum.type].replace(',', '.'));\n }\n\n if (Number.isNaN(datum.value)) {\n throw new Error('Could not parse value');\n }\n\n if (datum.value >= GLUCOSE_LO['mg/dL']) {\n config.units = 'mg/dL';\n }\n\n rows.push(datum);\n }\n\n if (!validateDateFormat) {\n return false;\n }\n\n return rows;\n };\n\n let rows = parseRows(LIBREVIEW_TS_FORMAT);\n\n if (rows === false) {\n // we can't use DD/MM/YYYY and MM/DD/YYYY formats at the same time, as moment.js\n // will just use whatever one works, so we first try the one and then the other\n debug('Trying alternative date format');\n rows = parseRows(LIBREVIEW_TS_FORMAT_ALT);\n }\n\n if (rows === false) {\n // we can't be sure about the date format, so we have to throw an error\n return cb('E_LIBREVIEW_FORMAT');\n }\n\n payload.theData = rows;\n\n debug(`Read ${rows.length} entries`);\n\n debug('Separate into per-device arrays');\n for (let k = 0; k < payload.theData.length; ++k) {\n const key = payload.theData[k].device;\n let device = payload.devices[key];\n if (device == null) {\n device = {};\n payload.devices[key] = device;\n\n device.data = [];\n\n device.info = {\n deviceModel: payload.theData[k][0],\n serialNumber: payload.theData[k][1],\n };\n device.info.deviceId = (\n `Abbott${device.info.deviceModel}-${device.info.serialNumber}`\n ).replace(/ /g, '');\n }\n device.data.push(payload.theData[k]);\n }\n\n delete payload.theData;\n\n let entryCount = 0;\n Object.keys(payload.devices).forEach((key) => {\n const device = payload.devices[key];\n debug(`Device ${key}: ${device.data.length} entries`);\n entryCount += device.data.length;\n });\n\n if (entryCount === 0) {\n debug('Error reading file, no data parsed.');\n return cb(new Error('Error reading file, no data parsed.'));\n }\n\n return cb(null, payload);\n },\n\n processData: (progress, payload, cb) => {\n debug('LibreView ProcessData!');\n progress(20);\n\n let ts = 0;\n Object.keys(payload.devices).forEach((key) => {\n const device = payload.devices[key];\n const mostRecentDatum = device.data[0];\n if (mostRecentDatum.jsDate > ts) {\n ts = mostRecentDatum.jsDate;\n }\n });\n\n const mostRecent = sundial.applyTimezone(ts, config.timezone).toISOString();\n\n const validateUnits = (value) => {\n if ((config.units === 'mg/dL') && !Number.isInteger(value)) {\n throw new Error('Could not validate units');\n }\n };\n\n Object.keys(payload.devices).forEach((key) => {\n const device = payload.devices[key];\n const events = device.data;\n\n const postRecords = [];\n payload.postRecords = postRecords;\n\n config.tzoUtil = new TZOUtil(config.timezone, mostRecent, postRecords);\n device.postRecords = postRecords;\n config.builder.setDefaults({ deviceId: device.info.deviceId });\n\n events.filter(elem => elem[3] === RECORD_TYPE_HISTORIC)\n .forEach((record) => {\n const cbg = config.builder.makeCBG()\n .with_value(record.value)\n .with_units(config.units)\n .with_deviceTime(sundial.formatDeviceTime(record.jsDate))\n .set('index', record.csvIndex);\n\n validateUnits(record.value);\n config.tzoUtil.fillInUTCInfo(cbg, record.jsDate);\n\n addOutOfRangeAnnotation(cbg, GLUCOSE_LO[config.units], GLUCOSE_HI[config.units], config.units, 'bg');\n postRecords.push(cbg.done());\n });\n events.filter(elem => (elem[3] === RECORD_TYPE_STRIP || elem[3] === RECORD_TYPE_SCAN))\n .forEach((record) => {\n const smbg = config.builder.makeSMBG()\n .with_value(record.value)\n .with_units(config.units)\n .with_deviceTime(sundial.formatDeviceTime(record.jsDate))\n .set('index', record.csvIndex);\n\n if (record[3] === RECORD_TYPE_SCAN) {\n smbg.with_subType('scanned');\n }\n\n validateUnits(record.value);\n\n if (record[3] === RECORD_TYPE_STRIP) {\n addOutOfRangeAnnotation(smbg, STRIP_GLUCOSE_LO[config.units], GLUCOSE_HI[config.units], config.units, 'bg');\n } else {\n addOutOfRangeAnnotation(smbg, GLUCOSE_LO[config.units], GLUCOSE_HI[config.units], config.units, 'bg');\n }\n\n config.tzoUtil.fillInUTCInfo(smbg, record.jsDate);\n\n postRecords.push(smbg.done());\n });\n events.filter(elem => elem[3] === RECORD_TYPE_KETONE)\n .forEach((record) => {\n const ketone = config.builder.makeBloodKetone()\n .with_value(record.value)\n .with_units('mmol/L')\n .with_deviceTime(sundial.formatDeviceTime(record.jsDate))\n .set('index', record.csvIndex);\n\n addOutOfRangeAnnotation(ketone, KETONE_LO, KETONE_HI, 'mmol/L', 'ketone');\n config.tzoUtil.fillInUTCInfo(ketone, record.jsDate);\n postRecords.push(ketone.done());\n });\n });\n progress(100);\n cb(null, payload);\n },\n\n uploadData: (progress, payload, cb) => {\n progress(0);\n payload.post_records = [];\n\n const devices = {\n total: Object.keys(payload.devices).length,\n index: 0,\n };\n\n async.eachSeries(Object.keys(payload.devices), (key, done) => {\n const device = payload.devices[key];\n const deviceRecords = device.postRecords;\n\n deviceRecords.forEach((record) => delete record.index);\n\n const sessionInfo = {\n deviceTags: ['bgm', 'cgm'],\n deviceManufacturers: ['Abbott'],\n\n deviceModel: device.info.deviceModel,\n deviceSerialNumber: device.info.serialNumber,\n deviceId: device.info.deviceId,\n\n start: sundial.utcDateString(),\n timeProcessing: config.tzoUtil.type,\n tzName: config.timezone,\n version: config.version,\n blobId: payload.blobId,\n source: 'LibreView', // to be able to distinguish from direct uploads\n };\n\n if (device.info.annotations) {\n annotate.annotateEvent(sessionInfo, device.info.annotations);\n }\n\n devices.index += 1;\n\n config.api.upload.toPlatform(\n deviceRecords, sessionInfo, progress, config.groupId,\n (err) => {\n if (err) {\n debug(err);\n return done(err);\n }\n\n payload.post_records = payload.post_records.concat(deviceRecords);\n return done();\n }, 'dataservices', devices,\n );\n }, (err) => {\n if (err) {\n progress(100);\n cb(err);\n }\n progress(100);\n cb(null, payload);\n });\n },\n\n disconnect: (progress, payload, cb) => {\n debug('LibreView Disconnect!');\n progress(100);\n cb(null, payload);\n },\n\n cleanup: (progress, payload, cb) => {\n debug('LibreView Cleanup!');\n progress(100);\n cb(null, payload);\n },\n };\n};\n"},"meta":{"kind":"string","value":"{'content_hash': '0516eb69535a2563034c3a299da8e84c', 'timestamp': '', 'source': 'github', 'line_count': 413, 'max_line_length': 122, 'avg_line_length': 29.753026634382568, 'alnum_prop': 0.5606282552083334, 'repo_name': 'tidepool-org/chrome-uploader', 'id': '7196db28e30c6e1a4f6d222a7217fc1bfc1116b7', 'size': '12987', 'binary': False, 'copies': '1', 'ref': 'refs/heads/electron-v16', 'path': 'lib/drivers/abbott/libreViewDriver.js', 'mode': '33188', 'license': 'bsd-2-clause', 'language': [{'name': 'CSS', 'bytes': '59542'}, {'name': 'HTML', 'bytes': '1022'}, {'name': 'JavaScript', 'bytes': '2111363'}, {'name': 'Lua', 'bytes': '10853'}, {'name': 'NSIS', 'bytes': '2148'}, {'name': 'Shell', 'bytes': '6978'}]}"}}},{"rowIdx":849828,"cells":{"text":{"kind":"string","value":"define(['lib/news_special/bootstrap'], function (news) {\n\n var View = function (data, error) {\n this.data = data;\n this.error = error;\n\n if (this.data && !error) {\n this.renderSenateChart();\n this.renderSenateResults();\n this.renderHouseResults();\n this.renderIndependentResults();\n }\n };\n\n View.prototype = {\n renderSenateChart: function () {\n news.$('.crat-uc').css('width', this.data.senate_democrats_uncontested + '%');\n news.$('.crat-c').css('width', this.data.senate_democrats_contested + '%');\n news.$('.pending').css('width', this.data.pending + '%');\n news.$('.gop-c').css('width', this.data.senate_republican_contested + '%');\n news.$('.gop-uc').css('width', this.data.senate_republican_uncontested + '%');\n },\n renderSenateResults: function () {\n news.$('.midterms-widget__senate-results__crats').html(this.data.senate_democrats_total + '&#42;');\n news.$('.midterms-widget__senate-results__gop').html(this.data.senate_republican_total);\n },\n renderHouseResults: function () {\n news.$('.midterms-widget__house-results__crats').html(this.data.house_democrats);\n news.$('.midterms-widget__house-results__gop').html(this.data.house_republican);\n },\n renderIndependentResults: function () {\n if (this.data.independent_senate > 0) {\n news.$('.midterms-widget__senate-results__independent').html('Independent &#58; ' + this.data.independent_senate);\n }\n if (this.data.independent_house > 0) {\n news.$('.midterms-widget__house-results__independent').html('

Independent &#58; ' + this.data.independent_house);\n }\n }\n };\n\n return View;\n});"},"meta":{"kind":"string","value":"{'content_hash': 'dd6512dc2b71dc88ecca1bca900942e4', 'timestamp': '', 'source': 'github', 'line_count': 42, 'max_line_length': 131, 'avg_line_length': 44.23809523809524, 'alnum_prop': 0.5645855758880517, 'repo_name': 'BBCVisualJournalism/newsspec_8939', 'id': '2c4f454c43ebc1c16a49638dcae90bcba7768552', 'size': '1858', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'source/js/view.js', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '26731'}, {'name': 'JavaScript', 'bytes': '106174'}]}"}}},{"rowIdx":849829,"cells":{"text":{"kind":"string","value":"import EnemyCard from \"../../../src/artifact/js/EnemyCard.js\";\n\nQUnit.module(\"EnemyCard\");\n\nvar EnemyCardTest = {};\n\nQUnit.test(\"EnemyCard properties Black Forest Bats\", function(assert)\n{\n var cardKey = EnemyCard.BLACK_FOREST_BATS_PTM;\n var properties = EnemyCard.properties[cardKey];\n assert.equal(properties.name, \"Black Forest Bats\");\n assert.equal(properties.key, \"blackForestBatsPtm\");\n});\n\nQUnit.test(\"keys and values\", function(assert)\n{\n // Setup.\n\n // Run.\n var result = EnemyCard.keys();\n var ownPropertyNames = Object.getOwnPropertyNames(EnemyCard);\n\n // Verify.\n ownPropertyNames.forEach(function(key)\n {\n var key2 = EnemyCard[key];\n\n if (key !== \"properties\" && typeof key2 === \"string\")\n {\n assert.ok(EnemyCard.properties[key2], \"Missing value for key = \" + key);\n }\n });\n\n result.forEach(function(value)\n {\n var p = ownPropertyNames.filter(function(key)\n {\n return EnemyCard[key] === value;\n });\n\n assert.equal(p.length, 1, \"Missing key for value = \" + value);\n });\n});\n\nQUnit.test(\"traits\", function(assert)\n{\n EnemyCard.keys().forEach(function(cardKey)\n {\n var card = EnemyCard.properties[cardKey];\n card.traitKeys.forEach(function(traitKey)\n {\n assert.ok(traitKey, \"Missing traitKey for cardKey = \" + cardKey);\n });\n });\n});\n\nQUnit.test(\"EnemyCard.keys()\", function(assert)\n{\n // Run.\n var result = EnemyCard.keys();\n\n // Verify.\n assert.ok(result);\n var length = 32;\n assert.equal(result.length, length);\n assert.equal(result[0], EnemyCard.ATTERCOP_ATTERCOP);\n assert.equal(result[length - 1], EnemyCard.WOLF_RIDER);\n});\n\nexport default EnemyCardTest;"},"meta":{"kind":"string","value":"{'content_hash': '768f19216380799ed00660282bcd3de3', 'timestamp': '', 'source': 'github', 'line_count': 70, 'max_line_length': 81, 'avg_line_length': 24.385714285714286, 'alnum_prop': 0.6420620972466315, 'repo_name': 'jmthompson2015/lotr-card-game', 'id': 'a8beb3d8b52911fb8d511080a8e2c14f3b2f7ac1', 'size': '1707', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'test/artifact/js/EnemyCardTest.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '133109'}, {'name': 'HTML', 'bytes': '42759'}, {'name': 'JavaScript', 'bytes': '2247285'}, {'name': 'Shell', 'bytes': '2456'}]}"}}},{"rowIdx":849830,"cells":{"text":{"kind":"string","value":"\n\n#pragma once\n#include \n#include \n#include \n#include \n#include \n\nnamespace Aws\n{\nnamespace KinesisAnalyticsV2\n{\nnamespace Model\n{\n\n /**\n */\n class AWS_KINESISANALYTICSV2_API AddApplicationVpcConfigurationRequest : public KinesisAnalyticsV2Request\n {\n public:\n AddApplicationVpcConfigurationRequest();\n\n // Service request name is the Operation name which will send this request out,\n // each operation should has unique request name, so that we can get operation's name from this request.\n // Note: this is not true for response, multiple operations may have the same response name,\n // so we can not get operation's name from response.\n inline virtual const char* GetServiceRequestName() const override { return \"AddApplicationVpcConfiguration\"; }\n\n Aws::String SerializePayload() const override;\n\n Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;\n\n\n /**\n *

The name of an existing application.

\n */\n inline const Aws::String& GetApplicationName() const{ return m_applicationName; }\n\n /**\n *

The name of an existing application.

\n */\n inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }\n\n /**\n *

The name of an existing application.

\n */\n inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }\n\n /**\n *

The name of an existing application.

\n */\n inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }\n\n /**\n *

The name of an existing application.

\n */\n inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }\n\n /**\n *

The name of an existing application.

\n */\n inline AddApplicationVpcConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}\n\n /**\n *

The name of an existing application.

\n */\n inline AddApplicationVpcConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}\n\n /**\n *

The name of an existing application.

\n */\n inline AddApplicationVpcConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}\n\n\n /**\n *

The version of the application to which you want to add the VPC\n * configuration. You must provide the CurrentApplicationVersionId or\n * the ConditionalToken. You can use the DescribeApplication\n * operation to get the current application version. If the version specified is\n * not the current version, the ConcurrentModificationException is\n * returned. For better concurrency support, use the ConditionalToken\n * parameter instead of CurrentApplicationVersionId.

\n */\n inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }\n\n /**\n *

The version of the application to which you want to add the VPC\n * configuration. You must provide the CurrentApplicationVersionId or\n * the ConditionalToken. You can use the DescribeApplication\n * operation to get the current application version. If the version specified is\n * not the current version, the ConcurrentModificationException is\n * returned. For better concurrency support, use the ConditionalToken\n * parameter instead of CurrentApplicationVersionId.

\n */\n inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }\n\n /**\n *

The version of the application to which you want to add the VPC\n * configuration. You must provide the CurrentApplicationVersionId or\n * the ConditionalToken. You can use the DescribeApplication\n * operation to get the current application version. If the version specified is\n * not the current version, the ConcurrentModificationException is\n * returned. For better concurrency support, use the ConditionalToken\n * parameter instead of CurrentApplicationVersionId.

\n */\n inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }\n\n /**\n *

The version of the application to which you want to add the VPC\n * configuration. You must provide the CurrentApplicationVersionId or\n * the ConditionalToken. You can use the DescribeApplication\n * operation to get the current application version. If the version specified is\n * not the current version, the ConcurrentModificationException is\n * returned. For better concurrency support, use the ConditionalToken\n * parameter instead of CurrentApplicationVersionId.

\n */\n inline AddApplicationVpcConfigurationRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}\n\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline AddApplicationVpcConfigurationRequest& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}\n\n /**\n *

Description of the VPC to add to the application.

\n */\n inline AddApplicationVpcConfigurationRequest& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}\n\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline const Aws::String& GetConditionalToken() const{ return m_conditionalToken; }\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline bool ConditionalTokenHasBeenSet() const { return m_conditionalTokenHasBeenSet; }\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline void SetConditionalToken(const Aws::String& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = value; }\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline void SetConditionalToken(Aws::String&& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = std::move(value); }\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline void SetConditionalToken(const char* value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken.assign(value); }\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline AddApplicationVpcConfigurationRequest& WithConditionalToken(const Aws::String& value) { SetConditionalToken(value); return *this;}\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline AddApplicationVpcConfigurationRequest& WithConditionalToken(Aws::String&& value) { SetConditionalToken(std::move(value)); return *this;}\n\n /**\n *

A value you use to implement strong concurrency for application updates. You\n * must provide the ApplicationVersionID or the\n * ConditionalToken. You get the application's current\n * ConditionalToken using DescribeApplication. For better\n * concurrency support, use the ConditionalToken parameter instead of\n * CurrentApplicationVersionId.

\n */\n inline AddApplicationVpcConfigurationRequest& WithConditionalToken(const char* value) { SetConditionalToken(value); return *this;}\n\n private:\n\n Aws::String m_applicationName;\n bool m_applicationNameHasBeenSet = false;\n\n long long m_currentApplicationVersionId;\n bool m_currentApplicationVersionIdHasBeenSet = false;\n\n VpcConfiguration m_vpcConfiguration;\n bool m_vpcConfigurationHasBeenSet = false;\n\n Aws::String m_conditionalToken;\n bool m_conditionalTokenHasBeenSet = false;\n };\n\n} // namespace Model\n} // namespace KinesisAnalyticsV2\n} // namespace Aws\n"},"meta":{"kind":"string","value":"{'content_hash': '0eab272a9f9526e73723e0243caf6a92', 'timestamp': '', 'source': 'github', 'line_count': 249, 'max_line_length': 154, 'avg_line_length': 47.97991967871486, 'alnum_prop': 0.7226081861555202, 'repo_name': 'aws/aws-sdk-cpp', 'id': '2629e19f2220ad84e23b2a7168931db24d4f8cb9', 'size': '12066', 'binary': False, 'copies': '1', 'ref': 'refs/heads/main', 'path': 'aws-cpp-sdk-kinesisanalyticsv2/include/aws/kinesisanalyticsv2/model/AddApplicationVpcConfigurationRequest.h', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'C', 'bytes': '309797'}, {'name': 'C++', 'bytes': '476866144'}, {'name': 'CMake', 'bytes': '1245180'}, {'name': 'Dockerfile', 'bytes': '11688'}, {'name': 'HTML', 'bytes': '8056'}, {'name': 'Java', 'bytes': '413602'}, {'name': 'Python', 'bytes': '79245'}, {'name': 'Shell', 'bytes': '9246'}]}"}}},{"rowIdx":849831,"cells":{"text":{"kind":"string","value":"\r\n */\r\nclass Xi_State_Machine_Exception extends Xi_Exception\r\n{}\r\n"},"meta":{"kind":"string","value":"{'content_hash': '0f56a21d32a30be3cc3402f12812a295', 'timestamp': '', 'source': 'github', 'line_count': 8, 'max_line_length': 73, 'avg_line_length': 24.625, 'alnum_prop': 0.6548223350253807, 'repo_name': 'Ezku/xi-framework', 'id': '89f6384c3e4a3072d92c8750bf613c18c8d429c4', 'size': '197', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'framework/core/Xi/State/Machine/Exception.php', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'JavaScript', 'bytes': '20000'}, {'name': 'PHP', 'bytes': '17590007'}]}"}}},{"rowIdx":849832,"cells":{"text":{"kind":"string","value":"baidu.frontia.storage = baidu.frontia.storage || {};\n\n(function (namespace_) {\n\n var Error = namespace_.error;\n var ErrConst = namespace_.ERR_MSG;\n var BSSUriPrefixs = namespace_.DomainManager.getFrontiaDomain() + '/bss/document';\n var BCSUriPrefixs = namespace_.DomainManager.getFrontiaDomain() + '/bcs/object';\n var PBLOGUriPrefixs = namespace_.DomainManager.getPBLogDomain() + '/pushlog';\n\n\n // File类\n namespace_.File = namespace_.Object.extend(/** @lends baidu.frontia.File.prototype*/{\n\n /**\n * 创建一个新的File对象实例\n *\n * @name baidu.frontia.File\n * @extends baidu.frontia.Object\n * @constructor\n * @param {File} file 浏览器DOM File对象\n * @param {string} target 上传到云存储上文件名,包含全路径\n * @param {baidu.frontia.ACL} [acl] baidu.frontia.ACL对象\n */\n constructor: function(file, target, acl) {\n if (file && !(file instanceof File)) {\n throw new Error(ErrConst.INVALID_PARAMS, '[baidu.frontia.File.constructor]: file is invalid');\n }\n this.file = file;\n this.target = target;\n this.detail = null;\n namespace_.Object.prototype.constructor.call(this, acl);\n },\n\n /**\n * 获取具体文件信息\n *\n * @returns {Object}\n */\n getFileInfo: function() {\n return this.detail;\n },\n\n _getFile: function() {\n return this.file;\n },\n _getTarget:function() {\n return this.target;\n },\n _setFileInfo: function(info) {\n this.detail = info\n }\n });\n\n \n namespace_.Data = namespace_.Object.extend(/** @lends baidu.frontia.Data.prototype */{\n /**\n * 创建一个新的Data对象实例\n *\n * @name baidu.frontia.Data\n * @extends baidu.frontia.Object\n * @constructor\n * @param {Object} obj 结构化数据内容,与mongodb一致\n * @param {baidu.frontia.ACL} [acl] baidu.frontia.ACL对象\n */\n constructor: function(obj, acl) {\n this.obj = obj || {};\n namespace_.Object.prototype.constructor.call(this, acl);\n },\n\n /**\n * 获取结构化数据信息\n *\n * @returns {Object} dataInfo\n */\n getData: function() {\n return this.obj;\n }\n });\n\n /** @namespace baidu.frontia.storage*/\n var storage = /** @lends baidu.frontia.storage*/{\n options: {\n error: function(){},\n success: function(){}\n },\n\n _configure: function(options) {\n options = options || {};\n options.error && (this.options.error = options.error);\n options.success && (this.options.success = options.success);\n },\n\n _checkParams: function(params, prompt) {\n var self = this;\n\n return params.every(function(elem) {\n if (elem.type === 'file' && !(elem.value && elem.value instanceof namespace_.File)) {\n self.options.error(new Error(ErrConst.INVALID_PARAMS, '['+ prompt + ']: file is null or not typeof File of baidu.frontia'));\n return false;\n }\n if (elem.type === 'string' && !(elem.value && typeof elem.value === 'string')) {\n self.options.error(new Error(ErrConst.INVALID_PARAMS, '['+ prompt +']: target is invalid'));\n return false;\n }\n if (elem.type === 'array' && !(elem.value && Object.prototype.toString.call(elem.value).slice(8, -1) === 'Array')){\n self.options.error(new Error(ErrConst.INVALID_PARAMS, '[' + prompt + ']: targets is invalid'));\n return false;\n }\n if (elem.type === 'query' && !(elem.value && elem.value instanceof storage.Query)) {\n self.options.error(new Error(ErrConst.INVALID_PARAMS, '['+ prompt + ']: query is invalid'));\n return false;\n }\n if (elem.type === 'data' && !(elem.value && elem.value instanceof namespace_.Data)) {\n self.options.error(new Error(ErrConst.INVALID_PARAMS, '['+ prompt +']: data is invalid'));\n return false;\n }\n return true;\n });\n },\n\n /**\n * 上传文件\n *\n * @param {baidu.frontia.File} file frontia提供的File对象\n * @param {Object} options\n * @param {function(result)} [options.success] 上传成功后callback\n * @param {function(error, xhr)} [options.error] 上传失败后callback\n */\n uploadFile: function(file, options) {\n\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.uploadFile';\n frontia_action['timestamp'] = _getTimestamp();\n\n var self = this;\n\n options = options || {};\n self._configure(options);\n if (!self._checkParams([{value: file, type: 'file'}], 'storage.uploadFile')) return;\n\n var fileInfo = {\n file: file._getFile(),\n acl: file._getACLInfo(),\n target: file._getTarget()\n }\n var body = self._attachAccount({method: 'getuploadurl'});\n\n var ajax = namespace_.ajax;\n ajax.post(BCSUriPrefixs, JSON.stringify(body), 'json', {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json',\n callback: function(data) {\n\n if (data.error_code) {\n self.options.error(new Error(data));\n } else {\n var url = data.response_params.url + '&dumpheader=1';\n\n var reader = new FileReader();\n reader.onload = function(e) {\n\n var fileResult = reader.result;\n ajax.put(url, fileResult, 'json', {\n contentType: 'application/octet-stream',\n callback: function(data) {\n if (data.Error.Code !== 0) {\n self.options.error(new Error(data.Error));\n } else {\n var requestOpt = self._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n var bodyPiece = self._attachAccount({\n method: 'create',\n md5s: [data['Header']['Content-MD5']],\n object: fileInfo.target,\n _acl: fileInfo.acl\n });\n ajax.post(BCSUriPrefixs, JSON.stringify(bodyPiece), 'json', requestOpt);\n }\n },\n onerror: function(xhr, error) {\n try {\n var err_data = JSON.parse(xhr.responseText);\n } catch(ex) {\n self.options.error(ex, xhr);\n return;\n }\n var error = new Error(err_data.Error);\n self.options.error(error, xhr);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n frontia_action.restimestamp = _getTimestamp();\n\n _sendPBLog(frontia_action);\n }\n });\n }\n reader.readAsArrayBuffer(fileInfo.file);\n }\n },\n onerror: function(xhr, error) {\n try {\n var err_data = JSON.parse(xhr.responseText);\n } catch(ex) {\n self.options.error(ex, xhr);\n return;\n }\n var error = new Error(err_data);\n self.options.error(error, xhr);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n frontia_action.restimestamp = _getTimestamp();\n\n _sendPBLog(frontia_action);\n },\n });\n },\n\n /**\n * 获取云存储文件URL\n * @param {string} target 云存储上文件路径\n * @param {Object} options\n * @param {function(result)} [options.success] 获取成功后callback, result为云存储文件Url\n * @param {function(error, xhr)} [options.error] 获取失败后callback\n */\n getFileUrl: function(target, options) {\n\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.getFileUrl';\n frontia_action['timestamp'] = _getTimestamp();\n var self = this;\n\n options = options || {};\n self._configure(options);\n if (!self._checkParams([{value: target, type: 'string'}], 'storage.getFileUrl')) return;\n\n var body = self._attachAccount({method: 'getdownloadurl', object: target});\n var requestOpt = self._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n })\n\n var ajax = namespace_.ajax;\n ajax.post(BCSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n /**\n * 删除云存储上的文件\n *\n * @param {string} target 需要删除的文件路径\n * @param {Object} options\n * @param {function(result)} [options.success] 删除成功后callback\n * @param {function(error, xhr)} [options.error] 删除失败后callback\n */\n deleteFile: function(target, options) {\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.deleteFile';\n frontia_action['timestamp'] = _getTimestamp();\n var self = this;\n\n options = options || {};\n self._configure(options);\n if (!self._checkParams([{value: target, type: 'string'}], 'storage.deleteFile')) return;\n\n var body = self._attachAccount({method: 'delete', object: target});\n var requestOpt = self._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n })\n\n var ajax = namespace_.ajax;\n ajax.post(BCSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n /**\n * 获取指定路径下的文件列表\n *\n * @param {string} target 云存储上文件路径\n * @param {Object} options\n * @param {function(data)} [options.success] 获取成功后callback, data包括:\n * {\n * result: [], // file数组\n * count: xxx // file数目\n * }\n * @param {function(error, xhr)} [options.error] 获取失败后callback\n */\n listFile: function(target, options) {\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.listFile';\n frontia_action['timestamp'] = _getTimestamp();\n var self = this;\n\n options = options || {};\n self._configure(options);\n if (!self._checkParams([{value: target, type: 'string'}], 'storage.listFile')) return;\n\n var body = self._attachAccount({method: 'list', object: target});\n var requestOpt = self._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n // recreate callback\n requestOpt.callback = function(data) {\n if (data.error_code) {\n var error = new Error(data);\n self.options.error(error);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n } else {\n var result = [];\n data.response_params.object_list.forEach(function(elem) {\n var acl = new namespace_.ACL();\n if (elem._acl) {\n acl._setPermission(elem._acl);\n delete elem._acl;\n }\n var file = new namespace_.File(null, null, acl);\n file._setFileInfo(elem);\n result.push(file);\n })\n self.options.success({\n result: result,\n count: data.response_params.object_total\n });\n frontia_action.err_code = 0;\n }\n frontia_action.restimestamp = _getTimestamp();\n _sendPBLog(frontia_action);\n }\n\n\n var ajax = namespace_.ajax;\n ajax.post(BCSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n /**\n * 插入数据\n *\n * @param {baidu.frontia.Data} data baidu.frontia提供的Data类型,表示需要插入的数据\n * @param {Object} options\n * @param {function(result)} [options.success] 插入成功后callback\n * @param {function(error, xhr)} [options.error] 插入失败后callback\n */\n insertData: function(data, options) {\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.insertData';\n frontia_action['timestamp'] = _getTimestamp();\n\n options = options || {};\n this._configure(options);\n if (!this._checkParams([{value: data, type: 'data'}], 'storage.insertData')) return;\n var dataInfo = data.getData();\n var dataACL = data._getACLInfo();\n if (dataACL) {\n dataInfo['_acl'] = dataACL;\n }\n var body = this._attachAccount({method: 'insert', documents: dataInfo});\n\n var requestOpt = this._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n var ajax = namespace_.ajax;\n ajax.post(BSSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n /**\n * 删除数据\n *\n * @param {baidu.frontia.storage.Query} query 删除数据条件\n * @param {Object} options\n * @param {function(result)} [options.success] 下载成功后callback\n * @param {function(error, xhr)} [options.error] 下载失败后callback\n */\n deleteData: function(query, options) {\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.deleteData';\n frontia_action['timestamp'] = _getTimestamp();\n options = options || {};\n this._configure(options);\n if (!this._checkParams([{value: query, type: 'query'}], 'storage.deleteData')) return;\n\n var body = this._attachAccount({method: 'remove', criteria: query.query});\n var requestOpt = this._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n var ajax = namespace_.ajax;\n ajax.post(BSSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n\n },\n\n /**\n * 更新数据\n *\n * @param {Object(Query)} query 更新数据条件\n * @param {Object(Data)} data 更新数据的内容, baidu.frontia提供的Data类型,默认只更新第一条数据;如果没有任何文档匹配,则不更新\n * @param {Object} options\n * @param {function(result)} [options.success] 下载成功后callback\n * @param {function(error, xhr)} [options.error] 下载失败后callback\n */\n updateData: function(query, data, options) {\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.updateData';\n frontia_action['timestamp'] = _getTimestamp();\n\n options = options || {};\n this._configure(options);\n if (!this._checkParams([{value: query, type: 'query'}, {value: data, type: 'data'}], 'storage.updateData')) return;\n var dataInfo = data.getData();\n var dataACL = data._getACLInfo();\n\n if (dataACL) {\n if (dataInfo.hasOwnProperty('$set')) {\n dataInfo['$set']['_acl'] = dataACL;\n } else {\n var tag = 0;\n for (var i in dataInfo) {\n if (dataInfo.hasOwnProperty(i)) {\n if (i[0] === '$') {\n tag = 1;\n dataInfo['$set'] = {};\n dataInfo['$set']['_acl'] = dataACL;\n break;\n }\n }\n }\n if (tag === 0) {\n dataInfo['_acl'] = dataACL;\n }\n }\n }\n\n var body = this._attachAccount({method: 'update', criteria: query.query, document: dataInfo});\n\n var requestOpt = this._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n var ajax = namespace_.ajax;\n ajax.post(BSSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n /**\n * 查询数据\n *\n * @param {Object(Query)} query 查询数据条件\n * @param {Object} options\n * @param {function(data)} [options.success] 下载成功后callback, data包括\n * {\n * result: [], // data数组\n * count: xxx // data数目\n * }\n * @param {function(error, xhr)} [options.error] 下载失败后callback\n */\n findData: function(query, options) {\n\n\n var frontia_action = {};\n frontia_action['action_name'] = 'storage.findData';\n frontia_action['timestamp'] = _getTimestamp();\n var self = this;\n\n options = options || {};\n this._configure(options);\n if (!this._checkParams([{value: query, type: 'query'}], 'storage.findData')) return;\n\n var body = this._attachAccount({method: 'query', criteria: query.query});\n\n var requestOpt = this._createAjaxOpt(frontia_action, {\n header: {\n authorization: _generateAuth(namespace_.getApiKey())\n },\n contentType: 'application/json'\n });\n\n // recreate callback\n requestOpt.callback = function(data) {\n if (data.error_code) {\n var error = new Error(data);\n self.options.error(error);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n } else {\n var result = [];\n data.response_params.documents.forEach(function(elem) {\n var acl = new namespace_.ACL();\n if (elem._acl) {\n acl._setPermission(elem._acl);\n delete elem._acl;\n }\n var metaData = new namespace_.Data(elem, acl);\n result.push(metaData);\n })\n self.options.success({\n result: result,\n count: data.response_params.count\n });\n frontia_action.err_code = 0;\n }\n frontia_action.restimestamp = _getTimestamp();\n _sendPBLog(frontia_action);\n }\n\n var ajax = namespace_.ajax;\n ajax.post(BSSUriPrefixs, JSON.stringify(body), 'json', requestOpt);\n },\n\n _attachAccount: function(body) {\n var self = this;\n var account = null;\n if (namespace_.currentAccount && namespace_.currentAccount instanceof namespace_.Role && namespace_.currentAccount.getId()) {\n account = 'requester';\n body[account] = namespace_.currentAccount.getType() + ':' + namespace_.currentAccount.getId();\n } else if (namespace_.currentAccount && namespace_.currentAccount instanceof namespace_.User && namespace_.currentAccount.getAccessToken()) {\n account = 'requester';\n body[account] = namespace_.currentAccount.getType() + ':' + namespace_.currentAccount.getAccessToken();\n }\n return body;\n },\n\n _createAjaxOpt: function(frontia_action, options) {\n var self = this;\n\n var deafaultOpt = {\n callback: function(data) {\n if (data.error_code) {\n var error = new Error(data);\n self.options.error(error);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n } else {\n self.options.success(data);\n frontia_action.err_code = 0;\n }\n frontia_action.restimestamp = _getTimestamp();\n _sendPBLog(frontia_action);\n },\n onerror: function(xhr, error) {\n try {\n var err_data = namespace_.util.parseJSON(xhr.responseText);\n } catch(ex) {\n self.options.error(ex, xhr);\n return;\n }\n var error = new Error(err_data);\n self.options.error(error, xhr);\n frontia_action.err_code = error.code;\n frontia_action.err_msg = error.message;\n frontia_action.restimestamp = _getTimestamp();\n\n _sendPBLog(frontia_action);\n }\n }\n return namespace_.util.mix(deafaultOpt, options);\n }\n\n }\n\n \n storage.Query = namespace_.Base.extend(/** @lends baidu.frontia.storage.Query.prototype*/{\n\n currentKey: null,\n query: null,\n\n /**\n * 创建数据查询的query\n *\n * @example \n * var query = new baiduf.frontia.storage.Query();\n * query.on('user.age').lessThanEqual(50).greaterThan(20);\n * query.on('user‘).equal({foo: 'bar'});\n * \n *\n * @name baidu.frontia.storage.Query\n * @constructor\n */\n constructor: function() {\n },\n _set: function(field, expression) {\n this.query = this.query || {};\n\n this.query[field] instanceof Object || (this.query[field] = {});\n for (var i in expression) {\n if (expression.hasOwnProperty(i)) {\n this.query[field][i] = expression[i];\n }\n }\n },\n _build: function(operator, value) {\n if (this.currentKey === null) {\n throw new Error('Query key must not be null');\n }\n\n switch(operator) {\n case storage.Query.EQUAL:\n this.query = this.query || {};\n this.query[this.currentKey] = value;\n break;\n case storage.Query.LESSTHAN:\n this._set(this.currentKey, {$lt: value});\n break;\n case storage.Query.LESSTHANEQUAL:\n this._set(this.currentKey, {$lte: value});\n break;\n case storage.Query.GREATERTHAN:\n this._set(this.currentKey, {$gt: value});\n break;\n case storage.Query.GREATERTHANEQUAL:\n this._set(this.currentKey, {$gte: value});\n break;\n\n default:\n throw new Error('Query ' + operator + ' is not supported');\n }\n },\n\n /**\n * 等于查询\n * @public\n * @param {Object} expected\n * @return {baidu.frontia.storage.Query}\n */\n equal: function(expected) {\n this._build(storage.Query.EQUAL, expected);\n return this;\n },\n\n /**\n * 小于查询\n *\n * @param {Number} value\n * @return {baidu.frontia.storage.Query}\n */\n lessThan: function(value) {\n this._build(storage.Query.LESSTHAN, value);\n return this;\n },\n\n /**\n * 小于等于查询\n *\n * @param {Number} value\n * @return {baidu.frontia.storage.Query}\n */\n lessThanEqual: function(value) {\n this._build(storage.Query.LESSTHANEQUAL, value);\n return this;\n },\n\n /**\n * 大于查询\n *\n * @param {Number} value\n * @return {baidu.frontia.storage.Query}\n */\n greaterThan: function(value) {\n this._build(storage.Query.GREATERTHAN, value);\n return this;\n },\n\n /**\n * 大于等于查询\n *\n * @param {Number} value\n * @return {baidu.frontia.storage.Query}\n */\n greaterThanEqual: function(value) {\n this._build(storage.Query.GREATERTHANEQUAL, value);\n return this;\n },\n\n /**\n * 设定需查询数据field\n *\n * @param {string} key\n * @return {baidu.frontia.storage.Query}\n */\n on: function(key) {\n this.currentKey = key;\n return this;\n }\n }, {\n EQUAL: 1,\n LESSTHAN: 2,\n LESSTHANEQUAL: 3,\n GREATERTHAN: 4,\n GREATERTHANEQUAL: 5\n });\n\n function _generateAuth(ak) {\n var base64_ak = namespace_.util.toBase64('Application:' + ak);\n return 'Basic' + ' ' + base64_ak;\n }\n function _isEmptyObj(obj) {\n for (var i in obj) return false;\n return true;\n }\n\n function _sendPBLog(action) {\n var frontiaClient = {\n application_info: [{\n app_frontia_version: namespace_.version,\n app_appid: namespace_.getApiKey(),\n user_id: namespace_.getCurrentAccount().getId() || '',\n frontia_action: [{\n action_name: '',\n timestamp: null,\n restimestamp: null,\n err_code: '',\n err_msg: ''\n }]\n }]\n }\n frontiaClient['application_info'][0]['frontia_action'][0] = action;\n var body = {};\n\n var deflate = new Zlib.Gzip(new Uint8Array(JSON.stringify(frontiaClient).split(\"\").map(function(c) {\n return c.charCodeAt(0); })));\n var deflate_str = deflate.compress();\n\n body['stats'] = btoa(String.fromCharCode.apply(null, deflate_str));\n var ajax = namespace_.ajax;\n ajax.post(PBLOGUriPrefixs, JSON.stringify(body), 'json', { contentType: 'application/json'});\n }\n\n\n function _getTimestamp() {\n var timestamp = Math.floor(new Date().getTime() / 1000);\n return timestamp;\n }\n\n namespace_.storage = storage;\n\n})(baidu.frontia)\n"},"meta":{"kind":"string","value":"{'content_hash': 'f9635cf1a351408c20edd68cc9ff0c58', 'timestamp': '', 'source': 'github', 'line_count': 758, 'max_line_length': 147, 'avg_line_length': 31.439313984168866, 'alnum_prop': 0.5554529814107675, 'repo_name': 'woerwin/lightACT', 'id': '7ee00ce711b8fc24498138803cf59a2a24b5c0d6', 'size': '24555', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'public/frontia/src/store/storage.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '98345'}, {'name': 'JavaScript', 'bytes': '715203'}, {'name': 'PHP', 'bytes': '7579'}, {'name': 'Shell', 'bytes': '992'}]}"}}},{"rowIdx":849833,"cells":{"text":{"kind":"string","value":"\n\n \n \n \n lc: Not compatible 👼\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n
\n
\n
\n « Up\n

\n lc\n \n 8.6.0\n Not compatible 👼\n \n

\n

📅 (2022-04-08 16:37:15 UTC)

\n

Context

\n
# Packages matching: installed\n# Name              # Installed # Synopsis\nbase-bigarray       base\nbase-threads        base\nbase-unix           base\ncamlp5              7.14        Preprocessor-pretty-printer of OCaml\nconf-findutils      1           Virtual package relying on findutils\nconf-perl           2           Virtual package relying on perl\ncoq                 8.8.1       Formal proof management system\nnum                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic\nocaml               4.09.1      The OCaml compiler (virtual package)\nocaml-base-compiler 4.09.1      Official release 4.09.1\nocaml-config        1           OCaml Switch Configuration\nocamlfind           1.9.3       A library manager for OCaml\n# opam file:\nopam-version: &quot;2.0&quot;\nmaintainer: &quot;Hugo.Herbelin@inria.fr&quot;\nhomepage: &quot;https://github.com/coq-contribs/lc&quot;\nlicense: &quot;LGPL 2.1&quot;\nbuild: [make &quot;-j%{jobs}%&quot;]\ninstall: [make &quot;install&quot;]\nremove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/lc&quot;]\ndepends: [\n  &quot;ocaml&quot;\n  &quot;coq&quot; {&gt;= &quot;8.6&quot; &amp; &lt; &quot;8.7~&quot;}\n]\ntags: [\n  &quot;keyword: modules&quot;\n  &quot;keyword: monads&quot;\n  &quot;keyword: category&quot;\n  &quot;keyword: lambda calculus&quot;\n  &quot;keyword: higher-order syntax&quot;\n  &quot;category: Computer Science/Lambda Calculi&quot;\n  &quot;date: 2006-01-12&quot;\n  &quot;date: 2008-09-9&quot;\n]\nauthors: [ &quot;André Hirschowitz &lt;ah@math.unice.fr&gt; [http://math.unice.fr/~ah/]&quot; &quot;Marco Maggesi &lt;maggesi@math.unifi.it&gt; [http://www.math.unifi.it/~maggesi/]&quot; ]\nbug-reports: &quot;https://github.com/coq-contribs/lc/issues&quot;\ndev-repo: &quot;git+https://github.com/coq-contribs/lc.git&quot;\nsynopsis: &quot;Modules over monads and lambda-calculi&quot;\ndescription: &quot;&quot;&quot;\nhttp://www.math.unifi.it/~/maggesi/mechanized/\nWe define a notion of module over a monad and use it to\npropose a new definition (or semantics) for abstract\nsyntax (with binding constructions). Using our notion of\nmodule, we build a category of `exponential&#39; monads,\nwhich can be understood as the category of\nlambda-calculi, and prove that it has an initial object\n(the pure untyped lambda-calculus).&quot;&quot;&quot;\nflags: light-uninstall\nurl {\n  src: &quot;https://github.com/coq-contribs/lc/archive/v8.6.0.tar.gz&quot;\n  checksum: &quot;md5=a827e42c57b1b80f30c7160d05029321&quot;\n}\n
\n

Lint

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
\n

Dry install 🏜️

\n

Dry install with the current Coq version:

\n
\n
Command
\n
opam install -y --show-action coq-lc.8.6.0 coq.8.8.1
\n
Return code
\n
5120
\n
Output
\n
[NOTE] Package coq is already installed (current version is 8.8.1).\nThe following dependencies couldn&#39;t be met:\n  - coq-lc -&gt; coq &lt; 8.7~ -&gt; ocaml &lt; 4.06.0\n      base of this switch (use `--unlock-base&#39; to force)\nNo solution found, exiting\n
\n
\n

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

\n
\n
Command
\n
opam remove -y coq; opam install -y --show-action --unlock-base coq-lc.8.6.0
\n
Return code
\n
0
\n
\n

Install dependencies

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Duration
\n
0 s
\n
\n

Install 🚀

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Duration
\n
0 s
\n
\n

Installation size

\n

No files were installed.

\n

Uninstall 🧹

\n
\n
Command
\n
true
\n
Return code
\n
0
\n
Missing removes
\n
\n none\n
\n
Wrong removes
\n
\n none\n
\n
\n
\n
\n
\n
\n
\n

\n Sources are on GitHub © Guillaume Claret 🐣\n

\n
\n
\n \n \n \n\n"},"meta":{"kind":"string","value":"{'content_hash': 'ad37bf5d20410c5b542d6ce5fe0969f6', 'timestamp': '', 'source': 'github', 'line_count': 179, 'max_line_length': 188, 'avg_line_length': 41.06703910614525, 'alnum_prop': 0.5490409468099579, 'repo_name': 'coq-bench/coq-bench.github.io', 'id': 'bf044441127e5f35a20664aea9980bede2edcb9e', 'size': '7377', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'clean/Linux-x86_64-4.09.1-2.0.6/released/8.8.1/lc/8.6.0.html', 'mode': '33188', 'license': 'mit', 'language': []}"}}},{"rowIdx":849834,"cells":{"text":{"kind":"string","value":"title: \"New package VPdtw with initial version 2.1-11 \"\nkind: article\ncreated_at: 2015-07-08 09:20:00 UTC\nauthor: CRANberries\ncategories: \ntags: \nlayout: post\n---\nPackage: VPdtw
\nType: Package
\nTitle: Variable Penalty Dynamic Time Warping
\nVersion: 2.1-11
\nDate: 2015-07-06
\nAuthor: David Clifford, Glenn Stone
\nMaintainer: David Clifford &lt;David.Clifford+CRAN@gmail.com&gt;
\nDescription: Variable Penalty Dynamic Time Warping for aligning GC-MS chromatograms to a master signal and more. With the appropriate penalty this method performs good alignment without altering the shape of peaks in GC-MS data.
\nLicense: GPL-2
\nNeedsCompilation: yes
\nPackaged: 2015-07-08 03:08:08 UTC; hua032
\nRepository: CRAN
\nDate/Publication: 2015-07-08 05:13:01
\n\n

\nMore information about VPdtw at CRAN

\n \n \n Original post by CRANberries - check out CRANberries \n \n
\n"},"meta":{"kind":"string","value":"{'content_hash': '88f78a007b611b550c2ea552d4963674', 'timestamp': '', 'source': 'github', 'line_count': 29, 'max_line_length': 249, 'avg_line_length': 48.86206896551724, 'alnum_prop': 0.7325335215243473, 'repo_name': 'planetr/planetr.github.io', 'id': '2f8858ad1af90f7029df0e9a6a4f1ab7e2a67319', 'size': '1421', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': '_posts/2015-07-08-new-package-vpdtw-with-initial-version-2-1-11.markdown', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '9801'}, {'name': 'HTML', 'bytes': '33197'}, {'name': 'Makefile', 'bytes': '220'}, {'name': 'Ruby', 'bytes': '4077'}]}"}}},{"rowIdx":849835,"cells":{"text":{"kind":"string","value":"/* Riot v4.0.8, @license MIT */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.riot = {}));\n}(this, function (exports) { 'use strict';\n\n const COMPONENTS_IMPLEMENTATION_MAP = new Map(),\n DOM_COMPONENT_INSTANCE_PROPERTY = Symbol('riot-component'),\n PLUGINS_SET = new Set(),\n IS_DIRECTIVE = 'is',\n VALUE_ATTRIBUTE = 'value',\n ATTRIBUTES_KEY_SYMBOL = Symbol('attributes'),\n TEMPLATE_KEY_SYMBOL = Symbol('template');\n\n var globals = /*#__PURE__*/Object.freeze({\n COMPONENTS_IMPLEMENTATION_MAP: COMPONENTS_IMPLEMENTATION_MAP,\n DOM_COMPONENT_INSTANCE_PROPERTY: DOM_COMPONENT_INSTANCE_PROPERTY,\n PLUGINS_SET: PLUGINS_SET,\n IS_DIRECTIVE: IS_DIRECTIVE,\n VALUE_ATTRIBUTE: VALUE_ATTRIBUTE,\n ATTRIBUTES_KEY_SYMBOL: ATTRIBUTES_KEY_SYMBOL,\n TEMPLATE_KEY_SYMBOL: TEMPLATE_KEY_SYMBOL\n });\n\n /**\n * Remove the child nodes from any DOM node\n * @param {HTMLElement} node - target node\n * @returns {undefined}\n */\n function cleanNode(node) {\n const children = node.childNodes;\n Array.from(children).forEach(n => node.removeChild(n));\n }\n\n const EACH = 0;\n const IF = 1;\n const SIMPLE = 2;\n const TAG = 3;\n const SLOT = 4;\n var bindingTypes = {\n EACH,\n IF,\n SIMPLE,\n TAG,\n SLOT\n };\n /* get rid of the @ungap/essential-map polyfill */\n\n const append = (get, parent, children, start, end, before) => {\n if (end - start < 2) parent.insertBefore(get(children[start], 1), before);else {\n const fragment = parent.ownerDocument.createDocumentFragment();\n\n while (start < end) fragment.appendChild(get(children[start++], 1));\n\n parent.insertBefore(fragment, before);\n }\n };\n\n const eqeq = (a, b) => a == b;\n\n const identity = O => O;\n\n const indexOf = (moreNodes, moreStart, moreEnd, lessNodes, lessStart, lessEnd, compare) => {\n const length = lessEnd - lessStart;\n /* istanbul ignore if */\n\n if (length < 1) return -1;\n\n while (moreEnd - moreStart >= length) {\n let m = moreStart;\n let l = lessStart;\n\n while (m < moreEnd && l < lessEnd && compare(moreNodes[m], lessNodes[l])) {\n m++;\n l++;\n }\n\n if (l === lessEnd) return moreStart;\n moreStart = m + 1;\n }\n\n return -1;\n };\n\n const isReversed = (futureNodes, futureEnd, currentNodes, currentStart, currentEnd, compare) => {\n while (currentStart < currentEnd && compare(currentNodes[currentStart], futureNodes[futureEnd - 1])) {\n currentStart++;\n futureEnd--;\n }\n\n return futureEnd === 0;\n };\n\n const next = (get, list, i, length, before) => i < length ? get(list[i], 0) : 0 < i ? get(list[i - 1], -0).nextSibling : before;\n\n const remove = (get, parent, children, start, end) => {\n if (end - start < 2) parent.removeChild(get(children[start], -1));else {\n const range = parent.ownerDocument.createRange();\n range.setStartBefore(get(children[start], -1));\n range.setEndAfter(get(children[end - 1], -1));\n range.deleteContents();\n }\n }; // - - - - - - - - - - - - - - - - - - -\n // diff related constants and utilities\n // - - - - - - - - - - - - - - - - - - -\n\n\n const DELETION = -1;\n const INSERTION = 1;\n const SKIP = 0;\n const SKIP_OND = 50;\n\n const HS = (futureNodes, futureStart, futureEnd, futureChanges, currentNodes, currentStart, currentEnd, currentChanges) => {\n let k = 0;\n /* istanbul ignore next */\n\n let minLen = futureChanges < currentChanges ? futureChanges : currentChanges;\n const link = Array(minLen++);\n const tresh = Array(minLen);\n tresh[0] = -1;\n\n for (let i = 1; i < minLen; i++) tresh[i] = currentEnd;\n\n const keymap = new Map();\n\n for (let i = currentStart; i < currentEnd; i++) keymap.set(currentNodes[i], i);\n\n for (let i = futureStart; i < futureEnd; i++) {\n const idxInOld = keymap.get(futureNodes[i]);\n\n if (idxInOld != null) {\n k = findK(tresh, minLen, idxInOld);\n /* istanbul ignore else */\n\n if (-1 < k) {\n tresh[k] = idxInOld;\n link[k] = {\n newi: i,\n oldi: idxInOld,\n prev: link[k - 1]\n };\n }\n }\n }\n\n k = --minLen;\n --currentEnd;\n\n while (tresh[k] > currentEnd) --k;\n\n minLen = currentChanges + futureChanges - k;\n const diff = Array(minLen);\n let ptr = link[k];\n --futureEnd;\n\n while (ptr) {\n const {\n newi,\n oldi\n } = ptr;\n\n while (futureEnd > newi) {\n diff[--minLen] = INSERTION;\n --futureEnd;\n }\n\n while (currentEnd > oldi) {\n diff[--minLen] = DELETION;\n --currentEnd;\n }\n\n diff[--minLen] = SKIP;\n --futureEnd;\n --currentEnd;\n ptr = ptr.prev;\n }\n\n while (futureEnd >= futureStart) {\n diff[--minLen] = INSERTION;\n --futureEnd;\n }\n\n while (currentEnd >= currentStart) {\n diff[--minLen] = DELETION;\n --currentEnd;\n }\n\n return diff;\n }; // this is pretty much the same petit-dom code without the delete map part\n // https://github.com/yelouafi/petit-dom/blob/bd6f5c919b5ae5297be01612c524c40be45f14a7/src/vdom.js#L556-L561\n\n\n const OND = (futureNodes, futureStart, rows, currentNodes, currentStart, cols, compare) => {\n const length = rows + cols;\n const v = [];\n let d, k, r, c, pv, cv, pd;\n\n outer: for (d = 0; d <= length; d++) {\n /* istanbul ignore if */\n if (d > SKIP_OND) return null;\n pd = d - 1;\n /* istanbul ignore next */\n\n pv = d ? v[d - 1] : [0, 0];\n cv = v[d] = [];\n\n for (k = -d; k <= d; k += 2) {\n if (k === -d || k !== d && pv[pd + k - 1] < pv[pd + k + 1]) {\n c = pv[pd + k + 1];\n } else {\n c = pv[pd + k - 1] + 1;\n }\n\n r = c - k;\n\n while (c < cols && r < rows && compare(currentNodes[currentStart + c], futureNodes[futureStart + r])) {\n c++;\n r++;\n }\n\n if (c === cols && r === rows) {\n break outer;\n }\n\n cv[d + k] = c;\n }\n }\n\n const diff = Array(d / 2 + length / 2);\n let diffIdx = diff.length - 1;\n\n for (d = v.length - 1; d >= 0; d--) {\n while (c > 0 && r > 0 && compare(currentNodes[currentStart + c - 1], futureNodes[futureStart + r - 1])) {\n // diagonal edge = equality\n diff[diffIdx--] = SKIP;\n c--;\n r--;\n }\n\n if (!d) break;\n pd = d - 1;\n /* istanbul ignore next */\n\n pv = d ? v[d - 1] : [0, 0];\n k = c - r;\n\n if (k === -d || k !== d && pv[pd + k - 1] < pv[pd + k + 1]) {\n // vertical edge = insertion\n r--;\n diff[diffIdx--] = INSERTION;\n } else {\n // horizontal edge = deletion\n c--;\n diff[diffIdx--] = DELETION;\n }\n }\n\n return diff;\n };\n\n const applyDiff = (diff, get, parentNode, futureNodes, futureStart, currentNodes, currentStart, currentLength, before) => {\n const live = new Map();\n const length = diff.length;\n let currentIndex = currentStart;\n let i = 0;\n\n while (i < length) {\n switch (diff[i++]) {\n case SKIP:\n futureStart++;\n currentIndex++;\n break;\n\n case INSERTION:\n // TODO: bulk appends for sequential nodes\n live.set(futureNodes[futureStart], 1);\n append(get, parentNode, futureNodes, futureStart++, futureStart, currentIndex < currentLength ? get(currentNodes[currentIndex], 0) : before);\n break;\n\n case DELETION:\n currentIndex++;\n break;\n }\n }\n\n i = 0;\n\n while (i < length) {\n switch (diff[i++]) {\n case SKIP:\n currentStart++;\n break;\n\n case DELETION:\n // TODO: bulk removes for sequential nodes\n if (live.has(currentNodes[currentStart])) currentStart++;else remove(get, parentNode, currentNodes, currentStart++, currentStart);\n break;\n }\n }\n };\n\n const findK = (ktr, length, j) => {\n let lo = 1;\n let hi = length;\n\n while (lo < hi) {\n const mid = (lo + hi) / 2 >>> 0;\n if (j < ktr[mid]) hi = mid;else lo = mid + 1;\n }\n\n return lo;\n };\n\n const smartDiff = (get, parentNode, futureNodes, futureStart, futureEnd, futureChanges, currentNodes, currentStart, currentEnd, currentChanges, currentLength, compare, before) => {\n applyDiff(OND(futureNodes, futureStart, futureChanges, currentNodes, currentStart, currentChanges, compare) || HS(futureNodes, futureStart, futureEnd, futureChanges, currentNodes, currentStart, currentEnd, currentChanges), get, parentNode, futureNodes, futureStart, currentNodes, currentStart, currentLength, before);\n };\n /*! (c) 2018 Andrea Giammarchi (ISC) */\n\n\n const domdiff = (parentNode, // where changes happen\n currentNodes, // Array of current items/nodes\n futureNodes, // Array of future items/nodes\n options // optional object with one of the following properties\n // before: domNode\n // compare(generic, generic) => true if same generic\n // node(generic) => Node\n ) => {\n if (!options) options = {};\n const compare = options.compare || eqeq;\n const get = options.node || identity;\n const before = options.before == null ? null : get(options.before, 0);\n const currentLength = currentNodes.length;\n let currentEnd = currentLength;\n let currentStart = 0;\n let futureEnd = futureNodes.length;\n let futureStart = 0; // common prefix\n\n while (currentStart < currentEnd && futureStart < futureEnd && compare(currentNodes[currentStart], futureNodes[futureStart])) {\n currentStart++;\n futureStart++;\n } // common suffix\n\n\n while (currentStart < currentEnd && futureStart < futureEnd && compare(currentNodes[currentEnd - 1], futureNodes[futureEnd - 1])) {\n currentEnd--;\n futureEnd--;\n }\n\n const currentSame = currentStart === currentEnd;\n const futureSame = futureStart === futureEnd; // same list\n\n if (currentSame && futureSame) return futureNodes; // only stuff to add\n\n if (currentSame && futureStart < futureEnd) {\n append(get, parentNode, futureNodes, futureStart, futureEnd, next(get, currentNodes, currentStart, currentLength, before));\n return futureNodes;\n } // only stuff to remove\n\n\n if (futureSame && currentStart < currentEnd) {\n remove(get, parentNode, currentNodes, currentStart, currentEnd);\n return futureNodes;\n }\n\n const currentChanges = currentEnd - currentStart;\n const futureChanges = futureEnd - futureStart;\n let i = -1; // 2 simple indels: the shortest sequence is a subsequence of the longest\n\n if (currentChanges < futureChanges) {\n i = indexOf(futureNodes, futureStart, futureEnd, currentNodes, currentStart, currentEnd, compare); // inner diff\n\n if (-1 < i) {\n append(get, parentNode, futureNodes, futureStart, i, get(currentNodes[currentStart], 0));\n append(get, parentNode, futureNodes, i + currentChanges, futureEnd, next(get, currentNodes, currentEnd, currentLength, before));\n return futureNodes;\n }\n }\n /* istanbul ignore else */\n else if (futureChanges < currentChanges) {\n i = indexOf(currentNodes, currentStart, currentEnd, futureNodes, futureStart, futureEnd, compare); // outer diff\n\n if (-1 < i) {\n remove(get, parentNode, currentNodes, currentStart, i);\n remove(get, parentNode, currentNodes, i + futureChanges, currentEnd);\n return futureNodes;\n }\n } // common case with one replacement for many nodes\n // or many nodes replaced for a single one\n\n /* istanbul ignore else */\n\n\n if (currentChanges < 2 || futureChanges < 2) {\n append(get, parentNode, futureNodes, futureStart, futureEnd, get(currentNodes[currentStart], 0));\n remove(get, parentNode, currentNodes, currentStart, currentEnd);\n return futureNodes;\n } // the half match diff part has been skipped in petit-dom\n // https://github.com/yelouafi/petit-dom/blob/bd6f5c919b5ae5297be01612c524c40be45f14a7/src/vdom.js#L391-L397\n // accordingly, I think it's safe to skip in here too\n // if one day it'll come out like the speediest thing ever to do\n // then I might add it in here too\n // Extra: before going too fancy, what about reversed lists ?\n // This should bail out pretty quickly if that's not the case.\n\n\n if (currentChanges === futureChanges && isReversed(futureNodes, futureEnd, currentNodes, currentStart, currentEnd, compare)) {\n append(get, parentNode, futureNodes, futureStart, futureEnd, next(get, currentNodes, currentEnd, currentLength, before));\n return futureNodes;\n } // last resort through a smart diff\n\n\n smartDiff(get, parentNode, futureNodes, futureStart, futureEnd, futureChanges, currentNodes, currentStart, currentEnd, currentChanges, currentLength, compare, before);\n return futureNodes;\n };\n\n const EachBinding = Object.seal({\n // dynamic binding properties\n childrenMap: null,\n node: null,\n root: null,\n condition: null,\n evaluate: null,\n template: null,\n nodes: [],\n getKey: null,\n indexName: null,\n itemName: null,\n afterPlaceholder: null,\n placeholder: null,\n\n // API methods\n mount(scope, parentScope) {\n return this.update(scope, parentScope);\n },\n\n update(scope, parentScope) {\n const {\n placeholder\n } = this;\n const collection = this.evaluate(scope);\n const items = collection ? Array.from(collection) : [];\n const parent = placeholder.parentNode; // prepare the diffing\n\n const {\n newChildrenMap,\n batches,\n futureNodes\n } = createPatch(items, scope, parentScope, this); // patch the DOM only if there are new nodes\n\n if (futureNodes.length) {\n domdiff(parent, this.nodes, futureNodes, {\n before: placeholder,\n node: patch(Array.from(this.childrenMap.values()), parentScope)\n });\n } else {\n // remove all redundant templates\n unmountRedundant(this.childrenMap);\n } // trigger the mounts and the updates\n\n\n batches.forEach(fn => fn()); // update the children map\n\n this.childrenMap = newChildrenMap;\n this.nodes = futureNodes;\n return this;\n },\n\n unmount(scope, parentScope) {\n unmountRedundant(this.childrenMap, parentScope);\n this.childrenMap = new Map();\n this.nodes = [];\n return this;\n }\n\n });\n /**\n * Patch the DOM while diffing\n * @param {TemplateChunk[]} redundant - redundant tepmplate chunks\n * @param {*} parentScope - scope of the parent template\n * @returns {Function} patch function used by domdiff\n */\n\n function patch(redundant, parentScope) {\n return (item, info) => {\n if (info < 0) {\n const {\n template,\n context\n } = redundant.pop(); // notice that we pass null as last argument because\n // the root node and its children will be removed by domdiff\n\n template.unmount(context, parentScope, null);\n }\n\n return item;\n };\n }\n /**\n * Unmount the remaining template instances\n * @param {Map} childrenMap - map containing the children template to unmount\n * @param {*} parentScope - scope of the parent template\n * @returns {TemplateChunk[]} collection containing the template chunks unmounted\n */\n\n\n function unmountRedundant(childrenMap, parentScope) {\n return Array.from(childrenMap.values()).map((_ref) => {\n let {\n template,\n context\n } = _ref;\n return template.unmount(context, parentScope, true);\n });\n }\n /**\n * Check whether a template must be filtered from a loop\n * @param {Function} condition - filter function\n * @param {Object} context - argument passed to the filter function\n * @returns {boolean} true if this item should be skipped\n */\n\n\n function mustFilterItem(condition, context) {\n return condition ? Boolean(condition(context)) === false : false;\n }\n /**\n * Extend the scope of the looped template\n * @param {Object} scope - current template scope\n * @param {string} options.itemName - key to identify the looped item in the new context\n * @param {string} options.indexName - key to identify the index of the looped item\n * @param {number} options.index - current index\n * @param {*} options.item - collection item looped\n * @returns {Object} enhanced scope object\n */\n\n\n function extendScope(scope, _ref2) {\n let {\n itemName,\n indexName,\n index,\n item\n } = _ref2;\n scope[itemName] = item;\n if (indexName) scope[indexName] = index;\n return scope;\n }\n /**\n * Loop the current template items\n * @param {Array} items - expression collection value\n * @param {*} scope - template scope\n * @param {*} parentScope - scope of the parent template\n * @param {EeachBinding} binding - each binding object instance\n * @returns {Object} data\n * @returns {Map} data.newChildrenMap - a Map containing the new children template structure\n * @returns {Array} data.batches - array containing the template lifecycle functions to trigger\n * @returns {Array} data.futureNodes - array containing the nodes we need to diff\n */\n\n\n function createPatch(items, scope, parentScope, binding) {\n const {\n condition,\n template,\n childrenMap,\n itemName,\n getKey,\n indexName,\n root\n } = binding;\n const newChildrenMap = new Map();\n const batches = [];\n const futureNodes = [];\n items.forEach((item, index) => {\n const context = extendScope(Object.create(scope), {\n itemName,\n indexName,\n index,\n item\n });\n const key = getKey ? getKey(context) : index;\n const oldItem = childrenMap.get(key);\n\n if (mustFilterItem(condition, context)) {\n return;\n }\n\n const componentTemplate = oldItem ? oldItem.template : template.clone();\n const el = oldItem ? componentTemplate.el : root.cloneNode();\n\n if (!oldItem) {\n batches.push(() => componentTemplate.mount(el, context, parentScope));\n } else {\n batches.push(() => componentTemplate.update(context, parentScope));\n } // create the collection of nodes to update or to add\n\n\n futureNodes.push(el); // delete the old item from the children map\n\n childrenMap.delete(key); // update the children map\n\n newChildrenMap.set(key, {\n template: componentTemplate,\n context,\n index\n });\n });\n return {\n newChildrenMap,\n batches,\n futureNodes\n };\n }\n\n function create(node, _ref3) {\n let {\n evaluate,\n condition,\n itemName,\n indexName,\n getKey,\n template\n } = _ref3;\n const placeholder = document.createTextNode('');\n const parent = node.parentNode;\n const root = node.cloneNode();\n const offset = Array.from(parent.childNodes).indexOf(node);\n parent.insertBefore(placeholder, node);\n parent.removeChild(node);\n return Object.assign({}, EachBinding, {\n childrenMap: new Map(),\n node,\n root,\n offset,\n condition,\n evaluate,\n template: template.createDOM(node),\n getKey,\n indexName,\n itemName,\n placeholder\n });\n }\n /**\n * Binding responsible for the `if` directive\n */\n\n\n const IfBinding = Object.seal({\n // dynamic binding properties\n node: null,\n evaluate: null,\n placeholder: null,\n template: '',\n\n // API methods\n mount(scope, parentScope) {\n swap(this.placeholder, this.node);\n return this.update(scope, parentScope);\n },\n\n update(scope, parentScope) {\n const value = !!this.evaluate(scope);\n const mustMount = !this.value && value;\n const mustUnmount = this.value && !value;\n\n switch (true) {\n case mustMount:\n swap(this.node, this.placeholder);\n\n if (this.template) {\n this.template = this.template.clone();\n this.template.mount(this.node, scope, parentScope);\n }\n\n break;\n\n case mustUnmount:\n this.unmount(scope);\n swap(this.placeholder, this.node);\n break;\n\n default:\n if (value) this.template.update(scope, parentScope);\n }\n\n this.value = value;\n return this;\n },\n\n unmount(scope, parentScope) {\n const {\n template\n } = this;\n\n if (template) {\n template.unmount(scope, parentScope);\n }\n\n return this;\n }\n\n });\n\n function swap(inNode, outNode) {\n const parent = outNode.parentNode;\n parent.insertBefore(inNode, outNode);\n parent.removeChild(outNode);\n }\n\n function create$1(node, _ref4) {\n let {\n evaluate,\n template\n } = _ref4;\n return Object.assign({}, IfBinding, {\n node,\n evaluate,\n placeholder: document.createTextNode(''),\n template: template.createDOM(node)\n });\n }\n\n const ATTRIBUTE = 0;\n const EVENT = 1;\n const TEXT = 2;\n const VALUE = 3;\n var expressionTypes = {\n ATTRIBUTE,\n EVENT,\n TEXT,\n VALUE\n };\n const REMOVE_ATTRIBUTE = 'removeAttribute';\n const SET_ATTIBUTE = 'setAttribute';\n /**\n * Add all the attributes provided\n * @param {HTMLElement} node - target node\n * @param {Object} attributes - object containing the attributes names and values\n * @returns {undefined} sorry it's a void function :(\n */\n\n function setAllAttributes(node, attributes) {\n Object.entries(attributes).forEach((_ref5) => {\n let [name, value] = _ref5;\n return attributeExpression(node, {\n name\n }, value);\n });\n }\n /**\n * Remove all the attributes provided\n * @param {HTMLElement} node - target node\n * @param {Object} attributes - object containing all the attribute names\n * @returns {undefined} sorry it's a void function :(\n */\n\n\n function removeAllAttributes(node, attributes) {\n Object.keys(attributes).forEach(attribute => node.removeAttribute(attribute));\n }\n /**\n * This methods handles the DOM attributes updates\n * @param {HTMLElement} node - target node\n * @param {Object} expression - expression object\n * @param {string} expression.name - attribute name\n * @param {*} value - new expression value\n * @param {*} oldValue - the old expression cached value\n * @returns {undefined}\n */\n\n\n function attributeExpression(node, _ref6, value, oldValue) {\n let {\n name\n } = _ref6;\n\n // is it a spread operator? {...attributes}\n if (!name) {\n // is the value still truthy?\n if (value) {\n setAllAttributes(node, value);\n } else if (oldValue) {\n // otherwise remove all the old attributes\n removeAllAttributes(node, oldValue);\n }\n\n return;\n } // handle boolean attributes\n\n\n if (typeof value === 'boolean') {\n node[name] = value;\n }\n\n node[getMethod(value)](name, normalizeValue(name, value));\n }\n /**\n * Get the attribute modifier method\n * @param {*} value - if truthy we return `setAttribute` othewise `removeAttribute`\n * @returns {string} the node attribute modifier method name\n */\n\n\n function getMethod(value) {\n return value && typeof value !== 'object' ? SET_ATTIBUTE : REMOVE_ATTRIBUTE;\n }\n /**\n * Get the value as string\n * @param {string} name - attribute name\n * @param {*} value - user input value\n * @returns {string} input value as string\n */\n\n\n function normalizeValue(name, value) {\n // be sure that expressions like selected={ true } will be always rendered as selected='selected'\n if (value === true) return name;\n return value;\n }\n /**\n * Set a new event listener\n * @param {HTMLElement} node - target node\n * @param {Object} expression - expression object\n * @param {string} expression.name - event name\n * @param {*} value - new expression value\n * @returns {undefined}\n */\n\n\n function eventExpression(node, _ref7, value) {\n let {\n name\n } = _ref7;\n node[name] = value;\n }\n /**\n * This methods handles a simple text expression update\n * @param {HTMLElement} node - target node\n * @param {Object} expression - expression object\n * @param {number} expression.childNodeIndex - index to find the text node to update\n * @param {*} value - new expression value\n * @returns {undefined}\n */\n\n\n function textExpression(node, _ref8, value) {\n let {\n childNodeIndex\n } = _ref8;\n const target = node.childNodes[childNodeIndex];\n const val = normalizeValue$1(value); // replace the target if it's a placeholder comment\n\n if (target.nodeType === Node.COMMENT_NODE) {\n const textNode = document.createTextNode(val);\n node.replaceChild(textNode, target);\n } else {\n target.data = normalizeValue$1(val);\n }\n }\n /**\n * Normalize the user value in order to render a empty string in case of falsy values\n * @param {*} value - user input value\n * @returns {string} hopefully a string\n */\n\n\n function normalizeValue$1(value) {\n return value != null ? value : '';\n }\n /**\n * This methods handles the input fileds value updates\n * @param {HTMLElement} node - target node\n * @param {Object} expression - expression object\n * @param {*} value - new expression value\n * @returns {undefined}\n */\n\n\n function valueExpression(node, expression, value) {\n node.value = value;\n }\n\n var expressions = {\n [ATTRIBUTE]: attributeExpression,\n [EVENT]: eventExpression,\n [TEXT]: textExpression,\n [VALUE]: valueExpression\n };\n const Expression = Object.seal({\n // Static props\n node: null,\n value: null,\n\n // API methods\n\n /**\n * Mount the expression evaluating its initial value\n * @param {*} scope - argument passed to the expression to evaluate its current values\n * @returns {Expression} self\n */\n mount(scope) {\n // hopefully a pure function\n this.value = this.evaluate(scope); // IO() DOM updates\n\n apply(this, this.value);\n return this;\n },\n\n /**\n * Update the expression if its value changed\n * @param {*} scope - argument passed to the expression to evaluate its current values\n * @returns {Expression} self\n */\n update(scope) {\n // pure function\n const value = this.evaluate(scope);\n\n if (this.value !== value) {\n // IO() DOM updates\n apply(this, value);\n this.value = value;\n }\n\n return this;\n },\n\n /**\n * Expression teardown method\n * @returns {Expression} self\n */\n unmount() {\n return this;\n }\n\n });\n /**\n * IO() function to handle the DOM updates\n * @param {Expression} expression - expression object\n * @param {*} value - current expression value\n * @returns {undefined}\n */\n\n function apply(expression, value) {\n return expressions[expression.type](expression.node, expression, value, expression.value);\n }\n\n function create$2(node, data) {\n return Object.assign({}, Expression, data, {\n node\n });\n }\n /**\n * Create a flat object having as keys a list of methods that if dispatched will propagate\n * on the whole collection\n * @param {Array} collection - collection to iterate\n * @param {Array} methods - methods to execute on each item of the collection\n * @param {*} context - context returned by the new methods created\n * @returns {Object} a new object to simplify the the nested methods dispatching\n */\n\n\n function flattenCollectionMethods(collection, methods, context) {\n return methods.reduce((acc, method) => {\n return Object.assign({}, acc, {\n [method]: scope => {\n return collection.map(item => item[method](scope)) && context;\n }\n });\n }, {});\n }\n\n function create$3(node, _ref9) {\n let {\n expressions\n } = _ref9;\n return Object.assign({}, flattenCollectionMethods(expressions.map(expression => create$2(node, expression)), ['mount', 'update', 'unmount']));\n }\n\n const SlotBinding = Object.seal({\n // dynamic binding properties\n node: null,\n name: null,\n template: null,\n\n // API methods\n mount(scope, parentScope) {\n const templateData = scope.slots ? scope.slots.find((_ref10) => {\n let {\n id\n } = _ref10;\n return id === this.name;\n }) : false;\n const {\n parentNode\n } = this.node;\n this.template = templateData && create$6(templateData.html, templateData.bindings).createDOM(parentNode);\n\n if (this.template) {\n this.template.mount(this.node, parentScope);\n moveSlotInnerContent(this.node);\n }\n\n parentNode.removeChild(this.node);\n return this;\n },\n\n update(scope, parentScope) {\n if (this.template && parentScope) {\n this.template.update(parentScope);\n }\n\n return this;\n },\n\n unmount(scope, parentScope) {\n if (this.template) {\n this.template.unmount(parentScope);\n }\n\n return this;\n }\n\n });\n /**\n * Move the inner content of the slots outside of them\n * @param {HTMLNode} slot - slot node\n * @returns {undefined} it's a void function\n */\n\n function moveSlotInnerContent(slot) {\n if (slot.firstChild) {\n slot.parentNode.insertBefore(slot.firstChild, slot);\n moveSlotInnerContent(slot);\n }\n }\n /**\n * Create a single slot binding\n * @param {HTMLElement} node - slot node\n * @param {string} options.name - slot id\n * @returns {Object} Slot binding object\n */\n\n\n function createSlot(node, _ref11) {\n let {\n name\n } = _ref11;\n return Object.assign({}, SlotBinding, {\n node,\n name\n });\n }\n /**\n * Create a new tag object if it was registered before, otherwise fallback to the simple\n * template chunk\n * @param {Function} component - component factory function\n * @param {Array} slots - array containing the slots markup\n * @param {Array} attributes - dynamic attributes that will be received by the tag element\n * @returns {TagImplementation|TemplateChunk} a tag implementation or a template chunk as fallback\n */\n\n\n function getTag(component, slots, attributes) {\n if (slots === void 0) {\n slots = [];\n }\n\n if (attributes === void 0) {\n attributes = [];\n }\n\n // if this tag was registered before we will return its implementation\n if (component) {\n return component({\n slots,\n attributes\n });\n } // otherwise we return a template chunk\n\n\n return create$6(slotsToMarkup(slots), [...slotBindings(slots), {\n // the attributes should be registered as binding\n // if we fallback to a normal template chunk\n expressions: attributes.map(attr => {\n return Object.assign({\n type: ATTRIBUTE\n }, attr);\n })\n }]);\n }\n /**\n * Merge all the slots bindings into a single array\n * @param {Array} slots - slots collection\n * @returns {Array} flatten bindings array\n */\n\n\n function slotBindings(slots) {\n return slots.reduce((acc, _ref12) => {\n let {\n bindings\n } = _ref12;\n return acc.concat(bindings);\n }, []);\n }\n /**\n * Merge all the slots together in a single markup string\n * @param {Array} slots - slots collection\n * @returns {string} markup of all the slots in a single string\n */\n\n\n function slotsToMarkup(slots) {\n return slots.reduce((acc, slot) => {\n return acc + slot.html;\n }, '');\n }\n\n const TagBinding = Object.seal({\n // dynamic binding properties\n node: null,\n evaluate: null,\n name: null,\n slots: null,\n tag: null,\n attributes: null,\n getComponent: null,\n\n mount(scope) {\n return this.update(scope);\n },\n\n update(scope) {\n const name = this.evaluate(scope); // simple update\n\n if (name === this.name) {\n this.tag.update(scope);\n } else {\n // unmount the old tag if it exists\n this.unmount(); // mount the new tag\n\n this.name = name;\n this.tag = getTag(this.getComponent(name), this.slots, this.attributes);\n this.tag.mount(this.node, scope);\n }\n\n return this;\n },\n\n unmount() {\n if (this.tag) {\n // keep the root tag\n this.tag.unmount(true);\n }\n\n return this;\n }\n\n });\n\n function create$4(node, _ref13) {\n let {\n evaluate,\n getComponent,\n slots,\n attributes\n } = _ref13;\n return Object.assign({}, TagBinding, {\n node,\n evaluate,\n slots,\n attributes,\n getComponent\n });\n }\n\n var bindings = {\n [IF]: create$1,\n [SIMPLE]: create$3,\n [EACH]: create,\n [TAG]: create$4,\n [SLOT]: createSlot\n };\n /**\n * Bind a new expression object to a DOM node\n * @param {HTMLElement} root - DOM node where to bind the expression\n * @param {Object} binding - binding data\n * @returns {Expression} Expression object\n */\n\n function create$5(root, binding) {\n const {\n selector,\n type,\n redundantAttribute,\n expressions\n } = binding; // find the node to apply the bindings\n\n const node = selector ? root.querySelector(selector) : root; // remove eventually additional attributes created only to select this node\n\n if (redundantAttribute) node.removeAttribute(redundantAttribute); // init the binding\n\n return (bindings[type] || bindings[SIMPLE])(node, Object.assign({}, binding, {\n expressions: expressions || []\n }));\n }\n /**\n * Check if an element is part of an svg\n * @param {HTMLElement} el - element to check\n * @returns {boolean} true if we are in an svg context\n */\n\n\n function isSvg(el) {\n const owner = el.ownerSVGElement;\n return !!owner || owner === null;\n } // in this case a simple innerHTML is enough\n\n\n function createHTMLTree(html) {\n const template = document.createElement('template');\n template.innerHTML = html;\n return template.content;\n } // for svg nodes we need a bit more work\n\n\n function creteSVGTree(html, container) {\n // create the SVGNode\n const svgNode = container.ownerDocument.importNode(new window.DOMParser().parseFromString(`${html}`, 'application/xml').documentElement, true);\n return svgNode;\n }\n /**\n * Create the DOM that will be injected\n * @param {Object} root - DOM node to find out the context where the fragment will be created\n * @param {string} html - DOM to create as string\n * @returns {HTMLDocumentFragment|HTMLElement} a new html fragment\n */\n\n\n function createDOMTree(root, html) {\n if (isSvg(root)) return creteSVGTree(html, root);\n return createHTMLTree(html);\n }\n /**\n * Move all the child nodes from a source tag to another\n * @param {HTMLElement} source - source node\n * @param {HTMLElement} target - target node\n * @returns {undefined} it's a void method ¯\\_(ツ)_/¯\n */\n // Ignore this helper because it's needed only for svg tags\n\n /* istanbul ignore next */\n\n\n function moveChildren(source, target) {\n if (source.firstChild) {\n target.appendChild(source.firstChild);\n moveChildren(source, target);\n }\n }\n\n const SVG_RE = /svg/i;\n /**\n * Inject the DOM tree into a target node\n * @param {HTMLElement} el - target element\n * @param {HTMLFragment|SVGElement} dom - dom tree to inject\n * @returns {undefined}\n */\n\n function injectDOM(el, dom) {\n if (SVG_RE.test(el.tagName)) {\n moveChildren(dom, el);\n } else {\n el.appendChild(dom);\n }\n }\n /**\n * Create the Template DOM skeleton\n * @param {HTMLElement} el - root node where the DOM will be injected\n * @param {string} html - markup that will be injected into the root node\n * @returns {HTMLFragment} fragment that will be injected into the root node\n */\n\n\n function createTemplateDOM(el, html) {\n return html && (typeof html === 'string' ? createDOMTree(el, html) : html);\n }\n /**\n * Template Chunk model\n * @type {Object}\n */\n\n\n const TemplateChunk = Object.freeze({\n // Static props\n bindings: null,\n bindingsData: null,\n html: null,\n dom: null,\n el: null,\n\n /**\n * Create the template DOM structure that will be cloned on each mount\n * @param {HTMLElement} el - the root node\n * @returns {TemplateChunk} self\n */\n createDOM(el) {\n // make sure that the DOM gets created before cloning the template\n this.dom = this.dom || createTemplateDOM(el, this.html);\n return this;\n },\n\n // API methods\n\n /**\n * Attach the template to a DOM node\n * @param {HTMLElement} el - target DOM node\n * @param {*} scope - template data\n * @param {*} parentScope - scope of the parent template tag\n * @returns {TemplateChunk} self\n */\n mount(el, scope, parentScope) {\n if (!el) throw new Error('Please provide DOM node to mount properly your template');\n if (this.el) this.unmount(scope);\n this.el = el; // create the DOM if it wasn't created before\n\n this.createDOM(el);\n if (this.dom) injectDOM(el, this.dom.cloneNode(true)); // create the bindings\n\n this.bindings = this.bindingsData.map(binding => create$5(this.el, binding));\n this.bindings.forEach(b => b.mount(scope, parentScope));\n return this;\n },\n\n /**\n * Update the template with fresh data\n * @param {*} scope - template data\n * @param {*} parentScope - scope of the parent template tag\n * @returns {TemplateChunk} self\n */\n update(scope, parentScope) {\n this.bindings.forEach(b => b.update(scope, parentScope));\n return this;\n },\n\n /**\n * Remove the template from the node where it was initially mounted\n * @param {*} scope - template data\n * @param {*} parentScope - scope of the parent template tag\n * @param {boolean} mustRemoveRoot - if true remove the root element\n * @returns {TemplateChunk} self\n */\n unmount(scope, parentScope, mustRemoveRoot) {\n if (this.el) {\n this.bindings.forEach(b => b.unmount(scope, parentScope));\n\n if (mustRemoveRoot && this.el.parentNode) {\n this.el.parentNode.removeChild(this.el);\n } else if (mustRemoveRoot !== null) {\n cleanNode(this.el);\n }\n\n this.el = null;\n }\n\n return this;\n },\n\n /**\n * Clone the template chunk\n * @returns {TemplateChunk} a clone of this object resetting the this.el property\n */\n clone() {\n return Object.assign({}, this, {\n el: null\n });\n }\n\n });\n /**\n * Create a template chunk wiring also the bindings\n * @param {string|HTMLElement} html - template string\n * @param {Array} bindings - bindings collection\n * @returns {TemplateChunk} a new TemplateChunk copy\n */\n\n function create$6(html, bindings) {\n if (bindings === void 0) {\n bindings = [];\n }\n\n return Object.assign({}, TemplateChunk, {\n html,\n bindingsData: bindings\n });\n }\n\n /**\n * Quick type checking\n * @param {*} element - anything\n * @param {string} type - type definition\n * @returns {boolean} true if the type corresponds\n */\n function checkType(element, type) {\n return typeof element === type;\n }\n /**\n * Check that will be passed if its argument is a function\n * @param {*} value - value to check\n * @returns {boolean} - true if the value is a function\n */\n\n function isFunction(value) {\n return checkType(value, 'function');\n }\n\n /* eslint-disable fp/no-mutating-methods */\n /**\n * Throw an error\n * @param {string} error - error message\n * @returns {undefined} it's a IO void function\n */\n\n function panic(error) {\n throw new Error(error);\n }\n /**\n * Call the first argument received only if it's a function otherwise return it as it is\n * @param {*} source - anything\n * @returns {*} anything\n */\n\n function callOrAssign(source) {\n return isFunction(source) ? source.prototype && source.prototype.constructor ? new source() : source() : source;\n }\n /**\n * Convert a string from camel case to dash-case\n * @param {string} string - probably a component tag name\n * @returns {string} component name normalized\n */\n\n function camelToDashCase(string) {\n return string.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n }\n /**\n * Convert a string containing dashes to camel case\n * @param {string} string - input string\n * @returns {string} my-string -> myString\n */\n\n function dashToCamelCase(string) {\n return string.replace(/-(\\w)/g, (_, c) => c.toUpperCase());\n }\n /**\n * Define default properties if they don't exist on the source object\n * @param {Object} source - object that will receive the default properties\n * @param {Object} defaults - object containing additional optional keys\n * @returns {Object} the original object received enhanced\n */\n\n function defineDefaults(source, defaults) {\n Object.entries(defaults).forEach((_ref) => {\n let [key, value] = _ref;\n if (!source[key]) source[key] = value;\n });\n return source;\n } // doese simply nothing\n\n function noop() {\n return this;\n }\n /**\n * Autobind the methods of a source object to itself\n * @param {Object} source - probably a riot tag instance\n * @param {Array} methods - list of the methods to autobind\n * @returns {Object} the original object received\n */\n\n function autobindMethods(source, methods) {\n methods.forEach(method => {\n source[method] = source[method].bind(source);\n });\n return source;\n }\n /**\n * Helper function to set an immutable property\n * @param {Object} source - object where the new property will be set\n * @param {string} key - object key where the new property will be stored\n * @param {*} value - value of the new property\n * @param {Object} options - set the propery overriding the default options\n * @returns {Object} - the original object modified\n */\n\n function defineProperty(source, key, value, options) {\n if (options === void 0) {\n options = {};\n }\n\n Object.defineProperty(source, key, Object.assign({\n value,\n enumerable: false,\n writable: false,\n configurable: true\n }, options));\n return source;\n }\n /**\n * Define multiple properties on a target object\n * @param {Object} source - object where the new properties will be set\n * @param {Object} properties - object containing as key pair the key + value properties\n * @param {Object} options - set the propery overriding the default options\n * @returns {Object} the original object modified\n */\n\n function defineProperties(source, properties, options) {\n Object.entries(properties).forEach((_ref2) => {\n let [key, value] = _ref2;\n defineProperty(source, key, value, options);\n });\n return source;\n }\n /**\n * Evaluate a list of attribute expressions\n * @param {Array} attributes - attribute expressions generated by the riot compiler\n * @returns {Object} key value pairs with the result of the computation\n */\n\n function evaluateAttributeExpressions(attributes) {\n return attributes.reduce((acc, attribute) => {\n const {\n value,\n type\n } = attribute;\n\n switch (true) {\n // spread attribute\n case !attribute.name && type === expressionTypes.ATTRIBUTE:\n return Object.assign({}, acc, value);\n // value attribute\n\n case type === expressionTypes.VALUE:\n acc[VALUE_ATTRIBUTE] = attribute.value;\n break;\n // normal attributes\n\n default:\n acc[dashToCamelCase(attribute.name)] = attribute.value;\n }\n\n return acc;\n }, {});\n }\n\n /**\n * Converts any DOM node/s to a loopable array\n * @param { HTMLElement|NodeList } els - single html element or a node list\n * @returns { Array } always a loopable object\n */\n function domToArray(els) {\n // can this object be already looped?\n if (!Array.isArray(els)) {\n // is it a node list?\n if (/^\\[object (HTMLCollection|NodeList|Object)\\]$/.test(Object.prototype.toString.call(els)) && typeof els.length === 'number') return Array.from(els);else // if it's a single node\n // it will be returned as \"array\" with one single entry\n return [els];\n } // this object could be looped out of the box\n\n\n return els;\n }\n\n /**\n * Normalize the return values, in case of a single value we avoid to return an array\n * @param { Array } values - list of values we want to return\n * @returns { Array|string|boolean } either the whole list of values or the single one found\n * @private\n */\n\n const normalize = values => values.length === 1 ? values[0] : values;\n /**\n * Parse all the nodes received to get/remove/check their attributes\n * @param { HTMLElement|NodeList|Array } els - DOM node/s to parse\n * @param { string|Array } name - name or list of attributes\n * @param { string } method - method that will be used to parse the attributes\n * @returns { Array|string } result of the parsing in a list or a single value\n * @private\n */\n\n\n function parseNodes(els, name, method) {\n const names = typeof name === 'string' ? [name] : name;\n return normalize(domToArray(els).map(el => {\n return normalize(names.map(n => el[method](n)));\n }));\n }\n /**\n * Set any attribute on a single or a list of DOM nodes\n * @param { HTMLElement|NodeList|Array } els - DOM node/s to parse\n * @param { string|Object } name - either the name of the attribute to set\n * or a list of properties as object key - value\n * @param { string } value - the new value of the attribute (optional)\n * @returns { HTMLElement|NodeList|Array } the original array of elements passed to this function\n *\n * @example\n *\n * import { set } from 'bianco.attr'\n *\n * const img = document.createElement('img')\n *\n * set(img, 'width', 100)\n *\n * // or also\n * set(img, {\n * width: 300,\n * height: 300\n * })\n *\n */\n\n\n function set(els, name, value) {\n const attrs = typeof name === 'object' ? name : {\n [name]: value\n };\n const props = Object.keys(attrs);\n domToArray(els).forEach(el => {\n props.forEach(prop => el.setAttribute(prop, attrs[prop]));\n });\n return els;\n }\n /**\n * Get any attribute from a single or a list of DOM nodes\n * @param { HTMLElement|NodeList|Array } els - DOM node/s to parse\n * @param { string|Array } name - name or list of attributes to get\n * @returns { Array|string } list of the attributes found\n *\n * @example\n *\n * import { get } from 'bianco.attr'\n *\n * const img = document.createElement('img')\n *\n * get(img, 'width') // => '200'\n *\n * // or also\n * get(img, ['width', 'height']) // => ['200', '300']\n *\n * // or also\n * get([img1, img2], ['width', 'height']) // => [['200', '300'], ['500', '200']]\n */\n\n function get(els, name) {\n return parseNodes(els, name, 'getAttribute');\n }\n\n /**\n * Get all the element attributes as object\n * @param {HTMLElement} element - DOM node we want to parse\n * @returns {Object} all the attributes found as a key value pairs\n */\n\n function DOMattributesToObject(element) {\n return Array.from(element.attributes).reduce((acc, attribute) => {\n acc[dashToCamelCase(attribute.name)] = attribute.value;\n return acc;\n }, {});\n }\n /**\n * Get the tag name of any DOM node\n * @param {HTMLElement} element - DOM node we want to inspect\n * @returns {string} name to identify this dom node in riot\n */\n\n function getName(element) {\n return get(element, IS_DIRECTIVE) || element.tagName.toLowerCase();\n }\n\n /**\n * Simple helper to find DOM nodes returning them as array like loopable object\n * @param { string|DOMNodeList } selector - either the query or the DOM nodes to arraify\n * @param { HTMLElement } ctx - context defining where the query will search for the DOM nodes\n * @returns { Array } DOM nodes found as array\n */\n\n function $(selector, ctx) {\n return domToArray(typeof selector === 'string' ? (ctx || document).querySelectorAll(selector) : selector);\n }\n\n const CSS_BY_NAME = new Map();\n const STYLE_NODE_SELECTOR = 'style[riot]'; // memoized curried function\n\n const getStyleNode = (style => {\n return () => {\n // lazy evaluation:\n // if this function was already called before\n // we return its cached result\n if (style) return style; // create a new style element or use an existing one\n // and cache it internally\n\n style = $(STYLE_NODE_SELECTOR)[0] || document.createElement('style');\n set(style, 'type', 'text/css');\n /* istanbul ignore next */\n\n if (!style.parentNode) document.head.appendChild(style);\n return style;\n };\n })();\n /**\n * Object that will be used to inject and manage the css of every tag instance\n */\n\n\n var cssManager = {\n CSS_BY_NAME,\n\n /**\n * Save a tag style to be later injected into DOM\n * @param { string } name - if it's passed we will map the css to a tagname\n * @param { string } css - css string\n * @returns {Object} self\n */\n add(name, css) {\n if (!CSS_BY_NAME.has(name)) {\n CSS_BY_NAME.set(name, css);\n this.inject();\n }\n\n return this;\n },\n\n /**\n * Inject all previously saved tag styles into DOM\n * innerHTML seems slow: http://jsperf.com/riot-insert-style\n * @returns {Object} self\n */\n inject() {\n getStyleNode().innerHTML = [...CSS_BY_NAME.values()].join('\\n');\n return this;\n },\n\n /**\n * Remove a tag style from the DOM\n * @param {string} name a registered tagname\n * @returns {Object} self\n */\n remove(name) {\n if (CSS_BY_NAME.has(name)) {\n CSS_BY_NAME.delete(name);\n this.inject();\n }\n\n return this;\n }\n\n };\n\n /**\n * Function to curry any javascript method\n * @param {Function} fn - the target function we want to curry\n * @param {...[args]} acc - initial arguments\n * @returns {Function|*} it will return a function until the target function\n * will receive all of its arguments\n */\n function curry(fn) {\n for (var _len = arguments.length, acc = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n acc[_key - 1] = arguments[_key];\n }\n\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n args = [...acc, ...args];\n return args.length < fn.length ? curry(fn, ...args) : fn(...args);\n };\n }\n\n const COMPONENT_CORE_HELPERS = Object.freeze({\n // component helpers\n $(selector) {\n return $(selector, this.root)[0];\n },\n\n $$(selector) {\n return $(selector, this.root);\n }\n\n });\n const COMPONENT_LIFECYCLE_METHODS = Object.freeze({\n shouldUpdate: noop,\n onBeforeMount: noop,\n onMounted: noop,\n onBeforeUpdate: noop,\n onUpdated: noop,\n onBeforeUnmount: noop,\n onUnmounted: noop\n });\n const MOCKED_TEMPLATE_INTERFACE = {\n update: noop,\n mount: noop,\n unmount: noop,\n clone: noop,\n createDOM: noop\n /**\n * Factory function to create the component templates only once\n * @param {Function} template - component template creation function\n * @param {Object} components - object containing the nested components\n * @returns {TemplateChunk} template chunk object\n */\n\n };\n\n function componentTemplateFactory(template, components) {\n return template(create$6, expressionTypes, bindingTypes, name => {\n return components[name] || COMPONENTS_IMPLEMENTATION_MAP.get(name);\n });\n }\n /**\n * Create the component interface needed for the @riotjs/dom-bindings tag bindings\n * @param {string} options.css - component css\n * @param {Function} options.template - functon that will return the dom-bindings template function\n * @param {Object} options.exports - component interface\n * @param {string} options.name - component name\n * @returns {Object} component like interface\n */\n\n\n function createComponent(_ref) {\n let {\n css,\n template,\n exports,\n name\n } = _ref;\n const templateFn = template ? componentTemplateFactory(template, exports ? createSubcomponents(exports.components) : {}) : MOCKED_TEMPLATE_INTERFACE;\n return (_ref2) => {\n let {\n slots,\n attributes,\n props\n } = _ref2;\n const componentAPI = callOrAssign(exports) || {};\n const component = defineComponent({\n css,\n template: templateFn,\n componentAPI,\n name\n })({\n slots,\n attributes,\n props\n }); // notice that for the components create via tag binding\n // we need to invert the mount (state/parentScope) arguments\n // the template bindings will only forward the parentScope updates\n // and never deal with the component state\n\n return {\n mount(element, parentScope, state) {\n return component.mount(element, state, parentScope);\n },\n\n update(parentScope, state) {\n return component.update(state, parentScope);\n },\n\n unmount(preserveRoot) {\n return component.unmount(preserveRoot);\n }\n\n };\n };\n }\n /**\n * Component definition function\n * @param {Object} implementation - the componen implementation will be generated via compiler\n * @param {Object} component - the component initial properties\n * @returns {Object} a new component implementation object\n */\n\n function defineComponent(_ref3) {\n let {\n css,\n template,\n componentAPI,\n name\n } = _ref3;\n // add the component css into the DOM\n if (css && name) cssManager.add(name, css);\n return curry(enhanceComponentAPI)(defineProperties( // set the component defaults without overriding the original component API\n defineDefaults(componentAPI, Object.assign({}, COMPONENT_LIFECYCLE_METHODS, {\n state: {}\n })), Object.assign({\n // defined during the component creation\n slots: null,\n root: null\n }, COMPONENT_CORE_HELPERS, {\n name,\n css,\n template\n })));\n }\n /**\n * Evaluate the component properties either from its real attributes or from its attribute expressions\n * @param {HTMLElement} element - component root\n * @param {Array} attributeExpressions - attribute values generated via createAttributeBindings\n * @returns {Object} attributes key value pairs\n */\n\n function evaluateProps(element, attributeExpressions) {\n if (attributeExpressions === void 0) {\n attributeExpressions = [];\n }\n\n return Object.assign({}, DOMattributesToObject(element), evaluateAttributeExpressions(attributeExpressions));\n }\n /**\n * Create the bindings to update the component attributes\n * @param {HTMLElement} node - node where we will bind the expressions\n * @param {Array} attributes - list of attribute bindings\n * @returns {TemplateChunk} - template bindings object\n */\n\n\n function createAttributeBindings(node, attributes) {\n if (attributes === void 0) {\n attributes = [];\n }\n\n const expressions = attributes.map(a => create$2(node, a));\n const binding = {};\n\n const updateValues = method => scope => {\n expressions.forEach(e => e[method](scope));\n return binding;\n };\n\n return Object.assign(binding, {\n expressions,\n mount: updateValues('mount'),\n update: updateValues('update'),\n unmount: updateValues('unmount')\n });\n }\n /**\n * Create the subcomponents that can be included inside a tag in runtime\n * @param {Object} components - components imported in runtime\n * @returns {Object} all the components transformed into Riot.Component factory functions\n */\n\n\n function createSubcomponents(components) {\n if (components === void 0) {\n components = {};\n }\n\n return Object.entries(callOrAssign(components)).reduce((acc, _ref4) => {\n let [key, value] = _ref4;\n acc[camelToDashCase(key)] = createComponent(value);\n return acc;\n }, {});\n }\n /**\n * Run the component instance through all the plugins set by the user\n * @param {Object} component - component instance\n * @returns {Object} the component enhanced by the plugins\n */\n\n\n function runPlugins(component) {\n return [...PLUGINS_SET].reduce((c, fn) => fn(c) || c, component);\n }\n /**\n * Compute the component current state merging it with its previous state\n * @param {Object} oldState - previous state object\n * @param {Object} newState - new state givent to the `update` call\n * @returns {Object} new object state\n */\n\n\n function computeState(oldState, newState) {\n return Object.assign({}, oldState, callOrAssign(newState));\n }\n /**\n * Add eventually the \"is\" attribute to link this DOM node to its css\n * @param {HTMLElement} element - target root node\n * @param {string} name - name of the component mounted\n * @returns {undefined} it's a void function\n */\n\n\n function addCssHook(element, name) {\n if (getName(element) !== name) {\n set(element, 'is', name);\n }\n }\n /**\n * Component creation factory function that will enhance the user provided API\n * @param {Object} component - a component implementation previously defined\n * @param {Array} options.slots - component slots generated via riot compiler\n * @param {Array} options.attributes - attribute expressions generated via riot compiler\n * @returns {Riot.Component} a riot component instance\n */\n\n\n function enhanceComponentAPI(component, _ref5) {\n let {\n slots,\n attributes,\n props\n } = _ref5;\n const initialProps = callOrAssign(props);\n return autobindMethods(runPlugins(defineProperties(Object.create(component), {\n mount(element, state, parentScope) {\n if (state === void 0) {\n state = {};\n }\n\n this[ATTRIBUTES_KEY_SYMBOL] = createAttributeBindings(element, attributes).mount(parentScope);\n this.props = Object.freeze(Object.assign({}, initialProps, evaluateProps(element, this[ATTRIBUTES_KEY_SYMBOL].expressions)));\n this.state = computeState(this.state, state);\n this[TEMPLATE_KEY_SYMBOL] = this.template.createDOM(element).clone(); // link this object to the DOM node\n\n element[DOM_COMPONENT_INSTANCE_PROPERTY] = this; // add eventually the 'is' attribute\n\n component.name && addCssHook(element, component.name); // define the root element\n\n defineProperty(this, 'root', element); // define the slots array\n\n defineProperty(this, 'slots', slots); // before mount lifecycle event\n\n this.onBeforeMount(this.props, this.state); // mount the template\n\n this[TEMPLATE_KEY_SYMBOL].mount(element, this, parentScope);\n this.onMounted(this.props, this.state);\n return this;\n },\n\n update(state, parentScope) {\n if (state === void 0) {\n state = {};\n }\n\n if (parentScope) {\n this[ATTRIBUTES_KEY_SYMBOL].update(parentScope);\n }\n\n const newProps = evaluateProps(this.root, this[ATTRIBUTES_KEY_SYMBOL].expressions);\n if (this.shouldUpdate(newProps, this.props) === false) return;\n this.props = Object.freeze(Object.assign({}, initialProps, newProps));\n this.state = computeState(this.state, state);\n this.onBeforeUpdate(this.props, this.state);\n this[TEMPLATE_KEY_SYMBOL].update(this, parentScope);\n this.onUpdated(this.props, this.state);\n return this;\n },\n\n unmount(preserveRoot) {\n this.onBeforeUnmount(this.props, this.state);\n this[ATTRIBUTES_KEY_SYMBOL].unmount();\n this[TEMPLATE_KEY_SYMBOL].unmount(this, {}, !preserveRoot);\n this.onUnmounted(this.props, this.state);\n return this;\n }\n\n })), Object.keys(component).filter(prop => isFunction(component[prop])));\n }\n /**\n * Component initialization function starting from a DOM node\n * @param {HTMLElement} element - element to upgrade\n * @param {Object} initialProps - initial component properties\n * @param {string} componentName - component id\n * @returns {Object} a new component instance bound to a DOM node\n */\n\n function mountComponent(element, initialProps, componentName) {\n const name = componentName || getName(element);\n if (!COMPONENTS_IMPLEMENTATION_MAP.has(name)) panic(`The component named \"${name}\" was never registered`);\n const component = COMPONENTS_IMPLEMENTATION_MAP.get(name)({\n props: initialProps\n });\n return component.mount(element);\n }\n\n /**\n * Similar to compose but performs from left-to-right function composition.
\n * {@link https://30secondsofcode.org/function#composeright see also}\n * @param {...[function]} fns) - list of unary function\n * @returns {*} result of the computation\n */\n /**\n * Performs right-to-left function composition.
\n * Use Array.prototype.reduce() to perform right-to-left function composition.
\n * The last (rightmost) function can accept one or more arguments; the remaining functions must be unary.
\n * {@link https://30secondsofcode.org/function#compose original source code}\n * @param {...[function]} fns) - list of unary function\n * @returns {*} result of the computation\n */\n\n function compose() {\n for (var _len2 = arguments.length, fns = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n fns[_key2] = arguments[_key2];\n }\n\n return fns.reduce((f, g) => function () {\n return f(g(...arguments));\n });\n }\n\n const {\n DOM_COMPONENT_INSTANCE_PROPERTY: DOM_COMPONENT_INSTANCE_PROPERTY$1,\n COMPONENTS_IMPLEMENTATION_MAP: COMPONENTS_IMPLEMENTATION_MAP$1,\n PLUGINS_SET: PLUGINS_SET$1\n } = globals;\n /**\n * Riot public api\n */\n\n /**\n * Register a custom tag by name\n * @param {string} name - component name\n * @param {Object} implementation - tag implementation\n * @returns {Map} map containing all the components implementations\n */\n\n function register(name, _ref) {\n let {\n css,\n template,\n exports\n } = _ref;\n if (COMPONENTS_IMPLEMENTATION_MAP$1.has(name)) panic(`The component \"${name}\" was already registered`);\n COMPONENTS_IMPLEMENTATION_MAP$1.set(name, createComponent({\n name,\n css,\n template,\n exports\n }));\n return COMPONENTS_IMPLEMENTATION_MAP$1;\n }\n /**\n * Unregister a riot web component\n * @param {string} name - component name\n * @returns {Map} map containing all the components implementations\n */\n\n function unregister(name) {\n if (!COMPONENTS_IMPLEMENTATION_MAP$1.has(name)) panic(`The component \"${name}\" was never registered`);\n COMPONENTS_IMPLEMENTATION_MAP$1.delete(name);\n cssManager.remove(name);\n return COMPONENTS_IMPLEMENTATION_MAP$1;\n }\n /**\n * Mounting function that will work only for the components that were globally registered\n * @param {string|HTMLElement} selector - query for the selection or a DOM element\n * @param {Object} initialProps - the initial component properties\n * @param {string} name - optional component name\n * @returns {Array} list of nodes upgraded\n */\n\n function mount(selector, initialProps, name) {\n return $(selector).map(element => mountComponent(element, initialProps, name));\n }\n /**\n * Sweet unmounting helper function for the DOM node mounted manually by the user\n * @param {string|HTMLElement} selector - query for the selection or a DOM element\n * @returns {Array} list of nodes unmounted\n */\n\n function unmount(selector) {\n return $(selector).map(element => {\n if (element[DOM_COMPONENT_INSTANCE_PROPERTY$1]) {\n element[DOM_COMPONENT_INSTANCE_PROPERTY$1].unmount();\n }\n\n return element;\n });\n }\n /**\n * Define a riot plugin\n * @param {Function} plugin - function that will receive all the components created\n * @returns {Set} the set containing all the plugins installed\n */\n\n function install(plugin) {\n if (!isFunction(plugin)) panic('Plugins must be of type function');\n if (PLUGINS_SET$1.has(plugin)) panic('This plugin was already install');\n PLUGINS_SET$1.add(plugin);\n return PLUGINS_SET$1;\n }\n /**\n * Uninstall a riot plugin\n * @param {Function} plugin - plugin previously installed\n * @returns {Set} the set containing all the plugins installed\n */\n\n function uninstall(plugin) {\n if (!PLUGINS_SET$1.has(plugin)) panic('This plugin was never installed');\n PLUGINS_SET$1.delete(plugin);\n return PLUGINS_SET$1;\n }\n /**\n * Helpter method to create component without relying on the registered ones\n * @param {Object} implementation - component implementation\n * @returns {Function} function that will allow you to mount a riot component on a DOM node\n */\n\n function component(implementation) {\n return (el, props) => compose(c => c.mount(el), c => c({\n props\n }), createComponent)(implementation);\n }\n /** @type {string} current riot version */\n\n const version = 'v4.0.8'; // expose some internal stuff that might be used from external tools\n\n const __ = {\n cssManager,\n defineComponent,\n globals\n };\n\n exports.__ = __;\n exports.component = component;\n exports.install = install;\n exports.mount = mount;\n exports.register = register;\n exports.uninstall = uninstall;\n exports.unmount = unmount;\n exports.unregister = unregister;\n exports.version = version;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n"},"meta":{"kind":"string","value":"{'content_hash': '5f5ae4d18accf20b049c6c83a20ab41d', 'timestamp': '', 'source': 'github', 'line_count': 2237, 'max_line_length': 321, 'avg_line_length': 29.485918641037102, 'alnum_prop': 0.61926925409339, 'repo_name': 'sufuf3/cdnjs', 'id': '8853ee706df8c0a14012970c86dfb0ff55548b69', 'size': '65964', 'binary': False, 'copies': '4', 'ref': 'refs/heads/master', 'path': 'ajax/libs/riot/4.0.8/riot.js', 'mode': '33188', 'license': 'mit', 'language': []}"}}},{"rowIdx":849836,"cells":{"text":{"kind":"string","value":".class final Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\n.super Ljava/util/concurrent/ConcurrentHashMap$CollectionView;\n.source \"ConcurrentHashMap.java\"\n\n# interfaces\n.implements Ljava/util/Set;\n.implements Ljava/io/Serializable;\n\n\n# annotations\n.annotation system Ldalvik/annotation/EnclosingClass;\n value = Ljava/util/concurrent/ConcurrentHashMap;\n.end annotation\n\n.annotation system Ldalvik/annotation/InnerClass;\n accessFlags = 0x18\n name = \"EntrySetView\"\n.end annotation\n\n.annotation system Ldalvik/annotation/Signature;\n value = {\n \"\",\n \"Ljava/util/concurrent/ConcurrentHashMap$CollectionView\",\n \";>;\",\n \"Ljava/util/Set\",\n \"<\",\n \"Ljava/util/Map$Entry\",\n \";>;\",\n \"Ljava/io/Serializable;\"\n }\n.end annotation\n\n\n# static fields\n.field private static final serialVersionUID:J = 0x1f364c905893293dL\n\n\n# direct methods\n.method constructor (Ljava/util/concurrent/ConcurrentHashMap;)V\n .locals 0\n .annotation system Ldalvik/annotation/Signature;\n value = {\n \"(\",\n \"Ljava/util/concurrent/ConcurrentHashMap\",\n \";)V\"\n }\n .end annotation\n\n .prologue\n .line 2957\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n .local p1, \"map\":Ljava/util/concurrent/ConcurrentHashMap;, \"Ljava/util/concurrent/ConcurrentHashMap;\"\n invoke-direct {p0, p1}, Ljava/util/concurrent/ConcurrentHashMap$CollectionView;->(Ljava/util/concurrent/ConcurrentHashMap;)V\n\n return-void\n.end method\n\n\n# virtual methods\n.method public bridge synthetic add(Ljava/lang/Object;)Z\n .locals 1\n\n .prologue\n .line 2954\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n check-cast p1, Ljava/util/Map$Entry;\n\n invoke-virtual {p0, p1}, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->add(Ljava/util/Map$Entry;)Z\n\n move-result v0\n\n return v0\n.end method\n\n.method public add(Ljava/util/Map$Entry;)Z\n .locals 4\n .annotation system Ldalvik/annotation/Signature;\n value = {\n \"(\",\n \"Ljava/util/Map$Entry\",\n \";)Z\"\n }\n .end annotation\n\n .prologue\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n .local p1, \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry;\"\n const/4 v0, 0x0\n\n .line 2987\n iget-object v1, p0, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->map:Ljava/util/concurrent/ConcurrentHashMap;\n\n invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;\n\n move-result-object v2\n\n invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;\n\n move-result-object v3\n\n invoke-virtual {v1, v2, v3, v0}, Ljava/util/concurrent/ConcurrentHashMap;->putVal(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;\n\n move-result-object v1\n\n if-nez v1, :cond_0\n\n const/4 v0, 0x1\n\n :cond_0\n return v0\n.end method\n\n.method public addAll(Ljava/util/Collection;)Z\n .locals 4\n .annotation system Ldalvik/annotation/Signature;\n value = {\n \"(\",\n \"Ljava/util/Collection\",\n \"<+\",\n \"Ljava/util/Map$Entry\",\n \";>;)Z\"\n }\n .end annotation\n\n .prologue\n .line 2991\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n .local p1, \"c\":Ljava/util/Collection;, \"Ljava/util/Collection<+Ljava/util/Map$Entry;>;\"\n const/4 v0, 0x0\n\n .line 2992\n .local v0, \"added\":Z\n invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;\n\n move-result-object v2\n\n .local v2, \"i$\":Ljava/util/Iterator;\n :cond_0\n :goto_0\n invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z\n\n move-result v3\n\n if-eqz v3, :cond_1\n\n invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;\n\n move-result-object v1\n\n check-cast v1, Ljava/util/Map$Entry;\n\n .line 2993\n .local v1, \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry;\"\n invoke-virtual {p0, v1}, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->add(Ljava/util/Map$Entry;)Z\n\n move-result v3\n\n if-eqz v3, :cond_0\n\n .line 2994\n const/4 v0, 0x1\n\n goto :goto_0\n\n .line 2996\n .end local v1 # \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry;\"\n :cond_1\n return v0\n.end method\n\n.method public contains(Ljava/lang/Object;)Z\n .locals 5\n .param p1, \"o\" # Ljava/lang/Object;\n\n .prologue\n .line 2961\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n instance-of v4, p1, Ljava/util/Map$Entry;\n\n if-eqz v4, :cond_1\n\n move-object v0, p1\n\n check-cast v0, Ljava/util/Map$Entry;\n\n .local v0, \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry<**>;\"\n invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;\n\n move-result-object v1\n\n .local v1, \"k\":Ljava/lang/Object;\n if-eqz v1, :cond_1\n\n iget-object v4, p0, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->map:Ljava/util/concurrent/ConcurrentHashMap;\n\n invoke-virtual {v4, v1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;\n\n move-result-object v2\n\n .local v2, \"r\":Ljava/lang/Object;\n if-eqz v2, :cond_1\n\n invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;\n\n move-result-object v3\n\n .local v3, \"v\":Ljava/lang/Object;\n if-eqz v3, :cond_1\n\n if-eq v3, v2, :cond_0\n\n invoke-virtual {v3, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z\n\n move-result v4\n\n if-eqz v4, :cond_1\n\n :cond_0\n const/4 v4, 0x1\n\n .end local v0 # \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry<**>;\"\n .end local v1 # \"k\":Ljava/lang/Object;\n .end local v2 # \"r\":Ljava/lang/Object;\n .end local v3 # \"v\":Ljava/lang/Object;\n :goto_0\n return v4\n\n :cond_1\n const/4 v4, 0x0\n\n goto :goto_0\n.end method\n\n.method public final equals(Ljava/lang/Object;)Z\n .locals 2\n .param p1, \"o\" # Ljava/lang/Object;\n\n .prologue\n .line 3013\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n instance-of v1, p1, Ljava/util/Set;\n\n if-eqz v1, :cond_1\n\n move-object v0, p1\n\n check-cast v0, Ljava/util/Set;\n\n .local v0, \"c\":Ljava/util/Set;, \"Ljava/util/Set<*>;\"\n if-eq v0, p0, :cond_0\n\n invoke-virtual {p0, v0}, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->containsAll(Ljava/util/Collection;)Z\n\n move-result v1\n\n if-eqz v1, :cond_1\n\n invoke-interface {v0, p0}, Ljava/util/Set;->containsAll(Ljava/util/Collection;)Z\n\n move-result v1\n\n if-eqz v1, :cond_1\n\n :cond_0\n const/4 v1, 0x1\n\n .end local v0 # \"c\":Ljava/util/Set;, \"Ljava/util/Set<*>;\"\n :goto_0\n return v1\n\n :cond_1\n const/4 v1, 0x0\n\n goto :goto_0\n.end method\n\n.method public final hashCode()I\n .locals 7\n\n .prologue\n .line 3000\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n const/4 v0, 0x0\n\n .line 3002\n .local v0, \"h\":I\n iget-object v4, p0, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->map:Ljava/util/concurrent/ConcurrentHashMap;\n\n iget-object v3, v4, Ljava/util/concurrent/ConcurrentHashMap;->table:[Ljava/util/concurrent/ConcurrentHashMap$Node;\n\n .local v3, \"t\":[Ljava/util/concurrent/ConcurrentHashMap$Node;, \"[Ljava/util/concurrent/ConcurrentHashMap$Node;\"\n if-eqz v3, :cond_0\n\n .line 3003\n new-instance v1, Ljava/util/concurrent/ConcurrentHashMap$Traverser;\n\n array-length v4, v3\n\n const/4 v5, 0x0\n\n array-length v6, v3\n\n invoke-direct {v1, v3, v4, v5, v6}, Ljava/util/concurrent/ConcurrentHashMap$Traverser;->([Ljava/util/concurrent/ConcurrentHashMap$Node;III)V\n\n .line 3004\n .local v1, \"it\":Ljava/util/concurrent/ConcurrentHashMap$Traverser;, \"Ljava/util/concurrent/ConcurrentHashMap$Traverser;\"\n :goto_0\n invoke-virtual {v1}, Ljava/util/concurrent/ConcurrentHashMap$Traverser;->advance()Ljava/util/concurrent/ConcurrentHashMap$Node;\n\n move-result-object v2\n\n .local v2, \"p\":Ljava/util/concurrent/ConcurrentHashMap$Node;, \"Ljava/util/concurrent/ConcurrentHashMap$Node;\"\n if-eqz v2, :cond_0\n\n .line 3005\n invoke-virtual {v2}, Ljava/util/concurrent/ConcurrentHashMap$Node;->hashCode()I\n\n move-result v4\n\n add-int/2addr v0, v4\n\n goto :goto_0\n\n .line 3008\n .end local v1 # \"it\":Ljava/util/concurrent/ConcurrentHashMap$Traverser;, \"Ljava/util/concurrent/ConcurrentHashMap$Traverser;\"\n .end local v2 # \"p\":Ljava/util/concurrent/ConcurrentHashMap$Node;, \"Ljava/util/concurrent/ConcurrentHashMap$Node;\"\n :cond_0\n return v0\n.end method\n\n.method public iterator()Ljava/util/Iterator;\n .locals 6\n .annotation system Ldalvik/annotation/Signature;\n value = {\n \"()\",\n \"Ljava/util/Iterator\",\n \"<\",\n \"Ljava/util/Map$Entry\",\n \";>;\"\n }\n .end annotation\n\n .prologue\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n const/4 v3, 0x0\n\n .line 2980\n iget-object v5, p0, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->map:Ljava/util/concurrent/ConcurrentHashMap;\n\n .line 2982\n .local v5, \"m\":Ljava/util/concurrent/ConcurrentHashMap;, \"Ljava/util/concurrent/ConcurrentHashMap;\"\n iget-object v1, v5, Ljava/util/concurrent/ConcurrentHashMap;->table:[Ljava/util/concurrent/ConcurrentHashMap$Node;\n\n .local v1, \"t\":[Ljava/util/concurrent/ConcurrentHashMap$Node;, \"[Ljava/util/concurrent/ConcurrentHashMap$Node;\"\n if-nez v1, :cond_0\n\n move v2, v3\n\n .line 2983\n .local v2, \"f\":I\n :goto_0\n new-instance v0, Ljava/util/concurrent/ConcurrentHashMap$EntryIterator;\n\n move v4, v2\n\n invoke-direct/range {v0 .. v5}, Ljava/util/concurrent/ConcurrentHashMap$EntryIterator;->([Ljava/util/concurrent/ConcurrentHashMap$Node;IIILjava/util/concurrent/ConcurrentHashMap;)V\n\n return-object v0\n\n .line 2982\n .end local v2 # \"f\":I\n :cond_0\n array-length v2, v1\n\n goto :goto_0\n.end method\n\n.method public remove(Ljava/lang/Object;)Z\n .locals 4\n .param p1, \"o\" # Ljava/lang/Object;\n\n .prologue\n .line 2970\n .local p0, \"this\":Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;, \"Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;\"\n instance-of v3, p1, Ljava/util/Map$Entry;\n\n if-eqz v3, :cond_0\n\n move-object v0, p1\n\n check-cast v0, Ljava/util/Map$Entry;\n\n .local v0, \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry<**>;\"\n invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;\n\n move-result-object v1\n\n .local v1, \"k\":Ljava/lang/Object;\n if-eqz v1, :cond_0\n\n invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;\n\n move-result-object v2\n\n .local v2, \"v\":Ljava/lang/Object;\n if-eqz v2, :cond_0\n\n iget-object v3, p0, Ljava/util/concurrent/ConcurrentHashMap$EntrySetView;->map:Ljava/util/concurrent/ConcurrentHashMap;\n\n invoke-virtual {v3, v1, v2}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;Ljava/lang/Object;)Z\n\n move-result v3\n\n if-eqz v3, :cond_0\n\n const/4 v3, 0x1\n\n .end local v0 # \"e\":Ljava/util/Map$Entry;, \"Ljava/util/Map$Entry<**>;\"\n .end local v1 # \"k\":Ljava/lang/Object;\n .end local v2 # \"v\":Ljava/lang/Object;\n :goto_0\n return v3\n\n :cond_0\n const/4 v3, 0x0\n\n goto :goto_0\n.end method\n"},"meta":{"kind":"string","value":"{'content_hash': 'ae1b2764766687de8c3e5dff6d54b095', 'timestamp': '', 'source': 'github', 'line_count': 434, 'max_line_length': 190, 'avg_line_length': 28.21889400921659, 'alnum_prop': 0.6670204948150568, 'repo_name': 'Liberations/Flyme5_devices_base_cm', 'id': '920d6d8d572d5b6a5f1c348f30fb01183a6b253a', 'size': '12247', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'vendor/aosp/core-libart.jar.out/smali/java/util/concurrent/ConcurrentHashMap$EntrySetView.smali', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'GLSL', 'bytes': '1500'}, {'name': 'HTML', 'bytes': '96769'}, {'name': 'Makefile', 'bytes': '11209'}, {'name': 'Python', 'bytes': '1195'}, {'name': 'Shell', 'bytes': '55270'}, {'name': 'Smali', 'bytes': '160321888'}]}"}}},{"rowIdx":849837,"cells":{"text":{"kind":"string","value":"\r\n/////////////////////////////\r\n/// IE DOM APIs\r\n/////////////////////////////\r\n\r\ninterface Algorithm {\r\n name?: string;\r\n}\r\n\r\ninterface AriaRequestEventInit extends EventInit {\r\n attributeName?: string;\r\n attributeValue?: string;\r\n}\r\n\r\ninterface ClipboardEventInit extends EventInit {\r\n data?: string;\r\n dataType?: string;\r\n}\r\n\r\ninterface CommandEventInit extends EventInit {\r\n commandName?: string;\r\n detail?: string;\r\n}\r\n\r\ninterface CompositionEventInit extends UIEventInit {\r\n data?: string;\r\n}\r\n\r\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\r\n arrayOfDomainStrings?: string[];\r\n}\r\n\r\ninterface CustomEventInit extends EventInit {\r\n detail?: any;\r\n}\r\n\r\ninterface DeviceAccelerationDict {\r\n x?: number;\r\n y?: number;\r\n z?: number;\r\n}\r\n\r\ninterface DeviceRotationRateDict {\r\n alpha?: number;\r\n beta?: number;\r\n gamma?: number;\r\n}\r\n\r\ninterface EventInit {\r\n bubbles?: boolean;\r\n cancelable?: boolean;\r\n}\r\n\r\ninterface ExceptionInformation {\r\n domain?: string;\r\n}\r\n\r\ninterface FocusEventInit extends UIEventInit {\r\n relatedTarget?: EventTarget;\r\n}\r\n\r\ninterface HashChangeEventInit extends EventInit {\r\n newURL?: string;\r\n oldURL?: string;\r\n}\r\n\r\ninterface KeyAlgorithm {\r\n name?: string;\r\n}\r\n\r\ninterface KeyboardEventInit extends SharedKeyboardAndMouseEventInit {\r\n key?: string;\r\n location?: number;\r\n repeat?: boolean;\r\n}\r\n\r\ninterface MouseEventInit extends SharedKeyboardAndMouseEventInit {\r\n screenX?: number;\r\n screenY?: number;\r\n clientX?: number;\r\n clientY?: number;\r\n button?: number;\r\n buttons?: number;\r\n relatedTarget?: EventTarget;\r\n}\r\n\r\ninterface MsZoomToOptions {\r\n contentX?: number;\r\n contentY?: number;\r\n viewportX?: string;\r\n viewportY?: string;\r\n scaleFactor?: number;\r\n animate?: string;\r\n}\r\n\r\ninterface MutationObserverInit {\r\n childList?: boolean;\r\n attributes?: boolean;\r\n characterData?: boolean;\r\n subtree?: boolean;\r\n attributeOldValue?: boolean;\r\n characterDataOldValue?: boolean;\r\n attributeFilter?: string[];\r\n}\r\n\r\ninterface ObjectURLOptions {\r\n oneTimeOnly?: boolean;\r\n}\r\n\r\ninterface PointerEventInit extends MouseEventInit {\r\n pointerId?: number;\r\n width?: number;\r\n height?: number;\r\n pressure?: number;\r\n tiltX?: number;\r\n tiltY?: number;\r\n pointerType?: string;\r\n isPrimary?: boolean;\r\n}\r\n\r\ninterface PositionOptions {\r\n enableHighAccuracy?: boolean;\r\n timeout?: number;\r\n maximumAge?: number;\r\n}\r\n\r\ninterface SharedKeyboardAndMouseEventInit extends UIEventInit {\r\n ctrlKey?: boolean;\r\n shiftKey?: boolean;\r\n altKey?: boolean;\r\n metaKey?: boolean;\r\n keyModifierStateAltGraph?: boolean;\r\n keyModifierStateCapsLock?: boolean;\r\n keyModifierStateFn?: boolean;\r\n keyModifierStateFnLock?: boolean;\r\n keyModifierStateHyper?: boolean;\r\n keyModifierStateNumLock?: boolean;\r\n keyModifierStateOS?: boolean;\r\n keyModifierStateScrollLock?: boolean;\r\n keyModifierStateSuper?: boolean;\r\n keyModifierStateSymbol?: boolean;\r\n keyModifierStateSymbolLock?: boolean;\r\n}\r\n\r\ninterface StoreExceptionsInformation extends ExceptionInformation {\r\n siteName?: string;\r\n explanationString?: string;\r\n detailURI?: string;\r\n}\r\n\r\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\r\n arrayOfDomainStrings?: string[];\r\n}\r\n\r\ninterface UIEventInit extends EventInit {\r\n view?: Window;\r\n detail?: number;\r\n}\r\n\r\ninterface WebGLContextAttributes {\r\n alpha?: boolean;\r\n depth?: boolean;\r\n stencil?: boolean;\r\n antialias?: boolean;\r\n premultipliedAlpha?: boolean;\r\n preserveDrawingBuffer?: boolean;\r\n}\r\n\r\ninterface WebGLContextEventInit extends EventInit {\r\n statusMessage?: string;\r\n}\r\n\r\ninterface WheelEventInit extends MouseEventInit {\r\n deltaX?: number;\r\n deltaY?: number;\r\n deltaZ?: number;\r\n deltaMode?: number;\r\n}\r\n\r\ninterface EventListener {\r\n (evt: Event): void;\r\n}\r\n\r\ninterface ANGLE_instanced_arrays {\r\n drawArraysInstancedANGLE(mode: number, first: number, count: number, primcount: number): void;\r\n drawElementsInstancedANGLE(mode: number, count: number, type: number, offset: number, primcount: number): void;\r\n vertexAttribDivisorANGLE(index: number, divisor: number): void;\r\n VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number;\r\n}\r\n\r\ndeclare var ANGLE_instanced_arrays: {\r\n prototype: ANGLE_instanced_arrays;\r\n new(): ANGLE_instanced_arrays;\r\n VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number;\r\n}\r\n\r\ninterface AnalyserNode extends AudioNode {\r\n fftSize: number;\r\n frequencyBinCount: number;\r\n maxDecibels: number;\r\n minDecibels: number;\r\n smoothingTimeConstant: number;\r\n getByteFrequencyData(array: Uint8Array): void;\r\n getByteTimeDomainData(array: Uint8Array): void;\r\n getFloatFrequencyData(array: any): void;\r\n getFloatTimeDomainData(array: any): void;\r\n}\r\n\r\ndeclare var AnalyserNode: {\r\n prototype: AnalyserNode;\r\n new(): AnalyserNode;\r\n}\r\n\r\ninterface AnimationEvent extends Event {\r\n animationName: string;\r\n elapsedTime: number;\r\n initAnimationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, animationNameArg: string, elapsedTimeArg: number): void;\r\n}\r\n\r\ndeclare var AnimationEvent: {\r\n prototype: AnimationEvent;\r\n new(): AnimationEvent;\r\n}\r\n\r\ninterface ApplicationCache extends EventTarget {\r\n oncached: (ev: Event) => any;\r\n onchecking: (ev: Event) => any;\r\n ondownloading: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onnoupdate: (ev: Event) => any;\r\n onobsolete: (ev: Event) => any;\r\n onprogress: (ev: ProgressEvent) => any;\r\n onupdateready: (ev: Event) => any;\r\n status: number;\r\n abort(): void;\r\n swapCache(): void;\r\n update(): void;\r\n CHECKING: number;\r\n DOWNLOADING: number;\r\n IDLE: number;\r\n OBSOLETE: number;\r\n UNCACHED: number;\r\n UPDATEREADY: number;\r\n addEventListener(type: \"cached\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"checking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"downloading\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"noupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"obsolete\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"updateready\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var ApplicationCache: {\r\n prototype: ApplicationCache;\r\n new(): ApplicationCache;\r\n CHECKING: number;\r\n DOWNLOADING: number;\r\n IDLE: number;\r\n OBSOLETE: number;\r\n UNCACHED: number;\r\n UPDATEREADY: number;\r\n}\r\n\r\ninterface AriaRequestEvent extends Event {\r\n attributeName: string;\r\n attributeValue: string;\r\n}\r\n\r\ndeclare var AriaRequestEvent: {\r\n prototype: AriaRequestEvent;\r\n new(type: string, eventInitDict?: AriaRequestEventInit): AriaRequestEvent;\r\n}\r\n\r\ninterface Attr extends Node {\r\n name: string;\r\n ownerElement: Element;\r\n specified: boolean;\r\n value: string;\r\n}\r\n\r\ndeclare var Attr: {\r\n prototype: Attr;\r\n new(): Attr;\r\n}\r\n\r\ninterface AudioBuffer {\r\n duration: number;\r\n length: number;\r\n numberOfChannels: number;\r\n sampleRate: number;\r\n getChannelData(channel: number): any;\r\n}\r\n\r\ndeclare var AudioBuffer: {\r\n prototype: AudioBuffer;\r\n new(): AudioBuffer;\r\n}\r\n\r\ninterface AudioBufferSourceNode extends AudioNode {\r\n buffer: AudioBuffer;\r\n loop: boolean;\r\n loopEnd: number;\r\n loopStart: number;\r\n onended: (ev: Event) => any;\r\n playbackRate: AudioParam;\r\n start(when?: number, offset?: number, duration?: number): void;\r\n stop(when?: number): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var AudioBufferSourceNode: {\r\n prototype: AudioBufferSourceNode;\r\n new(): AudioBufferSourceNode;\r\n}\r\n\r\ninterface AudioContext extends EventTarget {\r\n currentTime: number;\r\n destination: AudioDestinationNode;\r\n listener: AudioListener;\r\n sampleRate: number;\r\n createAnalyser(): AnalyserNode;\r\n createBiquadFilter(): BiquadFilterNode;\r\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\r\n createBufferSource(): AudioBufferSourceNode;\r\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\r\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\r\n createConvolver(): ConvolverNode;\r\n createDelay(maxDelayTime?: number): DelayNode;\r\n createDynamicsCompressor(): DynamicsCompressorNode;\r\n createGain(): GainNode;\r\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\r\n createOscillator(): OscillatorNode;\r\n createPanner(): PannerNode;\r\n createPeriodicWave(real: any, imag: any): PeriodicWave;\r\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\r\n createStereoPanner(): StereoPannerNode;\r\n createWaveShaper(): WaveShaperNode;\r\n decodeAudioData(audioData: ArrayBuffer, successCallback: DecodeSuccessCallback, errorCallback?: DecodeErrorCallback): void;\r\n}\r\n\r\ndeclare var AudioContext: {\r\n prototype: AudioContext;\r\n new(): AudioContext;\r\n}\r\n\r\ninterface AudioDestinationNode extends AudioNode {\r\n maxChannelCount: number;\r\n}\r\n\r\ndeclare var AudioDestinationNode: {\r\n prototype: AudioDestinationNode;\r\n new(): AudioDestinationNode;\r\n}\r\n\r\ninterface AudioListener {\r\n dopplerFactor: number;\r\n speedOfSound: number;\r\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\r\n setPosition(x: number, y: number, z: number): void;\r\n setVelocity(x: number, y: number, z: number): void;\r\n}\r\n\r\ndeclare var AudioListener: {\r\n prototype: AudioListener;\r\n new(): AudioListener;\r\n}\r\n\r\ninterface AudioNode extends EventTarget {\r\n channelCount: number;\r\n channelCountMode: string;\r\n channelInterpretation: string;\r\n context: AudioContext;\r\n numberOfInputs: number;\r\n numberOfOutputs: number;\r\n connect(destination: AudioNode, output?: number, input?: number): void;\r\n disconnect(output?: number): void;\r\n}\r\n\r\ndeclare var AudioNode: {\r\n prototype: AudioNode;\r\n new(): AudioNode;\r\n}\r\n\r\ninterface AudioParam {\r\n defaultValue: number;\r\n value: number;\r\n cancelScheduledValues(startTime: number): void;\r\n exponentialRampToValueAtTime(value: number, endTime: number): void;\r\n linearRampToValueAtTime(value: number, endTime: number): void;\r\n setTargetAtTime(target: number, startTime: number, timeConstant: number): void;\r\n setValueAtTime(value: number, startTime: number): void;\r\n setValueCurveAtTime(values: any, startTime: number, duration: number): void;\r\n}\r\n\r\ndeclare var AudioParam: {\r\n prototype: AudioParam;\r\n new(): AudioParam;\r\n}\r\n\r\ninterface AudioProcessingEvent extends Event {\r\n inputBuffer: AudioBuffer;\r\n outputBuffer: AudioBuffer;\r\n playbackTime: number;\r\n}\r\n\r\ndeclare var AudioProcessingEvent: {\r\n prototype: AudioProcessingEvent;\r\n new(): AudioProcessingEvent;\r\n}\r\n\r\ninterface AudioTrack {\r\n enabled: boolean;\r\n id: string;\r\n kind: string;\r\n label: string;\r\n language: string;\r\n sourceBuffer: SourceBuffer;\r\n}\r\n\r\ndeclare var AudioTrack: {\r\n prototype: AudioTrack;\r\n new(): AudioTrack;\r\n}\r\n\r\ninterface AudioTrackList extends EventTarget {\r\n length: number;\r\n onaddtrack: (ev: TrackEvent) => any;\r\n onchange: (ev: Event) => any;\r\n onremovetrack: (ev: TrackEvent) => any;\r\n getTrackById(id: string): AudioTrack;\r\n item(index: number): AudioTrack;\r\n addEventListener(type: \"addtrack\", listener: (ev: TrackEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"removetrack\", listener: (ev: TrackEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n [index: number]: AudioTrack;\r\n}\r\n\r\ndeclare var AudioTrackList: {\r\n prototype: AudioTrackList;\r\n new(): AudioTrackList;\r\n}\r\n\r\ninterface BarProp {\r\n visible: boolean;\r\n}\r\n\r\ndeclare var BarProp: {\r\n prototype: BarProp;\r\n new(): BarProp;\r\n}\r\n\r\ninterface BeforeUnloadEvent extends Event {\r\n returnValue: any;\r\n}\r\n\r\ndeclare var BeforeUnloadEvent: {\r\n prototype: BeforeUnloadEvent;\r\n new(): BeforeUnloadEvent;\r\n}\r\n\r\ninterface BiquadFilterNode extends AudioNode {\r\n Q: AudioParam;\r\n detune: AudioParam;\r\n frequency: AudioParam;\r\n gain: AudioParam;\r\n type: string;\r\n getFrequencyResponse(frequencyHz: any, magResponse: any, phaseResponse: any): void;\r\n}\r\n\r\ndeclare var BiquadFilterNode: {\r\n prototype: BiquadFilterNode;\r\n new(): BiquadFilterNode;\r\n}\r\n\r\ninterface Blob {\r\n size: number;\r\n type: string;\r\n msClose(): void;\r\n msDetachStream(): any;\r\n slice(start?: number, end?: number, contentType?: string): Blob;\r\n}\r\n\r\ndeclare var Blob: {\r\n prototype: Blob;\r\n new (blobParts?: any[], options?: BlobPropertyBag): Blob;\r\n}\r\n\r\ninterface CDATASection extends Text {\r\n}\r\n\r\ndeclare var CDATASection: {\r\n prototype: CDATASection;\r\n new(): CDATASection;\r\n}\r\n\r\ninterface CSS {\r\n supports(property: string, value?: string): boolean;\r\n}\r\ndeclare var CSS: CSS;\r\n\r\ninterface CSSConditionRule extends CSSGroupingRule {\r\n conditionText: string;\r\n}\r\n\r\ndeclare var CSSConditionRule: {\r\n prototype: CSSConditionRule;\r\n new(): CSSConditionRule;\r\n}\r\n\r\ninterface CSSFontFaceRule extends CSSRule {\r\n style: CSSStyleDeclaration;\r\n}\r\n\r\ndeclare var CSSFontFaceRule: {\r\n prototype: CSSFontFaceRule;\r\n new(): CSSFontFaceRule;\r\n}\r\n\r\ninterface CSSGroupingRule extends CSSRule {\r\n cssRules: CSSRuleList;\r\n deleteRule(index?: number): void;\r\n insertRule(rule: string, index?: number): number;\r\n}\r\n\r\ndeclare var CSSGroupingRule: {\r\n prototype: CSSGroupingRule;\r\n new(): CSSGroupingRule;\r\n}\r\n\r\ninterface CSSImportRule extends CSSRule {\r\n href: string;\r\n media: MediaList;\r\n styleSheet: CSSStyleSheet;\r\n}\r\n\r\ndeclare var CSSImportRule: {\r\n prototype: CSSImportRule;\r\n new(): CSSImportRule;\r\n}\r\n\r\ninterface CSSKeyframeRule extends CSSRule {\r\n keyText: string;\r\n style: CSSStyleDeclaration;\r\n}\r\n\r\ndeclare var CSSKeyframeRule: {\r\n prototype: CSSKeyframeRule;\r\n new(): CSSKeyframeRule;\r\n}\r\n\r\ninterface CSSKeyframesRule extends CSSRule {\r\n cssRules: CSSRuleList;\r\n name: string;\r\n appendRule(rule: string): void;\r\n deleteRule(rule: string): void;\r\n findRule(rule: string): CSSKeyframeRule;\r\n}\r\n\r\ndeclare var CSSKeyframesRule: {\r\n prototype: CSSKeyframesRule;\r\n new(): CSSKeyframesRule;\r\n}\r\n\r\ninterface CSSMediaRule extends CSSConditionRule {\r\n media: MediaList;\r\n}\r\n\r\ndeclare var CSSMediaRule: {\r\n prototype: CSSMediaRule;\r\n new(): CSSMediaRule;\r\n}\r\n\r\ninterface CSSNamespaceRule extends CSSRule {\r\n namespaceURI: string;\r\n prefix: string;\r\n}\r\n\r\ndeclare var CSSNamespaceRule: {\r\n prototype: CSSNamespaceRule;\r\n new(): CSSNamespaceRule;\r\n}\r\n\r\ninterface CSSPageRule extends CSSRule {\r\n pseudoClass: string;\r\n selector: string;\r\n selectorText: string;\r\n style: CSSStyleDeclaration;\r\n}\r\n\r\ndeclare var CSSPageRule: {\r\n prototype: CSSPageRule;\r\n new(): CSSPageRule;\r\n}\r\n\r\ninterface CSSRule {\r\n cssText: string;\r\n parentRule: CSSRule;\r\n parentStyleSheet: CSSStyleSheet;\r\n type: number;\r\n CHARSET_RULE: number;\r\n FONT_FACE_RULE: number;\r\n IMPORT_RULE: number;\r\n KEYFRAMES_RULE: number;\r\n KEYFRAME_RULE: number;\r\n MEDIA_RULE: number;\r\n NAMESPACE_RULE: number;\r\n PAGE_RULE: number;\r\n STYLE_RULE: number;\r\n SUPPORTS_RULE: number;\r\n UNKNOWN_RULE: number;\r\n VIEWPORT_RULE: number;\r\n}\r\n\r\ndeclare var CSSRule: {\r\n prototype: CSSRule;\r\n new(): CSSRule;\r\n CHARSET_RULE: number;\r\n FONT_FACE_RULE: number;\r\n IMPORT_RULE: number;\r\n KEYFRAMES_RULE: number;\r\n KEYFRAME_RULE: number;\r\n MEDIA_RULE: number;\r\n NAMESPACE_RULE: number;\r\n PAGE_RULE: number;\r\n STYLE_RULE: number;\r\n SUPPORTS_RULE: number;\r\n UNKNOWN_RULE: number;\r\n VIEWPORT_RULE: number;\r\n}\r\n\r\ninterface CSSRuleList {\r\n length: number;\r\n item(index: number): CSSRule;\r\n [index: number]: CSSRule;\r\n}\r\n\r\ndeclare var CSSRuleList: {\r\n prototype: CSSRuleList;\r\n new(): CSSRuleList;\r\n}\r\n\r\ninterface CSSStyleDeclaration {\r\n alignContent: string;\r\n alignItems: string;\r\n alignSelf: string;\r\n alignmentBaseline: string;\r\n animation: string;\r\n animationDelay: string;\r\n animationDirection: string;\r\n animationDuration: string;\r\n animationFillMode: string;\r\n animationIterationCount: string;\r\n animationName: string;\r\n animationPlayState: string;\r\n animationTimingFunction: string;\r\n backfaceVisibility: string;\r\n background: string;\r\n backgroundAttachment: string;\r\n backgroundClip: string;\r\n backgroundColor: string;\r\n backgroundImage: string;\r\n backgroundOrigin: string;\r\n backgroundPosition: string;\r\n backgroundPositionX: string;\r\n backgroundPositionY: string;\r\n backgroundRepeat: string;\r\n backgroundSize: string;\r\n baselineShift: string;\r\n border: string;\r\n borderBottom: string;\r\n borderBottomColor: string;\r\n borderBottomLeftRadius: string;\r\n borderBottomRightRadius: string;\r\n borderBottomStyle: string;\r\n borderBottomWidth: string;\r\n borderCollapse: string;\r\n borderColor: string;\r\n borderImage: string;\r\n borderImageOutset: string;\r\n borderImageRepeat: string;\r\n borderImageSlice: string;\r\n borderImageSource: string;\r\n borderImageWidth: string;\r\n borderLeft: string;\r\n borderLeftColor: string;\r\n borderLeftStyle: string;\r\n borderLeftWidth: string;\r\n borderRadius: string;\r\n borderRight: string;\r\n borderRightColor: string;\r\n borderRightStyle: string;\r\n borderRightWidth: string;\r\n borderSpacing: string;\r\n borderStyle: string;\r\n borderTop: string;\r\n borderTopColor: string;\r\n borderTopLeftRadius: string;\r\n borderTopRightRadius: string;\r\n borderTopStyle: string;\r\n borderTopWidth: string;\r\n borderWidth: string;\r\n bottom: string;\r\n boxShadow: string;\r\n boxSizing: string;\r\n breakAfter: string;\r\n breakBefore: string;\r\n breakInside: string;\r\n captionSide: string;\r\n clear: string;\r\n clip: string;\r\n clipPath: string;\r\n clipRule: string;\r\n color: string;\r\n colorInterpolationFilters: string;\r\n columnCount: any;\r\n columnFill: string;\r\n columnGap: any;\r\n columnRule: string;\r\n columnRuleColor: any;\r\n columnRuleStyle: string;\r\n columnRuleWidth: any;\r\n columnSpan: string;\r\n columnWidth: any;\r\n columns: string;\r\n content: string;\r\n counterIncrement: string;\r\n counterReset: string;\r\n cssFloat: string;\r\n cssText: string;\r\n cursor: string;\r\n direction: string;\r\n display: string;\r\n dominantBaseline: string;\r\n emptyCells: string;\r\n enableBackground: string;\r\n fill: string;\r\n fillOpacity: string;\r\n fillRule: string;\r\n filter: string;\r\n flex: string;\r\n flexBasis: string;\r\n flexDirection: string;\r\n flexFlow: string;\r\n flexGrow: string;\r\n flexShrink: string;\r\n flexWrap: string;\r\n floodColor: string;\r\n floodOpacity: string;\r\n font: string;\r\n fontFamily: string;\r\n fontFeatureSettings: string;\r\n fontSize: string;\r\n fontSizeAdjust: string;\r\n fontStretch: string;\r\n fontStyle: string;\r\n fontVariant: string;\r\n fontWeight: string;\r\n glyphOrientationHorizontal: string;\r\n glyphOrientationVertical: string;\r\n height: string;\r\n imeMode: string;\r\n justifyContent: string;\r\n kerning: string;\r\n left: string;\r\n length: number;\r\n letterSpacing: string;\r\n lightingColor: string;\r\n lineHeight: string;\r\n listStyle: string;\r\n listStyleImage: string;\r\n listStylePosition: string;\r\n listStyleType: string;\r\n margin: string;\r\n marginBottom: string;\r\n marginLeft: string;\r\n marginRight: string;\r\n marginTop: string;\r\n marker: string;\r\n markerEnd: string;\r\n markerMid: string;\r\n markerStart: string;\r\n mask: string;\r\n maxHeight: string;\r\n maxWidth: string;\r\n minHeight: string;\r\n minWidth: string;\r\n msContentZoomChaining: string;\r\n msContentZoomLimit: string;\r\n msContentZoomLimitMax: any;\r\n msContentZoomLimitMin: any;\r\n msContentZoomSnap: string;\r\n msContentZoomSnapPoints: string;\r\n msContentZoomSnapType: string;\r\n msContentZooming: string;\r\n msFlowFrom: string;\r\n msFlowInto: string;\r\n msFontFeatureSettings: string;\r\n msGridColumn: any;\r\n msGridColumnAlign: string;\r\n msGridColumnSpan: any;\r\n msGridColumns: string;\r\n msGridRow: any;\r\n msGridRowAlign: string;\r\n msGridRowSpan: any;\r\n msGridRows: string;\r\n msHighContrastAdjust: string;\r\n msHyphenateLimitChars: string;\r\n msHyphenateLimitLines: any;\r\n msHyphenateLimitZone: any;\r\n msHyphens: string;\r\n msImeAlign: string;\r\n msOverflowStyle: string;\r\n msScrollChaining: string;\r\n msScrollLimit: string;\r\n msScrollLimitXMax: any;\r\n msScrollLimitXMin: any;\r\n msScrollLimitYMax: any;\r\n msScrollLimitYMin: any;\r\n msScrollRails: string;\r\n msScrollSnapPointsX: string;\r\n msScrollSnapPointsY: string;\r\n msScrollSnapType: string;\r\n msScrollSnapX: string;\r\n msScrollSnapY: string;\r\n msScrollTranslation: string;\r\n msTextCombineHorizontal: string;\r\n msTextSizeAdjust: any;\r\n msTouchAction: string;\r\n msTouchSelect: string;\r\n msUserSelect: string;\r\n msWrapFlow: string;\r\n msWrapMargin: any;\r\n msWrapThrough: string;\r\n opacity: string;\r\n order: string;\r\n orphans: string;\r\n outline: string;\r\n outlineColor: string;\r\n outlineStyle: string;\r\n outlineWidth: string;\r\n overflow: string;\r\n overflowX: string;\r\n overflowY: string;\r\n padding: string;\r\n paddingBottom: string;\r\n paddingLeft: string;\r\n paddingRight: string;\r\n paddingTop: string;\r\n pageBreakAfter: string;\r\n pageBreakBefore: string;\r\n pageBreakInside: string;\r\n parentRule: CSSRule;\r\n perspective: string;\r\n perspectiveOrigin: string;\r\n pointerEvents: string;\r\n position: string;\r\n quotes: string;\r\n right: string;\r\n rubyAlign: string;\r\n rubyOverhang: string;\r\n rubyPosition: string;\r\n stopColor: string;\r\n stopOpacity: string;\r\n stroke: string;\r\n strokeDasharray: string;\r\n strokeDashoffset: string;\r\n strokeLinecap: string;\r\n strokeLinejoin: string;\r\n strokeMiterlimit: string;\r\n strokeOpacity: string;\r\n strokeWidth: string;\r\n tableLayout: string;\r\n textAlign: string;\r\n textAlignLast: string;\r\n textAnchor: string;\r\n textDecoration: string;\r\n textFillColor: string;\r\n textIndent: string;\r\n textJustify: string;\r\n textKashida: string;\r\n textKashidaSpace: string;\r\n textOverflow: string;\r\n textShadow: string;\r\n textTransform: string;\r\n textUnderlinePosition: string;\r\n top: string;\r\n touchAction: string;\r\n transform: string;\r\n transformOrigin: string;\r\n transformStyle: string;\r\n transition: string;\r\n transitionDelay: string;\r\n transitionDuration: string;\r\n transitionProperty: string;\r\n transitionTimingFunction: string;\r\n unicodeBidi: string;\r\n verticalAlign: string;\r\n visibility: string;\r\n webkitAlignContent: string;\r\n webkitAlignItems: string;\r\n webkitAlignSelf: string;\r\n webkitAnimation: string;\r\n webkitAnimationDelay: string;\r\n webkitAnimationDirection: string;\r\n webkitAnimationDuration: string;\r\n webkitAnimationFillMode: string;\r\n webkitAnimationIterationCount: string;\r\n webkitAnimationName: string;\r\n webkitAnimationPlayState: string;\r\n webkitAnimationTimingFunction: string;\r\n webkitAppearance: string;\r\n webkitBackfaceVisibility: string;\r\n webkitBackground: string;\r\n webkitBackgroundAttachment: string;\r\n webkitBackgroundClip: string;\r\n webkitBackgroundColor: string;\r\n webkitBackgroundImage: string;\r\n webkitBackgroundOrigin: string;\r\n webkitBackgroundPosition: string;\r\n webkitBackgroundPositionX: string;\r\n webkitBackgroundPositionY: string;\r\n webkitBackgroundRepeat: string;\r\n webkitBackgroundSize: string;\r\n webkitBorderBottomLeftRadius: string;\r\n webkitBorderBottomRightRadius: string;\r\n webkitBorderImage: string;\r\n webkitBorderImageOutset: string;\r\n webkitBorderImageRepeat: string;\r\n webkitBorderImageSlice: string;\r\n webkitBorderImageSource: string;\r\n webkitBorderImageWidth: string;\r\n webkitBorderRadius: string;\r\n webkitBorderTopLeftRadius: string;\r\n webkitBorderTopRightRadius: string;\r\n webkitBoxAlign: string;\r\n webkitBoxDirection: string;\r\n webkitBoxFlex: string;\r\n webkitBoxOrdinalGroup: string;\r\n webkitBoxOrient: string;\r\n webkitBoxPack: string;\r\n webkitBoxSizing: string;\r\n webkitColumnBreakAfter: string;\r\n webkitColumnBreakBefore: string;\r\n webkitColumnBreakInside: string;\r\n webkitColumnCount: any;\r\n webkitColumnGap: any;\r\n webkitColumnRule: string;\r\n webkitColumnRuleColor: any;\r\n webkitColumnRuleStyle: string;\r\n webkitColumnRuleWidth: any;\r\n webkitColumnSpan: string;\r\n webkitColumnWidth: any;\r\n webkitColumns: string;\r\n webkitFilter: string;\r\n webkitFlex: string;\r\n webkitFlexBasis: string;\r\n webkitFlexDirection: string;\r\n webkitFlexFlow: string;\r\n webkitFlexGrow: string;\r\n webkitFlexShrink: string;\r\n webkitFlexWrap: string;\r\n webkitJustifyContent: string;\r\n webkitOrder: string;\r\n webkitPerspective: string;\r\n webkitPerspectiveOrigin: string;\r\n webkitTapHighlightColor: string;\r\n webkitTextFillColor: string;\r\n webkitTextSizeAdjust: any;\r\n webkitTransform: string;\r\n webkitTransformOrigin: string;\r\n webkitTransformStyle: string;\r\n webkitTransition: string;\r\n webkitTransitionDelay: string;\r\n webkitTransitionDuration: string;\r\n webkitTransitionProperty: string;\r\n webkitTransitionTimingFunction: string;\r\n webkitUserSelect: string;\r\n webkitWritingMode: string;\r\n whiteSpace: string;\r\n widows: string;\r\n width: string;\r\n wordBreak: string;\r\n wordSpacing: string;\r\n wordWrap: string;\r\n writingMode: string;\r\n zIndex: string;\r\n zoom: string;\r\n getPropertyPriority(propertyName: string): string;\r\n getPropertyValue(propertyName: string): string;\r\n item(index: number): string;\r\n removeProperty(propertyName: string): string;\r\n setProperty(propertyName: string, value: string, priority?: string): void;\r\n [index: number]: string;\r\n}\r\n\r\ndeclare var CSSStyleDeclaration: {\r\n prototype: CSSStyleDeclaration;\r\n new(): CSSStyleDeclaration;\r\n}\r\n\r\ninterface CSSStyleRule extends CSSRule {\r\n readOnly: boolean;\r\n selectorText: string;\r\n style: CSSStyleDeclaration;\r\n}\r\n\r\ndeclare var CSSStyleRule: {\r\n prototype: CSSStyleRule;\r\n new(): CSSStyleRule;\r\n}\r\n\r\ninterface CSSStyleSheet extends StyleSheet {\r\n cssRules: CSSRuleList;\r\n cssText: string;\r\n href: string;\r\n id: string;\r\n imports: StyleSheetList;\r\n isAlternate: boolean;\r\n isPrefAlternate: boolean;\r\n ownerRule: CSSRule;\r\n owningElement: Element;\r\n pages: StyleSheetPageList;\r\n readOnly: boolean;\r\n rules: CSSRuleList;\r\n addImport(bstrURL: string, lIndex?: number): number;\r\n addPageRule(bstrSelector: string, bstrStyle: string, lIndex?: number): number;\r\n addRule(bstrSelector: string, bstrStyle?: string, lIndex?: number): number;\r\n deleteRule(index?: number): void;\r\n insertRule(rule: string, index?: number): number;\r\n removeImport(lIndex: number): void;\r\n removeRule(lIndex: number): void;\r\n}\r\n\r\ndeclare var CSSStyleSheet: {\r\n prototype: CSSStyleSheet;\r\n new(): CSSStyleSheet;\r\n}\r\n\r\ninterface CSSSupportsRule extends CSSConditionRule {\r\n}\r\n\r\ndeclare var CSSSupportsRule: {\r\n prototype: CSSSupportsRule;\r\n new(): CSSSupportsRule;\r\n}\r\n\r\ninterface CanvasGradient {\r\n addColorStop(offset: number, color: string): void;\r\n}\r\n\r\ndeclare var CanvasGradient: {\r\n prototype: CanvasGradient;\r\n new(): CanvasGradient;\r\n}\r\n\r\ninterface CanvasPattern {\r\n}\r\n\r\ndeclare var CanvasPattern: {\r\n prototype: CanvasPattern;\r\n new(): CanvasPattern;\r\n}\r\n\r\ninterface CanvasRenderingContext2D {\r\n canvas: HTMLCanvasElement;\r\n fillStyle: any;\r\n font: string;\r\n globalAlpha: number;\r\n globalCompositeOperation: string;\r\n lineCap: string;\r\n lineDashOffset: number;\r\n lineJoin: string;\r\n lineWidth: number;\r\n miterLimit: number;\r\n msFillRule: string;\r\n msImageSmoothingEnabled: boolean;\r\n shadowBlur: number;\r\n shadowColor: string;\r\n shadowOffsetX: number;\r\n shadowOffsetY: number;\r\n strokeStyle: any;\r\n textAlign: string;\r\n textBaseline: string;\r\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;\r\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\r\n beginPath(): void;\r\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\r\n clearRect(x: number, y: number, w: number, h: number): void;\r\n clip(fillRule?: string): void;\r\n closePath(): void;\r\n createImageData(imageDataOrSw: number | ImageData, sh?: number): ImageData;\r\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\r\n createPattern(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, repetition: string): CanvasPattern;\r\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\r\n drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, offsetX: number, offsetY: number, width?: number, height?: number, canvasOffsetX?: number, canvasOffsetY?: number, canvasImageWidth?: number, canvasImageHeight?: number): void;\r\n fill(fillRule?: string): void;\r\n fillRect(x: number, y: number, w: number, h: number): void;\r\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\r\n getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;\r\n getLineDash(): number[];\r\n isPointInPath(x: number, y: number, fillRule?: string): boolean;\r\n lineTo(x: number, y: number): void;\r\n measureText(text: string): TextMetrics;\r\n moveTo(x: number, y: number): void;\r\n putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX?: number, dirtyY?: number, dirtyWidth?: number, dirtyHeight?: number): void;\r\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\r\n rect(x: number, y: number, w: number, h: number): void;\r\n restore(): void;\r\n rotate(angle: number): void;\r\n save(): void;\r\n scale(x: number, y: number): void;\r\n setLineDash(segments: number[]): void;\r\n setTransform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void;\r\n stroke(): void;\r\n strokeRect(x: number, y: number, w: number, h: number): void;\r\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\r\n transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void;\r\n translate(x: number, y: number): void;\r\n}\r\n\r\ndeclare var CanvasRenderingContext2D: {\r\n prototype: CanvasRenderingContext2D;\r\n new(): CanvasRenderingContext2D;\r\n}\r\n\r\ninterface ChannelMergerNode extends AudioNode {\r\n}\r\n\r\ndeclare var ChannelMergerNode: {\r\n prototype: ChannelMergerNode;\r\n new(): ChannelMergerNode;\r\n}\r\n\r\ninterface ChannelSplitterNode extends AudioNode {\r\n}\r\n\r\ndeclare var ChannelSplitterNode: {\r\n prototype: ChannelSplitterNode;\r\n new(): ChannelSplitterNode;\r\n}\r\n\r\ninterface CharacterData extends Node, ChildNode {\r\n data: string;\r\n length: number;\r\n appendData(arg: string): void;\r\n deleteData(offset: number, count: number): void;\r\n insertData(offset: number, arg: string): void;\r\n replaceData(offset: number, count: number, arg: string): void;\r\n substringData(offset: number, count: number): string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var CharacterData: {\r\n prototype: CharacterData;\r\n new(): CharacterData;\r\n}\r\n\r\ninterface ClientRect {\r\n bottom: number;\r\n height: number;\r\n left: number;\r\n right: number;\r\n top: number;\r\n width: number;\r\n}\r\n\r\ndeclare var ClientRect: {\r\n prototype: ClientRect;\r\n new(): ClientRect;\r\n}\r\n\r\ninterface ClientRectList {\r\n length: number;\r\n item(index: number): ClientRect;\r\n [index: number]: ClientRect;\r\n}\r\n\r\ndeclare var ClientRectList: {\r\n prototype: ClientRectList;\r\n new(): ClientRectList;\r\n}\r\n\r\ninterface ClipboardEvent extends Event {\r\n clipboardData: DataTransfer;\r\n}\r\n\r\ndeclare var ClipboardEvent: {\r\n prototype: ClipboardEvent;\r\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\r\n}\r\n\r\ninterface CloseEvent extends Event {\r\n code: number;\r\n reason: string;\r\n wasClean: boolean;\r\n initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void;\r\n}\r\n\r\ndeclare var CloseEvent: {\r\n prototype: CloseEvent;\r\n new(): CloseEvent;\r\n}\r\n\r\ninterface CommandEvent extends Event {\r\n commandName: string;\r\n detail: string;\r\n}\r\n\r\ndeclare var CommandEvent: {\r\n prototype: CommandEvent;\r\n new(type: string, eventInitDict?: CommandEventInit): CommandEvent;\r\n}\r\n\r\ninterface Comment extends CharacterData {\r\n text: string;\r\n}\r\n\r\ndeclare var Comment: {\r\n prototype: Comment;\r\n new(): Comment;\r\n}\r\n\r\ninterface CompositionEvent extends UIEvent {\r\n data: string;\r\n locale: string;\r\n initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void;\r\n}\r\n\r\ndeclare var CompositionEvent: {\r\n prototype: CompositionEvent;\r\n new(typeArg: string, eventInitDict?: CompositionEventInit): CompositionEvent;\r\n}\r\n\r\ninterface Console {\r\n assert(test?: boolean, message?: string, ...optionalParams: any[]): void;\r\n clear(): void;\r\n count(countTitle?: string): void;\r\n debug(message?: string, ...optionalParams: any[]): void;\r\n dir(value?: any, ...optionalParams: any[]): void;\r\n dirxml(value: any): void;\r\n error(message?: any, ...optionalParams: any[]): void;\r\n group(groupTitle?: string): void;\r\n groupCollapsed(groupTitle?: string): void;\r\n groupEnd(): void;\r\n info(message?: any, ...optionalParams: any[]): void;\r\n log(message?: any, ...optionalParams: any[]): void;\r\n msIsIndependentlyComposed(element: Element): boolean;\r\n profile(reportName?: string): void;\r\n profileEnd(): void;\r\n select(element: Element): void;\r\n time(timerName?: string): void;\r\n timeEnd(timerName?: string): void;\r\n trace(): void;\r\n warn(message?: any, ...optionalParams: any[]): void;\r\n}\r\n\r\ndeclare var Console: {\r\n prototype: Console;\r\n new(): Console;\r\n}\r\n\r\ninterface ConvolverNode extends AudioNode {\r\n buffer: AudioBuffer;\r\n normalize: boolean;\r\n}\r\n\r\ndeclare var ConvolverNode: {\r\n prototype: ConvolverNode;\r\n new(): ConvolverNode;\r\n}\r\n\r\ninterface Coordinates {\r\n accuracy: number;\r\n altitude: number;\r\n altitudeAccuracy: number;\r\n heading: number;\r\n latitude: number;\r\n longitude: number;\r\n speed: number;\r\n}\r\n\r\ndeclare var Coordinates: {\r\n prototype: Coordinates;\r\n new(): Coordinates;\r\n}\r\n\r\ninterface Crypto extends Object, RandomSource {\r\n subtle: SubtleCrypto;\r\n}\r\n\r\ndeclare var Crypto: {\r\n prototype: Crypto;\r\n new(): Crypto;\r\n}\r\n\r\ninterface CryptoKey {\r\n algorithm: KeyAlgorithm;\r\n extractable: boolean;\r\n type: string;\r\n usages: string[];\r\n}\r\n\r\ndeclare var CryptoKey: {\r\n prototype: CryptoKey;\r\n new(): CryptoKey;\r\n}\r\n\r\ninterface CryptoKeyPair {\r\n privateKey: CryptoKey;\r\n publicKey: CryptoKey;\r\n}\r\n\r\ndeclare var CryptoKeyPair: {\r\n prototype: CryptoKeyPair;\r\n new(): CryptoKeyPair;\r\n}\r\n\r\ninterface CustomEvent extends Event {\r\n detail: any;\r\n initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: any): void;\r\n}\r\n\r\ndeclare var CustomEvent: {\r\n prototype: CustomEvent;\r\n new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent;\r\n}\r\n\r\ninterface DOMError {\r\n name: string;\r\n toString(): string;\r\n}\r\n\r\ndeclare var DOMError: {\r\n prototype: DOMError;\r\n new(): DOMError;\r\n}\r\n\r\ninterface DOMException {\r\n code: number;\r\n message: string;\r\n name: string;\r\n toString(): string;\r\n ABORT_ERR: number;\r\n DATA_CLONE_ERR: number;\r\n DOMSTRING_SIZE_ERR: number;\r\n HIERARCHY_REQUEST_ERR: number;\r\n INDEX_SIZE_ERR: number;\r\n INUSE_ATTRIBUTE_ERR: number;\r\n INVALID_ACCESS_ERR: number;\r\n INVALID_CHARACTER_ERR: number;\r\n INVALID_MODIFICATION_ERR: number;\r\n INVALID_NODE_TYPE_ERR: number;\r\n INVALID_STATE_ERR: number;\r\n NAMESPACE_ERR: number;\r\n NETWORK_ERR: number;\r\n NOT_FOUND_ERR: number;\r\n NOT_SUPPORTED_ERR: number;\r\n NO_DATA_ALLOWED_ERR: number;\r\n NO_MODIFICATION_ALLOWED_ERR: number;\r\n PARSE_ERR: number;\r\n QUOTA_EXCEEDED_ERR: number;\r\n SECURITY_ERR: number;\r\n SERIALIZE_ERR: number;\r\n SYNTAX_ERR: number;\r\n TIMEOUT_ERR: number;\r\n TYPE_MISMATCH_ERR: number;\r\n URL_MISMATCH_ERR: number;\r\n VALIDATION_ERR: number;\r\n WRONG_DOCUMENT_ERR: number;\r\n}\r\n\r\ndeclare var DOMException: {\r\n prototype: DOMException;\r\n new(): DOMException;\r\n ABORT_ERR: number;\r\n DATA_CLONE_ERR: number;\r\n DOMSTRING_SIZE_ERR: number;\r\n HIERARCHY_REQUEST_ERR: number;\r\n INDEX_SIZE_ERR: number;\r\n INUSE_ATTRIBUTE_ERR: number;\r\n INVALID_ACCESS_ERR: number;\r\n INVALID_CHARACTER_ERR: number;\r\n INVALID_MODIFICATION_ERR: number;\r\n INVALID_NODE_TYPE_ERR: number;\r\n INVALID_STATE_ERR: number;\r\n NAMESPACE_ERR: number;\r\n NETWORK_ERR: number;\r\n NOT_FOUND_ERR: number;\r\n NOT_SUPPORTED_ERR: number;\r\n NO_DATA_ALLOWED_ERR: number;\r\n NO_MODIFICATION_ALLOWED_ERR: number;\r\n PARSE_ERR: number;\r\n QUOTA_EXCEEDED_ERR: number;\r\n SECURITY_ERR: number;\r\n SERIALIZE_ERR: number;\r\n SYNTAX_ERR: number;\r\n TIMEOUT_ERR: number;\r\n TYPE_MISMATCH_ERR: number;\r\n URL_MISMATCH_ERR: number;\r\n VALIDATION_ERR: number;\r\n WRONG_DOCUMENT_ERR: number;\r\n}\r\n\r\ninterface DOMImplementation {\r\n createDocument(namespaceURI: string, qualifiedName: string, doctype: DocumentType): Document;\r\n createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;\r\n createHTMLDocument(title: string): Document;\r\n hasFeature(feature: string, version: string): boolean;\r\n}\r\n\r\ndeclare var DOMImplementation: {\r\n prototype: DOMImplementation;\r\n new(): DOMImplementation;\r\n}\r\n\r\ninterface DOMParser {\r\n parseFromString(source: string, mimeType: string): Document;\r\n}\r\n\r\ndeclare var DOMParser: {\r\n prototype: DOMParser;\r\n new(): DOMParser;\r\n}\r\n\r\ninterface DOMSettableTokenList extends DOMTokenList {\r\n value: string;\r\n}\r\n\r\ndeclare var DOMSettableTokenList: {\r\n prototype: DOMSettableTokenList;\r\n new(): DOMSettableTokenList;\r\n}\r\n\r\ninterface DOMStringList {\r\n length: number;\r\n contains(str: string): boolean;\r\n item(index: number): string;\r\n [index: number]: string;\r\n}\r\n\r\ndeclare var DOMStringList: {\r\n prototype: DOMStringList;\r\n new(): DOMStringList;\r\n}\r\n\r\ninterface DOMStringMap {\r\n [name: string]: string;\r\n}\r\n\r\ndeclare var DOMStringMap: {\r\n prototype: DOMStringMap;\r\n new(): DOMStringMap;\r\n}\r\n\r\ninterface DOMTokenList {\r\n length: number;\r\n add(...token: string[]): void;\r\n contains(token: string): boolean;\r\n item(index: number): string;\r\n remove(...token: string[]): void;\r\n toString(): string;\r\n toggle(token: string, force?: boolean): boolean;\r\n [index: number]: string;\r\n}\r\n\r\ndeclare var DOMTokenList: {\r\n prototype: DOMTokenList;\r\n new(): DOMTokenList;\r\n}\r\n\r\ninterface DataCue extends TextTrackCue {\r\n data: ArrayBuffer;\r\n}\r\n\r\ndeclare var DataCue: {\r\n prototype: DataCue;\r\n new(): DataCue;\r\n}\r\n\r\ninterface DataTransfer {\r\n dropEffect: string;\r\n effectAllowed: string;\r\n files: FileList;\r\n items: DataTransferItemList;\r\n types: DOMStringList;\r\n clearData(format?: string): boolean;\r\n getData(format: string): string;\r\n setData(format: string, data: string): boolean;\r\n}\r\n\r\ndeclare var DataTransfer: {\r\n prototype: DataTransfer;\r\n new(): DataTransfer;\r\n}\r\n\r\ninterface DataTransferItem {\r\n kind: string;\r\n type: string;\r\n getAsFile(): File;\r\n getAsString(_callback: FunctionStringCallback): void;\r\n}\r\n\r\ndeclare var DataTransferItem: {\r\n prototype: DataTransferItem;\r\n new(): DataTransferItem;\r\n}\r\n\r\ninterface DataTransferItemList {\r\n length: number;\r\n add(data: File): DataTransferItem;\r\n clear(): void;\r\n item(index: number): File;\r\n remove(index: number): void;\r\n [index: number]: File;\r\n}\r\n\r\ndeclare var DataTransferItemList: {\r\n prototype: DataTransferItemList;\r\n new(): DataTransferItemList;\r\n}\r\n\r\ninterface DeferredPermissionRequest {\r\n id: number;\r\n type: string;\r\n uri: string;\r\n allow(): void;\r\n deny(): void;\r\n}\r\n\r\ndeclare var DeferredPermissionRequest: {\r\n prototype: DeferredPermissionRequest;\r\n new(): DeferredPermissionRequest;\r\n}\r\n\r\ninterface DelayNode extends AudioNode {\r\n delayTime: AudioParam;\r\n}\r\n\r\ndeclare var DelayNode: {\r\n prototype: DelayNode;\r\n new(): DelayNode;\r\n}\r\n\r\ninterface DeviceAcceleration {\r\n x: number;\r\n y: number;\r\n z: number;\r\n}\r\n\r\ndeclare var DeviceAcceleration: {\r\n prototype: DeviceAcceleration;\r\n new(): DeviceAcceleration;\r\n}\r\n\r\ninterface DeviceMotionEvent extends Event {\r\n acceleration: DeviceAcceleration;\r\n accelerationIncludingGravity: DeviceAcceleration;\r\n interval: number;\r\n rotationRate: DeviceRotationRate;\r\n initDeviceMotionEvent(type: string, bubbles: boolean, cancelable: boolean, acceleration: DeviceAccelerationDict, accelerationIncludingGravity: DeviceAccelerationDict, rotationRate: DeviceRotationRateDict, interval: number): void;\r\n}\r\n\r\ndeclare var DeviceMotionEvent: {\r\n prototype: DeviceMotionEvent;\r\n new(): DeviceMotionEvent;\r\n}\r\n\r\ninterface DeviceOrientationEvent extends Event {\r\n absolute: boolean;\r\n alpha: number;\r\n beta: number;\r\n gamma: number;\r\n initDeviceOrientationEvent(type: string, bubbles: boolean, cancelable: boolean, alpha: number, beta: number, gamma: number, absolute: boolean): void;\r\n}\r\n\r\ndeclare var DeviceOrientationEvent: {\r\n prototype: DeviceOrientationEvent;\r\n new(): DeviceOrientationEvent;\r\n}\r\n\r\ninterface DeviceRotationRate {\r\n alpha: number;\r\n beta: number;\r\n gamma: number;\r\n}\r\n\r\ndeclare var DeviceRotationRate: {\r\n prototype: DeviceRotationRate;\r\n new(): DeviceRotationRate;\r\n}\r\n\r\ninterface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEvent {\r\n /**\r\n * Sets or gets the URL for the current document. \r\n */\r\n URL: string;\r\n /**\r\n * Gets the URL for the document, stripped of any character encoding.\r\n */\r\n URLUnencoded: string;\r\n /**\r\n * Gets the object that has the focus when the parent document has focus.\r\n */\r\n activeElement: Element;\r\n /**\r\n * Sets or gets the color of all active links in the document.\r\n */\r\n alinkColor: string;\r\n /**\r\n * Returns a reference to the collection of elements contained by the object.\r\n */\r\n all: HTMLCollection;\r\n /**\r\n * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.\r\n */\r\n anchors: HTMLCollection;\r\n /**\r\n * Retrieves a collection of all applet objects in the document.\r\n */\r\n applets: HTMLCollection;\r\n /**\r\n * Deprecated. Sets or retrieves a value that indicates the background color behind the object. \r\n */\r\n bgColor: string;\r\n /**\r\n * Specifies the beginning and end of the document body.\r\n */\r\n body: HTMLElement;\r\n characterSet: string;\r\n /**\r\n * Gets or sets the character set used to encode the object.\r\n */\r\n charset: string;\r\n /**\r\n * Gets a value that indicates whether standards-compliant mode is switched on for the object.\r\n */\r\n compatMode: string;\r\n cookie: string;\r\n /**\r\n * Gets the default character set from the current regional language settings.\r\n */\r\n defaultCharset: string;\r\n defaultView: Window;\r\n /**\r\n * Sets or gets a value that indicates whether the document can be edited.\r\n */\r\n designMode: string;\r\n /**\r\n * Sets or retrieves a value that indicates the reading order of the object. \r\n */\r\n dir: string;\r\n /**\r\n * Gets an object representing the document type declaration associated with the current document. \r\n */\r\n doctype: DocumentType;\r\n /**\r\n * Gets a reference to the root node of the document. \r\n */\r\n documentElement: HTMLElement;\r\n /**\r\n * Sets or gets the security domain of the document. \r\n */\r\n domain: string;\r\n /**\r\n * Retrieves a collection of all embed objects in the document.\r\n */\r\n embeds: HTMLCollection;\r\n /**\r\n * Sets or gets the foreground (text) color of the document.\r\n */\r\n fgColor: string;\r\n /**\r\n * Retrieves a collection, in source order, of all form objects in the document.\r\n */\r\n forms: HTMLCollection;\r\n fullscreenElement: Element;\r\n fullscreenEnabled: boolean;\r\n head: HTMLHeadElement;\r\n hidden: boolean;\r\n /**\r\n * Retrieves a collection, in source order, of img objects in the document.\r\n */\r\n images: HTMLCollection;\r\n /**\r\n * Gets the implementation object of the current document. \r\n */\r\n implementation: DOMImplementation;\r\n /**\r\n * Returns the character encoding used to create the webpage that is loaded into the document object.\r\n */\r\n inputEncoding: string;\r\n /**\r\n * Gets the date that the page was last modified, if the page supplies one. \r\n */\r\n lastModified: string;\r\n /**\r\n * Sets or gets the color of the document links. \r\n */\r\n linkColor: string;\r\n /**\r\n * Retrieves a collection of all a objects that specify the href property and all area objects in the document.\r\n */\r\n links: HTMLCollection;\r\n /**\r\n * Contains information about the current URL. \r\n */\r\n location: Location;\r\n media: string;\r\n msCSSOMElementFloatMetrics: boolean;\r\n msCapsLockWarningOff: boolean;\r\n msHidden: boolean;\r\n msVisibilityState: string;\r\n /**\r\n * Fires when the user aborts the download.\r\n * @param ev The event.\r\n */\r\n onabort: (ev: Event) => any;\r\n /**\r\n * Fires when the object is set as the active element.\r\n * @param ev The event.\r\n */\r\n onactivate: (ev: UIEvent) => any;\r\n /**\r\n * Fires immediately before the object is set as the active element.\r\n * @param ev The event.\r\n */\r\n onbeforeactivate: (ev: UIEvent) => any;\r\n /**\r\n * Fires immediately before the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The event.\r\n */\r\n onbeforedeactivate: (ev: UIEvent) => any;\r\n /** \r\n * Fires when the object loses the input focus. \r\n * @param ev The focus event.\r\n */\r\n onblur: (ev: FocusEvent) => any;\r\n /**\r\n * Occurs when playback is possible, but would require further buffering. \r\n * @param ev The event.\r\n */\r\n oncanplay: (ev: Event) => any;\r\n oncanplaythrough: (ev: Event) => any;\r\n /**\r\n * Fires when the contents of the object or selection have changed. \r\n * @param ev The event.\r\n */\r\n onchange: (ev: Event) => any;\r\n /**\r\n * Fires when the user clicks the left mouse button on the object\r\n * @param ev The mouse event.\r\n */\r\n onclick: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the user clicks the right mouse button in the client area, opening the context menu. \r\n * @param ev The mouse event.\r\n */\r\n oncontextmenu: (ev: PointerEvent) => any;\r\n /**\r\n * Fires when the user double-clicks the object.\r\n * @param ev The mouse event.\r\n */\r\n ondblclick: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the activeElement is changed from the current object to another object in the parent document.\r\n * @param ev The UI Event\r\n */\r\n ondeactivate: (ev: UIEvent) => any;\r\n /**\r\n * Fires on the source object continuously during a drag operation.\r\n * @param ev The event.\r\n */\r\n ondrag: (ev: DragEvent) => any;\r\n /**\r\n * Fires on the source object when the user releases the mouse at the close of a drag operation.\r\n * @param ev The event.\r\n */\r\n ondragend: (ev: DragEvent) => any;\r\n /** \r\n * Fires on the target element when the user drags the object to a valid drop target.\r\n * @param ev The drag event.\r\n */\r\n ondragenter: (ev: DragEvent) => any;\r\n /** \r\n * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.\r\n * @param ev The drag event.\r\n */\r\n ondragleave: (ev: DragEvent) => any;\r\n /**\r\n * Fires on the target element continuously while the user drags the object over a valid drop target.\r\n * @param ev The event.\r\n */\r\n ondragover: (ev: DragEvent) => any;\r\n /**\r\n * Fires on the source object when the user starts to drag a text selection or selected object. \r\n * @param ev The event.\r\n */\r\n ondragstart: (ev: DragEvent) => any;\r\n ondrop: (ev: DragEvent) => any;\r\n /**\r\n * Occurs when the duration attribute is updated. \r\n * @param ev The event.\r\n */\r\n ondurationchange: (ev: Event) => any;\r\n /**\r\n * Occurs when the media element is reset to its initial state. \r\n * @param ev The event.\r\n */\r\n onemptied: (ev: Event) => any;\r\n /**\r\n * Occurs when the end of playback is reached. \r\n * @param ev The event\r\n */\r\n onended: (ev: Event) => any;\r\n /**\r\n * Fires when an error occurs during object loading.\r\n * @param ev The event.\r\n */\r\n onerror: (ev: Event) => any;\r\n /**\r\n * Fires when the object receives focus. \r\n * @param ev The event.\r\n */\r\n onfocus: (ev: FocusEvent) => any;\r\n onfullscreenchange: (ev: Event) => any;\r\n onfullscreenerror: (ev: Event) => any;\r\n oninput: (ev: Event) => any;\r\n /**\r\n * Fires when the user presses a key.\r\n * @param ev The keyboard event\r\n */\r\n onkeydown: (ev: KeyboardEvent) => any;\r\n /**\r\n * Fires when the user presses an alphanumeric key.\r\n * @param ev The event.\r\n */\r\n onkeypress: (ev: KeyboardEvent) => any;\r\n /**\r\n * Fires when the user releases a key.\r\n * @param ev The keyboard event\r\n */\r\n onkeyup: (ev: KeyboardEvent) => any;\r\n /**\r\n * Fires immediately after the browser loads the object. \r\n * @param ev The event.\r\n */\r\n onload: (ev: Event) => any;\r\n /**\r\n * Occurs when media data is loaded at the current playback position. \r\n * @param ev The event.\r\n */\r\n onloadeddata: (ev: Event) => any;\r\n /**\r\n * Occurs when the duration and dimensions of the media have been determined.\r\n * @param ev The event.\r\n */\r\n onloadedmetadata: (ev: Event) => any;\r\n /**\r\n * Occurs when Internet Explorer begins looking for media data. \r\n * @param ev The event.\r\n */\r\n onloadstart: (ev: Event) => any;\r\n /**\r\n * Fires when the user clicks the object with either mouse button. \r\n * @param ev The mouse event.\r\n */\r\n onmousedown: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the user moves the mouse over the object. \r\n * @param ev The mouse event.\r\n */\r\n onmousemove: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the user moves the mouse pointer outside the boundaries of the object. \r\n * @param ev The mouse event.\r\n */\r\n onmouseout: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the user moves the mouse pointer into the object.\r\n * @param ev The mouse event.\r\n */\r\n onmouseover: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the user releases a mouse button while the mouse is over the object. \r\n * @param ev The mouse event.\r\n */\r\n onmouseup: (ev: MouseEvent) => any;\r\n /**\r\n * Fires when the wheel button is rotated. \r\n * @param ev The mouse event\r\n */\r\n onmousewheel: (ev: MouseWheelEvent) => any;\r\n onmscontentzoom: (ev: UIEvent) => any;\r\n onmsgesturechange: (ev: MSGestureEvent) => any;\r\n onmsgesturedoubletap: (ev: MSGestureEvent) => any;\r\n onmsgestureend: (ev: MSGestureEvent) => any;\r\n onmsgesturehold: (ev: MSGestureEvent) => any;\r\n onmsgesturestart: (ev: MSGestureEvent) => any;\r\n onmsgesturetap: (ev: MSGestureEvent) => any;\r\n onmsinertiastart: (ev: MSGestureEvent) => any;\r\n onmsmanipulationstatechanged: (ev: MSManipulationEvent) => any;\r\n onmspointercancel: (ev: MSPointerEvent) => any;\r\n onmspointerdown: (ev: MSPointerEvent) => any;\r\n onmspointerenter: (ev: MSPointerEvent) => any;\r\n onmspointerleave: (ev: MSPointerEvent) => any;\r\n onmspointermove: (ev: MSPointerEvent) => any;\r\n onmspointerout: (ev: MSPointerEvent) => any;\r\n onmspointerover: (ev: MSPointerEvent) => any;\r\n onmspointerup: (ev: MSPointerEvent) => any;\r\n /**\r\n * Occurs when an item is removed from a Jump List of a webpage running in Site Mode. \r\n * @param ev The event.\r\n */\r\n onmssitemodejumplistitemremoved: (ev: MSSiteModeEvent) => any;\r\n /**\r\n * Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.\r\n * @param ev The event.\r\n */\r\n onmsthumbnailclick: (ev: MSSiteModeEvent) => any;\r\n /**\r\n * Occurs when playback is paused.\r\n * @param ev The event.\r\n */\r\n onpause: (ev: Event) => any;\r\n /**\r\n * Occurs when the play method is requested. \r\n * @param ev The event.\r\n */\r\n onplay: (ev: Event) => any;\r\n /**\r\n * Occurs when the audio or video has started playing. \r\n * @param ev The event.\r\n */\r\n onplaying: (ev: Event) => any;\r\n onpointerlockchange: (ev: Event) => any;\r\n onpointerlockerror: (ev: Event) => any;\r\n /**\r\n * Occurs to indicate progress while downloading media data. \r\n * @param ev The event.\r\n */\r\n onprogress: (ev: ProgressEvent) => any;\r\n /**\r\n * Occurs when the playback rate is increased or decreased. \r\n * @param ev The event.\r\n */\r\n onratechange: (ev: Event) => any;\r\n /**\r\n * Fires when the state of the object has changed.\r\n * @param ev The event\r\n */\r\n onreadystatechange: (ev: ProgressEvent) => any;\r\n /**\r\n * Fires when the user resets a form. \r\n * @param ev The event.\r\n */\r\n onreset: (ev: Event) => any;\r\n /**\r\n * Fires when the user repositions the scroll box in the scroll bar on the object. \r\n * @param ev The event.\r\n */\r\n onscroll: (ev: UIEvent) => any;\r\n /**\r\n * Occurs when the seek operation ends. \r\n * @param ev The event.\r\n */\r\n onseeked: (ev: Event) => any;\r\n /**\r\n * Occurs when the current playback position is moved. \r\n * @param ev The event.\r\n */\r\n onseeking: (ev: Event) => any;\r\n /**\r\n * Fires when the current selection changes.\r\n * @param ev The event.\r\n */\r\n onselect: (ev: UIEvent) => any;\r\n onselectstart: (ev: Event) => any;\r\n /**\r\n * Occurs when the download has stopped. \r\n * @param ev The event.\r\n */\r\n onstalled: (ev: Event) => any;\r\n /**\r\n * Fires when the user clicks the Stop button or leaves the Web page.\r\n * @param ev The event.\r\n */\r\n onstop: (ev: Event) => any;\r\n onsubmit: (ev: Event) => any;\r\n /**\r\n * Occurs if the load operation has been intentionally halted. \r\n * @param ev The event.\r\n */\r\n onsuspend: (ev: Event) => any;\r\n /**\r\n * Occurs to indicate the current playback position.\r\n * @param ev The event.\r\n */\r\n ontimeupdate: (ev: Event) => any;\r\n ontouchcancel: (ev: TouchEvent) => any;\r\n ontouchend: (ev: TouchEvent) => any;\r\n ontouchmove: (ev: TouchEvent) => any;\r\n ontouchstart: (ev: TouchEvent) => any;\r\n /**\r\n * Occurs when the volume is changed, or playback is muted or unmuted.\r\n * @param ev The event.\r\n */\r\n onvolumechange: (ev: Event) => any;\r\n /**\r\n * Occurs when playback stops because the next frame of a video resource is not available. \r\n * @param ev The event.\r\n */\r\n onwaiting: (ev: Event) => any;\r\n onwebkitfullscreenchange: (ev: Event) => any;\r\n onwebkitfullscreenerror: (ev: Event) => any;\r\n plugins: HTMLCollection;\r\n pointerLockElement: Element;\r\n /**\r\n * Retrieves a value that indicates the current state of the object.\r\n */\r\n readyState: string;\r\n /**\r\n * Gets the URL of the location that referred the user to the current page.\r\n */\r\n referrer: string;\r\n /**\r\n * Gets the root svg element in the document hierarchy.\r\n */\r\n rootElement: SVGSVGElement;\r\n /**\r\n * Retrieves a collection of all script objects in the document.\r\n */\r\n scripts: HTMLCollection;\r\n security: string;\r\n /**\r\n * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.\r\n */\r\n styleSheets: StyleSheetList;\r\n /**\r\n * Contains the title of the document.\r\n */\r\n title: string;\r\n visibilityState: string;\r\n /** \r\n * Sets or gets the color of the links that the user has visited.\r\n */\r\n vlinkColor: string;\r\n webkitCurrentFullScreenElement: Element;\r\n webkitFullscreenElement: Element;\r\n webkitFullscreenEnabled: boolean;\r\n webkitIsFullScreen: boolean;\r\n xmlEncoding: string;\r\n xmlStandalone: boolean;\r\n /**\r\n * Gets or sets the version attribute specified in the declaration of an XML document.\r\n */\r\n xmlVersion: string;\r\n adoptNode(source: Node): Node;\r\n captureEvents(): void;\r\n clear(): void;\r\n /**\r\n * Closes an output stream and forces the sent data to display.\r\n */\r\n close(): void;\r\n /**\r\n * Creates an attribute object with a specified name.\r\n * @param name String that sets the attribute object's name.\r\n */\r\n createAttribute(name: string): Attr;\r\n createAttributeNS(namespaceURI: string, qualifiedName: string): Attr;\r\n createCDATASection(data: string): CDATASection;\r\n /**\r\n * Creates a comment object with the specified data.\r\n * @param data Sets the comment object's data.\r\n */\r\n createComment(data: string): Comment;\r\n /**\r\n * Creates a new document.\r\n */\r\n createDocumentFragment(): DocumentFragment;\r\n /**\r\n * Creates an instance of the element for the specified tag.\r\n * @param tagName The name of an element.\r\n */\r\n createElement(tagName: \"a\"): HTMLAnchorElement;\r\n createElement(tagName: \"abbr\"): HTMLPhraseElement;\r\n createElement(tagName: \"acronym\"): HTMLPhraseElement;\r\n createElement(tagName: \"address\"): HTMLBlockElement;\r\n createElement(tagName: \"applet\"): HTMLAppletElement;\r\n createElement(tagName: \"area\"): HTMLAreaElement;\r\n createElement(tagName: \"audio\"): HTMLAudioElement;\r\n createElement(tagName: \"b\"): HTMLPhraseElement;\r\n createElement(tagName: \"base\"): HTMLBaseElement;\r\n createElement(tagName: \"basefont\"): HTMLBaseFontElement;\r\n createElement(tagName: \"bdo\"): HTMLPhraseElement;\r\n createElement(tagName: \"big\"): HTMLPhraseElement;\r\n createElement(tagName: \"blockquote\"): HTMLBlockElement;\r\n createElement(tagName: \"body\"): HTMLBodyElement;\r\n createElement(tagName: \"br\"): HTMLBRElement;\r\n createElement(tagName: \"button\"): HTMLButtonElement;\r\n createElement(tagName: \"canvas\"): HTMLCanvasElement;\r\n createElement(tagName: \"caption\"): HTMLTableCaptionElement;\r\n createElement(tagName: \"center\"): HTMLBlockElement;\r\n createElement(tagName: \"cite\"): HTMLPhraseElement;\r\n createElement(tagName: \"code\"): HTMLPhraseElement;\r\n createElement(tagName: \"col\"): HTMLTableColElement;\r\n createElement(tagName: \"colgroup\"): HTMLTableColElement;\r\n createElement(tagName: \"datalist\"): HTMLDataListElement;\r\n createElement(tagName: \"dd\"): HTMLDDElement;\r\n createElement(tagName: \"del\"): HTMLModElement;\r\n createElement(tagName: \"dfn\"): HTMLPhraseElement;\r\n createElement(tagName: \"dir\"): HTMLDirectoryElement;\r\n createElement(tagName: \"div\"): HTMLDivElement;\r\n createElement(tagName: \"dl\"): HTMLDListElement;\r\n createElement(tagName: \"dt\"): HTMLDTElement;\r\n createElement(tagName: \"em\"): HTMLPhraseElement;\r\n createElement(tagName: \"embed\"): HTMLEmbedElement;\r\n createElement(tagName: \"fieldset\"): HTMLFieldSetElement;\r\n createElement(tagName: \"font\"): HTMLFontElement;\r\n createElement(tagName: \"form\"): HTMLFormElement;\r\n createElement(tagName: \"frame\"): HTMLFrameElement;\r\n createElement(tagName: \"frameset\"): HTMLFrameSetElement;\r\n createElement(tagName: \"h1\"): HTMLHeadingElement;\r\n createElement(tagName: \"h2\"): HTMLHeadingElement;\r\n createElement(tagName: \"h3\"): HTMLHeadingElement;\r\n createElement(tagName: \"h4\"): HTMLHeadingElement;\r\n createElement(tagName: \"h5\"): HTMLHeadingElement;\r\n createElement(tagName: \"h6\"): HTMLHeadingElement;\r\n createElement(tagName: \"head\"): HTMLHeadElement;\r\n createElement(tagName: \"hr\"): HTMLHRElement;\r\n createElement(tagName: \"html\"): HTMLHtmlElement;\r\n createElement(tagName: \"i\"): HTMLPhraseElement;\r\n createElement(tagName: \"iframe\"): HTMLIFrameElement;\r\n createElement(tagName: \"img\"): HTMLImageElement;\r\n createElement(tagName: \"input\"): HTMLInputElement;\r\n createElement(tagName: \"ins\"): HTMLModElement;\r\n createElement(tagName: \"isindex\"): HTMLIsIndexElement;\r\n createElement(tagName: \"kbd\"): HTMLPhraseElement;\r\n createElement(tagName: \"keygen\"): HTMLBlockElement;\r\n createElement(tagName: \"label\"): HTMLLabelElement;\r\n createElement(tagName: \"legend\"): HTMLLegendElement;\r\n createElement(tagName: \"li\"): HTMLLIElement;\r\n createElement(tagName: \"link\"): HTMLLinkElement;\r\n createElement(tagName: \"listing\"): HTMLBlockElement;\r\n createElement(tagName: \"map\"): HTMLMapElement;\r\n createElement(tagName: \"marquee\"): HTMLMarqueeElement;\r\n createElement(tagName: \"menu\"): HTMLMenuElement;\r\n createElement(tagName: \"meta\"): HTMLMetaElement;\r\n createElement(tagName: \"nextid\"): HTMLNextIdElement;\r\n createElement(tagName: \"nobr\"): HTMLPhraseElement;\r\n createElement(tagName: \"object\"): HTMLObjectElement;\r\n createElement(tagName: \"ol\"): HTMLOListElement;\r\n createElement(tagName: \"optgroup\"): HTMLOptGroupElement;\r\n createElement(tagName: \"option\"): HTMLOptionElement;\r\n createElement(tagName: \"p\"): HTMLParagraphElement;\r\n createElement(tagName: \"param\"): HTMLParamElement;\r\n createElement(tagName: \"plaintext\"): HTMLBlockElement;\r\n createElement(tagName: \"pre\"): HTMLPreElement;\r\n createElement(tagName: \"progress\"): HTMLProgressElement;\r\n createElement(tagName: \"q\"): HTMLQuoteElement;\r\n createElement(tagName: \"rt\"): HTMLPhraseElement;\r\n createElement(tagName: \"ruby\"): HTMLPhraseElement;\r\n createElement(tagName: \"s\"): HTMLPhraseElement;\r\n createElement(tagName: \"samp\"): HTMLPhraseElement;\r\n createElement(tagName: \"script\"): HTMLScriptElement;\r\n createElement(tagName: \"select\"): HTMLSelectElement;\r\n createElement(tagName: \"small\"): HTMLPhraseElement;\r\n createElement(tagName: \"source\"): HTMLSourceElement;\r\n createElement(tagName: \"span\"): HTMLSpanElement;\r\n createElement(tagName: \"strike\"): HTMLPhraseElement;\r\n createElement(tagName: \"strong\"): HTMLPhraseElement;\r\n createElement(tagName: \"style\"): HTMLStyleElement;\r\n createElement(tagName: \"sub\"): HTMLPhraseElement;\r\n createElement(tagName: \"sup\"): HTMLPhraseElement;\r\n createElement(tagName: \"table\"): HTMLTableElement;\r\n createElement(tagName: \"tbody\"): HTMLTableSectionElement;\r\n createElement(tagName: \"td\"): HTMLTableDataCellElement;\r\n createElement(tagName: \"textarea\"): HTMLTextAreaElement;\r\n createElement(tagName: \"tfoot\"): HTMLTableSectionElement;\r\n createElement(tagName: \"th\"): HTMLTableHeaderCellElement;\r\n createElement(tagName: \"thead\"): HTMLTableSectionElement;\r\n createElement(tagName: \"title\"): HTMLTitleElement;\r\n createElement(tagName: \"tr\"): HTMLTableRowElement;\r\n createElement(tagName: \"track\"): HTMLTrackElement;\r\n createElement(tagName: \"tt\"): HTMLPhraseElement;\r\n createElement(tagName: \"u\"): HTMLPhraseElement;\r\n createElement(tagName: \"ul\"): HTMLUListElement;\r\n createElement(tagName: \"var\"): HTMLPhraseElement;\r\n createElement(tagName: \"video\"): HTMLVideoElement;\r\n createElement(tagName: \"x-ms-webview\"): MSHTMLWebViewElement;\r\n createElement(tagName: \"xmp\"): HTMLBlockElement;\r\n createElement(tagName: string): HTMLElement;\r\n createElementNS(namespaceURI: string, qualifiedName: string): Element;\r\n createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;\r\n createNSResolver(nodeResolver: Node): XPathNSResolver;\r\n /**\r\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. \r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list\r\n * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */\r\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): NodeIterator;\r\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\r\n /**\r\n * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. \r\n */\r\n createRange(): Range;\r\n /**\r\n * Creates a text string from the specified value. \r\n * @param data String that specifies the nodeValue property of the text node.\r\n */\r\n createTextNode(data: string): Text;\r\n createTouch(view: any, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch;\r\n createTouchList(...touches: Touch[]): TouchList;\r\n /**\r\n * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.\r\n * @param root The root element or node to start traversing on.\r\n * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.\r\n * @param filter A custom NodeFilter function to use.\r\n * @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.\r\n */\r\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): TreeWalker;\r\n /**\r\n * Returns the element for the specified x coordinate and the specified y coordinate. \r\n * @param x The x-offset\r\n * @param y The y-offset\r\n */\r\n elementFromPoint(x: number, y: number): Element;\r\n evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver, type: number, result: XPathResult): XPathResult;\r\n /**\r\n * Executes a command on the current document, current selection, or the given range.\r\n * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.\r\n * @param showUI Display the user interface, defaults to false.\r\n * @param value Value to assign.\r\n */\r\n execCommand(commandId: string, showUI?: boolean, value?: any): boolean;\r\n /**\r\n * Displays help information for the given command identifier.\r\n * @param commandId Displays help information for the given command identifier.\r\n */\r\n execCommandShowHelp(commandId: string): boolean;\r\n exitFullscreen(): void;\r\n exitPointerLock(): void;\r\n /**\r\n * Causes the element to receive the focus and executes the code specified by the onfocus event.\r\n */\r\n focus(): void;\r\n /**\r\n * Returns a reference to the first object with the specified value of the ID or NAME attribute.\r\n * @param elementId String that specifies the ID value. Case-insensitive.\r\n */\r\n getElementById(elementId: string): HTMLElement;\r\n getElementsByClassName(classNames: string): NodeListOf;\r\n /**\r\n * Gets a collection of objects based on the value of the NAME or ID attribute.\r\n * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.\r\n */\r\n getElementsByName(elementName: string): NodeListOf;\r\n /**\r\n * Retrieves a collection of objects based on the specified element name.\r\n * @param name Specifies the name of an element.\r\n */\r\n getElementsByTagName(tagname: \"a\"): NodeListOf;\r\n getElementsByTagName(tagname: \"abbr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"acronym\"): NodeListOf;\r\n getElementsByTagName(tagname: \"address\"): NodeListOf;\r\n getElementsByTagName(tagname: \"applet\"): NodeListOf;\r\n getElementsByTagName(tagname: \"area\"): NodeListOf;\r\n getElementsByTagName(tagname: \"article\"): NodeListOf;\r\n getElementsByTagName(tagname: \"aside\"): NodeListOf;\r\n getElementsByTagName(tagname: \"audio\"): NodeListOf;\r\n getElementsByTagName(tagname: \"b\"): NodeListOf;\r\n getElementsByTagName(tagname: \"base\"): NodeListOf;\r\n getElementsByTagName(tagname: \"basefont\"): NodeListOf;\r\n getElementsByTagName(tagname: \"bdo\"): NodeListOf;\r\n getElementsByTagName(tagname: \"big\"): NodeListOf;\r\n getElementsByTagName(tagname: \"blockquote\"): NodeListOf;\r\n getElementsByTagName(tagname: \"body\"): NodeListOf;\r\n getElementsByTagName(tagname: \"br\"): NodeListOf;\r\n getElementsByTagName(tagname: \"button\"): NodeListOf;\r\n getElementsByTagName(tagname: \"canvas\"): NodeListOf;\r\n getElementsByTagName(tagname: \"caption\"): NodeListOf;\r\n getElementsByTagName(tagname: \"center\"): NodeListOf;\r\n getElementsByTagName(tagname: \"circle\"): NodeListOf;\r\n getElementsByTagName(tagname: \"cite\"): NodeListOf;\r\n getElementsByTagName(tagname: \"clippath\"): NodeListOf;\r\n getElementsByTagName(tagname: \"code\"): NodeListOf;\r\n getElementsByTagName(tagname: \"col\"): NodeListOf;\r\n getElementsByTagName(tagname: \"colgroup\"): NodeListOf;\r\n getElementsByTagName(tagname: \"datalist\"): NodeListOf;\r\n getElementsByTagName(tagname: \"dd\"): NodeListOf;\r\n getElementsByTagName(tagname: \"defs\"): NodeListOf;\r\n getElementsByTagName(tagname: \"del\"): NodeListOf;\r\n getElementsByTagName(tagname: \"desc\"): NodeListOf;\r\n getElementsByTagName(tagname: \"dfn\"): NodeListOf;\r\n getElementsByTagName(tagname: \"dir\"): NodeListOf;\r\n getElementsByTagName(tagname: \"div\"): NodeListOf;\r\n getElementsByTagName(tagname: \"dl\"): NodeListOf;\r\n getElementsByTagName(tagname: \"dt\"): NodeListOf;\r\n getElementsByTagName(tagname: \"ellipse\"): NodeListOf;\r\n getElementsByTagName(tagname: \"em\"): NodeListOf;\r\n getElementsByTagName(tagname: \"embed\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feblend\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fecolormatrix\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fecomponenttransfer\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fecomposite\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feconvolvematrix\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fediffuselighting\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fedisplacementmap\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fedistantlight\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feflood\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fefunca\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fefuncb\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fefuncg\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fefuncr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fegaussianblur\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feimage\"): NodeListOf;\r\n getElementsByTagName(tagname: \"femerge\"): NodeListOf;\r\n getElementsByTagName(tagname: \"femergenode\"): NodeListOf;\r\n getElementsByTagName(tagname: \"femorphology\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feoffset\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fepointlight\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fespecularlighting\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fespotlight\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fetile\"): NodeListOf;\r\n getElementsByTagName(tagname: \"feturbulence\"): NodeListOf;\r\n getElementsByTagName(tagname: \"fieldset\"): NodeListOf;\r\n getElementsByTagName(tagname: \"figcaption\"): NodeListOf;\r\n getElementsByTagName(tagname: \"figure\"): NodeListOf;\r\n getElementsByTagName(tagname: \"filter\"): NodeListOf;\r\n getElementsByTagName(tagname: \"font\"): NodeListOf;\r\n getElementsByTagName(tagname: \"footer\"): NodeListOf;\r\n getElementsByTagName(tagname: \"foreignobject\"): NodeListOf;\r\n getElementsByTagName(tagname: \"form\"): NodeListOf;\r\n getElementsByTagName(tagname: \"frame\"): NodeListOf;\r\n getElementsByTagName(tagname: \"frameset\"): NodeListOf;\r\n getElementsByTagName(tagname: \"g\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h1\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h2\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h3\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h4\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h5\"): NodeListOf;\r\n getElementsByTagName(tagname: \"h6\"): NodeListOf;\r\n getElementsByTagName(tagname: \"head\"): NodeListOf;\r\n getElementsByTagName(tagname: \"header\"): NodeListOf;\r\n getElementsByTagName(tagname: \"hgroup\"): NodeListOf;\r\n getElementsByTagName(tagname: \"hr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"html\"): NodeListOf;\r\n getElementsByTagName(tagname: \"i\"): NodeListOf;\r\n getElementsByTagName(tagname: \"iframe\"): NodeListOf;\r\n getElementsByTagName(tagname: \"image\"): NodeListOf;\r\n getElementsByTagName(tagname: \"img\"): NodeListOf;\r\n getElementsByTagName(tagname: \"input\"): NodeListOf;\r\n getElementsByTagName(tagname: \"ins\"): NodeListOf;\r\n getElementsByTagName(tagname: \"isindex\"): NodeListOf;\r\n getElementsByTagName(tagname: \"kbd\"): NodeListOf;\r\n getElementsByTagName(tagname: \"keygen\"): NodeListOf;\r\n getElementsByTagName(tagname: \"label\"): NodeListOf;\r\n getElementsByTagName(tagname: \"legend\"): NodeListOf;\r\n getElementsByTagName(tagname: \"li\"): NodeListOf;\r\n getElementsByTagName(tagname: \"line\"): NodeListOf;\r\n getElementsByTagName(tagname: \"lineargradient\"): NodeListOf;\r\n getElementsByTagName(tagname: \"link\"): NodeListOf;\r\n getElementsByTagName(tagname: \"listing\"): NodeListOf;\r\n getElementsByTagName(tagname: \"map\"): NodeListOf;\r\n getElementsByTagName(tagname: \"mark\"): NodeListOf;\r\n getElementsByTagName(tagname: \"marker\"): NodeListOf;\r\n getElementsByTagName(tagname: \"marquee\"): NodeListOf;\r\n getElementsByTagName(tagname: \"mask\"): NodeListOf;\r\n getElementsByTagName(tagname: \"menu\"): NodeListOf;\r\n getElementsByTagName(tagname: \"meta\"): NodeListOf;\r\n getElementsByTagName(tagname: \"metadata\"): NodeListOf;\r\n getElementsByTagName(tagname: \"nav\"): NodeListOf;\r\n getElementsByTagName(tagname: \"nextid\"): NodeListOf;\r\n getElementsByTagName(tagname: \"nobr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"noframes\"): NodeListOf;\r\n getElementsByTagName(tagname: \"noscript\"): NodeListOf;\r\n getElementsByTagName(tagname: \"object\"): NodeListOf;\r\n getElementsByTagName(tagname: \"ol\"): NodeListOf;\r\n getElementsByTagName(tagname: \"optgroup\"): NodeListOf;\r\n getElementsByTagName(tagname: \"option\"): NodeListOf;\r\n getElementsByTagName(tagname: \"p\"): NodeListOf;\r\n getElementsByTagName(tagname: \"param\"): NodeListOf;\r\n getElementsByTagName(tagname: \"path\"): NodeListOf;\r\n getElementsByTagName(tagname: \"pattern\"): NodeListOf;\r\n getElementsByTagName(tagname: \"plaintext\"): NodeListOf;\r\n getElementsByTagName(tagname: \"polygon\"): NodeListOf;\r\n getElementsByTagName(tagname: \"polyline\"): NodeListOf;\r\n getElementsByTagName(tagname: \"pre\"): NodeListOf;\r\n getElementsByTagName(tagname: \"progress\"): NodeListOf;\r\n getElementsByTagName(tagname: \"q\"): NodeListOf;\r\n getElementsByTagName(tagname: \"radialgradient\"): NodeListOf;\r\n getElementsByTagName(tagname: \"rect\"): NodeListOf;\r\n getElementsByTagName(tagname: \"rt\"): NodeListOf;\r\n getElementsByTagName(tagname: \"ruby\"): NodeListOf;\r\n getElementsByTagName(tagname: \"s\"): NodeListOf;\r\n getElementsByTagName(tagname: \"samp\"): NodeListOf;\r\n getElementsByTagName(tagname: \"script\"): NodeListOf;\r\n getElementsByTagName(tagname: \"section\"): NodeListOf;\r\n getElementsByTagName(tagname: \"select\"): NodeListOf;\r\n getElementsByTagName(tagname: \"small\"): NodeListOf;\r\n getElementsByTagName(tagname: \"source\"): NodeListOf;\r\n getElementsByTagName(tagname: \"span\"): NodeListOf;\r\n getElementsByTagName(tagname: \"stop\"): NodeListOf;\r\n getElementsByTagName(tagname: \"strike\"): NodeListOf;\r\n getElementsByTagName(tagname: \"strong\"): NodeListOf;\r\n getElementsByTagName(tagname: \"style\"): NodeListOf;\r\n getElementsByTagName(tagname: \"sub\"): NodeListOf;\r\n getElementsByTagName(tagname: \"sup\"): NodeListOf;\r\n getElementsByTagName(tagname: \"svg\"): NodeListOf;\r\n getElementsByTagName(tagname: \"switch\"): NodeListOf;\r\n getElementsByTagName(tagname: \"symbol\"): NodeListOf;\r\n getElementsByTagName(tagname: \"table\"): NodeListOf;\r\n getElementsByTagName(tagname: \"tbody\"): NodeListOf;\r\n getElementsByTagName(tagname: \"td\"): NodeListOf;\r\n getElementsByTagName(tagname: \"text\"): NodeListOf;\r\n getElementsByTagName(tagname: \"textpath\"): NodeListOf;\r\n getElementsByTagName(tagname: \"textarea\"): NodeListOf;\r\n getElementsByTagName(tagname: \"tfoot\"): NodeListOf;\r\n getElementsByTagName(tagname: \"th\"): NodeListOf;\r\n getElementsByTagName(tagname: \"thead\"): NodeListOf;\r\n getElementsByTagName(tagname: \"title\"): NodeListOf;\r\n getElementsByTagName(tagname: \"tr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"track\"): NodeListOf;\r\n getElementsByTagName(tagname: \"tspan\"): NodeListOf;\r\n getElementsByTagName(tagname: \"tt\"): NodeListOf;\r\n getElementsByTagName(tagname: \"u\"): NodeListOf;\r\n getElementsByTagName(tagname: \"ul\"): NodeListOf;\r\n getElementsByTagName(tagname: \"use\"): NodeListOf;\r\n getElementsByTagName(tagname: \"var\"): NodeListOf;\r\n getElementsByTagName(tagname: \"video\"): NodeListOf;\r\n getElementsByTagName(tagname: \"view\"): NodeListOf;\r\n getElementsByTagName(tagname: \"wbr\"): NodeListOf;\r\n getElementsByTagName(tagname: \"x-ms-webview\"): NodeListOf;\r\n getElementsByTagName(tagname: \"xmp\"): NodeListOf;\r\n getElementsByTagName(tagname: string): NodeListOf;\r\n getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf;\r\n /**\r\n * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.\r\n */\r\n getSelection(): Selection;\r\n /**\r\n * Gets a value indicating whether the object currently has focus.\r\n */\r\n hasFocus(): boolean;\r\n importNode(importedNode: Node, deep: boolean): Node;\r\n msElementsFromPoint(x: number, y: number): NodeList;\r\n msElementsFromRect(left: number, top: number, width: number, height: number): NodeList;\r\n msGetPrintDocumentForNamedFlow(flowName: string): Document;\r\n msSetPrintDocumentUriForNamedFlow(flowName: string, uri: string): void;\r\n /**\r\n * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.\r\n * @param url Specifies a MIME type for the document.\r\n * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.\r\n * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, \"fullscreen=yes, toolbar=yes\"). The following values are supported.\r\n * @param replace Specifies whether the existing entry for the document is replaced in the history list.\r\n */\r\n open(url?: string, name?: string, features?: string, replace?: boolean): Document;\r\n /** \r\n * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.\r\n * @param commandId Specifies a command identifier.\r\n */\r\n queryCommandEnabled(commandId: string): boolean;\r\n /**\r\n * Returns a Boolean value that indicates whether the specified command is in the indeterminate state.\r\n * @param commandId String that specifies a command identifier.\r\n */\r\n queryCommandIndeterm(commandId: string): boolean;\r\n /**\r\n * Returns a Boolean value that indicates the current state of the command.\r\n * @param commandId String that specifies a command identifier.\r\n */\r\n queryCommandState(commandId: string): boolean;\r\n /**\r\n * Returns a Boolean value that indicates whether the current command is supported on the current range.\r\n * @param commandId Specifies a command identifier.\r\n */\r\n queryCommandSupported(commandId: string): boolean;\r\n /**\r\n * Retrieves the string associated with a command.\r\n * @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers. \r\n */\r\n queryCommandText(commandId: string): string;\r\n /**\r\n * Returns the current value of the document, range, or current selection for the given command.\r\n * @param commandId String that specifies a command identifier.\r\n */\r\n queryCommandValue(commandId: string): string;\r\n releaseEvents(): void;\r\n /**\r\n * Allows updating the print settings for the page.\r\n */\r\n updateSettings(): void;\r\n webkitCancelFullScreen(): void;\r\n webkitExitFullscreen(): void;\r\n /**\r\n * Writes one or more HTML expressions to a document in the specified window. \r\n * @param content Specifies the text and HTML tags to write.\r\n */\r\n write(...content: string[]): void;\r\n /**\r\n * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. \r\n * @param content The text and HTML tags to write.\r\n */\r\n writeln(...content: string[]): void;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"fullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"fullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mssitemodejumplistitemremoved\", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"msthumbnailclick\", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerlockchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerlockerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"readystatechange\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stop\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var Document: {\r\n prototype: Document;\r\n new(): Document;\r\n}\r\n\r\ninterface DocumentFragment extends Node, NodeSelector {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var DocumentFragment: {\r\n prototype: DocumentFragment;\r\n new(): DocumentFragment;\r\n}\r\n\r\ninterface DocumentType extends Node, ChildNode {\r\n entities: NamedNodeMap;\r\n internalSubset: string;\r\n name: string;\r\n notations: NamedNodeMap;\r\n publicId: string;\r\n systemId: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var DocumentType: {\r\n prototype: DocumentType;\r\n new(): DocumentType;\r\n}\r\n\r\ninterface DragEvent extends MouseEvent {\r\n dataTransfer: DataTransfer;\r\n initDragEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, dataTransferArg: DataTransfer): void;\r\n msConvertURL(file: File, targetType: string, targetURL?: string): void;\r\n}\r\n\r\ndeclare var DragEvent: {\r\n prototype: DragEvent;\r\n new(): DragEvent;\r\n}\r\n\r\ninterface DynamicsCompressorNode extends AudioNode {\r\n attack: AudioParam;\r\n knee: AudioParam;\r\n ratio: AudioParam;\r\n reduction: AudioParam;\r\n release: AudioParam;\r\n threshold: AudioParam;\r\n}\r\n\r\ndeclare var DynamicsCompressorNode: {\r\n prototype: DynamicsCompressorNode;\r\n new(): DynamicsCompressorNode;\r\n}\r\n\r\ninterface EXT_texture_filter_anisotropic {\r\n MAX_TEXTURE_MAX_ANISOTROPY_EXT: number;\r\n TEXTURE_MAX_ANISOTROPY_EXT: number;\r\n}\r\n\r\ndeclare var EXT_texture_filter_anisotropic: {\r\n prototype: EXT_texture_filter_anisotropic;\r\n new(): EXT_texture_filter_anisotropic;\r\n MAX_TEXTURE_MAX_ANISOTROPY_EXT: number;\r\n TEXTURE_MAX_ANISOTROPY_EXT: number;\r\n}\r\n\r\ninterface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelector, ChildNode {\r\n classList: DOMTokenList;\r\n clientHeight: number;\r\n clientLeft: number;\r\n clientTop: number;\r\n clientWidth: number;\r\n msContentZoomFactor: number;\r\n msRegionOverflow: string;\r\n onariarequest: (ev: AriaRequestEvent) => any;\r\n oncommand: (ev: CommandEvent) => any;\r\n ongotpointercapture: (ev: PointerEvent) => any;\r\n onlostpointercapture: (ev: PointerEvent) => any;\r\n onmsgesturechange: (ev: MSGestureEvent) => any;\r\n onmsgesturedoubletap: (ev: MSGestureEvent) => any;\r\n onmsgestureend: (ev: MSGestureEvent) => any;\r\n onmsgesturehold: (ev: MSGestureEvent) => any;\r\n onmsgesturestart: (ev: MSGestureEvent) => any;\r\n onmsgesturetap: (ev: MSGestureEvent) => any;\r\n onmsgotpointercapture: (ev: MSPointerEvent) => any;\r\n onmsinertiastart: (ev: MSGestureEvent) => any;\r\n onmslostpointercapture: (ev: MSPointerEvent) => any;\r\n onmspointercancel: (ev: MSPointerEvent) => any;\r\n onmspointerdown: (ev: MSPointerEvent) => any;\r\n onmspointerenter: (ev: MSPointerEvent) => any;\r\n onmspointerleave: (ev: MSPointerEvent) => any;\r\n onmspointermove: (ev: MSPointerEvent) => any;\r\n onmspointerout: (ev: MSPointerEvent) => any;\r\n onmspointerover: (ev: MSPointerEvent) => any;\r\n onmspointerup: (ev: MSPointerEvent) => any;\r\n ontouchcancel: (ev: TouchEvent) => any;\r\n ontouchend: (ev: TouchEvent) => any;\r\n ontouchmove: (ev: TouchEvent) => any;\r\n ontouchstart: (ev: TouchEvent) => any;\r\n onwebkitfullscreenchange: (ev: Event) => any;\r\n onwebkitfullscreenerror: (ev: Event) => any;\r\n scrollHeight: number;\r\n scrollLeft: number;\r\n scrollTop: number;\r\n scrollWidth: number;\r\n tagName: string;\r\n id: string;\r\n className: string;\r\n getAttribute(name?: string): string;\r\n getAttributeNS(namespaceURI: string, localName: string): string;\r\n getAttributeNode(name: string): Attr;\r\n getAttributeNodeNS(namespaceURI: string, localName: string): Attr;\r\n getBoundingClientRect(): ClientRect;\r\n getClientRects(): ClientRectList;\r\n getElementsByTagName(name: \"a\"): NodeListOf;\r\n getElementsByTagName(name: \"abbr\"): NodeListOf;\r\n getElementsByTagName(name: \"acronym\"): NodeListOf;\r\n getElementsByTagName(name: \"address\"): NodeListOf;\r\n getElementsByTagName(name: \"applet\"): NodeListOf;\r\n getElementsByTagName(name: \"area\"): NodeListOf;\r\n getElementsByTagName(name: \"article\"): NodeListOf;\r\n getElementsByTagName(name: \"aside\"): NodeListOf;\r\n getElementsByTagName(name: \"audio\"): NodeListOf;\r\n getElementsByTagName(name: \"b\"): NodeListOf;\r\n getElementsByTagName(name: \"base\"): NodeListOf;\r\n getElementsByTagName(name: \"basefont\"): NodeListOf;\r\n getElementsByTagName(name: \"bdo\"): NodeListOf;\r\n getElementsByTagName(name: \"big\"): NodeListOf;\r\n getElementsByTagName(name: \"blockquote\"): NodeListOf;\r\n getElementsByTagName(name: \"body\"): NodeListOf;\r\n getElementsByTagName(name: \"br\"): NodeListOf;\r\n getElementsByTagName(name: \"button\"): NodeListOf;\r\n getElementsByTagName(name: \"canvas\"): NodeListOf;\r\n getElementsByTagName(name: \"caption\"): NodeListOf;\r\n getElementsByTagName(name: \"center\"): NodeListOf;\r\n getElementsByTagName(name: \"circle\"): NodeListOf;\r\n getElementsByTagName(name: \"cite\"): NodeListOf;\r\n getElementsByTagName(name: \"clippath\"): NodeListOf;\r\n getElementsByTagName(name: \"code\"): NodeListOf;\r\n getElementsByTagName(name: \"col\"): NodeListOf;\r\n getElementsByTagName(name: \"colgroup\"): NodeListOf;\r\n getElementsByTagName(name: \"datalist\"): NodeListOf;\r\n getElementsByTagName(name: \"dd\"): NodeListOf;\r\n getElementsByTagName(name: \"defs\"): NodeListOf;\r\n getElementsByTagName(name: \"del\"): NodeListOf;\r\n getElementsByTagName(name: \"desc\"): NodeListOf;\r\n getElementsByTagName(name: \"dfn\"): NodeListOf;\r\n getElementsByTagName(name: \"dir\"): NodeListOf;\r\n getElementsByTagName(name: \"div\"): NodeListOf;\r\n getElementsByTagName(name: \"dl\"): NodeListOf;\r\n getElementsByTagName(name: \"dt\"): NodeListOf;\r\n getElementsByTagName(name: \"ellipse\"): NodeListOf;\r\n getElementsByTagName(name: \"em\"): NodeListOf;\r\n getElementsByTagName(name: \"embed\"): NodeListOf;\r\n getElementsByTagName(name: \"feblend\"): NodeListOf;\r\n getElementsByTagName(name: \"fecolormatrix\"): NodeListOf;\r\n getElementsByTagName(name: \"fecomponenttransfer\"): NodeListOf;\r\n getElementsByTagName(name: \"fecomposite\"): NodeListOf;\r\n getElementsByTagName(name: \"feconvolvematrix\"): NodeListOf;\r\n getElementsByTagName(name: \"fediffuselighting\"): NodeListOf;\r\n getElementsByTagName(name: \"fedisplacementmap\"): NodeListOf;\r\n getElementsByTagName(name: \"fedistantlight\"): NodeListOf;\r\n getElementsByTagName(name: \"feflood\"): NodeListOf;\r\n getElementsByTagName(name: \"fefunca\"): NodeListOf;\r\n getElementsByTagName(name: \"fefuncb\"): NodeListOf;\r\n getElementsByTagName(name: \"fefuncg\"): NodeListOf;\r\n getElementsByTagName(name: \"fefuncr\"): NodeListOf;\r\n getElementsByTagName(name: \"fegaussianblur\"): NodeListOf;\r\n getElementsByTagName(name: \"feimage\"): NodeListOf;\r\n getElementsByTagName(name: \"femerge\"): NodeListOf;\r\n getElementsByTagName(name: \"femergenode\"): NodeListOf;\r\n getElementsByTagName(name: \"femorphology\"): NodeListOf;\r\n getElementsByTagName(name: \"feoffset\"): NodeListOf;\r\n getElementsByTagName(name: \"fepointlight\"): NodeListOf;\r\n getElementsByTagName(name: \"fespecularlighting\"): NodeListOf;\r\n getElementsByTagName(name: \"fespotlight\"): NodeListOf;\r\n getElementsByTagName(name: \"fetile\"): NodeListOf;\r\n getElementsByTagName(name: \"feturbulence\"): NodeListOf;\r\n getElementsByTagName(name: \"fieldset\"): NodeListOf;\r\n getElementsByTagName(name: \"figcaption\"): NodeListOf;\r\n getElementsByTagName(name: \"figure\"): NodeListOf;\r\n getElementsByTagName(name: \"filter\"): NodeListOf;\r\n getElementsByTagName(name: \"font\"): NodeListOf;\r\n getElementsByTagName(name: \"footer\"): NodeListOf;\r\n getElementsByTagName(name: \"foreignobject\"): NodeListOf;\r\n getElementsByTagName(name: \"form\"): NodeListOf;\r\n getElementsByTagName(name: \"frame\"): NodeListOf;\r\n getElementsByTagName(name: \"frameset\"): NodeListOf;\r\n getElementsByTagName(name: \"g\"): NodeListOf;\r\n getElementsByTagName(name: \"h1\"): NodeListOf;\r\n getElementsByTagName(name: \"h2\"): NodeListOf;\r\n getElementsByTagName(name: \"h3\"): NodeListOf;\r\n getElementsByTagName(name: \"h4\"): NodeListOf;\r\n getElementsByTagName(name: \"h5\"): NodeListOf;\r\n getElementsByTagName(name: \"h6\"): NodeListOf;\r\n getElementsByTagName(name: \"head\"): NodeListOf;\r\n getElementsByTagName(name: \"header\"): NodeListOf;\r\n getElementsByTagName(name: \"hgroup\"): NodeListOf;\r\n getElementsByTagName(name: \"hr\"): NodeListOf;\r\n getElementsByTagName(name: \"html\"): NodeListOf;\r\n getElementsByTagName(name: \"i\"): NodeListOf;\r\n getElementsByTagName(name: \"iframe\"): NodeListOf;\r\n getElementsByTagName(name: \"image\"): NodeListOf;\r\n getElementsByTagName(name: \"img\"): NodeListOf;\r\n getElementsByTagName(name: \"input\"): NodeListOf;\r\n getElementsByTagName(name: \"ins\"): NodeListOf;\r\n getElementsByTagName(name: \"isindex\"): NodeListOf;\r\n getElementsByTagName(name: \"kbd\"): NodeListOf;\r\n getElementsByTagName(name: \"keygen\"): NodeListOf;\r\n getElementsByTagName(name: \"label\"): NodeListOf;\r\n getElementsByTagName(name: \"legend\"): NodeListOf;\r\n getElementsByTagName(name: \"li\"): NodeListOf;\r\n getElementsByTagName(name: \"line\"): NodeListOf;\r\n getElementsByTagName(name: \"lineargradient\"): NodeListOf;\r\n getElementsByTagName(name: \"link\"): NodeListOf;\r\n getElementsByTagName(name: \"listing\"): NodeListOf;\r\n getElementsByTagName(name: \"map\"): NodeListOf;\r\n getElementsByTagName(name: \"mark\"): NodeListOf;\r\n getElementsByTagName(name: \"marker\"): NodeListOf;\r\n getElementsByTagName(name: \"marquee\"): NodeListOf;\r\n getElementsByTagName(name: \"mask\"): NodeListOf;\r\n getElementsByTagName(name: \"menu\"): NodeListOf;\r\n getElementsByTagName(name: \"meta\"): NodeListOf;\r\n getElementsByTagName(name: \"metadata\"): NodeListOf;\r\n getElementsByTagName(name: \"nav\"): NodeListOf;\r\n getElementsByTagName(name: \"nextid\"): NodeListOf;\r\n getElementsByTagName(name: \"nobr\"): NodeListOf;\r\n getElementsByTagName(name: \"noframes\"): NodeListOf;\r\n getElementsByTagName(name: \"noscript\"): NodeListOf;\r\n getElementsByTagName(name: \"object\"): NodeListOf;\r\n getElementsByTagName(name: \"ol\"): NodeListOf;\r\n getElementsByTagName(name: \"optgroup\"): NodeListOf;\r\n getElementsByTagName(name: \"option\"): NodeListOf;\r\n getElementsByTagName(name: \"p\"): NodeListOf;\r\n getElementsByTagName(name: \"param\"): NodeListOf;\r\n getElementsByTagName(name: \"path\"): NodeListOf;\r\n getElementsByTagName(name: \"pattern\"): NodeListOf;\r\n getElementsByTagName(name: \"plaintext\"): NodeListOf;\r\n getElementsByTagName(name: \"polygon\"): NodeListOf;\r\n getElementsByTagName(name: \"polyline\"): NodeListOf;\r\n getElementsByTagName(name: \"pre\"): NodeListOf;\r\n getElementsByTagName(name: \"progress\"): NodeListOf;\r\n getElementsByTagName(name: \"q\"): NodeListOf;\r\n getElementsByTagName(name: \"radialgradient\"): NodeListOf;\r\n getElementsByTagName(name: \"rect\"): NodeListOf;\r\n getElementsByTagName(name: \"rt\"): NodeListOf;\r\n getElementsByTagName(name: \"ruby\"): NodeListOf;\r\n getElementsByTagName(name: \"s\"): NodeListOf;\r\n getElementsByTagName(name: \"samp\"): NodeListOf;\r\n getElementsByTagName(name: \"script\"): NodeListOf;\r\n getElementsByTagName(name: \"section\"): NodeListOf;\r\n getElementsByTagName(name: \"select\"): NodeListOf;\r\n getElementsByTagName(name: \"small\"): NodeListOf;\r\n getElementsByTagName(name: \"source\"): NodeListOf;\r\n getElementsByTagName(name: \"span\"): NodeListOf;\r\n getElementsByTagName(name: \"stop\"): NodeListOf;\r\n getElementsByTagName(name: \"strike\"): NodeListOf;\r\n getElementsByTagName(name: \"strong\"): NodeListOf;\r\n getElementsByTagName(name: \"style\"): NodeListOf;\r\n getElementsByTagName(name: \"sub\"): NodeListOf;\r\n getElementsByTagName(name: \"sup\"): NodeListOf;\r\n getElementsByTagName(name: \"svg\"): NodeListOf;\r\n getElementsByTagName(name: \"switch\"): NodeListOf;\r\n getElementsByTagName(name: \"symbol\"): NodeListOf;\r\n getElementsByTagName(name: \"table\"): NodeListOf;\r\n getElementsByTagName(name: \"tbody\"): NodeListOf;\r\n getElementsByTagName(name: \"td\"): NodeListOf;\r\n getElementsByTagName(name: \"text\"): NodeListOf;\r\n getElementsByTagName(name: \"textpath\"): NodeListOf;\r\n getElementsByTagName(name: \"textarea\"): NodeListOf;\r\n getElementsByTagName(name: \"tfoot\"): NodeListOf;\r\n getElementsByTagName(name: \"th\"): NodeListOf;\r\n getElementsByTagName(name: \"thead\"): NodeListOf;\r\n getElementsByTagName(name: \"title\"): NodeListOf;\r\n getElementsByTagName(name: \"tr\"): NodeListOf;\r\n getElementsByTagName(name: \"track\"): NodeListOf;\r\n getElementsByTagName(name: \"tspan\"): NodeListOf;\r\n getElementsByTagName(name: \"tt\"): NodeListOf;\r\n getElementsByTagName(name: \"u\"): NodeListOf;\r\n getElementsByTagName(name: \"ul\"): NodeListOf;\r\n getElementsByTagName(name: \"use\"): NodeListOf;\r\n getElementsByTagName(name: \"var\"): NodeListOf;\r\n getElementsByTagName(name: \"video\"): NodeListOf;\r\n getElementsByTagName(name: \"view\"): NodeListOf;\r\n getElementsByTagName(name: \"wbr\"): NodeListOf;\r\n getElementsByTagName(name: \"x-ms-webview\"): NodeListOf;\r\n getElementsByTagName(name: \"xmp\"): NodeListOf;\r\n getElementsByTagName(name: string): NodeListOf;\r\n getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf;\r\n hasAttribute(name: string): boolean;\r\n hasAttributeNS(namespaceURI: string, localName: string): boolean;\r\n msGetRegionContent(): MSRangeCollection;\r\n msGetUntransformedBounds(): ClientRect;\r\n msMatchesSelector(selectors: string): boolean;\r\n msReleasePointerCapture(pointerId: number): void;\r\n msSetPointerCapture(pointerId: number): void;\r\n msZoomTo(args: MsZoomToOptions): void;\r\n releasePointerCapture(pointerId: number): void;\r\n removeAttribute(name?: string): void;\r\n removeAttributeNS(namespaceURI: string, localName: string): void;\r\n removeAttributeNode(oldAttr: Attr): Attr;\r\n requestFullscreen(): void;\r\n requestPointerLock(): void;\r\n setAttribute(name?: string, value?: string): void;\r\n setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;\r\n setAttributeNode(newAttr: Attr): Attr;\r\n setAttributeNodeNS(newAttr: Attr): Attr;\r\n setPointerCapture(pointerId: number): void;\r\n webkitMatchesSelector(selectors: string): boolean;\r\n webkitRequestFullScreen(): void;\r\n webkitRequestFullscreen(): void;\r\n getElementsByClassName(classNames: string): NodeListOf;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var Element: {\r\n prototype: Element;\r\n new(): Element;\r\n}\r\n\r\ninterface ErrorEvent extends Event {\r\n colno: number;\r\n error: any;\r\n filename: string;\r\n lineno: number;\r\n message: string;\r\n initErrorEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, messageArg: string, filenameArg: string, linenoArg: number): void;\r\n}\r\n\r\ndeclare var ErrorEvent: {\r\n prototype: ErrorEvent;\r\n new(): ErrorEvent;\r\n}\r\n\r\ninterface Event {\r\n bubbles: boolean;\r\n cancelBubble: boolean;\r\n cancelable: boolean;\r\n currentTarget: EventTarget;\r\n defaultPrevented: boolean;\r\n eventPhase: number;\r\n isTrusted: boolean;\r\n returnValue: boolean;\r\n srcElement: Element;\r\n target: EventTarget;\r\n timeStamp: number;\r\n type: string;\r\n initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void;\r\n preventDefault(): void;\r\n stopImmediatePropagation(): void;\r\n stopPropagation(): void;\r\n AT_TARGET: number;\r\n BUBBLING_PHASE: number;\r\n CAPTURING_PHASE: number;\r\n}\r\n\r\ndeclare var Event: {\r\n prototype: Event;\r\n new(type: string, eventInitDict?: EventInit): Event;\r\n AT_TARGET: number;\r\n BUBBLING_PHASE: number;\r\n CAPTURING_PHASE: number;\r\n}\r\n\r\ninterface EventTarget {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n dispatchEvent(evt: Event): boolean;\r\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var EventTarget: {\r\n prototype: EventTarget;\r\n new(): EventTarget;\r\n}\r\n\r\ninterface External {\r\n}\r\n\r\ndeclare var External: {\r\n prototype: External;\r\n new(): External;\r\n}\r\n\r\ninterface File extends Blob {\r\n lastModifiedDate: any;\r\n name: string;\r\n}\r\n\r\ndeclare var File: {\r\n prototype: File;\r\n new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File;\r\n}\r\n\r\ninterface FileList {\r\n length: number;\r\n item(index: number): File;\r\n [index: number]: File;\r\n}\r\n\r\ndeclare var FileList: {\r\n prototype: FileList;\r\n new(): FileList;\r\n}\r\n\r\ninterface FileReader extends EventTarget, MSBaseReader {\r\n error: DOMError;\r\n readAsArrayBuffer(blob: Blob): void;\r\n readAsBinaryString(blob: Blob): void;\r\n readAsDataURL(blob: Blob): void;\r\n readAsText(blob: Blob, encoding?: string): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var FileReader: {\r\n prototype: FileReader;\r\n new(): FileReader;\r\n}\r\n\r\ninterface FocusEvent extends UIEvent {\r\n relatedTarget: EventTarget;\r\n initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void;\r\n}\r\n\r\ndeclare var FocusEvent: {\r\n prototype: FocusEvent;\r\n new(typeArg: string, eventInitDict?: FocusEventInit): FocusEvent;\r\n}\r\n\r\ninterface FormData {\r\n append(name: any, value: any, blobName?: string): void;\r\n}\r\n\r\ndeclare var FormData: {\r\n prototype: FormData;\r\n new (form?: HTMLFormElement): FormData;\r\n}\r\n\r\ninterface GainNode extends AudioNode {\r\n gain: AudioParam;\r\n}\r\n\r\ndeclare var GainNode: {\r\n prototype: GainNode;\r\n new(): GainNode;\r\n}\r\n\r\ninterface Gamepad {\r\n axes: number[];\r\n buttons: GamepadButton[];\r\n connected: boolean;\r\n id: string;\r\n index: number;\r\n mapping: string;\r\n timestamp: number;\r\n}\r\n\r\ndeclare var Gamepad: {\r\n prototype: Gamepad;\r\n new(): Gamepad;\r\n}\r\n\r\ninterface GamepadButton {\r\n pressed: boolean;\r\n value: number;\r\n}\r\n\r\ndeclare var GamepadButton: {\r\n prototype: GamepadButton;\r\n new(): GamepadButton;\r\n}\r\n\r\ninterface GamepadEvent extends Event {\r\n gamepad: Gamepad;\r\n}\r\n\r\ndeclare var GamepadEvent: {\r\n prototype: GamepadEvent;\r\n new(): GamepadEvent;\r\n}\r\n\r\ninterface Geolocation {\r\n clearWatch(watchId: number): void;\r\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;\r\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;\r\n}\r\n\r\ndeclare var Geolocation: {\r\n prototype: Geolocation;\r\n new(): Geolocation;\r\n}\r\n\r\ninterface HTMLAllCollection extends HTMLCollection {\r\n namedItem(name: string): Element;\r\n}\r\n\r\ndeclare var HTMLAllCollection: {\r\n prototype: HTMLAllCollection;\r\n new(): HTMLAllCollection;\r\n}\r\n\r\ninterface HTMLAnchorElement extends HTMLElement {\r\n Methods: string;\r\n /**\r\n * Sets or retrieves the character set used to encode the object.\r\n */\r\n charset: string;\r\n /**\r\n * Sets or retrieves the coordinates of the object.\r\n */\r\n coords: string;\r\n /**\r\n * Contains the anchor portion of the URL including the hash sign (#).\r\n */\r\n hash: string;\r\n /**\r\n * Contains the hostname and port values of the URL.\r\n */\r\n host: string;\r\n /**\r\n * Contains the hostname of a URL.\r\n */\r\n hostname: string;\r\n /**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */\r\n href: string;\r\n /**\r\n * Sets or retrieves the language code of the object.\r\n */\r\n hreflang: string;\r\n mimeType: string;\r\n /**\r\n * Sets or retrieves the shape of the object.\r\n */\r\n name: string;\r\n nameProp: string;\r\n /**\r\n * Contains the pathname of the URL.\r\n */\r\n pathname: string;\r\n /**\r\n * Sets or retrieves the port number associated with a URL.\r\n */\r\n port: string;\r\n /**\r\n * Contains the protocol of the URL.\r\n */\r\n protocol: string;\r\n protocolLong: string;\r\n /**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */\r\n rel: string;\r\n /**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */\r\n rev: string;\r\n /**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */\r\n search: string;\r\n /**\r\n * Sets or retrieves the shape of the object.\r\n */\r\n shape: string;\r\n /**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */\r\n target: string;\r\n /**\r\n * Retrieves or sets the text of the object as a string. \r\n */\r\n text: string;\r\n type: string;\r\n urn: string;\r\n /** \r\n * Returns a string representation of an object.\r\n */\r\n toString(): string;\r\n}\r\n\r\ndeclare var HTMLAnchorElement: {\r\n prototype: HTMLAnchorElement;\r\n new(): HTMLAnchorElement;\r\n}\r\n\r\ninterface HTMLAppletElement extends HTMLElement {\r\n /**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */\r\n BaseHref: string;\r\n align: string;\r\n /**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */\r\n alt: string;\r\n /**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */\r\n altHtml: string;\r\n /**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */\r\n archive: string;\r\n border: string;\r\n code: string;\r\n /**\r\n * Sets or retrieves the URL of the component.\r\n */\r\n codeBase: string;\r\n /**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */\r\n codeType: string;\r\n /**\r\n * Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.\r\n */\r\n contentDocument: Document;\r\n /**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */\r\n data: string;\r\n /**\r\n * Sets or retrieves a character string that can be used to implement your own declare functionality for the object.\r\n */\r\n declare: boolean;\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string;\r\n hspace: number;\r\n /**\r\n * Sets or retrieves the shape of the object.\r\n */\r\n name: string;\r\n object: string;\r\n /**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */\r\n standby: string;\r\n /**\r\n * Returns the content type of the object.\r\n */\r\n type: string;\r\n /**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */\r\n useMap: string;\r\n vspace: number;\r\n width: number;\r\n}\r\n\r\ndeclare var HTMLAppletElement: {\r\n prototype: HTMLAppletElement;\r\n new(): HTMLAppletElement;\r\n}\r\n\r\ninterface HTMLAreaElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */\r\n alt: string;\r\n /**\r\n * Sets or retrieves the coordinates of the object.\r\n */\r\n coords: string;\r\n /**\r\n * Sets or retrieves the subsection of the href property that follows the number sign (#).\r\n */\r\n hash: string;\r\n /**\r\n * Sets or retrieves the hostname and port number of the location or URL.\r\n */\r\n host: string;\r\n /**\r\n * Sets or retrieves the host name part of the location or URL. \r\n */\r\n hostname: string;\r\n /**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */\r\n href: string;\r\n /**\r\n * Sets or gets whether clicks in this region cause action.\r\n */\r\n noHref: boolean;\r\n /**\r\n * Sets or retrieves the file name or path specified by the object.\r\n */\r\n pathname: string;\r\n /**\r\n * Sets or retrieves the port number associated with a URL.\r\n */\r\n port: string;\r\n /**\r\n * Sets or retrieves the protocol portion of a URL.\r\n */\r\n protocol: string;\r\n rel: string;\r\n /**\r\n * Sets or retrieves the substring of the href property that follows the question mark.\r\n */\r\n search: string;\r\n /**\r\n * Sets or retrieves the shape of the object.\r\n */\r\n shape: string;\r\n /**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */\r\n target: string;\r\n /** \r\n * Returns a string representation of an object.\r\n */\r\n toString(): string;\r\n}\r\n\r\ndeclare var HTMLAreaElement: {\r\n prototype: HTMLAreaElement;\r\n new(): HTMLAreaElement;\r\n}\r\n\r\ninterface HTMLAreasCollection extends HTMLCollection {\r\n /**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n */\r\n add(element: HTMLElement, before?: HTMLElement | number): void;\r\n /**\r\n * Removes an element from the collection.\r\n */\r\n remove(index?: number): void;\r\n}\r\n\r\ndeclare var HTMLAreasCollection: {\r\n prototype: HTMLAreasCollection;\r\n new(): HTMLAreasCollection;\r\n}\r\n\r\ninterface HTMLAudioElement extends HTMLMediaElement {\r\n}\r\n\r\ndeclare var HTMLAudioElement: {\r\n prototype: HTMLAudioElement;\r\n new(): HTMLAudioElement;\r\n}\r\n\r\ninterface HTMLBRElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.\r\n */\r\n clear: string;\r\n}\r\n\r\ndeclare var HTMLBRElement: {\r\n prototype: HTMLBRElement;\r\n new(): HTMLBRElement;\r\n}\r\n\r\ninterface HTMLBaseElement extends HTMLElement {\r\n /**\r\n * Gets or sets the baseline URL on which relative links are based.\r\n */\r\n href: string;\r\n /**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */\r\n target: string;\r\n}\r\n\r\ndeclare var HTMLBaseElement: {\r\n prototype: HTMLBaseElement;\r\n new(): HTMLBaseElement;\r\n}\r\n\r\ninterface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty {\r\n /**\r\n * Sets or retrieves the current typeface family.\r\n */\r\n face: string;\r\n /**\r\n * Sets or retrieves the font size of the object.\r\n */\r\n size: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLBaseFontElement: {\r\n prototype: HTMLBaseFontElement;\r\n new(): HTMLBaseFontElement;\r\n}\r\n\r\ninterface HTMLBlockElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves reference information about the object.\r\n */\r\n cite: string;\r\n clear: string;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: number;\r\n}\r\n\r\ndeclare var HTMLBlockElement: {\r\n prototype: HTMLBlockElement;\r\n new(): HTMLBlockElement;\r\n}\r\n\r\ninterface HTMLBodyElement extends HTMLElement {\r\n aLink: any;\r\n background: string;\r\n bgColor: any;\r\n bgProperties: string;\r\n link: any;\r\n noWrap: boolean;\r\n onafterprint: (ev: Event) => any;\r\n onbeforeprint: (ev: Event) => any;\r\n onbeforeunload: (ev: BeforeUnloadEvent) => any;\r\n onblur: (ev: FocusEvent) => any;\r\n onerror: (ev: Event) => any;\r\n onfocus: (ev: FocusEvent) => any;\r\n onhashchange: (ev: HashChangeEvent) => any;\r\n onload: (ev: Event) => any;\r\n onmessage: (ev: MessageEvent) => any;\r\n onoffline: (ev: Event) => any;\r\n ononline: (ev: Event) => any;\r\n onorientationchange: (ev: Event) => any;\r\n onpagehide: (ev: PageTransitionEvent) => any;\r\n onpageshow: (ev: PageTransitionEvent) => any;\r\n onpopstate: (ev: PopStateEvent) => any;\r\n onresize: (ev: UIEvent) => any;\r\n onstorage: (ev: StorageEvent) => any;\r\n onunload: (ev: Event) => any;\r\n text: any;\r\n vLink: any;\r\n createTextRange(): TextRange;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"afterprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeunload\", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"hashchange\", listener: (ev: HashChangeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"offline\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"online\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"orientationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pagehide\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pageshow\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"popstate\", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"resize\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"storage\", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"unload\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLBodyElement: {\r\n prototype: HTMLBodyElement;\r\n new(): HTMLBodyElement;\r\n}\r\n\r\ninterface HTMLButtonElement extends HTMLElement {\r\n /**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */\r\n autofocus: boolean;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */\r\n formAction: string;\r\n /**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */\r\n formEnctype: string;\r\n /**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */\r\n formMethod: string;\r\n /**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */\r\n formNoValidate: string;\r\n /**\r\n * Overrides the target attribute on a form element.\r\n */\r\n formTarget: string;\r\n /** \r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n status: any;\r\n /**\r\n * Gets the classification and default behavior of the button.\r\n */\r\n type: string;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n /** \r\n * Sets or retrieves the default or selected value of the control.\r\n */\r\n value: string;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Creates a TextRange object for the element.\r\n */\r\n createTextRange(): TextRange;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n}\r\n\r\ndeclare var HTMLButtonElement: {\r\n prototype: HTMLButtonElement;\r\n new(): HTMLButtonElement;\r\n}\r\n\r\ninterface HTMLCanvasElement extends HTMLElement {\r\n /**\r\n * Gets or sets the height of a canvas element on a document.\r\n */\r\n height: number;\r\n /**\r\n * Gets or sets the width of a canvas element on a document.\r\n */\r\n width: number;\r\n /**\r\n * Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.\r\n * @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext(\"2d\"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext(\"experimental-webgl\");\r\n */\r\n getContext(contextId: \"2d\"): CanvasRenderingContext2D;\r\n getContext(contextId: \"experimental-webgl\"): WebGLRenderingContext;\r\n getContext(contextId: string, ...args: any[]): CanvasRenderingContext2D | WebGLRenderingContext;\r\n /**\r\n * Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.\r\n */\r\n msToBlob(): Blob;\r\n /**\r\n * Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.\r\n * @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.\r\n */\r\n toDataURL(type?: string, ...args: any[]): string;\r\n}\r\n\r\ndeclare var HTMLCanvasElement: {\r\n prototype: HTMLCanvasElement;\r\n new(): HTMLCanvasElement;\r\n}\r\n\r\ninterface HTMLCollection {\r\n /**\r\n * Sets or retrieves the number of objects in a collection.\r\n */\r\n length: number;\r\n /**\r\n * Retrieves an object from various collections.\r\n */\r\n item(nameOrIndex?: any, optionalIndex?: any): Element;\r\n /**\r\n * Retrieves a select object or an object from an options collection.\r\n */\r\n namedItem(name: string): Element;\r\n [index: number]: Element;\r\n}\r\n\r\ndeclare var HTMLCollection: {\r\n prototype: HTMLCollection;\r\n new(): HTMLCollection;\r\n}\r\n\r\ninterface HTMLDDElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */\r\n noWrap: boolean;\r\n}\r\n\r\ndeclare var HTMLDDElement: {\r\n prototype: HTMLDDElement;\r\n new(): HTMLDDElement;\r\n}\r\n\r\ninterface HTMLDListElement extends HTMLElement {\r\n compact: boolean;\r\n}\r\n\r\ndeclare var HTMLDListElement: {\r\n prototype: HTMLDListElement;\r\n new(): HTMLDListElement;\r\n}\r\n\r\ninterface HTMLDTElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */\r\n noWrap: boolean;\r\n}\r\n\r\ndeclare var HTMLDTElement: {\r\n prototype: HTMLDTElement;\r\n new(): HTMLDTElement;\r\n}\r\n\r\ninterface HTMLDataListElement extends HTMLElement {\r\n options: HTMLCollection;\r\n}\r\n\r\ndeclare var HTMLDataListElement: {\r\n prototype: HTMLDataListElement;\r\n new(): HTMLDataListElement;\r\n}\r\n\r\ninterface HTMLDirectoryElement extends HTMLElement {\r\n compact: boolean;\r\n}\r\n\r\ndeclare var HTMLDirectoryElement: {\r\n prototype: HTMLDirectoryElement;\r\n new(): HTMLDirectoryElement;\r\n}\r\n\r\ninterface HTMLDivElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text. \r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */\r\n noWrap: boolean;\r\n}\r\n\r\ndeclare var HTMLDivElement: {\r\n prototype: HTMLDivElement;\r\n new(): HTMLDivElement;\r\n}\r\n\r\ninterface HTMLDocument extends Document {\r\n}\r\n\r\ndeclare var HTMLDocument: {\r\n prototype: HTMLDocument;\r\n new(): HTMLDocument;\r\n}\r\n\r\ninterface HTMLElement extends Element {\r\n accessKey: string;\r\n children: HTMLCollection;\r\n contentEditable: string;\r\n dataset: DOMStringMap;\r\n dir: string;\r\n draggable: boolean;\r\n hidden: boolean;\r\n hideFocus: boolean;\r\n innerHTML: string;\r\n innerText: string;\r\n isContentEditable: boolean;\r\n lang: string;\r\n offsetHeight: number;\r\n offsetLeft: number;\r\n offsetParent: Element;\r\n offsetTop: number;\r\n offsetWidth: number;\r\n onabort: (ev: Event) => any;\r\n onactivate: (ev: UIEvent) => any;\r\n onbeforeactivate: (ev: UIEvent) => any;\r\n onbeforecopy: (ev: DragEvent) => any;\r\n onbeforecut: (ev: DragEvent) => any;\r\n onbeforedeactivate: (ev: UIEvent) => any;\r\n onbeforepaste: (ev: DragEvent) => any;\r\n onblur: (ev: FocusEvent) => any;\r\n oncanplay: (ev: Event) => any;\r\n oncanplaythrough: (ev: Event) => any;\r\n onchange: (ev: Event) => any;\r\n onclick: (ev: MouseEvent) => any;\r\n oncontextmenu: (ev: PointerEvent) => any;\r\n oncopy: (ev: DragEvent) => any;\r\n oncuechange: (ev: Event) => any;\r\n oncut: (ev: DragEvent) => any;\r\n ondblclick: (ev: MouseEvent) => any;\r\n ondeactivate: (ev: UIEvent) => any;\r\n ondrag: (ev: DragEvent) => any;\r\n ondragend: (ev: DragEvent) => any;\r\n ondragenter: (ev: DragEvent) => any;\r\n ondragleave: (ev: DragEvent) => any;\r\n ondragover: (ev: DragEvent) => any;\r\n ondragstart: (ev: DragEvent) => any;\r\n ondrop: (ev: DragEvent) => any;\r\n ondurationchange: (ev: Event) => any;\r\n onemptied: (ev: Event) => any;\r\n onended: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onfocus: (ev: FocusEvent) => any;\r\n oninput: (ev: Event) => any;\r\n onkeydown: (ev: KeyboardEvent) => any;\r\n onkeypress: (ev: KeyboardEvent) => any;\r\n onkeyup: (ev: KeyboardEvent) => any;\r\n onload: (ev: Event) => any;\r\n onloadeddata: (ev: Event) => any;\r\n onloadedmetadata: (ev: Event) => any;\r\n onloadstart: (ev: Event) => any;\r\n onmousedown: (ev: MouseEvent) => any;\r\n onmouseenter: (ev: MouseEvent) => any;\r\n onmouseleave: (ev: MouseEvent) => any;\r\n onmousemove: (ev: MouseEvent) => any;\r\n onmouseout: (ev: MouseEvent) => any;\r\n onmouseover: (ev: MouseEvent) => any;\r\n onmouseup: (ev: MouseEvent) => any;\r\n onmousewheel: (ev: MouseWheelEvent) => any;\r\n onmscontentzoom: (ev: UIEvent) => any;\r\n onmsmanipulationstatechanged: (ev: MSManipulationEvent) => any;\r\n onpaste: (ev: DragEvent) => any;\r\n onpause: (ev: Event) => any;\r\n onplay: (ev: Event) => any;\r\n onplaying: (ev: Event) => any;\r\n onprogress: (ev: ProgressEvent) => any;\r\n onratechange: (ev: Event) => any;\r\n onreset: (ev: Event) => any;\r\n onscroll: (ev: UIEvent) => any;\r\n onseeked: (ev: Event) => any;\r\n onseeking: (ev: Event) => any;\r\n onselect: (ev: UIEvent) => any;\r\n onselectstart: (ev: Event) => any;\r\n onstalled: (ev: Event) => any;\r\n onsubmit: (ev: Event) => any;\r\n onsuspend: (ev: Event) => any;\r\n ontimeupdate: (ev: Event) => any;\r\n onvolumechange: (ev: Event) => any;\r\n onwaiting: (ev: Event) => any;\r\n outerHTML: string;\r\n outerText: string;\r\n spellcheck: boolean;\r\n style: CSSStyleDeclaration;\r\n tabIndex: number;\r\n title: string;\r\n blur(): void;\r\n click(): void;\r\n contains(child: HTMLElement): boolean;\r\n dragDrop(): boolean;\r\n focus(): void;\r\n insertAdjacentElement(position: string, insertedElement: Element): Element;\r\n insertAdjacentHTML(where: string, html: string): void;\r\n insertAdjacentText(where: string, text: string): void;\r\n msGetInputContext(): MSInputMethodContext;\r\n scrollIntoView(top?: boolean): void;\r\n setActive(): void;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLElement: {\r\n prototype: HTMLElement;\r\n new(): HTMLElement;\r\n}\r\n\r\ninterface HTMLEmbedElement extends HTMLElement, GetSVGDocument {\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string;\r\n hidden: any;\r\n /**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */\r\n msPlayToDisabled: boolean;\r\n /**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */\r\n msPlayToPreferredSourceUri: string;\r\n /**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */\r\n msPlayToPrimary: boolean;\r\n /**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */\r\n msPlayToSource: any;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * Retrieves the palette used for the embedded document.\r\n */\r\n palette: string;\r\n /**\r\n * Retrieves the URL of the plug-in used to view an embedded document.\r\n */\r\n pluginspage: string;\r\n readyState: string;\r\n /**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */\r\n src: string;\r\n /**\r\n * Sets or retrieves the height and width units of the embed object.\r\n */\r\n units: string;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLEmbedElement: {\r\n prototype: HTMLEmbedElement;\r\n new(): HTMLEmbedElement;\r\n}\r\n\r\ninterface HTMLFieldSetElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n}\r\n\r\ndeclare var HTMLFieldSetElement: {\r\n prototype: HTMLFieldSetElement;\r\n new(): HTMLFieldSetElement;\r\n}\r\n\r\ninterface HTMLFontElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty {\r\n /**\r\n * Sets or retrieves the current typeface family.\r\n */\r\n face: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLFontElement: {\r\n prototype: HTMLFontElement;\r\n new(): HTMLFontElement;\r\n}\r\n\r\ninterface HTMLFormElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.\r\n */\r\n acceptCharset: string;\r\n /**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */\r\n action: string;\r\n /**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */\r\n autocomplete: string;\r\n /**\r\n * Retrieves a collection, in source order, of all controls in a given form.\r\n */\r\n elements: HTMLCollection;\r\n /**\r\n * Sets or retrieves the MIME encoding for the form.\r\n */\r\n encoding: string;\r\n /**\r\n * Sets or retrieves the encoding type for the form.\r\n */\r\n enctype: string;\r\n /**\r\n * Sets or retrieves the number of objects in a collection.\r\n */\r\n length: number;\r\n /**\r\n * Sets or retrieves how to send the form data to the server.\r\n */\r\n method: string;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * Designates a form that is not validated when submitted.\r\n */\r\n noValidate: boolean;\r\n /**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */\r\n target: string;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Retrieves a form object or an object from an elements collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */\r\n item(name?: any, index?: any): any;\r\n /**\r\n * Retrieves a form object or an object from an elements collection.\r\n */\r\n namedItem(name: string): any;\r\n /**\r\n * Fires when the user resets a form.\r\n */\r\n reset(): void;\r\n /**\r\n * Fires when a FORM is about to be submitted.\r\n */\r\n submit(): void;\r\n [name: string]: any;\r\n}\r\n\r\ndeclare var HTMLFormElement: {\r\n prototype: HTMLFormElement;\r\n new(): HTMLFormElement;\r\n}\r\n\r\ninterface HTMLFrameElement extends HTMLElement, GetSVGDocument {\r\n /**\r\n * Specifies the properties of a border drawn around an object.\r\n */\r\n border: string;\r\n /**\r\n * Sets or retrieves the border color of the object.\r\n */\r\n borderColor: any;\r\n /**\r\n * Retrieves the document object of the page or frame.\r\n */\r\n contentDocument: Document;\r\n /**\r\n * Retrieves the object of the specified.\r\n */\r\n contentWindow: Window;\r\n /**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */\r\n frameBorder: string;\r\n /**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */\r\n frameSpacing: any;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string | number;\r\n /**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */\r\n longDesc: string;\r\n /**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */\r\n marginHeight: string;\r\n /**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */\r\n marginWidth: string;\r\n /**\r\n * Sets or retrieves the frame name.\r\n */\r\n name: string;\r\n /**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */\r\n noResize: boolean;\r\n /**\r\n * Raised when the object has been completely received from the server.\r\n */\r\n onload: (ev: Event) => any;\r\n /**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */\r\n scrolling: string;\r\n /**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */\r\n security: any;\r\n /**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */\r\n src: string;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string | number;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLFrameElement: {\r\n prototype: HTMLFrameElement;\r\n new(): HTMLFrameElement;\r\n}\r\n\r\ninterface HTMLFrameSetElement extends HTMLElement {\r\n border: string;\r\n /**\r\n * Sets or retrieves the border color of the object.\r\n */\r\n borderColor: any;\r\n /**\r\n * Sets or retrieves the frame widths of the object.\r\n */\r\n cols: string;\r\n /**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */\r\n frameBorder: string;\r\n /**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */\r\n frameSpacing: any;\r\n name: string;\r\n onafterprint: (ev: Event) => any;\r\n onbeforeprint: (ev: Event) => any;\r\n onbeforeunload: (ev: BeforeUnloadEvent) => any;\r\n /**\r\n * Fires when the object loses the input focus.\r\n */\r\n onblur: (ev: FocusEvent) => any;\r\n onerror: (ev: Event) => any;\r\n /**\r\n * Fires when the object receives focus.\r\n */\r\n onfocus: (ev: FocusEvent) => any;\r\n onhashchange: (ev: HashChangeEvent) => any;\r\n onload: (ev: Event) => any;\r\n onmessage: (ev: MessageEvent) => any;\r\n onoffline: (ev: Event) => any;\r\n ononline: (ev: Event) => any;\r\n onorientationchange: (ev: Event) => any;\r\n onpagehide: (ev: PageTransitionEvent) => any;\r\n onpageshow: (ev: PageTransitionEvent) => any;\r\n onresize: (ev: UIEvent) => any;\r\n onstorage: (ev: StorageEvent) => any;\r\n onunload: (ev: Event) => any;\r\n /**\r\n * Sets or retrieves the frame heights of the object.\r\n */\r\n rows: string;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeunload\", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"hashchange\", listener: (ev: HashChangeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"offline\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"online\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"orientationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pagehide\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pageshow\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"resize\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"storage\", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"unload\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLFrameSetElement: {\r\n prototype: HTMLFrameSetElement;\r\n new(): HTMLFrameSetElement;\r\n}\r\n\r\ninterface HTMLHRElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves whether the horizontal rule is drawn with 3-D shading.\r\n */\r\n noShade: boolean;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLHRElement: {\r\n prototype: HTMLHRElement;\r\n new(): HTMLHRElement;\r\n}\r\n\r\ninterface HTMLHeadElement extends HTMLElement {\r\n profile: string;\r\n}\r\n\r\ndeclare var HTMLHeadElement: {\r\n prototype: HTMLHeadElement;\r\n new(): HTMLHeadElement;\r\n}\r\n\r\ninterface HTMLHeadingElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */\r\n align: string;\r\n clear: string;\r\n}\r\n\r\ndeclare var HTMLHeadingElement: {\r\n prototype: HTMLHeadingElement;\r\n new(): HTMLHeadingElement;\r\n}\r\n\r\ninterface HTMLHtmlElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the DTD version that governs the current document.\r\n */\r\n version: string;\r\n}\r\n\r\ndeclare var HTMLHtmlElement: {\r\n prototype: HTMLHtmlElement;\r\n new(): HTMLHtmlElement;\r\n}\r\n\r\ninterface HTMLIFrameElement extends HTMLElement, GetSVGDocument {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n allowFullscreen: boolean;\r\n /**\r\n * Specifies the properties of a border drawn around an object.\r\n */\r\n border: string;\r\n /**\r\n * Retrieves the document object of the page or frame.\r\n */\r\n contentDocument: Document;\r\n /**\r\n * Retrieves the object of the specified.\r\n */\r\n contentWindow: Window;\r\n /**\r\n * Sets or retrieves whether to display a border for the frame.\r\n */\r\n frameBorder: string;\r\n /**\r\n * Sets or retrieves the amount of additional space between the frames.\r\n */\r\n frameSpacing: any;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string;\r\n /**\r\n * Sets or retrieves the horizontal margin for the object.\r\n */\r\n hspace: number;\r\n /**\r\n * Sets or retrieves a URI to a long description of the object.\r\n */\r\n longDesc: string;\r\n /**\r\n * Sets or retrieves the top and bottom margin heights before displaying the text in a frame.\r\n */\r\n marginHeight: string;\r\n /**\r\n * Sets or retrieves the left and right margin widths before displaying the text in a frame.\r\n */\r\n marginWidth: string;\r\n /**\r\n * Sets or retrieves the frame name.\r\n */\r\n name: string;\r\n /**\r\n * Sets or retrieves whether the user can resize the frame.\r\n */\r\n noResize: boolean;\r\n /**\r\n * Raised when the object has been completely received from the server.\r\n */\r\n onload: (ev: Event) => any;\r\n sandbox: DOMSettableTokenList;\r\n /**\r\n * Sets or retrieves whether the frame can be scrolled.\r\n */\r\n scrolling: string;\r\n /**\r\n * Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.\r\n */\r\n security: any;\r\n /**\r\n * Sets or retrieves a URL to be loaded by the object.\r\n */\r\n src: string;\r\n /**\r\n * Sets or retrieves the vertical margin for the object.\r\n */\r\n vspace: number;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLIFrameElement: {\r\n prototype: HTMLIFrameElement;\r\n new(): HTMLIFrameElement;\r\n}\r\n\r\ninterface HTMLImageElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */\r\n alt: string;\r\n /**\r\n * Specifies the properties of a border drawn around an object.\r\n */\r\n border: string;\r\n /**\r\n * Retrieves whether the object is fully loaded.\r\n */\r\n complete: boolean;\r\n crossOrigin: string;\r\n currentSrc: string;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: number;\r\n /**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */\r\n hspace: number;\r\n /**\r\n * Sets or retrieves whether the image is a server-side image map.\r\n */\r\n isMap: boolean;\r\n /**\r\n * Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.\r\n */\r\n longDesc: string;\r\n /**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */\r\n msPlayToDisabled: boolean;\r\n msPlayToPreferredSourceUri: string;\r\n /**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */\r\n msPlayToPrimary: boolean;\r\n /**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */\r\n msPlayToSource: any;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * The original height of the image resource before sizing.\r\n */\r\n naturalHeight: number;\r\n /**\r\n * The original width of the image resource before sizing.\r\n */\r\n naturalWidth: number;\r\n /**\r\n * The address or URL of the a media resource that is to be considered.\r\n */\r\n src: string;\r\n srcset: string;\r\n /**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */\r\n useMap: string;\r\n /**\r\n * Sets or retrieves the vertical margin for the object.\r\n */\r\n vspace: number;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: number;\r\n x: number;\r\n y: number;\r\n msGetAsCastingSource(): any;\r\n}\r\n\r\ndeclare var HTMLImageElement: {\r\n prototype: HTMLImageElement;\r\n new(): HTMLImageElement;\r\n create(): HTMLImageElement;\r\n}\r\n\r\ninterface HTMLInputElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves a comma-separated list of content types.\r\n */\r\n accept: string;\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */\r\n alt: string;\r\n /**\r\n * Specifies whether autocomplete is applied to an editable text field.\r\n */\r\n autocomplete: string;\r\n /**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */\r\n autofocus: boolean;\r\n /**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */\r\n border: string;\r\n /**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */\r\n checked: boolean;\r\n /**\r\n * Retrieves whether the object is fully loaded.\r\n */\r\n complete: boolean;\r\n /**\r\n * Sets or retrieves the state of the check box or radio button.\r\n */\r\n defaultChecked: boolean;\r\n /**\r\n * Sets or retrieves the initial contents of the object.\r\n */\r\n defaultValue: string;\r\n disabled: boolean;\r\n /**\r\n * Returns a FileList object on a file type input object.\r\n */\r\n files: FileList;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in. \r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Overrides the action attribute (where the data on a form is sent) on the parent form element.\r\n */\r\n formAction: string;\r\n /**\r\n * Used to override the encoding (formEnctype attribute) specified on the form element.\r\n */\r\n formEnctype: string;\r\n /**\r\n * Overrides the submit method attribute previously specified on a form element.\r\n */\r\n formMethod: string;\r\n /**\r\n * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a \"save draft\"-type submit option.\r\n */\r\n formNoValidate: string;\r\n /**\r\n * Overrides the target attribute on a form element.\r\n */\r\n formTarget: string;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string;\r\n /**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */\r\n hspace: number;\r\n indeterminate: boolean;\r\n /**\r\n * Specifies the ID of a pre-defined datalist of options for an input element.\r\n */\r\n list: HTMLElement;\r\n /**\r\n * Defines the maximum acceptable value for an input element with type=\"number\".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.\r\n */\r\n max: string;\r\n /**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */\r\n maxLength: number;\r\n /**\r\n * Defines the minimum acceptable value for an input element with type=\"number\". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.\r\n */\r\n min: string;\r\n /**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */\r\n multiple: boolean;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * Gets or sets a string containing a regular expression that the user's input must match.\r\n */\r\n pattern: string;\r\n /**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */\r\n placeholder: string;\r\n readOnly: boolean;\r\n /**\r\n * When present, marks an element that can't be submitted without a value.\r\n */\r\n required: boolean;\r\n /**\r\n * Gets or sets the end position or offset of a text selection.\r\n */\r\n selectionEnd: number;\r\n /**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */\r\n selectionStart: number;\r\n size: number;\r\n /**\r\n * The address or URL of the a media resource that is to be considered.\r\n */\r\n src: string;\r\n status: boolean;\r\n /**\r\n * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.\r\n */\r\n step: string;\r\n /**\r\n * Returns the content type of the object.\r\n */\r\n type: string;\r\n /**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */\r\n useMap: string;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n /**\r\n * Returns the value of the data at the cursor's current position.\r\n */\r\n value: string;\r\n valueAsDate: Date;\r\n /**\r\n * Returns the input field value as a number.\r\n */\r\n valueAsNumber: number;\r\n /**\r\n * Sets or retrieves the vertical margin for the object.\r\n */\r\n vspace: number;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Creates a TextRange object for the element.\r\n */\r\n createTextRange(): TextRange;\r\n /**\r\n * Makes the selection equal to the current object.\r\n */\r\n select(): void;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n /**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n */\r\n setSelectionRange(start: number, end: number): void;\r\n /**\r\n * Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.\r\n * @param n Value to decrement the value by.\r\n */\r\n stepDown(n?: number): void;\r\n /**\r\n * Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.\r\n * @param n Value to increment the value by.\r\n */\r\n stepUp(n?: number): void;\r\n}\r\n\r\ndeclare var HTMLInputElement: {\r\n prototype: HTMLInputElement;\r\n new(): HTMLInputElement;\r\n}\r\n\r\ninterface HTMLIsIndexElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the URL to which the form content is sent for processing.\r\n */\r\n action: string;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in. \r\n */\r\n form: HTMLFormElement;\r\n prompt: string;\r\n}\r\n\r\ndeclare var HTMLIsIndexElement: {\r\n prototype: HTMLIsIndexElement;\r\n new(): HTMLIsIndexElement;\r\n}\r\n\r\ninterface HTMLLIElement extends HTMLElement {\r\n type: string;\r\n /**\r\n * Sets or retrieves the value of a list item.\r\n */\r\n value: number;\r\n}\r\n\r\ndeclare var HTMLLIElement: {\r\n prototype: HTMLLIElement;\r\n new(): HTMLLIElement;\r\n}\r\n\r\ninterface HTMLLabelElement extends HTMLElement {\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the object to which the given label object is assigned.\r\n */\r\n htmlFor: string;\r\n}\r\n\r\ndeclare var HTMLLabelElement: {\r\n prototype: HTMLLabelElement;\r\n new(): HTMLLabelElement;\r\n}\r\n\r\ninterface HTMLLegendElement extends HTMLElement {\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n align: string;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n}\r\n\r\ndeclare var HTMLLegendElement: {\r\n prototype: HTMLLegendElement;\r\n new(): HTMLLegendElement;\r\n}\r\n\r\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\r\n /**\r\n * Sets or retrieves the character set used to encode the object.\r\n */\r\n charset: string;\r\n disabled: boolean;\r\n /**\r\n * Sets or retrieves a destination URL or an anchor point.\r\n */\r\n href: string;\r\n /**\r\n * Sets or retrieves the language code of the object.\r\n */\r\n hreflang: string;\r\n /**\r\n * Sets or retrieves the media type.\r\n */\r\n media: string;\r\n /**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */\r\n rel: string;\r\n /**\r\n * Sets or retrieves the relationship between the object and the destination of the link.\r\n */\r\n rev: string;\r\n /**\r\n * Sets or retrieves the window or frame at which to target content.\r\n */\r\n target: string;\r\n /**\r\n * Sets or retrieves the MIME type of the object.\r\n */\r\n type: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLLinkElement: {\r\n prototype: HTMLLinkElement;\r\n new(): HTMLLinkElement;\r\n}\r\n\r\ninterface HTMLMapElement extends HTMLElement {\r\n /**\r\n * Retrieves a collection of the area objects defined for the given map object.\r\n */\r\n areas: HTMLAreasCollection;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n}\r\n\r\ndeclare var HTMLMapElement: {\r\n prototype: HTMLMapElement;\r\n new(): HTMLMapElement;\r\n}\r\n\r\ninterface HTMLMarqueeElement extends HTMLElement {\r\n behavior: string;\r\n bgColor: any;\r\n direction: string;\r\n height: string;\r\n hspace: number;\r\n loop: number;\r\n onbounce: (ev: Event) => any;\r\n onfinish: (ev: Event) => any;\r\n onstart: (ev: Event) => any;\r\n scrollAmount: number;\r\n scrollDelay: number;\r\n trueSpeed: boolean;\r\n vspace: number;\r\n width: string;\r\n start(): void;\r\n stop(): void;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"bounce\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"finish\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"start\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLMarqueeElement: {\r\n prototype: HTMLMarqueeElement;\r\n new(): HTMLMarqueeElement;\r\n}\r\n\r\ninterface HTMLMediaElement extends HTMLElement {\r\n /**\r\n * Returns an AudioTrackList object with the audio tracks for a given video element.\r\n */\r\n audioTracks: AudioTrackList;\r\n /**\r\n * Gets or sets a value that indicates whether to start playing the media automatically.\r\n */\r\n autoplay: boolean;\r\n /**\r\n * Gets a collection of buffered time ranges.\r\n */\r\n buffered: TimeRanges;\r\n /**\r\n * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).\r\n */\r\n controls: boolean;\r\n /**\r\n * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.\r\n */\r\n currentSrc: string;\r\n /**\r\n * Gets or sets the current playback position, in seconds.\r\n */\r\n currentTime: number;\r\n defaultMuted: boolean;\r\n /**\r\n * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.\r\n */\r\n defaultPlaybackRate: number;\r\n /**\r\n * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.\r\n */\r\n duration: number;\r\n /**\r\n * Gets information about whether the playback has ended or not.\r\n */\r\n ended: boolean;\r\n /**\r\n * Returns an object representing the current error state of the audio or video element.\r\n */\r\n error: MediaError;\r\n /**\r\n * Gets or sets a flag to specify whether playback should restart after it completes.\r\n */\r\n loop: boolean;\r\n /**\r\n * Specifies the purpose of the audio or video media, such as background audio or alerts.\r\n */\r\n msAudioCategory: string;\r\n /**\r\n * Specifies the output device id that the audio will be sent to.\r\n */\r\n msAudioDeviceType: string;\r\n msGraphicsTrustStatus: MSGraphicsTrust;\r\n /**\r\n * Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.\r\n */\r\n msKeys: MSMediaKeys;\r\n /**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */\r\n msPlayToDisabled: boolean;\r\n /**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */\r\n msPlayToPreferredSourceUri: string;\r\n /**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */\r\n msPlayToPrimary: boolean;\r\n /**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */\r\n msPlayToSource: any;\r\n /**\r\n * Specifies whether or not to enable low-latency playback on the media element.\r\n */\r\n msRealTime: boolean;\r\n /**\r\n * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.\r\n */\r\n muted: boolean;\r\n /**\r\n * Gets the current network activity for the element.\r\n */\r\n networkState: number;\r\n onmsneedkey: (ev: MSMediaKeyNeededEvent) => any;\r\n /**\r\n * Gets a flag that specifies whether playback is paused.\r\n */\r\n paused: boolean;\r\n /**\r\n * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.\r\n */\r\n playbackRate: number;\r\n /**\r\n * Gets TimeRanges for the current media resource that has been played.\r\n */\r\n played: TimeRanges;\r\n /**\r\n * Gets or sets the current playback position, in seconds.\r\n */\r\n preload: string;\r\n readyState: any;\r\n /**\r\n * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.\r\n */\r\n seekable: TimeRanges;\r\n /**\r\n * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.\r\n */\r\n seeking: boolean;\r\n /**\r\n * The address or URL of the a media resource that is to be considered.\r\n */\r\n src: string;\r\n textTracks: TextTrackList;\r\n videoTracks: VideoTrackList;\r\n /**\r\n * Gets or sets the volume level for audio portions of the media element.\r\n */\r\n volume: number;\r\n addTextTrack(kind: string, label?: string, language?: string): TextTrack;\r\n /**\r\n * Returns a string that specifies whether the client can play a given media resource type.\r\n */\r\n canPlayType(type: string): string;\r\n /**\r\n * Fires immediately after the client loads the object.\r\n */\r\n load(): void;\r\n /**\r\n * Clears all effects from the media pipeline.\r\n */\r\n msClearEffects(): void;\r\n msGetAsCastingSource(): any;\r\n /**\r\n * Inserts the specified audio effect into media pipeline.\r\n */\r\n msInsertAudioEffect(activatableClassId: string, effectRequired: boolean, config?: any): void;\r\n msSetMediaKeys(mediaKeys: MSMediaKeys): void;\r\n /**\r\n * Specifies the media protection manager for a given media pipeline.\r\n */\r\n msSetMediaProtectionManager(mediaProtectionManager?: any): void;\r\n /**\r\n * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.\r\n */\r\n pause(): void;\r\n /**\r\n * Loads and starts playback of a media resource.\r\n */\r\n play(): void;\r\n HAVE_CURRENT_DATA: number;\r\n HAVE_ENOUGH_DATA: number;\r\n HAVE_FUTURE_DATA: number;\r\n HAVE_METADATA: number;\r\n HAVE_NOTHING: number;\r\n NETWORK_EMPTY: number;\r\n NETWORK_IDLE: number;\r\n NETWORK_LOADING: number;\r\n NETWORK_NO_SOURCE: number;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"msneedkey\", listener: (ev: MSMediaKeyNeededEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLMediaElement: {\r\n prototype: HTMLMediaElement;\r\n new(): HTMLMediaElement;\r\n HAVE_CURRENT_DATA: number;\r\n HAVE_ENOUGH_DATA: number;\r\n HAVE_FUTURE_DATA: number;\r\n HAVE_METADATA: number;\r\n HAVE_NOTHING: number;\r\n NETWORK_EMPTY: number;\r\n NETWORK_IDLE: number;\r\n NETWORK_LOADING: number;\r\n NETWORK_NO_SOURCE: number;\r\n}\r\n\r\ninterface HTMLMenuElement extends HTMLElement {\r\n compact: boolean;\r\n type: string;\r\n}\r\n\r\ndeclare var HTMLMenuElement: {\r\n prototype: HTMLMenuElement;\r\n new(): HTMLMenuElement;\r\n}\r\n\r\ninterface HTMLMetaElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the character set used to encode the object.\r\n */\r\n charset: string;\r\n /**\r\n * Gets or sets meta-information to associate with httpEquiv or name.\r\n */\r\n content: string;\r\n /**\r\n * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.\r\n */\r\n httpEquiv: string;\r\n /**\r\n * Sets or retrieves the value specified in the content attribute of the meta object.\r\n */\r\n name: string;\r\n /**\r\n * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.\r\n */\r\n scheme: string;\r\n /**\r\n * Sets or retrieves the URL property that will be loaded after the specified time has elapsed. \r\n */\r\n url: string;\r\n}\r\n\r\ndeclare var HTMLMetaElement: {\r\n prototype: HTMLMetaElement;\r\n new(): HTMLMetaElement;\r\n}\r\n\r\ninterface HTMLModElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves reference information about the object.\r\n */\r\n cite: string;\r\n /**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */\r\n dateTime: string;\r\n}\r\n\r\ndeclare var HTMLModElement: {\r\n prototype: HTMLModElement;\r\n new(): HTMLModElement;\r\n}\r\n\r\ninterface HTMLNextIdElement extends HTMLElement {\r\n n: string;\r\n}\r\n\r\ndeclare var HTMLNextIdElement: {\r\n prototype: HTMLNextIdElement;\r\n new(): HTMLNextIdElement;\r\n}\r\n\r\ninterface HTMLOListElement extends HTMLElement {\r\n compact: boolean;\r\n /**\r\n * The starting number.\r\n */\r\n start: number;\r\n type: string;\r\n}\r\n\r\ndeclare var HTMLOListElement: {\r\n prototype: HTMLOListElement;\r\n new(): HTMLOListElement;\r\n}\r\n\r\ninterface HTMLObjectElement extends HTMLElement, GetSVGDocument {\r\n /**\r\n * Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.\r\n */\r\n BaseHref: string;\r\n align: string;\r\n /**\r\n * Sets or retrieves a text alternative to the graphic.\r\n */\r\n alt: string;\r\n /**\r\n * Gets or sets the optional alternative HTML script to execute if the object fails to load.\r\n */\r\n altHtml: string;\r\n /**\r\n * Sets or retrieves a character string that can be used to implement your own archive functionality for the object.\r\n */\r\n archive: string;\r\n border: string;\r\n /**\r\n * Sets or retrieves the URL of the file containing the compiled Java class.\r\n */\r\n code: string;\r\n /**\r\n * Sets or retrieves the URL of the component.\r\n */\r\n codeBase: string;\r\n /**\r\n * Sets or retrieves the Internet media type for the code associated with the object.\r\n */\r\n codeType: string;\r\n /**\r\n * Retrieves the document object of the page or frame.\r\n */\r\n contentDocument: Document;\r\n /**\r\n * Sets or retrieves the URL that references the data of the object.\r\n */\r\n data: string;\r\n declare: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: string;\r\n hspace: number;\r\n /**\r\n * Gets or sets whether the DLNA PlayTo device is available.\r\n */\r\n msPlayToDisabled: boolean;\r\n /**\r\n * Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.\r\n */\r\n msPlayToPreferredSourceUri: string;\r\n /**\r\n * Gets or sets the primary DLNA PlayTo device.\r\n */\r\n msPlayToPrimary: boolean;\r\n /**\r\n * Gets the source associated with the media element for use by the PlayToManager.\r\n */\r\n msPlayToSource: any;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * Retrieves the contained object.\r\n */\r\n object: any;\r\n readyState: number;\r\n /**\r\n * Sets or retrieves a message to be displayed while an object is loading.\r\n */\r\n standby: string;\r\n /**\r\n * Sets or retrieves the MIME type of the object.\r\n */\r\n type: string;\r\n /**\r\n * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.\r\n */\r\n useMap: string;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n vspace: number;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLObjectElement: {\r\n prototype: HTMLObjectElement;\r\n new(): HTMLObjectElement;\r\n}\r\n\r\ninterface HTMLOptGroupElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the status of an option.\r\n */\r\n defaultSelected: boolean;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */\r\n index: number;\r\n /**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */\r\n label: string;\r\n /**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */\r\n selected: boolean;\r\n /**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */\r\n text: string;\r\n /**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */\r\n value: string;\r\n}\r\n\r\ndeclare var HTMLOptGroupElement: {\r\n prototype: HTMLOptGroupElement;\r\n new(): HTMLOptGroupElement;\r\n}\r\n\r\ninterface HTMLOptionElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the status of an option.\r\n */\r\n defaultSelected: boolean;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the ordinal position of an option in a list box.\r\n */\r\n index: number;\r\n /**\r\n * Sets or retrieves a value that you can use to implement your own label functionality for the object.\r\n */\r\n label: string;\r\n /**\r\n * Sets or retrieves whether the option in the list box is the default item.\r\n */\r\n selected: boolean;\r\n /**\r\n * Sets or retrieves the text string specified by the option tag.\r\n */\r\n text: string;\r\n /**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */\r\n value: string;\r\n}\r\n\r\ndeclare var HTMLOptionElement: {\r\n prototype: HTMLOptionElement;\r\n new(): HTMLOptionElement;\r\n create(): HTMLOptionElement;\r\n}\r\n\r\ninterface HTMLParagraphElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text. \r\n */\r\n align: string;\r\n clear: string;\r\n}\r\n\r\ndeclare var HTMLParagraphElement: {\r\n prototype: HTMLParagraphElement;\r\n new(): HTMLParagraphElement;\r\n}\r\n\r\ninterface HTMLParamElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the name of an input parameter for an element.\r\n */\r\n name: string;\r\n /**\r\n * Sets or retrieves the content type of the resource designated by the value attribute.\r\n */\r\n type: string;\r\n /**\r\n * Sets or retrieves the value of an input parameter for an element.\r\n */\r\n value: string;\r\n /**\r\n * Sets or retrieves the data type of the value attribute.\r\n */\r\n valueType: string;\r\n}\r\n\r\ndeclare var HTMLParamElement: {\r\n prototype: HTMLParamElement;\r\n new(): HTMLParamElement;\r\n}\r\n\r\ninterface HTMLPhraseElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves reference information about the object.\r\n */\r\n cite: string;\r\n /**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */\r\n dateTime: string;\r\n}\r\n\r\ndeclare var HTMLPhraseElement: {\r\n prototype: HTMLPhraseElement;\r\n new(): HTMLPhraseElement;\r\n}\r\n\r\ninterface HTMLPreElement extends HTMLElement {\r\n /**\r\n * Indicates a citation by rendering text in italic type.\r\n */\r\n cite: string;\r\n clear: string;\r\n /**\r\n * Sets or gets a value that you can use to implement your own width functionality for the object.\r\n */\r\n width: number;\r\n}\r\n\r\ndeclare var HTMLPreElement: {\r\n prototype: HTMLPreElement;\r\n new(): HTMLPreElement;\r\n}\r\n\r\ninterface HTMLProgressElement extends HTMLElement {\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Defines the maximum, or \"done\" value for a progress element.\r\n */\r\n max: number;\r\n /**\r\n * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).\r\n */\r\n position: number;\r\n /**\r\n * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.\r\n */\r\n value: number;\r\n}\r\n\r\ndeclare var HTMLProgressElement: {\r\n prototype: HTMLProgressElement;\r\n new(): HTMLProgressElement;\r\n}\r\n\r\ninterface HTMLQuoteElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves reference information about the object.\r\n */\r\n cite: string;\r\n /**\r\n * Sets or retrieves the date and time of a modification to the object.\r\n */\r\n dateTime: string;\r\n}\r\n\r\ndeclare var HTMLQuoteElement: {\r\n prototype: HTMLQuoteElement;\r\n new(): HTMLQuoteElement;\r\n}\r\n\r\ninterface HTMLScriptElement extends HTMLElement {\r\n async: boolean;\r\n /**\r\n * Sets or retrieves the character set used to encode the object.\r\n */\r\n charset: string;\r\n /**\r\n * Sets or retrieves the status of the script.\r\n */\r\n defer: boolean;\r\n /**\r\n * Sets or retrieves the event for which the script is written. \r\n */\r\n event: string;\r\n /** \r\n * Sets or retrieves the object that is bound to the event script.\r\n */\r\n htmlFor: string;\r\n /**\r\n * Retrieves the URL to an external file that contains the source code or data.\r\n */\r\n src: string;\r\n /**\r\n * Retrieves or sets the text of the object as a string. \r\n */\r\n text: string;\r\n /**\r\n * Sets or retrieves the MIME type for the associated scripting engine.\r\n */\r\n type: string;\r\n}\r\n\r\ndeclare var HTMLScriptElement: {\r\n prototype: HTMLScriptElement;\r\n new(): HTMLScriptElement;\r\n}\r\n\r\ninterface HTMLSelectElement extends HTMLElement {\r\n /**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */\r\n autofocus: boolean;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in. \r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the number of objects in a collection.\r\n */\r\n length: number;\r\n /**\r\n * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.\r\n */\r\n multiple: boolean;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n options: HTMLSelectElement;\r\n /**\r\n * When present, marks an element that can't be submitted without a value.\r\n */\r\n required: boolean;\r\n /**\r\n * Sets or retrieves the index of the selected option in a select object.\r\n */\r\n selectedIndex: number;\r\n /**\r\n * Sets or retrieves the number of rows in the list box. \r\n */\r\n size: number;\r\n /**\r\n * Retrieves the type of select control based on the value of the MULTIPLE attribute.\r\n */\r\n type: string;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n /**\r\n * Sets or retrieves the value which is returned to the server when the form control is submitted.\r\n */\r\n value: string;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Adds an element to the areas, controlRange, or options collection.\r\n * @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.\r\n * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection. \r\n */\r\n add(element: HTMLElement, before?: HTMLElement | number): void;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.\r\n * @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.\r\n */\r\n item(name?: any, index?: any): any;\r\n /**\r\n * Retrieves a select object or an object from an options collection.\r\n * @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.\r\n */\r\n namedItem(name: string): any;\r\n /**\r\n * Removes an element from the collection.\r\n * @param index Number that specifies the zero-based index of the element to remove from the collection.\r\n */\r\n remove(index?: number): void;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n [name: string]: any;\r\n}\r\n\r\ndeclare var HTMLSelectElement: {\r\n prototype: HTMLSelectElement;\r\n new(): HTMLSelectElement;\r\n}\r\n\r\ninterface HTMLSourceElement extends HTMLElement {\r\n /**\r\n * Gets or sets the intended media type of the media source.\r\n */\r\n media: string;\r\n msKeySystem: string;\r\n /**\r\n * The address or URL of the a media resource that is to be considered.\r\n */\r\n src: string;\r\n /**\r\n * Gets or sets the MIME type of a media resource.\r\n */\r\n type: string;\r\n}\r\n\r\ndeclare var HTMLSourceElement: {\r\n prototype: HTMLSourceElement;\r\n new(): HTMLSourceElement;\r\n}\r\n\r\ninterface HTMLSpanElement extends HTMLElement {\r\n}\r\n\r\ndeclare var HTMLSpanElement: {\r\n prototype: HTMLSpanElement;\r\n new(): HTMLSpanElement;\r\n}\r\n\r\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\r\n /**\r\n * Sets or retrieves the media type.\r\n */\r\n media: string;\r\n /**\r\n * Retrieves the CSS language in which the style sheet is written.\r\n */\r\n type: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLStyleElement: {\r\n prototype: HTMLStyleElement;\r\n new(): HTMLStyleElement;\r\n}\r\n\r\ninterface HTMLTableCaptionElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves the alignment of the caption or legend.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves whether the caption appears at the top or bottom of the table.\r\n */\r\n vAlign: string;\r\n}\r\n\r\ndeclare var HTMLTableCaptionElement: {\r\n prototype: HTMLTableCaptionElement;\r\n new(): HTMLTableCaptionElement;\r\n}\r\n\r\ninterface HTMLTableCellElement extends HTMLElement, HTMLTableAlignment {\r\n /**\r\n * Sets or retrieves abbreviated text for the object.\r\n */\r\n abbr: string;\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves a comma-delimited list of conceptual categories associated with the object.\r\n */\r\n axis: string;\r\n bgColor: any;\r\n /**\r\n * Retrieves the position of the object in the cells collection of a row.\r\n */\r\n cellIndex: number;\r\n /**\r\n * Sets or retrieves the number columns in the table that the object should span.\r\n */\r\n colSpan: number;\r\n /**\r\n * Sets or retrieves a list of header cells that provide information for the object.\r\n */\r\n headers: string;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: any;\r\n /**\r\n * Sets or retrieves whether the browser automatically performs wordwrap.\r\n */\r\n noWrap: boolean;\r\n /**\r\n * Sets or retrieves how many rows in a table the cell should span.\r\n */\r\n rowSpan: number;\r\n /**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */\r\n scope: string;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLTableCellElement: {\r\n prototype: HTMLTableCellElement;\r\n new(): HTMLTableCellElement;\r\n}\r\n\r\ninterface HTMLTableColElement extends HTMLElement, HTMLTableAlignment {\r\n /**\r\n * Sets or retrieves the alignment of the object relative to the display or table.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves the number of columns in the group.\r\n */\r\n span: number;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: any;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLTableColElement: {\r\n prototype: HTMLTableColElement;\r\n new(): HTMLTableColElement;\r\n}\r\n\r\ninterface HTMLTableDataCellElement extends HTMLTableCellElement {\r\n}\r\n\r\ndeclare var HTMLTableDataCellElement: {\r\n prototype: HTMLTableDataCellElement;\r\n new(): HTMLTableDataCellElement;\r\n}\r\n\r\ninterface HTMLTableElement extends HTMLElement {\r\n /**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */\r\n align: string;\r\n bgColor: any;\r\n /**\r\n * Sets or retrieves the width of the border to draw around the object.\r\n */\r\n border: string;\r\n /**\r\n * Sets or retrieves the border color of the object. \r\n */\r\n borderColor: any;\r\n /**\r\n * Retrieves the caption object of a table.\r\n */\r\n caption: HTMLTableCaptionElement;\r\n /**\r\n * Sets or retrieves the amount of space between the border of the cell and the content of the cell.\r\n */\r\n cellPadding: string;\r\n /**\r\n * Sets or retrieves the amount of space between cells in a table.\r\n */\r\n cellSpacing: string;\r\n /**\r\n * Sets or retrieves the number of columns in the table.\r\n */\r\n cols: number;\r\n /**\r\n * Sets or retrieves the way the border frame around the table is displayed.\r\n */\r\n frame: string;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: any;\r\n /**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */\r\n rows: HTMLCollection;\r\n /**\r\n * Sets or retrieves which dividing lines (inner borders) are displayed.\r\n */\r\n rules: string;\r\n /**\r\n * Sets or retrieves a description and/or structure of the object.\r\n */\r\n summary: string;\r\n /**\r\n * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.\r\n */\r\n tBodies: HTMLCollection;\r\n /**\r\n * Retrieves the tFoot object of the table.\r\n */\r\n tFoot: HTMLTableSectionElement;\r\n /**\r\n * Retrieves the tHead object of the table.\r\n */\r\n tHead: HTMLTableSectionElement;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n width: string;\r\n /**\r\n * Creates an empty caption element in the table.\r\n */\r\n createCaption(): HTMLElement;\r\n /**\r\n * Creates an empty tBody element in the table.\r\n */\r\n createTBody(): HTMLElement;\r\n /**\r\n * Creates an empty tFoot element in the table.\r\n */\r\n createTFoot(): HTMLElement;\r\n /**\r\n * Returns the tHead element object if successful, or null otherwise.\r\n */\r\n createTHead(): HTMLElement;\r\n /**\r\n * Deletes the caption element and its contents from the table.\r\n */\r\n deleteCaption(): void;\r\n /**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */\r\n deleteRow(index?: number): void;\r\n /**\r\n * Deletes the tFoot element and its contents from the table.\r\n */\r\n deleteTFoot(): void;\r\n /**\r\n * Deletes the tHead element and its contents from the table.\r\n */\r\n deleteTHead(): void;\r\n /**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */\r\n insertRow(index?: number): HTMLElement;\r\n}\r\n\r\ndeclare var HTMLTableElement: {\r\n prototype: HTMLTableElement;\r\n new(): HTMLTableElement;\r\n}\r\n\r\ninterface HTMLTableHeaderCellElement extends HTMLTableCellElement {\r\n /**\r\n * Sets or retrieves the group of cells in a table to which the object's information applies.\r\n */\r\n scope: string;\r\n}\r\n\r\ndeclare var HTMLTableHeaderCellElement: {\r\n prototype: HTMLTableHeaderCellElement;\r\n new(): HTMLTableHeaderCellElement;\r\n}\r\n\r\ninterface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment {\r\n /**\r\n * Sets or retrieves how the object is aligned with adjacent text.\r\n */\r\n align: string;\r\n bgColor: any;\r\n /**\r\n * Retrieves a collection of all cells in the table row.\r\n */\r\n cells: HTMLCollection;\r\n /**\r\n * Sets or retrieves the height of the object.\r\n */\r\n height: any;\r\n /**\r\n * Retrieves the position of the object in the rows collection for the table.\r\n */\r\n rowIndex: number;\r\n /**\r\n * Retrieves the position of the object in the collection.\r\n */\r\n sectionRowIndex: number;\r\n /**\r\n * Removes the specified cell from the table row, as well as from the cells collection.\r\n * @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.\r\n */\r\n deleteCell(index?: number): void;\r\n /**\r\n * Creates a new cell in the table row, and adds the cell to the cells collection.\r\n * @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.\r\n */\r\n insertCell(index?: number): HTMLElement;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLTableRowElement: {\r\n prototype: HTMLTableRowElement;\r\n new(): HTMLTableRowElement;\r\n}\r\n\r\ninterface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment {\r\n /**\r\n * Sets or retrieves a value that indicates the table alignment.\r\n */\r\n align: string;\r\n /**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */\r\n rows: HTMLCollection;\r\n /**\r\n * Removes the specified row (tr) from the element and from the rows collection.\r\n * @param index Number that specifies the zero-based position in the rows collection of the row to remove.\r\n */\r\n deleteRow(index?: number): void;\r\n /**\r\n * Creates a new row (tr) in the table, and adds the row to the rows collection.\r\n * @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.\r\n */\r\n insertRow(index?: number): HTMLElement;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLTableSectionElement: {\r\n prototype: HTMLTableSectionElement;\r\n new(): HTMLTableSectionElement;\r\n}\r\n\r\ninterface HTMLTextAreaElement extends HTMLElement {\r\n /**\r\n * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.\r\n */\r\n autofocus: boolean;\r\n /**\r\n * Sets or retrieves the width of the object.\r\n */\r\n cols: number;\r\n /**\r\n * Sets or retrieves the initial contents of the object.\r\n */\r\n defaultValue: string;\r\n disabled: boolean;\r\n /**\r\n * Retrieves a reference to the form that the object is embedded in.\r\n */\r\n form: HTMLFormElement;\r\n /**\r\n * Sets or retrieves the maximum number of characters that the user can enter in a text control.\r\n */\r\n maxLength: number;\r\n /**\r\n * Sets or retrieves the name of the object.\r\n */\r\n name: string;\r\n /**\r\n * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.\r\n */\r\n placeholder: string;\r\n /**\r\n * Sets or retrieves the value indicated whether the content of the object is read-only.\r\n */\r\n readOnly: boolean;\r\n /**\r\n * When present, marks an element that can't be submitted without a value.\r\n */\r\n required: boolean;\r\n /**\r\n * Sets or retrieves the number of horizontal rows contained in the object.\r\n */\r\n rows: number;\r\n /**\r\n * Gets or sets the end position or offset of a text selection.\r\n */\r\n selectionEnd: number;\r\n /**\r\n * Gets or sets the starting position or offset of a text selection.\r\n */\r\n selectionStart: number;\r\n /**\r\n * Sets or retrieves the value indicating whether the control is selected.\r\n */\r\n status: any;\r\n /**\r\n * Retrieves the type of control.\r\n */\r\n type: string;\r\n /**\r\n * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as \"this is a required field\". The result is that the user sees validation messages without actually submitting.\r\n */\r\n validationMessage: string;\r\n /**\r\n * Returns a ValidityState object that represents the validity states of an element.\r\n */\r\n validity: ValidityState;\r\n /**\r\n * Retrieves or sets the text in the entry field of the textArea element.\r\n */\r\n value: string;\r\n /**\r\n * Returns whether an element will successfully validate based on forms validation rules and constraints.\r\n */\r\n willValidate: boolean;\r\n /**\r\n * Sets or retrieves how to handle wordwrapping in the object.\r\n */\r\n wrap: string;\r\n /**\r\n * Returns whether a form will validate when it is submitted, without having to submit it.\r\n */\r\n checkValidity(): boolean;\r\n /**\r\n * Creates a TextRange object for the element.\r\n */\r\n createTextRange(): TextRange;\r\n /**\r\n * Highlights the input area of a form element.\r\n */\r\n select(): void;\r\n /**\r\n * Sets a custom error message that is displayed when a form is submitted.\r\n * @param error Sets a custom error message that is displayed when a form is submitted.\r\n */\r\n setCustomValidity(error: string): void;\r\n /**\r\n * Sets the start and end positions of a selection in a text field.\r\n * @param start The offset into the text field for the start of the selection.\r\n * @param end The offset into the text field for the end of the selection.\r\n */\r\n setSelectionRange(start: number, end: number): void;\r\n}\r\n\r\ndeclare var HTMLTextAreaElement: {\r\n prototype: HTMLTextAreaElement;\r\n new(): HTMLTextAreaElement;\r\n}\r\n\r\ninterface HTMLTitleElement extends HTMLElement {\r\n /**\r\n * Retrieves or sets the text of the object as a string. \r\n */\r\n text: string;\r\n}\r\n\r\ndeclare var HTMLTitleElement: {\r\n prototype: HTMLTitleElement;\r\n new(): HTMLTitleElement;\r\n}\r\n\r\ninterface HTMLTrackElement extends HTMLElement {\r\n default: boolean;\r\n kind: string;\r\n label: string;\r\n readyState: number;\r\n src: string;\r\n srclang: string;\r\n track: TextTrack;\r\n ERROR: number;\r\n LOADED: number;\r\n LOADING: number;\r\n NONE: number;\r\n}\r\n\r\ndeclare var HTMLTrackElement: {\r\n prototype: HTMLTrackElement;\r\n new(): HTMLTrackElement;\r\n ERROR: number;\r\n LOADED: number;\r\n LOADING: number;\r\n NONE: number;\r\n}\r\n\r\ninterface HTMLUListElement extends HTMLElement {\r\n compact: boolean;\r\n type: string;\r\n}\r\n\r\ndeclare var HTMLUListElement: {\r\n prototype: HTMLUListElement;\r\n new(): HTMLUListElement;\r\n}\r\n\r\ninterface HTMLUnknownElement extends HTMLElement {\r\n}\r\n\r\ndeclare var HTMLUnknownElement: {\r\n prototype: HTMLUnknownElement;\r\n new(): HTMLUnknownElement;\r\n}\r\n\r\ninterface HTMLVideoElement extends HTMLMediaElement {\r\n /**\r\n * Gets or sets the height of the video element.\r\n */\r\n height: number;\r\n msHorizontalMirror: boolean;\r\n msIsLayoutOptimalForPlayback: boolean;\r\n msIsStereo3D: boolean;\r\n msStereo3DPackingMode: string;\r\n msStereo3DRenderMode: string;\r\n msZoom: boolean;\r\n onMSVideoFormatChanged: (ev: Event) => any;\r\n onMSVideoFrameStepCompleted: (ev: Event) => any;\r\n onMSVideoOptimalLayoutChanged: (ev: Event) => any;\r\n /**\r\n * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.\r\n */\r\n poster: string;\r\n /**\r\n * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.\r\n */\r\n videoHeight: number;\r\n /**\r\n * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.\r\n */\r\n videoWidth: number;\r\n webkitDisplayingFullscreen: boolean;\r\n webkitSupportsFullscreen: boolean;\r\n /**\r\n * Gets or sets the width of the video element.\r\n */\r\n width: number;\r\n getVideoPlaybackQuality(): VideoPlaybackQuality;\r\n msFrameStep(forward: boolean): void;\r\n msInsertVideoEffect(activatableClassId: string, effectRequired: boolean, config?: any): void;\r\n msSetVideoRectangle(left: number, top: number, right: number, bottom: number): void;\r\n webkitEnterFullScreen(): void;\r\n webkitEnterFullscreen(): void;\r\n webkitExitFullScreen(): void;\r\n webkitExitFullscreen(): void;\r\n addEventListener(type: \"MSContentZoom\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSManipulationStateChanged\", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSVideoFormatChanged\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSVideoFrameStepCompleted\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSVideoOptimalLayoutChanged\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"activate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecopy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforecut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforedeactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforepaste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"copy\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"cut\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deactivate\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"msneedkey\", listener: (ev: MSMediaKeyNeededEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"paste\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"selectstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var HTMLVideoElement: {\r\n prototype: HTMLVideoElement;\r\n new(): HTMLVideoElement;\r\n}\r\n\r\ninterface HashChangeEvent extends Event {\r\n newURL: string;\r\n oldURL: string;\r\n}\r\n\r\ndeclare var HashChangeEvent: {\r\n prototype: HashChangeEvent;\r\n new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\r\n}\r\n\r\ninterface History {\r\n length: number;\r\n state: any;\r\n back(distance?: any): void;\r\n forward(distance?: any): void;\r\n go(delta?: any): void;\r\n pushState(statedata: any, title?: string, url?: string): void;\r\n replaceState(statedata: any, title?: string, url?: string): void;\r\n}\r\n\r\ndeclare var History: {\r\n prototype: History;\r\n new(): History;\r\n}\r\n\r\ninterface IDBCursor {\r\n direction: string;\r\n key: any;\r\n primaryKey: any;\r\n source: any;\r\n advance(count: number): void;\r\n continue(key?: any): void;\r\n delete(): IDBRequest;\r\n update(value: any): IDBRequest;\r\n NEXT: string;\r\n NEXT_NO_DUPLICATE: string;\r\n PREV: string;\r\n PREV_NO_DUPLICATE: string;\r\n}\r\n\r\ndeclare var IDBCursor: {\r\n prototype: IDBCursor;\r\n new(): IDBCursor;\r\n NEXT: string;\r\n NEXT_NO_DUPLICATE: string;\r\n PREV: string;\r\n PREV_NO_DUPLICATE: string;\r\n}\r\n\r\ninterface IDBCursorWithValue extends IDBCursor {\r\n value: any;\r\n}\r\n\r\ndeclare var IDBCursorWithValue: {\r\n prototype: IDBCursorWithValue;\r\n new(): IDBCursorWithValue;\r\n}\r\n\r\ninterface IDBDatabase extends EventTarget {\r\n name: string;\r\n objectStoreNames: DOMStringList;\r\n onabort: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n version: string;\r\n close(): void;\r\n createObjectStore(name: string, optionalParameters?: any): IDBObjectStore;\r\n deleteObjectStore(name: string): void;\r\n transaction(storeNames: any, mode?: string): IDBTransaction;\r\n addEventListener(type: \"abort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var IDBDatabase: {\r\n prototype: IDBDatabase;\r\n new(): IDBDatabase;\r\n}\r\n\r\ninterface IDBFactory {\r\n cmp(first: any, second: any): number;\r\n deleteDatabase(name: string): IDBOpenDBRequest;\r\n open(name: string, version?: number): IDBOpenDBRequest;\r\n}\r\n\r\ndeclare var IDBFactory: {\r\n prototype: IDBFactory;\r\n new(): IDBFactory;\r\n}\r\n\r\ninterface IDBIndex {\r\n keyPath: string;\r\n name: string;\r\n objectStore: IDBObjectStore;\r\n unique: boolean;\r\n count(key?: any): IDBRequest;\r\n get(key: any): IDBRequest;\r\n getKey(key: any): IDBRequest;\r\n openCursor(range?: IDBKeyRange, direction?: string): IDBRequest;\r\n openKeyCursor(range?: IDBKeyRange, direction?: string): IDBRequest;\r\n}\r\n\r\ndeclare var IDBIndex: {\r\n prototype: IDBIndex;\r\n new(): IDBIndex;\r\n}\r\n\r\ninterface IDBKeyRange {\r\n lower: any;\r\n lowerOpen: boolean;\r\n upper: any;\r\n upperOpen: boolean;\r\n}\r\n\r\ndeclare var IDBKeyRange: {\r\n prototype: IDBKeyRange;\r\n new(): IDBKeyRange;\r\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\r\n lowerBound(bound: any, open?: boolean): IDBKeyRange;\r\n only(value: any): IDBKeyRange;\r\n upperBound(bound: any, open?: boolean): IDBKeyRange;\r\n}\r\n\r\ninterface IDBObjectStore {\r\n indexNames: DOMStringList;\r\n keyPath: string;\r\n name: string;\r\n transaction: IDBTransaction;\r\n add(value: any, key?: any): IDBRequest;\r\n clear(): IDBRequest;\r\n count(key?: any): IDBRequest;\r\n createIndex(name: string, keyPath: string, optionalParameters?: any): IDBIndex;\r\n delete(key: any): IDBRequest;\r\n deleteIndex(indexName: string): void;\r\n get(key: any): IDBRequest;\r\n index(name: string): IDBIndex;\r\n openCursor(range?: any, direction?: string): IDBRequest;\r\n put(value: any, key?: any): IDBRequest;\r\n}\r\n\r\ndeclare var IDBObjectStore: {\r\n prototype: IDBObjectStore;\r\n new(): IDBObjectStore;\r\n}\r\n\r\ninterface IDBOpenDBRequest extends IDBRequest {\r\n onblocked: (ev: Event) => any;\r\n onupgradeneeded: (ev: IDBVersionChangeEvent) => any;\r\n addEventListener(type: \"blocked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"success\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"upgradeneeded\", listener: (ev: IDBVersionChangeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var IDBOpenDBRequest: {\r\n prototype: IDBOpenDBRequest;\r\n new(): IDBOpenDBRequest;\r\n}\r\n\r\ninterface IDBRequest extends EventTarget {\r\n error: DOMError;\r\n onerror: (ev: Event) => any;\r\n onsuccess: (ev: Event) => any;\r\n readyState: string;\r\n result: any;\r\n source: any;\r\n transaction: IDBTransaction;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"success\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var IDBRequest: {\r\n prototype: IDBRequest;\r\n new(): IDBRequest;\r\n}\r\n\r\ninterface IDBTransaction extends EventTarget {\r\n db: IDBDatabase;\r\n error: DOMError;\r\n mode: string;\r\n onabort: (ev: Event) => any;\r\n oncomplete: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n abort(): void;\r\n objectStore(name: string): IDBObjectStore;\r\n READ_ONLY: string;\r\n READ_WRITE: string;\r\n VERSION_CHANGE: string;\r\n addEventListener(type: \"abort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"complete\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var IDBTransaction: {\r\n prototype: IDBTransaction;\r\n new(): IDBTransaction;\r\n READ_ONLY: string;\r\n READ_WRITE: string;\r\n VERSION_CHANGE: string;\r\n}\r\n\r\ninterface IDBVersionChangeEvent extends Event {\r\n newVersion: number;\r\n oldVersion: number;\r\n}\r\n\r\ndeclare var IDBVersionChangeEvent: {\r\n prototype: IDBVersionChangeEvent;\r\n new(): IDBVersionChangeEvent;\r\n}\r\n\r\ninterface ImageData {\r\n data: number[];\r\n height: number;\r\n width: number;\r\n}\r\n\r\ninterface ImageDataConstructor {\r\n prototype: ImageData;\r\n new(width: number, height: number): ImageData;\r\n new(array: Uint8ClampedArray, width: number, height: number): ImageData;\r\n}\r\n\r\ndeclare var ImageData: ImageDataConstructor; \r\n\r\ninterface KeyboardEvent extends UIEvent {\r\n altKey: boolean;\r\n char: string;\r\n charCode: number;\r\n ctrlKey: boolean;\r\n key: string;\r\n keyCode: number;\r\n locale: string;\r\n location: number;\r\n metaKey: boolean;\r\n repeat: boolean;\r\n shiftKey: boolean;\r\n which: number;\r\n getModifierState(keyArg: string): boolean;\r\n initKeyboardEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, keyArg: string, locationArg: number, modifiersListArg: string, repeat: boolean, locale: string): void;\r\n DOM_KEY_LOCATION_JOYSTICK: number;\r\n DOM_KEY_LOCATION_LEFT: number;\r\n DOM_KEY_LOCATION_MOBILE: number;\r\n DOM_KEY_LOCATION_NUMPAD: number;\r\n DOM_KEY_LOCATION_RIGHT: number;\r\n DOM_KEY_LOCATION_STANDARD: number;\r\n}\r\n\r\ndeclare var KeyboardEvent: {\r\n prototype: KeyboardEvent;\r\n new(typeArg: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\r\n DOM_KEY_LOCATION_JOYSTICK: number;\r\n DOM_KEY_LOCATION_LEFT: number;\r\n DOM_KEY_LOCATION_MOBILE: number;\r\n DOM_KEY_LOCATION_NUMPAD: number;\r\n DOM_KEY_LOCATION_RIGHT: number;\r\n DOM_KEY_LOCATION_STANDARD: number;\r\n}\r\n\r\ninterface Location {\r\n hash: string;\r\n host: string;\r\n hostname: string;\r\n href: string;\r\n origin: string;\r\n pathname: string;\r\n port: string;\r\n protocol: string;\r\n search: string;\r\n assign(url: string): void;\r\n reload(forcedReload?: boolean): void;\r\n replace(url: string): void;\r\n toString(): string;\r\n}\r\n\r\ndeclare var Location: {\r\n prototype: Location;\r\n new(): Location;\r\n}\r\n\r\ninterface LongRunningScriptDetectedEvent extends Event {\r\n executionTime: number;\r\n stopPageScriptExecution: boolean;\r\n}\r\n\r\ndeclare var LongRunningScriptDetectedEvent: {\r\n prototype: LongRunningScriptDetectedEvent;\r\n new(): LongRunningScriptDetectedEvent;\r\n}\r\n\r\ninterface MSApp {\r\n clearTemporaryWebDataAsync(): MSAppAsyncOperation;\r\n createBlobFromRandomAccessStream(type: string, seeker: any): Blob;\r\n createDataPackage(object: any): any;\r\n createDataPackageFromSelection(): any;\r\n createFileFromStorageFile(storageFile: any): File;\r\n createStreamFromInputStream(type: string, inputStream: any): MSStream;\r\n execAsyncAtPriority(asynchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): void;\r\n execAtPriority(synchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): any;\r\n getCurrentPriority(): string;\r\n getHtmlPrintDocumentSourceAsync(htmlDoc: any): any;\r\n getViewId(view: any): any;\r\n isTaskScheduledAtPriorityOrHigher(priority: string): boolean;\r\n pageHandlesAllApplicationActivations(enabled: boolean): void;\r\n suppressSubdownloadCredentialPrompts(suppress: boolean): void;\r\n terminateApp(exceptionObject: any): void;\r\n CURRENT: string;\r\n HIGH: string;\r\n IDLE: string;\r\n NORMAL: string;\r\n}\r\ndeclare var MSApp: MSApp;\r\n\r\ninterface MSAppAsyncOperation extends EventTarget {\r\n error: DOMError;\r\n oncomplete: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n readyState: number;\r\n result: any;\r\n start(): void;\r\n COMPLETED: number;\r\n ERROR: number;\r\n STARTED: number;\r\n addEventListener(type: \"complete\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MSAppAsyncOperation: {\r\n prototype: MSAppAsyncOperation;\r\n new(): MSAppAsyncOperation;\r\n COMPLETED: number;\r\n ERROR: number;\r\n STARTED: number;\r\n}\r\n\r\ninterface MSBlobBuilder {\r\n append(data: any, endings?: string): void;\r\n getBlob(contentType?: string): Blob;\r\n}\r\n\r\ndeclare var MSBlobBuilder: {\r\n prototype: MSBlobBuilder;\r\n new(): MSBlobBuilder;\r\n}\r\n\r\ninterface MSCSSMatrix {\r\n a: number;\r\n b: number;\r\n c: number;\r\n d: number;\r\n e: number;\r\n f: number;\r\n m11: number;\r\n m12: number;\r\n m13: number;\r\n m14: number;\r\n m21: number;\r\n m22: number;\r\n m23: number;\r\n m24: number;\r\n m31: number;\r\n m32: number;\r\n m33: number;\r\n m34: number;\r\n m41: number;\r\n m42: number;\r\n m43: number;\r\n m44: number;\r\n inverse(): MSCSSMatrix;\r\n multiply(secondMatrix: MSCSSMatrix): MSCSSMatrix;\r\n rotate(angleX: number, angleY?: number, angleZ?: number): MSCSSMatrix;\r\n rotateAxisAngle(x: number, y: number, z: number, angle: number): MSCSSMatrix;\r\n scale(scaleX: number, scaleY?: number, scaleZ?: number): MSCSSMatrix;\r\n setMatrixValue(value: string): void;\r\n skewX(angle: number): MSCSSMatrix;\r\n skewY(angle: number): MSCSSMatrix;\r\n toString(): string;\r\n translate(x: number, y: number, z?: number): MSCSSMatrix;\r\n}\r\n\r\ndeclare var MSCSSMatrix: {\r\n prototype: MSCSSMatrix;\r\n new(text?: string): MSCSSMatrix;\r\n}\r\n\r\ninterface MSGesture {\r\n target: Element;\r\n addPointer(pointerId: number): void;\r\n stop(): void;\r\n}\r\n\r\ndeclare var MSGesture: {\r\n prototype: MSGesture;\r\n new(): MSGesture;\r\n}\r\n\r\ninterface MSGestureEvent extends UIEvent {\r\n clientX: number;\r\n clientY: number;\r\n expansion: number;\r\n gestureObject: any;\r\n hwTimestamp: number;\r\n offsetX: number;\r\n offsetY: number;\r\n rotation: number;\r\n scale: number;\r\n screenX: number;\r\n screenY: number;\r\n translationX: number;\r\n translationY: number;\r\n velocityAngular: number;\r\n velocityExpansion: number;\r\n velocityX: number;\r\n velocityY: number;\r\n initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void;\r\n MSGESTURE_FLAG_BEGIN: number;\r\n MSGESTURE_FLAG_CANCEL: number;\r\n MSGESTURE_FLAG_END: number;\r\n MSGESTURE_FLAG_INERTIA: number;\r\n MSGESTURE_FLAG_NONE: number;\r\n}\r\n\r\ndeclare var MSGestureEvent: {\r\n prototype: MSGestureEvent;\r\n new(): MSGestureEvent;\r\n MSGESTURE_FLAG_BEGIN: number;\r\n MSGESTURE_FLAG_CANCEL: number;\r\n MSGESTURE_FLAG_END: number;\r\n MSGESTURE_FLAG_INERTIA: number;\r\n MSGESTURE_FLAG_NONE: number;\r\n}\r\n\r\ninterface MSGraphicsTrust {\r\n constrictionActive: boolean;\r\n status: string;\r\n}\r\n\r\ndeclare var MSGraphicsTrust: {\r\n prototype: MSGraphicsTrust;\r\n new(): MSGraphicsTrust;\r\n}\r\n\r\ninterface MSHTMLWebViewElement extends HTMLElement {\r\n canGoBack: boolean;\r\n canGoForward: boolean;\r\n containsFullScreenElement: boolean;\r\n documentTitle: string;\r\n height: number;\r\n settings: MSWebViewSettings;\r\n src: string;\r\n width: number;\r\n addWebAllowedObject(name: string, applicationObject: any): void;\r\n buildLocalStreamUri(contentIdentifier: string, relativePath: string): string;\r\n capturePreviewToBlobAsync(): MSWebViewAsyncOperation;\r\n captureSelectedContentToDataPackageAsync(): MSWebViewAsyncOperation;\r\n getDeferredPermissionRequestById(id: number): DeferredPermissionRequest;\r\n getDeferredPermissionRequests(): DeferredPermissionRequest[];\r\n goBack(): void;\r\n goForward(): void;\r\n invokeScriptAsync(scriptName: string, ...args: any[]): MSWebViewAsyncOperation;\r\n navigate(uri: string): void;\r\n navigateToLocalStreamUri(source: string, streamResolver: any): void;\r\n navigateToString(contents: string): void;\r\n navigateWithHttpRequestMessage(requestMessage: any): void;\r\n refresh(): void;\r\n stop(): void;\r\n}\r\n\r\ndeclare var MSHTMLWebViewElement: {\r\n prototype: MSHTMLWebViewElement;\r\n new(): MSHTMLWebViewElement;\r\n}\r\n\r\ninterface MSHeaderFooter {\r\n URL: string;\r\n dateLong: string;\r\n dateShort: string;\r\n font: string;\r\n htmlFoot: string;\r\n htmlHead: string;\r\n page: number;\r\n pageTotal: number;\r\n textFoot: string;\r\n textHead: string;\r\n timeLong: string;\r\n timeShort: string;\r\n title: string;\r\n}\r\n\r\ndeclare var MSHeaderFooter: {\r\n prototype: MSHeaderFooter;\r\n new(): MSHeaderFooter;\r\n}\r\n\r\ninterface MSInputMethodContext extends EventTarget {\r\n compositionEndOffset: number;\r\n compositionStartOffset: number;\r\n oncandidatewindowhide: (ev: Event) => any;\r\n oncandidatewindowshow: (ev: Event) => any;\r\n oncandidatewindowupdate: (ev: Event) => any;\r\n target: HTMLElement;\r\n getCandidateWindowClientRect(): ClientRect;\r\n getCompositionAlternatives(): string[];\r\n hasComposition(): boolean;\r\n isCandidateWindowVisible(): boolean;\r\n addEventListener(type: \"MSCandidateWindowHide\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSCandidateWindowShow\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSCandidateWindowUpdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MSInputMethodContext: {\r\n prototype: MSInputMethodContext;\r\n new(): MSInputMethodContext;\r\n}\r\n\r\ninterface MSManipulationEvent extends UIEvent {\r\n currentState: number;\r\n inertiaDestinationX: number;\r\n inertiaDestinationY: number;\r\n lastState: number;\r\n initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void;\r\n MS_MANIPULATION_STATE_ACTIVE: number;\r\n MS_MANIPULATION_STATE_CANCELLED: number;\r\n MS_MANIPULATION_STATE_COMMITTED: number;\r\n MS_MANIPULATION_STATE_DRAGGING: number;\r\n MS_MANIPULATION_STATE_INERTIA: number;\r\n MS_MANIPULATION_STATE_PRESELECT: number;\r\n MS_MANIPULATION_STATE_SELECTING: number;\r\n MS_MANIPULATION_STATE_STOPPED: number;\r\n}\r\n\r\ndeclare var MSManipulationEvent: {\r\n prototype: MSManipulationEvent;\r\n new(): MSManipulationEvent;\r\n MS_MANIPULATION_STATE_ACTIVE: number;\r\n MS_MANIPULATION_STATE_CANCELLED: number;\r\n MS_MANIPULATION_STATE_COMMITTED: number;\r\n MS_MANIPULATION_STATE_DRAGGING: number;\r\n MS_MANIPULATION_STATE_INERTIA: number;\r\n MS_MANIPULATION_STATE_PRESELECT: number;\r\n MS_MANIPULATION_STATE_SELECTING: number;\r\n MS_MANIPULATION_STATE_STOPPED: number;\r\n}\r\n\r\ninterface MSMediaKeyError {\r\n code: number;\r\n systemCode: number;\r\n MS_MEDIA_KEYERR_CLIENT: number;\r\n MS_MEDIA_KEYERR_DOMAIN: number;\r\n MS_MEDIA_KEYERR_HARDWARECHANGE: number;\r\n MS_MEDIA_KEYERR_OUTPUT: number;\r\n MS_MEDIA_KEYERR_SERVICE: number;\r\n MS_MEDIA_KEYERR_UNKNOWN: number;\r\n}\r\n\r\ndeclare var MSMediaKeyError: {\r\n prototype: MSMediaKeyError;\r\n new(): MSMediaKeyError;\r\n MS_MEDIA_KEYERR_CLIENT: number;\r\n MS_MEDIA_KEYERR_DOMAIN: number;\r\n MS_MEDIA_KEYERR_HARDWARECHANGE: number;\r\n MS_MEDIA_KEYERR_OUTPUT: number;\r\n MS_MEDIA_KEYERR_SERVICE: number;\r\n MS_MEDIA_KEYERR_UNKNOWN: number;\r\n}\r\n\r\ninterface MSMediaKeyMessageEvent extends Event {\r\n destinationURL: string;\r\n message: Uint8Array;\r\n}\r\n\r\ndeclare var MSMediaKeyMessageEvent: {\r\n prototype: MSMediaKeyMessageEvent;\r\n new(): MSMediaKeyMessageEvent;\r\n}\r\n\r\ninterface MSMediaKeyNeededEvent extends Event {\r\n initData: Uint8Array;\r\n}\r\n\r\ndeclare var MSMediaKeyNeededEvent: {\r\n prototype: MSMediaKeyNeededEvent;\r\n new(): MSMediaKeyNeededEvent;\r\n}\r\n\r\ninterface MSMediaKeySession extends EventTarget {\r\n error: MSMediaKeyError;\r\n keySystem: string;\r\n sessionId: string;\r\n close(): void;\r\n update(key: Uint8Array): void;\r\n}\r\n\r\ndeclare var MSMediaKeySession: {\r\n prototype: MSMediaKeySession;\r\n new(): MSMediaKeySession;\r\n}\r\n\r\ninterface MSMediaKeys {\r\n keySystem: string;\r\n createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array): MSMediaKeySession;\r\n}\r\n\r\ndeclare var MSMediaKeys: {\r\n prototype: MSMediaKeys;\r\n new(keySystem: string): MSMediaKeys;\r\n isTypeSupported(keySystem: string, type?: string): boolean;\r\n}\r\n\r\ninterface MSMimeTypesCollection {\r\n length: number;\r\n}\r\n\r\ndeclare var MSMimeTypesCollection: {\r\n prototype: MSMimeTypesCollection;\r\n new(): MSMimeTypesCollection;\r\n}\r\n\r\ninterface MSPluginsCollection {\r\n length: number;\r\n refresh(reload?: boolean): void;\r\n}\r\n\r\ndeclare var MSPluginsCollection: {\r\n prototype: MSPluginsCollection;\r\n new(): MSPluginsCollection;\r\n}\r\n\r\ninterface MSPointerEvent extends MouseEvent {\r\n currentPoint: any;\r\n height: number;\r\n hwTimestamp: number;\r\n intermediatePoints: any;\r\n isPrimary: boolean;\r\n pointerId: number;\r\n pointerType: any;\r\n pressure: number;\r\n rotation: number;\r\n tiltX: number;\r\n tiltY: number;\r\n width: number;\r\n getCurrentPoint(element: Element): void;\r\n getIntermediatePoints(element: Element): void;\r\n initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;\r\n}\r\n\r\ndeclare var MSPointerEvent: {\r\n prototype: MSPointerEvent;\r\n new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent;\r\n}\r\n\r\ninterface MSPrintManagerTemplatePrinter extends MSTemplatePrinter, EventTarget {\r\n percentScale: number;\r\n showHeaderFooter: boolean;\r\n shrinkToFit: boolean;\r\n drawPreviewPage(element: HTMLElement, pageNumber: number): void;\r\n endPrint(): void;\r\n getPrintTaskOptionValue(key: string): any;\r\n invalidatePreview(): void;\r\n setPageCount(pageCount: number): void;\r\n startPrint(): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MSPrintManagerTemplatePrinter: {\r\n prototype: MSPrintManagerTemplatePrinter;\r\n new(): MSPrintManagerTemplatePrinter;\r\n}\r\n\r\ninterface MSRangeCollection {\r\n length: number;\r\n item(index: number): Range;\r\n [index: number]: Range;\r\n}\r\n\r\ndeclare var MSRangeCollection: {\r\n prototype: MSRangeCollection;\r\n new(): MSRangeCollection;\r\n}\r\n\r\ninterface MSSiteModeEvent extends Event {\r\n actionURL: string;\r\n buttonID: number;\r\n}\r\n\r\ndeclare var MSSiteModeEvent: {\r\n prototype: MSSiteModeEvent;\r\n new(): MSSiteModeEvent;\r\n}\r\n\r\ninterface MSStream {\r\n type: string;\r\n msClose(): void;\r\n msDetachStream(): any;\r\n}\r\n\r\ndeclare var MSStream: {\r\n prototype: MSStream;\r\n new(): MSStream;\r\n}\r\n\r\ninterface MSStreamReader extends EventTarget, MSBaseReader {\r\n error: DOMError;\r\n readAsArrayBuffer(stream: MSStream, size?: number): void;\r\n readAsBinaryString(stream: MSStream, size?: number): void;\r\n readAsBlob(stream: MSStream, size?: number): void;\r\n readAsDataURL(stream: MSStream, size?: number): void;\r\n readAsText(stream: MSStream, encoding?: string, size?: number): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MSStreamReader: {\r\n prototype: MSStreamReader;\r\n new(): MSStreamReader;\r\n}\r\n\r\ninterface MSTemplatePrinter {\r\n collate: boolean;\r\n copies: number;\r\n currentPage: boolean;\r\n currentPageAvail: boolean;\r\n duplex: boolean;\r\n footer: string;\r\n frameActive: boolean;\r\n frameActiveEnabled: boolean;\r\n frameAsShown: boolean;\r\n framesetDocument: boolean;\r\n header: string;\r\n headerFooterFont: string;\r\n marginBottom: number;\r\n marginLeft: number;\r\n marginRight: number;\r\n marginTop: number;\r\n orientation: string;\r\n pageFrom: number;\r\n pageHeight: number;\r\n pageTo: number;\r\n pageWidth: number;\r\n selectedPages: boolean;\r\n selection: boolean;\r\n selectionEnabled: boolean;\r\n unprintableBottom: number;\r\n unprintableLeft: number;\r\n unprintableRight: number;\r\n unprintableTop: number;\r\n usePrinterCopyCollate: boolean;\r\n createHeaderFooter(): MSHeaderFooter;\r\n deviceSupports(property: string): any;\r\n ensurePrintDialogDefaults(): boolean;\r\n getPageMarginBottom(pageRule: CSSPageRule, pageWidth: number, pageHeight: number): any;\r\n getPageMarginBottomImportant(pageRule: CSSPageRule): boolean;\r\n getPageMarginLeft(pageRule: CSSPageRule, pageWidth: number, pageHeight: number): any;\r\n getPageMarginLeftImportant(pageRule: CSSPageRule): boolean;\r\n getPageMarginRight(pageRule: CSSPageRule, pageWidth: number, pageHeight: number): any;\r\n getPageMarginRightImportant(pageRule: CSSPageRule): boolean;\r\n getPageMarginTop(pageRule: CSSPageRule, pageWidth: number, pageHeight: number): any;\r\n getPageMarginTopImportant(pageRule: CSSPageRule): boolean;\r\n printBlankPage(): void;\r\n printNonNative(document: any): boolean;\r\n printNonNativeFrames(document: any, activeFrame: boolean): void;\r\n printPage(element: HTMLElement): void;\r\n showPageSetupDialog(): boolean;\r\n showPrintDialog(): boolean;\r\n startDoc(title: string): boolean;\r\n stopDoc(): void;\r\n updatePageStatus(status: number): void;\r\n}\r\n\r\ndeclare var MSTemplatePrinter: {\r\n prototype: MSTemplatePrinter;\r\n new(): MSTemplatePrinter;\r\n}\r\n\r\ninterface MSWebViewAsyncOperation extends EventTarget {\r\n error: DOMError;\r\n oncomplete: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n readyState: number;\r\n result: any;\r\n target: MSHTMLWebViewElement;\r\n type: number;\r\n start(): void;\r\n COMPLETED: number;\r\n ERROR: number;\r\n STARTED: number;\r\n TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number;\r\n TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number;\r\n TYPE_INVOKE_SCRIPT: number;\r\n addEventListener(type: \"complete\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MSWebViewAsyncOperation: {\r\n prototype: MSWebViewAsyncOperation;\r\n new(): MSWebViewAsyncOperation;\r\n COMPLETED: number;\r\n ERROR: number;\r\n STARTED: number;\r\n TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number;\r\n TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number;\r\n TYPE_INVOKE_SCRIPT: number;\r\n}\r\n\r\ninterface MSWebViewSettings {\r\n isIndexedDBEnabled: boolean;\r\n isJavaScriptEnabled: boolean;\r\n}\r\n\r\ndeclare var MSWebViewSettings: {\r\n prototype: MSWebViewSettings;\r\n new(): MSWebViewSettings;\r\n}\r\n\r\ninterface MediaElementAudioSourceNode extends AudioNode {\r\n}\r\n\r\ndeclare var MediaElementAudioSourceNode: {\r\n prototype: MediaElementAudioSourceNode;\r\n new(): MediaElementAudioSourceNode;\r\n}\r\n\r\ninterface MediaError {\r\n code: number;\r\n msExtendedCode: number;\r\n MEDIA_ERR_ABORTED: number;\r\n MEDIA_ERR_DECODE: number;\r\n MEDIA_ERR_NETWORK: number;\r\n MEDIA_ERR_SRC_NOT_SUPPORTED: number;\r\n MS_MEDIA_ERR_ENCRYPTED: number;\r\n}\r\n\r\ndeclare var MediaError: {\r\n prototype: MediaError;\r\n new(): MediaError;\r\n MEDIA_ERR_ABORTED: number;\r\n MEDIA_ERR_DECODE: number;\r\n MEDIA_ERR_NETWORK: number;\r\n MEDIA_ERR_SRC_NOT_SUPPORTED: number;\r\n MS_MEDIA_ERR_ENCRYPTED: number;\r\n}\r\n\r\ninterface MediaList {\r\n length: number;\r\n mediaText: string;\r\n appendMedium(newMedium: string): void;\r\n deleteMedium(oldMedium: string): void;\r\n item(index: number): string;\r\n toString(): string;\r\n [index: number]: string;\r\n}\r\n\r\ndeclare var MediaList: {\r\n prototype: MediaList;\r\n new(): MediaList;\r\n}\r\n\r\ninterface MediaQueryList {\r\n matches: boolean;\r\n media: string;\r\n addListener(listener: MediaQueryListListener): void;\r\n removeListener(listener: MediaQueryListListener): void;\r\n}\r\n\r\ndeclare var MediaQueryList: {\r\n prototype: MediaQueryList;\r\n new(): MediaQueryList;\r\n}\r\n\r\ninterface MediaSource extends EventTarget {\r\n activeSourceBuffers: SourceBufferList;\r\n duration: number;\r\n readyState: number;\r\n sourceBuffers: SourceBufferList;\r\n addSourceBuffer(type: string): SourceBuffer;\r\n endOfStream(error?: number): void;\r\n removeSourceBuffer(sourceBuffer: SourceBuffer): void;\r\n}\r\n\r\ndeclare var MediaSource: {\r\n prototype: MediaSource;\r\n new(): MediaSource;\r\n isTypeSupported(type: string): boolean;\r\n}\r\n\r\ninterface MessageChannel {\r\n port1: MessagePort;\r\n port2: MessagePort;\r\n}\r\n\r\ndeclare var MessageChannel: {\r\n prototype: MessageChannel;\r\n new(): MessageChannel;\r\n}\r\n\r\ninterface MessageEvent extends Event {\r\n data: any;\r\n origin: string;\r\n ports: any;\r\n source: Window;\r\n initMessageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, dataArg: any, originArg: string, lastEventIdArg: string, sourceArg: Window): void;\r\n}\r\n\r\ndeclare var MessageEvent: {\r\n prototype: MessageEvent;\r\n new(): MessageEvent;\r\n}\r\n\r\ninterface MessagePort extends EventTarget {\r\n onmessage: (ev: MessageEvent) => any;\r\n close(): void;\r\n postMessage(message?: any, ports?: any): void;\r\n start(): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var MessagePort: {\r\n prototype: MessagePort;\r\n new(): MessagePort;\r\n}\r\n\r\ninterface MimeType {\r\n description: string;\r\n enabledPlugin: Plugin;\r\n suffixes: string;\r\n type: string;\r\n}\r\n\r\ndeclare var MimeType: {\r\n prototype: MimeType;\r\n new(): MimeType;\r\n}\r\n\r\ninterface MimeTypeArray {\r\n length: number;\r\n item(index: number): Plugin;\r\n namedItem(type: string): Plugin;\r\n [index: number]: Plugin;\r\n}\r\n\r\ndeclare var MimeTypeArray: {\r\n prototype: MimeTypeArray;\r\n new(): MimeTypeArray;\r\n}\r\n\r\ninterface MouseEvent extends UIEvent {\r\n altKey: boolean;\r\n button: number;\r\n buttons: number;\r\n clientX: number;\r\n clientY: number;\r\n ctrlKey: boolean;\r\n fromElement: Element;\r\n layerX: number;\r\n layerY: number;\r\n metaKey: boolean;\r\n movementX: number;\r\n movementY: number;\r\n offsetX: number;\r\n offsetY: number;\r\n pageX: number;\r\n pageY: number;\r\n relatedTarget: EventTarget;\r\n screenX: number;\r\n screenY: number;\r\n shiftKey: boolean;\r\n toElement: Element;\r\n which: number;\r\n x: number;\r\n y: number;\r\n getModifierState(keyArg: string): boolean;\r\n initMouseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget): void;\r\n}\r\n\r\ndeclare var MouseEvent: {\r\n prototype: MouseEvent;\r\n new(typeArg: string, eventInitDict?: MouseEventInit): MouseEvent;\r\n}\r\n\r\ninterface MouseWheelEvent extends MouseEvent {\r\n wheelDelta: number;\r\n wheelDeltaX: number;\r\n wheelDeltaY: number;\r\n initMouseWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, wheelDeltaArg: number): void;\r\n}\r\n\r\ndeclare var MouseWheelEvent: {\r\n prototype: MouseWheelEvent;\r\n new(): MouseWheelEvent;\r\n}\r\n\r\ninterface MutationEvent extends Event {\r\n attrChange: number;\r\n attrName: string;\r\n newValue: string;\r\n prevValue: string;\r\n relatedNode: Node;\r\n initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void;\r\n ADDITION: number;\r\n MODIFICATION: number;\r\n REMOVAL: number;\r\n}\r\n\r\ndeclare var MutationEvent: {\r\n prototype: MutationEvent;\r\n new(): MutationEvent;\r\n ADDITION: number;\r\n MODIFICATION: number;\r\n REMOVAL: number;\r\n}\r\n\r\ninterface MutationObserver {\r\n disconnect(): void;\r\n observe(target: Node, options: MutationObserverInit): void;\r\n takeRecords(): MutationRecord[];\r\n}\r\n\r\ndeclare var MutationObserver: {\r\n prototype: MutationObserver;\r\n new(callback: MutationCallback): MutationObserver;\r\n}\r\n\r\ninterface MutationRecord {\r\n addedNodes: NodeList;\r\n attributeName: string;\r\n attributeNamespace: string;\r\n nextSibling: Node;\r\n oldValue: string;\r\n previousSibling: Node;\r\n removedNodes: NodeList;\r\n target: Node;\r\n type: string;\r\n}\r\n\r\ndeclare var MutationRecord: {\r\n prototype: MutationRecord;\r\n new(): MutationRecord;\r\n}\r\n\r\ninterface NamedNodeMap {\r\n length: number;\r\n getNamedItem(name: string): Attr;\r\n getNamedItemNS(namespaceURI: string, localName: string): Attr;\r\n item(index: number): Attr;\r\n removeNamedItem(name: string): Attr;\r\n removeNamedItemNS(namespaceURI: string, localName: string): Attr;\r\n setNamedItem(arg: Attr): Attr;\r\n setNamedItemNS(arg: Attr): Attr;\r\n [index: number]: Attr;\r\n}\r\n\r\ndeclare var NamedNodeMap: {\r\n prototype: NamedNodeMap;\r\n new(): NamedNodeMap;\r\n}\r\n\r\ninterface NavigationCompletedEvent extends NavigationEvent {\r\n isSuccess: boolean;\r\n webErrorStatus: number;\r\n}\r\n\r\ndeclare var NavigationCompletedEvent: {\r\n prototype: NavigationCompletedEvent;\r\n new(): NavigationCompletedEvent;\r\n}\r\n\r\ninterface NavigationEvent extends Event {\r\n uri: string;\r\n}\r\n\r\ndeclare var NavigationEvent: {\r\n prototype: NavigationEvent;\r\n new(): NavigationEvent;\r\n}\r\n\r\ninterface NavigationEventWithReferrer extends NavigationEvent {\r\n referer: string;\r\n}\r\n\r\ndeclare var NavigationEventWithReferrer: {\r\n prototype: NavigationEventWithReferrer;\r\n new(): NavigationEventWithReferrer;\r\n}\r\n\r\ninterface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorContentUtils, NavigatorStorageUtils, NavigatorGeolocation, MSNavigatorDoNotTrack, MSFileSaver {\r\n appCodeName: string;\r\n appMinorVersion: string;\r\n browserLanguage: string;\r\n connectionSpeed: number;\r\n cookieEnabled: boolean;\r\n cpuClass: string;\r\n language: string;\r\n maxTouchPoints: number;\r\n mimeTypes: MSMimeTypesCollection;\r\n msManipulationViewsEnabled: boolean;\r\n msMaxTouchPoints: number;\r\n msPointerEnabled: boolean;\r\n plugins: MSPluginsCollection;\r\n pointerEnabled: boolean;\r\n systemLanguage: string;\r\n userLanguage: string;\r\n webdriver: boolean;\r\n getGamepads(): Gamepad[];\r\n javaEnabled(): boolean;\r\n msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var Navigator: {\r\n prototype: Navigator;\r\n new(): Navigator;\r\n}\r\n\r\ninterface Node extends EventTarget {\r\n attributes: NamedNodeMap;\r\n baseURI: string;\r\n childNodes: NodeList;\r\n firstChild: Node;\r\n lastChild: Node;\r\n localName: string;\r\n namespaceURI: string;\r\n nextSibling: Node;\r\n nodeName: string;\r\n nodeType: number;\r\n nodeValue: string;\r\n ownerDocument: Document;\r\n parentElement: HTMLElement;\r\n parentNode: Node;\r\n prefix: string;\r\n previousSibling: Node;\r\n textContent: string;\r\n appendChild(newChild: Node): Node;\r\n cloneNode(deep?: boolean): Node;\r\n compareDocumentPosition(other: Node): number;\r\n hasAttributes(): boolean;\r\n hasChildNodes(): boolean;\r\n insertBefore(newChild: Node, refChild?: Node): Node;\r\n isDefaultNamespace(namespaceURI: string): boolean;\r\n isEqualNode(arg: Node): boolean;\r\n isSameNode(other: Node): boolean;\r\n lookupNamespaceURI(prefix: string): string;\r\n lookupPrefix(namespaceURI: string): string;\r\n normalize(): void;\r\n removeChild(oldChild: Node): Node;\r\n replaceChild(newChild: Node, oldChild: Node): Node;\r\n ATTRIBUTE_NODE: number;\r\n CDATA_SECTION_NODE: number;\r\n COMMENT_NODE: number;\r\n DOCUMENT_FRAGMENT_NODE: number;\r\n DOCUMENT_NODE: number;\r\n DOCUMENT_POSITION_CONTAINED_BY: number;\r\n DOCUMENT_POSITION_CONTAINS: number;\r\n DOCUMENT_POSITION_DISCONNECTED: number;\r\n DOCUMENT_POSITION_FOLLOWING: number;\r\n DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\r\n DOCUMENT_POSITION_PRECEDING: number;\r\n DOCUMENT_TYPE_NODE: number;\r\n ELEMENT_NODE: number;\r\n ENTITY_NODE: number;\r\n ENTITY_REFERENCE_NODE: number;\r\n NOTATION_NODE: number;\r\n PROCESSING_INSTRUCTION_NODE: number;\r\n TEXT_NODE: number;\r\n}\r\n\r\ndeclare var Node: {\r\n prototype: Node;\r\n new(): Node;\r\n ATTRIBUTE_NODE: number;\r\n CDATA_SECTION_NODE: number;\r\n COMMENT_NODE: number;\r\n DOCUMENT_FRAGMENT_NODE: number;\r\n DOCUMENT_NODE: number;\r\n DOCUMENT_POSITION_CONTAINED_BY: number;\r\n DOCUMENT_POSITION_CONTAINS: number;\r\n DOCUMENT_POSITION_DISCONNECTED: number;\r\n DOCUMENT_POSITION_FOLLOWING: number;\r\n DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\r\n DOCUMENT_POSITION_PRECEDING: number;\r\n DOCUMENT_TYPE_NODE: number;\r\n ELEMENT_NODE: number;\r\n ENTITY_NODE: number;\r\n ENTITY_REFERENCE_NODE: number;\r\n NOTATION_NODE: number;\r\n PROCESSING_INSTRUCTION_NODE: number;\r\n TEXT_NODE: number;\r\n}\r\n\r\ninterface NodeFilter {\r\n FILTER_ACCEPT: number;\r\n FILTER_REJECT: number;\r\n FILTER_SKIP: number;\r\n SHOW_ALL: number;\r\n SHOW_ATTRIBUTE: number;\r\n SHOW_CDATA_SECTION: number;\r\n SHOW_COMMENT: number;\r\n SHOW_DOCUMENT: number;\r\n SHOW_DOCUMENT_FRAGMENT: number;\r\n SHOW_DOCUMENT_TYPE: number;\r\n SHOW_ELEMENT: number;\r\n SHOW_ENTITY: number;\r\n SHOW_ENTITY_REFERENCE: number;\r\n SHOW_NOTATION: number;\r\n SHOW_PROCESSING_INSTRUCTION: number;\r\n SHOW_TEXT: number;\r\n}\r\ndeclare var NodeFilter: NodeFilter;\r\n\r\ninterface NodeIterator {\r\n expandEntityReferences: boolean;\r\n filter: NodeFilter;\r\n root: Node;\r\n whatToShow: number;\r\n detach(): void;\r\n nextNode(): Node;\r\n previousNode(): Node;\r\n}\r\n\r\ndeclare var NodeIterator: {\r\n prototype: NodeIterator;\r\n new(): NodeIterator;\r\n}\r\n\r\ninterface NodeList {\r\n length: number;\r\n item(index: number): Node;\r\n [index: number]: Node;\r\n}\r\n\r\ndeclare var NodeList: {\r\n prototype: NodeList;\r\n new(): NodeList;\r\n}\r\n\r\ninterface OES_element_index_uint {\r\n}\r\n\r\ndeclare var OES_element_index_uint: {\r\n prototype: OES_element_index_uint;\r\n new(): OES_element_index_uint;\r\n}\r\n\r\ninterface OES_standard_derivatives {\r\n FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number;\r\n}\r\n\r\ndeclare var OES_standard_derivatives: {\r\n prototype: OES_standard_derivatives;\r\n new(): OES_standard_derivatives;\r\n FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number;\r\n}\r\n\r\ninterface OES_texture_float {\r\n}\r\n\r\ndeclare var OES_texture_float: {\r\n prototype: OES_texture_float;\r\n new(): OES_texture_float;\r\n}\r\n\r\ninterface OES_texture_float_linear {\r\n}\r\n\r\ndeclare var OES_texture_float_linear: {\r\n prototype: OES_texture_float_linear;\r\n new(): OES_texture_float_linear;\r\n}\r\n\r\ninterface OfflineAudioCompletionEvent extends Event {\r\n renderedBuffer: AudioBuffer;\r\n}\r\n\r\ndeclare var OfflineAudioCompletionEvent: {\r\n prototype: OfflineAudioCompletionEvent;\r\n new(): OfflineAudioCompletionEvent;\r\n}\r\n\r\ninterface OfflineAudioContext extends AudioContext {\r\n oncomplete: (ev: Event) => any;\r\n startRendering(): void;\r\n addEventListener(type: \"complete\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var OfflineAudioContext: {\r\n prototype: OfflineAudioContext;\r\n new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;\r\n}\r\n\r\ninterface OscillatorNode extends AudioNode {\r\n detune: AudioParam;\r\n frequency: AudioParam;\r\n onended: (ev: Event) => any;\r\n type: string;\r\n setPeriodicWave(periodicWave: PeriodicWave): void;\r\n start(when?: number): void;\r\n stop(when?: number): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var OscillatorNode: {\r\n prototype: OscillatorNode;\r\n new(): OscillatorNode;\r\n}\r\n\r\ninterface PageTransitionEvent extends Event {\r\n persisted: boolean;\r\n}\r\n\r\ndeclare var PageTransitionEvent: {\r\n prototype: PageTransitionEvent;\r\n new(): PageTransitionEvent;\r\n}\r\n\r\ninterface PannerNode extends AudioNode {\r\n coneInnerAngle: number;\r\n coneOuterAngle: number;\r\n coneOuterGain: number;\r\n distanceModel: string;\r\n maxDistance: number;\r\n panningModel: string;\r\n refDistance: number;\r\n rolloffFactor: number;\r\n setOrientation(x: number, y: number, z: number): void;\r\n setPosition(x: number, y: number, z: number): void;\r\n setVelocity(x: number, y: number, z: number): void;\r\n}\r\n\r\ndeclare var PannerNode: {\r\n prototype: PannerNode;\r\n new(): PannerNode;\r\n}\r\n\r\ninterface PerfWidgetExternal {\r\n activeNetworkRequestCount: number;\r\n averageFrameTime: number;\r\n averagePaintTime: number;\r\n extraInformationEnabled: boolean;\r\n independentRenderingEnabled: boolean;\r\n irDisablingContentString: string;\r\n irStatusAvailable: boolean;\r\n maxCpuSpeed: number;\r\n paintRequestsPerSecond: number;\r\n performanceCounter: number;\r\n performanceCounterFrequency: number;\r\n addEventListener(eventType: string, callback: Function): void;\r\n getMemoryUsage(): number;\r\n getProcessCpuUsage(): number;\r\n getRecentCpuUsage(last: number): any;\r\n getRecentFrames(last: number): any;\r\n getRecentMemoryUsage(last: number): any;\r\n getRecentPaintRequests(last: number): any;\r\n removeEventListener(eventType: string, callback: Function): void;\r\n repositionWindow(x: number, y: number): void;\r\n resizeWindow(width: number, height: number): void;\r\n}\r\n\r\ndeclare var PerfWidgetExternal: {\r\n prototype: PerfWidgetExternal;\r\n new(): PerfWidgetExternal;\r\n}\r\n\r\ninterface Performance {\r\n navigation: PerformanceNavigation;\r\n timing: PerformanceTiming;\r\n clearMarks(markName?: string): void;\r\n clearMeasures(measureName?: string): void;\r\n clearResourceTimings(): void;\r\n getEntries(): any;\r\n getEntriesByName(name: string, entryType?: string): any;\r\n getEntriesByType(entryType: string): any;\r\n getMarks(markName?: string): any;\r\n getMeasures(measureName?: string): any;\r\n mark(markName: string): void;\r\n measure(measureName: string, startMarkName?: string, endMarkName?: string): void;\r\n now(): number;\r\n setResourceTimingBufferSize(maxSize: number): void;\r\n toJSON(): any;\r\n}\r\n\r\ndeclare var Performance: {\r\n prototype: Performance;\r\n new(): Performance;\r\n}\r\n\r\ninterface PerformanceEntry {\r\n duration: number;\r\n entryType: string;\r\n name: string;\r\n startTime: number;\r\n}\r\n\r\ndeclare var PerformanceEntry: {\r\n prototype: PerformanceEntry;\r\n new(): PerformanceEntry;\r\n}\r\n\r\ninterface PerformanceMark extends PerformanceEntry {\r\n}\r\n\r\ndeclare var PerformanceMark: {\r\n prototype: PerformanceMark;\r\n new(): PerformanceMark;\r\n}\r\n\r\ninterface PerformanceMeasure extends PerformanceEntry {\r\n}\r\n\r\ndeclare var PerformanceMeasure: {\r\n prototype: PerformanceMeasure;\r\n new(): PerformanceMeasure;\r\n}\r\n\r\ninterface PerformanceNavigation {\r\n redirectCount: number;\r\n type: number;\r\n toJSON(): any;\r\n TYPE_BACK_FORWARD: number;\r\n TYPE_NAVIGATE: number;\r\n TYPE_RELOAD: number;\r\n TYPE_RESERVED: number;\r\n}\r\n\r\ndeclare var PerformanceNavigation: {\r\n prototype: PerformanceNavigation;\r\n new(): PerformanceNavigation;\r\n TYPE_BACK_FORWARD: number;\r\n TYPE_NAVIGATE: number;\r\n TYPE_RELOAD: number;\r\n TYPE_RESERVED: number;\r\n}\r\n\r\ninterface PerformanceNavigationTiming extends PerformanceEntry {\r\n connectEnd: number;\r\n connectStart: number;\r\n domComplete: number;\r\n domContentLoadedEventEnd: number;\r\n domContentLoadedEventStart: number;\r\n domInteractive: number;\r\n domLoading: number;\r\n domainLookupEnd: number;\r\n domainLookupStart: number;\r\n fetchStart: number;\r\n loadEventEnd: number;\r\n loadEventStart: number;\r\n navigationStart: number;\r\n redirectCount: number;\r\n redirectEnd: number;\r\n redirectStart: number;\r\n requestStart: number;\r\n responseEnd: number;\r\n responseStart: number;\r\n type: string;\r\n unloadEventEnd: number;\r\n unloadEventStart: number;\r\n}\r\n\r\ndeclare var PerformanceNavigationTiming: {\r\n prototype: PerformanceNavigationTiming;\r\n new(): PerformanceNavigationTiming;\r\n}\r\n\r\ninterface PerformanceResourceTiming extends PerformanceEntry {\r\n connectEnd: number;\r\n connectStart: number;\r\n domainLookupEnd: number;\r\n domainLookupStart: number;\r\n fetchStart: number;\r\n initiatorType: string;\r\n redirectEnd: number;\r\n redirectStart: number;\r\n requestStart: number;\r\n responseEnd: number;\r\n responseStart: number;\r\n}\r\n\r\ndeclare var PerformanceResourceTiming: {\r\n prototype: PerformanceResourceTiming;\r\n new(): PerformanceResourceTiming;\r\n}\r\n\r\ninterface PerformanceTiming {\r\n connectEnd: number;\r\n connectStart: number;\r\n domComplete: number;\r\n domContentLoadedEventEnd: number;\r\n domContentLoadedEventStart: number;\r\n domInteractive: number;\r\n domLoading: number;\r\n domainLookupEnd: number;\r\n domainLookupStart: number;\r\n fetchStart: number;\r\n loadEventEnd: number;\r\n loadEventStart: number;\r\n msFirstPaint: number;\r\n navigationStart: number;\r\n redirectEnd: number;\r\n redirectStart: number;\r\n requestStart: number;\r\n responseEnd: number;\r\n responseStart: number;\r\n unloadEventEnd: number;\r\n unloadEventStart: number;\r\n toJSON(): any;\r\n}\r\n\r\ndeclare var PerformanceTiming: {\r\n prototype: PerformanceTiming;\r\n new(): PerformanceTiming;\r\n}\r\n\r\ninterface PeriodicWave {\r\n}\r\n\r\ndeclare var PeriodicWave: {\r\n prototype: PeriodicWave;\r\n new(): PeriodicWave;\r\n}\r\n\r\ninterface PermissionRequest extends DeferredPermissionRequest {\r\n state: string;\r\n defer(): void;\r\n}\r\n\r\ndeclare var PermissionRequest: {\r\n prototype: PermissionRequest;\r\n new(): PermissionRequest;\r\n}\r\n\r\ninterface PermissionRequestedEvent extends Event {\r\n permissionRequest: PermissionRequest;\r\n}\r\n\r\ndeclare var PermissionRequestedEvent: {\r\n prototype: PermissionRequestedEvent;\r\n new(): PermissionRequestedEvent;\r\n}\r\n\r\ninterface Plugin {\r\n description: string;\r\n filename: string;\r\n length: number;\r\n name: string;\r\n version: string;\r\n item(index: number): MimeType;\r\n namedItem(type: string): MimeType;\r\n [index: number]: MimeType;\r\n}\r\n\r\ndeclare var Plugin: {\r\n prototype: Plugin;\r\n new(): Plugin;\r\n}\r\n\r\ninterface PluginArray {\r\n length: number;\r\n item(index: number): Plugin;\r\n namedItem(name: string): Plugin;\r\n refresh(reload?: boolean): void;\r\n [index: number]: Plugin;\r\n}\r\n\r\ndeclare var PluginArray: {\r\n prototype: PluginArray;\r\n new(): PluginArray;\r\n}\r\n\r\ninterface PointerEvent extends MouseEvent {\r\n currentPoint: any;\r\n height: number;\r\n hwTimestamp: number;\r\n intermediatePoints: any;\r\n isPrimary: boolean;\r\n pointerId: number;\r\n pointerType: any;\r\n pressure: number;\r\n rotation: number;\r\n tiltX: number;\r\n tiltY: number;\r\n width: number;\r\n getCurrentPoint(element: Element): void;\r\n getIntermediatePoints(element: Element): void;\r\n initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;\r\n}\r\n\r\ndeclare var PointerEvent: {\r\n prototype: PointerEvent;\r\n new(typeArg: string, eventInitDict?: PointerEventInit): PointerEvent;\r\n}\r\n\r\ninterface PopStateEvent extends Event {\r\n state: any;\r\n initPopStateEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, stateArg: any): void;\r\n}\r\n\r\ndeclare var PopStateEvent: {\r\n prototype: PopStateEvent;\r\n new(): PopStateEvent;\r\n}\r\n\r\ninterface Position {\r\n coords: Coordinates;\r\n timestamp: number;\r\n}\r\n\r\ndeclare var Position: {\r\n prototype: Position;\r\n new(): Position;\r\n}\r\n\r\ninterface PositionError {\r\n code: number;\r\n message: string;\r\n toString(): string;\r\n PERMISSION_DENIED: number;\r\n POSITION_UNAVAILABLE: number;\r\n TIMEOUT: number;\r\n}\r\n\r\ndeclare var PositionError: {\r\n prototype: PositionError;\r\n new(): PositionError;\r\n PERMISSION_DENIED: number;\r\n POSITION_UNAVAILABLE: number;\r\n TIMEOUT: number;\r\n}\r\n\r\ninterface ProcessingInstruction extends CharacterData {\r\n target: string;\r\n}\r\n\r\ndeclare var ProcessingInstruction: {\r\n prototype: ProcessingInstruction;\r\n new(): ProcessingInstruction;\r\n}\r\n\r\ninterface ProgressEvent extends Event {\r\n lengthComputable: boolean;\r\n loaded: number;\r\n total: number;\r\n initProgressEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, lengthComputableArg: boolean, loadedArg: number, totalArg: number): void;\r\n}\r\n\r\ndeclare var ProgressEvent: {\r\n prototype: ProgressEvent;\r\n new(): ProgressEvent;\r\n}\r\n\r\ninterface Range {\r\n collapsed: boolean;\r\n commonAncestorContainer: Node;\r\n endContainer: Node;\r\n endOffset: number;\r\n startContainer: Node;\r\n startOffset: number;\r\n cloneContents(): DocumentFragment;\r\n cloneRange(): Range;\r\n collapse(toStart: boolean): void;\r\n compareBoundaryPoints(how: number, sourceRange: Range): number;\r\n createContextualFragment(fragment: string): DocumentFragment;\r\n deleteContents(): void;\r\n detach(): void;\r\n expand(Unit: string): boolean;\r\n extractContents(): DocumentFragment;\r\n getBoundingClientRect(): ClientRect;\r\n getClientRects(): ClientRectList;\r\n insertNode(newNode: Node): void;\r\n selectNode(refNode: Node): void;\r\n selectNodeContents(refNode: Node): void;\r\n setEnd(refNode: Node, offset: number): void;\r\n setEndAfter(refNode: Node): void;\r\n setEndBefore(refNode: Node): void;\r\n setStart(refNode: Node, offset: number): void;\r\n setStartAfter(refNode: Node): void;\r\n setStartBefore(refNode: Node): void;\r\n surroundContents(newParent: Node): void;\r\n toString(): string;\r\n END_TO_END: number;\r\n END_TO_START: number;\r\n START_TO_END: number;\r\n START_TO_START: number;\r\n}\r\n\r\ndeclare var Range: {\r\n prototype: Range;\r\n new(): Range;\r\n END_TO_END: number;\r\n END_TO_START: number;\r\n START_TO_END: number;\r\n START_TO_START: number;\r\n}\r\n\r\ninterface SVGAElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGURIReference {\r\n target: SVGAnimatedString;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGAElement: {\r\n prototype: SVGAElement;\r\n new(): SVGAElement;\r\n}\r\n\r\ninterface SVGAngle {\r\n unitType: number;\r\n value: number;\r\n valueAsString: string;\r\n valueInSpecifiedUnits: number;\r\n convertToSpecifiedUnits(unitType: number): void;\r\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\r\n SVG_ANGLETYPE_DEG: number;\r\n SVG_ANGLETYPE_GRAD: number;\r\n SVG_ANGLETYPE_RAD: number;\r\n SVG_ANGLETYPE_UNKNOWN: number;\r\n SVG_ANGLETYPE_UNSPECIFIED: number;\r\n}\r\n\r\ndeclare var SVGAngle: {\r\n prototype: SVGAngle;\r\n new(): SVGAngle;\r\n SVG_ANGLETYPE_DEG: number;\r\n SVG_ANGLETYPE_GRAD: number;\r\n SVG_ANGLETYPE_RAD: number;\r\n SVG_ANGLETYPE_UNKNOWN: number;\r\n SVG_ANGLETYPE_UNSPECIFIED: number;\r\n}\r\n\r\ninterface SVGAnimatedAngle {\r\n animVal: SVGAngle;\r\n baseVal: SVGAngle;\r\n}\r\n\r\ndeclare var SVGAnimatedAngle: {\r\n prototype: SVGAnimatedAngle;\r\n new(): SVGAnimatedAngle;\r\n}\r\n\r\ninterface SVGAnimatedBoolean {\r\n animVal: boolean;\r\n baseVal: boolean;\r\n}\r\n\r\ndeclare var SVGAnimatedBoolean: {\r\n prototype: SVGAnimatedBoolean;\r\n new(): SVGAnimatedBoolean;\r\n}\r\n\r\ninterface SVGAnimatedEnumeration {\r\n animVal: number;\r\n baseVal: number;\r\n}\r\n\r\ndeclare var SVGAnimatedEnumeration: {\r\n prototype: SVGAnimatedEnumeration;\r\n new(): SVGAnimatedEnumeration;\r\n}\r\n\r\ninterface SVGAnimatedInteger {\r\n animVal: number;\r\n baseVal: number;\r\n}\r\n\r\ndeclare var SVGAnimatedInteger: {\r\n prototype: SVGAnimatedInteger;\r\n new(): SVGAnimatedInteger;\r\n}\r\n\r\ninterface SVGAnimatedLength {\r\n animVal: SVGLength;\r\n baseVal: SVGLength;\r\n}\r\n\r\ndeclare var SVGAnimatedLength: {\r\n prototype: SVGAnimatedLength;\r\n new(): SVGAnimatedLength;\r\n}\r\n\r\ninterface SVGAnimatedLengthList {\r\n animVal: SVGLengthList;\r\n baseVal: SVGLengthList;\r\n}\r\n\r\ndeclare var SVGAnimatedLengthList: {\r\n prototype: SVGAnimatedLengthList;\r\n new(): SVGAnimatedLengthList;\r\n}\r\n\r\ninterface SVGAnimatedNumber {\r\n animVal: number;\r\n baseVal: number;\r\n}\r\n\r\ndeclare var SVGAnimatedNumber: {\r\n prototype: SVGAnimatedNumber;\r\n new(): SVGAnimatedNumber;\r\n}\r\n\r\ninterface SVGAnimatedNumberList {\r\n animVal: SVGNumberList;\r\n baseVal: SVGNumberList;\r\n}\r\n\r\ndeclare var SVGAnimatedNumberList: {\r\n prototype: SVGAnimatedNumberList;\r\n new(): SVGAnimatedNumberList;\r\n}\r\n\r\ninterface SVGAnimatedPreserveAspectRatio {\r\n animVal: SVGPreserveAspectRatio;\r\n baseVal: SVGPreserveAspectRatio;\r\n}\r\n\r\ndeclare var SVGAnimatedPreserveAspectRatio: {\r\n prototype: SVGAnimatedPreserveAspectRatio;\r\n new(): SVGAnimatedPreserveAspectRatio;\r\n}\r\n\r\ninterface SVGAnimatedRect {\r\n animVal: SVGRect;\r\n baseVal: SVGRect;\r\n}\r\n\r\ndeclare var SVGAnimatedRect: {\r\n prototype: SVGAnimatedRect;\r\n new(): SVGAnimatedRect;\r\n}\r\n\r\ninterface SVGAnimatedString {\r\n animVal: string;\r\n baseVal: string;\r\n}\r\n\r\ndeclare var SVGAnimatedString: {\r\n prototype: SVGAnimatedString;\r\n new(): SVGAnimatedString;\r\n}\r\n\r\ninterface SVGAnimatedTransformList {\r\n animVal: SVGTransformList;\r\n baseVal: SVGTransformList;\r\n}\r\n\r\ndeclare var SVGAnimatedTransformList: {\r\n prototype: SVGAnimatedTransformList;\r\n new(): SVGAnimatedTransformList;\r\n}\r\n\r\ninterface SVGCircleElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n cx: SVGAnimatedLength;\r\n cy: SVGAnimatedLength;\r\n r: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGCircleElement: {\r\n prototype: SVGCircleElement;\r\n new(): SVGCircleElement;\r\n}\r\n\r\ninterface SVGClipPathElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGUnitTypes {\r\n clipPathUnits: SVGAnimatedEnumeration;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGClipPathElement: {\r\n prototype: SVGClipPathElement;\r\n new(): SVGClipPathElement;\r\n}\r\n\r\ninterface SVGComponentTransferFunctionElement extends SVGElement {\r\n amplitude: SVGAnimatedNumber;\r\n exponent: SVGAnimatedNumber;\r\n intercept: SVGAnimatedNumber;\r\n offset: SVGAnimatedNumber;\r\n slope: SVGAnimatedNumber;\r\n tableValues: SVGAnimatedNumberList;\r\n type: SVGAnimatedEnumeration;\r\n SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\r\n}\r\n\r\ndeclare var SVGComponentTransferFunctionElement: {\r\n prototype: SVGComponentTransferFunctionElement;\r\n new(): SVGComponentTransferFunctionElement;\r\n SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\r\n SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGDefsElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGDefsElement: {\r\n prototype: SVGDefsElement;\r\n new(): SVGDefsElement;\r\n}\r\n\r\ninterface SVGDescElement extends SVGElement, SVGStylable, SVGLangSpace {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGDescElement: {\r\n prototype: SVGDescElement;\r\n new(): SVGDescElement;\r\n}\r\n\r\ninterface SVGElement extends Element {\r\n id: string;\r\n className: any;\r\n onclick: (ev: MouseEvent) => any;\r\n ondblclick: (ev: MouseEvent) => any;\r\n onfocusin: (ev: FocusEvent) => any;\r\n onfocusout: (ev: FocusEvent) => any;\r\n onload: (ev: Event) => any;\r\n onmousedown: (ev: MouseEvent) => any;\r\n onmousemove: (ev: MouseEvent) => any;\r\n onmouseout: (ev: MouseEvent) => any;\r\n onmouseover: (ev: MouseEvent) => any;\r\n onmouseup: (ev: MouseEvent) => any;\r\n ownerSVGElement: SVGSVGElement;\r\n viewportElement: SVGElement;\r\n xmlbase: string;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focusin\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focusout\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGElement: {\r\n prototype: SVGElement;\r\n new(): SVGElement;\r\n}\r\n\r\ninterface SVGElementInstance extends EventTarget {\r\n childNodes: SVGElementInstanceList;\r\n correspondingElement: SVGElement;\r\n correspondingUseElement: SVGUseElement;\r\n firstChild: SVGElementInstance;\r\n lastChild: SVGElementInstance;\r\n nextSibling: SVGElementInstance;\r\n parentNode: SVGElementInstance;\r\n previousSibling: SVGElementInstance;\r\n}\r\n\r\ndeclare var SVGElementInstance: {\r\n prototype: SVGElementInstance;\r\n new(): SVGElementInstance;\r\n}\r\n\r\ninterface SVGElementInstanceList {\r\n length: number;\r\n item(index: number): SVGElementInstance;\r\n}\r\n\r\ndeclare var SVGElementInstanceList: {\r\n prototype: SVGElementInstanceList;\r\n new(): SVGElementInstanceList;\r\n}\r\n\r\ninterface SVGEllipseElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n cx: SVGAnimatedLength;\r\n cy: SVGAnimatedLength;\r\n rx: SVGAnimatedLength;\r\n ry: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGEllipseElement: {\r\n prototype: SVGEllipseElement;\r\n new(): SVGEllipseElement;\r\n}\r\n\r\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n in2: SVGAnimatedString;\r\n mode: SVGAnimatedEnumeration;\r\n SVG_FEBLEND_MODE_COLOR: number;\r\n SVG_FEBLEND_MODE_COLOR_BURN: number;\r\n SVG_FEBLEND_MODE_COLOR_DODGE: number;\r\n SVG_FEBLEND_MODE_DARKEN: number;\r\n SVG_FEBLEND_MODE_DIFFERENCE: number;\r\n SVG_FEBLEND_MODE_EXCLUSION: number;\r\n SVG_FEBLEND_MODE_HARD_LIGHT: number;\r\n SVG_FEBLEND_MODE_HUE: number;\r\n SVG_FEBLEND_MODE_LIGHTEN: number;\r\n SVG_FEBLEND_MODE_LUMINOSITY: number;\r\n SVG_FEBLEND_MODE_MULTIPLY: number;\r\n SVG_FEBLEND_MODE_NORMAL: number;\r\n SVG_FEBLEND_MODE_OVERLAY: number;\r\n SVG_FEBLEND_MODE_SATURATION: number;\r\n SVG_FEBLEND_MODE_SCREEN: number;\r\n SVG_FEBLEND_MODE_SOFT_LIGHT: number;\r\n SVG_FEBLEND_MODE_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEBlendElement: {\r\n prototype: SVGFEBlendElement;\r\n new(): SVGFEBlendElement;\r\n SVG_FEBLEND_MODE_COLOR: number;\r\n SVG_FEBLEND_MODE_COLOR_BURN: number;\r\n SVG_FEBLEND_MODE_COLOR_DODGE: number;\r\n SVG_FEBLEND_MODE_DARKEN: number;\r\n SVG_FEBLEND_MODE_DIFFERENCE: number;\r\n SVG_FEBLEND_MODE_EXCLUSION: number;\r\n SVG_FEBLEND_MODE_HARD_LIGHT: number;\r\n SVG_FEBLEND_MODE_HUE: number;\r\n SVG_FEBLEND_MODE_LIGHTEN: number;\r\n SVG_FEBLEND_MODE_LUMINOSITY: number;\r\n SVG_FEBLEND_MODE_MULTIPLY: number;\r\n SVG_FEBLEND_MODE_NORMAL: number;\r\n SVG_FEBLEND_MODE_OVERLAY: number;\r\n SVG_FEBLEND_MODE_SATURATION: number;\r\n SVG_FEBLEND_MODE_SCREEN: number;\r\n SVG_FEBLEND_MODE_SOFT_LIGHT: number;\r\n SVG_FEBLEND_MODE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n type: SVGAnimatedEnumeration;\r\n values: SVGAnimatedNumberList;\r\n SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\r\n SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\r\n SVG_FECOLORMATRIX_TYPE_MATRIX: number;\r\n SVG_FECOLORMATRIX_TYPE_SATURATE: number;\r\n SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEColorMatrixElement: {\r\n prototype: SVGFEColorMatrixElement;\r\n new(): SVGFEColorMatrixElement;\r\n SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;\r\n SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\r\n SVG_FECOLORMATRIX_TYPE_MATRIX: number;\r\n SVG_FECOLORMATRIX_TYPE_SATURATE: number;\r\n SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEComponentTransferElement: {\r\n prototype: SVGFEComponentTransferElement;\r\n new(): SVGFEComponentTransferElement;\r\n}\r\n\r\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n in2: SVGAnimatedString;\r\n k1: SVGAnimatedNumber;\r\n k2: SVGAnimatedNumber;\r\n k3: SVGAnimatedNumber;\r\n k4: SVGAnimatedNumber;\r\n operator: SVGAnimatedEnumeration;\r\n SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\r\n SVG_FECOMPOSITE_OPERATOR_ATOP: number;\r\n SVG_FECOMPOSITE_OPERATOR_IN: number;\r\n SVG_FECOMPOSITE_OPERATOR_OUT: number;\r\n SVG_FECOMPOSITE_OPERATOR_OVER: number;\r\n SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\r\n SVG_FECOMPOSITE_OPERATOR_XOR: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFECompositeElement: {\r\n prototype: SVGFECompositeElement;\r\n new(): SVGFECompositeElement;\r\n SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;\r\n SVG_FECOMPOSITE_OPERATOR_ATOP: number;\r\n SVG_FECOMPOSITE_OPERATOR_IN: number;\r\n SVG_FECOMPOSITE_OPERATOR_OUT: number;\r\n SVG_FECOMPOSITE_OPERATOR_OVER: number;\r\n SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\r\n SVG_FECOMPOSITE_OPERATOR_XOR: number;\r\n}\r\n\r\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n bias: SVGAnimatedNumber;\r\n divisor: SVGAnimatedNumber;\r\n edgeMode: SVGAnimatedEnumeration;\r\n in1: SVGAnimatedString;\r\n kernelMatrix: SVGAnimatedNumberList;\r\n kernelUnitLengthX: SVGAnimatedNumber;\r\n kernelUnitLengthY: SVGAnimatedNumber;\r\n orderX: SVGAnimatedInteger;\r\n orderY: SVGAnimatedInteger;\r\n preserveAlpha: SVGAnimatedBoolean;\r\n targetX: SVGAnimatedInteger;\r\n targetY: SVGAnimatedInteger;\r\n SVG_EDGEMODE_DUPLICATE: number;\r\n SVG_EDGEMODE_NONE: number;\r\n SVG_EDGEMODE_UNKNOWN: number;\r\n SVG_EDGEMODE_WRAP: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEConvolveMatrixElement: {\r\n prototype: SVGFEConvolveMatrixElement;\r\n new(): SVGFEConvolveMatrixElement;\r\n SVG_EDGEMODE_DUPLICATE: number;\r\n SVG_EDGEMODE_NONE: number;\r\n SVG_EDGEMODE_UNKNOWN: number;\r\n SVG_EDGEMODE_WRAP: number;\r\n}\r\n\r\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n diffuseConstant: SVGAnimatedNumber;\r\n in1: SVGAnimatedString;\r\n kernelUnitLengthX: SVGAnimatedNumber;\r\n kernelUnitLengthY: SVGAnimatedNumber;\r\n surfaceScale: SVGAnimatedNumber;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEDiffuseLightingElement: {\r\n prototype: SVGFEDiffuseLightingElement;\r\n new(): SVGFEDiffuseLightingElement;\r\n}\r\n\r\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n in2: SVGAnimatedString;\r\n scale: SVGAnimatedNumber;\r\n xChannelSelector: SVGAnimatedEnumeration;\r\n yChannelSelector: SVGAnimatedEnumeration;\r\n SVG_CHANNEL_A: number;\r\n SVG_CHANNEL_B: number;\r\n SVG_CHANNEL_G: number;\r\n SVG_CHANNEL_R: number;\r\n SVG_CHANNEL_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEDisplacementMapElement: {\r\n prototype: SVGFEDisplacementMapElement;\r\n new(): SVGFEDisplacementMapElement;\r\n SVG_CHANNEL_A: number;\r\n SVG_CHANNEL_B: number;\r\n SVG_CHANNEL_G: number;\r\n SVG_CHANNEL_R: number;\r\n SVG_CHANNEL_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGFEDistantLightElement extends SVGElement {\r\n azimuth: SVGAnimatedNumber;\r\n elevation: SVGAnimatedNumber;\r\n}\r\n\r\ndeclare var SVGFEDistantLightElement: {\r\n prototype: SVGFEDistantLightElement;\r\n new(): SVGFEDistantLightElement;\r\n}\r\n\r\ninterface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEFloodElement: {\r\n prototype: SVGFEFloodElement;\r\n new(): SVGFEFloodElement;\r\n}\r\n\r\ninterface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {\r\n}\r\n\r\ndeclare var SVGFEFuncAElement: {\r\n prototype: SVGFEFuncAElement;\r\n new(): SVGFEFuncAElement;\r\n}\r\n\r\ninterface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {\r\n}\r\n\r\ndeclare var SVGFEFuncBElement: {\r\n prototype: SVGFEFuncBElement;\r\n new(): SVGFEFuncBElement;\r\n}\r\n\r\ninterface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {\r\n}\r\n\r\ndeclare var SVGFEFuncGElement: {\r\n prototype: SVGFEFuncGElement;\r\n new(): SVGFEFuncGElement;\r\n}\r\n\r\ninterface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {\r\n}\r\n\r\ndeclare var SVGFEFuncRElement: {\r\n prototype: SVGFEFuncRElement;\r\n new(): SVGFEFuncRElement;\r\n}\r\n\r\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n stdDeviationX: SVGAnimatedNumber;\r\n stdDeviationY: SVGAnimatedNumber;\r\n setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEGaussianBlurElement: {\r\n prototype: SVGFEGaussianBlurElement;\r\n new(): SVGFEGaussianBlurElement;\r\n}\r\n\r\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGLangSpace, SVGURIReference, SVGExternalResourcesRequired {\r\n preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEImageElement: {\r\n prototype: SVGFEImageElement;\r\n new(): SVGFEImageElement;\r\n}\r\n\r\ninterface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEMergeElement: {\r\n prototype: SVGFEMergeElement;\r\n new(): SVGFEMergeElement;\r\n}\r\n\r\ninterface SVGFEMergeNodeElement extends SVGElement {\r\n in1: SVGAnimatedString;\r\n}\r\n\r\ndeclare var SVGFEMergeNodeElement: {\r\n prototype: SVGFEMergeNodeElement;\r\n new(): SVGFEMergeNodeElement;\r\n}\r\n\r\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n operator: SVGAnimatedEnumeration;\r\n radiusX: SVGAnimatedNumber;\r\n radiusY: SVGAnimatedNumber;\r\n SVG_MORPHOLOGY_OPERATOR_DILATE: number;\r\n SVG_MORPHOLOGY_OPERATOR_ERODE: number;\r\n SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEMorphologyElement: {\r\n prototype: SVGFEMorphologyElement;\r\n new(): SVGFEMorphologyElement;\r\n SVG_MORPHOLOGY_OPERATOR_DILATE: number;\r\n SVG_MORPHOLOGY_OPERATOR_ERODE: number;\r\n SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n dx: SVGAnimatedNumber;\r\n dy: SVGAnimatedNumber;\r\n in1: SVGAnimatedString;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFEOffsetElement: {\r\n prototype: SVGFEOffsetElement;\r\n new(): SVGFEOffsetElement;\r\n}\r\n\r\ninterface SVGFEPointLightElement extends SVGElement {\r\n x: SVGAnimatedNumber;\r\n y: SVGAnimatedNumber;\r\n z: SVGAnimatedNumber;\r\n}\r\n\r\ndeclare var SVGFEPointLightElement: {\r\n prototype: SVGFEPointLightElement;\r\n new(): SVGFEPointLightElement;\r\n}\r\n\r\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n kernelUnitLengthX: SVGAnimatedNumber;\r\n kernelUnitLengthY: SVGAnimatedNumber;\r\n specularConstant: SVGAnimatedNumber;\r\n specularExponent: SVGAnimatedNumber;\r\n surfaceScale: SVGAnimatedNumber;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFESpecularLightingElement: {\r\n prototype: SVGFESpecularLightingElement;\r\n new(): SVGFESpecularLightingElement;\r\n}\r\n\r\ninterface SVGFESpotLightElement extends SVGElement {\r\n limitingConeAngle: SVGAnimatedNumber;\r\n pointsAtX: SVGAnimatedNumber;\r\n pointsAtY: SVGAnimatedNumber;\r\n pointsAtZ: SVGAnimatedNumber;\r\n specularExponent: SVGAnimatedNumber;\r\n x: SVGAnimatedNumber;\r\n y: SVGAnimatedNumber;\r\n z: SVGAnimatedNumber;\r\n}\r\n\r\ndeclare var SVGFESpotLightElement: {\r\n prototype: SVGFESpotLightElement;\r\n new(): SVGFESpotLightElement;\r\n}\r\n\r\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n in1: SVGAnimatedString;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFETileElement: {\r\n prototype: SVGFETileElement;\r\n new(): SVGFETileElement;\r\n}\r\n\r\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\r\n baseFrequencyX: SVGAnimatedNumber;\r\n baseFrequencyY: SVGAnimatedNumber;\r\n numOctaves: SVGAnimatedInteger;\r\n seed: SVGAnimatedNumber;\r\n stitchTiles: SVGAnimatedEnumeration;\r\n type: SVGAnimatedEnumeration;\r\n SVG_STITCHTYPE_NOSTITCH: number;\r\n SVG_STITCHTYPE_STITCH: number;\r\n SVG_STITCHTYPE_UNKNOWN: number;\r\n SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\r\n SVG_TURBULENCE_TYPE_TURBULENCE: number;\r\n SVG_TURBULENCE_TYPE_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFETurbulenceElement: {\r\n prototype: SVGFETurbulenceElement;\r\n new(): SVGFETurbulenceElement;\r\n SVG_STITCHTYPE_NOSTITCH: number;\r\n SVG_STITCHTYPE_STITCH: number;\r\n SVG_STITCHTYPE_UNKNOWN: number;\r\n SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\r\n SVG_TURBULENCE_TYPE_TURBULENCE: number;\r\n SVG_TURBULENCE_TYPE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGFilterElement extends SVGElement, SVGUnitTypes, SVGStylable, SVGLangSpace, SVGURIReference, SVGExternalResourcesRequired {\r\n filterResX: SVGAnimatedInteger;\r\n filterResY: SVGAnimatedInteger;\r\n filterUnits: SVGAnimatedEnumeration;\r\n height: SVGAnimatedLength;\r\n primitiveUnits: SVGAnimatedEnumeration;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n setFilterRes(filterResX: number, filterResY: number): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGFilterElement: {\r\n prototype: SVGFilterElement;\r\n new(): SVGFilterElement;\r\n}\r\n\r\ninterface SVGForeignObjectElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n height: SVGAnimatedLength;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGForeignObjectElement: {\r\n prototype: SVGForeignObjectElement;\r\n new(): SVGForeignObjectElement;\r\n}\r\n\r\ninterface SVGGElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGGElement: {\r\n prototype: SVGGElement;\r\n new(): SVGGElement;\r\n}\r\n\r\ninterface SVGGradientElement extends SVGElement, SVGStylable, SVGExternalResourcesRequired, SVGURIReference, SVGUnitTypes {\r\n gradientTransform: SVGAnimatedTransformList;\r\n gradientUnits: SVGAnimatedEnumeration;\r\n spreadMethod: SVGAnimatedEnumeration;\r\n SVG_SPREADMETHOD_PAD: number;\r\n SVG_SPREADMETHOD_REFLECT: number;\r\n SVG_SPREADMETHOD_REPEAT: number;\r\n SVG_SPREADMETHOD_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGGradientElement: {\r\n prototype: SVGGradientElement;\r\n new(): SVGGradientElement;\r\n SVG_SPREADMETHOD_PAD: number;\r\n SVG_SPREADMETHOD_REFLECT: number;\r\n SVG_SPREADMETHOD_REPEAT: number;\r\n SVG_SPREADMETHOD_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGImageElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGURIReference {\r\n height: SVGAnimatedLength;\r\n preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGImageElement: {\r\n prototype: SVGImageElement;\r\n new(): SVGImageElement;\r\n}\r\n\r\ninterface SVGLength {\r\n unitType: number;\r\n value: number;\r\n valueAsString: string;\r\n valueInSpecifiedUnits: number;\r\n convertToSpecifiedUnits(unitType: number): void;\r\n newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;\r\n SVG_LENGTHTYPE_CM: number;\r\n SVG_LENGTHTYPE_EMS: number;\r\n SVG_LENGTHTYPE_EXS: number;\r\n SVG_LENGTHTYPE_IN: number;\r\n SVG_LENGTHTYPE_MM: number;\r\n SVG_LENGTHTYPE_NUMBER: number;\r\n SVG_LENGTHTYPE_PC: number;\r\n SVG_LENGTHTYPE_PERCENTAGE: number;\r\n SVG_LENGTHTYPE_PT: number;\r\n SVG_LENGTHTYPE_PX: number;\r\n SVG_LENGTHTYPE_UNKNOWN: number;\r\n}\r\n\r\ndeclare var SVGLength: {\r\n prototype: SVGLength;\r\n new(): SVGLength;\r\n SVG_LENGTHTYPE_CM: number;\r\n SVG_LENGTHTYPE_EMS: number;\r\n SVG_LENGTHTYPE_EXS: number;\r\n SVG_LENGTHTYPE_IN: number;\r\n SVG_LENGTHTYPE_MM: number;\r\n SVG_LENGTHTYPE_NUMBER: number;\r\n SVG_LENGTHTYPE_PC: number;\r\n SVG_LENGTHTYPE_PERCENTAGE: number;\r\n SVG_LENGTHTYPE_PT: number;\r\n SVG_LENGTHTYPE_PX: number;\r\n SVG_LENGTHTYPE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGLengthList {\r\n numberOfItems: number;\r\n appendItem(newItem: SVGLength): SVGLength;\r\n clear(): void;\r\n getItem(index: number): SVGLength;\r\n initialize(newItem: SVGLength): SVGLength;\r\n insertItemBefore(newItem: SVGLength, index: number): SVGLength;\r\n removeItem(index: number): SVGLength;\r\n replaceItem(newItem: SVGLength, index: number): SVGLength;\r\n}\r\n\r\ndeclare var SVGLengthList: {\r\n prototype: SVGLengthList;\r\n new(): SVGLengthList;\r\n}\r\n\r\ninterface SVGLineElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n x1: SVGAnimatedLength;\r\n x2: SVGAnimatedLength;\r\n y1: SVGAnimatedLength;\r\n y2: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGLineElement: {\r\n prototype: SVGLineElement;\r\n new(): SVGLineElement;\r\n}\r\n\r\ninterface SVGLinearGradientElement extends SVGGradientElement {\r\n x1: SVGAnimatedLength;\r\n x2: SVGAnimatedLength;\r\n y1: SVGAnimatedLength;\r\n y2: SVGAnimatedLength;\r\n}\r\n\r\ndeclare var SVGLinearGradientElement: {\r\n prototype: SVGLinearGradientElement;\r\n new(): SVGLinearGradientElement;\r\n}\r\n\r\ninterface SVGMarkerElement extends SVGElement, SVGStylable, SVGLangSpace, SVGExternalResourcesRequired, SVGFitToViewBox {\r\n markerHeight: SVGAnimatedLength;\r\n markerUnits: SVGAnimatedEnumeration;\r\n markerWidth: SVGAnimatedLength;\r\n orientAngle: SVGAnimatedAngle;\r\n orientType: SVGAnimatedEnumeration;\r\n refX: SVGAnimatedLength;\r\n refY: SVGAnimatedLength;\r\n setOrientToAngle(angle: SVGAngle): void;\r\n setOrientToAuto(): void;\r\n SVG_MARKERUNITS_STROKEWIDTH: number;\r\n SVG_MARKERUNITS_UNKNOWN: number;\r\n SVG_MARKERUNITS_USERSPACEONUSE: number;\r\n SVG_MARKER_ORIENT_ANGLE: number;\r\n SVG_MARKER_ORIENT_AUTO: number;\r\n SVG_MARKER_ORIENT_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGMarkerElement: {\r\n prototype: SVGMarkerElement;\r\n new(): SVGMarkerElement;\r\n SVG_MARKERUNITS_STROKEWIDTH: number;\r\n SVG_MARKERUNITS_UNKNOWN: number;\r\n SVG_MARKERUNITS_USERSPACEONUSE: number;\r\n SVG_MARKER_ORIENT_ANGLE: number;\r\n SVG_MARKER_ORIENT_AUTO: number;\r\n SVG_MARKER_ORIENT_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGMaskElement extends SVGElement, SVGStylable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGUnitTypes {\r\n height: SVGAnimatedLength;\r\n maskContentUnits: SVGAnimatedEnumeration;\r\n maskUnits: SVGAnimatedEnumeration;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGMaskElement: {\r\n prototype: SVGMaskElement;\r\n new(): SVGMaskElement;\r\n}\r\n\r\ninterface SVGMatrix {\r\n a: number;\r\n b: number;\r\n c: number;\r\n d: number;\r\n e: number;\r\n f: number;\r\n flipX(): SVGMatrix;\r\n flipY(): SVGMatrix;\r\n inverse(): SVGMatrix;\r\n multiply(secondMatrix: SVGMatrix): SVGMatrix;\r\n rotate(angle: number): SVGMatrix;\r\n rotateFromVector(x: number, y: number): SVGMatrix;\r\n scale(scaleFactor: number): SVGMatrix;\r\n scaleNonUniform(scaleFactorX: number, scaleFactorY: number): SVGMatrix;\r\n skewX(angle: number): SVGMatrix;\r\n skewY(angle: number): SVGMatrix;\r\n translate(x: number, y: number): SVGMatrix;\r\n}\r\n\r\ndeclare var SVGMatrix: {\r\n prototype: SVGMatrix;\r\n new(): SVGMatrix;\r\n}\r\n\r\ninterface SVGMetadataElement extends SVGElement {\r\n}\r\n\r\ndeclare var SVGMetadataElement: {\r\n prototype: SVGMetadataElement;\r\n new(): SVGMetadataElement;\r\n}\r\n\r\ninterface SVGNumber {\r\n value: number;\r\n}\r\n\r\ndeclare var SVGNumber: {\r\n prototype: SVGNumber;\r\n new(): SVGNumber;\r\n}\r\n\r\ninterface SVGNumberList {\r\n numberOfItems: number;\r\n appendItem(newItem: SVGNumber): SVGNumber;\r\n clear(): void;\r\n getItem(index: number): SVGNumber;\r\n initialize(newItem: SVGNumber): SVGNumber;\r\n insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\r\n removeItem(index: number): SVGNumber;\r\n replaceItem(newItem: SVGNumber, index: number): SVGNumber;\r\n}\r\n\r\ndeclare var SVGNumberList: {\r\n prototype: SVGNumberList;\r\n new(): SVGNumberList;\r\n}\r\n\r\ninterface SVGPathElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGAnimatedPathData {\r\n createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs;\r\n createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel;\r\n createSVGPathSegClosePath(): SVGPathSegClosePath;\r\n createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs;\r\n createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel;\r\n createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs;\r\n createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel;\r\n createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs;\r\n createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel;\r\n createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs;\r\n createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel;\r\n createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs;\r\n createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs;\r\n createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel;\r\n createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel;\r\n createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs;\r\n createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel;\r\n createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs;\r\n createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel;\r\n getPathSegAtLength(distance: number): number;\r\n getPointAtLength(distance: number): SVGPoint;\r\n getTotalLength(): number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGPathElement: {\r\n prototype: SVGPathElement;\r\n new(): SVGPathElement;\r\n}\r\n\r\ninterface SVGPathSeg {\r\n pathSegType: number;\r\n pathSegTypeAsLetter: string;\r\n PATHSEG_ARC_ABS: number;\r\n PATHSEG_ARC_REL: number;\r\n PATHSEG_CLOSEPATH: number;\r\n PATHSEG_CURVETO_CUBIC_ABS: number;\r\n PATHSEG_CURVETO_CUBIC_REL: number;\r\n PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\r\n PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\r\n PATHSEG_CURVETO_QUADRATIC_ABS: number;\r\n PATHSEG_CURVETO_QUADRATIC_REL: number;\r\n PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\r\n PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\r\n PATHSEG_LINETO_ABS: number;\r\n PATHSEG_LINETO_HORIZONTAL_ABS: number;\r\n PATHSEG_LINETO_HORIZONTAL_REL: number;\r\n PATHSEG_LINETO_REL: number;\r\n PATHSEG_LINETO_VERTICAL_ABS: number;\r\n PATHSEG_LINETO_VERTICAL_REL: number;\r\n PATHSEG_MOVETO_ABS: number;\r\n PATHSEG_MOVETO_REL: number;\r\n PATHSEG_UNKNOWN: number;\r\n}\r\n\r\ndeclare var SVGPathSeg: {\r\n prototype: SVGPathSeg;\r\n new(): SVGPathSeg;\r\n PATHSEG_ARC_ABS: number;\r\n PATHSEG_ARC_REL: number;\r\n PATHSEG_CLOSEPATH: number;\r\n PATHSEG_CURVETO_CUBIC_ABS: number;\r\n PATHSEG_CURVETO_CUBIC_REL: number;\r\n PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;\r\n PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;\r\n PATHSEG_CURVETO_QUADRATIC_ABS: number;\r\n PATHSEG_CURVETO_QUADRATIC_REL: number;\r\n PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;\r\n PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;\r\n PATHSEG_LINETO_ABS: number;\r\n PATHSEG_LINETO_HORIZONTAL_ABS: number;\r\n PATHSEG_LINETO_HORIZONTAL_REL: number;\r\n PATHSEG_LINETO_REL: number;\r\n PATHSEG_LINETO_VERTICAL_ABS: number;\r\n PATHSEG_LINETO_VERTICAL_REL: number;\r\n PATHSEG_MOVETO_ABS: number;\r\n PATHSEG_MOVETO_REL: number;\r\n PATHSEG_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGPathSegArcAbs extends SVGPathSeg {\r\n angle: number;\r\n largeArcFlag: boolean;\r\n r1: number;\r\n r2: number;\r\n sweepFlag: boolean;\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegArcAbs: {\r\n prototype: SVGPathSegArcAbs;\r\n new(): SVGPathSegArcAbs;\r\n}\r\n\r\ninterface SVGPathSegArcRel extends SVGPathSeg {\r\n angle: number;\r\n largeArcFlag: boolean;\r\n r1: number;\r\n r2: number;\r\n sweepFlag: boolean;\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegArcRel: {\r\n prototype: SVGPathSegArcRel;\r\n new(): SVGPathSegArcRel;\r\n}\r\n\r\ninterface SVGPathSegClosePath extends SVGPathSeg {\r\n}\r\n\r\ndeclare var SVGPathSegClosePath: {\r\n prototype: SVGPathSegClosePath;\r\n new(): SVGPathSegClosePath;\r\n}\r\n\r\ninterface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {\r\n x: number;\r\n x1: number;\r\n x2: number;\r\n y: number;\r\n y1: number;\r\n y2: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoCubicAbs: {\r\n prototype: SVGPathSegCurvetoCubicAbs;\r\n new(): SVGPathSegCurvetoCubicAbs;\r\n}\r\n\r\ninterface SVGPathSegCurvetoCubicRel extends SVGPathSeg {\r\n x: number;\r\n x1: number;\r\n x2: number;\r\n y: number;\r\n y1: number;\r\n y2: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoCubicRel: {\r\n prototype: SVGPathSegCurvetoCubicRel;\r\n new(): SVGPathSegCurvetoCubicRel;\r\n}\r\n\r\ninterface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {\r\n x: number;\r\n x2: number;\r\n y: number;\r\n y2: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoCubicSmoothAbs: {\r\n prototype: SVGPathSegCurvetoCubicSmoothAbs;\r\n new(): SVGPathSegCurvetoCubicSmoothAbs;\r\n}\r\n\r\ninterface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {\r\n x: number;\r\n x2: number;\r\n y: number;\r\n y2: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoCubicSmoothRel: {\r\n prototype: SVGPathSegCurvetoCubicSmoothRel;\r\n new(): SVGPathSegCurvetoCubicSmoothRel;\r\n}\r\n\r\ninterface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {\r\n x: number;\r\n x1: number;\r\n y: number;\r\n y1: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoQuadraticAbs: {\r\n prototype: SVGPathSegCurvetoQuadraticAbs;\r\n new(): SVGPathSegCurvetoQuadraticAbs;\r\n}\r\n\r\ninterface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {\r\n x: number;\r\n x1: number;\r\n y: number;\r\n y1: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoQuadraticRel: {\r\n prototype: SVGPathSegCurvetoQuadraticRel;\r\n new(): SVGPathSegCurvetoQuadraticRel;\r\n}\r\n\r\ninterface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoQuadraticSmoothAbs: {\r\n prototype: SVGPathSegCurvetoQuadraticSmoothAbs;\r\n new(): SVGPathSegCurvetoQuadraticSmoothAbs;\r\n}\r\n\r\ninterface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegCurvetoQuadraticSmoothRel: {\r\n prototype: SVGPathSegCurvetoQuadraticSmoothRel;\r\n new(): SVGPathSegCurvetoQuadraticSmoothRel;\r\n}\r\n\r\ninterface SVGPathSegLinetoAbs extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoAbs: {\r\n prototype: SVGPathSegLinetoAbs;\r\n new(): SVGPathSegLinetoAbs;\r\n}\r\n\r\ninterface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {\r\n x: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoHorizontalAbs: {\r\n prototype: SVGPathSegLinetoHorizontalAbs;\r\n new(): SVGPathSegLinetoHorizontalAbs;\r\n}\r\n\r\ninterface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {\r\n x: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoHorizontalRel: {\r\n prototype: SVGPathSegLinetoHorizontalRel;\r\n new(): SVGPathSegLinetoHorizontalRel;\r\n}\r\n\r\ninterface SVGPathSegLinetoRel extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoRel: {\r\n prototype: SVGPathSegLinetoRel;\r\n new(): SVGPathSegLinetoRel;\r\n}\r\n\r\ninterface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoVerticalAbs: {\r\n prototype: SVGPathSegLinetoVerticalAbs;\r\n new(): SVGPathSegLinetoVerticalAbs;\r\n}\r\n\r\ninterface SVGPathSegLinetoVerticalRel extends SVGPathSeg {\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegLinetoVerticalRel: {\r\n prototype: SVGPathSegLinetoVerticalRel;\r\n new(): SVGPathSegLinetoVerticalRel;\r\n}\r\n\r\ninterface SVGPathSegList {\r\n numberOfItems: number;\r\n appendItem(newItem: SVGPathSeg): SVGPathSeg;\r\n clear(): void;\r\n getItem(index: number): SVGPathSeg;\r\n initialize(newItem: SVGPathSeg): SVGPathSeg;\r\n insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg;\r\n removeItem(index: number): SVGPathSeg;\r\n replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg;\r\n}\r\n\r\ndeclare var SVGPathSegList: {\r\n prototype: SVGPathSegList;\r\n new(): SVGPathSegList;\r\n}\r\n\r\ninterface SVGPathSegMovetoAbs extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegMovetoAbs: {\r\n prototype: SVGPathSegMovetoAbs;\r\n new(): SVGPathSegMovetoAbs;\r\n}\r\n\r\ninterface SVGPathSegMovetoRel extends SVGPathSeg {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGPathSegMovetoRel: {\r\n prototype: SVGPathSegMovetoRel;\r\n new(): SVGPathSegMovetoRel;\r\n}\r\n\r\ninterface SVGPatternElement extends SVGElement, SVGStylable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGFitToViewBox, SVGURIReference, SVGUnitTypes {\r\n height: SVGAnimatedLength;\r\n patternContentUnits: SVGAnimatedEnumeration;\r\n patternTransform: SVGAnimatedTransformList;\r\n patternUnits: SVGAnimatedEnumeration;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGPatternElement: {\r\n prototype: SVGPatternElement;\r\n new(): SVGPatternElement;\r\n}\r\n\r\ninterface SVGPoint {\r\n x: number;\r\n y: number;\r\n matrixTransform(matrix: SVGMatrix): SVGPoint;\r\n}\r\n\r\ndeclare var SVGPoint: {\r\n prototype: SVGPoint;\r\n new(): SVGPoint;\r\n}\r\n\r\ninterface SVGPointList {\r\n numberOfItems: number;\r\n appendItem(newItem: SVGPoint): SVGPoint;\r\n clear(): void;\r\n getItem(index: number): SVGPoint;\r\n initialize(newItem: SVGPoint): SVGPoint;\r\n insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;\r\n removeItem(index: number): SVGPoint;\r\n replaceItem(newItem: SVGPoint, index: number): SVGPoint;\r\n}\r\n\r\ndeclare var SVGPointList: {\r\n prototype: SVGPointList;\r\n new(): SVGPointList;\r\n}\r\n\r\ninterface SVGPolygonElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGAnimatedPoints {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGPolygonElement: {\r\n prototype: SVGPolygonElement;\r\n new(): SVGPolygonElement;\r\n}\r\n\r\ninterface SVGPolylineElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGAnimatedPoints {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGPolylineElement: {\r\n prototype: SVGPolylineElement;\r\n new(): SVGPolylineElement;\r\n}\r\n\r\ninterface SVGPreserveAspectRatio {\r\n align: number;\r\n meetOrSlice: number;\r\n SVG_MEETORSLICE_MEET: number;\r\n SVG_MEETORSLICE_SLICE: number;\r\n SVG_MEETORSLICE_UNKNOWN: number;\r\n SVG_PRESERVEASPECTRATIO_NONE: number;\r\n SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\r\n}\r\n\r\ndeclare var SVGPreserveAspectRatio: {\r\n prototype: SVGPreserveAspectRatio;\r\n new(): SVGPreserveAspectRatio;\r\n SVG_MEETORSLICE_MEET: number;\r\n SVG_MEETORSLICE_SLICE: number;\r\n SVG_MEETORSLICE_UNKNOWN: number;\r\n SVG_PRESERVEASPECTRATIO_NONE: number;\r\n SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMID: number;\r\n SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\r\n}\r\n\r\ninterface SVGRadialGradientElement extends SVGGradientElement {\r\n cx: SVGAnimatedLength;\r\n cy: SVGAnimatedLength;\r\n fx: SVGAnimatedLength;\r\n fy: SVGAnimatedLength;\r\n r: SVGAnimatedLength;\r\n}\r\n\r\ndeclare var SVGRadialGradientElement: {\r\n prototype: SVGRadialGradientElement;\r\n new(): SVGRadialGradientElement;\r\n}\r\n\r\ninterface SVGRect {\r\n height: number;\r\n width: number;\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var SVGRect: {\r\n prototype: SVGRect;\r\n new(): SVGRect;\r\n}\r\n\r\ninterface SVGRectElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n height: SVGAnimatedLength;\r\n rx: SVGAnimatedLength;\r\n ry: SVGAnimatedLength;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGRectElement: {\r\n prototype: SVGRectElement;\r\n new(): SVGRectElement;\r\n}\r\n\r\ninterface SVGSVGElement extends SVGElement, DocumentEvent, SVGLocatable, SVGTests, SVGStylable, SVGLangSpace, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan {\r\n contentScriptType: string;\r\n contentStyleType: string;\r\n currentScale: number;\r\n currentTranslate: SVGPoint;\r\n height: SVGAnimatedLength;\r\n onabort: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onresize: (ev: UIEvent) => any;\r\n onscroll: (ev: UIEvent) => any;\r\n onunload: (ev: Event) => any;\r\n onzoom: (ev: SVGZoomEvent) => any;\r\n pixelUnitToMillimeterX: number;\r\n pixelUnitToMillimeterY: number;\r\n screenPixelToMillimeterX: number;\r\n screenPixelToMillimeterY: number;\r\n viewport: SVGRect;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n checkEnclosure(element: SVGElement, rect: SVGRect): boolean;\r\n checkIntersection(element: SVGElement, rect: SVGRect): boolean;\r\n createSVGAngle(): SVGAngle;\r\n createSVGLength(): SVGLength;\r\n createSVGMatrix(): SVGMatrix;\r\n createSVGNumber(): SVGNumber;\r\n createSVGPoint(): SVGPoint;\r\n createSVGRect(): SVGRect;\r\n createSVGTransform(): SVGTransform;\r\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\r\n deselectAll(): void;\r\n forceRedraw(): void;\r\n getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;\r\n getCurrentTime(): number;\r\n getElementById(elementId: string): Element;\r\n getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeList;\r\n getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeList;\r\n pauseAnimations(): void;\r\n setCurrentTime(seconds: number): void;\r\n suspendRedraw(maxWaitMilliseconds: number): number;\r\n unpauseAnimations(): void;\r\n unsuspendRedraw(suspendHandleID: number): void;\r\n unsuspendRedrawAll(): void;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGotPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSLostPointerCapture\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"SVGAbort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"SVGError\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"SVGUnload\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"SVGZoom\", listener: (ev: SVGZoomEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ariarequest\", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"command\", listener: (ev: CommandEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focusin\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focusout\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"gotpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"lostpointercapture\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"resize\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchcancel\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchend\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchmove\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"touchstart\", listener: (ev: TouchEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"webkitfullscreenerror\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGSVGElement: {\r\n prototype: SVGSVGElement;\r\n new(): SVGSVGElement;\r\n}\r\n\r\ninterface SVGScriptElement extends SVGElement, SVGExternalResourcesRequired, SVGURIReference {\r\n type: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGScriptElement: {\r\n prototype: SVGScriptElement;\r\n new(): SVGScriptElement;\r\n}\r\n\r\ninterface SVGStopElement extends SVGElement, SVGStylable {\r\n offset: SVGAnimatedNumber;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGStopElement: {\r\n prototype: SVGStopElement;\r\n new(): SVGStopElement;\r\n}\r\n\r\ninterface SVGStringList {\r\n numberOfItems: number;\r\n appendItem(newItem: string): string;\r\n clear(): void;\r\n getItem(index: number): string;\r\n initialize(newItem: string): string;\r\n insertItemBefore(newItem: string, index: number): string;\r\n removeItem(index: number): string;\r\n replaceItem(newItem: string, index: number): string;\r\n}\r\n\r\ndeclare var SVGStringList: {\r\n prototype: SVGStringList;\r\n new(): SVGStringList;\r\n}\r\n\r\ninterface SVGStyleElement extends SVGElement, SVGLangSpace {\r\n media: string;\r\n title: string;\r\n type: string;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGStyleElement: {\r\n prototype: SVGStyleElement;\r\n new(): SVGStyleElement;\r\n}\r\n\r\ninterface SVGSwitchElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGSwitchElement: {\r\n prototype: SVGSwitchElement;\r\n new(): SVGSwitchElement;\r\n}\r\n\r\ninterface SVGSymbolElement extends SVGElement, SVGStylable, SVGLangSpace, SVGExternalResourcesRequired, SVGFitToViewBox {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGSymbolElement: {\r\n prototype: SVGSymbolElement;\r\n new(): SVGSymbolElement;\r\n}\r\n\r\ninterface SVGTSpanElement extends SVGTextPositioningElement {\r\n}\r\n\r\ndeclare var SVGTSpanElement: {\r\n prototype: SVGTSpanElement;\r\n new(): SVGTSpanElement;\r\n}\r\n\r\ninterface SVGTextContentElement extends SVGElement, SVGStylable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired {\r\n lengthAdjust: SVGAnimatedEnumeration;\r\n textLength: SVGAnimatedLength;\r\n getCharNumAtPosition(point: SVGPoint): number;\r\n getComputedTextLength(): number;\r\n getEndPositionOfChar(charnum: number): SVGPoint;\r\n getExtentOfChar(charnum: number): SVGRect;\r\n getNumberOfChars(): number;\r\n getRotationOfChar(charnum: number): number;\r\n getStartPositionOfChar(charnum: number): SVGPoint;\r\n getSubStringLength(charnum: number, nchars: number): number;\r\n selectSubString(charnum: number, nchars: number): void;\r\n LENGTHADJUST_SPACING: number;\r\n LENGTHADJUST_SPACINGANDGLYPHS: number;\r\n LENGTHADJUST_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGTextContentElement: {\r\n prototype: SVGTextContentElement;\r\n new(): SVGTextContentElement;\r\n LENGTHADJUST_SPACING: number;\r\n LENGTHADJUST_SPACINGANDGLYPHS: number;\r\n LENGTHADJUST_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGTextElement: {\r\n prototype: SVGTextElement;\r\n new(): SVGTextElement;\r\n}\r\n\r\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\r\n method: SVGAnimatedEnumeration;\r\n spacing: SVGAnimatedEnumeration;\r\n startOffset: SVGAnimatedLength;\r\n TEXTPATH_METHODTYPE_ALIGN: number;\r\n TEXTPATH_METHODTYPE_STRETCH: number;\r\n TEXTPATH_METHODTYPE_UNKNOWN: number;\r\n TEXTPATH_SPACINGTYPE_AUTO: number;\r\n TEXTPATH_SPACINGTYPE_EXACT: number;\r\n TEXTPATH_SPACINGTYPE_UNKNOWN: number;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGTextPathElement: {\r\n prototype: SVGTextPathElement;\r\n new(): SVGTextPathElement;\r\n TEXTPATH_METHODTYPE_ALIGN: number;\r\n TEXTPATH_METHODTYPE_STRETCH: number;\r\n TEXTPATH_METHODTYPE_UNKNOWN: number;\r\n TEXTPATH_SPACINGTYPE_AUTO: number;\r\n TEXTPATH_SPACINGTYPE_EXACT: number;\r\n TEXTPATH_SPACINGTYPE_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGTextPositioningElement extends SVGTextContentElement {\r\n dx: SVGAnimatedLengthList;\r\n dy: SVGAnimatedLengthList;\r\n rotate: SVGAnimatedNumberList;\r\n x: SVGAnimatedLengthList;\r\n y: SVGAnimatedLengthList;\r\n}\r\n\r\ndeclare var SVGTextPositioningElement: {\r\n prototype: SVGTextPositioningElement;\r\n new(): SVGTextPositioningElement;\r\n}\r\n\r\ninterface SVGTitleElement extends SVGElement, SVGStylable, SVGLangSpace {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGTitleElement: {\r\n prototype: SVGTitleElement;\r\n new(): SVGTitleElement;\r\n}\r\n\r\ninterface SVGTransform {\r\n angle: number;\r\n matrix: SVGMatrix;\r\n type: number;\r\n setMatrix(matrix: SVGMatrix): void;\r\n setRotate(angle: number, cx: number, cy: number): void;\r\n setScale(sx: number, sy: number): void;\r\n setSkewX(angle: number): void;\r\n setSkewY(angle: number): void;\r\n setTranslate(tx: number, ty: number): void;\r\n SVG_TRANSFORM_MATRIX: number;\r\n SVG_TRANSFORM_ROTATE: number;\r\n SVG_TRANSFORM_SCALE: number;\r\n SVG_TRANSFORM_SKEWX: number;\r\n SVG_TRANSFORM_SKEWY: number;\r\n SVG_TRANSFORM_TRANSLATE: number;\r\n SVG_TRANSFORM_UNKNOWN: number;\r\n}\r\n\r\ndeclare var SVGTransform: {\r\n prototype: SVGTransform;\r\n new(): SVGTransform;\r\n SVG_TRANSFORM_MATRIX: number;\r\n SVG_TRANSFORM_ROTATE: number;\r\n SVG_TRANSFORM_SCALE: number;\r\n SVG_TRANSFORM_SKEWX: number;\r\n SVG_TRANSFORM_SKEWY: number;\r\n SVG_TRANSFORM_TRANSLATE: number;\r\n SVG_TRANSFORM_UNKNOWN: number;\r\n}\r\n\r\ninterface SVGTransformList {\r\n numberOfItems: number;\r\n appendItem(newItem: SVGTransform): SVGTransform;\r\n clear(): void;\r\n consolidate(): SVGTransform;\r\n createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;\r\n getItem(index: number): SVGTransform;\r\n initialize(newItem: SVGTransform): SVGTransform;\r\n insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\r\n removeItem(index: number): SVGTransform;\r\n replaceItem(newItem: SVGTransform, index: number): SVGTransform;\r\n}\r\n\r\ndeclare var SVGTransformList: {\r\n prototype: SVGTransformList;\r\n new(): SVGTransformList;\r\n}\r\n\r\ninterface SVGUnitTypes {\r\n SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\r\n SVG_UNIT_TYPE_UNKNOWN: number;\r\n SVG_UNIT_TYPE_USERSPACEONUSE: number;\r\n}\r\ndeclare var SVGUnitTypes: SVGUnitTypes;\r\n\r\ninterface SVGUseElement extends SVGElement, SVGStylable, SVGTransformable, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGURIReference {\r\n animatedInstanceRoot: SVGElementInstance;\r\n height: SVGAnimatedLength;\r\n instanceRoot: SVGElementInstance;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGUseElement: {\r\n prototype: SVGUseElement;\r\n new(): SVGUseElement;\r\n}\r\n\r\ninterface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan {\r\n viewTarget: SVGStringList;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var SVGViewElement: {\r\n prototype: SVGViewElement;\r\n new(): SVGViewElement;\r\n}\r\n\r\ninterface SVGZoomAndPan {\r\n SVG_ZOOMANDPAN_DISABLE: number;\r\n SVG_ZOOMANDPAN_MAGNIFY: number;\r\n SVG_ZOOMANDPAN_UNKNOWN: number;\r\n}\r\ndeclare var SVGZoomAndPan: SVGZoomAndPan;\r\n\r\ninterface SVGZoomEvent extends UIEvent {\r\n newScale: number;\r\n newTranslate: SVGPoint;\r\n previousScale: number;\r\n previousTranslate: SVGPoint;\r\n zoomRectScreen: SVGRect;\r\n}\r\n\r\ndeclare var SVGZoomEvent: {\r\n prototype: SVGZoomEvent;\r\n new(): SVGZoomEvent;\r\n}\r\n\r\ninterface Screen extends EventTarget {\r\n availHeight: number;\r\n availWidth: number;\r\n bufferDepth: number;\r\n colorDepth: number;\r\n deviceXDPI: number;\r\n deviceYDPI: number;\r\n fontSmoothingEnabled: boolean;\r\n height: number;\r\n logicalXDPI: number;\r\n logicalYDPI: number;\r\n msOrientation: string;\r\n onmsorientationchange: (ev: Event) => any;\r\n pixelDepth: number;\r\n systemXDPI: number;\r\n systemYDPI: number;\r\n width: number;\r\n msLockOrientation(orientations: string | string[]): boolean;\r\n msUnlockOrientation(): void;\r\n addEventListener(type: \"MSOrientationChange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var Screen: {\r\n prototype: Screen;\r\n new(): Screen;\r\n}\r\n\r\ninterface ScriptNotifyEvent extends Event {\r\n callingUri: string;\r\n value: string;\r\n}\r\n\r\ndeclare var ScriptNotifyEvent: {\r\n prototype: ScriptNotifyEvent;\r\n new(): ScriptNotifyEvent;\r\n}\r\n\r\ninterface ScriptProcessorNode extends AudioNode {\r\n bufferSize: number;\r\n onaudioprocess: (ev: AudioProcessingEvent) => any;\r\n addEventListener(type: \"audioprocess\", listener: (ev: AudioProcessingEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var ScriptProcessorNode: {\r\n prototype: ScriptProcessorNode;\r\n new(): ScriptProcessorNode;\r\n}\r\n\r\ninterface Selection {\r\n anchorNode: Node;\r\n anchorOffset: number;\r\n focusNode: Node;\r\n focusOffset: number;\r\n isCollapsed: boolean;\r\n rangeCount: number;\r\n type: string;\r\n addRange(range: Range): void;\r\n collapse(parentNode: Node, offset: number): void;\r\n collapseToEnd(): void;\r\n collapseToStart(): void;\r\n containsNode(node: Node, partlyContained: boolean): boolean;\r\n deleteFromDocument(): void;\r\n empty(): void;\r\n extend(newNode: Node, offset: number): void;\r\n getRangeAt(index: number): Range;\r\n removeAllRanges(): void;\r\n removeRange(range: Range): void;\r\n selectAllChildren(parentNode: Node): void;\r\n setBaseAndExtent(baseNode: Node, baseOffset: number, extentNode: Node, extentOffset: number): void;\r\n toString(): string;\r\n}\r\n\r\ndeclare var Selection: {\r\n prototype: Selection;\r\n new(): Selection;\r\n}\r\n\r\ninterface SourceBuffer extends EventTarget {\r\n appendWindowEnd: number;\r\n appendWindowStart: number;\r\n audioTracks: AudioTrackList;\r\n buffered: TimeRanges;\r\n mode: string;\r\n timestampOffset: number;\r\n updating: boolean;\r\n videoTracks: VideoTrackList;\r\n abort(): void;\r\n appendBuffer(data: ArrayBuffer | ArrayBufferView): void;\r\n appendStream(stream: MSStream, maxSize?: number): void;\r\n remove(start: number, end: number): void;\r\n}\r\n\r\ndeclare var SourceBuffer: {\r\n prototype: SourceBuffer;\r\n new(): SourceBuffer;\r\n}\r\n\r\ninterface SourceBufferList extends EventTarget {\r\n length: number;\r\n item(index: number): SourceBuffer;\r\n [index: number]: SourceBuffer;\r\n}\r\n\r\ndeclare var SourceBufferList: {\r\n prototype: SourceBufferList;\r\n new(): SourceBufferList;\r\n}\r\n\r\ninterface StereoPannerNode extends AudioNode {\r\n pan: AudioParam;\r\n}\r\n\r\ndeclare var StereoPannerNode: {\r\n prototype: StereoPannerNode;\r\n new(): StereoPannerNode;\r\n}\r\n\r\ninterface Storage {\r\n length: number;\r\n clear(): void;\r\n getItem(key: string): any;\r\n key(index: number): string;\r\n removeItem(key: string): void;\r\n setItem(key: string, data: string): void;\r\n [key: string]: any;\r\n [index: number]: string;\r\n}\r\n\r\ndeclare var Storage: {\r\n prototype: Storage;\r\n new(): Storage;\r\n}\r\n\r\ninterface StorageEvent extends Event {\r\n key: string;\r\n newValue: any;\r\n oldValue: any;\r\n storageArea: Storage;\r\n url: string;\r\n initStorageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, keyArg: string, oldValueArg: any, newValueArg: any, urlArg: string, storageAreaArg: Storage): void;\r\n}\r\n\r\ndeclare var StorageEvent: {\r\n prototype: StorageEvent;\r\n new(): StorageEvent;\r\n}\r\n\r\ninterface StyleMedia {\r\n type: string;\r\n matchMedium(mediaquery: string): boolean;\r\n}\r\n\r\ndeclare var StyleMedia: {\r\n prototype: StyleMedia;\r\n new(): StyleMedia;\r\n}\r\n\r\ninterface StyleSheet {\r\n disabled: boolean;\r\n href: string;\r\n media: MediaList;\r\n ownerNode: Node;\r\n parentStyleSheet: StyleSheet;\r\n title: string;\r\n type: string;\r\n}\r\n\r\ndeclare var StyleSheet: {\r\n prototype: StyleSheet;\r\n new(): StyleSheet;\r\n}\r\n\r\ninterface StyleSheetList {\r\n length: number;\r\n item(index?: number): StyleSheet;\r\n [index: number]: StyleSheet;\r\n}\r\n\r\ndeclare var StyleSheetList: {\r\n prototype: StyleSheetList;\r\n new(): StyleSheetList;\r\n}\r\n\r\ninterface StyleSheetPageList {\r\n length: number;\r\n item(index: number): CSSPageRule;\r\n [index: number]: CSSPageRule;\r\n}\r\n\r\ndeclare var StyleSheetPageList: {\r\n prototype: StyleSheetPageList;\r\n new(): StyleSheetPageList;\r\n}\r\n\r\ninterface SubtleCrypto {\r\n decrypt(algorithm: string | Algorithm, key: CryptoKey, data: ArrayBufferView): any;\r\n deriveBits(algorithm: string | Algorithm, baseKey: CryptoKey, length: number): any;\r\n deriveKey(algorithm: string | Algorithm, baseKey: CryptoKey, derivedKeyType: string | Algorithm, extractable: boolean, keyUsages: string[]): any;\r\n digest(algorithm: string | Algorithm, data: ArrayBufferView): any;\r\n encrypt(algorithm: string | Algorithm, key: CryptoKey, data: ArrayBufferView): any;\r\n exportKey(format: string, key: CryptoKey): any;\r\n generateKey(algorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): any;\r\n importKey(format: string, keyData: ArrayBufferView, algorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): any;\r\n sign(algorithm: string | Algorithm, key: CryptoKey, data: ArrayBufferView): any;\r\n unwrapKey(format: string, wrappedKey: ArrayBufferView, unwrappingKey: CryptoKey, unwrapAlgorithm: string | Algorithm, unwrappedKeyAlgorithm: string | Algorithm, extractable: boolean, keyUsages: string[]): any;\r\n verify(algorithm: string | Algorithm, key: CryptoKey, signature: ArrayBufferView, data: ArrayBufferView): any;\r\n wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: string | Algorithm): any;\r\n}\r\n\r\ndeclare var SubtleCrypto: {\r\n prototype: SubtleCrypto;\r\n new(): SubtleCrypto;\r\n}\r\n\r\ninterface Text extends CharacterData {\r\n wholeText: string;\r\n replaceWholeText(content: string): Text;\r\n splitText(offset: number): Text;\r\n}\r\n\r\ndeclare var Text: {\r\n prototype: Text;\r\n new(): Text;\r\n}\r\n\r\ninterface TextEvent extends UIEvent {\r\n data: string;\r\n inputMethod: number;\r\n locale: string;\r\n initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void;\r\n DOM_INPUT_METHOD_DROP: number;\r\n DOM_INPUT_METHOD_HANDWRITING: number;\r\n DOM_INPUT_METHOD_IME: number;\r\n DOM_INPUT_METHOD_KEYBOARD: number;\r\n DOM_INPUT_METHOD_MULTIMODAL: number;\r\n DOM_INPUT_METHOD_OPTION: number;\r\n DOM_INPUT_METHOD_PASTE: number;\r\n DOM_INPUT_METHOD_SCRIPT: number;\r\n DOM_INPUT_METHOD_UNKNOWN: number;\r\n DOM_INPUT_METHOD_VOICE: number;\r\n}\r\n\r\ndeclare var TextEvent: {\r\n prototype: TextEvent;\r\n new(): TextEvent;\r\n DOM_INPUT_METHOD_DROP: number;\r\n DOM_INPUT_METHOD_HANDWRITING: number;\r\n DOM_INPUT_METHOD_IME: number;\r\n DOM_INPUT_METHOD_KEYBOARD: number;\r\n DOM_INPUT_METHOD_MULTIMODAL: number;\r\n DOM_INPUT_METHOD_OPTION: number;\r\n DOM_INPUT_METHOD_PASTE: number;\r\n DOM_INPUT_METHOD_SCRIPT: number;\r\n DOM_INPUT_METHOD_UNKNOWN: number;\r\n DOM_INPUT_METHOD_VOICE: number;\r\n}\r\n\r\ninterface TextMetrics {\r\n width: number;\r\n}\r\n\r\ndeclare var TextMetrics: {\r\n prototype: TextMetrics;\r\n new(): TextMetrics;\r\n}\r\n\r\ninterface TextRange {\r\n boundingHeight: number;\r\n boundingLeft: number;\r\n boundingTop: number;\r\n boundingWidth: number;\r\n htmlText: string;\r\n offsetLeft: number;\r\n offsetTop: number;\r\n text: string;\r\n collapse(start?: boolean): void;\r\n compareEndPoints(how: string, sourceRange: TextRange): number;\r\n duplicate(): TextRange;\r\n execCommand(cmdID: string, showUI?: boolean, value?: any): boolean;\r\n execCommandShowHelp(cmdID: string): boolean;\r\n expand(Unit: string): boolean;\r\n findText(string: string, count?: number, flags?: number): boolean;\r\n getBookmark(): string;\r\n getBoundingClientRect(): ClientRect;\r\n getClientRects(): ClientRectList;\r\n inRange(range: TextRange): boolean;\r\n isEqual(range: TextRange): boolean;\r\n move(unit: string, count?: number): number;\r\n moveEnd(unit: string, count?: number): number;\r\n moveStart(unit: string, count?: number): number;\r\n moveToBookmark(bookmark: string): boolean;\r\n moveToElementText(element: Element): void;\r\n moveToPoint(x: number, y: number): void;\r\n parentElement(): Element;\r\n pasteHTML(html: string): void;\r\n queryCommandEnabled(cmdID: string): boolean;\r\n queryCommandIndeterm(cmdID: string): boolean;\r\n queryCommandState(cmdID: string): boolean;\r\n queryCommandSupported(cmdID: string): boolean;\r\n queryCommandText(cmdID: string): string;\r\n queryCommandValue(cmdID: string): any;\r\n scrollIntoView(fStart?: boolean): void;\r\n select(): void;\r\n setEndPoint(how: string, SourceRange: TextRange): void;\r\n}\r\n\r\ndeclare var TextRange: {\r\n prototype: TextRange;\r\n new(): TextRange;\r\n}\r\n\r\ninterface TextRangeCollection {\r\n length: number;\r\n item(index: number): TextRange;\r\n [index: number]: TextRange;\r\n}\r\n\r\ndeclare var TextRangeCollection: {\r\n prototype: TextRangeCollection;\r\n new(): TextRangeCollection;\r\n}\r\n\r\ninterface TextTrack extends EventTarget {\r\n activeCues: TextTrackCueList;\r\n cues: TextTrackCueList;\r\n inBandMetadataTrackDispatchType: string;\r\n kind: string;\r\n label: string;\r\n language: string;\r\n mode: any;\r\n oncuechange: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onload: (ev: Event) => any;\r\n readyState: number;\r\n addCue(cue: TextTrackCue): void;\r\n removeCue(cue: TextTrackCue): void;\r\n DISABLED: number;\r\n ERROR: number;\r\n HIDDEN: number;\r\n LOADED: number;\r\n LOADING: number;\r\n NONE: number;\r\n SHOWING: number;\r\n addEventListener(type: \"cuechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var TextTrack: {\r\n prototype: TextTrack;\r\n new(): TextTrack;\r\n DISABLED: number;\r\n ERROR: number;\r\n HIDDEN: number;\r\n LOADED: number;\r\n LOADING: number;\r\n NONE: number;\r\n SHOWING: number;\r\n}\r\n\r\ninterface TextTrackCue extends EventTarget {\r\n endTime: number;\r\n id: string;\r\n onenter: (ev: Event) => any;\r\n onexit: (ev: Event) => any;\r\n pauseOnExit: boolean;\r\n startTime: number;\r\n text: string;\r\n track: TextTrack;\r\n getCueAsHTML(): DocumentFragment;\r\n addEventListener(type: \"enter\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"exit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var TextTrackCue: {\r\n prototype: TextTrackCue;\r\n new(startTime: number, endTime: number, text: string): TextTrackCue;\r\n}\r\n\r\ninterface TextTrackCueList {\r\n length: number;\r\n getCueById(id: string): TextTrackCue;\r\n item(index: number): TextTrackCue;\r\n [index: number]: TextTrackCue;\r\n}\r\n\r\ndeclare var TextTrackCueList: {\r\n prototype: TextTrackCueList;\r\n new(): TextTrackCueList;\r\n}\r\n\r\ninterface TextTrackList extends EventTarget {\r\n length: number;\r\n onaddtrack: (ev: TrackEvent) => any;\r\n item(index: number): TextTrack;\r\n addEventListener(type: \"addtrack\", listener: (ev: TrackEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n [index: number]: TextTrack;\r\n}\r\n\r\ndeclare var TextTrackList: {\r\n prototype: TextTrackList;\r\n new(): TextTrackList;\r\n}\r\n\r\ninterface TimeRanges {\r\n length: number;\r\n end(index: number): number;\r\n start(index: number): number;\r\n}\r\n\r\ndeclare var TimeRanges: {\r\n prototype: TimeRanges;\r\n new(): TimeRanges;\r\n}\r\n\r\ninterface Touch {\r\n clientX: number;\r\n clientY: number;\r\n identifier: number;\r\n pageX: number;\r\n pageY: number;\r\n screenX: number;\r\n screenY: number;\r\n target: EventTarget;\r\n}\r\n\r\ndeclare var Touch: {\r\n prototype: Touch;\r\n new(): Touch;\r\n}\r\n\r\ninterface TouchEvent extends UIEvent {\r\n altKey: boolean;\r\n changedTouches: TouchList;\r\n ctrlKey: boolean;\r\n metaKey: boolean;\r\n shiftKey: boolean;\r\n targetTouches: TouchList;\r\n touches: TouchList;\r\n}\r\n\r\ndeclare var TouchEvent: {\r\n prototype: TouchEvent;\r\n new(): TouchEvent;\r\n}\r\n\r\ninterface TouchList {\r\n length: number;\r\n item(index: number): Touch;\r\n [index: number]: Touch;\r\n}\r\n\r\ndeclare var TouchList: {\r\n prototype: TouchList;\r\n new(): TouchList;\r\n}\r\n\r\ninterface TrackEvent extends Event {\r\n track: any;\r\n}\r\n\r\ndeclare var TrackEvent: {\r\n prototype: TrackEvent;\r\n new(): TrackEvent;\r\n}\r\n\r\ninterface TransitionEvent extends Event {\r\n elapsedTime: number;\r\n propertyName: string;\r\n initTransitionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, propertyNameArg: string, elapsedTimeArg: number): void;\r\n}\r\n\r\ndeclare var TransitionEvent: {\r\n prototype: TransitionEvent;\r\n new(): TransitionEvent;\r\n}\r\n\r\ninterface TreeWalker {\r\n currentNode: Node;\r\n expandEntityReferences: boolean;\r\n filter: NodeFilter;\r\n root: Node;\r\n whatToShow: number;\r\n firstChild(): Node;\r\n lastChild(): Node;\r\n nextNode(): Node;\r\n nextSibling(): Node;\r\n parentNode(): Node;\r\n previousNode(): Node;\r\n previousSibling(): Node;\r\n}\r\n\r\ndeclare var TreeWalker: {\r\n prototype: TreeWalker;\r\n new(): TreeWalker;\r\n}\r\n\r\ninterface UIEvent extends Event {\r\n detail: number;\r\n view: Window;\r\n initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void;\r\n}\r\n\r\ndeclare var UIEvent: {\r\n prototype: UIEvent;\r\n new(type: string, eventInitDict?: UIEventInit): UIEvent;\r\n}\r\n\r\ninterface URL {\r\n createObjectURL(object: any, options?: ObjectURLOptions): string;\r\n revokeObjectURL(url: string): void;\r\n}\r\ndeclare var URL: URL;\r\n\r\ninterface UnviewableContentIdentifiedEvent extends NavigationEventWithReferrer {\r\n mediaType: string;\r\n}\r\n\r\ndeclare var UnviewableContentIdentifiedEvent: {\r\n prototype: UnviewableContentIdentifiedEvent;\r\n new(): UnviewableContentIdentifiedEvent;\r\n}\r\n\r\ninterface ValidityState {\r\n badInput: boolean;\r\n customError: boolean;\r\n patternMismatch: boolean;\r\n rangeOverflow: boolean;\r\n rangeUnderflow: boolean;\r\n stepMismatch: boolean;\r\n tooLong: boolean;\r\n typeMismatch: boolean;\r\n valid: boolean;\r\n valueMissing: boolean;\r\n}\r\n\r\ndeclare var ValidityState: {\r\n prototype: ValidityState;\r\n new(): ValidityState;\r\n}\r\n\r\ninterface VideoPlaybackQuality {\r\n corruptedVideoFrames: number;\r\n creationTime: number;\r\n droppedVideoFrames: number;\r\n totalFrameDelay: number;\r\n totalVideoFrames: number;\r\n}\r\n\r\ndeclare var VideoPlaybackQuality: {\r\n prototype: VideoPlaybackQuality;\r\n new(): VideoPlaybackQuality;\r\n}\r\n\r\ninterface VideoTrack {\r\n id: string;\r\n kind: string;\r\n label: string;\r\n language: string;\r\n selected: boolean;\r\n sourceBuffer: SourceBuffer;\r\n}\r\n\r\ndeclare var VideoTrack: {\r\n prototype: VideoTrack;\r\n new(): VideoTrack;\r\n}\r\n\r\ninterface VideoTrackList extends EventTarget {\r\n length: number;\r\n onaddtrack: (ev: TrackEvent) => any;\r\n onchange: (ev: Event) => any;\r\n onremovetrack: (ev: TrackEvent) => any;\r\n selectedIndex: number;\r\n getTrackById(id: string): VideoTrack;\r\n item(index: number): VideoTrack;\r\n addEventListener(type: \"addtrack\", listener: (ev: TrackEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"removetrack\", listener: (ev: TrackEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n [index: number]: VideoTrack;\r\n}\r\n\r\ndeclare var VideoTrackList: {\r\n prototype: VideoTrackList;\r\n new(): VideoTrackList;\r\n}\r\n\r\ninterface WEBGL_compressed_texture_s3tc {\r\n COMPRESSED_RGBA_S3TC_DXT1_EXT: number;\r\n COMPRESSED_RGBA_S3TC_DXT3_EXT: number;\r\n COMPRESSED_RGBA_S3TC_DXT5_EXT: number;\r\n COMPRESSED_RGB_S3TC_DXT1_EXT: number;\r\n}\r\n\r\ndeclare var WEBGL_compressed_texture_s3tc: {\r\n prototype: WEBGL_compressed_texture_s3tc;\r\n new(): WEBGL_compressed_texture_s3tc;\r\n COMPRESSED_RGBA_S3TC_DXT1_EXT: number;\r\n COMPRESSED_RGBA_S3TC_DXT3_EXT: number;\r\n COMPRESSED_RGBA_S3TC_DXT5_EXT: number;\r\n COMPRESSED_RGB_S3TC_DXT1_EXT: number;\r\n}\r\n\r\ninterface WEBGL_debug_renderer_info {\r\n UNMASKED_RENDERER_WEBGL: number;\r\n UNMASKED_VENDOR_WEBGL: number;\r\n}\r\n\r\ndeclare var WEBGL_debug_renderer_info: {\r\n prototype: WEBGL_debug_renderer_info;\r\n new(): WEBGL_debug_renderer_info;\r\n UNMASKED_RENDERER_WEBGL: number;\r\n UNMASKED_VENDOR_WEBGL: number;\r\n}\r\n\r\ninterface WEBGL_depth_texture {\r\n UNSIGNED_INT_24_8_WEBGL: number;\r\n}\r\n\r\ndeclare var WEBGL_depth_texture: {\r\n prototype: WEBGL_depth_texture;\r\n new(): WEBGL_depth_texture;\r\n UNSIGNED_INT_24_8_WEBGL: number;\r\n}\r\n\r\ninterface WaveShaperNode extends AudioNode {\r\n curve: any;\r\n oversample: string;\r\n}\r\n\r\ndeclare var WaveShaperNode: {\r\n prototype: WaveShaperNode;\r\n new(): WaveShaperNode;\r\n}\r\n\r\ninterface WebGLActiveInfo {\r\n name: string;\r\n size: number;\r\n type: number;\r\n}\r\n\r\ndeclare var WebGLActiveInfo: {\r\n prototype: WebGLActiveInfo;\r\n new(): WebGLActiveInfo;\r\n}\r\n\r\ninterface WebGLBuffer extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLBuffer: {\r\n prototype: WebGLBuffer;\r\n new(): WebGLBuffer;\r\n}\r\n\r\ninterface WebGLContextEvent extends Event {\r\n statusMessage: string;\r\n}\r\n\r\ndeclare var WebGLContextEvent: {\r\n prototype: WebGLContextEvent;\r\n new(): WebGLContextEvent;\r\n}\r\n\r\ninterface WebGLFramebuffer extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLFramebuffer: {\r\n prototype: WebGLFramebuffer;\r\n new(): WebGLFramebuffer;\r\n}\r\n\r\ninterface WebGLObject {\r\n}\r\n\r\ndeclare var WebGLObject: {\r\n prototype: WebGLObject;\r\n new(): WebGLObject;\r\n}\r\n\r\ninterface WebGLProgram extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLProgram: {\r\n prototype: WebGLProgram;\r\n new(): WebGLProgram;\r\n}\r\n\r\ninterface WebGLRenderbuffer extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLRenderbuffer: {\r\n prototype: WebGLRenderbuffer;\r\n new(): WebGLRenderbuffer;\r\n}\r\n\r\ninterface WebGLRenderingContext {\r\n canvas: HTMLCanvasElement;\r\n drawingBufferHeight: number;\r\n drawingBufferWidth: number;\r\n activeTexture(texture: number): void;\r\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\r\n bindAttribLocation(program: WebGLProgram, index: number, name: string): void;\r\n bindBuffer(target: number, buffer: WebGLBuffer): void;\r\n bindFramebuffer(target: number, framebuffer: WebGLFramebuffer): void;\r\n bindRenderbuffer(target: number, renderbuffer: WebGLRenderbuffer): void;\r\n bindTexture(target: number, texture: WebGLTexture): void;\r\n blendColor(red: number, green: number, blue: number, alpha: number): void;\r\n blendEquation(mode: number): void;\r\n blendEquationSeparate(modeRGB: number, modeAlpha: number): void;\r\n blendFunc(sfactor: number, dfactor: number): void;\r\n blendFuncSeparate(srcRGB: number, dstRGB: number, srcAlpha: number, dstAlpha: number): void;\r\n bufferData(target: number, size: number | ArrayBufferView | ArrayBuffer, usage: number): void;\r\n bufferSubData(target: number, offset: number, data: ArrayBufferView | ArrayBuffer): void;\r\n checkFramebufferStatus(target: number): number;\r\n clear(mask: number): void;\r\n clearColor(red: number, green: number, blue: number, alpha: number): void;\r\n clearDepth(depth: number): void;\r\n clearStencil(s: number): void;\r\n colorMask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void;\r\n compileShader(shader: WebGLShader): void;\r\n compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void;\r\n compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void;\r\n copyTexImage2D(target: number, level: number, internalformat: number, x: number, y: number, width: number, height: number, border: number): void;\r\n copyTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, x: number, y: number, width: number, height: number): void;\r\n createBuffer(): WebGLBuffer;\r\n createFramebuffer(): WebGLFramebuffer;\r\n createProgram(): WebGLProgram;\r\n createRenderbuffer(): WebGLRenderbuffer;\r\n createShader(type: number): WebGLShader;\r\n createTexture(): WebGLTexture;\r\n cullFace(mode: number): void;\r\n deleteBuffer(buffer: WebGLBuffer): void;\r\n deleteFramebuffer(framebuffer: WebGLFramebuffer): void;\r\n deleteProgram(program: WebGLProgram): void;\r\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer): void;\r\n deleteShader(shader: WebGLShader): void;\r\n deleteTexture(texture: WebGLTexture): void;\r\n depthFunc(func: number): void;\r\n depthMask(flag: boolean): void;\r\n depthRange(zNear: number, zFar: number): void;\r\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\r\n disable(cap: number): void;\r\n disableVertexAttribArray(index: number): void;\r\n drawArrays(mode: number, first: number, count: number): void;\r\n drawElements(mode: number, count: number, type: number, offset: number): void;\r\n enable(cap: number): void;\r\n enableVertexAttribArray(index: number): void;\r\n finish(): void;\r\n flush(): void;\r\n framebufferRenderbuffer(target: number, attachment: number, renderbuffertarget: number, renderbuffer: WebGLRenderbuffer): void;\r\n framebufferTexture2D(target: number, attachment: number, textarget: number, texture: WebGLTexture, level: number): void;\r\n frontFace(mode: number): void;\r\n generateMipmap(target: number): void;\r\n getActiveAttrib(program: WebGLProgram, index: number): WebGLActiveInfo;\r\n getActiveUniform(program: WebGLProgram, index: number): WebGLActiveInfo;\r\n getAttachedShaders(program: WebGLProgram): WebGLShader[];\r\n getAttribLocation(program: WebGLProgram, name: string): number;\r\n getBufferParameter(target: number, pname: number): any;\r\n getContextAttributes(): WebGLContextAttributes;\r\n getError(): number;\r\n getExtension(name: string): any;\r\n getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any;\r\n getParameter(pname: number): any;\r\n getProgramInfoLog(program: WebGLProgram): string;\r\n getProgramParameter(program: WebGLProgram, pname: number): any;\r\n getRenderbufferParameter(target: number, pname: number): any;\r\n getShaderInfoLog(shader: WebGLShader): string;\r\n getShaderParameter(shader: WebGLShader, pname: number): any;\r\n getShaderPrecisionFormat(shadertype: number, precisiontype: number): WebGLShaderPrecisionFormat;\r\n getShaderSource(shader: WebGLShader): string;\r\n getSupportedExtensions(): string[];\r\n getTexParameter(target: number, pname: number): any;\r\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\r\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation;\r\n getVertexAttrib(index: number, pname: number): any;\r\n getVertexAttribOffset(index: number, pname: number): number;\r\n hint(target: number, mode: number): void;\r\n isBuffer(buffer: WebGLBuffer): boolean;\r\n isContextLost(): boolean;\r\n isEnabled(cap: number): boolean;\r\n isFramebuffer(framebuffer: WebGLFramebuffer): boolean;\r\n isProgram(program: WebGLProgram): boolean;\r\n isRenderbuffer(renderbuffer: WebGLRenderbuffer): boolean;\r\n isShader(shader: WebGLShader): boolean;\r\n isTexture(texture: WebGLTexture): boolean;\r\n lineWidth(width: number): void;\r\n linkProgram(program: WebGLProgram): void;\r\n pixelStorei(pname: number, param: number): void;\r\n polygonOffset(factor: number, units: number): void;\r\n readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView): void;\r\n renderbufferStorage(target: number, internalformat: number, width: number, height: number): void;\r\n sampleCoverage(value: number, invert: boolean): void;\r\n scissor(x: number, y: number, width: number, height: number): void;\r\n shaderSource(shader: WebGLShader, source: string): void;\r\n stencilFunc(func: number, ref: number, mask: number): void;\r\n stencilFuncSeparate(face: number, func: number, ref: number, mask: number): void;\r\n stencilMask(mask: number): void;\r\n stencilMaskSeparate(face: number, mask: number): void;\r\n stencilOp(fail: number, zfail: number, zpass: number): void;\r\n stencilOpSeparate(face: number, fail: number, zfail: number, zpass: number): void;\r\n texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView): void;\r\n texImage2D(target: number, level: number, internalformat: number, format: number, type: number, image: HTMLImageElement): void;\r\n texImage2D(target: number, level: number, internalformat: number, format: number, type: number, canvas: HTMLCanvasElement): void;\r\n texImage2D(target: number, level: number, internalformat: number, format: number, type: number, video: HTMLVideoElement): void;\r\n texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageData): void;\r\n texParameterf(target: number, pname: number, param: number): void;\r\n texParameteri(target: number, pname: number, param: number): void;\r\n texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView): void;\r\n texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, image: HTMLImageElement): void;\r\n texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, canvas: HTMLCanvasElement): void;\r\n texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, video: HTMLVideoElement): void;\r\n texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageData): void;\r\n uniform1f(location: WebGLUniformLocation, x: number): void;\r\n uniform1fv(location: WebGLUniformLocation, v: any): void;\r\n uniform1i(location: WebGLUniformLocation, x: number): void;\r\n uniform1iv(location: WebGLUniformLocation, v: Int32Array): void;\r\n uniform2f(location: WebGLUniformLocation, x: number, y: number): void;\r\n uniform2fv(location: WebGLUniformLocation, v: any): void;\r\n uniform2i(location: WebGLUniformLocation, x: number, y: number): void;\r\n uniform2iv(location: WebGLUniformLocation, v: Int32Array): void;\r\n uniform3f(location: WebGLUniformLocation, x: number, y: number, z: number): void;\r\n uniform3fv(location: WebGLUniformLocation, v: any): void;\r\n uniform3i(location: WebGLUniformLocation, x: number, y: number, z: number): void;\r\n uniform3iv(location: WebGLUniformLocation, v: Int32Array): void;\r\n uniform4f(location: WebGLUniformLocation, x: number, y: number, z: number, w: number): void;\r\n uniform4fv(location: WebGLUniformLocation, v: any): void;\r\n uniform4i(location: WebGLUniformLocation, x: number, y: number, z: number, w: number): void;\r\n uniform4iv(location: WebGLUniformLocation, v: Int32Array): void;\r\n uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: any): void;\r\n uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: any): void;\r\n uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: any): void;\r\n useProgram(program: WebGLProgram): void;\r\n validateProgram(program: WebGLProgram): void;\r\n vertexAttrib1f(indx: number, x: number): void;\r\n vertexAttrib1fv(indx: number, values: any): void;\r\n vertexAttrib2f(indx: number, x: number, y: number): void;\r\n vertexAttrib2fv(indx: number, values: any): void;\r\n vertexAttrib3f(indx: number, x: number, y: number, z: number): void;\r\n vertexAttrib3fv(indx: number, values: any): void;\r\n vertexAttrib4f(indx: number, x: number, y: number, z: number, w: number): void;\r\n vertexAttrib4fv(indx: number, values: any): void;\r\n vertexAttribPointer(indx: number, size: number, type: number, normalized: boolean, stride: number, offset: number): void;\r\n viewport(x: number, y: number, width: number, height: number): void;\r\n ACTIVE_ATTRIBUTES: number;\r\n ACTIVE_TEXTURE: number;\r\n ACTIVE_UNIFORMS: number;\r\n ALIASED_LINE_WIDTH_RANGE: number;\r\n ALIASED_POINT_SIZE_RANGE: number;\r\n ALPHA: number;\r\n ALPHA_BITS: number;\r\n ALWAYS: number;\r\n ARRAY_BUFFER: number;\r\n ARRAY_BUFFER_BINDING: number;\r\n ATTACHED_SHADERS: number;\r\n BACK: number;\r\n BLEND: number;\r\n BLEND_COLOR: number;\r\n BLEND_DST_ALPHA: number;\r\n BLEND_DST_RGB: number;\r\n BLEND_EQUATION: number;\r\n BLEND_EQUATION_ALPHA: number;\r\n BLEND_EQUATION_RGB: number;\r\n BLEND_SRC_ALPHA: number;\r\n BLEND_SRC_RGB: number;\r\n BLUE_BITS: number;\r\n BOOL: number;\r\n BOOL_VEC2: number;\r\n BOOL_VEC3: number;\r\n BOOL_VEC4: number;\r\n BROWSER_DEFAULT_WEBGL: number;\r\n BUFFER_SIZE: number;\r\n BUFFER_USAGE: number;\r\n BYTE: number;\r\n CCW: number;\r\n CLAMP_TO_EDGE: number;\r\n COLOR_ATTACHMENT0: number;\r\n COLOR_BUFFER_BIT: number;\r\n COLOR_CLEAR_VALUE: number;\r\n COLOR_WRITEMASK: number;\r\n COMPILE_STATUS: number;\r\n COMPRESSED_TEXTURE_FORMATS: number;\r\n CONSTANT_ALPHA: number;\r\n CONSTANT_COLOR: number;\r\n CONTEXT_LOST_WEBGL: number;\r\n CULL_FACE: number;\r\n CULL_FACE_MODE: number;\r\n CURRENT_PROGRAM: number;\r\n CURRENT_VERTEX_ATTRIB: number;\r\n CW: number;\r\n DECR: number;\r\n DECR_WRAP: number;\r\n DELETE_STATUS: number;\r\n DEPTH_ATTACHMENT: number;\r\n DEPTH_BITS: number;\r\n DEPTH_BUFFER_BIT: number;\r\n DEPTH_CLEAR_VALUE: number;\r\n DEPTH_COMPONENT: number;\r\n DEPTH_COMPONENT16: number;\r\n DEPTH_FUNC: number;\r\n DEPTH_RANGE: number;\r\n DEPTH_STENCIL: number;\r\n DEPTH_STENCIL_ATTACHMENT: number;\r\n DEPTH_TEST: number;\r\n DEPTH_WRITEMASK: number;\r\n DITHER: number;\r\n DONT_CARE: number;\r\n DST_ALPHA: number;\r\n DST_COLOR: number;\r\n DYNAMIC_DRAW: number;\r\n ELEMENT_ARRAY_BUFFER: number;\r\n ELEMENT_ARRAY_BUFFER_BINDING: number;\r\n EQUAL: number;\r\n FASTEST: number;\r\n FLOAT: number;\r\n FLOAT_MAT2: number;\r\n FLOAT_MAT3: number;\r\n FLOAT_MAT4: number;\r\n FLOAT_VEC2: number;\r\n FLOAT_VEC3: number;\r\n FLOAT_VEC4: number;\r\n FRAGMENT_SHADER: number;\r\n FRAMEBUFFER: number;\r\n FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;\r\n FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;\r\n FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;\r\n FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;\r\n FRAMEBUFFER_BINDING: number;\r\n FRAMEBUFFER_COMPLETE: number;\r\n FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;\r\n FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;\r\n FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;\r\n FRAMEBUFFER_UNSUPPORTED: number;\r\n FRONT: number;\r\n FRONT_AND_BACK: number;\r\n FRONT_FACE: number;\r\n FUNC_ADD: number;\r\n FUNC_REVERSE_SUBTRACT: number;\r\n FUNC_SUBTRACT: number;\r\n GENERATE_MIPMAP_HINT: number;\r\n GEQUAL: number;\r\n GREATER: number;\r\n GREEN_BITS: number;\r\n HIGH_FLOAT: number;\r\n HIGH_INT: number;\r\n IMPLEMENTATION_COLOR_READ_FORMAT: number;\r\n IMPLEMENTATION_COLOR_READ_TYPE: number;\r\n INCR: number;\r\n INCR_WRAP: number;\r\n INT: number;\r\n INT_VEC2: number;\r\n INT_VEC3: number;\r\n INT_VEC4: number;\r\n INVALID_ENUM: number;\r\n INVALID_FRAMEBUFFER_OPERATION: number;\r\n INVALID_OPERATION: number;\r\n INVALID_VALUE: number;\r\n INVERT: number;\r\n KEEP: number;\r\n LEQUAL: number;\r\n LESS: number;\r\n LINEAR: number;\r\n LINEAR_MIPMAP_LINEAR: number;\r\n LINEAR_MIPMAP_NEAREST: number;\r\n LINES: number;\r\n LINE_LOOP: number;\r\n LINE_STRIP: number;\r\n LINE_WIDTH: number;\r\n LINK_STATUS: number;\r\n LOW_FLOAT: number;\r\n LOW_INT: number;\r\n LUMINANCE: number;\r\n LUMINANCE_ALPHA: number;\r\n MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;\r\n MAX_CUBE_MAP_TEXTURE_SIZE: number;\r\n MAX_FRAGMENT_UNIFORM_VECTORS: number;\r\n MAX_RENDERBUFFER_SIZE: number;\r\n MAX_TEXTURE_IMAGE_UNITS: number;\r\n MAX_TEXTURE_SIZE: number;\r\n MAX_VARYING_VECTORS: number;\r\n MAX_VERTEX_ATTRIBS: number;\r\n MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;\r\n MAX_VERTEX_UNIFORM_VECTORS: number;\r\n MAX_VIEWPORT_DIMS: number;\r\n MEDIUM_FLOAT: number;\r\n MEDIUM_INT: number;\r\n MIRRORED_REPEAT: number;\r\n NEAREST: number;\r\n NEAREST_MIPMAP_LINEAR: number;\r\n NEAREST_MIPMAP_NEAREST: number;\r\n NEVER: number;\r\n NICEST: number;\r\n NONE: number;\r\n NOTEQUAL: number;\r\n NO_ERROR: number;\r\n ONE: number;\r\n ONE_MINUS_CONSTANT_ALPHA: number;\r\n ONE_MINUS_CONSTANT_COLOR: number;\r\n ONE_MINUS_DST_ALPHA: number;\r\n ONE_MINUS_DST_COLOR: number;\r\n ONE_MINUS_SRC_ALPHA: number;\r\n ONE_MINUS_SRC_COLOR: number;\r\n OUT_OF_MEMORY: number;\r\n PACK_ALIGNMENT: number;\r\n POINTS: number;\r\n POLYGON_OFFSET_FACTOR: number;\r\n POLYGON_OFFSET_FILL: number;\r\n POLYGON_OFFSET_UNITS: number;\r\n RED_BITS: number;\r\n RENDERBUFFER: number;\r\n RENDERBUFFER_ALPHA_SIZE: number;\r\n RENDERBUFFER_BINDING: number;\r\n RENDERBUFFER_BLUE_SIZE: number;\r\n RENDERBUFFER_DEPTH_SIZE: number;\r\n RENDERBUFFER_GREEN_SIZE: number;\r\n RENDERBUFFER_HEIGHT: number;\r\n RENDERBUFFER_INTERNAL_FORMAT: number;\r\n RENDERBUFFER_RED_SIZE: number;\r\n RENDERBUFFER_STENCIL_SIZE: number;\r\n RENDERBUFFER_WIDTH: number;\r\n RENDERER: number;\r\n REPEAT: number;\r\n REPLACE: number;\r\n RGB: number;\r\n RGB565: number;\r\n RGB5_A1: number;\r\n RGBA: number;\r\n RGBA4: number;\r\n SAMPLER_2D: number;\r\n SAMPLER_CUBE: number;\r\n SAMPLES: number;\r\n SAMPLE_ALPHA_TO_COVERAGE: number;\r\n SAMPLE_BUFFERS: number;\r\n SAMPLE_COVERAGE: number;\r\n SAMPLE_COVERAGE_INVERT: number;\r\n SAMPLE_COVERAGE_VALUE: number;\r\n SCISSOR_BOX: number;\r\n SCISSOR_TEST: number;\r\n SHADER_TYPE: number;\r\n SHADING_LANGUAGE_VERSION: number;\r\n SHORT: number;\r\n SRC_ALPHA: number;\r\n SRC_ALPHA_SATURATE: number;\r\n SRC_COLOR: number;\r\n STATIC_DRAW: number;\r\n STENCIL_ATTACHMENT: number;\r\n STENCIL_BACK_FAIL: number;\r\n STENCIL_BACK_FUNC: number;\r\n STENCIL_BACK_PASS_DEPTH_FAIL: number;\r\n STENCIL_BACK_PASS_DEPTH_PASS: number;\r\n STENCIL_BACK_REF: number;\r\n STENCIL_BACK_VALUE_MASK: number;\r\n STENCIL_BACK_WRITEMASK: number;\r\n STENCIL_BITS: number;\r\n STENCIL_BUFFER_BIT: number;\r\n STENCIL_CLEAR_VALUE: number;\r\n STENCIL_FAIL: number;\r\n STENCIL_FUNC: number;\r\n STENCIL_INDEX: number;\r\n STENCIL_INDEX8: number;\r\n STENCIL_PASS_DEPTH_FAIL: number;\r\n STENCIL_PASS_DEPTH_PASS: number;\r\n STENCIL_REF: number;\r\n STENCIL_TEST: number;\r\n STENCIL_VALUE_MASK: number;\r\n STENCIL_WRITEMASK: number;\r\n STREAM_DRAW: number;\r\n SUBPIXEL_BITS: number;\r\n TEXTURE: number;\r\n TEXTURE0: number;\r\n TEXTURE1: number;\r\n TEXTURE10: number;\r\n TEXTURE11: number;\r\n TEXTURE12: number;\r\n TEXTURE13: number;\r\n TEXTURE14: number;\r\n TEXTURE15: number;\r\n TEXTURE16: number;\r\n TEXTURE17: number;\r\n TEXTURE18: number;\r\n TEXTURE19: number;\r\n TEXTURE2: number;\r\n TEXTURE20: number;\r\n TEXTURE21: number;\r\n TEXTURE22: number;\r\n TEXTURE23: number;\r\n TEXTURE24: number;\r\n TEXTURE25: number;\r\n TEXTURE26: number;\r\n TEXTURE27: number;\r\n TEXTURE28: number;\r\n TEXTURE29: number;\r\n TEXTURE3: number;\r\n TEXTURE30: number;\r\n TEXTURE31: number;\r\n TEXTURE4: number;\r\n TEXTURE5: number;\r\n TEXTURE6: number;\r\n TEXTURE7: number;\r\n TEXTURE8: number;\r\n TEXTURE9: number;\r\n TEXTURE_2D: number;\r\n TEXTURE_BINDING_2D: number;\r\n TEXTURE_BINDING_CUBE_MAP: number;\r\n TEXTURE_CUBE_MAP: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_X: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_Y: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_Z: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_X: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_Y: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_Z: number;\r\n TEXTURE_MAG_FILTER: number;\r\n TEXTURE_MIN_FILTER: number;\r\n TEXTURE_WRAP_S: number;\r\n TEXTURE_WRAP_T: number;\r\n TRIANGLES: number;\r\n TRIANGLE_FAN: number;\r\n TRIANGLE_STRIP: number;\r\n UNPACK_ALIGNMENT: number;\r\n UNPACK_COLORSPACE_CONVERSION_WEBGL: number;\r\n UNPACK_FLIP_Y_WEBGL: number;\r\n UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;\r\n UNSIGNED_BYTE: number;\r\n UNSIGNED_INT: number;\r\n UNSIGNED_SHORT: number;\r\n UNSIGNED_SHORT_4_4_4_4: number;\r\n UNSIGNED_SHORT_5_5_5_1: number;\r\n UNSIGNED_SHORT_5_6_5: number;\r\n VALIDATE_STATUS: number;\r\n VENDOR: number;\r\n VERSION: number;\r\n VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;\r\n VERTEX_ATTRIB_ARRAY_ENABLED: number;\r\n VERTEX_ATTRIB_ARRAY_NORMALIZED: number;\r\n VERTEX_ATTRIB_ARRAY_POINTER: number;\r\n VERTEX_ATTRIB_ARRAY_SIZE: number;\r\n VERTEX_ATTRIB_ARRAY_STRIDE: number;\r\n VERTEX_ATTRIB_ARRAY_TYPE: number;\r\n VERTEX_SHADER: number;\r\n VIEWPORT: number;\r\n ZERO: number;\r\n}\r\n\r\ndeclare var WebGLRenderingContext: {\r\n prototype: WebGLRenderingContext;\r\n new(): WebGLRenderingContext;\r\n ACTIVE_ATTRIBUTES: number;\r\n ACTIVE_TEXTURE: number;\r\n ACTIVE_UNIFORMS: number;\r\n ALIASED_LINE_WIDTH_RANGE: number;\r\n ALIASED_POINT_SIZE_RANGE: number;\r\n ALPHA: number;\r\n ALPHA_BITS: number;\r\n ALWAYS: number;\r\n ARRAY_BUFFER: number;\r\n ARRAY_BUFFER_BINDING: number;\r\n ATTACHED_SHADERS: number;\r\n BACK: number;\r\n BLEND: number;\r\n BLEND_COLOR: number;\r\n BLEND_DST_ALPHA: number;\r\n BLEND_DST_RGB: number;\r\n BLEND_EQUATION: number;\r\n BLEND_EQUATION_ALPHA: number;\r\n BLEND_EQUATION_RGB: number;\r\n BLEND_SRC_ALPHA: number;\r\n BLEND_SRC_RGB: number;\r\n BLUE_BITS: number;\r\n BOOL: number;\r\n BOOL_VEC2: number;\r\n BOOL_VEC3: number;\r\n BOOL_VEC4: number;\r\n BROWSER_DEFAULT_WEBGL: number;\r\n BUFFER_SIZE: number;\r\n BUFFER_USAGE: number;\r\n BYTE: number;\r\n CCW: number;\r\n CLAMP_TO_EDGE: number;\r\n COLOR_ATTACHMENT0: number;\r\n COLOR_BUFFER_BIT: number;\r\n COLOR_CLEAR_VALUE: number;\r\n COLOR_WRITEMASK: number;\r\n COMPILE_STATUS: number;\r\n COMPRESSED_TEXTURE_FORMATS: number;\r\n CONSTANT_ALPHA: number;\r\n CONSTANT_COLOR: number;\r\n CONTEXT_LOST_WEBGL: number;\r\n CULL_FACE: number;\r\n CULL_FACE_MODE: number;\r\n CURRENT_PROGRAM: number;\r\n CURRENT_VERTEX_ATTRIB: number;\r\n CW: number;\r\n DECR: number;\r\n DECR_WRAP: number;\r\n DELETE_STATUS: number;\r\n DEPTH_ATTACHMENT: number;\r\n DEPTH_BITS: number;\r\n DEPTH_BUFFER_BIT: number;\r\n DEPTH_CLEAR_VALUE: number;\r\n DEPTH_COMPONENT: number;\r\n DEPTH_COMPONENT16: number;\r\n DEPTH_FUNC: number;\r\n DEPTH_RANGE: number;\r\n DEPTH_STENCIL: number;\r\n DEPTH_STENCIL_ATTACHMENT: number;\r\n DEPTH_TEST: number;\r\n DEPTH_WRITEMASK: number;\r\n DITHER: number;\r\n DONT_CARE: number;\r\n DST_ALPHA: number;\r\n DST_COLOR: number;\r\n DYNAMIC_DRAW: number;\r\n ELEMENT_ARRAY_BUFFER: number;\r\n ELEMENT_ARRAY_BUFFER_BINDING: number;\r\n EQUAL: number;\r\n FASTEST: number;\r\n FLOAT: number;\r\n FLOAT_MAT2: number;\r\n FLOAT_MAT3: number;\r\n FLOAT_MAT4: number;\r\n FLOAT_VEC2: number;\r\n FLOAT_VEC3: number;\r\n FLOAT_VEC4: number;\r\n FRAGMENT_SHADER: number;\r\n FRAMEBUFFER: number;\r\n FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;\r\n FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;\r\n FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;\r\n FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;\r\n FRAMEBUFFER_BINDING: number;\r\n FRAMEBUFFER_COMPLETE: number;\r\n FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;\r\n FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;\r\n FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;\r\n FRAMEBUFFER_UNSUPPORTED: number;\r\n FRONT: number;\r\n FRONT_AND_BACK: number;\r\n FRONT_FACE: number;\r\n FUNC_ADD: number;\r\n FUNC_REVERSE_SUBTRACT: number;\r\n FUNC_SUBTRACT: number;\r\n GENERATE_MIPMAP_HINT: number;\r\n GEQUAL: number;\r\n GREATER: number;\r\n GREEN_BITS: number;\r\n HIGH_FLOAT: number;\r\n HIGH_INT: number;\r\n IMPLEMENTATION_COLOR_READ_FORMAT: number;\r\n IMPLEMENTATION_COLOR_READ_TYPE: number;\r\n INCR: number;\r\n INCR_WRAP: number;\r\n INT: number;\r\n INT_VEC2: number;\r\n INT_VEC3: number;\r\n INT_VEC4: number;\r\n INVALID_ENUM: number;\r\n INVALID_FRAMEBUFFER_OPERATION: number;\r\n INVALID_OPERATION: number;\r\n INVALID_VALUE: number;\r\n INVERT: number;\r\n KEEP: number;\r\n LEQUAL: number;\r\n LESS: number;\r\n LINEAR: number;\r\n LINEAR_MIPMAP_LINEAR: number;\r\n LINEAR_MIPMAP_NEAREST: number;\r\n LINES: number;\r\n LINE_LOOP: number;\r\n LINE_STRIP: number;\r\n LINE_WIDTH: number;\r\n LINK_STATUS: number;\r\n LOW_FLOAT: number;\r\n LOW_INT: number;\r\n LUMINANCE: number;\r\n LUMINANCE_ALPHA: number;\r\n MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;\r\n MAX_CUBE_MAP_TEXTURE_SIZE: number;\r\n MAX_FRAGMENT_UNIFORM_VECTORS: number;\r\n MAX_RENDERBUFFER_SIZE: number;\r\n MAX_TEXTURE_IMAGE_UNITS: number;\r\n MAX_TEXTURE_SIZE: number;\r\n MAX_VARYING_VECTORS: number;\r\n MAX_VERTEX_ATTRIBS: number;\r\n MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;\r\n MAX_VERTEX_UNIFORM_VECTORS: number;\r\n MAX_VIEWPORT_DIMS: number;\r\n MEDIUM_FLOAT: number;\r\n MEDIUM_INT: number;\r\n MIRRORED_REPEAT: number;\r\n NEAREST: number;\r\n NEAREST_MIPMAP_LINEAR: number;\r\n NEAREST_MIPMAP_NEAREST: number;\r\n NEVER: number;\r\n NICEST: number;\r\n NONE: number;\r\n NOTEQUAL: number;\r\n NO_ERROR: number;\r\n ONE: number;\r\n ONE_MINUS_CONSTANT_ALPHA: number;\r\n ONE_MINUS_CONSTANT_COLOR: number;\r\n ONE_MINUS_DST_ALPHA: number;\r\n ONE_MINUS_DST_COLOR: number;\r\n ONE_MINUS_SRC_ALPHA: number;\r\n ONE_MINUS_SRC_COLOR: number;\r\n OUT_OF_MEMORY: number;\r\n PACK_ALIGNMENT: number;\r\n POINTS: number;\r\n POLYGON_OFFSET_FACTOR: number;\r\n POLYGON_OFFSET_FILL: number;\r\n POLYGON_OFFSET_UNITS: number;\r\n RED_BITS: number;\r\n RENDERBUFFER: number;\r\n RENDERBUFFER_ALPHA_SIZE: number;\r\n RENDERBUFFER_BINDING: number;\r\n RENDERBUFFER_BLUE_SIZE: number;\r\n RENDERBUFFER_DEPTH_SIZE: number;\r\n RENDERBUFFER_GREEN_SIZE: number;\r\n RENDERBUFFER_HEIGHT: number;\r\n RENDERBUFFER_INTERNAL_FORMAT: number;\r\n RENDERBUFFER_RED_SIZE: number;\r\n RENDERBUFFER_STENCIL_SIZE: number;\r\n RENDERBUFFER_WIDTH: number;\r\n RENDERER: number;\r\n REPEAT: number;\r\n REPLACE: number;\r\n RGB: number;\r\n RGB565: number;\r\n RGB5_A1: number;\r\n RGBA: number;\r\n RGBA4: number;\r\n SAMPLER_2D: number;\r\n SAMPLER_CUBE: number;\r\n SAMPLES: number;\r\n SAMPLE_ALPHA_TO_COVERAGE: number;\r\n SAMPLE_BUFFERS: number;\r\n SAMPLE_COVERAGE: number;\r\n SAMPLE_COVERAGE_INVERT: number;\r\n SAMPLE_COVERAGE_VALUE: number;\r\n SCISSOR_BOX: number;\r\n SCISSOR_TEST: number;\r\n SHADER_TYPE: number;\r\n SHADING_LANGUAGE_VERSION: number;\r\n SHORT: number;\r\n SRC_ALPHA: number;\r\n SRC_ALPHA_SATURATE: number;\r\n SRC_COLOR: number;\r\n STATIC_DRAW: number;\r\n STENCIL_ATTACHMENT: number;\r\n STENCIL_BACK_FAIL: number;\r\n STENCIL_BACK_FUNC: number;\r\n STENCIL_BACK_PASS_DEPTH_FAIL: number;\r\n STENCIL_BACK_PASS_DEPTH_PASS: number;\r\n STENCIL_BACK_REF: number;\r\n STENCIL_BACK_VALUE_MASK: number;\r\n STENCIL_BACK_WRITEMASK: number;\r\n STENCIL_BITS: number;\r\n STENCIL_BUFFER_BIT: number;\r\n STENCIL_CLEAR_VALUE: number;\r\n STENCIL_FAIL: number;\r\n STENCIL_FUNC: number;\r\n STENCIL_INDEX: number;\r\n STENCIL_INDEX8: number;\r\n STENCIL_PASS_DEPTH_FAIL: number;\r\n STENCIL_PASS_DEPTH_PASS: number;\r\n STENCIL_REF: number;\r\n STENCIL_TEST: number;\r\n STENCIL_VALUE_MASK: number;\r\n STENCIL_WRITEMASK: number;\r\n STREAM_DRAW: number;\r\n SUBPIXEL_BITS: number;\r\n TEXTURE: number;\r\n TEXTURE0: number;\r\n TEXTURE1: number;\r\n TEXTURE10: number;\r\n TEXTURE11: number;\r\n TEXTURE12: number;\r\n TEXTURE13: number;\r\n TEXTURE14: number;\r\n TEXTURE15: number;\r\n TEXTURE16: number;\r\n TEXTURE17: number;\r\n TEXTURE18: number;\r\n TEXTURE19: number;\r\n TEXTURE2: number;\r\n TEXTURE20: number;\r\n TEXTURE21: number;\r\n TEXTURE22: number;\r\n TEXTURE23: number;\r\n TEXTURE24: number;\r\n TEXTURE25: number;\r\n TEXTURE26: number;\r\n TEXTURE27: number;\r\n TEXTURE28: number;\r\n TEXTURE29: number;\r\n TEXTURE3: number;\r\n TEXTURE30: number;\r\n TEXTURE31: number;\r\n TEXTURE4: number;\r\n TEXTURE5: number;\r\n TEXTURE6: number;\r\n TEXTURE7: number;\r\n TEXTURE8: number;\r\n TEXTURE9: number;\r\n TEXTURE_2D: number;\r\n TEXTURE_BINDING_2D: number;\r\n TEXTURE_BINDING_CUBE_MAP: number;\r\n TEXTURE_CUBE_MAP: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_X: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_Y: number;\r\n TEXTURE_CUBE_MAP_NEGATIVE_Z: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_X: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_Y: number;\r\n TEXTURE_CUBE_MAP_POSITIVE_Z: number;\r\n TEXTURE_MAG_FILTER: number;\r\n TEXTURE_MIN_FILTER: number;\r\n TEXTURE_WRAP_S: number;\r\n TEXTURE_WRAP_T: number;\r\n TRIANGLES: number;\r\n TRIANGLE_FAN: number;\r\n TRIANGLE_STRIP: number;\r\n UNPACK_ALIGNMENT: number;\r\n UNPACK_COLORSPACE_CONVERSION_WEBGL: number;\r\n UNPACK_FLIP_Y_WEBGL: number;\r\n UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;\r\n UNSIGNED_BYTE: number;\r\n UNSIGNED_INT: number;\r\n UNSIGNED_SHORT: number;\r\n UNSIGNED_SHORT_4_4_4_4: number;\r\n UNSIGNED_SHORT_5_5_5_1: number;\r\n UNSIGNED_SHORT_5_6_5: number;\r\n VALIDATE_STATUS: number;\r\n VENDOR: number;\r\n VERSION: number;\r\n VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;\r\n VERTEX_ATTRIB_ARRAY_ENABLED: number;\r\n VERTEX_ATTRIB_ARRAY_NORMALIZED: number;\r\n VERTEX_ATTRIB_ARRAY_POINTER: number;\r\n VERTEX_ATTRIB_ARRAY_SIZE: number;\r\n VERTEX_ATTRIB_ARRAY_STRIDE: number;\r\n VERTEX_ATTRIB_ARRAY_TYPE: number;\r\n VERTEX_SHADER: number;\r\n VIEWPORT: number;\r\n ZERO: number;\r\n}\r\n\r\ninterface WebGLShader extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLShader: {\r\n prototype: WebGLShader;\r\n new(): WebGLShader;\r\n}\r\n\r\ninterface WebGLShaderPrecisionFormat {\r\n precision: number;\r\n rangeMax: number;\r\n rangeMin: number;\r\n}\r\n\r\ndeclare var WebGLShaderPrecisionFormat: {\r\n prototype: WebGLShaderPrecisionFormat;\r\n new(): WebGLShaderPrecisionFormat;\r\n}\r\n\r\ninterface WebGLTexture extends WebGLObject {\r\n}\r\n\r\ndeclare var WebGLTexture: {\r\n prototype: WebGLTexture;\r\n new(): WebGLTexture;\r\n}\r\n\r\ninterface WebGLUniformLocation {\r\n}\r\n\r\ndeclare var WebGLUniformLocation: {\r\n prototype: WebGLUniformLocation;\r\n new(): WebGLUniformLocation;\r\n}\r\n\r\ninterface WebKitCSSMatrix {\r\n a: number;\r\n b: number;\r\n c: number;\r\n d: number;\r\n e: number;\r\n f: number;\r\n m11: number;\r\n m12: number;\r\n m13: number;\r\n m14: number;\r\n m21: number;\r\n m22: number;\r\n m23: number;\r\n m24: number;\r\n m31: number;\r\n m32: number;\r\n m33: number;\r\n m34: number;\r\n m41: number;\r\n m42: number;\r\n m43: number;\r\n m44: number;\r\n inverse(): WebKitCSSMatrix;\r\n multiply(secondMatrix: WebKitCSSMatrix): WebKitCSSMatrix;\r\n rotate(angleX: number, angleY?: number, angleZ?: number): WebKitCSSMatrix;\r\n rotateAxisAngle(x: number, y: number, z: number, angle: number): WebKitCSSMatrix;\r\n scale(scaleX: number, scaleY?: number, scaleZ?: number): WebKitCSSMatrix;\r\n setMatrixValue(value: string): void;\r\n skewX(angle: number): WebKitCSSMatrix;\r\n skewY(angle: number): WebKitCSSMatrix;\r\n toString(): string;\r\n translate(x: number, y: number, z?: number): WebKitCSSMatrix;\r\n}\r\n\r\ndeclare var WebKitCSSMatrix: {\r\n prototype: WebKitCSSMatrix;\r\n new(text?: string): WebKitCSSMatrix;\r\n}\r\n\r\ninterface WebKitPoint {\r\n x: number;\r\n y: number;\r\n}\r\n\r\ndeclare var WebKitPoint: {\r\n prototype: WebKitPoint;\r\n new(x?: number, y?: number): WebKitPoint;\r\n}\r\n\r\ninterface WebSocket extends EventTarget {\r\n binaryType: string;\r\n bufferedAmount: number;\r\n extensions: string;\r\n onclose: (ev: CloseEvent) => any;\r\n onerror: (ev: Event) => any;\r\n onmessage: (ev: MessageEvent) => any;\r\n onopen: (ev: Event) => any;\r\n protocol: string;\r\n readyState: number;\r\n url: string;\r\n close(code?: number, reason?: string): void;\r\n send(data: any): void;\r\n CLOSED: number;\r\n CLOSING: number;\r\n CONNECTING: number;\r\n OPEN: number;\r\n addEventListener(type: \"close\", listener: (ev: CloseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"open\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var WebSocket: {\r\n prototype: WebSocket;\r\n new(url: string, protocols?: string | string[]): WebSocket;\r\n CLOSED: number;\r\n CLOSING: number;\r\n CONNECTING: number;\r\n OPEN: number;\r\n}\r\n\r\ninterface WheelEvent extends MouseEvent {\r\n deltaMode: number;\r\n deltaX: number;\r\n deltaY: number;\r\n deltaZ: number;\r\n getCurrentPoint(element: Element): void;\r\n initWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, deltaXArg: number, deltaYArg: number, deltaZArg: number, deltaMode: number): void;\r\n DOM_DELTA_LINE: number;\r\n DOM_DELTA_PAGE: number;\r\n DOM_DELTA_PIXEL: number;\r\n}\r\n\r\ndeclare var WheelEvent: {\r\n prototype: WheelEvent;\r\n new(typeArg: string, eventInitDict?: WheelEventInit): WheelEvent;\r\n DOM_DELTA_LINE: number;\r\n DOM_DELTA_PAGE: number;\r\n DOM_DELTA_PIXEL: number;\r\n}\r\n\r\ninterface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64 {\r\n animationStartTime: number;\r\n applicationCache: ApplicationCache;\r\n clientInformation: Navigator;\r\n closed: boolean;\r\n crypto: Crypto;\r\n defaultStatus: string;\r\n devicePixelRatio: number;\r\n doNotTrack: string;\r\n document: Document;\r\n event: Event;\r\n external: External;\r\n frameElement: Element;\r\n frames: Window;\r\n history: History;\r\n innerHeight: number;\r\n innerWidth: number;\r\n length: number;\r\n location: Location;\r\n locationbar: BarProp;\r\n menubar: BarProp;\r\n msAnimationStartTime: number;\r\n msTemplatePrinter: MSTemplatePrinter;\r\n name: string;\r\n navigator: Navigator;\r\n offscreenBuffering: string | boolean;\r\n onabort: (ev: Event) => any;\r\n onafterprint: (ev: Event) => any;\r\n onbeforeprint: (ev: Event) => any;\r\n onbeforeunload: (ev: BeforeUnloadEvent) => any;\r\n onblur: (ev: FocusEvent) => any;\r\n oncanplay: (ev: Event) => any;\r\n oncanplaythrough: (ev: Event) => any;\r\n onchange: (ev: Event) => any;\r\n onclick: (ev: MouseEvent) => any;\r\n oncompassneedscalibration: (ev: Event) => any;\r\n oncontextmenu: (ev: PointerEvent) => any;\r\n ondblclick: (ev: MouseEvent) => any;\r\n ondevicemotion: (ev: DeviceMotionEvent) => any;\r\n ondeviceorientation: (ev: DeviceOrientationEvent) => any;\r\n ondrag: (ev: DragEvent) => any;\r\n ondragend: (ev: DragEvent) => any;\r\n ondragenter: (ev: DragEvent) => any;\r\n ondragleave: (ev: DragEvent) => any;\r\n ondragover: (ev: DragEvent) => any;\r\n ondragstart: (ev: DragEvent) => any;\r\n ondrop: (ev: DragEvent) => any;\r\n ondurationchange: (ev: Event) => any;\r\n onemptied: (ev: Event) => any;\r\n onended: (ev: Event) => any;\r\n onerror: ErrorEventHandler;\r\n onfocus: (ev: FocusEvent) => any;\r\n onhashchange: (ev: HashChangeEvent) => any;\r\n oninput: (ev: Event) => any;\r\n onkeydown: (ev: KeyboardEvent) => any;\r\n onkeypress: (ev: KeyboardEvent) => any;\r\n onkeyup: (ev: KeyboardEvent) => any;\r\n onload: (ev: Event) => any;\r\n onloadeddata: (ev: Event) => any;\r\n onloadedmetadata: (ev: Event) => any;\r\n onloadstart: (ev: Event) => any;\r\n onmessage: (ev: MessageEvent) => any;\r\n onmousedown: (ev: MouseEvent) => any;\r\n onmouseenter: (ev: MouseEvent) => any;\r\n onmouseleave: (ev: MouseEvent) => any;\r\n onmousemove: (ev: MouseEvent) => any;\r\n onmouseout: (ev: MouseEvent) => any;\r\n onmouseover: (ev: MouseEvent) => any;\r\n onmouseup: (ev: MouseEvent) => any;\r\n onmousewheel: (ev: MouseWheelEvent) => any;\r\n onmsgesturechange: (ev: MSGestureEvent) => any;\r\n onmsgesturedoubletap: (ev: MSGestureEvent) => any;\r\n onmsgestureend: (ev: MSGestureEvent) => any;\r\n onmsgesturehold: (ev: MSGestureEvent) => any;\r\n onmsgesturestart: (ev: MSGestureEvent) => any;\r\n onmsgesturetap: (ev: MSGestureEvent) => any;\r\n onmsinertiastart: (ev: MSGestureEvent) => any;\r\n onmspointercancel: (ev: MSPointerEvent) => any;\r\n onmspointerdown: (ev: MSPointerEvent) => any;\r\n onmspointerenter: (ev: MSPointerEvent) => any;\r\n onmspointerleave: (ev: MSPointerEvent) => any;\r\n onmspointermove: (ev: MSPointerEvent) => any;\r\n onmspointerout: (ev: MSPointerEvent) => any;\r\n onmspointerover: (ev: MSPointerEvent) => any;\r\n onmspointerup: (ev: MSPointerEvent) => any;\r\n onoffline: (ev: Event) => any;\r\n ononline: (ev: Event) => any;\r\n onorientationchange: (ev: Event) => any;\r\n onpagehide: (ev: PageTransitionEvent) => any;\r\n onpageshow: (ev: PageTransitionEvent) => any;\r\n onpause: (ev: Event) => any;\r\n onplay: (ev: Event) => any;\r\n onplaying: (ev: Event) => any;\r\n onpopstate: (ev: PopStateEvent) => any;\r\n onprogress: (ev: ProgressEvent) => any;\r\n onratechange: (ev: Event) => any;\r\n onreadystatechange: (ev: ProgressEvent) => any;\r\n onreset: (ev: Event) => any;\r\n onresize: (ev: UIEvent) => any;\r\n onscroll: (ev: UIEvent) => any;\r\n onseeked: (ev: Event) => any;\r\n onseeking: (ev: Event) => any;\r\n onselect: (ev: UIEvent) => any;\r\n onstalled: (ev: Event) => any;\r\n onstorage: (ev: StorageEvent) => any;\r\n onsubmit: (ev: Event) => any;\r\n onsuspend: (ev: Event) => any;\r\n ontimeupdate: (ev: Event) => any;\r\n ontouchcancel: any;\r\n ontouchend: any;\r\n ontouchmove: any;\r\n ontouchstart: any;\r\n onunload: (ev: Event) => any;\r\n onvolumechange: (ev: Event) => any;\r\n onwaiting: (ev: Event) => any;\r\n opener: Window;\r\n orientation: string | number;\r\n outerHeight: number;\r\n outerWidth: number;\r\n pageXOffset: number;\r\n pageYOffset: number;\r\n parent: Window;\r\n performance: Performance;\r\n personalbar: BarProp;\r\n screen: Screen;\r\n screenLeft: number;\r\n screenTop: number;\r\n screenX: number;\r\n screenY: number;\r\n scrollX: number;\r\n scrollY: number;\r\n scrollbars: BarProp;\r\n self: Window;\r\n status: string;\r\n statusbar: BarProp;\r\n styleMedia: StyleMedia;\r\n toolbar: BarProp;\r\n top: Window;\r\n window: Window;\r\n URL: URL;\r\n alert(message?: any): void;\r\n blur(): void;\r\n cancelAnimationFrame(handle: number): void;\r\n captureEvents(): void;\r\n close(): void;\r\n confirm(message?: string): boolean;\r\n focus(): void;\r\n getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;\r\n getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList;\r\n getSelection(): Selection;\r\n matchMedia(mediaQuery: string): MediaQueryList;\r\n moveBy(x?: number, y?: number): void;\r\n moveTo(x?: number, y?: number): void;\r\n msCancelRequestAnimationFrame(handle: number): void;\r\n msMatchMedia(mediaQuery: string): MediaQueryList;\r\n msRequestAnimationFrame(callback: FrameRequestCallback): number;\r\n msWriteProfilerMark(profilerMarkName: string): void;\r\n open(url?: string, target?: string, features?: string, replace?: boolean): any;\r\n postMessage(message: any, targetOrigin: string, ports?: any): void;\r\n print(): void;\r\n prompt(message?: string, _default?: string): string;\r\n releaseEvents(): void;\r\n requestAnimationFrame(callback: FrameRequestCallback): number;\r\n resizeBy(x?: number, y?: number): void;\r\n resizeTo(x?: number, y?: number): void;\r\n scroll(x?: number, y?: number): void;\r\n scrollBy(x?: number, y?: number): void;\r\n scrollTo(x?: number, y?: number): void;\r\n webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\r\n webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\r\n addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"afterprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"beforeunload\", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"compassneedscalibration\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"devicemotion\", listener: (ev: DeviceMotionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"deviceorientation\", listener: (ev: DeviceOrientationEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"hashchange\", listener: (ev: HashChangeEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"offline\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"online\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"orientationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pagehide\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pageshow\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"popstate\", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"readystatechange\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"resize\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"storage\", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"unload\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n [index: number]: Window;\r\n}\r\n\r\ndeclare var Window: {\r\n prototype: Window;\r\n new(): Window;\r\n}\r\n\r\ninterface Worker extends EventTarget, AbstractWorker {\r\n onmessage: (ev: MessageEvent) => any;\r\n postMessage(message: any, ports?: any): void;\r\n terminate(): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var Worker: {\r\n prototype: Worker;\r\n new(stringUrl: string): Worker;\r\n}\r\n\r\ninterface XMLDocument extends Document {\r\n}\r\n\r\ndeclare var XMLDocument: {\r\n prototype: XMLDocument;\r\n new(): XMLDocument;\r\n}\r\n\r\ninterface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget {\r\n msCaching: string;\r\n onreadystatechange: (ev: ProgressEvent) => any;\r\n readyState: number;\r\n response: any;\r\n responseBody: any;\r\n responseText: string;\r\n responseType: string;\r\n responseXML: any;\r\n status: number;\r\n statusText: string;\r\n timeout: number;\r\n upload: XMLHttpRequestUpload;\r\n withCredentials: boolean;\r\n abort(): void;\r\n getAllResponseHeaders(): string;\r\n getResponseHeader(header: string): string;\r\n msCachingEnabled(): boolean;\r\n open(method: string, url: string, async?: boolean, user?: string, password?: string): void;\r\n overrideMimeType(mime: string): void;\r\n send(data?: Document): void;\r\n send(data?: string): void;\r\n send(data?: any): void;\r\n setRequestHeader(header: string, value: string): void;\r\n DONE: number;\r\n HEADERS_RECEIVED: number;\r\n LOADING: number;\r\n OPENED: number;\r\n UNSENT: number;\r\n addEventListener(type: \"abort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadend\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"readystatechange\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeout\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var XMLHttpRequest: {\r\n prototype: XMLHttpRequest;\r\n new(): XMLHttpRequest;\r\n DONE: number;\r\n HEADERS_RECEIVED: number;\r\n LOADING: number;\r\n OPENED: number;\r\n UNSENT: number;\r\n create(): XMLHttpRequest;\r\n}\r\n\r\ninterface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget {\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ndeclare var XMLHttpRequestUpload: {\r\n prototype: XMLHttpRequestUpload;\r\n new(): XMLHttpRequestUpload;\r\n}\r\n\r\ninterface XMLSerializer {\r\n serializeToString(target: Node): string;\r\n}\r\n\r\ndeclare var XMLSerializer: {\r\n prototype: XMLSerializer;\r\n new(): XMLSerializer;\r\n}\r\n\r\ninterface XPathEvaluator {\r\n createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;\r\n createNSResolver(nodeResolver?: Node): XPathNSResolver;\r\n evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver, type: number, result: XPathResult): XPathResult;\r\n}\r\n\r\ndeclare var XPathEvaluator: {\r\n prototype: XPathEvaluator;\r\n new(): XPathEvaluator;\r\n}\r\n\r\ninterface XPathExpression {\r\n evaluate(contextNode: Node, type: number, result: XPathResult): XPathExpression;\r\n}\r\n\r\ndeclare var XPathExpression: {\r\n prototype: XPathExpression;\r\n new(): XPathExpression;\r\n}\r\n\r\ninterface XPathNSResolver {\r\n lookupNamespaceURI(prefix: string): string;\r\n}\r\n\r\ndeclare var XPathNSResolver: {\r\n prototype: XPathNSResolver;\r\n new(): XPathNSResolver;\r\n}\r\n\r\ninterface XPathResult {\r\n booleanValue: boolean;\r\n invalidIteratorState: boolean;\r\n numberValue: number;\r\n resultType: number;\r\n singleNodeValue: Node;\r\n snapshotLength: number;\r\n stringValue: string;\r\n iterateNext(): Node;\r\n snapshotItem(index: number): Node;\r\n ANY_TYPE: number;\r\n ANY_UNORDERED_NODE_TYPE: number;\r\n BOOLEAN_TYPE: number;\r\n FIRST_ORDERED_NODE_TYPE: number;\r\n NUMBER_TYPE: number;\r\n ORDERED_NODE_ITERATOR_TYPE: number;\r\n ORDERED_NODE_SNAPSHOT_TYPE: number;\r\n STRING_TYPE: number;\r\n UNORDERED_NODE_ITERATOR_TYPE: number;\r\n UNORDERED_NODE_SNAPSHOT_TYPE: number;\r\n}\r\n\r\ndeclare var XPathResult: {\r\n prototype: XPathResult;\r\n new(): XPathResult;\r\n ANY_TYPE: number;\r\n ANY_UNORDERED_NODE_TYPE: number;\r\n BOOLEAN_TYPE: number;\r\n FIRST_ORDERED_NODE_TYPE: number;\r\n NUMBER_TYPE: number;\r\n ORDERED_NODE_ITERATOR_TYPE: number;\r\n ORDERED_NODE_SNAPSHOT_TYPE: number;\r\n STRING_TYPE: number;\r\n UNORDERED_NODE_ITERATOR_TYPE: number;\r\n UNORDERED_NODE_SNAPSHOT_TYPE: number;\r\n}\r\n\r\ninterface XSLTProcessor {\r\n clearParameters(): void;\r\n getParameter(namespaceURI: string, localName: string): any;\r\n importStylesheet(style: Node): void;\r\n removeParameter(namespaceURI: string, localName: string): void;\r\n reset(): void;\r\n setParameter(namespaceURI: string, localName: string, value: any): void;\r\n transformToDocument(source: Node): Document;\r\n transformToFragment(source: Node, document: Document): DocumentFragment;\r\n}\r\n\r\ndeclare var XSLTProcessor: {\r\n prototype: XSLTProcessor;\r\n new(): XSLTProcessor;\r\n}\r\n\r\ninterface AbstractWorker {\r\n onerror: (ev: Event) => any;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ninterface ChildNode {\r\n remove(): void;\r\n}\r\n\r\ninterface DOML2DeprecatedColorProperty {\r\n color: string;\r\n}\r\n\r\ninterface DOML2DeprecatedSizeProperty {\r\n size: number;\r\n}\r\n\r\ninterface DocumentEvent {\r\n createEvent(eventInterface:\"AnimationEvent\"): AnimationEvent;\r\n createEvent(eventInterface:\"AriaRequestEvent\"): AriaRequestEvent;\r\n createEvent(eventInterface:\"AudioProcessingEvent\"): AudioProcessingEvent;\r\n createEvent(eventInterface:\"BeforeUnloadEvent\"): BeforeUnloadEvent;\r\n createEvent(eventInterface:\"ClipboardEvent\"): ClipboardEvent;\r\n createEvent(eventInterface:\"CloseEvent\"): CloseEvent;\r\n createEvent(eventInterface:\"CommandEvent\"): CommandEvent;\r\n createEvent(eventInterface:\"CompositionEvent\"): CompositionEvent;\r\n createEvent(eventInterface:\"CustomEvent\"): CustomEvent;\r\n createEvent(eventInterface:\"DeviceMotionEvent\"): DeviceMotionEvent;\r\n createEvent(eventInterface:\"DeviceOrientationEvent\"): DeviceOrientationEvent;\r\n createEvent(eventInterface:\"DragEvent\"): DragEvent;\r\n createEvent(eventInterface:\"ErrorEvent\"): ErrorEvent;\r\n createEvent(eventInterface:\"Event\"): Event;\r\n createEvent(eventInterface:\"Events\"): Event;\r\n createEvent(eventInterface:\"FocusEvent\"): FocusEvent;\r\n createEvent(eventInterface:\"GamepadEvent\"): GamepadEvent;\r\n createEvent(eventInterface:\"HashChangeEvent\"): HashChangeEvent;\r\n createEvent(eventInterface:\"IDBVersionChangeEvent\"): IDBVersionChangeEvent;\r\n createEvent(eventInterface:\"KeyboardEvent\"): KeyboardEvent;\r\n createEvent(eventInterface:\"LongRunningScriptDetectedEvent\"): LongRunningScriptDetectedEvent;\r\n createEvent(eventInterface:\"MSGestureEvent\"): MSGestureEvent;\r\n createEvent(eventInterface:\"MSManipulationEvent\"): MSManipulationEvent;\r\n createEvent(eventInterface:\"MSMediaKeyMessageEvent\"): MSMediaKeyMessageEvent;\r\n createEvent(eventInterface:\"MSMediaKeyNeededEvent\"): MSMediaKeyNeededEvent;\r\n createEvent(eventInterface:\"MSPointerEvent\"): MSPointerEvent;\r\n createEvent(eventInterface:\"MSSiteModeEvent\"): MSSiteModeEvent;\r\n createEvent(eventInterface:\"MessageEvent\"): MessageEvent;\r\n createEvent(eventInterface:\"MouseEvent\"): MouseEvent;\r\n createEvent(eventInterface:\"MouseEvents\"): MouseEvent;\r\n createEvent(eventInterface:\"MouseWheelEvent\"): MouseWheelEvent;\r\n createEvent(eventInterface:\"MutationEvent\"): MutationEvent;\r\n createEvent(eventInterface:\"MutationEvents\"): MutationEvent;\r\n createEvent(eventInterface:\"NavigationCompletedEvent\"): NavigationCompletedEvent;\r\n createEvent(eventInterface:\"NavigationEvent\"): NavigationEvent;\r\n createEvent(eventInterface:\"NavigationEventWithReferrer\"): NavigationEventWithReferrer;\r\n createEvent(eventInterface:\"OfflineAudioCompletionEvent\"): OfflineAudioCompletionEvent;\r\n createEvent(eventInterface:\"PageTransitionEvent\"): PageTransitionEvent;\r\n createEvent(eventInterface:\"PermissionRequestedEvent\"): PermissionRequestedEvent;\r\n createEvent(eventInterface:\"PointerEvent\"): PointerEvent;\r\n createEvent(eventInterface:\"PopStateEvent\"): PopStateEvent;\r\n createEvent(eventInterface:\"ProgressEvent\"): ProgressEvent;\r\n createEvent(eventInterface:\"SVGZoomEvent\"): SVGZoomEvent;\r\n createEvent(eventInterface:\"SVGZoomEvents\"): SVGZoomEvent;\r\n createEvent(eventInterface:\"ScriptNotifyEvent\"): ScriptNotifyEvent;\r\n createEvent(eventInterface:\"StorageEvent\"): StorageEvent;\r\n createEvent(eventInterface:\"TextEvent\"): TextEvent;\r\n createEvent(eventInterface:\"TouchEvent\"): TouchEvent;\r\n createEvent(eventInterface:\"TrackEvent\"): TrackEvent;\r\n createEvent(eventInterface:\"TransitionEvent\"): TransitionEvent;\r\n createEvent(eventInterface:\"UIEvent\"): UIEvent;\r\n createEvent(eventInterface:\"UIEvents\"): UIEvent;\r\n createEvent(eventInterface:\"UnviewableContentIdentifiedEvent\"): UnviewableContentIdentifiedEvent;\r\n createEvent(eventInterface:\"WebGLContextEvent\"): WebGLContextEvent;\r\n createEvent(eventInterface:\"WheelEvent\"): WheelEvent;\r\n createEvent(eventInterface: string): Event;\r\n}\r\n\r\ninterface ElementTraversal {\r\n childElementCount: number;\r\n firstElementChild: Element;\r\n lastElementChild: Element;\r\n nextElementSibling: Element;\r\n previousElementSibling: Element;\r\n}\r\n\r\ninterface GetSVGDocument {\r\n getSVGDocument(): Document;\r\n}\r\n\r\ninterface GlobalEventHandlers {\r\n onpointercancel: (ev: PointerEvent) => any;\r\n onpointerdown: (ev: PointerEvent) => any;\r\n onpointerenter: (ev: PointerEvent) => any;\r\n onpointerleave: (ev: PointerEvent) => any;\r\n onpointermove: (ev: PointerEvent) => any;\r\n onpointerout: (ev: PointerEvent) => any;\r\n onpointerover: (ev: PointerEvent) => any;\r\n onpointerup: (ev: PointerEvent) => any;\r\n onwheel: (ev: WheelEvent) => any;\r\n addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ninterface HTMLTableAlignment {\r\n /**\r\n * Sets or retrieves a value that you can use to implement your own ch functionality for the object.\r\n */\r\n ch: string;\r\n /**\r\n * Sets or retrieves a value that you can use to implement your own chOff functionality for the object.\r\n */\r\n chOff: string;\r\n /**\r\n * Sets or retrieves how text and other content are vertically aligned within the object that contains them.\r\n */\r\n vAlign: string;\r\n}\r\n\r\ninterface IDBEnvironment {\r\n indexedDB: IDBFactory;\r\n msIndexedDB: IDBFactory;\r\n}\r\n\r\ninterface LinkStyle {\r\n sheet: StyleSheet;\r\n}\r\n\r\ninterface MSBaseReader {\r\n onabort: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onload: (ev: Event) => any;\r\n onloadend: (ev: ProgressEvent) => any;\r\n onloadstart: (ev: Event) => any;\r\n onprogress: (ev: ProgressEvent) => any;\r\n readyState: number;\r\n result: any;\r\n abort(): void;\r\n DONE: number;\r\n EMPTY: number;\r\n LOADING: number;\r\n addEventListener(type: \"abort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadend\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\ninterface MSFileSaver {\r\n msSaveBlob(blob: any, defaultName?: string): boolean;\r\n msSaveOrOpenBlob(blob: any, defaultName?: string): boolean;\r\n}\r\n\r\ninterface MSNavigatorDoNotTrack {\r\n confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean;\r\n confirmWebWideTrackingException(args: ExceptionInformation): boolean;\r\n removeSiteSpecificTrackingException(args: ExceptionInformation): void;\r\n removeWebWideTrackingException(args: ExceptionInformation): void;\r\n storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void;\r\n storeWebWideTrackingException(args: StoreExceptionsInformation): void;\r\n}\r\n\r\ninterface NavigatorContentUtils {\r\n}\r\n\r\ninterface NavigatorGeolocation {\r\n geolocation: Geolocation;\r\n}\r\n\r\ninterface NavigatorID {\r\n appName: string;\r\n appVersion: string;\r\n platform: string;\r\n product: string;\r\n productSub: string;\r\n userAgent: string;\r\n vendor: string;\r\n vendorSub: string;\r\n}\r\n\r\ninterface NavigatorOnLine {\r\n onLine: boolean;\r\n}\r\n\r\ninterface NavigatorStorageUtils {\r\n}\r\n\r\ninterface NodeSelector {\r\n querySelector(selectors: string): Element;\r\n querySelectorAll(selectors: string): NodeListOf;\r\n}\r\n\r\ninterface RandomSource {\r\n getRandomValues(array: ArrayBufferView): ArrayBufferView;\r\n}\r\n\r\ninterface SVGAnimatedPathData {\r\n pathSegList: SVGPathSegList;\r\n}\r\n\r\ninterface SVGAnimatedPoints {\r\n animatedPoints: SVGPointList;\r\n points: SVGPointList;\r\n}\r\n\r\ninterface SVGExternalResourcesRequired {\r\n externalResourcesRequired: SVGAnimatedBoolean;\r\n}\r\n\r\ninterface SVGFilterPrimitiveStandardAttributes extends SVGStylable {\r\n height: SVGAnimatedLength;\r\n result: SVGAnimatedString;\r\n width: SVGAnimatedLength;\r\n x: SVGAnimatedLength;\r\n y: SVGAnimatedLength;\r\n}\r\n\r\ninterface SVGFitToViewBox {\r\n preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\r\n viewBox: SVGAnimatedRect;\r\n}\r\n\r\ninterface SVGLangSpace {\r\n xmllang: string;\r\n xmlspace: string;\r\n}\r\n\r\ninterface SVGLocatable {\r\n farthestViewportElement: SVGElement;\r\n nearestViewportElement: SVGElement;\r\n getBBox(): SVGRect;\r\n getCTM(): SVGMatrix;\r\n getScreenCTM(): SVGMatrix;\r\n getTransformToElement(element: SVGElement): SVGMatrix;\r\n}\r\n\r\ninterface SVGStylable {\r\n className: any;\r\n style: CSSStyleDeclaration;\r\n}\r\n\r\ninterface SVGTests {\r\n requiredExtensions: SVGStringList;\r\n requiredFeatures: SVGStringList;\r\n systemLanguage: SVGStringList;\r\n hasExtension(extension: string): boolean;\r\n}\r\n\r\ninterface SVGTransformable extends SVGLocatable {\r\n transform: SVGAnimatedTransformList;\r\n}\r\n\r\ninterface SVGURIReference {\r\n href: SVGAnimatedString;\r\n}\r\n\r\ninterface WindowBase64 {\r\n atob(encodedString: string): string;\r\n btoa(rawString: string): string;\r\n}\r\n\r\ninterface WindowConsole {\r\n console: Console;\r\n}\r\n\r\ninterface WindowLocalStorage {\r\n localStorage: Storage;\r\n}\r\n\r\ninterface WindowSessionStorage {\r\n sessionStorage: Storage;\r\n}\r\n\r\ninterface WindowTimers extends Object, WindowTimersExtension {\r\n clearInterval(handle: number): void;\r\n clearTimeout(handle: number): void;\r\n setInterval(handler: any, timeout?: any, ...args: any[]): number;\r\n setTimeout(handler: any, timeout?: any, ...args: any[]): number;\r\n}\r\n\r\ninterface WindowTimersExtension {\r\n clearImmediate(handle: number): void;\r\n msClearImmediate(handle: number): void;\r\n msSetImmediate(expression: any, ...args: any[]): number;\r\n setImmediate(expression: any, ...args: any[]): number;\r\n}\r\n\r\ninterface XMLHttpRequestEventTarget {\r\n onabort: (ev: Event) => any;\r\n onerror: (ev: Event) => any;\r\n onload: (ev: Event) => any;\r\n onloadend: (ev: ProgressEvent) => any;\r\n onloadstart: (ev: Event) => any;\r\n onprogress: (ev: ProgressEvent) => any;\r\n ontimeout: (ev: ProgressEvent) => any;\r\n addEventListener(type: \"abort\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"error\", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadend\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: \"timeout\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\n}\r\n\r\n\r\ninterface NodeListOf extends NodeList {\r\n length: number;\r\n item(index: number): TNode;\r\n [index: number]: TNode;\r\n}\r\n\r\n\r\ninterface BlobPropertyBag {\r\n type?: string;\r\n endings?: string;\r\n}\r\n\r\ninterface FilePropertyBag {\r\n type?: string;\r\n lastModified?: number;\r\n}\r\n\r\ninterface EventListenerObject {\r\n handleEvent(evt: Event): void;\r\n}\r\n\r\ndeclare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;\r\n\r\ninterface ErrorEventHandler {\r\n (message: string, filename?: string, lineno?: number, colno?: number, error?:Error): void;\r\n}\r\ninterface PositionCallback {\r\n (position: Position): void;\r\n}\r\ninterface PositionErrorCallback {\r\n (error: PositionError): void;\r\n}\r\ninterface MediaQueryListListener {\r\n (mql: MediaQueryList): void;\r\n}\r\ninterface MSLaunchUriCallback {\r\n (): void;\r\n}\r\ninterface FrameRequestCallback {\r\n (time: number): void;\r\n}\r\ninterface MSUnsafeFunctionCallback {\r\n (): any;\r\n}\r\ninterface MSExecAtPriorityFunctionCallback {\r\n (...args: any[]): any;\r\n}\r\ninterface MutationCallback {\r\n (mutations: MutationRecord[], observer: MutationObserver): void;\r\n}\r\ninterface DecodeSuccessCallback {\r\n (decodedData: AudioBuffer): void;\r\n}\r\ninterface DecodeErrorCallback {\r\n (): void;\r\n}\r\ninterface FunctionStringCallback {\r\n (data: string): void;\r\n}\r\ndeclare var Audio: {new(src?: string): HTMLAudioElement; };\r\ndeclare var Image: {new(width?: number, height?: number): HTMLImageElement; };\r\ndeclare var Option: {new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement; };\r\ndeclare var animationStartTime: number;\r\ndeclare var applicationCache: ApplicationCache;\r\ndeclare var clientInformation: Navigator;\r\ndeclare var closed: boolean;\r\ndeclare var crypto: Crypto;\r\ndeclare var defaultStatus: string;\r\ndeclare var devicePixelRatio: number;\r\ndeclare var doNotTrack: string;\r\ndeclare var document: Document;\r\ndeclare var event: Event;\r\ndeclare var external: External;\r\ndeclare var frameElement: Element;\r\ndeclare var frames: Window;\r\ndeclare var history: History;\r\ndeclare var innerHeight: number;\r\ndeclare var innerWidth: number;\r\ndeclare var length: number;\r\ndeclare var location: Location;\r\ndeclare var locationbar: BarProp;\r\ndeclare var menubar: BarProp;\r\ndeclare var msAnimationStartTime: number;\r\ndeclare var msTemplatePrinter: MSTemplatePrinter;\r\ndeclare var name: string;\r\ndeclare var navigator: Navigator;\r\ndeclare var offscreenBuffering: string | boolean;\r\ndeclare var onabort: (ev: Event) => any;\r\ndeclare var onafterprint: (ev: Event) => any;\r\ndeclare var onbeforeprint: (ev: Event) => any;\r\ndeclare var onbeforeunload: (ev: BeforeUnloadEvent) => any;\r\ndeclare var onblur: (ev: FocusEvent) => any;\r\ndeclare var oncanplay: (ev: Event) => any;\r\ndeclare var oncanplaythrough: (ev: Event) => any;\r\ndeclare var onchange: (ev: Event) => any;\r\ndeclare var onclick: (ev: MouseEvent) => any;\r\ndeclare var oncompassneedscalibration: (ev: Event) => any;\r\ndeclare var oncontextmenu: (ev: PointerEvent) => any;\r\ndeclare var ondblclick: (ev: MouseEvent) => any;\r\ndeclare var ondevicemotion: (ev: DeviceMotionEvent) => any;\r\ndeclare var ondeviceorientation: (ev: DeviceOrientationEvent) => any;\r\ndeclare var ondrag: (ev: DragEvent) => any;\r\ndeclare var ondragend: (ev: DragEvent) => any;\r\ndeclare var ondragenter: (ev: DragEvent) => any;\r\ndeclare var ondragleave: (ev: DragEvent) => any;\r\ndeclare var ondragover: (ev: DragEvent) => any;\r\ndeclare var ondragstart: (ev: DragEvent) => any;\r\ndeclare var ondrop: (ev: DragEvent) => any;\r\ndeclare var ondurationchange: (ev: Event) => any;\r\ndeclare var onemptied: (ev: Event) => any;\r\ndeclare var onended: (ev: Event) => any;\r\ndeclare var onerror: ErrorEventHandler;\r\ndeclare var onfocus: (ev: FocusEvent) => any;\r\ndeclare var onhashchange: (ev: HashChangeEvent) => any;\r\ndeclare var oninput: (ev: Event) => any;\r\ndeclare var onkeydown: (ev: KeyboardEvent) => any;\r\ndeclare var onkeypress: (ev: KeyboardEvent) => any;\r\ndeclare var onkeyup: (ev: KeyboardEvent) => any;\r\ndeclare var onload: (ev: Event) => any;\r\ndeclare var onloadeddata: (ev: Event) => any;\r\ndeclare var onloadedmetadata: (ev: Event) => any;\r\ndeclare var onloadstart: (ev: Event) => any;\r\ndeclare var onmessage: (ev: MessageEvent) => any;\r\ndeclare var onmousedown: (ev: MouseEvent) => any;\r\ndeclare var onmouseenter: (ev: MouseEvent) => any;\r\ndeclare var onmouseleave: (ev: MouseEvent) => any;\r\ndeclare var onmousemove: (ev: MouseEvent) => any;\r\ndeclare var onmouseout: (ev: MouseEvent) => any;\r\ndeclare var onmouseover: (ev: MouseEvent) => any;\r\ndeclare var onmouseup: (ev: MouseEvent) => any;\r\ndeclare var onmousewheel: (ev: MouseWheelEvent) => any;\r\ndeclare var onmsgesturechange: (ev: MSGestureEvent) => any;\r\ndeclare var onmsgesturedoubletap: (ev: MSGestureEvent) => any;\r\ndeclare var onmsgestureend: (ev: MSGestureEvent) => any;\r\ndeclare var onmsgesturehold: (ev: MSGestureEvent) => any;\r\ndeclare var onmsgesturestart: (ev: MSGestureEvent) => any;\r\ndeclare var onmsgesturetap: (ev: MSGestureEvent) => any;\r\ndeclare var onmsinertiastart: (ev: MSGestureEvent) => any;\r\ndeclare var onmspointercancel: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerdown: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerenter: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerleave: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointermove: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerout: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerover: (ev: MSPointerEvent) => any;\r\ndeclare var onmspointerup: (ev: MSPointerEvent) => any;\r\ndeclare var onoffline: (ev: Event) => any;\r\ndeclare var ononline: (ev: Event) => any;\r\ndeclare var onorientationchange: (ev: Event) => any;\r\ndeclare var onpagehide: (ev: PageTransitionEvent) => any;\r\ndeclare var onpageshow: (ev: PageTransitionEvent) => any;\r\ndeclare var onpause: (ev: Event) => any;\r\ndeclare var onplay: (ev: Event) => any;\r\ndeclare var onplaying: (ev: Event) => any;\r\ndeclare var onpopstate: (ev: PopStateEvent) => any;\r\ndeclare var onprogress: (ev: ProgressEvent) => any;\r\ndeclare var onratechange: (ev: Event) => any;\r\ndeclare var onreadystatechange: (ev: ProgressEvent) => any;\r\ndeclare var onreset: (ev: Event) => any;\r\ndeclare var onresize: (ev: UIEvent) => any;\r\ndeclare var onscroll: (ev: UIEvent) => any;\r\ndeclare var onseeked: (ev: Event) => any;\r\ndeclare var onseeking: (ev: Event) => any;\r\ndeclare var onselect: (ev: UIEvent) => any;\r\ndeclare var onstalled: (ev: Event) => any;\r\ndeclare var onstorage: (ev: StorageEvent) => any;\r\ndeclare var onsubmit: (ev: Event) => any;\r\ndeclare var onsuspend: (ev: Event) => any;\r\ndeclare var ontimeupdate: (ev: Event) => any;\r\ndeclare var ontouchcancel: any;\r\ndeclare var ontouchend: any;\r\ndeclare var ontouchmove: any;\r\ndeclare var ontouchstart: any;\r\ndeclare var onunload: (ev: Event) => any;\r\ndeclare var onvolumechange: (ev: Event) => any;\r\ndeclare var onwaiting: (ev: Event) => any;\r\ndeclare var opener: Window;\r\ndeclare var orientation: string | number;\r\ndeclare var outerHeight: number;\r\ndeclare var outerWidth: number;\r\ndeclare var pageXOffset: number;\r\ndeclare var pageYOffset: number;\r\ndeclare var parent: Window;\r\ndeclare var performance: Performance;\r\ndeclare var personalbar: BarProp;\r\ndeclare var screen: Screen;\r\ndeclare var screenLeft: number;\r\ndeclare var screenTop: number;\r\ndeclare var screenX: number;\r\ndeclare var screenY: number;\r\ndeclare var scrollX: number;\r\ndeclare var scrollY: number;\r\ndeclare var scrollbars: BarProp;\r\ndeclare var self: Window;\r\ndeclare var status: string;\r\ndeclare var statusbar: BarProp;\r\ndeclare var styleMedia: StyleMedia;\r\ndeclare var toolbar: BarProp;\r\ndeclare var top: Window;\r\ndeclare var window: Window;\r\ndeclare var URL: URL;\r\ndeclare function alert(message?: any): void;\r\ndeclare function blur(): void;\r\ndeclare function cancelAnimationFrame(handle: number): void;\r\ndeclare function captureEvents(): void;\r\ndeclare function close(): void;\r\ndeclare function confirm(message?: string): boolean;\r\ndeclare function focus(): void;\r\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;\r\ndeclare function getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList;\r\ndeclare function getSelection(): Selection;\r\ndeclare function matchMedia(mediaQuery: string): MediaQueryList;\r\ndeclare function moveBy(x?: number, y?: number): void;\r\ndeclare function moveTo(x?: number, y?: number): void;\r\ndeclare function msCancelRequestAnimationFrame(handle: number): void;\r\ndeclare function msMatchMedia(mediaQuery: string): MediaQueryList;\r\ndeclare function msRequestAnimationFrame(callback: FrameRequestCallback): number;\r\ndeclare function msWriteProfilerMark(profilerMarkName: string): void;\r\ndeclare function open(url?: string, target?: string, features?: string, replace?: boolean): any;\r\ndeclare function postMessage(message: any, targetOrigin: string, ports?: any): void;\r\ndeclare function print(): void;\r\ndeclare function prompt(message?: string, _default?: string): string;\r\ndeclare function releaseEvents(): void;\r\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\r\ndeclare function resizeBy(x?: number, y?: number): void;\r\ndeclare function resizeTo(x?: number, y?: number): void;\r\ndeclare function scroll(x?: number, y?: number): void;\r\ndeclare function scrollBy(x?: number, y?: number): void;\r\ndeclare function scrollTo(x?: number, y?: number): void;\r\ndeclare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;\r\ndeclare function webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;\r\ndeclare function toString(): string;\r\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\ndeclare function dispatchEvent(evt: Event): boolean;\r\ndeclare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\r\ndeclare function clearInterval(handle: number): void;\r\ndeclare function clearTimeout(handle: number): void;\r\ndeclare function setInterval(handler: any, timeout?: any, ...args: any[]): number;\r\ndeclare function setTimeout(handler: any, timeout?: any, ...args: any[]): number;\r\ndeclare function clearImmediate(handle: number): void;\r\ndeclare function msClearImmediate(handle: number): void;\r\ndeclare function msSetImmediate(expression: any, ...args: any[]): number;\r\ndeclare function setImmediate(expression: any, ...args: any[]): number;\r\ndeclare var sessionStorage: Storage;\r\ndeclare var localStorage: Storage;\r\ndeclare var console: Console;\r\ndeclare var onpointercancel: (ev: PointerEvent) => any;\r\ndeclare var onpointerdown: (ev: PointerEvent) => any;\r\ndeclare var onpointerenter: (ev: PointerEvent) => any;\r\ndeclare var onpointerleave: (ev: PointerEvent) => any;\r\ndeclare var onpointermove: (ev: PointerEvent) => any;\r\ndeclare var onpointerout: (ev: PointerEvent) => any;\r\ndeclare var onpointerover: (ev: PointerEvent) => any;\r\ndeclare var onpointerup: (ev: PointerEvent) => any;\r\ndeclare var onwheel: (ev: WheelEvent) => any;\r\ndeclare var indexedDB: IDBFactory;\r\ndeclare var msIndexedDB: IDBFactory;\r\ndeclare function atob(encodedString: string): string;\r\ndeclare function btoa(rawString: string): string;\r\ndeclare function addEventListener(type: \"MSGestureChange\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSGestureDoubleTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSGestureEnd\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSGestureHold\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSGestureStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSGestureTap\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSInertiaStart\", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerCancel\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerDown\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerEnter\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerLeave\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerMove\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerOut\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerOver\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"MSPointerUp\", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"abort\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"afterprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"beforeprint\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"beforeunload\", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"blur\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"canplay\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"canplaythrough\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"change\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"click\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"compassneedscalibration\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"contextmenu\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dblclick\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"devicemotion\", listener: (ev: DeviceMotionEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"deviceorientation\", listener: (ev: DeviceOrientationEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"drag\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dragend\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dragenter\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dragleave\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dragover\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"dragstart\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"drop\", listener: (ev: DragEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"durationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"emptied\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"ended\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"focus\", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"hashchange\", listener: (ev: HashChangeEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"input\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"keydown\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"keypress\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"keyup\", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"load\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"loadeddata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"loadedmetadata\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"loadstart\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"message\", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mousedown\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mouseenter\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mouseleave\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mousemove\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mouseout\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mouseover\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mouseup\", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"mousewheel\", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"offline\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"online\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"orientationchange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pagehide\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pageshow\", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pause\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"play\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"playing\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointercancel\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerdown\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerenter\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerleave\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointermove\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerout\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerover\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"pointerup\", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"popstate\", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"progress\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"ratechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"readystatechange\", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"reset\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"resize\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"scroll\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"seeked\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"seeking\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"select\", listener: (ev: UIEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"stalled\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"storage\", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"submit\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"suspend\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"timeupdate\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"unload\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"volumechange\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"waiting\", listener: (ev: Event) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: \"wheel\", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;\r\ndeclare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;\n"},"meta":{"kind":"string","value":"{'content_hash': '5cc0c64127a60d042559f93f1c059ede', 'timestamp': '', 'source': 'github', 'line_count': 12964, 'max_line_length': 568, 'avg_line_length': 40.67641160135761, 'alnum_prop': 0.6885435847450074, 'repo_name': 'billti/TypeScript', 'id': '19907d2edf9c2cf12781104d27a82676fdf89b0f', 'size': '527329', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/lib/dom.generated.d.ts', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '945'}, {'name': 'HTML', 'bytes': '4843'}, {'name': 'JavaScript', 'bytes': '175'}, {'name': 'PowerShell', 'bytes': '2855'}, {'name': 'TypeScript', 'bytes': '25401491'}]}"}}},{"rowIdx":849838,"cells":{"text":{"kind":"string","value":"{% extends \"base_website.html\" %}\n{% block title %}Fotos{% endblock %}\n{% block content %}\n\n
\n
\n

Fotos

\n
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\"placeholder\"
\n
\n
\n
\n \n
\n \n{% endblock %}\n"},"meta":{"kind":"string","value":"{'content_hash': '6bde0f96606f319300f4a17856051517', 'timestamp': '', 'source': 'github', 'line_count': 51, 'max_line_length': 234, 'avg_line_length': 66.41176470588235, 'alnum_prop': 0.5379391792146442, 'repo_name': 'mfalcon/edujango', 'id': '3aaaecc26ef4b99fd65cb3df0dc262d3eb064726', 'size': '3390', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'edujango/templates/website/fotos.html', 'mode': '33261', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '1422089'}, {'name': 'HTML', 'bytes': '1793045'}, {'name': 'JavaScript', 'bytes': '8694110'}, {'name': 'PHP', 'bytes': '2156'}, {'name': 'Python', 'bytes': '885118'}, {'name': 'Ruby', 'bytes': '249'}]}"}}},{"rowIdx":849839,"cells":{"text":{"kind":"string","value":"\r\n\r\n \r\n \r\n \r\n Ферманың дара №\r\n \r\n \r\n \r\n Ферманың дара №\r\n Ферманың атауы\r\n Ферма иесінің тегі\r\n Ферма иесінің аты\r\n Ферма иесінің әкесінің аты\r\n Пациенттің үй телефоны\r\n Факс\r\n Электрондық пошта\r\n Облыс/Өңір\r\n Аудан\r\n Елді мекен\r\n Көше\r\n Корпус\r\n Үй\r\n Пәтер\r\n Пошта индексі\r\n Бойлық\r\n Ендік\r\n \r\n\r\n"},"meta":{"kind":"string","value":"{'content_hash': '6dd41ede1b2437a826f43fd787fd5831', 'timestamp': '', 'source': 'github', 'line_count': 29, 'max_line_length': 76, 'avg_line_length': 50.206896551724135, 'alnum_prop': 0.7190934065934066, 'repo_name': 'EIDSS/EIDSS-Legacy', 'id': '0516ad80d6bb7cf30354f4f63dde9da192973ee5', 'size': '1654', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'EIDSS v6.1/Android/app/src/main/res/values-kk/Farm_fields.xml', 'mode': '33188', 'license': 'bsd-2-clause', 'language': [{'name': 'ASP', 'bytes': '256377'}, {'name': 'Batchfile', 'bytes': '30009'}, {'name': 'C#', 'bytes': '106160789'}, {'name': 'CSS', 'bytes': '833586'}, {'name': 'HTML', 'bytes': '7507'}, {'name': 'Java', 'bytes': '2188690'}, {'name': 'JavaScript', 'bytes': '17000221'}, {'name': 'PLSQL', 'bytes': '2499'}, {'name': 'PLpgSQL', 'bytes': '6422'}, {'name': 'Pascal', 'bytes': '159898'}, {'name': 'PowerShell', 'bytes': '339522'}, {'name': 'Puppet', 'bytes': '3758'}, {'name': 'SQLPL', 'bytes': '12198'}, {'name': 'Smalltalk', 'bytes': '301266'}, {'name': 'Visual Basic', 'bytes': '20819564'}, {'name': 'XSLT', 'bytes': '4253600'}]}"}}},{"rowIdx":849840,"cells":{"text":{"kind":"string","value":"\n\n#pragma once\n\n#ifdef _WIN32\n\n#include \n#include \n\n#include \n\nFOLLY_ALWAYS_INLINE\nint64_t __sync_fetch_and_add(volatile int64_t* ptr, int64_t value) {\n return _InterlockedExchangeAdd64(ptr, value);\n}\n\n#endif\n"},"meta":{"kind":"string","value":"{'content_hash': 'ee3ec2515d078c412bb3c749abb872d0', 'timestamp': '', 'source': 'github', 'line_count': 17, 'max_line_length': 68, 'avg_line_length': 14.764705882352942, 'alnum_prop': 0.7211155378486056, 'repo_name': 'Dagers/React-Native-Differential-Updater', 'id': '8aa9f307c464cfbb714d01205e3074e46a7cfda1', 'size': '846', 'binary': False, 'copies': '5', 'ref': 'refs/heads/master', 'path': 'App/node_modules/react-native/third-party/folly-2016.09.26.00/folly/portability/Atomic.h', 'mode': '33261', 'license': 'mit', 'language': [{'name': 'C', 'bytes': '25791'}, {'name': 'C++', 'bytes': '1139'}, {'name': 'HTML', 'bytes': '4980'}, {'name': 'Java', 'bytes': '1922327'}, {'name': 'JavaScript', 'bytes': '128039'}, {'name': 'Objective-C', 'bytes': '183227'}, {'name': 'Python', 'bytes': '1730'}]}"}}},{"rowIdx":849841,"cells":{"text":{"kind":"string","value":"\n\npackage org.springframework.boot.test.autoconfigure.jdbc;\n\nimport javax.sql.DataSource;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Primary;\nimport org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;\nimport org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;\nimport org.springframework.test.context.junit4.SpringRunner;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\n/**\n * Integration tests for {@link AutoConfigureTestDatabase} when there are multiple\n * datasources.\n *\n * @author Greg Potter\n */\n@RunWith(SpringRunner.class)\n@JdbcTest\n@AutoConfigureTestDatabase\npublic class AutoConfigureTestDatabaseWithMultipleDatasourcesIntegrationTests {\n\n\t@Autowired\n\tprivate DataSource dataSource;\n\n\t@Test\n\tpublic void replacesDefinedDataSourceWithExplicit() throws Exception {\n\t\t// Look that the datasource is replaced with an H2 DB.\n\t\tString product = this.dataSource.getConnection().getMetaData()\n\t\t\t\t.getDatabaseProductName();\n\t\tassertThat(product).startsWith(\"H2\");\n\t}\n\n\t@Configuration\n\t@EnableAutoConfiguration\n\tstatic class Config {\n\n\t\t@Bean\n\t\t@Primary\n\t\tpublic DataSource dataSource() {\n\t\t\treturn new EmbeddedDatabaseBuilder().generateUniqueName(true)\n\t\t\t\t\t.setType(EmbeddedDatabaseType.HSQL).build();\n\t\t}\n\n\t\t@Bean\n\t\tpublic DataSource secondaryDataSource() {\n\t\t\treturn new EmbeddedDatabaseBuilder().generateUniqueName(true)\n\t\t\t\t\t.setType(EmbeddedDatabaseType.HSQL).build();\n\t\t}\n\n\t}\n\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'd7b23a4ae5a7d2173d8449ad9abdd246', 'timestamp': '', 'source': 'github', 'line_count': 62, 'max_line_length': 82, 'avg_line_length': 28.080645161290324, 'alnum_prop': 0.8058587018954624, 'repo_name': 'drumonii/spring-boot', 'id': '2ea3b843b524f3ee0851a54025bd31f987e38736', 'size': '2361', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabaseWithMultipleDatasourcesIntegrationTests.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Batchfile', 'bytes': '1948'}, {'name': 'CSS', 'bytes': '5769'}, {'name': 'Dockerfile', 'bytes': '5379'}, {'name': 'FreeMarker', 'bytes': '3599'}, {'name': 'Groovy', 'bytes': '51602'}, {'name': 'HTML', 'bytes': '69601'}, {'name': 'Java', 'bytes': '14190824'}, {'name': 'JavaScript', 'bytes': '37789'}, {'name': 'Kotlin', 'bytes': '25029'}, {'name': 'Ruby', 'bytes': '1308'}, {'name': 'Shell', 'bytes': '32644'}, {'name': 'Smarty', 'bytes': '2885'}, {'name': 'XSLT', 'bytes': '36394'}]}"}}},{"rowIdx":849842,"cells":{"text":{"kind":"string","value":"package com.raukhvarger.examples.spring_orm.app;\n\nimport com.raukhvarger.examples.spring_orm.db.DAO;\nimport com.raukhvarger.examples.spring_orm.db.entity.Person;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.ApplicationContext;\nimport org.springframework.context.annotation.AnnotationConfigApplicationContext;\nimport org.springframework.stereotype.Component;\n\n/**\n * Created by jerde on 03.11.2016.\n */\n\n@Component\npublic class App {\n\n @Autowired\n DAO dao;\n\n public static void main(String args[]) {\n ApplicationContext context = new AnnotationConfigApplicationContext(SpringConfigContext.class);\n\n App app = context.getBean(App.class);\n\n app.dao.persist(new Person(\"Ivan Petrov\", 25));\n app.dao.persist(new Person(\"Sidor Ivanov\", 31));\n\n pr(app.dao.findAll());\n }\n\n public static void pr(Object str) {\n System.out.println(str);\n }\n\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '28fefe85a37dd6ccf622798003f0d94b', 'timestamp': '', 'source': 'github', 'line_count': 35, 'max_line_length': 103, 'avg_line_length': 27.057142857142857, 'alnum_prop': 0.7307286166842661, 'repo_name': 'mraukhvarger/spring_orm_without_xml', 'id': '42de3410f0c6348e5e6482b3b1388b57855ae226', 'size': '947', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/java/com/raukhvarger/examples/spring_orm/app/App.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '5069'}]}"}}},{"rowIdx":849843,"cells":{"text":{"kind":"string","value":"\"\"\" entry points to pastescript\n\"\"\"\nimport sys\nfrom .urldispatcher import URLDispatcher\n\n\ndef make_urldispatch_application(_, **settings):\n \"\"\" paste.app_factory interface for URLDispatcher\"\"\"\n patterns = [p.split(\"=\", 1)\n for p in settings['patterns'].split('\\n')\n if p]\n application = URLDispatcher()\n\n for pattern, app in patterns:\n pattern = pattern.strip()\n app = app.strip()\n mod, obj = app.split(\":\", 1)\n if mod not in sys.modules:\n __import__(mod)\n mod = sys.modules[mod]\n obj = getattr(mod, obj)\n application.add_url(app, pattern, obj)\n\n return application\n"},"meta":{"kind":"string","value":"{'content_hash': '420cad587ae11ef7470655f7976c8983', 'timestamp': '', 'source': 'github', 'line_count': 24, 'max_line_length': 57, 'avg_line_length': 27.958333333333332, 'alnum_prop': 0.5842026825633383, 'repo_name': 'aodag/WebDispatch', 'id': 'cf0ddbc109a1f7862e90c770ce9be0da781c9aee', 'size': '671', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'webdispatch/paster.py', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Gherkin', 'bytes': '22'}, {'name': 'Python', 'bytes': '39639'}]}"}}},{"rowIdx":849844,"cells":{"text":{"kind":"string","value":"'use strict';\n\nvar _ = require(\"lodash\"),\n EventEmitter = require(\"events\").EventEmitter,\n fs = require(\"fs\"),\n subTemplates = require('simplator-subtemplates'),\n simplator = require(\"simplator\");\n\n\nvar tabs = fs.readFileSync(__dirname + \"/../templates/tabs.html\", \"utf8\"),\n tab = fs.readFileSync(__dirname + \"/../templates/tab.html\", \"utf8\"),\n templates = {\n tabs: simplator.compile(tabs),\n tab: simplator.compile(tab)\n };\n\nsubTemplates.use(templates);\n\nfunction TabsView($) {\n this.$ = $;\n this.events = new EventEmitter();\n\n\n}\n\nmodule.exports = TabsView;\n\nTabsView.prototype.onTabClick = function (tab) {\n\n var li = this.$(tab).parent(\"li\");\n\n var attr = li.attr(\"id\");\n this.events.emit('tabClicked', attr);\n};\n\nTabsView.prototype.setCaption = function (tabId,newCaption) {\n var _this = this;\n\n _this.$(\".tabs #\"+tabId+\" a\").html(newCaption);\n\n\n};\n\nTabsView.prototype.run = function () {\n var _this = this;\n\n _this.$(\".tabs a\").click(function () {\n _this.onTabClick(this);\n });\n\n\n};\n\nTabsView.prototype.setActive = function (tabId) {\n this.$(\".tabs li\").removeClass(\"active\");\n this.$(\".tabs #\"+tabId).addClass(\"active\");\n\n};\nTabsView.prototype.addTab = function (tab) {\n this.$(\".tabs\").append(templates.tab(tab));\n var _this = this;\n _this.$(\".tabs #\"+tab.id+ \" a\").click(function () {\n _this.onTabClick(this);\n });\n};\n\nTabsView.prototype.removeTab = function (tabId) {\n this.$(\".tabs #\"+tabId+ \" a\").off(\"click\");\n this.$(\".tabs #\"+tabId).remove();\n};\n\nTabsView.prototype.render = function (tabsPresenter) {\n\n return templates.tabs(tabsPresenter);\n\n};"},"meta":{"kind":"string","value":"{'content_hash': 'eeabae5b027547ae8e4e9e04f00618fa', 'timestamp': '', 'source': 'github', 'line_count': 76, 'max_line_length': 74, 'avg_line_length': 21.894736842105264, 'alnum_prop': 0.6087740384615384, 'repo_name': 'parroit/tabs-mvp', 'id': 'dc642eff6cc6df19cbfc49a61f106e25b794da5b', 'size': '1664', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'lib/TabsView.js', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'JavaScript', 'bytes': '14186'}]}"}}},{"rowIdx":849845,"cells":{"text":{"kind":"string","value":"\n\n\n \n\n \n \n\n \n \n \n \n \n \n\n \n \n \n \n\n\n"},"meta":{"kind":"string","value":"{'content_hash': '87e81debbfb728ec5e61d6af3d660653', 'timestamp': '', 'source': 'github', 'line_count': 35, 'max_line_length': 78, 'avg_line_length': 35.8, 'alnum_prop': 0.6384676775738228, 'repo_name': 'wizfactor/secure-authenticator', 'id': 'ed58743c1fea06b268271f1d9dec2d853d3f33e2', 'size': '1253', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'SecureAuthenticator/src/main/AndroidManifest.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Java', 'bytes': '19866'}]}"}}},{"rowIdx":849846,"cells":{"text":{"kind":"string","value":" \n
\n\n \n
\n \n
\n\n \n
\n \n\n \n
\n
\n
\n
\n\n
\n \n \n \n
\n
\n
\n\n\n\n\n\n\n\n\n"},"meta":{"kind":"string","value":"{'content_hash': 'd536b00ff9d9affcbc181b030f9d5c50', 'timestamp': '', 'source': 'github', 'line_count': 39, 'max_line_length': 147, 'avg_line_length': 35.61538461538461, 'alnum_prop': 0.6709863210943124, 'repo_name': 'OdenthalKay/abschluss', 'id': '195647dfdeb729eb18a6bd80252df3e8a5b1ce8d', 'size': '1389', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'packages/custom/slideshowplayer/public/views/index.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '152733'}, {'name': 'Java', 'bytes': '3095'}, {'name': 'JavaScript', 'bytes': '284659'}, {'name': 'Perl', 'bytes': '48'}, {'name': 'Shell', 'bytes': '250'}]}"}}},{"rowIdx":849847,"cells":{"text":{"kind":"string","value":"import logging\n#from logging.handlers import RotatingFileHandler\nfrom logging.handlers import TimedRotatingFileHandler\nfrom os import mkdir, path\nimport sys\nreload(sys)\nsys.setdefaultencoding(\"utf-8\")\n\n__author__ = \"Jani Yli-Kantola\"\n__credits__ = [\"Jani Yli-Kantola\", \"Tommi Portti\", \"Harri Hirvonsalo\", \"Kari Liukkunen\", \"Björn Elmers\", \"Olov Ståhl\"]\n__license__ = \"\"\n__status__ = \"Development\"\n\n# TODO: Capture printouts of external modules\n## About capturing and redirecting stdout\n# https://wrongsideofmemphis.wordpress.com/2010/03/01/store-standard-output-on-a-variable-in-python/\n# http://stackoverflow.com/questions/22822267/python-capture-print-output-of-another-module\n\nLOG_PATH = './logs/'\nLOG_FILE = LOG_PATH + 'restAPI.log'\n\nif LOG_PATH != \"./\":\n try:\n mkdir(LOG_PATH)\n print(\"Creating LOG_PATH: '{}'.\".format(LOG_PATH))\n except IOError:\n print(\"LOG_PATH: '{}' already exists.\".format(LOG_PATH))\n except Exception as e:\n print(\"LOG_PATH: '{}' could not be created. Exception: {}.\".format(LOG_PATH, repr(e)))\n\n# Logger functionality\nlogger = logging.getLogger('RestAPI') # Get Logger\nlogger.setLevel(logging.DEBUG) # Set logging level\n# Log levels\n# -> CRITICAL\n# -> ERROR\n# -> WARNING\n# -> INFO\n# -> DEBUG\n# -> NOTSET\n\n# Logging to file\nif 'vagrant' in path.abspath(__file__):\n # Log everything to one file when running vagrant\n # http://stackoverflow.com/questions/22852555/rotatingfilehandler-text-file-busy-in-windows\n # http://bugs.python.org/issue4749\n logFileHandler = logging.FileHandler(LOG_FILE) # Handler to log to file\nelse:\n # To switch log file when it reaches specified file-size\n #bytes = 1024 * 1024 * 5 # 5 MB\n #logFileHandler = RotatingFileHandler(LOG_FILE, maxBytes=bytes, backupCount=5)\n\n # To switch log file based on time\n logFileHandler = TimedRotatingFileHandler(LOG_FILE, when=\"midnight\", interval=1, backupCount=7, utc=True)\n\n# To set logging-level for logFileHandler\nlogFileHandler.setLevel(logging.DEBUG) # Set logging level\n\n# Logging to Console\nlogConsoleHandler = logging.StreamHandler() # Handler to log to console\nlogConsoleHandler.setLevel(logging.DEBUG) # Set logging level\n\n# Log formatter for handlers\nlogFileFormatter = logging.Formatter('%(asctime)s - %(filename)-22s on line %(lineno)-6d - %(levelname)-10s - %(message)s')\nlogConsoleFormatter = logging.Formatter('%(asctime)s - %(filename)-22s - %(levelname)-10s - %(message)s')\n\n# Add log formatter to log handlers\nlogFileHandler.setFormatter(logFileFormatter)\nlogConsoleHandler.setFormatter(logConsoleFormatter)\n\n# Add log handlers to logger\nlogger.addHandler(logFileHandler)\nlogger.addHandler(logConsoleHandler)\n\nlogger.debug(\"****************\")\n"},"meta":{"kind":"string","value":"{'content_hash': '78ea10b1ba015862b408c8937353d389', 'timestamp': '', 'source': 'github', 'line_count': 75, 'max_line_length': 123, 'avg_line_length': 36.38666666666666, 'alnum_prop': 0.7207768413338219, 'repo_name': 'improve-project/platform', 'id': 'cf64b1d75e0bbb2a814ecd32bcdc661c4e26d50b', 'size': '2890', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'api_logger.py', 'mode': '33261', 'license': 'bsd-3-clause', 'language': [{'name': 'Python', 'bytes': '554005'}]}"}}},{"rowIdx":849848,"cells":{"text":{"kind":"string","value":"\n\n\n\n\n\t\n\t\t\n\t\t\n\t\n\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n"},"meta":{"kind":"string","value":"{'content_hash': '9c144475a8361184c3e99ebf145eb75a', 'timestamp': '', 'source': 'github', 'line_count': 21, 'max_line_length': 234, 'avg_line_length': 35.38095238095238, 'alnum_prop': 0.7227456258411844, 'repo_name': 'Topview-us/school-website', 'id': '763926ffa76ebcda4f761c2c059c35a56f98795d', 'size': '743', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/resources/rebel.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Java', 'bytes': '457556'}]}"}}},{"rowIdx":849849,"cells":{"text":{"kind":"string","value":"package com.canyinghao.canadapter;\n\nimport android.view.View;\nimport android.widget.CompoundButton;\n\n\npublic class CanOnItemListener {\n\n\n public void onItemChildClick(View view, int position) {\n }\n\n public boolean onItemChildLongClick(View view, int position) {\n return false;\n }\n\n public void onItemChildCheckedChanged(CompoundButton view, int position, boolean isChecked) {\n }\n\n\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '18a5b4e4c61dd593835d8ea8f4a864ba', 'timestamp': '', 'source': 'github', 'line_count': 21, 'max_line_length': 97, 'avg_line_length': 19.428571428571427, 'alnum_prop': 0.7352941176470589, 'repo_name': 'canyinghao/CanAdapter', 'id': 'acad1fb227869f281605f35365bf68562e2d94fd', 'size': '1003', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'canadapter/src/main/java/com/canyinghao/canadapter/CanOnItemListener.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Java', 'bytes': '113035'}]}"}}},{"rowIdx":849850,"cells":{"text":{"kind":"string","value":"ACCEPTED\n\n#### According to\nInternational Plant Names Index\n\n#### Published in\nFl Filip. 283. 1837\n\n#### Original name\nnull\n\n### Remarks\nnull"},"meta":{"kind":"string","value":"{'content_hash': 'e4ae1d6ecfee25ac1b9aff1abe8a34bc', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 31, 'avg_line_length': 10.846153846153847, 'alnum_prop': 0.7021276595744681, 'repo_name': 'mdoering/backbone', 'id': 'c4680e85f8d0a810bf8b3d5b1d8d5afe25f8f8cf', 'size': '192', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Aristolochiaceae/Aristolochia/Aristolochia sericea/README.md', 'mode': '33188', 'license': 'apache-2.0', 'language': []}"}}},{"rowIdx":849851,"cells":{"text":{"kind":"string","value":"pageTitle = Yii::t('dressing', 'Documentation');\n\n// menu\n$this->menu = SiteMenu::getItemsFromMenu(SiteMenu::MENU_MAIN);\n\n// breadcrumbs\n$this->addBreadcrumb(Yii::t('dressing', 'Help'), array('/site/page', 'view' => 'help'));\n\necho '

' . Yii::t('dressing', 'Vendor Documentation') . '

';\n$this->widget('bootstrap.widgets.TbNav', array(\n 'type' => TbHtml::NAV_TYPE_PILLS,\n 'stacked' => false,\n 'items' => array(\n array('label' => Yii::t('dressing', 'Yii'), 'url' => 'http://www.yiiframework.com/doc/'),\n array('label' => Yii::t('dressing', 'YiiExt'), 'url' => 'http://yiiext.github.io/'),\n array('label' => Yii::t('dressing', 'Yii Booster'), 'url' => 'http://yiibooster.clevertech.biz/'),\n array('label' => Yii::t('dressing', 'Yii Bootstrap'), 'url' => 'http://www.cniska.net/yii-bootstrap'),\n array('label' => Yii::t('dressing', 'Bootstrap'), 'url' => 'http://twitter.github.io/bootstrap/'),\n array('label' => Yii::t('dressing', 'jQuery'), 'url' => 'http://api.jquery.com/'),\n array('label' => Yii::t('dressing', 'Swift Mailer'), 'url' => 'http://swiftmailer.org/docs/introduction.html'),\n array('label' => Yii::t('dressing', 'Mustache PHP'), 'url' => 'https://github.com/bobthecow/mustache.php'),\n array('label' => Yii::t('dressing', 'Kint'), 'url' => 'http://raveren.github.io/kint/'),\n array('label' => Yii::t('dressing', 'Highcharts'), 'url' => 'http://api.highcharts.com/highcharts'),\n ),\n));\n\n"},"meta":{"kind":"string","value":"{'content_hash': 'e2d42a4017bfe2d0cfe42c004afb40d2', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 119, 'avg_line_length': 53.642857142857146, 'alnum_prop': 0.5832223701731025, 'repo_name': 'cornernote/yii-dressing', 'id': '05d2e9bcb7707d1cffbd89a8448c53dd6f3556ea', 'size': '1812', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'yii-dressing/views/tool/pages/documentation.php', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'CSS', 'bytes': '88039'}, {'name': 'CoffeeScript', 'bytes': '1254'}, {'name': 'HTML', 'bytes': '70017'}, {'name': 'JavaScript', 'bytes': '486720'}, {'name': 'PHP', 'bytes': '583377'}]}"}}},{"rowIdx":849852,"cells":{"text":{"kind":"string","value":"]+$/i\n|\n| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!\n|\n*/\n$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\\-';\n\n/*\n|--------------------------------------------------------------------------\n| Enable Query Strings\n|--------------------------------------------------------------------------\n|\n| By default CodeIgniter uses search-engine friendly segment based URLs:\n| example.com/who/what/where/\n|\n| You can optionally enable standard query string based URLs:\n| example.com?who=me&what=something&where=here\n|\n| Options are: TRUE or FALSE (boolean)\n|\n| The other items let you set the query string 'words' that will\n| invoke your controllers and its functions:\n| example.com/index.php?c=controller&m=function\n|\n| Please note that some of the helpers won't work as expected when\n| this feature is enabled, since CodeIgniter is designed primarily to\n| use segment based URLs.\n|\n*/\n$config['enable_query_strings'] = FALSE;\n$config['controller_trigger'] = 'c';\n$config['function_trigger'] = 'm';\n$config['directory_trigger'] = 'd';\n\n/*\n|--------------------------------------------------------------------------\n| Allow $_GET array\n|--------------------------------------------------------------------------\n|\n| By default CodeIgniter enables access to the $_GET array. If for some\n| reason you would like to disable it, set 'allow_get_array' to FALSE.\n|\n| WARNING: This feature is DEPRECATED and currently available only\n| for backwards compatibility purposes!\n|\n*/\n$config['allow_get_array'] = TRUE;\n\n/*\n|--------------------------------------------------------------------------\n| Error Logging Threshold\n|--------------------------------------------------------------------------\n|\n| You can enable error logging by setting a threshold over zero. The\n| threshold determines what gets logged. Threshold options are:\n|\n|\t0 = Disables logging, Error logging TURNED OFF\n|\t1 = Error Messages (including PHP errors)\n|\t2 = Debug Messages\n|\t3 = Informational Messages\n|\t4 = All Messages\n|\n| You can also pass an array with threshold levels to show individual error types\n|\n| \tarray(2) = Debug Messages, without Error Messages\n|\n| For a live site you'll usually only enable Errors (1) to be logged otherwise\n| your log files will fill up very fast.\n|\n*/\n$config['log_threshold'] = 0;\n\n/*\n|--------------------------------------------------------------------------\n| Error Logging Directory Path\n|--------------------------------------------------------------------------\n|\n| Leave this BLANK unless you would like to set something other than the default\n| application/logs/ directory. Use a full server path with trailing slash.\n|\n*/\n$config['log_path'] = '';\n\n/*\n|--------------------------------------------------------------------------\n| Log File Extension\n|--------------------------------------------------------------------------\n|\n| The default filename extension for log files. The default 'php' allows for\n| protecting the log files via basic scripting, when they are to be stored\n| under a publicly accessible directory.\n|\n| Note: Leaving it blank will default to 'php'.\n|\n*/\n$config['log_file_extension'] = '';\n\n/*\n|--------------------------------------------------------------------------\n| Log File Permissions\n|--------------------------------------------------------------------------\n|\n| The file system permissions to be applied on newly created log files.\n|\n| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal\n| integer notation (i.e. 0700, 0644, etc.)\n*/\n$config['log_file_permissions'] = 0644;\n\n/*\n|--------------------------------------------------------------------------\n| Date Format for Logs\n|--------------------------------------------------------------------------\n|\n| Each item that is logged has an associated date. You can use PHP date\n| codes to set your own date formatting\n|\n*/\n$config['log_date_format'] = 'Y-m-d H:i:s';\n\n/*\n|--------------------------------------------------------------------------\n| Error Views Directory Path\n|--------------------------------------------------------------------------\n|\n| Leave this BLANK unless you would like to set something other than the default\n| application/views/errors/ directory. Use a full server path with trailing slash.\n|\n*/\n$config['error_views_path'] = '';\n\n/*\n|--------------------------------------------------------------------------\n| Cache Directory Path\n|--------------------------------------------------------------------------\n|\n| Leave this BLANK unless you would like to set something other than the default\n| application/cache/ directory. Use a full server path with trailing slash.\n|\n*/\n$config['cache_path'] = '';\n\n/*\n|--------------------------------------------------------------------------\n| Cache Include Query String\n|--------------------------------------------------------------------------\n|\n| Whether to take the URL query string into consideration when generating\n| output cache files. Valid options are:\n|\n|\tFALSE = Disabled\n|\tTRUE = Enabled, take all query parameters into account.\n|\t Please be aware that this may result in numerous cache\n|\t files generated for the same page over and over again.\n|\tarray('q') = Enabled, but only take into account the specified list\n|\t of query parameters.\n|\n*/\n$config['cache_query_string'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Encryption Key\n|--------------------------------------------------------------------------\n|\n| If you use the Encryption class, you must set an encryption key.\n| See the user guide for more info.\n|\n| https://codeigniter.com/user_guide/libraries/encryption.html\n|\n*/\n$config['encryption_key'] = '';\n\n/*\n|--------------------------------------------------------------------------\n| Session Variables\n|--------------------------------------------------------------------------\n|\n| 'sess_driver'\n|\n|\tThe storage driver to use: files, database, redis, memcached\n|\n| 'sess_cookie_name'\n|\n|\tThe session cookie name, must contain only [0-9a-z_-] characters\n|\n| 'sess_expiration'\n|\n|\tThe number of SECONDS you want the session to last.\n|\tSetting to 0 (zero) means expire when the browser is closed.\n|\n| 'sess_save_path'\n|\n|\tThe location to save sessions to, driver dependent.\n|\n|\tFor the 'files' driver, it's a path to a writable directory.\n|\tWARNING: Only absolute paths are supported!\n|\n|\tFor the 'database' driver, it's a table name.\n|\tPlease read up the manual for the format with other session drivers.\n|\n|\tIMPORTANT: You are REQUIRED to set a valid save path!\n|\n| 'sess_match_ip'\n|\n|\tWhether to match the user's IP address when reading the session data.\n|\n|\tWARNING: If you're using the database driver, don't forget to update\n|\t your session table's PRIMARY KEY when changing this setting.\n|\n| 'sess_time_to_update'\n|\n|\tHow many seconds between CI regenerating the session ID.\n|\n| 'sess_regenerate_destroy'\n|\n|\tWhether to destroy session data associated with the old session ID\n|\twhen auto-regenerating the session ID. When set to FALSE, the data\n|\twill be later deleted by the garbage collector.\n|\n| Other session cookie settings are shared with the rest of the application,\n| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.\n|\n*/\n$config['sess_driver'] = 'files';\n$config['sess_cookie_name'] = 'ci_session';\n$config['sess_expiration'] = 7200;\n$config['sess_save_path'] = NULL;\n$config['sess_match_ip'] = FALSE;\n$config['sess_time_to_update'] = 300;\n$config['sess_regenerate_destroy'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Cookie Related Variables\n|--------------------------------------------------------------------------\n|\n| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions\n| 'cookie_domain' = Set to .your-domain.com for site-wide cookies\n| 'cookie_path' = Typically will be a forward slash\n| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.\n| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)\n|\n| Note: These settings (with the exception of 'cookie_prefix' and\n| 'cookie_httponly') will also affect sessions.\n|\n*/\n$config['cookie_prefix']\t= '';\n$config['cookie_domain']\t= '';\n$config['cookie_path']\t\t= '/';\n$config['cookie_secure']\t= FALSE;\n$config['cookie_httponly'] \t= FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Standardize newlines\n|--------------------------------------------------------------------------\n|\n| Determines whether to standardize newline characters in input data,\n| meaning to replace \\r\\n, \\r, \\n occurrences with the PHP_EOL value.\n|\n| WARNING: This feature is DEPRECATED and currently available only\n| for backwards compatibility purposes!\n|\n*/\n$config['standardize_newlines'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Global XSS Filtering\n|--------------------------------------------------------------------------\n|\n| Determines whether the XSS filter is always active when GET, POST or\n| COOKIE data is encountered\n|\n| WARNING: This feature is DEPRECATED and currently available only\n| for backwards compatibility purposes!\n|\n*/\n$config['global_xss_filtering'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Cross Site Request Forgery\n|--------------------------------------------------------------------------\n| Enables a CSRF cookie token to be set. When set to TRUE, token will be\n| checked on a submitted form. If you are accepting user data, it is strongly\n| recommended CSRF protection be enabled.\n|\n| 'csrf_token_name' = The token name\n| 'csrf_cookie_name' = The cookie name\n| 'csrf_expire' = The number in seconds the token should expire.\n| 'csrf_regenerate' = Regenerate token on every submission\n| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks\n*/\n$config['csrf_protection'] = FALSE;\n$config['csrf_token_name'] = 'csrf_test_name';\n$config['csrf_cookie_name'] = 'csrf_cookie_name';\n$config['csrf_expire'] = 7200;\n$config['csrf_regenerate'] = TRUE;\n$config['csrf_exclude_uris'] = array();\n\n/*\n|--------------------------------------------------------------------------\n| Output Compression\n|--------------------------------------------------------------------------\n|\n| Enables Gzip output compression for faster page loads. When enabled,\n| the output class will test whether your server supports Gzip.\n| Even if it does, however, not all browsers support compression\n| so enable only if you are reasonably sure your visitors can handle it.\n|\n| Only used if zlib.output_compression is turned off in your php.ini.\n| Please do not use it together with httpd-level output compression.\n|\n| VERY IMPORTANT: If you are getting a blank page when compression is enabled it\n| means you are prematurely outputting something to your browser. It could\n| even be a line of whitespace at the end of one of your scripts. For\n| compression to work, nothing can be sent before the output buffer is called\n| by the output class. Do not 'echo' any values with compression enabled.\n|\n*/\n$config['compress_output'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Master Time Reference\n|--------------------------------------------------------------------------\n|\n| Options are 'local' or any PHP supported timezone. This preference tells\n| the system whether to use your server's local time as the master 'now'\n| reference, or convert it to the configured one timezone. See the 'date\n| helper' page of the user guide for information regarding date handling.\n|\n*/\n$config['time_reference'] = 'local';\n\n/*\n|--------------------------------------------------------------------------\n| Rewrite PHP Short Tags\n|--------------------------------------------------------------------------\n|\n| If your PHP installation does not have short tag support enabled CI\n| can rewrite the tags on-the-fly, enabling you to utilize that syntax\n| in your view files. Options are TRUE or FALSE (boolean)\n|\n| Note: You need to have eval() enabled for this to work.\n|\n*/\n$config['rewrite_short_tags'] = FALSE;\n\n/*\n|--------------------------------------------------------------------------\n| Reverse Proxy IPs\n|--------------------------------------------------------------------------\n|\n| If your server is behind a reverse proxy, you must whitelist the proxy\n| IP addresses from which CodeIgniter should trust headers such as\n| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify\n| the visitor's IP address.\n|\n| You can use both an array or a comma-separated list of proxy addresses,\n| as well as specifying whole subnets. Here are a few examples:\n|\n| Comma-separated:\t'10.0.1.200,192.168.5.0/24'\n| Array:\t\tarray('10.0.1.200', '192.168.5.0/24')\n*/\n$config['proxy_ips'] = '';\n"},"meta":{"kind":"string","value":"{'content_hash': '3232e1aaff6651bf4db0a79810a2efd3', 'timestamp': '', 'source': 'github', 'line_count': 523, 'max_line_length': 83, 'avg_line_length': 35.32122370936902, 'alnum_prop': 0.5427921831862719, 'repo_name': 'imetanon/yoyo', 'id': '812395dbc2873156ff15dbf4f87caec4f292993f', 'size': '18473', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'application/config/config.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ApacheConf', 'bytes': '240'}, {'name': 'CSS', 'bytes': '247554'}, {'name': 'HTML', 'bytes': '5633'}, {'name': 'JavaScript', 'bytes': '11428'}, {'name': 'PHP', 'bytes': '2062551'}]}"}}},{"rowIdx":849853,"cells":{"text":{"kind":"string","value":"getTable('sales/billing_agreement');\n\n$installer->getConnection()->addColumn($billingAgreementTable,\n 'store_id', 'smallint(5) unsigned DEFAULT NULL');\n\n$installer->getConnection()->addConstraint(\n 'FK_BILLING_AGREEMENT_STORE',\n $billingAgreementTable,\n 'store_id',\n $installer->getTable('core/store'),\n 'store_id',\n 'SET NULL',\n 'CASCADE'\n);\n"},"meta":{"kind":"string","value":"{'content_hash': '8561f38e209351f3b3733c4af7c6b9c4', 'timestamp': '', 'source': 'github', 'line_count': 20, 'max_line_length': 73, 'avg_line_length': 24.25, 'alnum_prop': 0.6845360824742268, 'repo_name': 'tagalpha/library', 'id': 'bee9781b90f49dd8da87ff9561a63c534d0b69d7', 'size': '1437', 'binary': False, 'copies': '3', 'ref': 'refs/heads/master', 'path': 'app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-1.4.0.16-1.4.0.17.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'ActionScript', 'bytes': '20063'}, {'name': 'ApacheConf', 'bytes': '8117'}, {'name': 'Batchfile', 'bytes': '1036'}, {'name': 'CSS', 'bytes': '1805855'}, {'name': 'HTML', 'bytes': '5531269'}, {'name': 'JavaScript', 'bytes': '1295882'}, {'name': 'PHP', 'bytes': '45317581'}, {'name': 'PowerShell', 'bytes': '1028'}, {'name': 'Ruby', 'bytes': '288'}, {'name': 'Shell', 'bytes': '19717'}, {'name': 'XSLT', 'bytes': '2066'}]}"}}},{"rowIdx":849854,"cells":{"text":{"kind":"string","value":"\npackage org.apache.wicket.util.tester.apps_5;\n\nimport org.apache.wicket.Page;\nimport org.apache.wicket.WicketTestCase;\nimport org.apache.wicket.ajax.AjaxRequestTarget;\nimport org.apache.wicket.ajax.markup.html.AjaxFallbackLink;\nimport org.apache.wicket.ajax.markup.html.AjaxLink;\nimport org.apache.wicket.util.tester.ITestPageSource;\n\n\n/**\n * Test that the clickLink method also works with AjaxLinks\n * \n * @author Frank Bille\n */\npublic class AjaxLinkClickTest extends WicketTestCase\n{\n\tprivate boolean linkClicked;\n\tprivate AjaxRequestTarget ajaxRequestTarget;\n\n\t/**\n\t * Construct.\n\t */\n\tpublic AjaxLinkClickTest()\n\t{\n\t\tsuper(\"AjaxLink click test\");\n\t}\n\n\t/**\n\t * Make sure that our test flags are reset between every test.\n\t * \n\t * @see org.apache.wicket.WicketTestCase#setUp()\n\t */\n\t@Override\n\tprotected void setUp() throws Exception\n\t{\n\t\tsuper.setUp();\n\n\t\tlinkClicked = false;\n\t\tajaxRequestTarget = null;\n\t}\n\n\t/**\n\t * Test that an AjaxLink's onClick method is actually invoked.\n\t */\n\tpublic void testBasicAjaxLinkClick()\n\t{\n\t\t// Create a link, which we test is actually invoked\n\t\tfinal AjaxLink ajaxLink = new AjaxLink(\"ajaxLink\")\n\t\t{\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void onClick(AjaxRequestTarget target)\n\t\t\t{\n\t\t\t\tlinkClicked = true;\n\t\t\t\tajaxRequestTarget = target;\n\t\t\t}\n\t\t};\n\n\t\ttester.startPage(new ITestPageSource()\n\t\t{\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\tpublic Page getTestPage()\n\t\t\t{\n\t\t\t\tPage page = new MockPageWithLink();\n\t\t\t\tpage.add(ajaxLink);\n\n\t\t\t\treturn page;\n\t\t\t}\n\t\t});\n\n\t\ttester.clickLink(\"ajaxLink\");\n\n\t\tassertTrue(linkClicked);\n\t\tassertNotNull(ajaxRequestTarget);\n\t}\n\n\t/**\n\t * Test that clickLink also works with AjaxFallbackLinks\n\t * \n\t * AjaxFallbackLinks should be clicked and interpreted as an AjaxLink, which means that\n\t * AjaxRequestTarget is not null.\n\t */\n\tpublic void testAjaxFallbackLinkClick()\n\t{\n\t\tfinal Page page = new MockPageWithLink();\n\n\t\t// Create a link, which we test is actually invoked\n\t\tpage.add(new AjaxFallbackLink(\"ajaxLink\")\n\t\t{\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void onClick(AjaxRequestTarget target)\n\t\t\t{\n\t\t\t\tlinkClicked = true;\n\t\t\t\tajaxRequestTarget = target;\n\t\t\t}\n\t\t});\n\n\t\ttester.startPage(new ITestPageSource()\n\t\t{\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\tpublic Page getTestPage()\n\t\t\t{\n\t\t\t\treturn page;\n\t\t\t}\n\t\t});\n\n\t\ttester.clickLink(\"ajaxLink\");\n\n\t\tassertTrue(linkClicked);\n\t\tassertNotNull(ajaxRequestTarget);\n\t}\n\n\t/**\n\t * Test that when AJAX is disabled, the AjaxFallbackLink is invoked with null as\n\t * AjaxRequestTarget.\n\t */\n\tpublic void testFallbackLinkWithAjaxDisabled()\n\t{\n\t\tfinal Page page = new MockPageWithLink();\n\n\t\t// Create a link, which we test is actually invoked\n\t\tpage.add(new AjaxFallbackLink(\"ajaxLink\")\n\t\t{\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void onClick(AjaxRequestTarget target)\n\t\t\t{\n\t\t\t\tlinkClicked = true;\n\t\t\t\tajaxRequestTarget = target;\n\t\t\t}\n\t\t});\n\n\t\ttester.startPage(new ITestPageSource()\n\t\t{\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\tpublic Page getTestPage()\n\t\t\t{\n\t\t\t\treturn page;\n\t\t\t}\n\t\t});\n\n\t\t// Click the link with ajax disabled\n\t\ttester.clickLink(\"ajaxLink\", false);\n\n\t\tassertTrue(linkClicked);\n\t\tassertNull(ajaxRequestTarget);\n\t}\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'c5701b437b14226b9e5ffd5978b4f56d', 'timestamp': '', 'source': 'github', 'line_count': 166, 'max_line_length': 88, 'avg_line_length': 20.379518072289155, 'alnum_prop': 0.697014484185634, 'repo_name': 'Servoy/wicket', 'id': '2dd2d52362bc19b57c958ba83e63fde7124dc176', 'size': '4185', 'binary': False, 'copies': '1', 'ref': 'refs/heads/wicket-1.4.x', 'path': 'wicket/src/test/java/org/apache/wicket/util/tester/apps_5/AjaxLinkClickTest.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '58903'}, {'name': 'HTML', 'bytes': '772575'}, {'name': 'Java', 'bytes': '8970322'}, {'name': 'JavaScript', 'bytes': '203125'}, {'name': 'Perl', 'bytes': '2053'}, {'name': 'Roff', 'bytes': '95314'}, {'name': 'Shell', 'bytes': '13496'}, {'name': 'XSLT', 'bytes': '2567'}]}"}}},{"rowIdx":849855,"cells":{"text":{"kind":"string","value":"\npackage gov.hhs.fha.nhinc.admingui.model.direct;\n\nimport java.text.SimpleDateFormat;\n\nimport org.nhind.config.Anchor;\nimport org.nhind.config.EntityStatus;\n\n/**\n *\n * @author jasonasmith\n */\npublic class DirectAnchor {\n\n private String trustedDomainOrUser;\n\n private long id;\n private long certificateId;\n\n private String owner;\n private String thumbprint;\n\n private EntityStatus status;\n\n private String createTime;\n private String validEndDate;\n private String validStartDate;\n\n private boolean isOutgoing;\n private boolean isIncoming;\n\n /**\n *\n */\n public DirectAnchor() {\n }\n\n /**\n *\n * @param anchor\n * @param trustedDomainOrUser\n */\n public DirectAnchor(Anchor anchor, String trustedDomainOrUser) {\n this.trustedDomainOrUser = trustedDomainOrUser;\n\n id = anchor.getId();\n certificateId = anchor.getCertificateId();\n\n owner = anchor.getOwner();\n thumbprint = anchor.getThumbprint();\n\n status = anchor.getStatus();\n\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm\");\n createTime = sdf.format(anchor.getCreateTime().toGregorianCalendar().getTime());\n validEndDate = sdf.format(anchor.getValidEndDate().toGregorianCalendar().getTime());\n validStartDate = sdf.format(anchor.getValidStartDate().toGregorianCalendar().getTime());\n\n isIncoming = anchor.isIncoming();\n isOutgoing = anchor.isOutgoing();\n }\n\n /**\n *\n * @return\n */\n public String getTrustedDomainOrUser() {\n return trustedDomainOrUser;\n }\n\n /**\n *\n * @return\n */\n public long getId() {\n return id;\n }\n\n /**\n *\n * @return\n */\n public long getCertificateId() {\n return certificateId;\n }\n\n /**\n *\n * @return\n */\n public String getOwner() {\n return owner;\n }\n\n /**\n *\n * @return\n */\n public String getThumbprint() {\n return thumbprint;\n }\n\n /**\n *\n * @return\n */\n public EntityStatus getStatus() {\n return status;\n }\n\n /**\n *\n * @return\n */\n public String getCreateTime() {\n return createTime;\n }\n\n /**\n *\n * @return\n */\n public String getValidEndDate() {\n return validEndDate;\n }\n\n /**\n *\n * @return\n */\n public boolean isOutgoing() {\n return isOutgoing;\n }\n\n /**\n *\n * @return\n */\n public boolean isIncoming() {\n return isIncoming;\n }\n\n /**\n *\n * @return\n */\n public String getValidStartDate() {\n return validStartDate;\n }\n\n /**\n *\n * @param trustedDomainOrUser\n */\n public void setTrustedDomainOrUser(String trustedDomainOrUser) {\n this.trustedDomainOrUser = trustedDomainOrUser;\n }\n\n /**\n *\n * @param id\n */\n public void setId(long id) {\n this.id = id;\n }\n\n /**\n *\n * @param certificateId\n */\n public void setCertificateId(long certificateId) {\n this.certificateId = certificateId;\n }\n\n /**\n *\n * @param owner\n */\n public void setOwner(String owner) {\n this.owner = owner;\n }\n\n /**\n *\n * @param thumbprint\n */\n public void setThumbprint(String thumbprint) {\n this.thumbprint = thumbprint;\n }\n\n /**\n *\n * @param status\n */\n public void setStatus(EntityStatus status) {\n this.status = status;\n }\n\n /**\n *\n * @param createTime\n */\n public void setCreateTime(String createTime) {\n this.createTime = createTime;\n }\n\n /**\n *\n * @param validEndDate\n */\n public void setValidEndDate(String validEndDate) {\n this.validEndDate = validEndDate;\n }\n\n /**\n *\n * @param validStartDate\n */\n public void setValidStartDate(String validStartDate) {\n this.validStartDate = validStartDate;\n }\n\n /**\n *\n * @param isOutgoing\n */\n public void setOutgoing(boolean isOutgoing) {\n this.isOutgoing = isOutgoing;\n }\n\n /**\n *\n * @param isIncoming\n */\n public void setIncoming(boolean isIncoming) {\n this.isIncoming = isIncoming;\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'eb5bcfc3b94eaf4988bdf150de608d32', 'timestamp': '', 'source': 'github', 'line_count': 238, 'max_line_length': 96, 'avg_line_length': 17.886554621848738, 'alnum_prop': 0.5588442565186751, 'repo_name': 'healthreveal/CONNECT', 'id': '6cce8f913fa02e4bd41c24d180bea0a0578c6732', 'size': '5867', 'binary': False, 'copies': '2', 'ref': 'refs/heads/hrv_integration_4.4', 'path': 'Product/Production/Adapters/General/CONNECTAdminGUI/src/main/java/gov/hhs/fha/nhinc/admingui/model/direct/DirectAnchor.java', 'mode': '33188', 'license': 'bsd-3-clause', 'language': [{'name': 'CSS', 'bytes': '62138'}, {'name': 'Groovy', 'bytes': '1641'}, {'name': 'HTML', 'bytes': '170838'}, {'name': 'Java', 'bytes': '13788093'}, {'name': 'JavaScript', 'bytes': '6991'}, {'name': 'PLSQL', 'bytes': '67181'}, {'name': 'Python', 'bytes': '773'}, {'name': 'SQLPL', 'bytes': '1363363'}, {'name': 'Shell', 'bytes': '17435'}, {'name': 'XSLT', 'bytes': '35057'}]}"}}},{"rowIdx":849856,"cells":{"text":{"kind":"string","value":"using namespace Neander;\n\nProgramCounter::ProgramCounter() : ProgramCounter(0) {}\n\nProgramCounter::ProgramCounter(unsigned long address) {\n\tmAddress = address;\n}\n\nunsigned long ProgramCounter::getAddress() const {\n\treturn mAddress;\n}\n\nvoid ProgramCounter::setAddress(unsigned long address) {\n\tmAddress = address;\n}\n\nunsigned long ProgramCounter::incrementAddress() {\n\treturn ++mAddress;\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '5cc407b261657bc5b2f82894a1405b6e', 'timestamp': '', 'source': 'github', 'line_count': 19, 'max_line_length': 56, 'avg_line_length': 20.473684210526315, 'alnum_prop': 0.7686375321336761, 'repo_name': 'pietrocaselani/Neander', 'id': '049d3f995d1563e03be7917f5cf37cdb86fda4dc', 'size': '468', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'Neander/ProgramCounter.cpp', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'C++', 'bytes': '21333'}, {'name': 'CMake', 'bytes': '1203'}]}"}}},{"rowIdx":849857,"cells":{"text":{"kind":"string","value":"namespace blink {\n\nHIDConnectionEvent* HIDConnectionEvent::Create(\n const AtomicString& type,\n const HIDConnectionEventInit* initializer) {\n return MakeGarbageCollected(type, initializer);\n}\n\nHIDConnectionEvent* HIDConnectionEvent::Create(const AtomicString& type,\n HIDDevice* device) {\n return MakeGarbageCollected(type, device);\n}\n\nHIDConnectionEvent::HIDConnectionEvent(\n const AtomicString& type,\n const HIDConnectionEventInit* initializer)\n : Event(type, initializer) {}\n\nHIDConnectionEvent::HIDConnectionEvent(const AtomicString& type,\n HIDDevice* device)\n : Event(type, Bubbles::kNo, Cancelable::kNo), device_(device) {}\n\nvoid HIDConnectionEvent::Trace(Visitor* visitor) const {\n visitor->Trace(device_);\n Event::Trace(visitor);\n}\n\n} // namespace blink\n"},"meta":{"kind":"string","value":"{'content_hash': '1a6703a639bb6ad968eac03a9279a2ff', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 72, 'avg_line_length': 32.392857142857146, 'alnum_prop': 0.6968026460859978, 'repo_name': 'chromium/chromium', 'id': 'abafd7cfd9971070d80a77e8042f151d793bf243', 'size': '1278', 'binary': False, 'copies': '6', 'ref': 'refs/heads/main', 'path': 'third_party/blink/renderer/modules/hid/hid_connection_event.cc', 'mode': '33188', 'license': 'bsd-3-clause', 'language': []}"}}},{"rowIdx":849858,"cells":{"text":{"kind":"string","value":"
\n
\n

If you want to be added to this page please open a new issue with a link to your GitHub repo.

\n\t\t

Last built: {{ .Now.Format \"Mon Jan 2 2006 15:04\" }}

\n
\n
"},"meta":{"kind":"string","value":"{'content_hash': 'a44a72731076ceae3077fe4e9dd5c006', 'timestamp': '', 'source': 'github', 'line_count': 6, 'max_line_length': 194, 'avg_line_length': 56.0, 'alnum_prop': 0.625, 'repo_name': 'dindinet/hugo-forestry', 'id': '7bd18a864e5cf1a4653b21b9c0535986e6eeb1db', 'size': '336', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'layouts/partials/contribute.html', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '145404'}, {'name': 'HTML', 'bytes': '34186'}, {'name': 'JavaScript', 'bytes': '43313'}]}"}}},{"rowIdx":849859,"cells":{"text":{"kind":"string","value":"\n\n{% include \"breadcrumbs\" %}\n\n{% if page.headline.size > 0 %}\n

{{ page.headline }}

\n{% endif %}\n\n
\n\n {% if page.moneybomb.content.size > 0 %}\n
\n {{ page.moneybomb.content }}\n
\n {% endif %}\n\n {% if page.show_social_slider? and page.public_activities_count > 0 %}\n {% include \"social_slider\" %}\n {% endif %}\n\n {% if page.moneybomb.has_start_at? and page.moneybomb.is_active? == false and page.moneybomb.is_past? == false %}\n
\n
COUNTDOWN TO {{ page.moneybomb.local_start_at | moneybomb_time }}
\n
\n
\n
\n
\n {% elsif page.moneybomb.is_active? %}\n
\n
TIME LEFT TO DONATE
\n
\n
\n
\n
\n {% endif %}\n\n {% assign thermo_width = 50 %}\n\n {% if page.moneybomb.has_amount_goal? %}\n
\n
\n
\n {% if page.pledges_count < 1 %}\n
JUST STARTED
\n {% else %}\n
{{ page.pledges_amount_format }} pledged
\n {% endif %}\n
\n
\n
GOAL: {{ page.moneybomb.amount_goal_format }}
\n
\n\n {% elsif page.moneybomb.has_pledger_goal? %}\n\n
\n
\n
\n {% if page.pledges_count < 2 %}\n
JUST STARTED
\n {% else %}\n
{{ page.pledges_count }} pledgers
\n {% endif %}\n
\n
\n
GOAL: {{ page.moneybomb.pledger_goal }} PLEDGERS
\n
\n\n {% endif %}\n\n {% if page.moneybomb.is_pledged? %}\n\n\n {% form_for pledge %}\n\n
\n
\n\n

Thank you for pledging!

\n\n
{% error_messages_for pledges %}
\n\n \n
\n
{{ page.moneybomb.form_amount_options }}
\n
\n {% if page.is_commentable? %}\n {% submit_tag \"Save pledge\", class:\"submit-button\" %} &nbsp;\n {% endif %}\n\n {{ page.moneybomb.current_pledge | delete_link message: \"Cancel pledge\" class_name: \"button destroy-link\" }}\n\n
\n\n
\n
\n {% endform_for %}\n\n {% else %}\n\n {% form_for pledge %}\n\n
\n
\n\n {% if request.sorta_logged_in? %}\n

Hi {{ request.current_signup.name_or_email }}, how much will you pledge to donate{% if page.moneybomb.has_start_at? %} on {{ page.moneybomb.local_start_at | moneybomb_time }}{% endif %}?

\n\n {% if request.logged_in? == false %}\n
\n If you're not {{ request.current_signup.name_or_email }},\n click here.\n
\n {% endif %}\n\n {% else %}\n\n

How much will you pledge to donate{% if page.moneybomb.has_start_at? %} on {{ page.moneybomb.local_start_at | moneybomb_time }}{% endif %}?

\n\n {% endif %}\n\n
{% error_messages_for pledge %}
\n\n
\n
{{ page.moneybomb.form_amount_options }}
\n
\n\n {% if request.sorta_logged_in? == false or request.current_signup.has_name? == false %}\n
\n
{% text_field \"first_name\", class:\"text\" %}\n
\n
{% text_field \"last_name\", class:\"text\" %}\n
\n
\n {% endif %}\n\n {% if request.sorta_logged_in? == false %}\n
\n
{% email_field \"email\", class:\"text\" %}
\n {% if site.ask_for_mobiles? %}\n
\n {% phone_field \"mobile_number\", class:\"text\" %}\n
\n {% endif %}\n
\n\n {% unless page.show_consent_form? %}\n
\n
\n \n
\n {% if site.ask_for_mobiles? %}\n
\n \n
\n {% endif %}\n
\n {% endunless %}\n {% endif %}\n\n\n {% if request.sorta_logged_in? == false or request.current_signup.has_full_address? == false %}\n
\n
\n {% text_field \"submitted_address\", class:\"text\" %}\n
\n
\n {% endif %}\n\n {% if site.ask_to_publish_to_stream? %}\n
\n
\n \n
\n
\n {% endif %}\n\n {% if request.sorta_logged_in? == false or request.current_signup.is_volunteer == false %}\n
\n
\n \n
\n
\n {% endif %}\n\n {% if page.show_consent_form? %}{% include \"consent_form\" %}{% endif %}\n\n {% submit_tag \"Add pledge\", class:\"submit-button\" %}\n
\n\n {% endform_for %}\n\n {% if page.text_keyword_instructions.size > 0 %}\n
\n
\n or {{ page.text_keyword_instructions }}\n
\n
\n {% endif %}\n\n
\n
\n\n {% endif %}\n\n {% if page.tags_count > 0 %}\n
\n {% include \"page_tags\" with page %}\n
\n {% endif %}\n\n
\n
\n Like this to spread the word:\n {% include \"like_page\" %}\n
\n
\n\n
\n\n{% if page.show_stream? %}\n{% include \"page_stream\" %}\n{% endif %}\n\n\n\n"},"meta":{"kind":"string","value":"{'content_hash': '3ff546a18110507fa06b0977cfd3bf91', 'timestamp': '', 'source': 'github', 'line_count': 242, 'max_line_length': 201, 'avg_line_length': 31.99586776859504, 'alnum_prop': 0.5770373240346119, 'repo_name': 'votejayarnold/NationBuilder', 'id': '10007fe15f0834f09ab2e493d53719d9176fe34f', 'size': '7743', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'themes/friends-of-jay-arnold-6048586ac29480095e9a71f0/pages_show_moneybomb.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '135736'}, {'name': 'HTML', 'bytes': '231842'}, {'name': 'JavaScript', 'bytes': '12212'}]}"}}},{"rowIdx":849860,"cells":{"text":{"kind":"string","value":"\n\n\n \n \n \n \n \n\n wayland_kbd::keysyms::XKB_KEY_braille_dots_23568 - Rust\n\n \n\n \n \n\n\n \n\n \n\n
\n \n

wayland_kbd::keysyms

\n
\n\n \n\n
\n

wayland_kbd::keysyms::XKB_KEY_braille_dots_23568\n \n [&#x2212;]\n \n [src]

\n
pub const XKB_KEY_braille_dots_23568: u32 = 0x10028b6
\n \n\n
\n\n
\n
\n

Keyboard shortcuts

\n
\n
?
\n
Show this help dialog
\n
S
\n
Focus the search field
\n
&larrb;
\n
Move up in search results
\n
&rarrb;
\n
Move down in search results
\n
&#9166;
\n
Go to active search result
\n
\n
\n
\n

Search tricks

\n

\n Prefix searches with a type followed by a colon (e.g.\n fn:) to restrict the search to a given type.\n

\n

\n Accepted types are: fn, mod,\n struct, enum,\n trait, typedef (or\n tdef).\n

\n

\n Search functions by type signature (e.g.\n vec -> usize)\n

\n
\n
\n\n \n\n \n \n \n \n \n\n"},"meta":{"kind":"string","value":"{'content_hash': 'b9b3574c1befb50a33bfb1dc9eb662d6', 'timestamp': '', 'source': 'github', 'line_count': 101, 'max_line_length': 263, 'avg_line_length': 38.53465346534654, 'alnum_prop': 0.5354573484069887, 'repo_name': 'mcanders/bevy', 'id': '3ab9a974b018a4245f4d9c9f8b8b59f5cc62036a', 'size': '3892', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'doc/wayland_kbd/keysyms/constant.XKB_KEY_braille_dots_23568.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Rust', 'bytes': '316751'}]}"}}},{"rowIdx":849861,"cells":{"text":{"kind":"string","value":"autoscale: true\nbuild-lists: true\n\n---\n\n# Functional Programming Patterns v2 #\n\n\n(for the pragmatic programmer)\n\n~\n\n@raulraja CTO @47deg\n\n---\n\n## Acknowledgment ##\n\n- Scalaz : Functional programming in Scala\n- Rúnar Bjarnason : Compositional Application Architecture With Reasonably Priced Monads\n- Noel Markham : A purely functional approach to building large applications\n- Wouter Swierstra : FUNCTIONAL PEARL Data types a la carte\n- Rapture : Jon Pretty\n\n---\n\nFunctions are first class citizens in FP Architecture\n\n---\n\nMost functional patterns are derived from Category Theory\n\n---\n\nWhen I build an app I want it to be\n\n- Free of Interpretation\n- Composable pieces\n- Dependency Injection / IOC\n- Fault Tolerance\n\n---\n\nWhen I build an app I want it to be\n\n- Free of Interpretation : **Free Monads** \n- Composable pieces : **Coproducts** \n- Dependency Injection / IOC : **Implicits & Kleisli** \n- Fault tolerant : **Dependently typed checked exceptions** \n\n---\n\n## Interpretation : Free Monads ##\n\nWhat is a Free Monad?\n\n-- A monad on a custom algebra that can be run through an Interpreter\n\n---\n\n## Interpretation : Free Monads ##\n\nWhat is an Application?\n\n-- A collection of algebras and the Coproduct resulting from their interaction\n\n---\n\n## Interpretation : Free Monads ##\n\nLet's build an app that reads a contact and performs some operations with it\n\n---\n\n## Interpretation : Free Monads ##\n\nA very simple model\n\n```scala\ncase class Contact(\n firstName: String,\n lastName: String,\n phoneNumber: String)\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nOur first Algebra is interaction with a user\n\n```scala\nsealed trait Interact[A]\n\ncase class Ask(prompt: String) extends Interact[String]\n\ncase class Tell(msg: String) extends Interact[Unit]\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nOur second Algebra is about persistence\n\n```scala\nsealed trait DataOp[A]\n\ncase class AddContact(a: Contact) extends DataOp[Unit]\n\ncase class GetAllContacts() extends DataOp[List[Contact]]\n```\n\n---\n\n## Interpretation : Free Monads ##\n\n**An application is the Coproduct of its algebras**\n\n```scala\ntype AgendaApp[A] = Coproduct[DataOp, Interact, A]\n```\n\n---\n\n## Interpretation : Free Monads ##\n\n**Coyoneda can gives functors for free for our Algebras**\n\n```scala\ntype ACoyo[A] = Coyoneda[AgendaApp,A]\ntype AFree[A] = Free[ACoyo,A]\n```\n\n---\n\n## Interpretation : Free Monads ##\n\n**We can now lift different algebras to our App Coproduct**\n\n```scala\ndef lift[F[_], G[_], A](fa: F[A])(implicit I: Inject[F, G]): FreeC[G, A] = \n Free.liftFC(I.inj(fa))\n```\n\n---\n\n## Interpretation : Free Monads ##\n\n**We can now lift different algebras to our App monad and compose them**\n\n```scala\nclass Interacts[F[_]](implicit I: Inject[Interact, F]) {\n\n def tell(msg: String): Free.FreeC[F, Unit] = lift(Tell(msg))\n\n def ask(prompt: String): Free.FreeC[F, String] = lift(Ask(prompt))\n\n}\n \nobject Interacts {\n\n implicit def interacts[F[_]](implicit I: Inject[Interact, F]): Interacts[F] = new Interacts[F]\n\n}\n```\n\n---\n\n## Interpretation : Free Monads ##\n\n**We can now lift different algebras to our App monad and compose them**\n\n```scala\nclass DataSource[F[_]](implicit I: Inject[DataOp, F]) {\n\n def addContact(a: Contact): FreeC[F, Unit] = lift[DataOp, F, Unit](AddContact(a))\n \n def getAllContacts: FreeC[F, List[Contact]] = lift[DataOp, F, List[Contact]](GetAllContacts())\n\n} \n\nobject DataSource {\n\n implicit def dataSource[F[_]](implicit I: Inject[DataOp, F]): DataSource[F] = new DataSource[F]\n\n}\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nAt this point a program is nothing but **Data**\ndescribing the sequence of execution but **FREE** \nof its runtime interpretation.\n\n```scala\ndef program(implicit I : Interacts[AgendaApp], D : DataSource[AgendaApp]) = { \n\n import I._, D._\n\n for {\n firstName <- ask(\"First Name:\")\n lastName <- ask(\"Last Name:\")\n phoneNumber <- ask(\"Phone Number:\")\n _ <- addContact(Contact(firstName, lastName, phoneNumber))\n contacts <- getAllContacts\n _ <- tell(contacts.toString)\n } yield ()\n}\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nWe isolate interpretations \nvia Natural transformations AKA `Interpreters`.\n\nIn other words with map over \nthe outer type constructor of our Algebras\n\n```scala\nobject ConsoleContactReader extends (Interact ~> Id.Id) {\n def apply[A](i: Interact[A]) = i match {\n case Ask(prompt) =>\n println(prompt)\n scala.io.StdIn.readLine()\n case Tell(msg) =>\n println(msg)\n }\n}\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nWe isolate interpretations \nvia Natural transformations AKA `Interpreters`.\n\nIn other words with map over \nthe outer type constructor of our Algebras\n\n```scala\nobject InMemoryDatasourceInterpreter extends (DataOp ~> Id.Id) {\n \n private[this] val memDataSet = new ListBuffer[Contact]\n \n override def apply[A](fa: DataOp[A]) = fa match {\n case AddContact(a) => memDataSet.append(a); ()\n case GetAllContacts() => memDataSet.toList\n }\n}\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nA tree of interpreters may be described to branch accordingly on each algebra\nwhen evaluating a Coproduct\n\n```scala\ndef or[F[_], G[_], H[_]](f: F ~> H, g: G ~> H): ({type cp[α] = Coproduct[F, G, α]})#cp ~> H =\n new NaturalTransformation[({type cp[α] = Coproduct[F, G, α]})#cp, H] {\n def apply[A](fa: Coproduct[F, G, A]): H[A] = fa.run match {\n case -\\/(ff) => f(ff)\n case \\/-(gg) => g(gg)\n }\n }\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nNow that we have a way to combine interpreters \nwe can lift them to the app Coproduct\n\n```scala\nval interpreters: AgendaApp ~> Id.Id = or(InMemoryDatasourceInterpreter, ConsoleContactReader)\n\nval coyoint: ({type f[x] = Coyoneda[AgendaApp, x]})#f ~> Id.Id = Coyoneda.liftTF(interpreters)\n```\n\n---\n\n## Interpretation : Free Monads ##\n\nAnd we can finally apply our program applying the interpreter to the free monad\n\n```scala\nval evaled = program mapSuspension coyoint\n```\n\n---\n\n## Composability ##\n\nComposition gives us the power\nto easily mix simple functions\nto achieve more complex workflows.\n\n---\n\n## Composability ##\n\nWe can achieve monadic function composition\nwith **Kleisli Arrows**\n\n`A ⇒ M[B]`\n\nIn other words a function that\nfor a given input it returns a type constructor…\n\n`List[B], Option[B], Either[B], Task[B], Future[B]…`\n\n---\n\n## Composability ##\n\nWhen the type constructor `M[_]` it's a Monad it can be monadically composed\n\n```scala\nval composed = for {\n a <- Kleisli((x : String) ⇒ Option(x.toInt + 1))\n b <- Kleisli((x : String) ⇒ Option(x.toInt * 2))\n} yield a + b\n```\n\n---\n\n## Composability ##\n\nThe deferred injection of the input parameter enables\n**Dependency Injection**. This is an alternative to implicits\ncommonly known as DI with the Reader monad.\n\n```scala\nval composed = for {\n a <- Kleisli((x : String) ⇒ Option(x.toInt + 1))\n b <- Kleisli((x : String) ⇒ Option(x.toInt * 2))\n} yield a + b\n\ncomposed.run(\"1\")\n```\n\n---\n\n## Requirements ##\n\n- **Free of Interpretation**\n- **Composable pieces**\n- **Dependency Injection / IOC**\n- Fault Tolerance\n\n---\n\n## Fault Tolerance ##\n\nMost containers and patterns generalize to the \nmost common super-type or simply `Throwable` loosing type information.\n\n```scala\nval f = scala.concurrent.Future.failed(new NumberFormatException)\nval t = scala.util.Try(throw new NumberFormatException)\nval d = for {\n a <- 1.right[NumberFormatException]\n b <- (new RuntimeException).left[Int]\n} yield a + b\n```\n\n---\n\n## Fault Tolerance ##\n\nWe don't have to settle for `Throwable`!!!\n\nWe could use instead…\n\n- Nested disjunctions\n- Delimited, Monadic, Dependently-typed, Accumulating Checked Exceptions\n\n---\n\n## Fault Tolerance : Dependently-typed Acc Exceptions ##\n\nIntroducing `rapture.core.Result` \n\n---\n\n## Fault Tolerance : Dependently-typed Acc Exceptions ##\n\n`Result` is similar to `\\/` but has 3 possible outcomes\n\n(Answer, Errata, Unforeseen)\n\n```scala\nval op = for {\n a <- Result.catching[NumberFormatException](\"1\".toInt)\n b <- Result.errata[Int, IllegalArgumentException](\n new IllegalArgumentException(\"expected\"))\n} yield a + b\n```\n\n---\n\n## Fault Tolerance : Dependently-typed Acc Exceptions ##\n\n`Result` uses dependently typed monadic exception accumulation\n\n```scala\nval op = for {\n a <- Result.catching[NumberFormatException](\"1\".toInt)\n b <- Result.errata[Int, IllegalArgumentException](\n new IllegalArgumentException(\"expected\"))\n} yield a + b\n```\n\n---\n\n## Fault Tolerance : Dependently-typed Acc Exceptions ##\n\nYou may recover by `resolving` errors to an `Answer`.\n\n```scala\nop resolve (\n each[IllegalArgumentException](_ ⇒ 0),\n each[NumberFormatException](_ ⇒ 0),\n each[IndexOutOfBoundsException](_ ⇒ 0))\n```\n\n---\n\n## Fault Tolerance : Dependently-typed Acc Exceptions ##\n\nOr `reconcile` exceptions into a new custom one.\n\n```scala\ncase class MyCustomException(e : Exception) extends Exception(e.getMessage)\n\nop reconcile (\n each[IllegalArgumentException](MyCustomException(_)),\n each[NumberFormatException](MyCustomException(_)),\n each[IndexOutOfBoundsException](MyCustomException(_)))\n```\n\n---\n\n## Recap ##\n\n- **Free Monads** : Free of Interpretation\n- **Coproducts** : Composable pieces\n- **Implicits & Kleisli** : Dependency Injection / IOC\n- **Dependently typed checked exceptions** Fault tolerant\n\n---\n\n## What's next? ##\n\nIf you want to sequence or comprehend over unrelated monads you need Transformers.\n\nTransformers are supermonads that help you flatten through nested monads such as\nFuture[Option] or Kleisli[Task[Disjuntion]] binding to the most inner value.\n\nAttend @larsr_h talk about monad transformers **OptimusPrimeT**\n\nhttp://www.47deg.com/blog/fp-for-the-average-joe-part-2-scalaz-monad-transformers\n\n---\n\n## Questions? & Thanks! ##\n\n@raulraja\n@47deg\nhttp://github.com/47deg/func-architecture-v2\nhttps://speakerdeck.com/raulraja/functional-programming-patterns-v2\n\n---"},"meta":{"kind":"string","value":"{'content_hash': 'e93f50309216899ec7d1daab6a523a77', 'timestamp': '', 'source': 'github', 'line_count': 481, 'max_line_length': 97, 'avg_line_length': 20.53014553014553, 'alnum_prop': 0.6910379746835443, 'repo_name': '47deg/func-architecture-v2', 'id': '551466076496b8ce9498fccfe52288afa8e62dae', 'size': '9902', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'presentation.md', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Scala', 'bytes': '17997'}]}"}}},{"rowIdx":849862,"cells":{"text":{"kind":"string","value":"\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n"},"meta":{"kind":"string","value":"{'content_hash': '5c165ea5cccc229c14e283f48f3a72d7', 'timestamp': '', 'source': 'github', 'line_count': 69, 'max_line_length': 408, 'avg_line_length': 78.20289855072464, 'alnum_prop': 0.7157153446997776, 'repo_name': 'MRivas-XumaK/slingBuild', 'id': '78193beb4eacad744a951255ff0fb9970a4c80d3', 'size': '5396', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'launchpad/testing/target/failsafe-reports/TEST-org.apache.sling.launchpad.webapp.integrationtest.issues.SLING2094Test.xml', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '78948'}, {'name': 'Groovy', 'bytes': '7964'}, {'name': 'Java', 'bytes': '15000817'}, {'name': 'JavaScript', 'bytes': '380961'}, {'name': 'Python', 'bytes': '298'}, {'name': 'Scala', 'bytes': '127988'}, {'name': 'Shell', 'bytes': '5532'}, {'name': 'XProc', 'bytes': '2290'}, {'name': 'XSLT', 'bytes': '10005'}]}"}}},{"rowIdx":849863,"cells":{"text":{"kind":"string","value":"\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n"},"meta":{"kind":"string","value":"{'content_hash': 'c48cd57a29bad63e7246979a0a7af5d8', 'timestamp': '', 'source': 'github', 'line_count': 75, 'max_line_length': 74, 'avg_line_length': 39.74666666666667, 'alnum_prop': 0.6682321368668233, 'repo_name': 'POS-Projekt/POS_Projekt', 'id': '5e67bdc04a35533427ad5b2cb4afa42a30ed4a8c', 'size': '2981', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'app/src/main/res/layout/main.xml', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Java', 'bytes': '35668'}]}"}}},{"rowIdx":849864,"cells":{"text":{"kind":"string","value":"// Copyright 2016 Twitter. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\npackage com.twitter.heron.packing.binpacking;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.logging.Logger;\n\nimport com.google.common.base.Optional;\n\nimport com.twitter.heron.api.generated.TopologyAPI;\nimport com.twitter.heron.common.basics.Pair;\nimport com.twitter.heron.packing.Container;\nimport com.twitter.heron.packing.PackingUtils;\nimport com.twitter.heron.packing.RamRequirement;\nimport com.twitter.heron.spi.common.Config;\nimport com.twitter.heron.spi.common.Constants;\nimport com.twitter.heron.spi.common.Context;\nimport com.twitter.heron.spi.packing.IPacking;\nimport com.twitter.heron.spi.packing.IRepacking;\nimport com.twitter.heron.spi.packing.InstanceId;\nimport com.twitter.heron.spi.packing.PackingPlan;\nimport com.twitter.heron.spi.packing.Resource;\nimport com.twitter.heron.spi.utils.TopologyUtils;\n\nimport static com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_CPU_HINT;\nimport static com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_DISK_HINT;\nimport static com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_RAM_HINT;\nimport static com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_PADDING_PERCENTAGE;\n\n/**\n * FirstFitDecreasing packing algorithm\n *

\n * This IPacking implementation generates a PackingPlan based on the\n * First Fit Decreasing heuristic for the binpacking problem. The algorithm attempts to minimize\n * the amount of resources used.\n *

\n * Following semantics are guaranteed:\n * 1. Supports heterogeneous containers. The number of containers used is determined\n * by the algorithm and not by the config file.\n * The user provides a hint for the maximum container size and a padding percentage.\n * The padding percentage whose values range from [0, 100], determines the per container\n * resources allocated for system-related processes (e.g., the stream manager).\n *

\n * 2. The user provides a hint for the maximum CPU, RAM and Disk that can be used by each container through\n * the com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_CPU_HINT,\n * com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_RAM_HINT,\n * com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_MAX_DISK_HINT parameters.\n * If the parameters are not specified then a default value is used for the maximum container\n * size.\n *

\n * 3. The user provides a percentage of each container size that will be used for padding\n * through the com.twitter.heron.api.Config.TOPOLOGY_CONTAINER_PADDING_PERCENTAGE\n * If the parameter is not specified then a default value of 10 is used (10% of the container size)\n *

\n * 4. The ram required for one instance is calculated as:\n * value in com.twitter.heron.api.Config.TOPOLOGY_COMPONENT_RAMMAP if exists, otherwise,\n * the default ram value for one instance.\n *

\n * 5. The cpu required for one instance is calculated as the default cpu value for one instance.\n *

\n * 6. The disk required for one instance is calculated as the default disk value for one instance.\n *

\n * 7. The ram required for a container is calculated as:\n * (ram for instances in container) + (paddingPercentage * ram for instances in container)\n *

\n * 8. The cpu required for a container is calculated as:\n * (cpu for instances in container) + (paddingPercentage * cpu for instances in container)\n *

\n * 9. The disk required for a container is calculated as:\n * (disk for instances in container) + ((paddingPercentage * disk for instances in container)\n *

\n * 10. The pack() return null if PackingPlan fails to pass the safe check, for instance,\n * the size of ram for an instance is less than the minimal required value.\n */\npublic class FirstFitDecreasingPacking implements IPacking, IRepacking {\n\n private static final long MIN_RAM_PER_INSTANCE = 192L * Constants.MB;\n private static final int DEFAULT_CONTAINER_PADDING_PERCENTAGE = 10;\n private static final int DEFAULT_NUMBER_INSTANCES_PER_CONTAINER = 4;\n\n private static final Logger LOG = Logger.getLogger(FirstFitDecreasingPacking.class.getName());\n private TopologyAPI.Topology topology;\n\n private Resource defaultInstanceResources;\n private Resource maxContainerResources;\n\n private int paddingPercentage;\n\n @Override\n public void initialize(Config config, TopologyAPI.Topology inputTopology) {\n this.topology = inputTopology;\n setPackingConfigs(config);\n }\n\n /**\n * Instatiate the packing algorithm parameters related to this topology.\n */\n private void setPackingConfigs(Config config) {\n List topologyConfig = topology.getTopologyConfig().getKvsList();\n\n this.defaultInstanceResources = new Resource(\n Context.instanceCpu(config),\n Context.instanceRam(config),\n Context.instanceDisk(config));\n\n this.paddingPercentage = TopologyUtils.getConfigWithDefault(topologyConfig,\n TOPOLOGY_CONTAINER_PADDING_PERCENTAGE, DEFAULT_CONTAINER_PADDING_PERCENTAGE);\n\n double defaultCpu = this.defaultInstanceResources.getCpu()\n * DEFAULT_NUMBER_INSTANCES_PER_CONTAINER;\n long defaultRam = this.defaultInstanceResources.getRam()\n * DEFAULT_NUMBER_INSTANCES_PER_CONTAINER;\n long defaultDisk = this.defaultInstanceResources.getDisk()\n * DEFAULT_NUMBER_INSTANCES_PER_CONTAINER;\n\n this.maxContainerResources = new Resource(\n TopologyUtils.getConfigWithDefault(topologyConfig, TOPOLOGY_CONTAINER_MAX_CPU_HINT,\n (double) Math.round(PackingUtils.increaseBy(defaultCpu, paddingPercentage))),\n TopologyUtils.getConfigWithDefault(topologyConfig, TOPOLOGY_CONTAINER_MAX_RAM_HINT,\n PackingUtils.increaseBy(defaultRam, paddingPercentage)),\n TopologyUtils.getConfigWithDefault(topologyConfig, TOPOLOGY_CONTAINER_MAX_DISK_HINT,\n PackingUtils.increaseBy(defaultDisk, paddingPercentage)));\n }\n\n /**\n * Get a packing plan using First Fit Decreasing\n *\n * @return packing plan\n */\n @Override\n public PackingPlan pack() {\n // Get the instances using FFD allocation\n Map> ffdAllocation = getFFDAllocation();\n // Construct the PackingPlan\n Map ramMap = TopologyUtils.getComponentRamMapConfig(topology);\n\n Set containerPlans = PackingUtils.buildContainerPlans(\n ffdAllocation, ramMap, this.defaultInstanceResources, this.paddingPercentage);\n\n return new PackingPlan(topology.getId(), containerPlans);\n }\n\n /**\n * Get a new packing plan given an existing packing plan and component-level changes.\n * @return new packing plan\n */\n public PackingPlan repack(PackingPlan currentPackingPlan, Map componentChanges) {\n // Get the instances using FFD allocation\n Map> ffdAllocation =\n getFFDAllocation(currentPackingPlan, componentChanges);\n\n // Construct the PackingPlan\n Map ramMap = TopologyUtils.getComponentRamMapConfig(topology);\n\n Set containerPlans = PackingUtils.buildContainerPlans(\n ffdAllocation, ramMap, defaultInstanceResources, paddingPercentage);\n return new PackingPlan(topology.getId(), containerPlans);\n }\n\n @Override\n public void close() {\n\n }\n\n /**\n * Sort the components in decreasing order based on their RAM requirements\n *\n * @return The sorted list of components and their RAM requirements\n */\n private ArrayList getSortedRAMInstances(Map parallelismMap) {\n ArrayList ramRequirements = new ArrayList<>();\n Map ramMap = TopologyUtils.getComponentRamMapConfig(topology);\n\n for (String component : parallelismMap.keySet()) {\n if (ramMap.containsKey(component)) {\n if (!PackingUtils.isValidInstance(\n this.defaultInstanceResources.cloneWithRam(ramMap.get(component)),\n MIN_RAM_PER_INSTANCE, maxContainerResources, this.paddingPercentage)) {\n throw new RuntimeException(\"The topology configuration does not have \"\n + \"valid resource requirements. Please make sure that the instance resource \"\n + \"requirements do not exceed the maximum per-container resources.\");\n } else {\n ramRequirements.add(new RamRequirement(component, ramMap.get(component)));\n }\n } else {\n if (!PackingUtils.isValidInstance(this.defaultInstanceResources,\n MIN_RAM_PER_INSTANCE, maxContainerResources, this.paddingPercentage)) {\n throw new RuntimeException(\"The topology configuration does not have \"\n + \"valid resource requirements. Please make sure that the instance resource \"\n + \"requirements do not exceed the maximum per-container resources.\");\n } else {\n ramRequirements.add(\n new RamRequirement(component, this.defaultInstanceResources.getRam()));\n }\n }\n }\n Collections.sort(ramRequirements, Collections.reverseOrder());\n\n return ramRequirements;\n }\n\n /**\n * Get the instances' allocation based on the First Fit Decreasing algorithm\n *\n * @return Map &lt; containerId, list of InstanceId belonging to this container &gt;\n */\n private Map> getFFDAllocation() {\n Map parallelismMap = TopologyUtils.getComponentParallelism(topology);\n HashMap> allocation = new HashMap<>();\n assignInstancesToContainers(new ArrayList(), allocation, parallelismMap, 1,\n maxContainerResources);\n return allocation;\n }\n\n /**\n * Get the instances' allocation based on the First Fit Decreasing algorithm\n *\n * @return Map &lt; containerId, list of InstanceId belonging to this container &gt;\n */\n\n private Map> getFFDAllocation(PackingPlan currentPackingPlan,\n Map componentChanges) {\n Map componentsToScaleDown =\n PackingUtils.getComponentsToScale(componentChanges, PackingUtils.ScalingDirection.DOWN);\n Map componentsToScaleUp =\n PackingUtils.getComponentsToScale(componentChanges, PackingUtils.ScalingDirection.UP);\n\n ArrayList containers = PackingUtils.getContainers(currentPackingPlan,\n this.paddingPercentage);\n Map> allocation = PackingUtils.getAllocation(currentPackingPlan);\n\n int maxInstanceIndex = 0;\n for (PackingPlan.ContainerPlan containerPlan : currentPackingPlan.getContainers()) {\n for (PackingPlan.InstancePlan instancePlan : containerPlan.getInstances()) {\n maxInstanceIndex = Math.max(maxInstanceIndex, instancePlan.getTaskId());\n }\n }\n if (!componentsToScaleDown.isEmpty()) {\n removeInstancesFromContainers(containers, allocation, componentsToScaleDown);\n }\n if (!componentsToScaleUp.isEmpty()) {\n assignInstancesToContainers(containers, allocation, componentsToScaleUp,\n maxInstanceIndex + 1, containers.get(0).getCapacity());\n }\n removeEmptyContainers(allocation);\n return allocation;\n }\n\n /**\n * Removes containers from tha allocation that do not contain any instances\n */\n private void removeEmptyContainers(Map> allocation) {\n Iterator containerIds = allocation.keySet().iterator();\n while (containerIds.hasNext()) {\n Integer containerId = containerIds.next();\n if (allocation.get(containerId).isEmpty()) {\n containerIds.remove();\n }\n }\n }\n\n /**\n * Generates the containers that correspond to the current packing plan\n * along with their associated instances.\n *\n * @return List of containers for the current packing plan\n */\n private ArrayList getContainers(PackingPlan currentPackingPlan) {\n ArrayList containers = new ArrayList<>();\n\n //sort containers based on containerIds;\n PackingPlan.ContainerPlan[] currentContainers =\n PackingUtils.sortOnContainerId(currentPackingPlan.getContainers());\n\n Resource capacity = currentPackingPlan.getMaxContainerResources();\n for (int i = 0; i < currentContainers.length; i++) {\n int containerId = PackingUtils.allocateNewContainer(\n containers, capacity, this.paddingPercentage);\n for (PackingPlan.InstancePlan instancePlan\n : currentContainers[i].getInstances()) {\n containers.get(containerId - 1).add(instancePlan);\n }\n }\n return containers;\n }\n\n /**\n * Generates an instance allocation for the current packing plan\n *\n * @return Map &lt; containerId, list of InstanceId belonging to this container &gt;\n */\n private Map> getAllocation(PackingPlan currentPackingPlan) {\n Map> allocation = new HashMap>();\n for (PackingPlan.ContainerPlan containerPlan : currentPackingPlan.getContainers()) {\n ArrayList instances = new ArrayList();\n for (PackingPlan.InstancePlan instance : containerPlan.getInstances()) {\n instances.add(new InstanceId(instance.getComponentName(), instance.getTaskId(),\n instance.getComponentIndex()));\n }\n allocation.put(containerPlan.getId(), instances);\n }\n PackingUtils.removeEmptyContainers(allocation);\n return allocation;\n }\n\n /**\n * Assigns instances to containers\n *\n * @param containers helper data structure that describes the containers' status\n * @param allocation existing packing plan\n * @param parallelismMap component parallelism\n * @param firstTaskIndex first taskId to use for the new instances\n */\n private void assignInstancesToContainers(\n ArrayList containers, Map> allocation,\n Map parallelismMap, int firstTaskIndex, Resource containerCapacity) {\n ArrayList ramRequirements = getSortedRAMInstances(parallelismMap);\n int globalTaskIndex = firstTaskIndex;\n for (RamRequirement ramRequirement : ramRequirements) {\n String component = ramRequirement.getComponentName();\n int numInstance = parallelismMap.get(component);\n for (int j = 0; j < numInstance; j++) {\n Resource instanceResource =\n this.defaultInstanceResources.cloneWithRam(ramRequirement.getRamRequirement());\n int containerId = placeFFDInstance(containers, new PackingPlan.InstancePlan(new InstanceId(\n component, globalTaskIndex, j), instanceResource), containerCapacity);\n List instances = allocation.get(containerId);\n if (instances == null) {\n instances = new ArrayList<>();\n }\n instances.add(new InstanceId(component, globalTaskIndex++, j));\n allocation.put(containerId, instances);\n }\n }\n }\n\n /**\n * Removes instances from containers during scaling down\n *\n * @param containers helper data structure that describes the containers' status\n * @param allocation existing packing plan\n * @param componentsToScaleDown scale down factor for the components.\n */\n private void removeInstancesFromContainers(\n ArrayList containers, Map> allocation,\n Map componentsToScaleDown) {\n\n ArrayList ramRequirements = getSortedRAMInstances(componentsToScaleDown);\n for (RamRequirement ramRequirement : ramRequirements) {\n String component = ramRequirement.getComponentName();\n int numInstancesToRemove = -componentsToScaleDown.get(component);\n for (int j = 0; j < numInstancesToRemove; j++) {\n Pair idPair = removeFFDInstance(containers, component);\n List instances = allocation.get(idPair.first);\n instances.remove(idPair.second);\n allocation.put(idPair.first, instances);\n }\n }\n }\n\n /**\n * Assign a particular instance to an existing container or to a new container\n *\n * @return the container Id that incorporated the instance\n */\n private int placeFFDInstance(ArrayList containers,\n PackingPlan.InstancePlan instancePlan,\n Resource containerCapacity) {\n boolean placed = false;\n int containerId = 0;\n for (int i = 0; i < containers.size() && !placed; i++) {\n if (containers.get(i).add(instancePlan)) {\n placed = true;\n containerId = i + 1;\n }\n }\n if (!placed) {\n containerId = PackingUtils.allocateNewContainer(containers, containerCapacity,\n this.paddingPercentage);\n containers.get(containerId - 1).add(instancePlan);\n }\n return containerId;\n }\n\n /**\n * Remove an instance of a particular component from the containers\n *\n * @return the pairId that captures the corresponding container and instance id.\n */\n private Pair removeFFDInstance(ArrayList containers,\n String component)\n throws RuntimeException {\n boolean removed = false;\n int containerId = 0;\n for (int i = 0; i < containers.size() && !removed; i++) {\n Optional instancePlan =\n containers.get(i).removeAnyInstanceOfComponent(component);\n if (instancePlan.isPresent()) {\n removed = true;\n containerId = i + 1;\n PackingPlan.InstancePlan plan = instancePlan.get();\n return new Pair(containerId, new InstanceId(plan.getComponentName(),\n plan.getTaskId(), plan.getComponentIndex()));\n }\n }\n throw new RuntimeException(\"Cannot remove instance.\"\n + \" No more instances of component \" + component + \" exist\"\n + \" in the containers.\");\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '4d64a8a91cc5b2088528755241df1d7d', 'timestamp': '', 'source': 'github', 'line_count': 428, 'max_line_length': 107, 'avg_line_length': 43.14018691588785, 'alnum_prop': 0.724382582322357, 'repo_name': 'billonahill/heron', 'id': '008525182af53edeec398ee681530ee33c43322c', 'size': '18464', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'heron/packing/src/java/com/twitter/heron/packing/binpacking/FirstFitDecreasingPacking.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'C', 'bytes': '8537'}, {'name': 'C++', 'bytes': '1066813'}, {'name': 'CSS', 'bytes': '106404'}, {'name': 'HTML', 'bytes': '153681'}, {'name': 'Java', 'bytes': '2808587'}, {'name': 'JavaScript', 'bytes': '165520'}, {'name': 'M4', 'bytes': '17941'}, {'name': 'Makefile', 'bytes': '498'}, {'name': 'Objective-C', 'bytes': '1445'}, {'name': 'Perl', 'bytes': '9085'}, {'name': 'Protocol Buffer', 'bytes': '20620'}, {'name': 'Python', 'bytes': '1167255'}, {'name': 'Ruby', 'bytes': '1930'}, {'name': 'Scala', 'bytes': '4640'}, {'name': 'Shell', 'bytes': '130327'}, {'name': 'Thrift', 'bytes': '915'}]}"}}},{"rowIdx":849865,"cells":{"text":{"kind":"string","value":"google.ads.googleads.v11.common.DiscoveryMultiAssetAdInfo\n */\nclass DiscoveryMultiAssetAdInfo extends \\Google\\Protobuf\\Internal\\Message\n{\n /**\n * Marketing image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must\n * be 1.91:1 (+-1%). Required if square_marketing_images is\n * not present. Combined with `square_marketing_images` and\n * `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset marketing_images = 1;\n */\n private $marketing_images;\n /**\n * Square marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must\n * be 1:1 (+-1%). Required if marketing_images is not present. Combined with\n * `marketing_images` and `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset square_marketing_images = 2;\n */\n private $square_marketing_images;\n /**\n * Portrait marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must\n * be 4:5 (+-1%). Combined with `marketing_images` and\n * `square_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset portrait_marketing_images = 3;\n */\n private $portrait_marketing_images;\n /**\n * Logo image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be\n * 1:1(+-1%). At least 1 and max 5 logo images can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset logo_images = 4;\n */\n private $logo_images;\n /**\n * Headline text asset of the ad. Maximum display width is 30. At least 1 and\n * max 5 headlines can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset headlines = 5;\n */\n private $headlines;\n /**\n * The descriptive text of the ad. Maximum display width is 90. At least 1 and\n * max 5 descriptions can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset descriptions = 6;\n */\n private $descriptions;\n /**\n * The Advertiser/brand name. Maximum display width is 25. Required.\n *\n * Generated from protobuf field optional string business_name = 7;\n */\n protected $business_name = null;\n /**\n * Call to action text.\n *\n * Generated from protobuf field optional string call_to_action_text = 8;\n */\n protected $call_to_action_text = null;\n /**\n * Boolean option that indicates if this ad must be served with lead form.\n *\n * Generated from protobuf field optional bool lead_form_only = 9;\n */\n protected $lead_form_only = null;\n\n /**\n * Constructor.\n *\n * @param array $data {\n * Optional. Data for populating the Message object.\n *\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $marketing_images\n * Marketing image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must\n * be 1.91:1 (+-1%). Required if square_marketing_images is\n * not present. Combined with `square_marketing_images` and\n * `portrait_marketing_images` the maximum is 20.\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $square_marketing_images\n * Square marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must\n * be 1:1 (+-1%). Required if marketing_images is not present. Combined with\n * `marketing_images` and `portrait_marketing_images` the maximum is 20.\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $portrait_marketing_images\n * Portrait marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must\n * be 4:5 (+-1%). Combined with `marketing_images` and\n * `square_marketing_images` the maximum is 20.\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $logo_images\n * Logo image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be\n * 1:1(+-1%). At least 1 and max 5 logo images can be specified.\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $headlines\n * Headline text asset of the ad. Maximum display width is 30. At least 1 and\n * max 5 headlines can be specified.\n * @type array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $descriptions\n * The descriptive text of the ad. Maximum display width is 90. At least 1 and\n * max 5 descriptions can be specified.\n * @type string $business_name\n * The Advertiser/brand name. Maximum display width is 25. Required.\n * @type string $call_to_action_text\n * Call to action text.\n * @type bool $lead_form_only\n * Boolean option that indicates if this ad must be served with lead form.\n * }\n */\n public function __construct($data = NULL) {\n \\GPBMetadata\\Google\\Ads\\GoogleAds\\V11\\Common\\AdTypeInfos::initOnce();\n parent::__construct($data);\n }\n\n /**\n * Marketing image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must\n * be 1.91:1 (+-1%). Required if square_marketing_images is\n * not present. Combined with `square_marketing_images` and\n * `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset marketing_images = 1;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getMarketingImages()\n {\n return $this->marketing_images;\n }\n\n /**\n * Marketing image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must\n * be 1.91:1 (+-1%). Required if square_marketing_images is\n * not present. Combined with `square_marketing_images` and\n * `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset marketing_images = 1;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setMarketingImages($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset::class);\n $this->marketing_images = $arr;\n\n return $this;\n }\n\n /**\n * Square marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must\n * be 1:1 (+-1%). Required if marketing_images is not present. Combined with\n * `marketing_images` and `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset square_marketing_images = 2;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getSquareMarketingImages()\n {\n return $this->square_marketing_images;\n }\n\n /**\n * Square marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must\n * be 1:1 (+-1%). Required if marketing_images is not present. Combined with\n * `marketing_images` and `portrait_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset square_marketing_images = 2;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setSquareMarketingImages($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset::class);\n $this->square_marketing_images = $arr;\n\n return $this;\n }\n\n /**\n * Portrait marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must\n * be 4:5 (+-1%). Combined with `marketing_images` and\n * `square_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset portrait_marketing_images = 3;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getPortraitMarketingImages()\n {\n return $this->portrait_marketing_images;\n }\n\n /**\n * Portrait marketing image assets to be used in the ad. Valid image types are\n * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must\n * be 4:5 (+-1%). Combined with `marketing_images` and\n * `square_marketing_images` the maximum is 20.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset portrait_marketing_images = 3;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setPortraitMarketingImages($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset::class);\n $this->portrait_marketing_images = $arr;\n\n return $this;\n }\n\n /**\n * Logo image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be\n * 1:1(+-1%). At least 1 and max 5 logo images can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset logo_images = 4;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getLogoImages()\n {\n return $this->logo_images;\n }\n\n /**\n * Logo image assets to be used in the ad. Valid image types are GIF,\n * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be\n * 1:1(+-1%). At least 1 and max 5 logo images can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdImageAsset logo_images = 4;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setLogoImages($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdImageAsset::class);\n $this->logo_images = $arr;\n\n return $this;\n }\n\n /**\n * Headline text asset of the ad. Maximum display width is 30. At least 1 and\n * max 5 headlines can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset headlines = 5;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getHeadlines()\n {\n return $this->headlines;\n }\n\n /**\n * Headline text asset of the ad. Maximum display width is 30. At least 1 and\n * max 5 headlines can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset headlines = 5;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setHeadlines($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset::class);\n $this->headlines = $arr;\n\n return $this;\n }\n\n /**\n * The descriptive text of the ad. Maximum display width is 90. At least 1 and\n * max 5 descriptions can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset descriptions = 6;\n * @return \\Google\\Protobuf\\Internal\\RepeatedField\n */\n public function getDescriptions()\n {\n return $this->descriptions;\n }\n\n /**\n * The descriptive text of the ad. Maximum display width is 90. At least 1 and\n * max 5 descriptions can be specified.\n *\n * Generated from protobuf field repeated .google.ads.googleads.v11.common.AdTextAsset descriptions = 6;\n * @param array<\\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset>|\\Google\\Protobuf\\Internal\\RepeatedField $var\n * @return $this\n */\n public function setDescriptions($var)\n {\n $arr = GPBUtil::checkRepeatedField($var, \\Google\\Protobuf\\Internal\\GPBType::MESSAGE, \\Google\\Ads\\GoogleAds\\V11\\Common\\AdTextAsset::class);\n $this->descriptions = $arr;\n\n return $this;\n }\n\n /**\n * The Advertiser/brand name. Maximum display width is 25. Required.\n *\n * Generated from protobuf field optional string business_name = 7;\n * @return string\n */\n public function getBusinessName()\n {\n return isset($this->business_name) ? $this->business_name : '';\n }\n\n public function hasBusinessName()\n {\n return isset($this->business_name);\n }\n\n public function clearBusinessName()\n {\n unset($this->business_name);\n }\n\n /**\n * The Advertiser/brand name. Maximum display width is 25. Required.\n *\n * Generated from protobuf field optional string business_name = 7;\n * @param string $var\n * @return $this\n */\n public function setBusinessName($var)\n {\n GPBUtil::checkString($var, True);\n $this->business_name = $var;\n\n return $this;\n }\n\n /**\n * Call to action text.\n *\n * Generated from protobuf field optional string call_to_action_text = 8;\n * @return string\n */\n public function getCallToActionText()\n {\n return isset($this->call_to_action_text) ? $this->call_to_action_text : '';\n }\n\n public function hasCallToActionText()\n {\n return isset($this->call_to_action_text);\n }\n\n public function clearCallToActionText()\n {\n unset($this->call_to_action_text);\n }\n\n /**\n * Call to action text.\n *\n * Generated from protobuf field optional string call_to_action_text = 8;\n * @param string $var\n * @return $this\n */\n public function setCallToActionText($var)\n {\n GPBUtil::checkString($var, True);\n $this->call_to_action_text = $var;\n\n return $this;\n }\n\n /**\n * Boolean option that indicates if this ad must be served with lead form.\n *\n * Generated from protobuf field optional bool lead_form_only = 9;\n * @return bool\n */\n public function getLeadFormOnly()\n {\n return isset($this->lead_form_only) ? $this->lead_form_only : false;\n }\n\n public function hasLeadFormOnly()\n {\n return isset($this->lead_form_only);\n }\n\n public function clearLeadFormOnly()\n {\n unset($this->lead_form_only);\n }\n\n /**\n * Boolean option that indicates if this ad must be served with lead form.\n *\n * Generated from protobuf field optional bool lead_form_only = 9;\n * @param bool $var\n * @return $this\n */\n public function setLeadFormOnly($var)\n {\n GPBUtil::checkBool($var);\n $this->lead_form_only = $var;\n\n return $this;\n }\n\n}\n\n"},"meta":{"kind":"string","value":"{'content_hash': 'cbcf2786be9612d9a52af6ad6dc19d2d', 'timestamp': '', 'source': 'github', 'line_count': 425, 'max_line_length': 147, 'avg_line_length': 40.54352941176471, 'alnum_prop': 0.6557367535256224, 'repo_name': 'googleads/google-ads-php', 'id': 'b04248a751e681c811d9bd1af51504e8688cdb8a', 'size': '17231', 'binary': False, 'copies': '1', 'ref': 'refs/heads/main', 'path': 'src/Google/Ads/GoogleAds/V11/Common/DiscoveryMultiAssetAdInfo.php', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'Dockerfile', 'bytes': '899'}, {'name': 'PHP', 'bytes': '9952711'}, {'name': 'Shell', 'bytes': '338'}]}"}}},{"rowIdx":849866,"cells":{"text":{"kind":"string","value":"\n\n\n\n\n\nUses of Class org.apache.solr.handler.dataimport.Transformer (Solr 6.3.0 API)\n\n\n\n\n\n\n

JavaScript is disabled on your browser.
\n\n\n\n
\n
    \n
  • Prev
  • \n
  • Next
  • \n
\n\n\n
\n\n
\n\n\n
\n\n
\n

Uses of Class
org.apache.solr.handler.dataimport.Transformer

\n
\n
\n\n
\n\n\n
\n
    \n
  • Prev
  • \n
  • Next
  • \n
\n\n\n
\n\n
\n\n\n
\n\n

\n Copyright &copy; 2000-2016 Apache Software Foundation. All Rights Reserved.\n \n \n

\n\n\n"},"meta":{"kind":"string","value":"{'content_hash': '935780977980c7dedd8096c5e924c270', 'timestamp': '', 'source': 'github', 'line_count': 248, 'max_line_length': 521, 'avg_line_length': 56.40725806451613, 'alnum_prop': 0.6665236971906497, 'repo_name': 'johannesbraun/clm_autocomplete', 'id': '362d4b40b04b41e2ce76017a7991571d322348e7', 'size': '13989', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'docs/solr-dataimporthandler/org/apache/solr/handler/dataimport/class-use/Transformer.html', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'AMPL', 'bytes': '291'}, {'name': 'Batchfile', 'bytes': '63061'}, {'name': 'CSS', 'bytes': '238996'}, {'name': 'HTML', 'bytes': '230318'}, {'name': 'JavaScript', 'bytes': '1224188'}, {'name': 'Jupyter Notebook', 'bytes': '638688'}, {'name': 'Python', 'bytes': '3829'}, {'name': 'Roff', 'bytes': '34741083'}, {'name': 'Shell', 'bytes': '96828'}, {'name': 'XSLT', 'bytes': '124838'}]}"}}},{"rowIdx":849867,"cells":{"text":{"kind":"string","value":"from UnitTest import UnitTest, PY27_BEHAVIOUR\nimport sys\n\n\nclass MyException:\n\n def __str__(self):\n return \"MyException\"\n\n\nclass MyException2:\n\n def __str__(self):\n return \"MyException2\"\n\n\nclass ExceptionTest(UnitTest):\n\n def testTypeError(self):\n try:\n raise TypeError(\"fred\")\n except:\n self.assertTrue(True, \"the exception should have happened\")\n return\n self.assertTrue(False, \"the exception should have happened\")\n \n def testExceptionOrdTrigger(self):\n try:\n x = ord(5) # shouldn't be a number\n except:\n self.assertTrue(True, \"the exception should have happened\")\n return\n self.assertTrue(False, \"mustn't be able to do ord() on a number\")\n\n def testExceptionOrdNoTrigger(self):\n try:\n x = ord(\"5\")\n except:\n self.assertTrue(False, \"the exception shouldn't have happened\")\n return\n self.assertTrue(True, \"the exception should have happened\")\n\n def testRaiseException(self):\n try:\n raise MyException()\n except:\n return\n self.fail('MyException was not raised')\n\n def testCatchClassException(self):\n try:\n raise MyException()\n except MyException, e:\n self.assertEqual(e.__str__(), 'MyException',\n \"Caught exception does not match\")\n return\n self.fail('MyException was not caught or raised')\n\n def testCatchMultiClassException(self):\n try:\n raise MyException()\n except (MyException, MyException2), e:\n self.assertEqual(e.__str__(), 'MyException',\n \"Caught exception does not match\")\n return\n self.fail('MyException was not caught or raised')\n\n def testCatchStringException(self):\n\n # str exceptions were removed since 2.6\n if sys.version_info >= (2, 6):\n return \n\n try:\n raise \"test\"\n except \"test\":\n return\n except TypeError, e:\n self.fail(e)\n self.fail('\"test\" was not caught or raised')\n\n def testBuiltInException(self):\n try:\n raise LookupError('hoschi')\n except LookupError, err:\n self.assertEqual(err.__class__.__name__, 'LookupError')\n return\n self.fail(\"LookupError should be caught\")\n\n def testZeroDivisionError(self):\n try:\n v = 1/0\n except ZeroDivisionError, err:\n self.assertEqual(err.__class__.__name__, 'ZeroDivisionError')\n return\n self.fail(\"ZeroDivisionError should be caught bug #265\")\n\n def testStrReprSingleArg(self):\n args = ('test',)\n\n e = BaseException(*args)\n self.assertEqual(e.args[0], args[0])\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"BaseException('test',)\")\n\n e = Exception(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"Exception('test',)\")\n\n e = TypeError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"TypeError('test',)\")\n\n e = StandardError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"StandardError('test',)\")\n\n e = LookupError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"LookupError('test',)\")\n\n e = KeyError(*args)\n self.assertEqual(str(e), \"'%s'\" % args[0])\n self.assertEqual(repr(e), \"KeyError('test',)\")\n\n e = AttributeError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"AttributeError('test',)\")\n\n e = NameError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"NameError('test',)\")\n\n e = ValueError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"ValueError('test',)\")\n\n e = IndexError(*args)\n self.assertEqual(str(e), args[0])\n self.assertEqual(repr(e), \"IndexError('test',)\")\n\n def test_exc_info_traceback(self):\n def func():\n raise ValueError('Baaa!')\n\n try:\n func()\n except:\n tb = sys.exc_info()[2]\n count = 1\n while tb.tb_next:\n tb = tb.tb_next\n count += 1\n self.assertEqual(count, 2, 'sys.exc_info() traceback must be relative to caller')\n else:\n self.fail('Exception expected')\n\n def testSyntax(self):\n try:\n pass\n except KeyError, e:\n pass\n except (TypeError, LookupError), e:\n pass\n except:\n pass\n finally:\n pass\n\n try:\n a = 1\n except:\n a = 2\n else:\n a = 3\n finally:\n self.assertEqual(a, 3)\n a = 4\n self.assertEqual(a, 4)\n\n try:\n a = 11\n raise KeyError('test')\n except:\n a = 12\n else:\n a = 13\n finally:\n self.assertEqual(a, 12)\n a = 14\n self.assertEqual(a, 14)\n\n try:\n a = 1\n finally:\n a = 2\n self.assertEqual(a, 2)\n try:\n a = 1\n try:\n b = 1\n except:\n b = 2\n else:\n b = 3\n finally:\n self.assertEqual(b, 3)\n b = 4\n except:\n a = 2\n else:\n a = 3\n finally:\n self.assertEqual(a, 3)\n a = 4\n self.assertEqual(a, 4)\n self.assertEqual(b, 4)\n\n sys.exc_clear()\n try:\n raise\n self.fail(\"No error raised on 'raise' after 'sys.exc_clear()'\")\n except TypeError, e:\n # use message which works for both Python 2.5 and 2.6\n self.assertTrue(e.args[0].startswith('exceptions must be'), e.args[0])\n except:\n e = sys.exc_info()\n self.fail('TypeError expected, got %s' % e[0])\n\n try:\n raise KeyError, 'test'\n self.fail('No error raised')\n except KeyError, e:\n self.assertEqual(e.args[0], 'test')\n except:\n e = sys.exc_info()\n self.fail('KeyError expected, got %s' % e[0])\n e = e[1]\n\n try:\n raise\n except:\n err = sys.exc_info()\n self.assertEqual(e.args[0], err[1].args[0])\n\n raise_errors = [KeyError('KeyError'), TypeError('TypeError'),\n AttributeError('AttributeError'),\n LookupError('LookupError')]\n raised_errors = []\n for err in raise_errors:\n try:\n raise err\n self.fail(\"Failed to raise exception\")\n except (KeyError, TypeError), e1:\n raised_errors.append(e1)\n if isinstance(e1, KeyError):\n self.assertEqual(e1.args[0], 'KeyError')\n elif isinstance(e1, TypeError):\n self.assertEqual(e1.args[0], 'TypeError')\n else:\n self.fail('neither KeyError nor TypeError in except (KeyError, TypeError)')\n except AttributeError, e2:\n raised_errors.append(e2)\n self.assertEqual(e2.args[0], 'AttributeError')\n except:\n e3 = sys.exc_info()[1]\n raised_errors.append(e3)\n self.assertEqual(e3.args[0], 'LookupError')\n self.assertEqual(len(raised_errors), len(raise_errors))\n\n try:\n try:\n raise TypeError('TypeError')\n except KeyError, e:\n self.fail(\"Got KeyError\")\n self.fail(\"TypeError should not be ignored\")\n except TypeError, e:\n self.assertEqual(e.args[0], 'TypeError')\n\n def testCatchSuperException(self):\n try:\n raise TypeError('test')\n except Exception, e:\n self.assertTrue(True)\n except:\n self.fail(\"Failed to catch exception: bug #254\")\n\n def testAssertionError(self):\n try:\n assert True\n self.assertTrue(True)\n except AssertionError, e:\n self.fail(\"Got an unexpected assertion error: %r\" % e)\n try:\n assert False\n self.fail(\"AssertionError expected\")\n except AssertionError, e:\n self.assertTrue(True)\n try:\n assert False, 'reason'\n self.fail(\"AssertionError expected\")\n except AssertionError, e:\n self.assertEqual(e.args[0], 'reason')\n"},"meta":{"kind":"string","value":"{'content_hash': 'a9e0d55871fb0fe386079545e3611255', 'timestamp': '', 'source': 'github', 'line_count': 303, 'max_line_length': 95, 'avg_line_length': 29.138613861386137, 'alnum_prop': 0.509797259032733, 'repo_name': 'minghuascode/pyj', 'id': '7d76f9cc65d159facb804976970625a0eee37976', 'size': '8829', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'examples/libtest/ExceptionTest.py', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '107608'}, {'name': 'JavaScript', 'bytes': '116371'}, {'name': 'PHP', 'bytes': '5473'}, {'name': 'Python', 'bytes': '7572605'}, {'name': 'Shell', 'bytes': '24231'}]}"}}},{"rowIdx":849868,"cells":{"text":{"kind":"string","value":"package com.sensepost.yeti.plugins;\n\nimport java.awt.event.ActionEvent;\nimport java.io.FileNotFoundException;\nimport java.util.logging.Level;\nimport java.util.logging.Logger;\nimport javax.script.ScriptException;\nimport javax.swing.JMenuItem;\n\n/**\n *\n * @author willemmouton\n */\npublic class ImportPluginManager extends BasePluginManager {\n\n protected String args = null;\n\n public ImportPluginManager() {\n super();\n this.setLocation(\"/importPlugins\");\n }\n\n @Override\n public void pluginMenuEvent(ActionEvent evt) {\n if (evt.getSource().getClass() == JMenuItem.class) {\n try {\n String scriptName = (((JMenuItem) evt.getSource()).getName());\n this.executeScript(scriptName);\n } catch (FileNotFoundException | ScriptException ex) {\n Logger.getLogger(AttributePluginManager.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }\n\n public void setArgs(String value) {\n this.args = value;\n }\n\n public String getArgs() {\n return this.args;\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'e184fef5680a8e6339560b6861727249', 'timestamp': '', 'source': 'github', 'line_count': 42, 'max_line_length': 101, 'avg_line_length': 25.88095238095238, 'alnum_prop': 0.6421343146274149, 'repo_name': 'sensepost/yeti', 'id': '0f096f43b22065edfd724f0c1d2db9d4212c6ce6', 'size': '1087', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/main/java/com/sensepost/yeti/plugins/ImportPluginManager.java', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Groovy', 'bytes': '14301'}, {'name': 'Java', 'bytes': '700979'}]}"}}},{"rowIdx":849869,"cells":{"text":{"kind":"string","value":"omhttpfs: Hadoop HTTPFS Output Module\n============================================\n\n=========================== ===========================================================================\n**Module Name:** **omhttpfs**\n**Available Since:** **8.10.0**\n**Author:** `sskaje `_ \n=========================== ===========================================================================\n\nThis module is an alternative to omhdfs via `Hadoop HDFS over HTTP `_.\n\n**Dependencies**\n\n* libcurl\n\n**Configure**\n::\n ./configure --enable-omhttpfs\n\n**Config options**\n\nLegacy config **NOT** supported.\n\n- **host**\n HttpFS server host. Default: *127.0.0.1*\n \n- **port**\n HttpFS server port. Default: *14000*\n\n- **user**\n HttpFS auth user. Default: *hdfs*\n\n- **https** \\ \n Turn on if your HttpFS runs on HTTPS. Default: *off*\n\n- **file**\n File to write, or a template name.\n\n- **isdynfile** \\ \n Turn this on if your **file** is a template name. \n \n See examples below.\n\n- **template**\n Format your message when writing to **file**. Default: *RSYSLOG_FileFormat*\n\n**Examples**\n\n::\n\n module(load=\"omhttpfs\")\n template(name=\"hdfs_tmp_file\" type=\"string\" string=\"/tmp/%$YEAR%/test.log\")\n template(name=\"hdfs_tmp_filecontent\" type=\"string\" string=\"%$YEAR%-%$MONTH%-%$DAY% %MSG% ==\\n\")\n local4.* action(type=\"omhttpfs\" host=\"10.1.1.161\" port=\"14000\" https=\"off\" file=\"hdfs_tmp_file\" isDynFile=\"on\")\n local5.* action(type=\"omhttpfs\" host=\"10.1.1.161\" port=\"14000\" https=\"off\" file=\"hdfs_tmp_file\" isDynFile=\"on\" template=\"hdfs_tmp_filecontent\")\n"},"meta":{"kind":"string","value":"{'content_hash': '19f861c5ffa7452dd7ffcc498d22fbec', 'timestamp': '', 'source': 'github', 'line_count': 55, 'max_line_length': 150, 'avg_line_length': 32.49090909090909, 'alnum_prop': 0.5416899832120873, 'repo_name': 'rcuza/rsyslog-doc', 'id': 'e63c9b422a59cae6e3c5f74a548a13c89e077c93', 'size': '1787', 'binary': False, 'copies': '4', 'ref': 'refs/heads/master', 'path': 'source/configuration/modules/omhttpfs.rst', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'CSS', 'bytes': '8459'}, {'name': 'HTML', 'bytes': '409'}, {'name': 'JavaScript', 'bytes': '31866'}, {'name': 'Python', 'bytes': '9348'}, {'name': 'Shell', 'bytes': '1148'}]}"}}},{"rowIdx":849870,"cells":{"text":{"kind":"string","value":".. Bloch distribution documentation master file, created by\n sphinx-quickstart on Wed Nov 12 12:37:10 2014.\n You can adapt this file completely to your liking, but it should at least\n contain the root `toctree` directive.\n\nWelcome to Bloch distribution's documentation!\n==============================================\n\nContents:\n\n.. toctree::\n :maxdepth: 2\n\n installation\n overview\n api\n pdf_change_vars\n\n\nIndices and tables\n==================\n\n* :ref:`genindex`\n* :ref:`modindex`\n* :ref:`search`\n\n"},"meta":{"kind":"string","value":"{'content_hash': '80996d5df1c0f6c2ed3ce4d699bc7f78', 'timestamp': '', 'source': 'github', 'line_count': 26, 'max_line_length': 76, 'avg_line_length': 19.73076923076923, 'alnum_prop': 0.6257309941520468, 'repo_name': 'jarthurgross/bloch_distribution', 'id': '64dc8b2d2c6e3d305cef2ea0e1e92f885d83a335', 'size': '513', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'doc/index.rst', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Python', 'bytes': '28985'}]}"}}},{"rowIdx":849871,"cells":{"text":{"kind":"string","value":"QueryResult = $QueryResult;\n }\n\n /**\n * @return DynamicEntityQueryResults\n */\n public function getQueryResult() {\n return $this->QueryResult;\n }\n\n /**\n * @param DynamicEntityQueryResults $QueryResult\n * @return \\Eloqua\\Api\\Soap\\Service\\QueryResponse\n */\n public function setQueryResult($QueryResult) {\n $this->QueryResult = $QueryResult;\n return $this;\n }\n\n}\n"},"meta":{"kind":"string","value":"{'content_hash': 'bb1b15fdf1193b7c399618ad36738c1f', 'timestamp': '', 'source': 'github', 'line_count': 35, 'max_line_length': 53, 'avg_line_length': 20.62857142857143, 'alnum_prop': 0.6218836565096952, 'repo_name': 'revvi/eloqua-php-api', 'id': '5598bf6b8989d0908a53f39f5a0203fc89561b22', 'size': '722', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'src/Api/Soap/Service/QueryResponse.php', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'PHP', 'bytes': '183000'}]}"}}},{"rowIdx":849872,"cells":{"text":{"kind":"string","value":"\npackage io.joynr.types;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\nimport org.junit.runner.RunWith;\nimport org.mockito.junit.MockitoJUnitRunner;\n\n@RunWith(MockitoJUnitRunner.class)\npublic class StructSetterTest {\n @Rule\n public ExpectedException expectedException = ExpectedException.none();\n\n // joynr.types.TestTypes.TStruct is generated without extra parameters\n\n @Test\n public void setterThrowsOnNullValue() {\n joynr.types.TestTypes.TStruct tStruct = new joynr.types.TestTypes.TStruct();\n\n expectedException.expect(IllegalArgumentException.class);\n expectedException.expectMessage(\"setting tString to null is not allowed\");\n\n tStruct.setTString(null);\n }\n\n // joynr.types.TestTypes2.TStruct is generated with optional parameter\n // ignoreInvalidNullClassMembers true\n\n @Test\n public void setterDoesNotThrowOnNullValue() {\n joynr.types.TestTypes2.TStruct tStruct = new joynr.types.TestTypes2.TStruct();\n\n tStruct.setTString(null);\n }\n}\n"},"meta":{"kind":"string","value":"{'content_hash': '63065234ff4c81a110c1719dcaab8a0c', 'timestamp': '', 'source': 'github', 'line_count': 36, 'max_line_length': 86, 'avg_line_length': 29.47222222222222, 'alnum_prop': 0.7464655984919887, 'repo_name': 'bmwcarit/joynr', 'id': '23a6cc9065bac81a65ac523e7bc6f7105dc6df2e', 'size': '1687', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'java/javaapi/src/test/java/io/joynr/types/StructSetterTest.java', 'mode': '33188', 'license': 'apache-2.0', 'language': [{'name': 'AIDL', 'bytes': '110'}, {'name': 'C', 'bytes': '3087'}, {'name': 'C++', 'bytes': '4799115'}, {'name': 'CMake', 'bytes': '184499'}, {'name': 'Dockerfile', 'bytes': '51887'}, {'name': 'Gnuplot', 'bytes': '2344'}, {'name': 'Handlebars', 'bytes': '1549'}, {'name': 'Java', 'bytes': '5967524'}, {'name': 'JavaScript', 'bytes': '37186'}, {'name': 'Kotlin', 'bytes': '23721'}, {'name': 'Python', 'bytes': '36320'}, {'name': 'Rust', 'bytes': '10592'}, {'name': 'Shell', 'bytes': '268527'}, {'name': 'TypeScript', 'bytes': '1803452'}, {'name': 'Xtend', 'bytes': '539488'}]}"}}},{"rowIdx":849873,"cells":{"text":{"kind":"string","value":"module ThinkingSphinx::Middlewares; end\n\n%w[middleware active_record_translator geographer glazier ids_only inquirer\n sphinxql stale_id_checker stale_id_filter utf8].each do |middleware|\n require \"thinking_sphinx/middlewares/#{middleware}\"\nend\n\nmodule ThinkingSphinx::Middlewares\n def self.use(builder, middlewares)\n middlewares.each { |m| builder.use m }\n end\n\n BASE_MIDDLEWARES = [SphinxQL, Geographer, Inquirer]\n\n DEFAULT = ::Middleware::Builder.new do\n use StaleIdFilter\n ThinkingSphinx::Middlewares.use self, BASE_MIDDLEWARES\n use UTF8\n use ActiveRecordTranslator\n use StaleIdChecker\n use Glazier\n end\n\n RAW_ONLY = ::Middleware::Builder.new do\n ThinkingSphinx::Middlewares.use self, BASE_MIDDLEWARES\n use UTF8\n end\n\n IDS_ONLY = ::Middleware::Builder.new do\n ThinkingSphinx::Middlewares.use self, BASE_MIDDLEWARES\n use IdsOnly\n end\nend\n"},"meta":{"kind":"string","value":"{'content_hash': '3cf62d4b910102a998eacc6bcbff8644', 'timestamp': '', 'source': 'github', 'line_count': 33, 'max_line_length': 75, 'avg_line_length': 26.818181818181817, 'alnum_prop': 0.7468926553672316, 'repo_name': '0xCCD/thinking-sphinx', 'id': '4032e770be542fdc8e3a3a287f4902416e9daae5', 'size': '885', 'binary': False, 'copies': '2', 'ref': 'refs/heads/master', 'path': 'lib/thinking_sphinx/middlewares.rb', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Ruby', 'bytes': '379853'}]}"}}},{"rowIdx":849874,"cells":{"text":{"kind":"string","value":"{% extends 'admin/master.html' %}\n{% from \"security/_macros.html\" import render_field_with_errors, render_field %}\n{% block body %}\n{{ super() }}\n
\n
\n

Register

\n
\n
\n {{ register_user_form.hidden_tag() }}\n {{ render_field_with_errors(register_user_form.first_name) }}\n {{ render_field_with_errors(register_user_form.last_name) }}\n {{ render_field_with_errors(register_user_form.email) }}\n {{ render_field_with_errors(register_user_form.password) }}\n {% if register_user_form.password_confirm %}\n {{ render_field_with_errors(register_user_form.password_confirm) }}\n {% endif %}\n {{ render_field(register_user_form.submit, class=\"btn btn-primary\") }}\n
\n

Already signed up? Please log in.

\n
\n
\n
\n{% endblock body %}"},"meta":{"kind":"string","value":"{'content_hash': 'c58b4f76bd895beba685ee45376c236d', 'timestamp': '', 'source': 'github', 'line_count': 24, 'max_line_length': 102, 'avg_line_length': 48.25, 'alnum_prop': 0.5578583765112263, 'repo_name': 'fapsi/flask-inventory', 'id': '517ae32ef26d50671a10d80cdc0b88ac4d3f7357', 'size': '1158', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'inventory/templates/security/register_user.html', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'CSS', 'bytes': '6355'}, {'name': 'HTML', 'bytes': '16677'}, {'name': 'JavaScript', 'bytes': '1625'}, {'name': 'Python', 'bytes': '34252'}]}"}}},{"rowIdx":849875,"cells":{"text":{"kind":"string","value":"package crypto\n\nimport \"errors\"\n\nvar (\n\t// ErrInvalidKey means the key argument passed to Signing.Verify\n\t// was not the correct type.\n\tErrorInvalidKey = errors.New(\"key is invalid\")\n\tErrorInvalidSign = errors.New(\"the signing function is not found\")\n\tErrorSignatureInvalid = errors.New(\"signature is invalid\")\n\tErrorInvalidKeyType = errors.New(\"key is of invalid type\")\n\tErrorHashUnavailable = errors.New(\"the requested hash function is unavailable\")\n\t//ErrorTransferString = errors.New(\"transfer string error\")\n\tErrorECDSAVerification = errors.New(\"crypto/ecdsa: verification error\")\n\tErrorInvalidPrivateKey = errors.New(\"invalid private key\")\n)\n"},"meta":{"kind":"string","value":"{'content_hash': '29cdffcc699a1bc3dc4ee1818d0c8077', 'timestamp': '', 'source': 'github', 'line_count': 16, 'max_line_length': 81, 'avg_line_length': 41.5, 'alnum_prop': 0.7590361445783133, 'repo_name': 'go-jwt/jwt', 'id': '66fcb7b85fdeb29cc717e569253b105071fc6f86', 'size': '664', 'binary': False, 'copies': '1', 'ref': 'refs/heads/master', 'path': 'crypto/errors.go', 'mode': '33188', 'license': 'mit', 'language': [{'name': 'Go', 'bytes': '49993'}]}"}}},{"rowIdx":849876,"cells":{"text":{"kind":"string","value":"from __future__ import unicode_literals\nfrom cssselect.xpath import ExpressionError\nfrom cssselect import xpath as cssselect_xpath\n\nXPathExprOrig = cssselect_xpath.XPathExpr\n\n\nclass XPathExpr(XPathExprOrig):\n\n def __init__(self, path='', element='*', condition='', star_prefix=False):\n self.path = path\n self.element = element\n self.condition = condition\n self.post_condition = None\n\n def add_post_condition(self, post_condition):\n if self.post_condition:\n self.post_condition = '%s and (%s)' % (self.post_condition,\n post_condition)\n else:\n self.post_condition = post_condition\n\n def __str__(self):\n path = XPathExprOrig.__str__(self)\n if self.post_condition:\n path = '%s[%s]' % (path, self.post_condition)\n return path\n\n def join(self, combiner, other):\n res = XPathExprOrig.join(self, combiner, other)\n self.post_condition = other.post_condition\n return res\n\n\n# keep cssselect < 0.8 compat for now\n\n\nclass JQueryTranslator(cssselect_xpath.HTMLTranslator):\n \"\"\"This class is used to implement the css pseudo classes\n (:first, :last, ...) that are not defined in the css standard,\n but are defined in the jquery API.\n \"\"\"\n\n xpathexpr_cls = XPathExpr\n\n def xpath_first_pseudo(self, xpath):\n \"\"\"Matches the first selected element::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('

')\n >>> d('p:first')\n []\n\n ..\n \"\"\"\n xpath.add_post_condition('position() = 1')\n return xpath\n\n def xpath_last_pseudo(self, xpath):\n \"\"\"Matches the last selected element::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('

')\n >>> d('p:last')\n []\n\n ..\n \"\"\"\n xpath.add_post_condition('position() = last()')\n return xpath\n\n def xpath_even_pseudo(self, xpath):\n \"\"\"Matches even elements, zero-indexed::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('

')\n >>> d('p:even')\n [

]\n\n ..\n \"\"\"\n # the first element is 1 in xpath and 0 in python and js\n xpath.add_post_condition('position() mod 2 = 1')\n return xpath\n\n def xpath_odd_pseudo(self, xpath):\n \"\"\"Matches odd elements, zero-indexed::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('

')\n >>> d('p:odd')\n []\n\n ..\n \"\"\"\n xpath.add_post_condition('position() mod 2 = 0')\n return xpath\n\n def xpath_checked_pseudo(self, xpath):\n \"\"\"Matches odd elements, zero-indexed::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('
')\n >>> d('input:checked')\n []\n\n ..\n \"\"\"\n xpath.add_condition(\"@checked and name(.) = 'input'\")\n return xpath\n\n def xpath_selected_pseudo(self, xpath):\n \"\"\"Matches all elements that are selected::\n\n >>> from lib.pyquery import PyQuery\n >>> d = PyQuery('')\n >>> d('option:selected')\n [