diff --git a/.babelrc b/.babelrc index 6e536787..518949d6 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,6 @@ { + "presets": ["@babel/preset-react"], + "plugins": ["macros"], "env": { "test": { "presets": [["preact-cli/babel", { "modules": "commonjs" }]] diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..e6aa4e7e --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,4 @@ +# These are supported funding model platforms + +patreon: kushagra +custom: https://paypal.me/kushagragour diff --git a/.gitignore b/.gitignore index 6c1f05cd..26335f2a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ node_modules/ .sass-cache extension/ yarn-error.log +src/locales/_build +extension-*.zip +.parcel-cache/ \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..fceb5373 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ + engine-strict=true \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20 diff --git a/.prettierrc b/.prettierrc index ac6155f8..ae0c7458 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,6 @@ { "singleQuote": true, - "useTabs": true + "useTabs": true, + "trailingComma": "none", + "arrowParens": "avoid" } diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1946b37b..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -node_js: - - '10' -install: - - yarn add global eslint - - yarn add global babel-eslint - - yarn add global eslint-plugin-react - - yarn add global eslint-plugin-mocha - - yarn add global eslint-config-synacor -script: - - yarn run lint - - yarn run test -cache: yarn diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..aac0f4cf --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,120 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Project Overview + +Web-Maker is a blazing fast offline web playground that supports multiple preprocessors and offers both a Chrome extension and web app. The codebase is built with Preact and includes a comprehensive build system for both web and extension distributions. + +## Development Commands + +### Build & Development + +- `npm run dev` - Start development server with hot reload +- `npm run build` - Production build using Preact CLI +- `npm start` - Start dev server with preview server (combines dev + gulp start-preview-server) +- `npm run start:all` - Start dev server + preview server + collab server + +### Testing & Quality + +- `npm test` - Run Jest tests (uses `tests/` directory with mocks in `tests/__mocks__/`) +- `npm run lint` - Run ESLint on src directory +- `npm run cypress` - Run end-to-end tests with Cypress +- `npm run cypress:open` - Open Cypress test runner interactively + +### Build Distribution + +- `gulp release` - Full production release (web app + extension) +- `gulp devRelease` - Development release +- `gulp buildExtension` - Build Chrome extension only + +### Internationalization + +- `npm run extract` - Extract translatable strings from source +- `npm run compile` - Compile translations for runtime use +- `npm run add-locale` - Add new locale + +## Architecture Overview + +### Core Structure + +- **src/components/app.jsx** - Main application component managing global state, modals, and user interactions. State flows down through props (no state management library). +- **src/components/ContentWrap.jsx** - 3-pane editor layout (HTML/CSS/JS) +- **src/components/ContentWrapFiles.jsx** - File-based project mode with sidebar navigation +- **src/components/MainHeader.jsx** - Top toolbar with actions and controls + +### Key Services + +- **src/itemService.js** - Handles creation storage/retrieval (local & cloud) +- **src/firebaseInit.js** + **src/auth.js** - Firebase authentication and user management +- **src/db.js** - Database abstraction layer for settings and local storage +- **src/analytics.js** - Event tracking via GA; web app and extension use different GA configs +- **src/notifications.js** - Alert system service + +### Editor Infrastructure + +- **src/computes.js** - Code preprocessing (HTML/CSS/JS transformations) +- **src/codeModes.js** - Defines supported preprocessors (Pug, SCSS, TypeScript, etc.) +- **src/fileUtils.js** - File system operations for file-based projects +- **src/utils.js** - Core utilities including HTML generation, preview handling, and `window.IS_EXTENSION` flag + +### Build System + +- **gulpfile.js** - Build pipeline that packages for both web app and Chrome extension +- **preact.config.js** - Preact CLI configuration with webpack customizations (disables HTML minification, sets relative paths for prod) + +### Preview System + +The app communicates with the preview iframe via `postMessage`: + +- Main app sends code to iframe: `frame.contentWindow.postMessage(obj, '*')` +- Preview iframe sends console logs back: `mainWindow.postMessage({ logs }, '*')` +- Preview frame runs on localhost:7888 (dev) or wbmakr.com (prod) +- `src/lib/screenlog.js` handles console interception inside the preview +- `src/detached-window.js` manages the detached preview window mode + +### Extension Integration + +The Chrome extension shares the same codebase. Key differences are handled via `window.IS_EXTENSION` (set in `src/utils.js`), which adds `is-extension` or `is-app` CSS class to body. Extension-specific files: + +- **src/manifest.json** - MV3 extension manifest +- **src/eventPage.js** - Background service worker +- **src/options.js** - Extension options page + +## Coding Patterns + +### Styling + +All styles live in **one file: `src/style.css`**. No CSS modules or component-scoped CSS. + +- Use BEM-like naming (e.g., `.help-modal__title`, `.console__log`) +- Use CSS custom properties for theming: `:root` for dark theme, `body.light-theme` for light overrides +- When adding light theme support, add `body.light-theme .your-class` overrides + +### Layout Components + +Use `Stack`, `VStack`, `HStack` from `src/components/Stack.jsx` for flex layouts instead of writing custom CSS. They accept `gap` (index into predefined scale or raw value), `align`, `justify`, `wrap`, `fullWidth`, `fullHeight` props. + +### i18n + +All user-facing strings must be wrapped for translation using `@lingui/macro`: + +- JSX content: `Hello world` +- Attribute strings: Use `{({ i18n }) =>
}` +- Config: `.linguirc.json` and `.babelrc` (includes `macros` plugin) +- Locale files: `src/locales/{lang}/messages.js` + +### Changelog + +The changelog is in `src/components/Changelog.jsx`. Each version is a `` component with `version` prop. The latest version should have `isLatest={true}`. Individual items use `` or plain `
  • ` with `` for feature names. + +### Cypress Tests + +- Tests in `cypress/integration/*.test.js` +- Custom `cy.init()` command visits app and closes the welcome modal +- Use `data-testid` attributes for element selection + +## File Mode vs 3-Pane Mode + +- **3-Pane Mode**: Traditional HTML/CSS/JS editors side-by-side +- **File Mode**: Full file system with folder structure, limited to 2 projects for free users, unlimited for PRO diff --git a/DESIGN.md b/DESIGN.md new file mode 100644 index 00000000..26c5768b --- /dev/null +++ b/DESIGN.md @@ -0,0 +1,449 @@ +--- +version: alpha +name: Web Maker — Brutalist Spec Sheet +description: Terminal-editorial design system for the Web Maker website. Dark-first, monospace, high-contrast. Hard offset shadows replace elevation. Zero rounded corners. Reads like a developer's spec sheet or CLI man-page. + +colors: + ink: '#0a0a0f' + paper: '#f4f1ea' + accent: '#ffe300' + accent-2: '#ff5a36' + surface: '#111118' + line: '#23232c' + line-dark: '#2a2a33' + muted: '#8a8a96' + text-light: '#b9b9c4' + +typography: + headline-display: + fontFamily: JetBrains Mono + fontSize: 4.4rem + fontWeight: 800 + lineHeight: 0.9 + letterSpacing: -0.04em + headline-lg: + fontFamily: JetBrains Mono + fontSize: 3.6rem + fontWeight: 800 + lineHeight: 0.95 + letterSpacing: -0.03em + headline-md: + fontFamily: JetBrains Mono + fontSize: 1.95rem + fontWeight: 800 + lineHeight: 1.15 + letterSpacing: -0.02em + headline-sm: + fontFamily: JetBrains Mono + fontSize: 1.18rem + fontWeight: 700 + lineHeight: 1.18 + letterSpacing: -0.02em + body-lg: + fontFamily: IBM Plex Sans + fontSize: 1.18rem + fontWeight: 400 + lineHeight: 1.55 + body-md: + fontFamily: IBM Plex Sans + fontSize: 1.02rem + fontWeight: 400 + lineHeight: 1.65 + body-sm: + fontFamily: IBM Plex Sans + fontSize: 0.92rem + fontWeight: 400 + lineHeight: 1.55 + label-md: + fontFamily: JetBrains Mono + fontSize: 0.78rem + fontWeight: 500 + lineHeight: 1.4 + letterSpacing: 0.18em + label-sm: + fontFamily: JetBrains Mono + fontSize: 0.72rem + fontWeight: 500 + lineHeight: 1.4 + letterSpacing: 0.12em + code-inline: + fontFamily: JetBrains Mono + fontSize: 0.88em + fontWeight: 500 + lineHeight: 1.4 + code-block: + fontFamily: JetBrains Mono + fontSize: 0.88rem + fontWeight: 400 + lineHeight: 1.55 + +rounded: + none: 0px + +spacing: + xs: 4px + sm: 8px + md: 16px + lg: 24px + xl: 40px + 2xl: 64px + hairline: 1px + dot-grid: 22px + hairline-stripe: 18px + shadow-offset: 6px + shadow-offset-hover: 8px + shadow-offset-lift: 2px + +components: + button-primary: + backgroundColor: '{colors.accent}' + textColor: '{colors.ink}' + typography: '{typography.label-md}' + rounded: '{rounded.none}' + padding: 0.95rem 1.4rem + boxShadow: 6px 6px 0 {colors.paper} + button-primary-hover: + boxShadow: 9px 9px 0 {colors.paper} + transform: translate(-3px, -3px) + button-primary-on-paper: + backgroundColor: '{colors.accent}' + textColor: '{colors.ink}' + typography: '{typography.label-md}' + rounded: '{rounded.none}' + padding: 0.95rem 1.4rem + boxShadow: 6px 6px 0 {colors.ink} + button-ghost: + backgroundColor: transparent + textColor: '{colors.paper}' + typography: '{typography.label-md}' + rounded: '{rounded.none}' + padding: 0.95rem 1.4rem + borderColor: '{colors.line-dark}' + boxShadow: 6px 6px 0 {colors.line-dark} + button-ghost-hover: + textColor: '{colors.accent}' + borderColor: '{colors.accent}' + boxShadow: 9px 9px 0 {colors.accent} + transform: translate(-3px, -3px) + button-dark: + backgroundColor: '{colors.ink}' + textColor: '{colors.accent}' + typography: '{typography.label-md}' + rounded: '{rounded.none}' + padding: 0.95rem 1.4rem + boxShadow: 6px 6px 0 {colors.ink} + card-paper: + backgroundColor: '{colors.paper}' + textColor: '{colors.ink}' + borderColor: '{colors.ink}' + rounded: '{rounded.none}' + padding: 24px + boxShadow: 6px 6px 0 {colors.accent} + card-paper-hover: + boxShadow: 8px 8px 0 {colors.accent} + transform: translate(-2px, -2px) + card-dark: + backgroundColor: '{colors.surface}' + textColor: '{colors.paper}' + borderColor: '{colors.line}' + rounded: '{rounded.none}' + padding: 24px + boxShadow: 6px 6px 0 {colors.accent} + spec-card-badge: + backgroundColor: '{colors.ink}' + textColor: '{colors.accent}' + typography: '{typography.label-sm}' + padding: 0.15em 0.4em + rounded: '{rounded.none}' + code-inline: + backgroundColor: '{colors.ink}' + textColor: '{colors.accent}' + typography: '{typography.code-inline}' + padding: 0.15em 0.4em + rounded: '{rounded.none}' + code-block: + backgroundColor: '{colors.ink}' + textColor: '{colors.paper}' + borderColor: '{colors.line}' + typography: '{typography.code-block}' + padding: 16px 20px + rounded: '{rounded.none}' + table-header: + backgroundColor: '{colors.ink}' + textColor: '{colors.accent}' + typography: '{typography.label-sm}' + eyebrow: + textColor: '{colors.accent}' + typography: '{typography.label-md}' + eyebrow-dot: + backgroundColor: '{colors.accent}' + size: 10px + rounded: '{rounded.none}' + boxShadow: 0 0 12px {colors.accent} + blockquote: + backgroundColor: 'rgba(255,227,0,0.06)' + textColor: '{colors.ink}' + borderColor: '{colors.accent}' + typography: '{typography.body-md}' + padding: 16px 20px +--- + +# Web Maker — Brutalist Spec Sheet + +## Overview + +Web Maker's marketing surface looks and feels like a developer's spec sheet or a CLI man-page. The aesthetic direction is **brutalist / terminal-editorial**: intentionally raw, typographic, high-contrast. The product is a code playground — the site should feel like the same kind of tool: dense with information, mono-typed, with sharp edges and command-line tics. + +The system has three load-bearing decisions: + +1. **Dark-first.** The primary canvas is near-black ink (`#0a0a0f`), broken by an off-white paper (`#f4f1ea`) for content-heavy surfaces. Yellow (`#ffe300`) is the single driver of action and emphasis. +2. **Mono-typed.** JetBrains Mono carries every display, label, button, eyebrow and code element. IBM Plex Sans handles long-form body copy. Nothing else. +3. **Offset shadows, not elevation.** Depth is conveyed by hard offset shadows (e.g. `6px 6px 0 #ffe300`). No blur, no spread, no glow. The page reads as flat planes intersecting, not floating cards. + +The voice is curt and technical. Section headers follow a CLI convention: an eyebrow label like `SPEC SHEET // v7.1`, a meta line like `$ open webmaker.app`, and titles ending in a blinking yellow caret (`_`). + +## Colors + +The palette is built around two grounding neutrals and one driving accent. Every other token is a support role. + +- **Ink (#0a0a0f):** Near-black. Primary background on hero, diff, FAQ, and final-CTA surfaces. Also the text color on light surfaces. Used as a hard outline (`1px solid`) on paper-bg cards. +- **Paper (#f4f1ea):** A warm off-white. The canvas for docs, content areas, spec/testimonial cards on dark sections, and the primary-CTA offset shadow color. +- **Accent (#ffe300):** Vivid web-safe yellow. The single driver of interaction and emphasis — used for CTAs, active states, highlights, eyebrow dots, tags, the blinking title caret, and `` accents. Never used as a body color. +- **Accent-2 (#ff5a36):** Red-orange. The negative counterpart to yellow. Used only for: the leftmost terminal-traffic-light dot, `-` rows in diff tables, error indicators, and the offset shadow on the "competitor" card in comparison pages. Never used at body scale. +- **Surface (#111118):** Elevated surface on dark bg — cards, inputs, code blocks. One step lighter than ink so a card visibly sits on top of the page. +- **Line (#23232c):** Dividers, borders, subtle separators on dark backgrounds. +- **Line-dark (#2a2a33):** A half-step lighter than line. Used for section-to-section separators on dark, where a slightly more visible boundary helps. +- **Muted (#8a8a96):** Secondary text on dark — metadata, timestamps, eyebrow meta. +- **Text-light (#b9b9c4):** Body text on dark backgrounds. The default for paragraphs inside a dark section. + +### Banned colors + +Purple, blue, and orange (`#ff6c00`) were the previous brand palette and must not appear. Pure white is also avoided — content surfaces use paper, not `#fff`. + +## Typography + +Two fonts. No third option. + +- **JetBrains Mono** carries every display, heading, label, button, eyebrow, card title, nav link, and code element. Weights 400, 500, 700, 800. Headings use 700–800 with tight letter-spacing (`-0.02em` to `-0.04em`) and tight line-height (`0.86`–`0.95`). +- **IBM Plex Sans** carries long-form body copy. Weights 400 and 500. Line-height 1.55–1.65. + +Both load from Google Fonts with a single request: + +``` +https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&family=IBM+Plex+Sans:wght@400;500&display=swap +``` + +### Heading conventions + +- Headings always set in JetBrains Mono. Never IBM Plex Sans. +- Section titles use the **blinking caret** pattern: `word` where `em` is rendered as `font-style: normal; color: var(--accent)` and `em::after { content: '_'; animation: blink 1.1s steps(1) infinite; }`. The caret blinks 24/7 — it is the system's signature. +- H2 in long-form content gets a `border-bottom: 1px dashed #0a0a0f`. +- H3 in long-form content is prefixed with a `# ` chip styled as dark+yellow code-style label. + +### Eyebrows and labels + +- Eyebrow: JetBrains Mono, 0.72rem–0.78rem, uppercase, letter-spacing `0.12em`–`0.18em`. Preceded by a 10×10 colored square (`::before`). On dark backgrounds the square glows (`box-shadow: 0 0 12px `). +- Eyebrow text format: `CATEGORY // count-or-version`. Examples: `SPEC SHEET // v7.1`, `USE CASES // 04`, `DIFF // webmaker vs cloud`, `RECEIPTS // 11`, `PRO // unlock`. +- Tag chips: `5px 10px` padding, `1px solid` border in muted yellow or ink, mono uppercase. + +### Banned typefaces + +Inter, Roboto, Arial, Space Grotesk, and `system-ui` are never used as visible display fonts. They appear only in fallback stacks. + +## Layout + +The page is a vertical stack of full-bleed sections. Each section follows the same anatomy (the `.bb` "brutalist block" pattern): + +``` +.bb — full-bleed wrapper (dark or paper bg) + .bb__head — flex header spanning full width + .bb__eyebrow — mono uppercase label with colored dot + .bb__title — large mono heading with for accent + caret + .bb__meta — right-aligned mono metadata, two lines: + line 1: description ("3 connected", "v7.1") + line 2: $ command arg + [section content] — grid, table, cards, or split layout +``` + +Sections alternate between dark (`#0a0a0f` with the dotted-grid texture) and paper (`#f4f1ea` with the diagonal hairline texture) for visual rhythm. Yellow (`#ffe300`) is reserved for short accent strips — the final-CTA band, occasional callouts. + +### Section padding + +Sections use fluid clamps for breathing room without breakpoints: + +``` +padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); +padding-left: max(1rem, calc(50vw - 600px)); +padding-right: max(1rem, calc(50vw - 600px)); +``` + +The horizontal padding clamp creates a soft ~1200px max content width without requiring a wrapping `max-width` element — the section is genuinely full-bleed. + +### Textures + +- **Dark sections** carry a subtle dotted grid: `radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0)` at `22px 22px`. The grid is barely visible but signals "terminal grid paper" to the eye. +- **Paper sections** may carry a subtle diagonal hairline: `repeating-linear-gradient(-45deg, transparent 0 18px, rgba(10,10,15,0.025) 18px 19px)`. Same role — adds tooth without color. + +### Grids + +- Hero / split layouts: 2-column grid with a clamp gap (`clamp(1.5rem, 4vw, 4rem)`). +- Spec / benefit grids: 2×2 or 2×3 with **hard-edged cells** separated by `1px dashed` lines, not gutters. The grid reads as a single object. +- Diff table: 3-column grid (dimension / + PRO / − FREE) with `1px solid` row dividers. + +### Responsive breakpoints + +- **> 880px:** Full layout — 2-col hero, multi-col spec grids. +- **≤ 880px:** Hero stacks to 1-col, grids collapse to single column, any 3D rotation removed. +- **≤ 760px:** Docs sidebar unsticks and stacks above content. Diff tables collapse to single column with `+ PRO`/`- FREE` prefixes inlined. +- **≤ 560px:** Testimonial cards single column. +- **≤ 480px:** Hero CTAs stack vertically and span full width. + +## Elevation & Depth + +Depth is conveyed entirely through **hard offset shadows**. There is no `filter: blur()`, no elevation hierarchy à la Material, no soft glows. + +The single shadow primitive: + +```css +box-shadow: 6px 6px 0 ; +``` + +Where `` is: + +- `#ffe300` (accent) — the default for cards and CTAs on dark backgrounds. +- `#f4f1ea` (paper) — the default for primary CTAs (yellow button) so the shadow contrasts with the dark canvas. +- `#0a0a0f` (ink) — the default for cards and buttons on light/paper surfaces. +- `#ff5a36` (accent-2) — the offset shadow for the "competitor" card in comparison pages. + +### Hover pattern + +Interactive elements lift up-and-to-the-left and grow their shadow: + +```css +.element:hover { + transform: translate(-2px, -2px); + box-shadow: 8px 8px 0 ; +} +``` + +Transition: `0.25s–0.3s cubic-bezier(0.2, 0.8, 0.2, 1)` on transform + box-shadow + background + color. + +The CTA buttons use a slightly larger lift (`-3px, -3px`) with a `9px 9px 0` shadow. + +### Glows + +The only blurred-shadow exception is the eyebrow dot on dark sections, which carries a faint glow: + +```css +.bb__eyebrow::before { + background: #ffe300; + box-shadow: 0 0 12px #ffe300; +} +``` + +This is the single sanctioned glow in the system. + +## Shapes + +Sharp edges, everywhere. `border-radius: 0` is the universal rule. + +The only intentional curve in the entire system is the small filled circle used for traffic-light dots in terminal-window mocks (`width: 11px; height: 11px; border-radius: 50%`), and the tiny circles used as `::marker` punctuation on list items. Every container, button, card, input, table cell, code block, and tag is rectangular. + +### Borders + +- All borders are `1px solid` — no thicker borders except the docs post-title underline (`3px solid #ffe300`). +- On dark backgrounds: borders use `#23232c` (line) or `#2a2a33` (line-dark) for section breaks. +- On paper backgrounds: borders use `#0a0a0f` (ink). +- **Dashed `1px dashed`** is reserved for inner separators inside a grid (cell-to-cell) and the dashed underline on H2 inside long-form content. +- The post-title underline at `3px solid #ffe300` is the single thick-border exception. + +## Components + +### Buttons + +Two primary variants. Both share JetBrains Mono weight 700, all-uppercase label text, and a hard offset shadow. + +**Primary (yellow on dark, or yellow on paper):** + +```css +background: #ffe300; +color: #0a0a0f; +border: 1px solid #ffe300; +box-shadow: 6px 6px 0 #f4f1ea; /* on dark bg */ +/* box-shadow: 6px 6px 0 #0a0a0f; on paper bg */ +font-family: 'JetBrains Mono'; +font-weight: 700; +padding: 0.95rem 1.4rem; +``` + +**Ghost (outlined):** + +```css +background: transparent; +color: #f4f1ea; +border: 1px solid #2c2c36; +box-shadow: 6px 6px 0 #2c2c36; +``` + +Hover: border turns yellow, text turns yellow, shadow becomes `#ffe300`. + +**Dark (inverse — used on yellow CTA strips):** Black background, yellow text, ink offset shadow. + +### Spec / benefit cards + +- Paper bg (`#f4f1ea`) on dark sections, surface bg (`#111118`) for alternate dark cards. +- Border: `1px solid #0a0a0f` (paper cards) or `1px solid #23232c` (dark cards). +- Shadow: `6px 6px 0 #ffe300`. +- Hover: translate `-2px, -2px` + shadow grows to `8px 8px 0`. Sometimes a bg flip to `#0a0a0f` with yellow text — the "ink invert" pattern used on use-case benefits. +- Numbered badges live top-right as a dark chip: `background: #0a0a0f; color: #ffe300`, JetBrains Mono `0.62rem`–`0.72rem`. +- CLI-style flags on spec cards (`--offline`, `--cdn`, `--lang=*`) render in accent color, mono lowercase, with light tracking. + +### Code & technical elements + +- **Inline `code`**: `background: #0a0a0f; color: #ffe300; padding: 0.15em 0.4em; border-radius: 0;` JetBrains Mono. +- **Code blocks**: `background: #0a0a0f; border: 1px solid #23232c; font-family: JetBrains Mono; font-size: 0.88rem; line-height: 1.55`. Same on dark and paper backgrounds — code blocks are always dark. +- **Diff-style tables**: `+` prefix rendered in yellow, `-` prefix in `#ff5a36`, dimension labels prefixed with `#`. The first row is a header row in lighter background with uppercase mono labels. +- **Terminal window frames**: Three traffic-light dots (red `#ff5a36`, yellow `#ffe300`, grey `#b9b9c4`), followed by a mono breadcrumb like `~/webmaker · untitled.html`. The frame body uses `surface` color with the `line` border. + +### Long-form content (docs and marketing markdown) + +The same paper canvas, but with stricter typography: + +- Post title: JetBrains Mono 800, `border-bottom: 3px solid #ffe300`, inline-block. +- H2: JetBrains Mono 700, `border-bottom: 1px dashed #0a0a0f`. +- H3: JetBrains Mono 700, prefixed with a `# ` chip (dark+yellow). +- Body: IBM Plex Sans 400, line-height `1.65`. +- Links: `color: #0a0a0f; text-decoration-color: #ffe300; text-decoration-thickness: 2px`. Hover inverts to yellow-on-dark. +- Blockquotes: `border-left: 3px solid #ffe300; background: rgba(255,227,0,0.06)`. +- Tables: dark header row (`bg: #0a0a0f; color: #ffe300`), `1px solid #0a0a0f` borders, no zebra striping. +- Pagination: offset-shadow buttons with the standard brutalist hover. + +### Pros / Cons / Verdict (comparison pages) + +- `.pros`: paper bg, `border-left: 4px solid #ffe300`, `6px 6px 0 #ffe300` shadow. Heading prefixed with a dark `+ WINS` chip. +- `.cons`: paper bg, `border-left: 4px solid #ff5a36`, `6px 6px 0 #ff5a36` shadow. Heading prefixed with a dark `- TRADEOFFS` chip. +- `.verdict-box`: paper card with a dark mono title bar (`VERDICT $ verdict`) and `10px 10px 0 #0a0a0f` shadow. + +## Do's and Don'ts + +### Do + +- Use the blinking yellow caret on every section title — it is the system's signature animation. +- Lead every section with the eyebrow/title/meta triplet so the page reads as a stack of CLI receipts. +- Pair the dotted-grid texture (dark) and the diagonal-hairline texture (paper) to add tooth without color. +- Always pair an offset shadow with a CTA or card. A flat button with no shadow looks broken. +- Use `1px dashed` for _inner_ dividers and `1px solid` for _outer_ boundaries — the distinction reads. +- Prefer `box-shadow: 6px 6px 0` on default state and `box-shadow: 8px 8px 0` on hover, with a `translate(-2px, -2px)` lift. +- Use SVG icons exclusively. No emoji in UI. + +### Don't + +- No rounded corners. `border-radius: 0` everywhere except the literal traffic-light dots. +- No gradient backgrounds. Solid colors or the two documented textures only. +- No blur shadows, no glows. (Except the single sanctioned eyebrow-dot glow.) +- No emoji in UI. Use SVG icons. +- No orange (`#ff6c00` was the old accent — replaced by `#ffe300`). +- No purple gradient backgrounds (was the old hero/docs bg). +- No generic fonts (Inter, Roboto, Arial, Space Grotesk) as visible display type. +- No CSS modules or component-scoped styles. Site styles live inline in their respective HTML files. +- No spring physics, no bounce, no parallax, no scroll-triggered animation. The only animations are the blinking caret, the levitate on hero screenshots, the ticker marquee, and hover transitions. diff --git a/README.md b/README.md index 8a420a4e..9717b275 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,25 @@ -# Web-Maker ![Build](https://travis-ci.org/chinchang/web-maker.svg?branch=master) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/web-maker) +# Web-Maker 🕸🛠 --- -**Web-Maker** is an offline playground for your web experiments. Something like CodePen or JSFiddle, but much more faster and offline supported because it runs completely on your system. +**Web-Maker** is an offline playground for your web experiments. Something like CodePen or JSFiddle, but much more faster and works offline because it runs completely on your system. -### [Open Web App](https://webmaker.app/app/) (Recommended: More features. More fun!) +## [Open Web App](https://webmaker.app/create/) (Recommended: More features. More fun!) or -### [Install Chrome extension](https://chrome.google.com/webstore/detail/web-maker/lkfkkhfhhdkiemehlpkgjeojomhpccnh) +## [Install Chrome extension](https://chrome.google.com/webstore/detail/web-maker/lkfkkhfhhdkiemehlpkgjeojomhpccnh) -![Screenshot](/packages/website/images/ss1.png) +![Screenshot](/packages/website/images/ss1-new.png) -### Features +## Features - Supports Preprocessors: HTML (Pug & Markdown), CSS (SCSS, LESS & Stylus, Atomic CSS) & JavaScript (ES6, TypeScript & CoffeeScript) - Works offline -- Quick creation & good-old files mode +- Quick creation (3-panemode) & good-old Files mode - Inbuilt Console +- Multi-player collab mode +- Asset hosting (Local and Cloud storage) - Save and load your creations - Auto-save feature - Code auto-completion @@ -31,21 +33,29 @@ or - Save as HTML file - Edit in CodePen -Follow [@webmakerApp](https://twitter.com/intent/follow?screen_name=webmakerApp) for updates or tweet out feature requests and suggestions. +Follow [@webmakerApp](https://x.com/intent/follow?screen_name=webmakerApp) for updates or tweet out feature requests and suggestions. -### Support Web Maker +## Support Web Maker -Hi! I am Kushagra Gour. Web Maker is a free and open-source project. To keep myself motivated for working on such open-source and free [side projects](https://kushagragour.in/lab/), I have launched a [Patreon campaign](https://patreon.com/kushagra). Your pledge, no matter how small, will act as an appreciation towards my work and keep me going forward making Web Maker more awesome🔥. +Hi! I am Kushagra Gour. Web Maker is a free and open-source project. To keep myself motivated for working on such open-source and free [side projects](https://kushagra.dev/lab), I have launched a [Patreon campaign](https://patreon.com/kushagra). Your pledge, no matter how small, will act as an appreciation towards my work and keep me going forward making Web Maker more awesome🔥. [![Become a patron](/src/assets/patreon.png)](https://patreon.com/kushagra) -If not that, you can support by simply sharing about how much you love 💖 [@webmakerapp](https://twitter.com/webmakerApp). +Support with $ETH - 0x39989c0E53cfdcF6792e09d7573c65E911e774bA -Web Maker stays stable as rock with every release, thanks to the sponsored testing on the awesome BrowserStack! -Browserstack logo +If not that, you can support by simply sharing about how much you love 💖 [@webmakerapp](https://x.com/webmakerApp). -### License +## Sponsors + +[![](https://user-images.githubusercontent.com/379918/134402085-15cf29bc-2266-4b2d-9354-1830adc4a240.png)](https://cssbattle.dev) + +Web Maker stays stable as rock with every release, thanks to the sponsored testing on the awesome +Browserstack logo + +Deployed on the superfast [Netlify](https://www.netlify.com/) platform. + +## License MIT Licensed -Copyright (c) 2016-2019 Kushagra Gour, [webmakerapp.com](https://webmakerapp.com) +Copyright (c) 2016-2026 Kushagra Gour, [webmaker.app](https://webmaker.app) diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..755dfe22 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,25 @@ +## Release steps for Chrome extension + +- Checkout master +- Update changelog and commit +- Change version in following places: + - app.jsx + - options.html + - package.json + - manifest.json +- commit and tag (`git tag {version}`) +- Conditional code changes for extension: + - Remove base tag from index.ejs + - Remove auth code for signInWithPopup + - Remove ga.js loading in analytics.js and add window.ga = () => {}; + - Remove lemonsqueezy.js script loading from useCheckout.js + - Change import from 'firebase/auth' to 'firebase/auth/web-extension' +- Run `gulp buildExtension`. This will generate a folder called `extension`. +- Test out the extension by loading the `extension` folder. +- If everything is good, push to master. +- Zip the folder and submit to webstore. + +## Sidenotes + +- The /preview folder needs to hosted on separate domain (wbmakr.com on production) +- Whenever something changes in /preview folder, the built version of /preview (inside /create) needs to re-uploaded diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..6d23902d --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,3 @@ +# Reporting Security Issues + +Please report any security issue to chinchang457@gmail.com diff --git a/collab-server/.gitignore b/collab-server/.gitignore new file mode 100644 index 00000000..713d5006 --- /dev/null +++ b/collab-server/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +.env diff --git a/collab-server/README.md b/collab-server/README.md new file mode 100644 index 00000000..1cd785e5 --- /dev/null +++ b/collab-server/README.md @@ -0,0 +1,41 @@ +# Web Maker Collab Server + +WebSocket server for Web Maker's real-time collaboration feature using y-websocket. + +## Deploy to Railway + +1. **Create a new project on Railway** + + - Go to [railway.app](https://railway.app) + - Click "New Project" → "Deploy from GitHub repo" + - Select your repo and set the **root directory** to `collab-server` + +2. **Get your deployment URL** + + - Railway will provide a URL like `your-app.up.railway.app` + - Railway provides WSS (secure WebSocket) automatically + +3. **Update Web Maker** + - Edit `src/constants.js` in the main Web Maker project + - Set `COLLAB_SERVER_URL` to `wss://your-app.up.railway.app` + +## Local Development + +```bash +cd collab-server +npm install +npm start +``` + +Server runs on `ws://localhost:1234` (default y-websocket port) + +Or from the main project root: + +```bash +npm run start:collab +``` + +## Environment Variables + +- `PORT` - Server port (Railway sets this automatically) +- `HOST` - Bind address (set to 0.0.0.0 for Railway) diff --git a/collab-server/package.json b/collab-server/package.json new file mode 100644 index 00000000..9173afcc --- /dev/null +++ b/collab-server/package.json @@ -0,0 +1,15 @@ +{ + "name": "webmaker-collab-server", + "version": "1.0.0", + "description": "WebSocket server for Web Maker real-time collaboration", + "main": "server.js", + "scripts": { + "start": "HOST=0.0.0.0 npx y-websocket" + }, + "engines": { + "node": ">=18" + }, + "dependencies": { + "y-websocket": "^3.0.0" + } +} diff --git a/cypress.json b/cypress.json new file mode 100644 index 00000000..25f81c54 --- /dev/null +++ b/cypress.json @@ -0,0 +1,3 @@ +{ + "chromeWebSecurity": false +} diff --git a/cypress/fixtures/libraries.json b/cypress/fixtures/libraries.json new file mode 100644 index 00000000..c7b05dca --- /dev/null +++ b/cypress/fixtures/libraries.json @@ -0,0 +1,38 @@ +{ + "jsLibs": [ + { + "urlPref": "https://code.jquery.com/jquery", + "label": "jQuery" + }, + { + "urlPref": "https://ajax.googleapis.com/ajax/libs/angularjs/", + "label": "Angular" + }, + { + "urlPref": "https://cdnjs.cloudflare.com/ajax/libs/react/", + "label": "React" + }, + { + "urlPref": "https://cdnjs.cloudflare.com/ajax/libs/react-dom/", + "label": "React DOM" + }, + { + "urlPref": "https://unpkg.com/vue/dist/vue.min.js", + "label": "Vue.js" + } + ], + "cssLibs": [ + { + "urlPref": "https://cdnjs.cloudflare.com/ajax/libs/bulma/", + "label": "Bulma" + }, + { + "urlPref": "https://cdnjs.cloudflare.com/ajax/libs/hint.css/", + "label": "Hint.css" + }, + { + "urlPref": "https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css", + "label": "Tailwind.css" + } + ] +} diff --git a/cypress/integration/console.test.js b/cypress/integration/console.test.js new file mode 100644 index 00000000..239d5d15 --- /dev/null +++ b/cypress/integration/console.test.js @@ -0,0 +1,64 @@ +/// + +const consoleAssert = (prompt, expected) => { + cy.get('#consolePromptEl').type(`${prompt}{enter}`); + + // append the prompt at the beginning of the expected items + expected.unshift(`"> ${prompt}"`); + + cy.get('ul[data-testid=consoleItems] li').should( + 'have.length', + expected.length + ); + + expected.forEach((expectedValue, index) => { + cy.get('ul[data-testid=consoleItems] li').eq(index).contains(expectedValue); + }); +}; + +describe('Console checks', () => { + beforeEach(() => { + cy.init(); + + cy.get('a[data-testid=toggleConsole]').click(); + }); + + it('Simple arithmetic addition', () => { + consoleAssert('4+5', ['9']); + }); + + it('Simple arithmetic subtraction', () => { + consoleAssert('4-5', ['-1']); + }); + + it('Simple arithmetic multiplication', () => { + consoleAssert('4*5', ['20']); + }); + + it('Simple arithmetic division', () => { + consoleAssert('4/5', ['0.8']); + }); + + it('Division by Zero', () => { + consoleAssert('4/0', ['Infinity']); + }); + + it('Console log a message', () => { + consoleAssert("console.log('hello')", ['hello', 'undefined']); + }); + + it('Equality check', () => { + consoleAssert("100 == '100'", ['true']); + }); + + it('Strict-Equality check', () => { + consoleAssert("100 === '100'", ['false']); + }); + + it.only('Minimizing console', () => { + cy.get('#consoleEl').should('not.have.class', 'is-minimized'); + cy.wait(200); // wait for animation to complete + cy.get('a[data-testid=toggleConsole]').click(); + cy.get('#consoleEl').should('have.class', 'is-minimized'); + }); +}); diff --git a/cypress/integration/interface.test.js b/cypress/integration/interface.test.js new file mode 100644 index 00000000..8030da82 --- /dev/null +++ b/cypress/integration/interface.test.js @@ -0,0 +1,175 @@ +/// + +describe('Testing interfaces', () => { + beforeEach(() => { + cy.init(); + }); + + it('New button should create a new item if no unsaved changes present', () => { + cy.get('[data-testid=newButton]').click(); + + // since we haven't made any changed it should show the modal + cy.get('.modal__content').should('be.visible'); + }); + + it('New button should ask for confirmation if unsaved changes present, when confirmed modal should pop-up', () => { + cy.get('#htmlCodeEl').type('Hello'); + cy.get('[data-testid=newButton]').click(); + + cy.on('window:confirm', text => { + expect(text).to.contains('You have unsaved changes.'); + }); + cy.get('.modal__content').should('be.visible'); + }); + + it('New button should ask for confirmation if unsaved changes present, when declined modal should not pop-up', () => { + cy.get('#htmlCodeEl').type('Hello'); + cy.get('[data-testid=newButton]').click(); + + cy.on('window:confirm', text => { + expect(text).to.contains('You have unsaved changes.'); + return false; + }); + cy.get('.modal__content').should('not.exist'); + }); + + it('Save button click should save the current work with a notification.', () => { + const sampleText = 'Hello'; + cy.get('#htmlCodeEl').type(sampleText); + + cy.on('window:confirm', text => { + expect(text).to.contains('Do you still want to continue saving locally?'); + }); + + cy.get('#saveBtn').click(); + cy.get('#js-alerts-container').should('be.visible'); + cy.get('#js-alerts-container').contains('Auto-save enabled'); + + cy.then(() => { + const ls = JSON.parse(localStorage.getItem('code')); + expect(ls).to.be.not.null; + expect(ls['title']).to.contain('Untitled'); + expect(ls['html']).to.eq(sampleText); + }); + }); + + it('Cmd + S (Save) should save the current work with a notification.', () => { + const sampleText = 'Hello'; + + cy.on('window:confirm', text => { + expect(text).to.contains('Do you still want to continue saving locally?'); + }); + + cy.get('#htmlCodeEl').type(sampleText + '{ctrl+s}'); + cy.get('#js-alerts-container').should('be.visible'); + cy.get('#js-alerts-container').contains('Auto-save enabled'); + + cy.then(() => { + const ls = JSON.parse(localStorage.getItem('code')); + expect(ls).to.be.not.null; + expect(ls['title']).to.contain('Untitled'); + expect(ls['html']).to.eq(sampleText); + }); + }); + + it('Changing creation title should auto save in localstorage', () => { + const sampleText = 'Hello'; + cy.get('#htmlCodeEl').type(sampleText); + + cy.on('window:confirm', text => { + expect(text).to.contains('Do you still want to continue saving locally?'); + }); + + cy.get('#saveBtn').click(); + + cy.then(() => { + const ls = JSON.parse(localStorage.getItem('code')); + expect(ls).to.be.not.null; + expect(ls['title']).to.contain('Untitled'); + expect(ls['html']).to.eq(sampleText); + }); + + cy.get('#titleInput').clear().type('test'); + + cy.get('#saveBtn').click(); + cy.get('#js-alerts-container').should('be.visible'); + cy.get('#js-alerts-container').contains('Item saved'); + + cy.wait(1000); // for the localstorage to reflect the changes + + cy.then(() => { + const ls = JSON.parse(localStorage.getItem('code')); + expect(ls).to.be.not.null; + expect(ls['title']).to.eq('test'); + expect(ls['html']).to.eq(sampleText); + }); + }); + + it('Clicking "OPEN" should open the saved items pane', () => { + cy.on('window:confirm', text => { + expect(text).to.contains('Do you still want to continue saving locally?'); + return true; + }); + + const addCreation = message => { + // start with blank project + cy.get('[data-testid=newButton').click(); + cy.get('[data-testid=startBlankButton]').click(); + + // type a message in the HTML section + cy.get('#htmlCodeEl').type('{ctrl+a}{backspace}' + message); + // type the title + cy.get('#titleInput').clear().type(message).blur(); + + // save it + cy.get('#saveBtn').click(); + cy.wait(1000); + cy.then(() => { + const ls = JSON.parse(localStorage.getItem('code')); + console.log(ls); + expect(ls).to.be.not.null; + expect(ls['title']).to.eq(message); + expect(ls['html']).to.eq(message); + }); + }; + + // save some projects + const messages = ['test', 'test2', 'abc']; + messages.forEach(m => addCreation(m)); + + // check for the saved projects + cy.get('#openItemsBtn').click(); + cy.get('#js-saved-items-wrap').should('be.visible'); + messages.forEach((m, index) => { + cy.get('#js-saved-items-wrap') + .children() + .eq(messages.length - index - 1) + .contains(m); + }); + }); + + it('Selecting a library from dropdown should change URL in textarea', () => { + cy.get('[data-testid=addLibraryButton]').click(); + + cy.get('#externalJsTextarea').should('exist'); + cy.get('#externalCssTextarea').should('exist'); + + const checkLibrary = (label, url, type) => { + cy.get('#js-add-library-select').select(label); + + cy.get(`#external${type}Textarea`).should('contain.value', '\n' + url); // \n because every url should be in a new line + }; + + cy.fixture('libraries').then(data => { + data['jsLibs'].forEach(lib => + checkLibrary(lib['label'], lib['urlPref'], 'Js') + ); + }); + + cy.fixture('libraries').then(data => { + data['cssLibs'].forEach(lib => + checkLibrary(lib['label'], lib['urlPref'], 'Css') + ); + }); + }); +}); diff --git a/cypress/integration/layouts.test.js b/cypress/integration/layouts.test.js new file mode 100644 index 00000000..26e295df --- /dev/null +++ b/cypress/integration/layouts.test.js @@ -0,0 +1,94 @@ +/// + +describe('Pressing the layout buttons should change the layouts accordingly', () => { + before(() => { + cy.init(); + cy.viewport(1270, 720); + }); + + const getLayoutBtnId = index => `#layoutBtn${index}`; + + it('Default Layout', () => { + cy.get('body').should('have.class', 'layout-1'); + + cy.get('#js-code-side').should('be.visible'); + cy.get('#js-demo-side').should('be.visible'); + + cy.get('#js-code-side').should( + 'have.attr', + 'style', + 'width: calc(50% - 3px);' + ); + cy.get('#js-code-side').should('have.attr', 'direction', 'vertical'); + + cy.get('#js-demo-side').should( + 'have.attr', + 'style', + 'width: calc(50% - 3px);' + ); + }); + + it('Layout 2', () => { + cy.get(getLayoutBtnId(2)).click(); + + cy.get('body').should('have.class', 'layout-2'); + + cy.get('#js-code-side').should('be.visible'); + cy.get('#js-demo-side').should('be.visible'); + + cy.get('#js-code-side').should( + 'have.attr', + 'style', + 'height: calc(50% - 3px);' + ); + cy.get('#js-code-side').should('have.attr', 'direction', 'horizontal'); + + cy.get('#js-demo-side').should( + 'have.attr', + 'style', + 'height: calc(50% - 3px);' + ); + }); + + it('Layout 3', () => { + cy.get(getLayoutBtnId(3)).click(); + + cy.get('body').should('have.class', 'layout-3'); + + cy.get('#js-code-side').should('be.visible'); + cy.get('#js-demo-side').should('be.visible'); + + cy.get('#js-code-side').should( + 'have.attr', + 'style', + 'width: calc(50% - 3px);' + ); + cy.get('#js-code-side').should('have.attr', 'direction', 'vertical'); + + cy.get('#js-demo-side').should( + 'have.attr', + 'style', + 'width: calc(50% - 3px);' + ); + }); + + it('Layout 4', () => { + cy.get(getLayoutBtnId(4)).click(); + + cy.get('body').should('have.class', 'layout-4'); + + cy.get('#js-code-side').should('not.be.visible'); + cy.get('#js-demo-side').should('be.visible'); + }); + + it('Layout 5', () => { + cy.get(getLayoutBtnId(5)).click(); + + cy.get('body').should('have.class', 'layout-5'); + + cy.get('#js-code-side').should('be.visible'); + cy.get('#js-demo-side').should('be.visible'); + + cy.get('#js-code-side').should('have.attr', 'direction', 'horizontal'); + }); +}); diff --git a/cypress/integration/modals.test.js b/cypress/integration/modals.test.js new file mode 100644 index 00000000..3d2520a2 --- /dev/null +++ b/cypress/integration/modals.test.js @@ -0,0 +1,27 @@ +/// + +describe('Modals pop-up when header btns are pressed', () => { + beforeEach(() => { + cy.init(); + }); + + // Selectors for each button + const ADD_LIBRARY_SEL = '[data-testid=addLibraryButton]'; + const NEW_SEL = '[data-testid=newButton]'; + const LOGIN_SEL = '[data-testid=loginButton]'; + + it('Add Library', () => { + cy.get(ADD_LIBRARY_SEL).click(); + cy.get('.modal__content').should('be.visible'); + }); + + it('+ New', () => { + cy.get(NEW_SEL).click(); + cy.get('.modal__content').should('be.visible'); + }); + + it('Login/SignUp', () => { + cy.get(LOGIN_SEL).click(); + cy.get('.modal__content').should('be.visible'); + }); +}); diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js new file mode 100644 index 00000000..e2696f9e --- /dev/null +++ b/cypress/plugins/index.js @@ -0,0 +1,22 @@ +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +// eslint-disable-next-line no-unused-vars +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +}; diff --git a/cypress/support/commands.js b/cypress/support/commands.js new file mode 100644 index 00000000..924a863e --- /dev/null +++ b/cypress/support/commands.js @@ -0,0 +1,31 @@ +// *********************************************** +// This example commands.js shows you how to +// create various custom commands and overwrite +// existing commands. +// +// For more comprehensive examples of custom +// commands please read more here: +// https://on.cypress.io/custom-commands +// *********************************************** +// +// +// -- This is a parent command -- +// Cypress.Commands.add('login', (email, password) => { ... }) +Cypress.Commands.add('init', () => { + cy.visit('http://localhost:8080'); + + // closing the Welcome modal + cy.get('button[data-testid=closeModalButton]').click(); +}); +// +// +// -- This is a child command -- +// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) +// +// +// -- This is a dual command -- +// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) +// +// +// -- This will overwrite an existing command -- +// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/cypress/support/index.js b/cypress/support/index.js new file mode 100644 index 00000000..37a498fb --- /dev/null +++ b/cypress/support/index.js @@ -0,0 +1,20 @@ +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +// Import commands.js using ES2015 syntax: +import './commands'; + +// Alternatively you can use CommonJS syntax: +// require('./commands') diff --git a/cypress/videos/console.test.js.mp4 b/cypress/videos/console.test.js.mp4 new file mode 100644 index 00000000..0d1e47d4 Binary files /dev/null and b/cypress/videos/console.test.js.mp4 differ diff --git a/cypress/videos/interface.test.js.mp4 b/cypress/videos/interface.test.js.mp4 new file mode 100644 index 00000000..a65756e0 Binary files /dev/null and b/cypress/videos/interface.test.js.mp4 differ diff --git a/cypress/videos/layouts.test.js.mp4 b/cypress/videos/layouts.test.js.mp4 new file mode 100644 index 00000000..2da5e8ee Binary files /dev/null and b/cypress/videos/layouts.test.js.mp4 differ diff --git a/cypress/videos/modals.test.js.mp4 b/cypress/videos/modals.test.js.mp4 new file mode 100644 index 00000000..561ee6e0 Binary files /dev/null and b/cypress/videos/modals.test.js.mp4 differ diff --git a/devdocs/i18n.md b/devdocs/i18n.md index a18f2f02..a3276e1a 100644 --- a/devdocs/i18n.md +++ b/devdocs/i18n.md @@ -1,5 +1,7 @@ # i18n +⚠️ Update following doc after @babel/preset-react is added to the repo, permanently. The following instructions are outdated and might not be required. + This needs to be added to `.babelrc` before lingui commands can be run. Otherwise lingui doesn't get the right babel presets and `macros` plugin to extract strings. ``` diff --git a/devdocs/marketing-design-style.md b/devdocs/marketing-design-style.md new file mode 100644 index 00000000..f0a832d7 --- /dev/null +++ b/devdocs/marketing-design-style.md @@ -0,0 +1,206 @@ +# Marketing Design Style Guide + +This document defines the brutalist "spec sheet" design language used across the Web Maker website (homepage, docs, footer). + +## Aesthetic Direction + +**Brutalist / terminal-editorial.** The site looks and feels like a developer's spec sheet or CLI man-page — intentionally raw, typographic, and high-contrast. No gradients, no rounded corners, no blur effects. Sharp edges, offset shadows, mono type, and a dark-first palette. + +## Color Palette + +| Token | Hex | Usage | +| -------------- | --------- | --------------------------------------------------------- | +| **ink** | `#0a0a0f` | Primary background, text on light surfaces | +| **paper** | `#f4f1ea` | Content areas (docs, cards, testimonials) | +| **accent** | `#ffe300` | CTAs, active states, highlights, tags, eyebrows | +| **accent-2** | `#ff5a36` | Secondary accent (error dots, occasional contrast) | +| **line** | `#23232c` | Borders, dividers, subtle separators on dark bg | +| **line-dark** | `#2a2a33` | Slightly lighter dividers (section separators) | +| **surface** | `#111118` | Elevated surfaces on dark bg (cards, inputs, code blocks) | +| **muted** | `#8a8a96` | Secondary text, metadata, timestamps | +| **text-light** | `#b9b9c4` | Body text on dark backgrounds | + +### Rules + +- Dark sections (`#0a0a0f`) use a subtle **dotted grid texture**: `radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0)` at `22px 22px`. +- Light/paper sections (`#f4f1ea`) may use a subtle **diagonal hairline pattern**: `repeating-linear-gradient(-45deg, transparent 0 18px, rgba(10,10,15,0.025) 18px 19px)`. +- Never use purple, blue, or orange (these were the old brand colors). + +## Typography + +### Fonts + +| Font | Weight | Role | +| ------------------ | ------------------ | ------------------------------------------------------------------- | +| **JetBrains Mono** | 400, 500, 700, 800 | Display headings, labels, eyebrows, nav, code, card titles, buttons | +| **IBM Plex Sans** | 400, 500 | Body copy, descriptions, longer paragraphs | + +Both loaded via Google Fonts: + +``` +https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&family=IBM+Plex+Sans:wght@400;500&display=swap +``` + +### Rules + +- Headings: JetBrains Mono, weight 700–800, tight letter-spacing (`-0.02em` to `-0.04em`), tight line-height (`0.86`–`0.95`). +- Section titles use the **blinking caret** pattern: `word` where `em` is `font-style: normal; color: var(--accent)` and `em::after { content: '_'; animation: blink 1.1s steps(1) infinite; }`. +- Body: IBM Plex Sans, weight 400, `line-height: 1.55`. +- Labels/eyebrows: JetBrains Mono, `0.72rem–0.78rem`, uppercase, `letter-spacing: 0.12em–0.18em`. +- Never use Inter, Roboto, Arial, Space Grotesk, or system-ui as visible display fonts. + +## Section Anatomy + +Every major section follows the same header structure (class prefix `bb` for "brutalist block"): + +``` +.bb — full-bleed wrapper (dark or paper bg) + .bb__head — flex header spanning full width + .bb__eyebrow — mono uppercase label ("SPEC SHEET // v7.1") + ::before — small colored square (10x10, glowing on dark) + .bb__title — large mono heading with for accent + caret + .bb__meta — right-aligned mono metadata ("$ command" style) + [section content] — grid, table, cards, etc. +``` + +### Eyebrow format + +``` +CATEGORY // count-or-version +``` + +Examples: `SPEC SHEET // v7.1`, `USE CASES // 04`, `DIFF // webmaker vs cloud`, `RECEIPTS // 11`. + +### Meta format (right side) + +``` +description line +$ command arg +``` + +Examples: `$ open webmaker.app`, `$ git diff webmaker..cloud`, `$ cat testimonials.log`. + +## Shadows & Hover + +All interactive elements use **hard offset shadows** (no blur, no spread): + +```css +box-shadow: 6px 6px 0 #ffe300; /* default */ +box-shadow: 4px 4px 0 #0a0a0f; /* on light surfaces */ +``` + +### Hover pattern + +```css +.element:hover { + transform: translate(-2px, -2px); /* lift up-left */ + box-shadow: 8px 8px 0 ; /* shadow grows */ +} +``` + +Transition: `0.3s cubic-bezier(0.2, 0.8, 0.2, 1)` on transform + box-shadow. + +No blur shadows, no glows (except the eyebrow dot `box-shadow: 0 0 12px`), no elevation shadows. + +## Borders + +- Always `1px solid` — no thicker borders except the post-title underline (`3px solid #ffe300`). +- Dark bg: border color `#23232c` or `#2a2a33`. +- Light bg: border color `#0a0a0f`. +- Dashed borders (`1px dashed`) for inner card separators and section dividers on paper surfaces. +- `border-radius: 0` everywhere. No rounded corners. + +## Buttons + +Two variants: + +### Primary (yellow) + +```css +background: #ffe300; +color: #0a0a0f; +border: 1px solid #ffe300; +box-shadow: 6px 6px 0 #f4f1ea; +font-family: 'JetBrains Mono'; +font-weight: 700; +``` + +### Ghost (outlined) + +```css +background: transparent; +color: #f4f1ea; +border: 1px solid #2c2c36; +box-shadow: 6px 6px 0 #2c2c36; +``` + +Hover: border turns yellow, text turns yellow, shadow becomes `#ffe300`. + +## Cards (spec cards, testimonial cards) + +- Background: `#f4f1ea` (paper) on dark sections, `#111118` (surface) for alternate dark cards. +- Border: `1px solid #0a0a0f` (paper cards) or `1px solid #23232c` (dark cards). +- Shadow: `6px 6px 0 #ffe300`. +- Hover: translate + shadow growth + optional bg flip to `#ffe300`. +- Numbered badges: JetBrains Mono, `0.62rem–0.72rem`, positioned top-right as dark chip (`bg: #0a0a0f; color: #ffe300`). +- CLI-style flags on spec cards: `--offline`, `--cdn`, `--lang=*` in accent color. + +## Code & Technical Elements + +- Inline `code`: `background: #0a0a0f; color: #ffe300; padding: 0.15em 0.4em; border-radius: 0`. +- Code blocks: `background: #0a0a0f; border: 1px solid #23232c; font-family: JetBrains Mono; font-size: 0.88rem`. +- Diff-style tables: `+` prefix in yellow, `-` prefix in `#ff5a36`, dimension labels prefixed with `#`. +- Terminal window frames: traffic-light dots (red `#ff5a36`, yellow `#ffe300`, grey `#b9b9c4`), mono breadcrumb. + +## Docs Content Area + +- Background: `#f4f1ea` (paper). +- Post title: JetBrains Mono 800, `border-bottom: 3px solid #ffe300`, inline-block. +- H2: JetBrains Mono 700, `border-bottom: 1px dashed #0a0a0f`. +- H3: JetBrains Mono 700. +- Body: IBM Plex Sans 400. +- Links: `color: #0a0a0f; text-decoration-color: #ffe300; text-decoration-thickness: 2px`. Hover inverts to yellow-on-dark. +- Blockquotes: `border-left: 3px solid #ffe300; background: rgba(255,227,0,0.06)`. +- Tables: dark header row (`bg: #0a0a0f; color: #ffe300`), `1px solid #0a0a0f` borders. +- Pagination: offset-shadow buttons with brutalist hover. + +## Animation + +Minimal. Only used for: + +1. **Blinking caret** on section titles: `animation: blink 1.1s steps(1) infinite`. +2. **Levitate** on hero screenshot: `4s ease-in-out infinite`, 12px vertical bob. The "Open Source" badge levitates on the same cycle but offset by `-1.5s`. +3. **Ticker marquee**: `animation: ticker-scroll 20s linear infinite`. +4. **Hover transitions**: `0.25s–0.5s` on transform, box-shadow, background, color. + +No spring physics, no bounce, no parallax, no scroll-triggered animations. + +## Responsive Breakpoints + +| Breakpoint | Behavior | +| ---------- | --------------------------------------------------------- | +| `> 880px` | Full layout — 2-col hero, 6-col spec grid, 3-col grid | +| `<= 880px` | Hero stacks to 1-col, grids collapse, 3D rotation removed | +| `<= 760px` | Docs sidebar unsticks and stacks above content | +| `<= 560px` | Testimonial cards single column | +| `<= 480px` | Hero CTAs stack vertically, tags shrink | + +## File Locations + +| What | File | +| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| Hero section + ticker | `packages/website/_includes/default.html` (inline ` + +{% if ogImage %} +
    + +
    + +

    {{ title }}

    + {% if description %} +

    {{ description }}

    + {% endif %} +
    +
    +{% endif %} + +
    + {% unless ogImage %} + <-- All posts + {% endunless %} + +
    + {% unless ogImage %} + +

    {{ title }}

    + {% if description %} +

    {{ description }}

    + {% endif %} {% endunless %} +
    {{ content | safe }}
    +
    + + +
    diff --git a/packages/website/_includes/comparison.html b/packages/website/_includes/comparison.html new file mode 100644 index 00000000..3d0cb780 --- /dev/null +++ b/packages/website/_includes/comparison.html @@ -0,0 +1,729 @@ +--- +layout: default.html +--- + +{% assign competitor = page.fileSlug | remove: 'web-maker-vs-' %} + + + +
    +
    +
    +
    DIFF // webmaker vs {{ competitor }}
    +

    {{ title }}

    +
    +
    +
    side-by-side
    +
    $ git diff webmaker..{{ competitor }}
    +
    +
    + +

    {{ subtitle }}

    + + +
    + +
    +
    {{ content }}
    +
    + +
    +
    +
    +
    EXIT // 0
    +

    Try the difference

    +
    +
    +
    no signup · no download
    +
    $ ./start
    +
    +
    + +
    +

    No signup. No download. Just code.

    + + Open Web Maker + + + + + + Chrome Extension + +
    +
    diff --git a/packages/website/_includes/default.html b/packages/website/_includes/default.html index 879ba619..f8959ee6 100644 --- a/packages/website/_includes/default.html +++ b/packages/website/_includes/default.html @@ -1,31 +1,46 @@ - - + + - {% if page.url == '/' %}Web Maker{% else %}{{ title }} - Web Maker{% endif - %} + {% if page.url == '/' %}Web Maker - Free Offline Code Editor & Frontend + Playground{% else %}{{ title }} - Web Maker{% endif %} - - - - - - + + {% assign _description = description | default: "Build, experiment, and + prototype HTML, CSS, and JavaScript instantly in your browser. Works + offline. Supports SCSS, TypeScript, Pug, and more. Free Chrome extension." + %} + + + {% assign _ogImage = ogImage | default: "/images/ss1-new.png" %} {% if + _ogImage contains "://" %} {% assign _ogImageUrl = _ogImage %} {% else %} {% + assign _ogImageUrl = "https://webmaker.app" | append: _ogImage %} {% endif + %} + + + + + + + + + + + + {% if page.url == '/' %} + + + {% endif %} + - .say__name { - font-weight: bold; - color: #555; + + {% if page.fileSlug == '' %} + + - - - - {% if page.fileSlug == '' %}
    - -

    - Web Maker -

    -

    - A blazing fast & offline web playground in your browser -

    -
    - - Open Web App - -

    - Recommended: Works Offline! More features. More fun! -

    - - - Add Chrome extension - -
    - -
    - Docs - Blog - Github - Share +
    +
    +
    + + WEB MAKER +
    +
    + docs + blog + pro + github + share +
    +
    + +
    +
    + Simplest + Fastest + Works Offline +
    +

    Code in your
    browser.

    +

    + // the offline code editor for
    HTML · CSS · JavaScript +

    + + +

    + ★ 4.8/5 rated · 80K+ developers +

    +
    + +
    +
    + + + + + Open Source + +
    +
    + +
    + ~/webmaker · untitled.html +
    + Web Maker working screen +
    +
    -
    - Web Maker working screen + +
    +
    +
    + + + + 4.8 Star Rating + + + + + Used by 80K+ Developers + + + + + Works 100% Offline + + + + + Blazing Fast + + + + + Privacy First + +
    +
    + + + + 4.8 Star Rating + + + + + Used by 80K+ Developers + + + + + Works 100% Offline + + + + + Blazing Fast + + + + + Privacy First + +
    +
    {% else %} {% endif %} -
    - {{ content }} -
    +
    {{ content }}

    @@ -547,29 +1467,29 @@

    Disclaimer

    or you can set up a filter in Adblock Plus or similar ad blocker tools like AdBlock, uBlock or Adblock Pro.

    -
    +
    - + +
    --> {% include footer.html %} - + Documentation Index +{% assign currentUrl = page.url %} {% assign prevPage = null %} {% assign +nextPage = null %} {% assign found = false %} {% for item in docsNav %} {% if +found and nextPage == null %} {% assign nextPage = item %} {% endif %} {% if +item.url == currentUrl %} {% assign found = true %} {% endif %} {% unless found +%} {% assign prevPage = item %} {% endunless %} {% endfor %} -
    -
    -

    {{ title }}

    -
    - +
    + -
    {{ content | safe }}
    +
    +
    +
    +

    {{ title }}

    +
    +
    {{ content | safe }}
    +
    -
    + -
    +

    + + Edit this page on GitHub + +

    +
    + +
  • -

    - Documentation Index -

    + diff --git a/packages/website/_includes/footer.html b/packages/website/_includes/footer.html index 754fb873..4335f1af 100644 --- a/packages/website/_includes/footer.html +++ b/packages/website/_includes/footer.html @@ -1,53 +1,240 @@ - + + diff --git a/packages/website/_includes/playground.html b/packages/website/_includes/playground.html new file mode 100644 index 00000000..43f91503 --- /dev/null +++ b/packages/website/_includes/playground.html @@ -0,0 +1,766 @@ +--- +layout: default.html +--- + + + +
    +
    +
    +
    PLAYGROUND // {{ shortName | upcase }}
    +

    {{ title }}

    +
    +
    +
    {{ badgeText }}
    +
    $ webmaker --lang={{ shortName | downcase }}
    +
    +
    + +
    +
    + // {{ shortName | downcase }}.{{ fileExt }} +

    {{ subtitle }}

    + +
    + + +
    +
    + +
    +
    +
    +
    SPEC SHEET // 04
    +

    + Why this playground +

    +
    +
    +
    core capabilities
    +
    $ ls ./features
    +
    +
    + +
    +
    +
    + 01 · COMPILE + --realtime +
    +

    Instant compilation

    +

    + Write {{ shortName }} code, see the compiled output as you type. No + build setup, no watchers, no waiting. +

    +
    +
    +
    + 02 · OFFLINE + --local +
    +

    Works offline

    +

    + Compilation runs locally in your browser. Code on a flight, a train, a + basement — no internet required. +

    +
    +
    +
    + 03 · IDE + --full +
    +

    Full IDE features

    +

    + Syntax highlighting, auto-completion, error detection, and Prettier + formatting — all built in. +

    +
    +
    +
    + 04 · SHARE + --link +
    +

    Share & collaborate

    +

    + Share your creation via a link, or jump into real-time collab — pair + program, mob session, teach a friend. +

    +
    +
    +
    + +
    +
    {{ content }}
    +
    + +
    +
    +
    +
    EXIT // 0
    +

    + Start writing {{ shortName | downcase }} +

    +
    +
    +
    free · no signup · offline
    +
    $ ./start
    +
    +
    + +
    +

    + Free. No signup. Works offline. Open the editor and go. +

    + + Open {{ shortName }} editor + + + + + + Chrome Extension + +
    +
    diff --git a/packages/website/_includes/usecase.html b/packages/website/_includes/usecase.html new file mode 100644 index 00000000..9baca106 --- /dev/null +++ b/packages/website/_includes/usecase.html @@ -0,0 +1,616 @@ +--- +layout: default.html +--- + + + +
    +
    +
    +
    USE CASE // {{ eyebrow | upcase }}
    +

    {{ title }}

    +
    +
    +
    {{ benefits.size }} core benefits
    +
    $ webmaker --use={{ page.fileSlug }}
    +
    +
    + +

    {{ lead }}

    + + +
    + +
    +
    +
    +
    SPEC SHEET // 0{{ benefits.size }}
    +

    Why web maker

    +
    +
    +
    core advantages
    +
    $ ls ./benefits
    +
    +
    + +
    + {% for benefit in benefits %} +
    +
    + {{ forloop.index | prepend: '0' | slice: -2, 2 }} +
    +
    +

    {{ benefit.title }}

    +

    {{ benefit.text }}

    +
    +
    + {% endfor %} +
    +
    + +
    +
    {{ content }}
    +
    + +
    +
    +
    +
    EXIT // 0
    +

    {{ ctaTitle }}

    +
    +
    +
    {{ ctaText }}
    +
    $ ./start
    +
    +
    + + +
    diff --git a/packages/website/about.html b/packages/website/about.html new file mode 100644 index 00000000..ac61af9c --- /dev/null +++ b/packages/website/about.html @@ -0,0 +1,68 @@ +--- +layout: default.html +title: About Web Maker +description: Web Maker is a free, blazing fast, offline web playground built by Kushagra Gour. Learn about the project and the developer behind it. +--- + +

    About Web Maker

    + +

    + Web Maker is a free, blazing fast, offline frontend playground for HTML, CSS, + and JavaScript. It lets you build, experiment, and prototype web projects + right in your browser — no setup, no servers, no internet required. +

    + +

    Why Web Maker?

    + +

    + Web Maker was born out of a simple need: a frontend playground that is + fast and works offline. Unlike cloud-based + editors that depend on network latency to generate previews, Web Maker runs + entirely in your browser with instant real-time preview. +

    + +

    + Whether you're following a tutorial, prototyping a quick idea, teaching a + class, or preparing for a technical interview — Web Maker is there for you, + even without an internet connection. +

    + +

    Features

    + +
      +
    • Works 100% offline
    • +
    • Instant real-time preview
    • +
    • + Supports preprocessors — SCSS, SASS, Less, Stylus, TypeScript, CoffeeScript, + Pug, Markdown, and more +
    • +
    • Multiple editor layouts
    • +
    • Available as a Chrome extension and a web app
    • +
    • Console and preview built in
    • +
    • Import/export creations
    • +
    • Real-time collaboration (multiplayer)
    • +
    • + Open source on + GitHub +
    • +
    + +

    The Developer

    + +

    + Web Maker is created and maintained by + Kushagra Gour, a frontend + developer from India. Kushagra builds Web Maker as a passion project with the + mission of making web development accessible, fast, and fun for everyone. +

    + +

    Contact

    + +

    + Have questions or feedback? Reach out on + Twitter or open an + issue on + GitHub. +

    diff --git a/packages/website/blog/blog.json b/packages/website/blog/blog.json new file mode 100644 index 00000000..31a2e56a --- /dev/null +++ b/packages/website/blog/blog.json @@ -0,0 +1,4 @@ +{ + "layout": "blog-post.html", + "tags": "blogPosts" +} diff --git a/packages/website/blog/css-if-function-tutorial.md b/packages/website/blog/css-if-function-tutorial.md new file mode 100644 index 00000000..189f6f85 --- /dev/null +++ b/packages/website/blog/css-if-function-tutorial.md @@ -0,0 +1,143 @@ +--- +title: 'CSS if() is here. Build your first conditional style in 5 minutes.' +date: 2026-04-26 +description: 'A practical, copy-pasteable tour of the new CSS if() function. Replace a theme-switcher, a responsive padding rule, and a variant prop without writing a single line of JavaScript.' +--- + +For two decades, "conditional CSS" meant either media queries on a stylesheet level or a JavaScript class-toggle on the body. The new `if()` function ships in stable Chrome and Safari and gives you an _inline_ ternary you can drop into any property value. + +This post is a tour. Five minutes from top to bottom, three runnable demos, no toolchain. + +> Fork along: [Web Maker — `if()` demo](https://webmaker.app/create/2mp2R1gCTB). Open it in another tab, edit while you read. + +## The shape of the function + +```css +property: if(: ; else: ); +``` + +The condition slot accepts three query types: + +- `media()` — the same syntax as `@media` +- `supports()` — the same syntax as `@supports` +- `style(--token: value)` — matches against a custom property on the element or an ancestor + +That third one is the interesting one. It turns custom properties into _props_ — and your stylesheet starts to look a lot like a component library without ever importing one. + +## Demo 1: a one-line theme switch + +The old way (JS): + +```js +document.documentElement.classList.toggle('dark'); +``` + +```css +:root { + --bg: white; + --fg: black; +} +:root.dark { + --bg: #0a0a0f; + --fg: #f4f1ea; +} +body { + background: var(--bg); + color: var(--fg); +} +``` + +The 2026 way: + +```css +body { + background: if(media(prefers-color-scheme: dark): #0a0a0f; else: white); + color: if(media(prefers-color-scheme: dark): #f4f1ea; else: #0a0a0f); +} +``` + +No class toggle. No JavaScript. The browser re-evaluates when the OS theme changes. + +If you _do_ want a manual override toggle, you stack a `style()` check on top: + +```css +body { + background: if( + style(--theme: dark): #0a0a0f; media(prefers-color-scheme: dark): #0a0a0f; + else: white + ); +} +[data-theme='dark'] { + --theme: dark; +} +``` + +## Demo 2: variant props on a button + +This is where `style()` queries shine. Define a variant token, branch on it, ship one selector instead of five. + +```css +.btn { + --variant: default; + background: if( + style(--variant: primary): #ffe300; style(--variant: danger): #ff5a36; else: + #f4f1ea + ); + color: if(style(--variant: danger): white; else: #0a0a0f); + border: 1px solid currentColor; + padding: if(style(--size: lg): 1rem 2rem; else: 0.5rem 1rem); + font-family: 'JetBrains Mono', monospace; +} +``` + +```html + + + +``` + +Three buttons, one rule block. No `.btn--primary`, no `.btn--danger.btn--lg`. + +## Demo 3: progressive enhancement without `@supports` blocks + +`supports()` works exactly like `@supports`, but inline. Useful when you want a one-property fallback rather than duplicating a whole block. + +```css +.card { + padding: 1rem; + /* Use container query units when supported, viewport units otherwise. */ + font-size: if( + supports(font-size: 1cqi): 4cqi; else: clamp(1rem, 2vw, 1.5rem) + ); +} +``` + +The clamp fallback runs everywhere; modern browsers get the container-aware version. + +## Gotchas + +1. **The semicolons matter.** `if()` uses `;` between branches, not `,`. This is so commas can still appear inside individual values (e.g. inside `rgb()`). +2. **You can chain branches.** Order matters — first true wins, just like an `if/else if/else`. +3. **No nested `if()`** in the spec yet. If you need that, fall back to a stack of `style()` queries. +4. **Specificity is unchanged.** `if()` is a value, not a selector — it doesn't bump specificity, which is exactly what you want. + +## Browser support (April 2026) + +| Browser | Status | +| ------- | ----------------- | +| Chrome | Stable since 137 | +| Edge | Stable since 137 | +| Safari | Stable since 18.4 | +| Firefox | Behind flag | + +For Firefox-critical projects, ship the old class-toggle alongside `if()` — they don't conflict. + +## Why this matters + +Every value-level abstraction CSS absorbs is a layer of build tooling, runtime JavaScript, or hand-written boilerplate that goes away. `if()` is the smallest of the 2026 features but the one you'll reach for daily. + +Fork the demo, swap in your own `style()` queries, ship something. + +> [Open the `if()` demo on Web Maker](https://webmaker.app/create/2mp2R1gCTB?layout=2) — three working examples, ready to remix. + +If you build something cool with `if()`, tag [@webmakerApp](https://x.com/webmakerApp) — we'll boost the best ones. diff --git a/packages/website/blog/css-only-carousel-scroll-snap-sibling-index.md b/packages/website/blog/css-only-carousel-scroll-snap-sibling-index.md new file mode 100644 index 00000000..63bc842a --- /dev/null +++ b/packages/website/blog/css-only-carousel-scroll-snap-sibling-index.md @@ -0,0 +1,211 @@ +--- +title: 'A CSS-only carousel with scroll-snap and sibling-index()' +date: 2026-05-08 +description: 'Build a complete carousel — snapping track, native pagination dots, staggered entry animations — with zero JavaScript. Uses scroll-snap, ::scroll-marker, and the new sibling-index() function.' +ogImage: /images/blog/og-css-carousel.jpg +--- + +Carousels are a staple of "how much can you do without JavaScript" challenges. Until 2026 the answer was "almost everything except the dots." `scroll-snap` handled the snap-to-card behaviour. CSS could draw the dots. But updating the active dot as you scrolled? That needed a few lines of JS. + +Two new features close the gap: `::scroll-marker` (a pseudo-element automatically created for each scroll-snap target) and `sibling-index()` (a CSS function returning a child's position among its siblings, usable inside any value). + +This post builds a complete carousel — snapping track, animated active dot, staggered entry — entirely in CSS. + +> Fork along: [Web Maker — CSS-only carousel](https://webmaker.app/create/eBbjNxrM8O?layout=1). + +## The markup + +```html + +``` + +That's it. No nav, no buttons, no `` hacks. Eight cards in a div. + +## The snapping track + +```css +.carousel { + display: flex; + gap: 1rem; + overflow-x: auto; + scroll-snap-type: x mandatory; + scroll-marker-group: after; /* dots appear after the track */ + padding: 1rem; +} + +.card { + flex: 0 0 80%; + height: 240px; + scroll-snap-align: center; + scroll-snap-stop: always; + background: #ffe300; + border: 1px solid #0a0a0f; + display: grid; + place-items: center; + font: 700 3rem 'JetBrains Mono'; +} +``` + +`scroll-snap-type: x mandatory` makes horizontal scrolling lock to snap points. `scroll-snap-align: center` makes each card the snap target. Drag the track, release, the nearest card snaps centred. + +`scroll-marker-group: after` is the new bit. It tells the browser to generate a marker container _after_ the carousel and populate it with one `::scroll-marker` per snap target. + +## The dots + +```css +.card::scroll-marker { + content: ''; + width: 10px; + height: 10px; + border: 1px solid #0a0a0f; + background: transparent; + margin: 0 4px; +} + +.card::scroll-marker:target-current { + background: #ffe300; +} +``` + +`::scroll-marker` is a real pseudo-element with `content`, `display`, layout. Each card's marker shows up as a tiny square in the marker group. + +`:target-current` is the new pseudo-class that matches the marker for the currently-snapped card. As you scroll, the browser updates which marker matches `:target-current`. Active-state styling, zero JavaScript. + +You can even click a dot to scroll to its card — that's free. + +## Staggered entry animation + +This is where `sibling-index()` shows up. Each card should animate in with a delay based on its position. + +```css +.card { + animation: card-in 600ms ease-out backwards; + animation-delay: calc(sibling-index() * 80ms); +} + +@keyframes card-in { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +``` + +`sibling-index()` returns 1 for the first sibling, 2 for the second, and so on. Multiply by 80ms and the cascade staggers automatically. Add or remove a card — the timing adjusts itself, no JavaScript, no manual `--i` custom properties on each element. + +Pre-`sibling-index()`, you would have written: + +```html +
    ...
    +
    ...
    + +``` + +```css +animation-delay: calc(var(--i) * 80ms); +``` + +Doable, but every render had to set `--i`. Now the CSS engine does it. + +## Reverse staggers and conditional staggers + +`sibling-index()` is a regular value function. Combine it with `if()` (covered [in Day 1](https://webmaker.app/blog/css-if-function-tutorial)) or `calc()` for any pattern: + +```css +/* reverse stagger */ +animation-delay: calc((sibling-count() - sibling-index()) * 80ms); + +/* odd cards drift left, even cards drift right */ +@keyframes card-in { + from { + opacity: 0; + transform: translateX(if(style(--side: left): -20px; else: 20px)); + } + to { + opacity: 1; + transform: translateX(0); + } +} +``` + +`sibling-count()` is the partner function — total siblings under the same parent. + +## The reduce-motion variant + +```css +@media (prefers-reduced-motion: reduce) { + .card { + animation: none; + opacity: 1; + transform: none; + } + .carousel { + scroll-snap-type: none; + } +} +``` + +Disable both the entry animation _and_ the snap behaviour — some vestibular conditions react to snap-induced velocity changes. + +## Browser support (April 2026) + +| Feature | Chrome | Edge | Safari | Firefox | +| ----------------- | ------ | ---- | ------ | ----------- | +| `scroll-snap` | 75+ | 79+ | 11+ | 99+ | +| `::scroll-marker` | 130+ | 130+ | TP | In progress | +| `:target-current` | 130+ | 130+ | TP | In progress | +| `sibling-index()` | 137+ | 137+ | 18.4+ | Behind flag | + +For Firefox and older Safari, fall back to a plain snap track without dots — the carousel still works, just without the active-state indicator. Gate behind: + +```css +@supports (animation-delay: calc(sibling-index() * 1ms)) { + /* progressive enhancement */ +} +``` + +## What you actually shipped + +A carousel with: + +- Native horizontal snap-scrolling +- Native pagination dots that update on scroll +- Native click-to-scroll on dot tap +- Staggered entry animation that auto-adjusts to card count +- Full reduce-motion support +- ~40 lines of CSS, zero JavaScript + +Every one of those features was a JavaScript dependency a year ago. + +> [Open the carousel demo on Web Maker](https://webmaker.app/create/eBbjNxrM8O?layout=1) — fork it, swap the cards for your own content, ship. + +--- + +## That's the series + +Seven days, seven 2026 features, seven runnable demos: + +1. [CSS `if()`](https://webmaker.app/blog/css-if-function-tutorial) +2. [Anchor positioning](https://webmaker.app/blog/css-tooltip-without-javascript-anchor-positioning) +3. [Scroll-driven animations](https://webmaker.app/blog/css-only-scroll-progress-bar-2026) +4. [View Transitions](https://webmaker.app/blog/view-transitions-api-tabs-tutorial) +5. [`@scope`](https://webmaker.app/blog/css-scope-vs-bem-modules) +6. [JS interview pack](https://webmaker.app/blog/javascript-interview-questions-playground) +7. [CSS-only carousel](https://webmaker.app/blog/css-only-carousel-scroll-snap-sibling-index) + +Pattern: every one of these features used to need JavaScript, a library, or both. The 2026 platform absorbs the work and leaves your apps lighter, faster, and more accessible. + +If you build something with any of these, tag [@webmakerApp](https://twitter.com/webmakerApp) — best demos go in the next series. diff --git a/packages/website/blog/css-only-scroll-progress-bar-2026.md b/packages/website/blog/css-only-scroll-progress-bar-2026.md new file mode 100644 index 00000000..f89f1625 --- /dev/null +++ b/packages/website/blog/css-only-scroll-progress-bar-2026.md @@ -0,0 +1,164 @@ +--- +title: 'Scroll-driven animations: the reading-progress bar in 10 lines of CSS' +date: 2026-04-29 +description: 'Build a reading-progress bar, a parallax hero, and a section-reveal effect using only CSS scroll-driven animations. Zero IntersectionObserver, zero requestAnimationFrame.' +ogImage: /images/blog/og-css-reading-progress-bar.jpg +--- + +If you've ever wired up a reading-progress bar, you wrote roughly the same JavaScript: listen to `scroll`, calculate `scrollTop / (scrollHeight - clientHeight)`, set a `width` percentage. It's not hard, but it ran on every scroll frame and competed for the main thread. + +Scroll-driven animations make all of that go away. You declare what should animate and which scroll provides the timeline. The browser drives the rest, off the main thread. + +> Fork along: [Web Maker — scroll-driven trio](https://webmaker.app/create/F57hVPFXzx?layout=1). Three demos in one creation. + +## The two timelines you'll actually use + +- `scroll()` — animation progress is tied to a scroll container's scroll position. Use this for progress bars, scroll-linked indicators. +- `view()` — animation progress is tied to an element's position _within_ the viewport. Use this for reveal effects and parallax. + +Both replace `IntersectionObserver` for 90% of cases. + +## Demo 1: the reading-progress bar + +```html +
    +
    ... long content ...
    +``` + +```css +.progress { + position: fixed; + top: 0; + left: 0; + height: 3px; + width: 100%; + background: #ffe300; + transform-origin: left; + animation: grow linear; + animation-timeline: scroll(root block); +} + +@keyframes grow { + from { + transform: scaleX(0); + } + to { + transform: scaleX(1); + } +} +``` + +That's the entire bar. Ten lines, all CSS. `scroll(root block)` means "the document's vertical scroll." The animation progresses from 0% to 100% as the page scrolls top-to-bottom. + +Pause for a second on what's _not_ here: no `addEventListener`, no `requestAnimationFrame`, no debounce, no resize handler. The browser knows the scroll length and drives the keyframe. When you change page length, it just works. + +## Demo 2: parallax hero + +The classic effect: hero image translates slowly while text translates normally. + +```css +.hero { + position: relative; + overflow: clip; +} + +.hero img { + animation: parallax linear; + animation-timeline: view(); + animation-range: cover 0% cover 100%; +} + +@keyframes parallax { + from { + transform: translateY(-15%); + } + to { + transform: translateY(15%); + } +} +``` + +`view()` defines the timeline as "while this element passes through the viewport." `animation-range: cover` means "from the moment its top edge enters until its bottom edge leaves." The translate range is up to you — 15% gives a subtle, non-vomit-inducing shift. + +## Demo 3: section reveal + +Cards that fade and lift in as they scroll into view. + +```css +.card { + opacity: 0; + transform: translateY(40px); + animation: reveal linear both; + animation-timeline: view(); + animation-range: entry 0% entry 60%; +} + +@keyframes reveal { + to { + opacity: 1; + transform: translateY(0); + } +} +``` + +`animation-range: entry 0% entry 60%` is the magic. Translation: "start when the card just enters the viewport, complete the animation when it's 60% of the way in." Past 60%, the card stays at the `to` state because of `both`. + +This replaces your IntersectionObserver-driven `.is-visible` class toggles. The CSS engine handles the threshold math. + +## Reduce motion: don't forget + +Scroll-driven animations are still _animations_. People with vestibular disorders feel them. + +```css +@media (prefers-reduced-motion: reduce) { + .progress { + animation: none; + transform: scaleX(1); + } + .hero img { + animation: none; + } + .card { + animation: none; + opacity: 1; + transform: none; + } +} +``` + +Ship this in the same file. It's three lines per effect; there's no excuse. + +## The performance story + +Pre-2025, a parallax effect commonly looked like: + +```js +window.addEventListener('scroll', () => { + const y = window.scrollY; + hero.style.transform = `translateY(${y * 0.15}px)`; +}); +``` + +Two problems: + +1. The handler fires on every scroll event, on the main thread. +2. Every assignment triggers a style recalc + layout + paint cycle. + +Scroll-driven animations run on the compositor thread. The main thread can be busy parsing JSON or rendering React — your animation is unaffected. Lighthouse Total Blocking Time goes down by default. + +## Browser support (April 2026) + +| Browser | Status | +| ------- | ---------------------------------------------------- | +| Chrome | Stable since 115 | +| Edge | Stable since 115 | +| Safari | Stable since 18.2 | +| Firefox | Behind `layout.css.scroll-driven-animations.enabled` | + +For Firefox holdouts, gate behind `@supports (animation-timeline: scroll())` — your fallback is "no animation," which is fine. + +## Try it + +> [Open the scroll-driven trio on Web Maker](https://webmaker.app/create/F57hVPFXzx?layout=1) — progress bar, parallax, reveal, all in one file. + +Tomorrow: [View Transitions API](https://webmaker.app/blog/view-transitions-api-tabs-tutorial). The same "let the browser do it" idea, applied to state changes. diff --git a/packages/website/blog/css-scope-vs-bem-modules.md b/packages/website/blog/css-scope-vs-bem-modules.md new file mode 100644 index 00000000..4ad01bb7 --- /dev/null +++ b/packages/website/blog/css-scope-vs-bem-modules.md @@ -0,0 +1,223 @@ +--- +title: 'CSS @scope: the end of BEM (for real this time)' +date: 2026-05-01 +description: 'A practical comparison of BEM, CSS Modules, and the new @scope at-rule. Refactor a real component three ways and see which one ships least code.' +ogImage: /images/blog/og-scope-vs-bem.png +--- + +For 15 years we've been styling components by inventing naming conventions. BEM, OOCSS, SMACSS, CSS Modules, CSS-in-JS. All of them solved the same problem — "stop styles from leaking" — by working _around_ the cascade rather than working with it. + +`@scope` is the cascade growing the feature we needed all along: a way to declare _"these rules apply to this subtree, and nowhere else."_ It went production-ready early 2026 in Chrome, Edge, and Safari. + +This post takes one component, refactors it three ways — BEM, CSS Modules, `@scope` — and counts the bytes. + +> Fork along: [Web Maker — `@scope` demo](https://webmaker.app/create/z5PaG6j4Qi?layout=1). Three CSS files, same markup, side by side. + +## The component + +A simple card. Header, body, action row. Standard stuff. + +```html +
    +
    +

    Web Maker Pro

    + $6/mo +
    +

    Cloud sync, embeds, unlimited collaboration.

    +
    + + Learn more +
    +
    +``` + +## The BEM way + +```html +
    +
    +

    Web Maker Pro

    + $6/mo +
    +

    Cloud sync, embeds, unlimited collaboration.

    +
    + + Learn more +
    +
    +``` + +```css +.card { + border: 1px solid #0a0a0f; + padding: 1.5rem; +} +.card__header { + display: flex; + justify-content: space-between; +} +.card__title { + font: 700 1.25rem 'JetBrains Mono'; +} +.card__price { + color: #ffe300; +} +.card__body { + font-family: 'IBM Plex Sans'; +} +.card__actions { + display: flex; + gap: 1rem; + margin-top: 1rem; +} +.card__btn { + padding: 0.5rem 1rem; +} +.card__btn--primary { + background: #ffe300; +} +.card__link { + color: #0a0a0f; + text-decoration: underline #ffe300 2px; +} +``` + +Pros: works everywhere, 100% explicit. Cons: every element wears its component's name. Markup is cluttered. Renaming the component is a find-and-replace minefield. + +## The CSS Modules way + +```css +/* Card.module.css */ +.card { ... } +.header { ... } +.title { ... } +.price { ... } +.body { ... } +.actions { ... } +.btn { ... } +.btnPrimary { ... } +.link { ... } +``` + +```jsx +import s from './Card.module.css'; +
    +
    +

    ...

    +``` + +Pros: clean class names. Cons: every element still needs an explicit class. Requires a build tool. Class names get hashed at runtime, which complicates debugging and devtools spelunking. + +## The @scope way + +```html +
    +
    +

    Web Maker Pro

    + $6/mo +
    +

    Cloud sync, embeds, unlimited collaboration.

    +
    + + Learn more +
    +
    +``` + +```css +@scope (.card) { + :scope { + border: 1px solid #0a0a0f; + padding: 1.5rem; + } + + header { + display: flex; + justify-content: space-between; + } + h3 { + font: 700 1.25rem 'JetBrains Mono'; + } + header span { + color: #ffe300; + } + + p { + font-family: 'IBM Plex Sans'; + } + + .actions { + display: flex; + gap: 1rem; + margin-top: 1rem; + } + button { + padding: 0.5rem 1rem; + background: #ffe300; + } + a { + color: #0a0a0f; + text-decoration: underline #ffe300 2px; + } +} +``` + +The markup is back to plain HTML. The CSS uses bare element selectors but they only match _inside_ `.card`. Different cards on the page can reuse ` +
    Anchor positioning, no JS.
    +``` + +```css +.trigger { + anchor-name: --trigger; +} + +.tooltip { + position-anchor: --trigger; + position: fixed; + top: anchor(bottom); + left: anchor(center); + translate: -50% 8px; + + background: #0a0a0f; + color: #ffe300; + padding: 0.4rem 0.75rem; + border: 1px solid #2a2a33; + font-family: 'JetBrains Mono', monospace; + font-size: 0.85rem; +} +``` + +`anchor(bottom)` resolves to the trigger's bottom edge. `anchor(center)` resolves to the horizontal centre. We translate `-50%` to center the tooltip on that point and add 8px of clearance. That's it for placement. + +We're using the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) for the show/hide behaviour — that's also native, also no JS. + +## Add the flip behaviour + +A tooltip near the bottom of the viewport should flip up. `position-try-fallbacks` lets the browser try alternate positions in order until one fits. + +```css +.tooltip { + position-anchor: --trigger; + position: fixed; + top: anchor(bottom); + left: anchor(center); + translate: -50% 8px; + position-try-fallbacks: --above, --to-right; +} + +@position-try --above { + top: auto; + bottom: anchor(top); + translate: -50% -8px; +} + +@position-try --to-right { + top: anchor(center); + left: anchor(right); + translate: 8px -50%; +} +``` + +The browser tries the default placement first. If the tooltip overflows, it tries `--above`. If that also overflows, it tries `--to-right`. If everything fails, it falls back to the last attempted position. + +This is the exact algorithm Popper.js implements, in three CSS rules. + +## Add a tail (the little arrow) + +```css +.tooltip::before { + content: ''; + position: absolute; + top: -6px; + left: 50%; + translate: -50% 0; + width: 12px; + height: 12px; + background: #0a0a0f; + border-left: 1px solid #2a2a33; + border-top: 1px solid #2a2a33; + rotate: 45deg; +} +``` + +Static for now. If you want the arrow to flip with the tooltip, target a `position-fallback` selector and override the tail position. The pattern is the same as the parent flip. + +## Accessibility: don't skip this + +A tooltip that isn't keyboard-focusable or doesn't announce to screen readers is a worse tooltip than no tooltip. + +- Use `popovertarget` and `popover` so the browser handles open/close + focus management. +- Prefer `aria-describedby="tip"` on the trigger over `aria-label` on the tooltip — describedby announces in context. +- Don't put critical information in tooltips. Mobile users tap-to-open and frequently miss them. + +```html + +
    Saves locally, syncs when online.
    +``` + +## Replacing a real Popper setup + +Old code (typical Popper integration): + +```js +import { createPopper } from '@popperjs/core'; +const popper = createPopper(trigger, tooltip, { + placement: 'bottom', + modifiers: [ + { name: 'flip', options: { fallbackPlacements: ['top', 'right'] } } + ] +}); +trigger.addEventListener('mouseenter', () => (tooltip.dataset.show = 'true')); +trigger.addEventListener('mouseleave', () => delete tooltip.dataset.show); +``` + +11KB minified, plus your event-listener boilerplate, plus a teardown step on unmount. + +New code: zero JavaScript, zero bytes of runtime. The browser handles scroll updates, viewport resizes, ancestor transforms. + +## Browser support (April 2026) + +| Browser | Status | +| ------- | --------------------------------- | +| Chrome | Stable since 125 | +| Edge | Stable since 125 | +| Safari | Behind flag in Technology Preview | +| Firefox | In progress | + +For Safari/Firefox holdouts, ship Floating UI as a progressive-enhancement fallback only when `CSS.supports('anchor-name: --x')` is false. You'll delete the polyfill in 6 months. + +## Try it + +> [Open the anchor-tooltip demo on Web Maker](https://webmaker.app/create/IcayNZlKko) — fork it, retarget it to your own components, ship. + +Next post in this series: [scroll-driven animations](https://webmaker.app/blog/css-only-scroll-progress-bar-2026). diff --git a/packages/website/blog/hello-world.md b/packages/website/blog/hello-world.md new file mode 100644 index 00000000..1a8a0265 --- /dev/null +++ b/packages/website/blog/hello-world.md @@ -0,0 +1,22 @@ +--- +title: 'Introducing the Web Maker Blog' +date: 2026-04-13 +description: 'Welcome to the official Web Maker blog. Follow along for updates, tutorials, and behind-the-scenes looks at building Web Maker.' +--- + +We are excited to launch the official Web Maker blog! This is where we will share updates, tutorials, tips, and behind-the-scenes insights about building and using Web Maker. + +## What to Expect + +Here is what you can look forward to: + +- **Release notes** -- detailed breakdowns of new features and improvements +- **Tutorials** -- step-by-step guides for getting the most out of Web Maker +- **Behind the scenes** -- technical deep dives into how Web Maker is built +- **Community highlights** -- showcasing what developers are building with Web Maker + +## Stay Connected + +Follow us on [X (@webmakerApp)](https://twitter.com/webmakerapp) or join the [Discord server](https://discord.gg/cpYfafCJ5H) to stay in the loop. You can also star the [GitHub repo](https://github.com/chinchang/web-maker) to get notified of new releases. + +We have a lot of exciting things in the pipeline. Stay tuned! diff --git a/packages/website/blog/index.html b/packages/website/blog/index.html new file mode 100644 index 00000000..7d1c1a8f --- /dev/null +++ b/packages/website/blog/index.html @@ -0,0 +1,196 @@ +--- +layout: default.html +title: 'Blog' +tags: [] +eleventyExcludeFromCollections: true +--- + + + +
    +
    +
    +

    + BLOG // {{ collections.blogPosts | size }} +

    +

    Blog

    +
    +
    + dispatches from the editor + $ cat posts.log +
    +
    + + +
    diff --git a/packages/website/blog/javascript-interview-questions-playground.md b/packages/website/blog/javascript-interview-questions-playground.md new file mode 100644 index 00000000..bbf55b5a --- /dev/null +++ b/packages/website/blog/javascript-interview-questions-playground.md @@ -0,0 +1,211 @@ +--- +title: '5 JavaScript interview questions you can practice right now in a playground' +date: 2026-05-07 +description: 'Closures, the event loop, this, prototypes, debounce. Each question with a runnable demo, the expected answer, and the trap interviewers actually look for.' +--- + +Frontend interviews in 2026 don't ask you to define "closure." They ask you to _use_ one — usually under a 25-minute timer, often live-shared. You won't have docs open. You won't have an LLM. You'll have a blank editor and an interviewer waiting. + +The fastest way to internalise these patterns is to write them, break them, and watch the output change. That's exactly what a playground is for. + +This post is a five-question pack. Each question links to a Web Maker creation pre-loaded with the prompt as HTML, the expected output in the console, and an empty JS file ready for your attempt. + +> Pack index: [Web Maker — JS interview pack](https://webmaker.app/create/zLAC0JBHGf?layout=1). + +--- + +## Q1 — Closures: build a counter factory + +> Implement `makeCounter(start)` such that: +> +> ```js +> const c = makeCounter(10); +> c.inc(); // 11 +> c.inc(); // 12 +> c.value(); // 12 +> c.reset(); // 10 +> ``` + +Try it before reading on: [Q1 demo](https://webmaker.app/create/zLAC0JBHGf?layout=1). + +### The answer + +```js +function makeCounter(start) { + let count = start; + return { + inc() { + return ++count; + }, + value() { + return count; + }, + reset() { + return (count = start); + } + }; +} +``` + +### The trap + +If you write `this.count = start` and use `this`, the interviewer will follow up with: "now what happens if I do `const inc = c.inc; inc()`?" and you'll get `NaN`. Closures over locals are immune to `this`-binding loss; that's exactly why they're the right tool here. + +--- + +## Q2 — Event loop: order this output + +> Without running it, predict the console output: +> +> ```js +> console.log('A'); +> setTimeout(() => console.log('B'), 0); +> Promise.resolve().then(() => console.log('C')); +> queueMicrotask(() => console.log('D')); +> console.log('E'); +> ``` + +Try it: [Q2 demo](https://webmaker.app/create/zLAC0JBHGf?layout=1). Run it, _then_ try to explain the order. + +### The answer + +``` +A +E +C +D +B +``` + +### The trap + +People mix up microtasks and tasks. The rule: + +1. The current synchronous block runs to completion (`A`, `E`). +2. The microtask queue drains — `Promise.then` callbacks and `queueMicrotask` callbacks, in FIFO order (`C`, `D`). +3. _Then_ the next macrotask runs — `setTimeout` (`B`). + +If your interviewer asks "what about `requestAnimationFrame`?" — that's a separate queue, processed before paint, after microtasks. Bonus points. + +--- + +## Q3 — `this` binding: fix this code + +> Why does `delay()` log `undefined`, and how do you fix it without changing the call site? +> +> ```js +> const user = { +> name: 'Avery', +> greet() { +> console.log(`Hi, ${this.name}`); +> }, +> delay() { +> setTimeout(this.greet, 100); +> } +> }; +> user.delay(); // Hi, undefined +> ``` + +Try it: [Q3 demo](https://webmaker.app/create/zLAC0JBHGf?layout=1). + +### The answer + +`setTimeout` calls `this.greet` as a plain function — `this` becomes `undefined` (in strict mode) or `globalThis`. Three fixes, ranked from worst to best: + +```js +// 1. .bind() — verbose +delay() { setTimeout(this.greet.bind(this), 100); } + +// 2. Arrow function — preserves outer this +delay() { setTimeout(() => this.greet(), 100); } + +// 3. Pass a method directly through an arrow +delay() { setTimeout(() => this.greet(), 100); } +``` + +Use the arrow. It reads as "do this, in this lexical context." + +### The trap + +If you instinctively reach for `bind`, the interviewer asks the follow-up: "what does `bind` return?" — a new function, every time. In a tight loop, `bind` is the GC-pressure answer. The arrow form is allocation-equivalent but reads better. + +--- + +## Q4 — Prototypal inheritance: extend an array + +> Add a `last()` method to all arrays without using ES6 `class`. Then explain why your fix doesn't break `for...in`. + +Try it: [Q4 demo](https://webmaker.app/create/zLAC0JBHGf?layout=1). + +### The answer + +```js +Object.defineProperty(Array.prototype, 'last', { + value() { + return this[this.length - 1]; + }, + enumerable: false, + writable: true, + configurable: true +}); + +[1, 2, 3].last(); // 3 +``` + +### The trap + +If you write `Array.prototype.last = function() {...}`, the property is _enumerable by default_. That breaks any code doing `for (const k in arr)` — `last` shows up as a key. + +`Object.defineProperty` with `enumerable: false` is the safe form. It's also why you should never extend built-ins in library code unless you _know_ no consumer iterates the prototype. + +--- + +## Q5 — Implement debounce from scratch + +> Write `debounce(fn, ms)` such that the returned function only fires `fn` after `ms` milliseconds have passed without further calls. +> +> ```js +> const log = debounce(console.log, 200); +> log('a'); +> log('b'); +> log('c'); // only 'c' should print, after 200ms +> ``` + +Try it: [Q5 demo](https://webmaker.app/c/wm-js-interview-q5). + +### The answer + +```js +function debounce(fn, ms) { + let timer; + return function (...args) { + clearTimeout(timer); + timer = setTimeout(() => fn.apply(this, args), ms); + }; +} +``` + +### The trap + +Three common follow-ups: + +1. **"Now add a `cancel()` method."** Return an object or attach a property: `debounced.cancel = () => clearTimeout(timer);` +2. **"What if I want the _first_ call to fire immediately?"** That's _leading-edge_ debounce. Track a flag, fire immediately on first call, set a timer to reset the flag. +3. **"Difference between debounce and throttle?"** Debounce: only fires after silence. Throttle: fires at most once per window. Search-as-you-type uses debounce; scroll handlers use throttle. + +--- + +## How to use Web Maker for interview prep + +A few patterns that work for actual practice: + +1. **Don't peek.** Open the question demo, _close this tab_, attempt the solution, then come back to compare. +2. **Time yourself.** Real interviews are timed. 5–8 minutes per question is realistic. +3. **Run the broken version first.** Each demo ships with the bug intact. Watch the output, then fix it. You learn more from a failing program than a passing one. +4. **Fork and add edge cases.** Once your solution passes the prompt, add three calls that should break it. Senior interviews are about edge cases. + +> [Open the JS interview pack on Web Maker](https://webmaker.app/create/zLAC0JBHGf?layout=1) and start with Q1. + +If you're using these for a workshop or mock-interview programme, the [Web Maker Pro](https://webmaker.app/pro) team plan has shared collections — drop the pack into one and your candidates fork from it. + +Tomorrow, the final post: [a CSS-only carousel using `scroll-snap` and `sibling-index()`](https://webmaker.app/blog/css-only-carousel-scroll-snap-sibling-index). diff --git a/packages/website/blog/making-asteroids-with-kontra-js-and-web-maker.md b/packages/website/blog/making-asteroids-with-kontra-js-and-web-maker.md new file mode 100644 index 00000000..9103bdfe --- /dev/null +++ b/packages/website/blog/making-asteroids-with-kontra-js-and-web-maker.md @@ -0,0 +1,431 @@ +--- +title: 'Making Asteroids with Kontra.js and Web Maker' +date: 2018-08-12 +description: 'A step-by-step tutorial on building a simplified Asteroids arcade game using the Kontra.js game library and Web Maker.' +--- + +_This is a guest post by [Steven Lambert](https://twitter.com/StevenKLambert), creator of Kontra.js._ + +Making games for the first time can always be a daunting task. In this tutorial, we'll walk through creating a simplified Asteroids arcade game using [Kontra.js](https://straker.github.io/kontra/) and Web Maker. + +## Use a Library + +We'll leverage the [Kontra.js game library](https://straker.github.io/kontra/), a lightweight library built for the [JS13kGames](https://js13kgames.com/) game jam. Using a library abstracts away complexity like game loop management, allowing us to focus on gameplay mechanics. + +This tutorial covers a simplified version featuring asteroids, a player ship, and bullets -- making it approachable for newcomers. + +## Setting up the Game With Web Maker + +Launch [Web Maker app](https://webmaker.app/app/) and enable **Js13kGames Mode** from settings for the appropriate gamedev environment. + +![Js13kGames Mode setting in Web Maker](/images/blog/asteroids-js13k-setting.png) + +The setup process: + +1. Click **New** and select the **Kontra Game Engine** template +2. Add the latest Kontra.js library via the **Add Library** button +3. Update the HTML canvas to 600x600 pixels +4. Add CSS styling for black background and white border + +**HTML:** + +```html + +``` + +**CSS:** + +```css +body { + background: black; +} +canvas { + border: 1px solid white; +} +``` + +The JavaScript initialization uses destructuring to capture canvas and context: + +```javascript +let { canvas, context } = kontra.init(); +``` + +![Web Maker app with initial code setup](/images/blog/asteroids-setup.png) + +## Creating an Asteroid + +Sprites in Kontra are created using `kontra.Sprite()`, accepting position, velocity, and rendering logic. The asteroid sprite is drawn as a white circle: + +```javascript +let asteroid = kontra.Sprite({ + type: 'asteroid', + x: 100, + y: 100, + dx: Math.random() * 4 - 2, + dy: Math.random() * 4 - 2, + radius: 30, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.arc(0, 0, this.radius, 0, Math.PI * 2); + this.context.stroke(); + } +}); +asteroid.render(); +``` + +Notice that we draw the circle using the coordinates `{0, 0}`. This is because Kontra will automatically move the origin of the canvas to the x and y position of the sprite. + +![A lone asteroid on the canvas](/images/blog/asteroids-single.png) + +## Creating the Game Loop + +A game loop updates and renders sprites each frame. The `kontra.GameLoop()` accepts `update()` and `render()` functions, started with `loop.start()`: + +```javascript +let loop = kontra.GameLoop({ + update() { + asteroid.update(); + }, + render() { + asteroid.render(); + } +}); +loop.start(); +``` + +## Wrapping Around the Screen + +To prevent sprites from disappearing off-screen, the update function checks boundaries and repositions asteroids that exceed edges. Using the asteroid's radius ensures complete off-screen detection: + +```javascript +update() { + asteroid.update(); + + if (asteroid.x < -asteroid.radius) { + asteroid.x = canvas.width + asteroid.radius; + } else if (asteroid.x > canvas.width + asteroid.radius) { + asteroid.x = 0 - asteroid.radius; + } + if (asteroid.y < -asteroid.radius) { + asteroid.y = canvas.height + asteroid.radius; + } else if (asteroid.y > canvas.height + asteroid.radius) { + asteroid.y = -asteroid.radius; + } +} +``` + +## More Asteroids + +Rather than hardcoding individual asteroids, a factory function `createAsteroid()` generates multiple instances with random velocities ranging from -2 to 2: + +```javascript +let { canvas, context } = kontra.init(); +let sprites = []; + +function createAsteroid() { + let asteroid = kontra.Sprite({ + type: 'asteroid', + x: 100, + y: 100, + dx: Math.random() * 4 - 2, + dy: Math.random() * 4 - 2, + radius: 30, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.arc(0, 0, this.radius, 0, Math.PI * 2); + this.context.stroke(); + } + }); + sprites.push(asteroid); +} + +for (let i = 0; i < 4; i++) { + createAsteroid(); +} + +let loop = kontra.GameLoop({ + update() { + sprites.map(sprite => { + sprite.update(); + if (sprite.x < -sprite.radius) { + sprite.x = canvas.width + sprite.radius; + } else if (sprite.x > canvas.width + sprite.radius) { + sprite.x = 0 - sprite.radius; + } + if (sprite.y < -sprite.radius) { + sprite.y = canvas.height + sprite.radius; + } else if (sprite.y > canvas.height + sprite.radius) { + sprite.y = -sprite.radius; + } + }); + }, + render() { + sprites.map(sprite => sprite.render()); + } +}); +loop.start(); +``` + +![Four asteroids moving around the screen](/images/blog/asteroids-four.png) + +## The Player Ship + +The ship is drawn as a white triangle positioned at the canvas center: + +```javascript +let ship = kontra.Sprite({ + x: 300, + y: 300, + radius: 6, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.moveTo(-3, -5); + this.context.lineTo(12, 0); + this.context.lineTo(-3, 5); + this.context.closePath(); + this.context.stroke(); + } +}); +sprites.push(ship); +``` + +![Player ship surrounded by asteroids](/images/blog/asteroids-ship.png) + +## Rotating the Player Ship + +The ship rotates using left/right arrow keys. First, initialize the keyboard with `kontra.initKeys()`, then check key states in the ship's update function. Kontra's `rotation` property handles sprite rotation in radians: + +```javascript +kontra.initKeys(); + +let ship = kontra.Sprite({ + x: 300, + y: 300, + radius: 6, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.moveTo(-3, -5); + this.context.lineTo(12, 0); + this.context.lineTo(-3, 5); + this.context.closePath(); + this.context.stroke(); + }, + update() { + if (kontra.keyPressed('left')) { + this.rotation += kontra.degToRad(-4); + } else if (kontra.keyPressed('right')) { + this.rotation += kontra.degToRad(4); + } + } +}); +``` + +Note: Zero degrees is not up, it's to the right. This is because zero radians starts at the right. + +## Ship Thrust + +Pressing the up arrow moves the ship forward in its facing direction using trigonometry: + +```javascript +update() { + if (kontra.keyPressed('left')) { + this.rotation += kontra.degToRad(-4); + } else if (kontra.keyPressed('right')) { + this.rotation += kontra.degToRad(4); + } + + const cos = Math.cos(this.rotation); + const sin = Math.sin(this.rotation); + + if (kontra.keyPressed('up')) { + this.ddx = cos * 0.05; + this.ddy = sin * 0.05; + } + this.advance(); +} +``` + +## Ship Maximum Speed + +To prevent uncontrolled acceleration, the ship's maximum velocity is capped by checking the velocity vector's magnitude: + +```javascript +update() { + if (kontra.keyPressed('left')) { + this.rotation += kontra.degToRad(-4); + } else if (kontra.keyPressed('right')) { + this.rotation += kontra.degToRad(4); + } + + const cos = Math.cos(this.rotation); + const sin = Math.sin(this.rotation); + + if (kontra.keyPressed('up')) { + this.ddx = cos * 0.05; + this.ddy = sin * 0.05; + } else { + this.ddx = this.ddy = 0; + } + this.advance(); + + if (this.velocity.length() > 5) { + this.dx *= 0.95; + this.dy *= 0.95; + } +} +``` + +## Firing Bullets + +Spacebar fires bullets with a firing rate limit. A `dt` variable tracks elapsed time; bullets only spawn after 0.25 seconds have passed. Bullets have a limited lifespan via the `ttl` property: + +```javascript +let ship = kontra.Sprite({ + x: 300, + y: 300, + radius: 6, + dt: 0, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.moveTo(-3, -5); + this.context.lineTo(12, 0); + this.context.lineTo(-3, 5); + this.context.closePath(); + this.context.stroke(); + }, + update() { + if (kontra.keyPressed('left')) { + this.rotation += kontra.degToRad(-4); + } else if (kontra.keyPressed('right')) { + this.rotation += kontra.degToRad(4); + } + + const cos = Math.cos(this.rotation); + const sin = Math.sin(this.rotation); + + if (kontra.keyPressed('up')) { + this.ddx = cos * 0.05; + this.ddy = sin * 0.05; + } else { + this.ddx = this.ddy = 0; + } + this.advance(); + + if (this.velocity.length() > 5) { + this.dx *= 0.95; + this.dy *= 0.95; + } + + this.dt += 1 / 60; + if (kontra.keyPressed('space') && this.dt > 0.25) { + this.dt = 0; + + let bullet = kontra.Sprite({ + color: 'white', + x: this.x + cos * 12, + y: this.y + sin * 12, + dx: this.dx + cos * 5, + dy: this.dy + sin * 5, + ttl: 50, + radius: 2, + width: 2, + height: 2 + }); + sprites.push(bullet); + } + } +}); + +sprites.push(ship); +``` + +Dead bullets are filtered from the sprites array: + +```javascript +sprites = sprites.filter(sprite => sprite.isAlive()); +``` + +![Ship firing bullets at asteroids](/images/blog/asteroids-firing.gif) + +## Collision Detection + +Circle-to-circle collision checks occur in the game loop. Non-asteroid sprites collide with asteroids; asteroids don't collide with each other: + +```javascript +for (let i = 0; i < sprites.length; i++) { + if (sprites[i].type === 'asteroid') { + for (let j = 0; j < sprites.length; j++) { + if (sprites[j].type !== 'asteroid') { + let asteroid = sprites[i]; + let sprite = sprites[j]; + + let dx = asteroid.x - sprite.x; + let dy = asteroid.y - sprite.y; + + if (Math.hypot(dx, dy) < asteroid.radius + sprite.radius) { + asteroid.ttl = 0; + sprite.ttl = 0; + break; + } + } + } + } +} + +sprites = sprites.filter(sprite => sprite.isAlive()); +``` + +## Splitting the Asteroid + +The `createAsteroid()` function accepts position and radius parameters, enabling creation of smaller asteroids when larger ones are destroyed. Asteroids only split if their radius exceeds 10 pixels: + +```javascript +function createAsteroid(x, y, radius) { + let asteroid = kontra.Sprite({ + type: 'asteroid', + x, + y, + dx: Math.random() * 4 - 2, + dy: Math.random() * 4 - 2, + radius, + render() { + this.context.strokeStyle = 'white'; + this.context.beginPath(); + this.context.arc(0, 0, this.radius, 0, Math.PI * 2); + this.context.stroke(); + } + }); + sprites.push(asteroid); +} + +for (let i = 0; i < 4; i++) { + createAsteroid(100, 100, 30); +} +``` + +In the collision detection, splitting occurs when larger asteroids are hit: + +```javascript +if (Math.hypot(dx, dy) < asteroid.radius + sprite.radius) { + asteroid.ttl = 0; + sprite.ttl = 0; + + if (asteroid.radius > 10) { + for (let i = 0; i < 3; i++) { + createAsteroid(asteroid.x, asteroid.y, asteroid.radius / 2.5); + } + } + break; +} +``` + +## Game Over + +Congratulations, you've just made your first game! From here you could add player lives, wandering UFOs, hyperspace, scoring, or a reset button. + +If you participate in the [Js13kGames](https://js13kgames.com/) jam, share your creations on Twitter via [@StevenKLambert](https://twitter.com/StevenKLambert), [@js13kgames](https://twitter.com/js13kgames), and [@webmakerApp](https://twitter.com/webmakerApp). diff --git a/packages/website/blog/view-transitions-api-tabs-tutorial.md b/packages/website/blog/view-transitions-api-tabs-tutorial.md new file mode 100644 index 00000000..40d019f6 --- /dev/null +++ b/packages/website/blog/view-transitions-api-tabs-tutorial.md @@ -0,0 +1,175 @@ +--- +title: "View Transitions API: animate between states like it's 2026" +date: 2026-04-30 +description: 'Build a tabs component with morphing underline and crossfading panels using the View Transitions API. One JavaScript call, zero animation libraries.' +ogImage: /images/blog/og-view-transition-api.png +--- + +The View Transitions API turns "before-state to after-state" into a one-liner. You wrap a DOM mutation in `document.startViewTransition()` and the browser: + +1. Snapshots the current page. +2. Lets your callback mutate the DOM. +3. Snapshots the new state. +4. Crossfades between them. + +That's the default behaviour. With one extra CSS property — `view-transition-name` — you can make individual elements morph between their old and new positions instead of just fading. This is what "shared element transitions" used to require an entire native-app framework to do. + +> Fork along: [Web Maker — view-transitions tabs](https://webmaker.app/create/WYovxk7vmf?layout=2). + +## The simplest possible transition + +```js +function setActiveTab(name) { + document.startViewTransition(() => { + document + .querySelectorAll('.tab') + .forEach(t => t.classList.toggle('active', t.dataset.tab === name)); + panel.textContent = panels[name]; + }); +} +``` + +That's the whole API surface for in-page transitions. The callback does the mutation; the browser handles the animation. + +If `document.startViewTransition` isn't supported, just call your mutation directly: + +```js +function setActiveTab(name) { + const update = () => { + document + .querySelectorAll('.tab') + .forEach(t => t.classList.toggle('active', t.dataset.tab === name)); + panel.textContent = panels[name]; + }; + document.startViewTransition + ? document.startViewTransition(update) + : update(); +} +``` + +## The morphing underline + +Default crossfades are fine for panel content. For the active-tab indicator, we want the underline to _slide_ from the old tab to the new one. That's where `view-transition-name` earns its keep. + +```html + +``` + +```css +.tab.active::after { + content: ''; + position: absolute; + inset: auto 0 -4px 0; + height: 3px; + background: #ffe300; + view-transition-name: tab-underline; +} +``` + +The key is `view-transition-name: tab-underline`. Only one element on the page can have a given transition name at any moment — and that's the trick. When `setActiveTab('api')` runs, the old `.active::after` disappears and a new `.active::after` appears on a different button. Both share the `tab-underline` name, so the browser treats them as the _same_ element moving from A to B. It animates the position, size, and any style differences automatically. + +## Crossfade timings + +The default duration is 250ms. Tune the curve and length per element: + +```css +::view-transition-old(tab-underline), +::view-transition-new(tab-underline) { + animation-duration: 200ms; + animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); +} + +::view-transition-old(root), +::view-transition-new(root) { + animation-duration: 180ms; +} +``` + +`(root)` is the implicit name for the whole page. `(tab-underline)` is our custom one. + +## Image grid expand/collapse + +The same pattern works for grid-to-detail morphs. + +```html +
    + + + +
    + +``` + +```js +function open(id) { + const tile = document.querySelector(`[data-id="${id}"]`); + document.startViewTransition(() => { + tile.style.viewTransitionName = 'hero-img'; + document.getElementById('hero').src = tile.src; + document.getElementById('hero').style.viewTransitionName = 'hero-img'; + document.querySelector('.lightbox').showModal(); + }); +} +``` + +Apply the same `view-transition-name` to the source thumbnail and the destination image. The browser morphs one into the other — size, position, aspect ratio handled. + +After the transition, clear the names so the next interaction works: + +```js +document.addEventListener('transitionend', () => { + document + .querySelectorAll('[style*="view-transition-name"]') + .forEach(el => (el.style.viewTransitionName = '')); +}); +``` + +## The MPA variant (one line) + +For multi-page navigations within the same origin, opt in once: + +```css +@view-transition { + navigation: auto; +} +``` + +Done. Same-origin link clicks now crossfade between pages. Add `view-transition-name` on shared elements (logos, nav, hero images) and they morph across pages. + +## Reduce motion + +The browser respects `prefers-reduced-motion: reduce` automatically — animations are replaced with an instant swap. You don't need to write anything for the default behaviour. If you _do_ have custom keyframes, gate them: + +```css +@media (prefers-reduced-motion: no-preference) { + ::view-transition-old(tab-underline), + ::view-transition-new(tab-underline) { + animation-duration: 200ms; + } +} +``` + +## Browser support (April 2026) + +| Browser | Status | +| ------- | ---------------------------------------------------- | +| Chrome | Stable for SPA since 111, MPA since 126 | +| Edge | Stable since 111 / 126 | +| Safari | Stable for SPA since 18.2; MPA in Technology Preview | +| Firefox | In progress | + +The SPA API is widely shipped. The MPA variant is the cutting edge — gate its CSS behind `@supports`. + +## Why this changes things + +Before View Transitions, "morphing the active tab indicator" required FLIP, GSAP, Framer Motion, or a custom layout-and-transform dance with `getBoundingClientRect()`. None of those scaled well to MPA navigations. + +The native API is one function call, one CSS property, and works for both SPA mutations _and_ full-page navigations. + +> [Open the View Transitions tabs demo on Web Maker](https://webmaker.app/create/WYovxk7vmf?layout=2). + +Tomorrow: [`@scope` and the end of BEM](https://webmaker.app/blog/css-scope-vs-bem-modules). diff --git a/packages/website/blog/web-maker-3-0-is-here.md b/packages/website/blog/web-maker-3-0-is-here.md new file mode 100644 index 00000000..085daeba --- /dev/null +++ b/packages/website/blog/web-maker-3-0-is-here.md @@ -0,0 +1,51 @@ +--- +title: 'Web Maker 3.0 is here!' +date: 2018-02-13 +description: 'Web Maker 3.0 brings a cross-browser web app, user accounts with cloud sync, a new layout mode, dedicated documentation and more.' +--- + +![Web Maker 3.0](/images/blog/wm3-hero.png) + +After working for months, 164 commits later, I am really excited to bring to you -- Web Maker 3.0! https://webmakerapp.com + +Without much delay, let me take you right inside what exactly is Web Maker 3.0. + +## No more just for Chrome! + +The Web isn't just Chrome and so is not Web Maker, anymore. It is now also available as a web app that runs offline just like the extension! This means that now you can use Web Maker on any modern browser (tested with Chrome and Firefox currently). Firefox users, I heard ya :) + +With the web app, you also have no restriction of loading JavaScript from listed domains -- load any JavaScript you want. + +## User accounts + +The much requested "user accounts" are here. Now maintain your account and store all your creations in the cloud and access them anywhere anytime. + +![Social accounts available for login](/images/blog/wm3-login.png) + +> **Note:** The Chrome extension is still to get updated to 3.0 and get all the above mentioned features. That will happen really soon in coming days. Meanwhile 3.0 is available on the Web App only. + +## A new layout mode + +Do you work on a widescreen monitor with ample width? This new layout mode aligns all the panes and preview vertically to give you enough room and visibility. + +![Vertically aligned panes in new layout mode](/images/blog/wm3-layout.png) + +## Documentation + +To help you get started and guide on every usability aspect of Web Maker, we now have a dedicated documentation page: [https://webmaker.app/docs/](https://webmaker.app/docs/) + +This is still a work in progress and there are many things I need to put in there. But something better than nothing at all :) + +## Lots of code refactor + +This release also involved lots of code refactor to make this more manageable. I am super happy I still don't have to use a JavaScript framework! Yes, Web Maker is all vanilla CSS and JS. Though for code building I bought in Gulp. + +Lots of hard work has went into this release and I am really glad I can finally put this in your hands. + +## My Patreon campaign + +To act as a channel of motivation for me to work on open-source and free side projects like Web Maker, I have [launched a Patreon campaign](https://www.patreon.com/kushagra). Your pledge, no matter how small, will act as an appreciation towards my work and keep me going forward making more such useful projects. + +Hope you like all the updates in 3.0! If you do, share the love. + +I am on twitter [@cssMonk](https://twitter.com/cssMonk) and Web Maker [@webmakerApp](https://twitter.com/webmakerApp). diff --git a/packages/website/blog/web-maker-4-0.md b/packages/website/blog/web-maker-4-0.md new file mode 100644 index 00000000..fcd0feef --- /dev/null +++ b/packages/website/blog/web-maker-4-0.md @@ -0,0 +1,67 @@ +--- +title: 'Web Maker 4.0' +date: 2019-03-18 +description: 'Announcing Web Maker 4.0 — a new home, Files Mode, Command Palette, improved Console, Monaco Editor, Prettier integration and more.' +--- + +It's been a while since Web Maker got a major update. I have been working on the next version for many months now. And this work got a major speed-boost when I finally [decided to quit from my day job](https://twitter.com/cssMonk/status/1044923448487813121) in August last year. Then some of my time was taken away by a [few](https://a11yformanagers.now.sh/) [new](https://sideproject.app/) [products](https://wheretoreport.xyz/) that I launched recently. But now, the time has finally come for the announcement. + +![Web Maker 4.0](/images/blog/wm4-hero.png) + +**I present to you -- Web Maker 4.0**! I made a short video for this launch :) Hope you'll enjoy this, as much as I do! + + + +Here is a quick drill down of what's new. + +## New Home + +Web Maker now lives on [https://webmaker.app](https://webmaker.app). **The old website will continue to run for a month or so, but will eventually start redirecting to the new website.** If you have an online account in Web Maker, you need not worry, just login on the new website and you are set. But if you have some locally saved creations, you should export and import them to the new website. + +## Files Mode + +This is the biggest and most exciting thing I have been working on. You can now work with files just like you do in your local environment! No more working in just 3 separate panes. "Files Mode" is in beta and you can currently only save 2 creations in this mode. + +This was so exciting to develop because to the users it seems like they are creating normal files. But actually, there isn't any file system at all. It's all virtual and it all works offline! + +## Command Palette + +My favourite accessibility enhancer. Common operations in the app can now be done with more speed and just keyboard, thanks to the new Command Palette. This works just like you would have seen in VSCode. _Command/Ctrl+P_ to switch files and _Command/Ctrl+Shift+P_ to take UI actions. + +## Improved Console + +Console inspection becomes more powerful. You can view nested objects, arrays and even DOM Elements! A huge thanks to [Xiaoyi Chen](https://twitter.com/chxy) for his [react-inspector](https://github.com/xyc/react-inspector) project. + +## Monaco Editor + +This one was tough but I somehow managed to get it working. You can choose to use Monaco instead of CodeMirror editor from Settings/Editor. Though, this is still an experimental feature and might contain bugs. Lots of more things to do here. + +## Prettier + +There is now an option to format your code with everybody's favourite [Prettier](https://prettier.io/). + +## Documentation + +I have a new and better system installed for documentation now -- [https://webmaker.app/docs/](https://webmaker.app/docs/). And in the coming days, the documentation will be extensively updated. + +## More awesomeness + +While you resize the preview, the preview dimensions show up for more control. + +Settings screen got a complete makeover and now it's much easier to find what you are looking for. + +The app is now more accessible than ever. There are significant improvements mainly in the area of keyboard navigation. + +## What next? + +### Chrome Extension + +All the above things are not released in the Chrome extension. Next, I'll be working on getting them inside the extension as well. + +There are still few bugs here and there which I need to iron out. Plus, I have lots more ideas that I'll be working on next to make existing features more usable. I also want to work towards making Web Maker completely screen reader accessible. + +Remember, I work alone on Web Maker with the help of [contributions from awesome developers](https://github.com/chinchang/web-maker/graphs/contributors) from all around the world. So if you want to help to make Web Maker better, [Web Maker is open-source](https://github.com/chinchang/web-maker) and you are most welcome :) + +If you face any issue, please [report on Github](https://github.com/chinchang/web-maker/issues) or tweet out to [@webmakerApp](https://twitter.com/webmakerApp). + +Until next release! diff --git a/packages/website/blog/web-maker-is-now-in-preact.md b/packages/website/blog/web-maker-is-now-in-preact.md new file mode 100644 index 00000000..c97d5b61 --- /dev/null +++ b/packages/website/blog/web-maker-is-now-in-preact.md @@ -0,0 +1,35 @@ +--- +title: 'Web Maker is now in Preact' +date: 2018-06-23 +description: 'After 93 commits and 17913 new lines, Web Maker has been completely migrated from plain JavaScript to Preact.' +--- + +Hey all! + +I am back with a big Web Maker release. But this time it isn't about any new functionality or fixes. It's about something that is not visible to any end-user, but affects them equally -- **the codebase**. After [93 commits and adding 17913 new lines](https://github.com/chinchang/web-maker/pull/303), **I have completely migrated the Web Maker code from plain JavaScript to [Preact](https://preactjs.com/)!** + +## Why a framework and why Preact? + +I started coding Web Maker in plain JavaScript, not because I couldn't work with any framework or because I didn't had the time to setup a framework. I consciously chose to write vanilla JavaScript because I wanted to see how far I could go without any external framework. And I am happy that it worked for almost 2 years! [Read more about how I built Web Maker](https://medium.freecodecamp.org/web-maker-how-i-built-a-fast-offline-front-end-playground-9fe3629bc86f) initially. + +But recently I had started feeling that while building features, I was more focusing on writing UI glue code and maintaining it. Now that I have lots & lots of features in mind that I want to build, I don't want any sort of friction in the path to build them, so that I can release them very rapidly to the users. Hence, a framework. + +And choosing Preact is simply because I have worked with Angular, Vue and React. Preact says it works like React in such a small file size! I wanted to try it out. Its a nice feeling to be able to build something so conveniently with a library with such a small footprint :) And the best part of working with JSX is that [Prettier](https://prettier.io/) formats it for me! I am happy I chose it. + +## The Refactor + +In this first phase of refactoring, I have ported everything into Preact components. But there is still some manual DOM manipulations happening inside components which can be removed. And also, lot of components can be further broken down into smaller components. All that in next phases of refactoring. + +I am using simple prop passing and root component store to manage data. I think I can do better with state management without adding any library for that. Let's see. + +For CSS, its the same `style.css` file being included in the HTML. No change there. But I plan to switch most values into CSS variables to allow customisation and theming. + +Contrary to what I estimated before starting the refactor, the total size of code hasn't gone down. Upon a shallow inspection, it seems that the UI code removed with the framework got compromised with the library size + the code (render functions) that Preact generates for the HTML templates. But I will re-evaluate after few more refactoring passes. + +## What next? + +The refactor was so much fun! I realised I like refactoring much more than writing code. Now that it is complete, I am so excited and super-charged to build some really cool features in coming weeks. If you have any feature request or want to ask me anything related to porting a vanilla JS app to Preact (or React, it's similar), [tweet me](https://twitter.com/cssMonk) or put in your comments here. + +- Web Maker is open-source -- [https://github.com/chinchang/web-maker](https://github.com/chinchang/web-maker) +- Report a bug or request feature -- [https://github.com/chinchang/web-maker/issues](https://github.com/chinchang/web-maker/issues) +- Follow on twitter for updates and more -- [https://twitter.com/webmakerapp](https://twitter.com/webmakerapp) diff --git a/packages/website/compare/web-maker-vs-codepen.md b/packages/website/compare/web-maker-vs-codepen.md new file mode 100644 index 00000000..409e3d5c --- /dev/null +++ b/packages/website/compare/web-maker-vs-codepen.md @@ -0,0 +1,205 @@ +--- +title: 'Web Maker vs CodePen: Which Code Playground Is Right for You?' +subtitle: 'A detailed comparison of features, performance, and use cases' +layout: comparison.html +description: 'Compare Web Maker and CodePen side-by-side. Discover which online code editor is best for offline coding, learning, prototyping, and frontend development.' +--- + +## Quick Comparison + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FeatureWeb MakerCodePen
    Offline SupportYes - 100% offlineNo - requires internet
    PriceFreeFree tier + Pro ($12/mo)
    Account RequiredNoNo (but limited features)
    Real-time CollaborationPro onlyPro only
    PrivacyCode stays on deviceCode stored on servers
    SCSS/SASSYesYes
    TypeScriptYesYes
    Pug/JadeYesYes
    File-based ProjectsYesPro only
    Chrome ExtensionYesNo
    Community/DiscoveryLimitedLarge community
    Embed PensNoYes
    + +
    + +## When to Choose Web Maker + +
    +

    Web Maker Wins When You Need:

    +
      +
    • Offline coding - Code on flights, trains, or areas with poor connectivity
    • +
    • Privacy - Your code never leaves your device unless you choose to sync
    • +
    • Speed - Instant loading with no network latency
    • +
    • Affordable collaboration - Real-time collab on Web Maker Pro at $6/month vs CodePen Pro at $12/month
    • +
    • Quick prototyping - Jump straight into coding without signing up
    • +
    • Teaching/Interviews - Works reliably in any environment
    • +
    +
    + +
    + +
    + +## When to Choose CodePen + +
    +

    CodePen Wins When You Need:

    +
      +
    • Community features - Discover inspiring work, get followers, build a portfolio
    • +
    • Embeddable demos - Share interactive code demos in blog posts
    • +
    • Code discovery - Browse thousands of community creations for inspiration
    • +
    • Asset hosting - Upload images and files (Pro feature)
    • +
    • Public portfolio - Showcase your work to potential employers
    • +
    +
    + +
    + +
    + +## Detailed Feature Comparison + +### Offline Capability + +**Web Maker** works entirely offline. Once loaded, you can close your internet connection and continue coding. Your creations are saved locally in your browser. This makes it perfect for: + +- Coding during commutes or travel +- Working in areas with unreliable internet +- Workshops and classrooms with limited bandwidth +- Privacy-conscious developers + +**CodePen** requires an internet connection for all features. While you can write code, saving, previewing external resources, and collaboration all need connectivity. + +### Preprocessor Support + +Both editors support popular preprocessors, but Web Maker includes them built-in without requiring Pro: + +| Preprocessor | Web Maker | CodePen | +| ------------ | --------- | ------- | +| SCSS | Free | Free | +| SASS | Free | Free | +| LESS | Free | Free | +| Stylus | Free | Free | +| Pug/Jade | Free | Free | +| TypeScript | Free | Free | +| CoffeeScript | Free | Free | +| Markdown | Free | Free | + +### Real-time Collaboration + +**Web Maker** includes real-time collaboration on its Pro plan ($6/month). Built on Yjs CRDTs for conflict-free multi-user editing. Share a link and code together instantly — perfect for pair programming, teaching, or technical interviews. + +**CodePen** restricts real-time collaboration (Collab Mode) to Pro subscribers at $12/month. + +Both products gate collab behind a paid plan, but Web Maker Pro is half the price. + +### Privacy & Data + +**Web Maker** stores everything locally in your browser by default. Your code never touches external servers unless you explicitly enable cloud sync. This is ideal for: + +- Working with proprietary or sensitive code +- Companies with strict data policies +- Developers who prefer local-first tools + +**CodePen** stores all pens on their servers. While convenient for access across devices, this means your code is stored externally. + +
    + +
    + +## Performance Comparison + +| Metric | Web Maker | CodePen | +| ---------------- | -------------------- | --------- | +| Initial Load | ~1s (cached) | 2-4s | +| Preview Refresh | Instant | 100-500ms | +| Works Offline | Yes | No | +| Chrome Extension | Yes (instant access) | No | + +Web Maker's local-first architecture means near-instant loading and preview updates. There's no round-trip to a server for compilation or preview rendering. + +
    + +
    +

    The Verdict

    +

    Choose Web Maker if you value offline access, privacy, speed, and affordable collaboration. It's the better choice for learning, prototyping, teaching, and professional development work.

    +

    Choose CodePen if you want to be part of a community, showcase your work publicly, embed demos in blog posts, or discover inspiring creations from other developers.

    +

    The good news? You can use both! Many developers use Web Maker for daily development and prototyping, then export to CodePen when they want to share publicly.

    +
    + +## Frequently Asked Questions + +### Can I import my CodePen projects into Web Maker? + +Yes! Simply copy your HTML, CSS, and JavaScript from CodePen and paste them into Web Maker. Web Maker also supports the same preprocessors, so your SCSS or TypeScript code will work seamlessly. + +### Can I export from Web Maker to CodePen? + +Absolutely. Web Maker has a built-in "Export to CodePen" feature that opens your creation directly in CodePen with one click. + +### Is Web Maker really free? + +Yes, Web Maker is completely free and open source. There's an optional Pro tier for power users who want additional features like unlimited file-based projects and cloud sync, but the core editor is free forever. + +### Which is better for learning web development? + +Web Maker is excellent for beginners because it works offline (no connectivity issues during tutorials), requires no account setup, and provides instant feedback. The simpler interface helps learners focus on code rather than platform features. diff --git a/packages/website/compare/web-maker-vs-codesandbox.md b/packages/website/compare/web-maker-vs-codesandbox.md new file mode 100644 index 00000000..78ddaef5 --- /dev/null +++ b/packages/website/compare/web-maker-vs-codesandbox.md @@ -0,0 +1,192 @@ +--- +title: 'Web Maker vs CodeSandbox: Which Online Editor Is Right for You?' +subtitle: 'Lightweight playground vs full IDE — a detailed comparison' +layout: comparison.html +description: 'Compare Web Maker and CodeSandbox side-by-side. See which is best for offline coding, quick prototyping, frontend playgrounds, and full project development.' +--- + +## Quick Comparison + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FeatureWeb MakerCodeSandbox
    Offline SupportYes - 100% offlineNo - cloud only
    PriceFree (Pro $6/mo optional)Free + Pro ($15/mo+)
    Speed (cold start)~1s5-15s (sandbox boot)
    Account RequiredNoNo, but limited
    PrivacyCode stays on deviceCode on cloud servers
    npm PackagesCDN onlyFull npm install
    Node.js BackendNo (frontend only)Yes
    Multi-file ProjectsYes (Files mode)Yes
    Preprocessors (SCSS, Pug, TS)Built-in, instantVia npm config
    Real-time CollaborationYes (Pro)Yes
    Chrome ExtensionYes (new tab override)No
    VS Code IntegrationNoYes
    + +
    + +## When to Choose Web Maker + +
    +

    Web Maker Wins When You Need:

    +
      +
    • Speed - No sandbox to spin up. Open the tab and code instantly. CodeSandbox can take 5-15 seconds to boot a container.
    • +
    • Offline coding - CodeSandbox is fully cloud-dependent. Web Maker works on flights, in trains, or anywhere with no signal.
    • +
    • Quick prototypes & UI experiments - When you just want to test a CSS animation or a layout idea, Web Maker is dramatically faster.
    • +
    • Privacy - Your code never leaves your device unless you opt in to cloud sync.
    • +
    • Preprocessors without configuration - SCSS, SASS, LESS, Stylus, Pug, TypeScript, and Markdown work instantly with one dropdown click. No tsconfig, no postcss, no build setup.
    • +
    • Teaching, interviews, and workshops - Reliable in any environment, no account required, no cold starts that derail a session.
    • +
    +
    + +
    + +
    + +## When to Choose CodeSandbox + +
    +

    CodeSandbox Wins When You Need:

    +
      +
    • Full Node.js applications - Express APIs, Next.js apps, full-stack projects with a real server.
    • +
    • npm install workflow - Install any package from npm with a real lockfile and node_modules.
    • +
    • Cloud development environments - Long-lived sandboxes that spin up your repo with a real container.
    • +
    • VS Code in the browser - CodeSandbox ships a full Monaco-based VS Code experience with extensions.
    • +
    • Importing GitHub repos - Direct repo-to-sandbox import with full file structure.
    • +
    +
    + +
    + +
    + +## Detailed Feature Comparison + +### Speed & Cold Start + +This is where the two products diverge most. **Web Maker** is a frontend-only editor that runs entirely in your browser — no servers, no containers, no boot time. Open it and type. + +**CodeSandbox** spins up a real cloud container for each sandbox. That gives it more power (npm, Node.js, lockfiles) but adds 5-15 seconds of cold-start time every time you open or fork a sandbox. For quick experiments this friction adds up. + +### Offline Support + +**Web Maker** is offline-first by design. Install it as a Chrome extension or PWA, and it works with no internet connection. All preprocessor compilation happens locally in your browser. + +**CodeSandbox** is fundamentally cloud-based. Without an internet connection, you can't open existing sandboxes, can't run code, can't save changes. + +### Preprocessor Workflow + +**Web Maker** treats preprocessors as a first-class feature. Pick SCSS, SASS, LESS, Stylus, Pug, TypeScript, or Markdown from a dropdown and start typing — compilation is automatic. + +**CodeSandbox** supports preprocessors through standard build tooling (Vite, webpack, etc.). It's more powerful for production projects, but requires actual configuration files and dependencies for what is a one-click choice in Web Maker. + +### npm Packages + +This is **CodeSandbox's advantage**. Web Maker loads libraries via CDN URLs (which works for the vast majority of frontend libraries), but it cannot run a full `npm install` with arbitrary packages. If your project needs a deep dependency tree with native modules, CodeSandbox is the right tool. + +For frontend playgrounds, prototypes, demos, and learning, Web Maker's CDN approach is faster and adequate. + +### Privacy & Data + +**Web Maker** stores creations locally in your browser. Cloud sync is optional and opt-in, controlled by you. + +**CodeSandbox** stores all sandboxes on its servers by default. Public sandboxes are visible to everyone unless you upgrade to Pro for private sandboxes. + +
    + +
    + +## Performance Comparison + +| Metric | Web Maker | CodeSandbox | +| ---------------- | -------------------- | -------------- | +| Initial Load | ~1s (cached) | 5-15s (boot) | +| Preview Refresh | Instant | 200ms-2s | +| Works Offline | Yes | No | +| Chrome Extension | Yes (instant access) | No | +| Memory footprint | Low (browser only) | High (sandbox) | + +For fast-iteration frontend work, Web Maker's local-first approach removes nearly all friction. CodeSandbox's container model is necessary for full-stack work but adds noticeable latency to every interaction. + +
    + +
    +

    The Verdict

    +

    Choose Web Maker for fast frontend prototyping, CSS experiments, learning, teaching, technical interviews, and any time you need to write HTML/CSS/JS quickly without setup. Pair it with preprocessors like SCSS, Pug, or TypeScript with zero configuration.

    +

    Choose CodeSandbox for full applications with npm dependencies, server-side code, or anything that needs a real Node.js environment.

    +

    The two tools are complementary — many developers use Web Maker for quick experiments and CodeSandbox when a project graduates into a real codebase.

    +
    + +## Frequently Asked Questions + +### Can Web Maker replace CodeSandbox for me? + +It depends on your work. If you mostly write frontend snippets, prototypes, CSS experiments, or learning material — yes. If you build full Next.js apps with dozens of npm packages — no, those are CodeSandbox's territory. + +### Can I use React or Vue in Web Maker? + +Yes. Web Maker ships starter templates for React, Vue, Preact, Tailwind CSS, and more. Libraries are loaded via CDN. For most frontend prototyping use cases this is faster than waiting for a sandbox to boot. + +### Does Web Maker support TypeScript? + +Yes. Pick TypeScript from the JS preprocessor dropdown and it compiles in your browser as you type. No tsconfig needed. + +### Is Web Maker open source? + +Yes. Web Maker is free and open source on GitHub. CodeSandbox has open source components but the full product is a commercial cloud service. diff --git a/packages/website/compare/web-maker-vs-jsfiddle.md b/packages/website/compare/web-maker-vs-jsfiddle.md new file mode 100644 index 00000000..46419d69 --- /dev/null +++ b/packages/website/compare/web-maker-vs-jsfiddle.md @@ -0,0 +1,197 @@ +--- +title: 'Web Maker vs JSFiddle: Which Online Code Editor Should You Use?' +subtitle: 'A detailed comparison of features, offline support, preprocessors, and pricing' +layout: comparison.html +description: 'Compare Web Maker and JSFiddle side-by-side. See which online code editor is best for offline coding, preprocessors, collaboration, and frontend prototyping.' +--- + +## Quick Comparison + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FeatureWeb MakerJSFiddle
    Offline SupportYes - 100% offlineNo - requires internet
    PriceFree (Pro $6/mo optional)Free + Pro ($9/mo)
    Account RequiredNoNo
    Real-time CollaborationYes (Pro)Pro only
    PrivacyCode stays on deviceCode stored on servers
    SCSS / SASS / LESS / StylusYes (all four)SCSS, LESS only
    TypeScriptYesYes
    Pug / MarkdownYesNo
    Live PreviewAuto, instantManual "Run" required
    Console Built-inYesLimited
    Chrome ExtensionYes (new tab override)No
    Export to other toolsCodePen, HTML downloadEmbed only
    + +
    + +## When to Choose Web Maker + +
    +

    Web Maker Wins When You Need:

    +
      +
    • Offline coding - JSFiddle requires an internet connection at all times. Web Maker keeps working on flights, in classrooms, and in low-connectivity environments.
    • +
    • More preprocessor coverage - SASS, Stylus, Pug, and Markdown — none of which JSFiddle supports.
    • +
    • Auto-preview - JSFiddle requires you to hit "Run" each time. Web Maker re-renders the moment you stop typing.
    • +
    • Privacy - Your fiddles stay on your device unless you explicitly publish them.
    • +
    • A new-tab playground - The Chrome extension turns every new tab into a code editor.
    • +
    • Long-term local storage - JSFiddle's anonymous fiddles are easy to lose. Web Maker saves everything locally and lets you organize creations into collections.
    • +
    +
    + +
    + +
    + +## When to Choose JSFiddle + +
    +

    JSFiddle Wins When You Need:

    +
      +
    • Sharing one-off bug reproductions - JSFiddle has been the go-to URL for "here's a minimal repro" links on Stack Overflow for over a decade.
    • +
    • External resource loading at scale - JSFiddle's resource panel for arbitrary CDN URLs is a touch more flexible for some workflows.
    • +
    • Brand recognition - If you're sharing with colleagues who already know JSFiddle, the link is instantly familiar.
    • +
    +
    + +
    + +
    + +## Detailed Feature Comparison + +### Offline Capability + +**Web Maker** is built offline-first. Once loaded (or installed as a Chrome extension), you can disconnect entirely and continue building. All saves go to local storage. This is the single biggest difference — JSFiddle simply does not function without a network connection. + +**JSFiddle** requires the internet for everything: loading the editor, saving fiddles, running previews. If your connection drops mid-fiddle, your work can be lost. + +### Preprocessor Support + +| Preprocessor | Web Maker | JSFiddle | +| ------------ | --------- | -------- | +| SCSS | Yes | Yes | +| SASS | Yes | No | +| LESS | Yes | Yes | +| Stylus | Yes | No | +| Pug | Yes | No | +| Markdown | Yes | No | +| TypeScript | Yes | Yes | +| CoffeeScript | Yes | Yes | +| Babel / ES6 | Yes | Yes | + +Web Maker supports a wider range of preprocessors out of the box, including SASS (indented syntax), Stylus, Pug, and Markdown — all four of which JSFiddle does not offer. + +### Live Preview & Console + +**Web Maker** auto-previews as you type with a configurable refresh delay. The built-in console intercepts `console.log`/`error`/`warn` calls from your preview iframe and displays them inline. + +**JSFiddle** uses a manual "Run" workflow — you write code, then click Run to see the output. The console is more limited and lives in a separate panel. + +### Collaboration + +Both offer real-time collaboration on paid tiers. Web Maker's Pro plan starts at **$6/month** vs JSFiddle Pro at **$9/month**, and Web Maker's collab is built on Yjs CRDTs for conflict-free multi-user editing. + +### Workspace Persistence + +**Web Maker** saves every creation locally by default and organizes them into named collections. Optional cloud sync is available for Pro users who want cross-device access. + +**JSFiddle** anonymous fiddles can be saved but are easy to misplace without an account. Logged-in users get a dashboard but everything lives on JSFiddle's servers. + +
    + +
    + +## Performance Comparison + +| Metric | Web Maker | JSFiddle | +| ---------------- | -------------------- | -------- | +| Initial Load | ~1s (cached) | 2-4s | +| Preview Refresh | Instant, auto | Manual | +| Works Offline | Yes | No | +| Chrome Extension | Yes (instant access) | No | + +Web Maker's local-first architecture means there's no round-trip to a server for compilation or preview rendering. JSFiddle has to ship code to its servers and back for every run. + +
    + +
    +

    The Verdict

    +

    Choose Web Maker if you want offline support, broader preprocessor coverage, auto-preview, and a faster local-first workflow. It's especially strong for daily prototyping, learning, and teaching environments.

    +

    Choose JSFiddle if you mainly need a recognizable, share-friendly URL for bug reproductions in a community that already uses it.

    +

    Many developers use Web Maker for daily work and JSFiddle only when sharing minimal reproductions in legacy threads — best of both worlds.

    +
    + +## Frequently Asked Questions + +### Can I import my JSFiddle code into Web Maker? + +Yes — copy your HTML, CSS, and JavaScript from JSFiddle and paste them into the corresponding panes in Web Maker. Preprocessor selections (SCSS, TypeScript, etc.) are one click away. + +### Does Web Maker support external libraries like JSFiddle? + +Yes. Web Maker has a built-in library picker with 40+ popular libraries (jQuery, React, Vue, Three.js, Tailwind, Bootstrap, and more) plus the ability to add any CDN URL. + +### Is Web Maker really free? + +Yes. The core editor — including all preprocessors, live preview, console, and library support — is free forever. Pro ($6/month) adds unlimited public creations, unlimited Files mode projects, cloud asset hosting, and multiplayer collaboration. + +### Which is better for technical interviews? + +Web Maker. It works offline (no connection issues mid-interview), needs no account, and supports preprocessors out of the box. The interviewer just shares a link or screen-shares the local app. diff --git a/packages/website/compare/web-maker-vs-stackblitz.md b/packages/website/compare/web-maker-vs-stackblitz.md new file mode 100644 index 00000000..8bbe445f --- /dev/null +++ b/packages/website/compare/web-maker-vs-stackblitz.md @@ -0,0 +1,201 @@ +--- +title: 'Web Maker vs StackBlitz: Which Online Editor Should You Use?' +subtitle: 'Offline-first playground vs WebContainer-powered IDE — a detailed comparison' +layout: comparison.html +description: 'Compare Web Maker and StackBlitz side-by-side. See which is best for offline coding, fast prototyping, preprocessors, and frontend playgrounds.' +--- + +## Quick Comparison + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FeatureWeb MakerStackBlitz
    Offline SupportYes - 100% offlineNo - cloud only
    PriceFree (Pro $6/mo optional)Free + paid tiers ($9/mo+)
    Speed (cold start)~1s2-8s (WebContainer boot)
    Account RequiredNoNo (but limited)
    PrivacyCode stays on deviceCode stored in cloud
    npm PackagesCDN onlyFull npm via WebContainers
    Node.js in browserNoYes (WebContainers)
    Preprocessors (SCSS, Pug, TS)Built-in dropdownVia build config
    Multi-file ProjectsYes (Files mode)Yes
    Real-time CollaborationYes (Pro)Yes (paid)
    Chrome ExtensionYes (new tab override)No
    Browser supportAll modern browsersChromium-only for full features
    + +
    + +## When to Choose Web Maker + +
    +

    Web Maker Wins When You Need:

    +
      +
    • Offline coding - StackBlitz needs an internet connection to load and run. Web Maker keeps working anywhere — flights, trains, cafes with bad wifi.
    • +
    • Instant preprocessor selection - SCSS, SASS, LESS, Stylus, Pug, TypeScript, Markdown — all one click, no build config needed.
    • +
    • Speed for quick experiments - No WebContainer to boot. Open the tab and type.
    • +
    • Privacy - Your code never touches a remote server unless you explicitly publish or sync.
    • +
    • A new-tab playground - The Chrome extension turns every new tab into a code editor.
    • +
    • Cross-browser compatibility - Web Maker works in any modern browser. StackBlitz's WebContainers are Chromium-optimized.
    • +
    • Teaching, interviews, workshops - Reliable in restricted environments where cloud services may be blocked.
    • +
    +
    + +
    + +
    + +## When to Choose StackBlitz + +
    +

    StackBlitz Wins When You Need:

    +
      +
    • Real Node.js in the browser - WebContainers run actual Node.js, including Express servers, build tools, and CLIs.
    • +
    • Full npm install - Install any package with a real lockfile and dependency tree.
    • +
    • Framework starter kits - StackBlitz has deep integrations with Angular, Next.js, Nuxt, SvelteKit, and Vite project templates.
    • +
    • Importing GitHub repos - Open any GitHub repo as a live, runnable project.
    • +
    • Production-style builds - Run Vite, webpack, and other real build tools in the browser.
    • +
    +
    + +
    + +
    + +## Detailed Feature Comparison + +### Architecture + +This is the fundamental difference. **Web Maker** is a frontend playground that runs HTML, CSS, and JavaScript directly in your browser — the same way a normal web page does. There's no VM, no container, no servers. + +**StackBlitz** uses **WebContainers**, a Node.js runtime compiled to WebAssembly. This is impressive technology that lets you run real npm projects in the browser, but it adds boot time, has Chromium-only constraints, and requires being online to fetch packages. + +For quick frontend experiments, Web Maker's simpler architecture is faster. For full project work that needs Node, StackBlitz's WebContainer model is necessary. + +### Offline Support + +**Web Maker** is offline-first. As a Chrome extension or PWA it works with zero network access. Local-first storage means your work is always available. + +**StackBlitz** requires the internet to load WebContainers, fetch npm packages, and persist projects. Going offline mid-session is a hard stop. + +### Preprocessor Workflow + +**Web Maker** has SCSS, SASS, LESS, Stylus, Pug, TypeScript, CoffeeScript, and Markdown as built-in dropdown options. Compilation happens instantly in the browser as you type. Zero config. + +**StackBlitz** supports preprocessors through the project's actual build pipeline (Vite, etc.). It's more "real" but requires real configuration files and dependencies — overkill for a 50-line CSS experiment. + +### npm Packages + +**StackBlitz** has the clear edge here. WebContainers can run a real `npm install` and resolve a full dependency tree. + +**Web Maker** loads libraries via CDN (jsDelivr, unpkg, or custom URLs) which works for the vast majority of frontend libraries — React, Vue, Three.js, Tailwind, Bootstrap, jQuery, D3, RxJS, Kaboom, p5.js, and more — but cannot run packages with native Node bindings. + +### Browser Compatibility + +**Web Maker** runs in any modern browser — Chrome, Firefox, Safari, Edge. + +**StackBlitz** WebContainers are optimized for Chromium-based browsers. Firefox and Safari users get a degraded experience for many StackBlitz projects. + +### Privacy + +**Web Maker** stores everything locally by default. Cloud sync is opt-in, controlled per-creation. + +**StackBlitz** stores projects on its servers. Public projects are visible to anyone with the link. + +
    + +
    + +## Performance Comparison + +| Metric | Web Maker | StackBlitz | +| ---------------- | -------------------- | ------------- | +| Initial Load | ~1s (cached) | 2-8s (boot) | +| Preview Refresh | Instant | Variable | +| Works Offline | Yes | No | +| Chrome Extension | Yes (instant access) | No | +| Cross-browser | Full support | Chromium-best | + +For tight iteration loops on frontend code, Web Maker's instant-load model removes friction. StackBlitz's WebContainer boot is fast for what it does, but it's not free. + +
    + +
    +

    The Verdict

    +

    Choose Web Maker for fast frontend prototyping, CSS experiments, preprocessor playgrounds, learning, teaching, and any work that benefits from offline support. It's the lowest-friction way to write HTML/CSS/JS on the web.

    +

    Choose StackBlitz when you need real Node.js, npm packages, framework starters, or to import full GitHub repos as runnable projects.

    +

    The two are complementary. Use Web Maker for daily experiments and StackBlitz when you need a full project environment.

    +
    + +## Frequently Asked Questions + +### Can I use frameworks like React or Vue in Web Maker? + +Yes. Web Maker has built-in starter templates for React, Vue, Preact, and Tailwind CSS. Libraries load via CDN, which is fast and works for most frontend prototyping. + +### Does Web Maker support TypeScript like StackBlitz? + +Yes. Pick TypeScript from the JS preprocessor dropdown and it compiles in your browser as you type — no tsconfig file needed. + +### When should I switch from Web Maker to StackBlitz? + +When your prototype outgrows a single-file playground and needs real npm dependencies, server-side code, or integration with a build tool like Vite. For everything before that point, Web Maker is faster. + +### Is Web Maker open source? + +Yes. Web Maker is free and open source on GitHub. StackBlitz has open source pieces but the WebContainer technology and the full product are commercial. diff --git a/packages/website/docs/external-libraries.md b/packages/website/docs/external-libraries.md index 0ce9b884..fa910c5d 100644 --- a/packages/website/docs/external-libraries.md +++ b/packages/website/docs/external-libraries.md @@ -2,4 +2,49 @@ title: 'Using external libraries' --- -Coming soon... +Web Maker lets you include external JavaScript and CSS libraries in your creations. Click the **Add Library** button in the header to open the library manager. + +## Adding a library + +There are three ways to add an external library: + +### 1. Search on CDNJS + +Type a library name in the search bar at the top of the Add Library panel. Web Maker searches the CDNJS database and shows up to 10 suggestions. Select a library to automatically add its URL. + +### 2. Choose from popular libraries + +Use the **"Choose from popular libraries"** dropdown to quickly add commonly used libraries like jQuery, Bootstrap, React, Vue, D3, Three.js, Tailwind CSS, p5.js, Animate.css, and more. + +### 3. Paste a CDN URL + +You can directly paste any CDN URL into the **JS** or **CSS** text areas. Put each library URL on a new line. + +For example: + +``` +https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js +https://cdn.jsdelivr.net/npm/lodash/lodash.min.js +``` + +## How it works + +- CSS library URLs are injected as `` tags in the `` of your preview. +- JS library URLs are injected as ` + diff --git a/preview/preview.html b/preview/preview.html new file mode 100644 index 00000000..7e1cb279 --- /dev/null +++ b/preview/preview.html @@ -0,0 +1,22 @@ + + + + + + + diff --git a/preview/service-worker.js b/preview/service-worker.js index 57ae9609..7df5b290 100644 --- a/preview/service-worker.js +++ b/preview/service-worker.js @@ -5,10 +5,10 @@ self.addEventListener('activate', event => { console.log('Now ready to handle fetches!'); }); -self.addEventListener('fetch', function(event) { +self.addEventListener('fetch', function (event) { // console.log('fetch event', event.request.url, event.request); event.respondWith( - caches.open(CACHE_NAME).then(function(cache) { + caches.open(CACHE_NAME).then(function (cache) { return cache .match(event.request) .then(response => { @@ -18,7 +18,7 @@ self.addEventListener('fetch', function(event) { } return fetch(event.request); }) - .catch(function(e) { + .catch(function (e) { // Fall back to just fetch()ing the request if some unexpected error // prevented the cached response from being valid. console.warn( @@ -42,22 +42,29 @@ function getContentType(url) { return 'application/javascript; charset=UTF-8'; } else if (url.match(/\.json$/)) { return 'application/json; charset=UTF-8'; + } else if (url.match(/\.png$/)) { + return 'image/png'; + } else if (url.match(/\.jpe?g$/)) { + return 'image/jpeg'; + } else if (url.match(/\.gif$/)) { + return 'image/gif'; + } else if (url.match(/\.svg$/)) { + return 'image/svg+xml'; + } else if (url.match(/\.webp$/)) { + return 'image/webp'; } return 'text/html; charset=UTF-8'; } -self.addEventListener('message', function(e) { +self.addEventListener('message', function (e) { // console.log('message aya sw main', e.data); - caches.open(CACHE_NAME).then(function(cache) { + caches.open(CACHE_NAME).then(function (cache) { for (const url in e.data) { if (Object.prototype.hasOwnProperty.call(e.data, url)) { - // console.log('Received data', url, e.data[url]) cache.put( url, new Response(e.data[url], { - headers: { - 'Content-Type': getContentType(url) - } + headers: { 'Content-Type': getContentType(url) } }) ); } diff --git a/preview/talk.html b/preview/talk.html index 3a0c5392..b4f70078 100644 --- a/preview/talk.html +++ b/preview/talk.html @@ -1,9 +1,5 @@ -Hello - - diff --git a/scripts/atomizer.mjs b/scripts/atomizer.mjs new file mode 100644 index 00000000..c89ae016 --- /dev/null +++ b/scripts/atomizer.mjs @@ -0,0 +1,2 @@ +import Atomizer from 'atomizer'; +window.atomizer = new Atomizer(); diff --git a/scripts/generate-atomizer-web.sh b/scripts/generate-atomizer-web.sh index 83d3cd64..afb8aec2 100755 --- a/scripts/generate-atomizer-web.sh +++ b/scripts/generate-atomizer-web.sh @@ -1,8 +1,6 @@ -npm install atomizer -touch atomizer.js -echo "require('atomizer');" > atomizer.js -webpack --output-library Atomizer --output-library-target umd atomizer atomizer-web.js -uglifyjs atomizer-web.js --compress > atomizer-web.min.js -echo 'window.atomizer = new Atomizer();' >> atomizer-web.min.js -mv atomizer-web.min.js src/lib/atomizer.browser.js -rm atomizer-web.js atomizer.js +# needs node >= 20 +npm install atomizer +npm i -g parcel +parcel build scripts/atomizer.mjs --no-source-maps +mv dist/atomizer.js src/lib/transpilers/atomizer.browser.js +rm -rf dist diff --git a/scripts/translate-po.js b/scripts/translate-po.js new file mode 100644 index 00000000..abbec1b3 --- /dev/null +++ b/scripts/translate-po.js @@ -0,0 +1,342 @@ +/** + * Translates Lingui .po message catalogs using GPT-4o. + * + * Usage: + * OPENAI_API_KEY=sk-... node scripts/translate-po.js + * + * Reads src/locales//messages.po for each target locale, + * finds untranslated entries (empty msgstr), translates them in + * batches via OpenAI, and writes the results back. + */ + +const fs = require('fs'); +const path = require('path'); + +const OPENAI_API_KEY = process.env.OPENAI_API_KEY || ''; +if (!OPENAI_API_KEY) { + console.error('Error: OPENAI_API_KEY environment variable is required.'); + process.exit(1); +} + +const LOCALES_DIR = path.resolve(__dirname, '../src/locales'); +const SOURCE_LOCALE = 'en'; +const BATCH_SIZE = 30; +const CONCURRENCY = 4; + +const LOCALE_NAMES = { + ja: 'Japanese', + hi: 'Hindi', + sa: 'Sanskrit', + nl: 'Dutch', + es: 'Spanish', + 'zh-Hans': 'Chinese (Simplified)', + de: 'German', + fr: 'French' +}; + +// --------------------------------------------------------------------------- +// .po parsing / serialisation +// --------------------------------------------------------------------------- + +/** + * Parses a .po file into an array of entry objects. + * Each entry has: { comments, msgid, msgstr, obsolete } + * The header entry has msgid = "". + */ +function parsePo(content) { + const entries = []; + const lines = content.split('\n'); + let pendingComments = []; + let current = null; + let lastField = null; + + const finishEntry = () => { + if (current) { + entries.push(current); + current = null; + lastField = null; + } + }; + + for (const line of lines) { + // Obsolete entries: #~ msgid / #~ msgstr + if (line.startsWith('#~')) { + // Check if it's an obsolete msgid/msgstr line + const obsIdMatch = line.match(/^#~\s+msgid\s+"(.*)"$/); + if (obsIdMatch) { + finishEntry(); + current = { + comments: pendingComments, + msgid: unescape(obsIdMatch[1]), + msgstr: '', + obsolete: true + }; + pendingComments = []; + lastField = 'msgid'; + continue; + } + const obsStrMatch = line.match(/^#~\s+msgstr\s+"(.*)"$/); + if (obsStrMatch) { + if (current) current.msgstr = unescape(obsStrMatch[1]); + lastField = 'msgstr'; + continue; + } + // Otherwise it's just an obsolete comment + pendingComments.push(line); + continue; + } + + // Regular comment lines (#, #:, #., #,) + if (/^#/.test(line)) { + pendingComments.push(line); + continue; + } + + // msgid + const idMatch = line.match(/^msgid\s+"(.*)"$/); + if (idMatch) { + finishEntry(); + current = { + comments: pendingComments, + msgid: unescape(idMatch[1]), + msgstr: '', + obsolete: false + }; + pendingComments = []; + lastField = 'msgid'; + continue; + } + + // msgstr + const strMatch = line.match(/^msgstr\s+"(.*)"$/); + if (strMatch) { + if (current) current.msgstr = unescape(strMatch[1]); + lastField = 'msgstr'; + continue; + } + + // Continuation line (multi-line string) + const contMatch = line.match(/^"(.*)"$/); + if (contMatch && current && lastField) { + current[lastField] += unescape(contMatch[1]); + continue; + } + + // Empty line + if (line.trim() === '') { + finishEntry(); + continue; + } + } + + finishEntry(); + return entries; +} + +function unescape(str) { + return str + .replace(/\\n/g, '\n') + .replace(/\\t/g, '\t') + .replace(/\\"/g, '"') + .replace(/\\\\/g, '\\'); +} + +function escape(str) { + return str + .replace(/\\/g, '\\\\') + .replace(/"/g, '\\"') + .replace(/\t/g, '\\t') + .replace(/\n/g, '\\n'); +} + +/** + * Serialises an array of entry objects back into .po format. + */ +function serialisePo(entries) { + const parts = []; + + for (const entry of entries) { + const lines = []; + + if (entry.comments && entry.comments.length) { + lines.push(...entry.comments); + } + + if (entry.obsolete) { + lines.push(`#~ msgid "${escape(entry.msgid)}"`); + lines.push(`#~ msgstr "${escape(entry.msgstr)}"`); + } else { + lines.push(`msgid "${escape(entry.msgid)}"`); + lines.push(`msgstr "${escape(entry.msgstr)}"`); + } + + parts.push(lines.join('\n')); + } + + return parts.join('\n\n') + '\n'; +} + +// --------------------------------------------------------------------------- +// OpenAI helpers +// --------------------------------------------------------------------------- + +async function callGPT4o(messages) { + const res = await fetch('https://api.openai.com/v1/chat/completions', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${OPENAI_API_KEY}` + }, + body: JSON.stringify({ + model: 'gpt-4o-mini', + temperature: 0.3, + response_format: { type: 'json_object' }, + messages + }) + }); + + if (!res.ok) { + const text = await res.text(); + throw new Error(`OpenAI API error ${res.status}: ${text}`); + } + + const data = await res.json(); + return JSON.parse(data.choices[0].message.content); +} + +function chunk(arr, size) { + const chunks = []; + for (let i = 0; i < arr.length; i += size) { + chunks.push(arr.slice(i, i + size)); + } + return chunks; +} + +async function translateBatch(entries, targetLang) { + // Build { msgid: msgid } map for the batch + const batchObj = {}; + for (const entry of entries) { + batchObj[entry.msgid] = entry.msgid; + } + + const messages = [ + { + role: 'system', + content: `You are a professional translator. Translate the JSON values from English to ${targetLang}. + +Rules: +- Return a JSON object with the EXACT same keys +- Only translate the values, never the keys +- Preserve all placeholders like {0}, {variableName}, <0>..., <1>... etc. exactly as-is +- Preserve HTML entities and special characters +- Keep brand names like "Web Maker", "CSS", "HTML", "JavaScript", "Pug", "SCSS", "SASS", "LESS", "TypeScript", "CoffeeScript", "Markdown", "CodeMirror", "Monaco", "Patreon", "Paypal", "Github", "Google" untranslated +- Maintain the same tone (casual, friendly) +- Do NOT add any extra keys or explanation` + }, + { + role: 'user', + content: JSON.stringify(batchObj) + } + ]; + + return callGPT4o(messages); +} + +async function runWithConcurrency(tasks, concurrency) { + const results = []; + for (let i = 0; i < tasks.length; i += concurrency) { + const batch = tasks.slice(i, i + concurrency); + const batchResults = await Promise.all(batch.map(fn => fn())); + results.push(...batchResults); + } + return results; +} + +// --------------------------------------------------------------------------- +// Main +// --------------------------------------------------------------------------- + +async function translateLocale(locale) { + const langName = LOCALE_NAMES[locale]; + if (!langName) { + console.log(` Skipping unknown locale: ${locale}`); + return; + } + + const poFile = path.join(LOCALES_DIR, locale, 'messages.po'); + if (!fs.existsSync(poFile)) { + console.log(` Skipping ${locale}: messages.po not found`); + return; + } + + const content = fs.readFileSync(poFile, 'utf-8'); + const entries = parsePo(content); + + // Find untranslated, non-obsolete, non-header entries + const untranslated = entries.filter( + e => !e.obsolete && e.msgid !== '' && e.msgstr === '' + ); + + if (untranslated.length === 0) { + console.log(` ${locale} (${langName}): already fully translated`); + return; + } + + console.log( + ` ${locale} (${langName}): translating ${untranslated.length} messages...` + ); + + const batches = chunk(untranslated, BATCH_SIZE); + const tasks = batches.map( + (batch, i) => () => + translateBatch(batch, langName).then(result => { + console.log( + ` ${locale}: batch ${i + 1}/${batches.length} done (${ + Object.keys(result).length + } messages)` + ); + return result; + }) + ); + + const results = await runWithConcurrency(tasks, CONCURRENCY); + + // Merge translations back into entries + const translationMap = {}; + for (const result of results) { + Object.assign(translationMap, result); + } + + let translated = 0; + for (const entry of entries) { + if (translationMap[entry.msgid] && entry.msgstr === '') { + entry.msgstr = translationMap[entry.msgid]; + translated++; + } + } + + fs.writeFileSync(poFile, serialisePo(entries)); + console.log(` ${locale} (${langName}): translated ${translated} messages`); +} + +async function main() { + const targetLocales = fs + .readdirSync(LOCALES_DIR) + .filter( + d => + d !== SOURCE_LOCALE && + d !== '_build' && + fs.statSync(path.join(LOCALES_DIR, d)).isDirectory() + ); + + console.log(`Targets: ${targetLocales.join(', ')}\n`); + + await Promise.all(targetLocales.map(locale => translateLocale(locale))); + + console.log('\nDone! Now run `npm run compile` to compile the catalogs.'); +} + +main().catch(err => { + console.error(err); + process.exit(1); +}); diff --git a/src/CodeMirror.js b/src/CodeMirror.js index df244d1c..a4b0ac0e 100644 --- a/src/CodeMirror.js +++ b/src/CodeMirror.js @@ -3,58 +3,59 @@ import CodeMirror from 'codemirror'; // Make CodeMirror available globally so the modes' can register themselves. -window.CodeMirror = CodeMirror +window.CodeMirror = CodeMirror; -if (!CodeMirror.modeURL) CodeMirror.modeURL = 'lib/codemirror/mode/%N/%N.js'; +if (!CodeMirror.modeURL) CodeMirror.modeURL = './lib/codemirror/mode/%N/%N.js'; -var loading = {} +var loading = {}; function splitCallback(cont, n) { - var countDown = n + var countDown = n; return function () { - if (--countDown === 0) cont() - } + if (--countDown === 0) cont(); + }; } function ensureDeps(mode, cont) { - var deps = CodeMirror.modes[mode].dependencies - if (!deps) return cont() - var missing = [] + var deps = CodeMirror.modes[mode].dependencies; + if (!deps) return cont(); + var missing = []; for (var i = 0; i < deps.length; ++i) { - if (!CodeMirror.modes.hasOwnProperty(deps[i])) missing.push(deps[i]) + if (!CodeMirror.modes.hasOwnProperty(deps[i])) missing.push(deps[i]); } - if (!missing.length) return cont() - var split = splitCallback(cont, missing.length) - for (i = 0; i < missing.length; ++i) CodeMirror.requireMode(missing[i], split) + if (!missing.length) return cont(); + var split = splitCallback(cont, missing.length); + for (i = 0; i < missing.length; ++i) + CodeMirror.requireMode(missing[i], split); } CodeMirror.requireMode = function (mode, cont) { - if (typeof mode !== 'string') mode = mode.name - if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont) - if (loading.hasOwnProperty(mode)) return loading[mode].push(cont) + if (typeof mode !== 'string') mode = mode.name; + if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont); + if (loading.hasOwnProperty(mode)) return loading[mode].push(cont); - var file = CodeMirror.modeURL.replace(/%N/g, mode) + var file = CodeMirror.modeURL.replace(/%N/g, mode); - var script = document.createElement('script') - script.src = file - var others = document.getElementsByTagName('script')[0] - var list = loading[mode] = [cont] + var script = document.createElement('script'); + script.src = file; + var others = document.getElementsByTagName('script')[0]; + var list = (loading[mode] = [cont]); CodeMirror.on(script, 'load', function () { ensureDeps(mode, function () { - for (var i = 0; i < list.length; ++i) list[i]() - }) - }) + for (var i = 0; i < list.length; ++i) list[i](); + }); + }); - others.parentNode.insertBefore(script, others) -} + others.parentNode.insertBefore(script, others); +}; CodeMirror.autoLoadMode = function (instance, mode) { - if (CodeMirror.modes.hasOwnProperty(mode)) return + if (CodeMirror.modes.hasOwnProperty(mode)) return; CodeMirror.requireMode(mode, function () { - instance.setOption('mode', instance.getOption('mode')) - }) -} + instance.setOption('mode', instance.getOption('mode')); + }); +}; -export default CodeMirror +export default CodeMirror; diff --git a/src/analytics.js b/src/analytics.js index 9b2fccb1..0966ee4a 100644 --- a/src/analytics.js +++ b/src/analytics.js @@ -10,6 +10,12 @@ export function trackEvent(category, action, label, value) { } if (window.ga) { ga('send', 'event', category, action, label, value); + + fetch('https://event-ajhkrtmkaq-uc.a.run.app', { + method: 'post', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ category, action, label, value }) + }); } } diff --git a/src/assets/kaboom-logo.png b/src/assets/kaboom-logo.png new file mode 100644 index 00000000..4384ab74 Binary files /dev/null and b/src/assets/kaboom-logo.png differ diff --git a/src/assets/logo-new.png b/src/assets/logo-new.png new file mode 100644 index 00000000..0b873673 Binary files /dev/null and b/src/assets/logo-new.png differ diff --git a/src/assets/pro-panda-flying.png b/src/assets/pro-panda-flying.png new file mode 100644 index 00000000..e8c332b7 Binary files /dev/null and b/src/assets/pro-panda-flying.png differ diff --git a/src/assets/pro-panda.png b/src/assets/pro-panda.png new file mode 100644 index 00000000..65807956 Binary files /dev/null and b/src/assets/pro-panda.png differ diff --git a/src/assets/tailwind-logo.svg b/src/assets/tailwind-logo.svg new file mode 100644 index 00000000..60b405f1 --- /dev/null +++ b/src/assets/tailwind-logo.svg @@ -0,0 +1,16 @@ + + + +Created with Fabric.js 5.2.4 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/auth.js b/src/auth.js index 0729e65c..804f9532 100644 --- a/src/auth.js +++ b/src/auth.js @@ -1,35 +1,80 @@ import { trackEvent } from './analytics'; -import firebase from 'firebase/app'; +import { auth } from './firebaseInit'; import { log } from './utils'; +import { + GithubAuthProvider as ExtensionGithubAuthProvider, + GoogleAuthProvider as ExtensionGoogleAuthProvider, + signOut, + signInWithCredential +} from 'firebase/auth/web-extension'; +import { + signInWithPopup, + linkWithPopup, + reauthenticateWithPopup, + GithubAuthProvider, + GoogleAuthProvider +} from 'firebase/auth'; -export const auth = { +export const authh = { logout() { - firebase.auth().signOut(); + signOut(auth); }, - login(providerName) { + async login(providerName) { + const onSuccess = () => { + trackEvent( + 'fn', + 'loggedIn', + providerName, + window.IS_EXTENSION ? 'extension' : 'web' + ); + + // Save to recommend next time + window.db.local.set({ + lastAuthProvider: providerName + }); + }; + + if (window.IS_EXTENSION) { + const result = await chrome.runtime.sendMessage({ + type: 'firebase-auth', + providerName + }); + + if ( + result.name === 'FirebaseError' && + result.code === 'auth/account-exists-with-different-credential' + ) { + alert( + 'You have already signed up with the same email using different social login' + ); + return; + } + + let credential; + switch (providerName) { + case 'google': + credential = ExtensionGoogleAuthProvider.credentialFromResult(result); + break; + case 'github': + credential = ExtensionGithubAuthProvider.credentialFromResult(result); + break; + } + + // authenticationObject is of the type UserCredentialImpl. Use it to authenticate here + return signInWithCredential(auth, credential).then(onSuccess); + } + var provider; - if (providerName === 'facebook') { - provider = new firebase.auth.FacebookAuthProvider(); - } else if (providerName === 'twitter') { - provider = new firebase.auth.TwitterAuthProvider(); - } else if (providerName === 'google') { - provider = new firebase.auth.GoogleAuthProvider(); + if (providerName === 'google') { + provider = new GoogleAuthProvider(); provider.addScope('https://www.googleapis.com/auth/userinfo.profile'); } else { - provider = new firebase.auth.GithubAuthProvider(); + provider = new GithubAuthProvider(); } - return firebase - .auth() - .signInWithPopup(provider) - .then(function() { - trackEvent('fn', 'loggedIn', providerName); - // Save to recommend next time - window.db.local.set({ - lastAuthProvider: providerName - }); - }) - .catch(function(error) { + return signInWithPopup(auth, provider) + .then(onSuccess) + .catch(function (error) { log(error); if (error.code === 'auth/account-exists-with-different-credential') { alert( @@ -39,3 +84,68 @@ export const auth = { }); } }; + +/** + * Triggers a GitHub OAuth popup with the `gist` scope and returns the access + * token. Does NOT persist it — callers are expected to store it themselves. + * + * Behavior depends on current Firebase auth state: + * - Signed out: signInWithPopup (also signs the user in via GitHub). + * - Signed in via Google: linkWithPopup so the Firebase session is preserved. + * - Signed in via GitHub: reauthenticateWithPopup with the extra scope. + * + * Not supported in the extension build — returns NOT_SUPPORTED_ON_EXTENSION + * because the offscreen/iframe auth path doesn't propagate scope changes. + */ +export async function connectGithubForGist() { + if (window.IS_EXTENSION) { + const err = new Error( + 'Gist export is only available on the web version of Web-Maker.' + ); + err.code = 'NOT_SUPPORTED_ON_EXTENSION'; + throw err; + } + + const provider = new GithubAuthProvider(); + provider.addScope('gist'); + + const current = auth.currentUser; + const hasGithubProvider = + !!current && current.providerData.some(p => p.providerId === 'github.com'); + + let result; + try { + if (current && hasGithubProvider) { + result = await reauthenticateWithPopup(current, provider); + } else if (current) { + result = await linkWithPopup(current, provider); + } else { + result = await signInWithPopup(auth, provider); + } + } catch (error) { + log(error); + if (error.code === 'auth/credential-already-in-use') { + const e = new Error( + 'This GitHub account is registered with a different Web-Maker account. Sign out and sign back in with GitHub to export.' + ); + e.code = 'CREDENTIAL_IN_USE'; + throw e; + } + if (error.code === 'auth/popup-closed-by-user') { + const e = new Error('GitHub connection cancelled.'); + e.code = 'POPUP_CLOSED'; + throw e; + } + throw error; + } + + const credential = GithubAuthProvider.credentialFromResult(result); + const accessToken = credential && credential.accessToken; + if (!accessToken) { + const e = new Error('Could not retrieve GitHub access token.'); + e.code = 'NO_TOKEN'; + throw e; + } + trackEvent('fn', 'gistConnectSuccess'); + return accessToken; +} diff --git a/src/collectionService.js b/src/collectionService.js new file mode 100644 index 00000000..d7705663 --- /dev/null +++ b/src/collectionService.js @@ -0,0 +1,153 @@ +import { deferred } from './deferred'; +import { log } from './utils'; +import { + doc, + updateDoc, + deleteField, + arrayUnion, + arrayRemove +} from 'firebase/firestore'; + +export const collectionService = { + async getAllCollections() { + if (window.user) { + // Collections are stored as a field on the user document + return window.user.collections || {}; + } + const d = deferred(); + db.local.get({ collections: {} }, result => { + d.resolve(result.collections || {}); + }); + return d.promise; + }, + + async setCollection(collectionId, collection) { + if (!window.user) { + const d = deferred(); + db.local.get({ collections: {} }, result => { + result.collections[collectionId] = collection; + db.local.set({ collections: result.collections }, d.resolve); + }); + return d.promise; + } + const remoteDb = window.db.getDb(); + return updateDoc(doc(remoteDb, `users/${window.user.uid}`), { + [`collections.${collectionId}`]: collection + }).then(() => { + window.user.collections = window.user.collections || {}; + window.user.collections[collectionId] = collection; + log(`Collection ${collectionId} saved`); + }); + }, + + async removeCollection(collectionId) { + if (!window.user) { + const d = deferred(); + db.local.get({ collections: {} }, result => { + delete result.collections[collectionId]; + db.local.set({ collections: result.collections }, d.resolve); + }); + return d.promise; + } + const remoteDb = window.db.getDb(); + return updateDoc(doc(remoteDb, `users/${window.user.uid}`), { + [`collections.${collectionId}`]: deleteField() + }).then(() => { + delete window.user.collections[collectionId]; + log(`Collection ${collectionId} removed`); + }); + }, + + async addItemToCollection(collectionId, itemId) { + if (!window.user) { + const d = deferred(); + db.local.get({ collections: {} }, result => { + if (result.collections[collectionId]) { + result.collections[collectionId].items = + result.collections[collectionId].items || []; + if (!result.collections[collectionId].items.includes(itemId)) { + result.collections[collectionId].items.push(itemId); + } + } + db.local.set({ collections: result.collections }, d.resolve); + }); + return d.promise; + } + const remoteDb = window.db.getDb(); + return updateDoc(doc(remoteDb, `users/${window.user.uid}`), { + [`collections.${collectionId}.items`]: arrayUnion(itemId) + }).then(() => { + const col = window.user.collections[collectionId]; + col.items = col.items || []; + if (!col.items.includes(itemId)) { + col.items.push(itemId); + } + log(`Item ${itemId} added to collection ${collectionId}`); + }); + }, + + async removeItemFromCollection(collectionId, itemId) { + if (!window.user) { + const d = deferred(); + db.local.get({ collections: {} }, result => { + if ( + result.collections[collectionId] && + Array.isArray(result.collections[collectionId].items) + ) { + result.collections[collectionId].items = result.collections[ + collectionId + ].items.filter(id => id !== itemId); + } + db.local.set({ collections: result.collections }, d.resolve); + }); + return d.promise; + } + const remoteDb = window.db.getDb(); + return updateDoc(doc(remoteDb, `users/${window.user.uid}`), { + [`collections.${collectionId}.items`]: arrayRemove(itemId) + }).then(() => { + const col = window.user.collections[collectionId]; + if (Array.isArray(col.items)) { + col.items = col.items.filter(id => id !== itemId); + } + log(`Item ${itemId} removed from collection ${collectionId}`); + }); + }, + + async removeItemFromAllCollections(itemId) { + if (!window.user) { + const d = deferred(); + db.local.get({ collections: {} }, result => { + Object.keys(result.collections).forEach(cId => { + if (Array.isArray(result.collections[cId].items)) { + result.collections[cId].items = result.collections[ + cId + ].items.filter(id => id !== itemId); + } + }); + db.local.set({ collections: result.collections }, d.resolve); + }); + return d.promise; + } + const remoteDb = window.db.getDb(); + const updates = {}; + const collections = window.user.collections || {}; + Object.keys(collections).forEach(cId => { + if ( + Array.isArray(collections[cId].items) && + collections[cId].items.includes(itemId) + ) { + updates[`collections.${cId}.items`] = arrayRemove(itemId); + collections[cId].items = collections[cId].items.filter( + id => id !== itemId + ); + } + }); + if (Object.keys(updates).length === 0) return Promise.resolve(); + return updateDoc(doc(remoteDb, `users/${window.user.uid}`), updates).then( + () => { + log(`Item ${itemId} removed from all collections`); + } + ); + } +}; diff --git a/src/components/AddLibrary.jsx b/src/components/AddLibrary.jsx index 6cc0cea9..974e0f65 100644 --- a/src/components/AddLibrary.jsx +++ b/src/components/AddLibrary.jsx @@ -2,6 +2,8 @@ import { h, Component } from 'preact'; import { jsLibs, cssLibs } from '../libraryList'; import { trackEvent } from '../analytics'; import { LibraryAutoSuggest } from './LibraryAutoSuggest'; +import { Trans, t } from '@lingui/macro'; +import { I18n } from '@lingui/react'; export default class AddLibrary extends Component { constructor(props) { @@ -17,36 +19,41 @@ export default class AddLibrary extends Component { return; } const type = target.selectedOptions[0].dataset.type; - if (type === 'js') { - this.setState({ - js: `${this.state.js}\n${target.value}` - }); - } else { - this.setState({ - css: `${this.state.css}\n${target.value}` - }); - } trackEvent('ui', 'addLibrarySelect', target.selectedOptions[0].label); - this.props.onChange({ js: this.state.js, css: this.state.css }); - // Reset the select to the default value - target.value = ''; + + this.setState(state => { + const targetValue = target.value; + this.props.onChange({ + ...state, + [type]: `${this.state[type]}\n${targetValue}` + }); + // Reset the select to the default value + target.value = ''; + return { + [type]: `${this.state[type]}\n${targetValue}` + }; + }); } textareaBlurHandler(e, textarea) { const target = e ? e.target : textarea; + const data = { js: this.state.js, css: this.state.css }; + const type = target.dataset.lang; if (type === 'js') { + data.js = target.value || ''; this.setState({ - js: target.value || '' + js: data.js }); } else { + data.css = target.value || ''; this.setState({ - css: target.value || '' + css: data.css }); } // trackEvent('ui', 'addLibrarySelect', target.selectedOptions[0].label); - this.props.onChange({ js: this.state.js, css: this.state.css }); + this.props.onChange(data); } suggestionSelectHandler(value) { const textarea = value.match(/\.js$/) @@ -58,86 +65,105 @@ export default class AddLibrary extends Component { } render() { return ( -
    -

    Add Library

    + + {({ i18n }) => ( +
    +

    + Add Library +

    -
    - - - - - - -
    -
    - Powered by cdnjs -
    -
    - Choose from popular libraries:{' '} - -
    +
    + + + + + + +
    +
    + + Powered by cdnjs + +
    +
    + Choose from popular libraries:{' '} + +
    -

    JS

    -

    Put each library in new line

    +

    JS

    +

    + Put each library in new line +

    -

    - Note: You can load external scripts only from following domains: - localhost, https://ajax.googleapis.com, https://code.jquery.com, - https://cdnjs.cloudflare.com, https://unpkg.com, https://maxcdn.com, - https://cdn77.com, https://maxcdn.bootstrapcdn.com, - https://cdn.jsdelivr.net/, https://rawgit.com, https://wzrd.in -

    +

    + + Note: You can load external scripts only from following domains: + + localhost, https://ajax.googleapis.com, https://code.jquery.com, + https://cdnjs.cloudflare.com, https://unpkg.com, + https://maxcdn.com, https://cdn77.com, + https://maxcdn.bootstrapcdn.com, https://cdn.jsdelivr.net/, + https://rawgit.com, https://wzrd.in, https://cdn.tailwindcss.com, + https://assets.webmaker.app +

    - - - -

    A mode for Closure Stylesheets (GSS).

    -

    MIME type defined: text/x-gss.

    - -

    Parsing/Highlighting Tests: normal, verbose.

    - -
    diff --git a/src/lib/codemirror/mode/css/gss_test.js b/src/lib/codemirror/mode/css/gss_test.js deleted file mode 100644 index d56e5928..00000000 --- a/src/lib/codemirror/mode/css/gss_test.js +++ /dev/null @@ -1,17 +0,0 @@ -// CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE - -(function() { - "use strict"; - - var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-gss"); - function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "gss"); } - - MT("atComponent", - "[def @component] {", - "[tag foo] {", - " [property color]: [keyword black];", - "}", - "}"); - -})(); diff --git a/src/lib/codemirror/mode/css/less.html b/src/lib/codemirror/mode/css/less.html deleted file mode 100644 index adf7427d..00000000 --- a/src/lib/codemirror/mode/css/less.html +++ /dev/null @@ -1,152 +0,0 @@ - - -CodeMirror: LESS mode - - - - - - - - - - -
    -

    LESS mode

    -
    - - -

    The LESS mode is a sub-mode of the CSS mode (defined in css.js).

    - -

    Parsing/Highlighting Tests: normal, verbose.

    -
    diff --git a/src/lib/codemirror/mode/css/scss.html b/src/lib/codemirror/mode/css/scss.html deleted file mode 100644 index f8e4d373..00000000 --- a/src/lib/codemirror/mode/css/scss.html +++ /dev/null @@ -1,157 +0,0 @@ - - -CodeMirror: SCSS mode - - - - - - - - - -
    -

    SCSS mode

    -
    - - -

    The SCSS mode is a sub-mode of the CSS mode (defined in css.js).

    - -

    Parsing/Highlighting Tests: normal, verbose.

    - -
    diff --git a/src/lib/codemirror/mode/haml/haml.js b/src/lib/codemirror/mode/haml/haml.js index 86def73e..5e5091fe 100644 --- a/src/lib/codemirror/mode/haml/haml.js +++ b/src/lib/codemirror/mode/haml/haml.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -72,7 +72,7 @@ } } - // donot handle --> as valid ruby, make it HTML close comment instead + // do not handle --> as valid ruby, make it HTML close comment instead if (state.startOfLine && !stream.match("-->", false) && (ch == "=" || ch == "-" )) { state.tokenize = ruby; return state.tokenize(stream, state); @@ -98,8 +98,8 @@ return { // default to html mode startState: function() { - var htmlState = htmlMode.startState(); - var rubyState = rubyMode.startState(); + var htmlState = CodeMirror.startState(htmlMode); + var rubyState = CodeMirror.startState(rubyMode); return { htmlState: htmlState, rubyState: rubyState, diff --git a/src/lib/codemirror/mode/htmlembedded/htmlembedded.js b/src/lib/codemirror/mode/htmlembedded/htmlembedded.js index 464dc57f..5cceeef4 100644 --- a/src/lib/codemirror/mode/htmlembedded/htmlembedded.js +++ b/src/lib/codemirror/mode/htmlembedded/htmlembedded.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -14,7 +14,16 @@ "use strict"; CodeMirror.defineMode("htmlembedded", function(config, parserConfig) { + var closeComment = parserConfig.closeComment || "--%>" return CodeMirror.multiplexingMode(CodeMirror.getMode(config, "htmlmixed"), { + open: parserConfig.openComment || "<%--", + close: closeComment, + delimStyle: "comment", + mode: {token: function(stream) { + stream.skipTo(closeComment) || stream.skipToEnd() + return "comment" + }} + }, { open: parserConfig.open || parserConfig.scriptStartRegex || "<%", close: parserConfig.close || parserConfig.scriptEndRegex || "%>", mode: CodeMirror.getMode(config, parserConfig.scriptingModeSpec) diff --git a/src/lib/codemirror/mode/htmlmixed/htmlmixed.js b/src/lib/codemirror/mode/htmlmixed/htmlmixed.js index 6574fbd5..3f6d8b7d 100644 --- a/src/lib/codemirror/mode/htmlmixed/htmlmixed.js +++ b/src/lib/codemirror/mode/htmlmixed/htmlmixed.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -14,7 +14,7 @@ var defaultTags = { script: [ ["lang", /(javascript|babel)/i, "javascript"], - ["type", /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i, "javascript"], + ["type", /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i, "javascript"], ["type", /./, "text/plain"], [null, null, "javascript"] ], @@ -46,11 +46,11 @@ function getAttrValue(text, attr) { var match = text.match(getAttrRegexp(attr)) - return match ? match[2] : "" + return match ? /^\s*(.*?)\s*$/.exec(match[2])[1] : "" } function getTagRegexp(tagName, anchored) { - return new RegExp((anchored ? "^" : "") + "<\/\s*" + tagName + "\s*>", "i"); + return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i"); } function addTags(from, to) { @@ -74,7 +74,8 @@ name: "xml", htmlMode: true, multilineTagIndentFactor: parserConfig.multilineTagIndentFactor, - multilineTagIndentPastTag: parserConfig.multilineTagIndentPastTag + multilineTagIndentPastTag: parserConfig.multilineTagIndentPastTag, + allowMissingTagName: parserConfig.allowMissingTagName, }); var tags = {}; @@ -105,7 +106,7 @@ return maybeBackup(stream, endTag, state.localMode.token(stream, state.localState)); }; state.localMode = mode; - state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, "")); + state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, "", "")); } else if (state.inTag) { state.inTag += stream.current() if (stream.eol()) state.inTag += " " @@ -115,7 +116,7 @@ return { startState: function () { - var state = htmlMode.startState(); + var state = CodeMirror.startState(htmlMode); return {token: html, inTag: null, localMode: null, localState: null, htmlState: state}; }, @@ -133,11 +134,11 @@ return state.token(stream, state); }, - indent: function (state, textAfter) { + indent: function (state, textAfter, line) { if (!state.localMode || /^\s*<\//.test(textAfter)) - return htmlMode.indent(state.htmlState, textAfter); + return htmlMode.indent(state.htmlState, textAfter, line); else if (state.localMode.indent) - return state.localMode.indent(state.localState, textAfter); + return state.localMode.indent(state.localState, textAfter, line); else return CodeMirror.Pass; }, diff --git a/src/lib/codemirror/mode/javascript/javascript.js b/src/lib/codemirror/mode/javascript/javascript.js index fa5721d5..bb735ebc 100644 --- a/src/lib/codemirror/mode/javascript/javascript.js +++ b/src/lib/codemirror/mode/javascript/javascript.js @@ -1,7 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE - -// TODO actually recognize syntax of TypeScript constructs +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -13,16 +11,12 @@ })(function(CodeMirror) { "use strict"; -function expressionAllowed(stream, state, backUp) { - return /^(?:operator|sof|keyword c|case|new|[\[{}\(,;:]|=>)$/.test(state.lastType) || - (state.lastType == "quasi" && /\{\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0)))) -} - CodeMirror.defineMode("javascript", function(config, parserConfig) { var indentUnit = config.indentUnit; var statementIndent = parserConfig.statementIndent; var jsonldMode = parserConfig.jsonld; var jsonMode = parserConfig.json || jsonldMode; + var trackScope = parserConfig.trackScope !== false var isTS = parserConfig.typescript; var wordRE = parserConfig.wordCharacters || /[\w$\xa1-\uffff]/; @@ -30,54 +24,24 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { var keywords = function(){ function kw(type) {return {type: type, style: "keyword"};} - var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"); + var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"), D = kw("keyword d"); var operator = kw("operator"), atom = {type: "atom", style: "atom"}; - var jsKeywords = { + return { "if": kw("if"), "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B, - "return": C, "break": C, "continue": C, "new": kw("new"), "delete": C, "throw": C, "debugger": C, - "var": kw("var"), "const": kw("var"), "let": kw("var"), + "return": D, "break": D, "continue": D, "new": kw("new"), "delete": C, "void": C, "throw": C, + "debugger": kw("debugger"), "var": kw("var"), "const": kw("var"), "let": kw("var"), "function": kw("function"), "catch": kw("catch"), "for": kw("for"), "switch": kw("switch"), "case": kw("case"), "default": kw("default"), "in": operator, "typeof": operator, "instanceof": operator, "true": atom, "false": atom, "null": atom, "undefined": atom, "NaN": atom, "Infinity": atom, "this": kw("this"), "class": kw("class"), "super": kw("atom"), - "yield": C, "export": kw("export"), "import": kw("import"), "extends": C + "yield": C, "export": kw("export"), "import": kw("import"), "extends": C, + "await": C }; - - // Extend the 'normal' keywords with the TypeScript language extensions - if (isTS) { - var type = {type: "variable", style: "variable-3"}; - var tsKeywords = { - // object-like things - "interface": kw("class"), - "implements": C, - "namespace": C, - "module": kw("module"), - "enum": kw("module"), - - // scope modifiers - "public": kw("modifier"), - "private": kw("modifier"), - "protected": kw("modifier"), - "abstract": kw("modifier"), - - // operators - "as": operator, - - // types - "string": type, "number": type, "boolean": type, "any": type - }; - - for (var attr in tsKeywords) { - jsKeywords[attr] = tsKeywords[attr]; - } - } - - return jsKeywords; }(); - var isOperatorChar = /[+\-*&%=<>!?|~^]/; + var isOperatorChar = /[+\-*&%=<>!?|~^@]/; var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/; function readRegexp(stream) { @@ -104,7 +68,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (ch == '"' || ch == "'") { state.tokenize = tokenString(ch); return state.tokenize(stream, state); - } else if (ch == "." && stream.match(/^\d+(?:[eE][+\-]?\d+)?/)) { + } else if (ch == "." && stream.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)) { return ret("number", "number"); } else if (ch == "." && stream.match("..")) { return ret("spread", "meta"); @@ -112,17 +76,10 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { return ret(ch); } else if (ch == "=" && stream.eat(">")) { return ret("=>", "operator"); - } else if (ch == "0" && stream.eat(/x/i)) { - stream.eatWhile(/[\da-f]/i); - return ret("number", "number"); - } else if (ch == "0" && stream.eat(/o/i)) { - stream.eatWhile(/[0-7]/i); - return ret("number", "number"); - } else if (ch == "0" && stream.eat(/b/i)) { - stream.eatWhile(/[01]/i); + } else if (ch == "0" && stream.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) { return ret("number", "number"); } else if (/\d/.test(ch)) { - stream.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/); + stream.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/); return ret("number", "number"); } else if (ch == "/") { if (stream.eat("*")) { @@ -133,26 +90,47 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { return ret("comment", "comment"); } else if (expressionAllowed(stream, state, 1)) { readRegexp(stream); - stream.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/); + stream.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/); return ret("regexp", "string-2"); } else { - stream.eatWhile(isOperatorChar); + stream.eat("="); return ret("operator", "operator", stream.current()); } } else if (ch == "`") { state.tokenize = tokenQuasi; return tokenQuasi(stream, state); - } else if (ch == "#") { + } else if (ch == "#" && stream.peek() == "!") { stream.skipToEnd(); - return ret("error", "error"); + return ret("meta", "meta"); + } else if (ch == "#" && stream.eatWhile(wordRE)) { + return ret("variable", "property") + } else if (ch == "<" && stream.match("!--") || + (ch == "-" && stream.match("->") && !/\S/.test(stream.string.slice(0, stream.start)))) { + stream.skipToEnd() + return ret("comment", "comment") } else if (isOperatorChar.test(ch)) { - stream.eatWhile(isOperatorChar); + if (ch != ">" || !state.lexical || state.lexical.type != ">") { + if (stream.eat("=")) { + if (ch == "!" || ch == "=") stream.eat("=") + } else if (/[<>*+\-|&?]/.test(ch)) { + stream.eat(ch) + if (ch == ">") stream.eat(ch) + } + } + if (ch == "?" && stream.eat(".")) return ret(".") return ret("operator", "operator", stream.current()); } else if (wordRE.test(ch)) { stream.eatWhile(wordRE); - var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word]; - return (known && state.lastType != ".") ? ret(known.type, known.style, word) : - ret("variable", "variable", word); + var word = stream.current() + if (state.lastType != ".") { + if (keywords.propertyIsEnumerable(word)) { + var kw = keywords[word] + return ret(kw.type, kw.style, word) + } + if (word == "async" && stream.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, false)) + return ret("async", "keyword", word) + } + return ret("variable", "variable", word) } } @@ -209,19 +187,28 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { var arrow = stream.string.indexOf("=>", stream.start); if (arrow < 0) return; + if (isTS) { // Try to skip TypeScript return type declarations after the arguments + var m = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(stream.string.slice(stream.start, arrow)) + if (m) arrow = m.index + } + var depth = 0, sawSomething = false; for (var pos = arrow - 1; pos >= 0; --pos) { var ch = stream.string.charAt(pos); var bracket = brackets.indexOf(ch); if (bracket >= 0 && bracket < 3) { if (!depth) { ++pos; break; } - if (--depth == 0) break; + if (--depth == 0) { if (ch == "(") sawSomething = true; break; } } else if (bracket >= 3 && bracket < 6) { ++depth; } else if (wordRE.test(ch)) { sawSomething = true; - } else if (/["'\/]/.test(ch)) { - return; + } else if (/["'\/`]/.test(ch)) { + for (;; --pos) { + if (pos == 0) return + var next = stream.string.charAt(pos - 1) + if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break } + } } else if (sawSomething && !depth) { ++pos; break; @@ -232,7 +219,8 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { // Parser - var atomicTypes = {"atom": true, "number": true, "variable": true, "string": true, "regexp": true, "this": true, "jsonld-keyword": true}; + var atomicTypes = {"atom": true, "number": true, "variable": true, "string": true, + "regexp": true, "this": true, "import": true, "jsonld-keyword": true}; function JSLexical(indented, column, type, align, prev, info) { this.indented = indented; @@ -244,6 +232,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { } function inScope(state, varname) { + if (!trackScope) return false for (var v = state.localVars; v; v = v.next) if (v.name == varname) return true; for (var cx = state.context; cx; cx = cx.prev) { @@ -283,35 +272,70 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { pass.apply(null, arguments); return true; } + function inList(name, list) { + for (var v = list; v; v = v.next) if (v.name == name) return true + return false; + } function register(varname) { - function inList(list) { - for (var v = list; v; v = v.next) - if (v.name == varname) return true; - return false; - } var state = cx.state; cx.marked = "def"; + if (!trackScope) return if (state.context) { - if (inList(state.localVars)) return; - state.localVars = {name: varname, next: state.localVars}; + if (state.lexical.info == "var" && state.context && state.context.block) { + // FIXME function decls are also not block scoped + var newContext = registerVarScoped(varname, state.context) + if (newContext != null) { + state.context = newContext + return + } + } else if (!inList(varname, state.localVars)) { + state.localVars = new Var(varname, state.localVars) + return + } + } + // Fall through means this is global + if (parserConfig.globalVars && !inList(varname, state.globalVars)) + state.globalVars = new Var(varname, state.globalVars) + } + function registerVarScoped(varname, context) { + if (!context) { + return null + } else if (context.block) { + var inner = registerVarScoped(varname, context.prev) + if (!inner) return null + if (inner == context.prev) return context + return new Context(inner, context.vars, true) + } else if (inList(varname, context.vars)) { + return context } else { - if (inList(state.globalVars)) return; - if (parserConfig.globalVars) - state.globalVars = {name: varname, next: state.globalVars}; + return new Context(context.prev, new Var(varname, context.vars), false) } } + function isModifier(name) { + return name == "public" || name == "private" || name == "protected" || name == "abstract" || name == "readonly" + } + // Combinators - var defaultVars = {name: "this", next: {name: "arguments"}}; + function Context(prev, vars, block) { this.prev = prev; this.vars = vars; this.block = block } + function Var(name, next) { this.name = name; this.next = next } + + var defaultVars = new Var("this", new Var("arguments", null)) function pushcontext() { - cx.state.context = {prev: cx.state.context, vars: cx.state.localVars}; - cx.state.localVars = defaultVars; + cx.state.context = new Context(cx.state.context, cx.state.localVars, false) + cx.state.localVars = defaultVars + } + function pushblockcontext() { + cx.state.context = new Context(cx.state.context, cx.state.localVars, true) + cx.state.localVars = null } + pushcontext.lex = pushblockcontext.lex = true function popcontext() { - cx.state.localVars = cx.state.context.vars; - cx.state.context = cx.state.context.prev; + cx.state.localVars = cx.state.context.vars + cx.state.context = cx.state.context.prev } + popcontext.lex = true function pushlex(type, info) { var result = function() { var state = cx.state, indent = state.indented; @@ -336,56 +360,87 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { function expect(wanted) { function exp(type) { if (type == wanted) return cont(); - else if (wanted == ";") return pass(); + else if (wanted == ";" || type == "}" || type == ")" || type == "]") return pass(); else return cont(exp); }; return exp; } function statement(type, value) { - if (type == "var") return cont(pushlex("vardef", value.length), vardef, expect(";"), poplex); - if (type == "keyword a") return cont(pushlex("form"), expression, statement, poplex); + if (type == "var") return cont(pushlex("vardef", value), vardef, expect(";"), poplex); + if (type == "keyword a") return cont(pushlex("form"), parenExpr, statement, poplex); if (type == "keyword b") return cont(pushlex("form"), statement, poplex); - if (type == "{") return cont(pushlex("}"), block, poplex); + if (type == "keyword d") return cx.stream.match(/^\s*$/, false) ? cont() : cont(pushlex("stat"), maybeexpression, expect(";"), poplex); + if (type == "debugger") return cont(expect(";")); + if (type == "{") return cont(pushlex("}"), pushblockcontext, block, poplex, popcontext); if (type == ";") return cont(); if (type == "if") { if (cx.state.lexical.info == "else" && cx.state.cc[cx.state.cc.length - 1] == poplex) cx.state.cc.pop()(); - return cont(pushlex("form"), expression, statement, poplex, maybeelse); + return cont(pushlex("form"), parenExpr, statement, poplex, maybeelse); } if (type == "function") return cont(functiondef); - if (type == "for") return cont(pushlex("form"), forspec, statement, poplex); - if (type == "variable") return cont(pushlex("stat"), maybelabel); - if (type == "switch") return cont(pushlex("form"), expression, pushlex("}", "switch"), expect("{"), - block, poplex, poplex); + if (type == "for") return cont(pushlex("form"), pushblockcontext, forspec, statement, popcontext, poplex); + if (type == "class" || (isTS && value == "interface")) { + cx.marked = "keyword" + return cont(pushlex("form", type == "class" ? type : value), className, poplex) + } + if (type == "variable") { + if (isTS && value == "declare") { + cx.marked = "keyword" + return cont(statement) + } else if (isTS && (value == "module" || value == "enum" || value == "type") && cx.stream.match(/^\s*\w/, false)) { + cx.marked = "keyword" + if (value == "enum") return cont(enumdef); + else if (value == "type") return cont(typename, expect("operator"), typeexpr, expect(";")); + else return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex) + } else if (isTS && value == "namespace") { + cx.marked = "keyword" + return cont(pushlex("form"), expression, statement, poplex) + } else if (isTS && value == "abstract") { + cx.marked = "keyword" + return cont(statement) + } else { + return cont(pushlex("stat"), maybelabel); + } + } + if (type == "switch") return cont(pushlex("form"), parenExpr, expect("{"), pushlex("}", "switch"), pushblockcontext, + block, poplex, poplex, popcontext); if (type == "case") return cont(expression, expect(":")); if (type == "default") return cont(expect(":")); - if (type == "catch") return cont(pushlex("form"), pushcontext, expect("("), funarg, expect(")"), - statement, poplex, popcontext); - if (type == "class") return cont(pushlex("form"), className, poplex); + if (type == "catch") return cont(pushlex("form"), pushcontext, maybeCatchBinding, statement, poplex, popcontext); if (type == "export") return cont(pushlex("stat"), afterExport, poplex); if (type == "import") return cont(pushlex("stat"), afterImport, poplex); - if (type == "module") return cont(pushlex("form"), pattern, pushlex("}"), expect("{"), block, poplex, poplex) + if (type == "async") return cont(statement) + if (value == "@") return cont(expression, statement) return pass(pushlex("stat"), expression, expect(";"), poplex); } - function expression(type) { - return expressionInner(type, false); + function maybeCatchBinding(type) { + if (type == "(") return cont(funarg, expect(")")) + } + function expression(type, value) { + return expressionInner(type, value, false); } - function expressionNoComma(type) { - return expressionInner(type, true); + function expressionNoComma(type, value) { + return expressionInner(type, value, true); } - function expressionInner(type, noComma) { + function parenExpr(type) { + if (type != "(") return pass() + return cont(pushlex(")"), maybeexpression, expect(")"), poplex) + } + function expressionInner(type, value, noComma) { if (cx.state.fatArrowAt == cx.stream.start) { var body = noComma ? arrowBodyNoComma : arrowBody; - if (type == "(") return cont(pushcontext, pushlex(")"), commasep(pattern, ")"), poplex, expect("=>"), body, popcontext); + if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, expect("=>"), body, popcontext); else if (type == "variable") return pass(pushcontext, pattern, expect("=>"), body, popcontext); } var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma; if (atomicTypes.hasOwnProperty(type)) return cont(maybeop); if (type == "function") return cont(functiondef, maybeop); - if (type == "keyword c") return cont(noComma ? maybeexpressionNoComma : maybeexpression); - if (type == "(") return cont(pushlex(")"), maybeexpression, comprehension, expect(")"), poplex, maybeop); + if (type == "class" || (isTS && value == "interface")) { cx.marked = "keyword"; return cont(pushlex("form"), classExpression, poplex); } + if (type == "keyword c" || type == "async") return cont(noComma ? expressionNoComma : expression); + if (type == "(") return cont(pushlex(")"), maybeexpression, expect(")"), poplex, maybeop); if (type == "operator" || type == "spread") return cont(noComma ? expressionNoComma : expression); if (type == "[") return cont(pushlex("]"), arrayLiteral, poplex, maybeop); if (type == "{") return contCommasep(objprop, "}", null, maybeop); @@ -397,13 +452,9 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type.match(/[;\}\)\],]/)) return pass(); return pass(expression); } - function maybeexpressionNoComma(type) { - if (type.match(/[;\}\)\],]/)) return pass(); - return pass(expressionNoComma); - } function maybeoperatorComma(type, value) { - if (type == ",") return cont(expression); + if (type == ",") return cont(maybeexpression); return maybeoperatorNoComma(type, value, false); } function maybeoperatorNoComma(type, value, noComma) { @@ -411,7 +462,9 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { var expr = noComma == false ? expression : expressionNoComma; if (type == "=>") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext); if (type == "operator") { - if (/\+\+|--/.test(value)) return cont(me); + if (/\+\+|--/.test(value) || isTS && value == "!") return cont(me); + if (isTS && value == "<" && cx.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, false)) + return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, me); if (value == "?") return cont(expression, expect(":"), expr); return cont(expr); } @@ -420,11 +473,17 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type == "(") return contCommasep(expressionNoComma, ")", "call", me); if (type == ".") return cont(property, me); if (type == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me); + if (isTS && value == "as") { cx.marked = "keyword"; return cont(typeexpr, me) } + if (type == "regexp") { + cx.state.lastType = cx.marked = "operator" + cx.stream.backUp(cx.stream.pos - cx.stream.start - 1) + return cont(expr) + } } function quasi(type, value) { if (type != "quasi") return pass(); if (value.slice(value.length - 2) != "${") return cont(quasi); - return cont(expression, continueQuasi); + return cont(maybeexpression, continueQuasi); } function continueQuasi(type) { if (type == "}") { @@ -444,6 +503,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { function maybeTarget(noComma) { return function(type) { if (type == ".") return cont(noComma ? targetNoComma : target); + else if (type == "variable" && isTS) return cont(maybeTypeArgs, noComma ? maybeoperatorNoComma : maybeoperatorComma) else return pass(noComma ? expressionNoComma : expression); }; } @@ -461,21 +521,33 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type == "variable") {cx.marked = "property"; return cont();} } function objprop(type, value) { - if (type == "variable" || cx.style == "keyword") { + if (type == "async") { + cx.marked = "property"; + return cont(objprop); + } else if (type == "variable" || cx.style == "keyword") { cx.marked = "property"; if (value == "get" || value == "set") return cont(getterSetter); + var m // Work around fat-arrow-detection complication for detecting typescript typed arrow params + if (isTS && cx.state.fatArrowAt == cx.stream.start && (m = cx.stream.match(/^\s*:\s*/, false))) + cx.state.fatArrowAt = cx.stream.pos + m[0].length return cont(afterprop); } else if (type == "number" || type == "string") { cx.marked = jsonldMode ? "property" : (cx.style + " property"); return cont(afterprop); } else if (type == "jsonld-keyword") { return cont(afterprop); - } else if (type == "modifier") { + } else if (isTS && isModifier(value)) { + cx.marked = "keyword" return cont(objprop) } else if (type == "[") { - return cont(expression, expect("]"), afterprop); + return cont(expression, maybetype, expect("]"), afterprop); } else if (type == "spread") { - return cont(expression); + return cont(expressionNoComma, afterprop); + } else if (value == "*") { + cx.marked = "keyword"; + return cont(objprop); + } else if (type == ":") { + return pass(afterprop) } } function getterSetter(type) { @@ -487,18 +559,22 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type == ":") return cont(expressionNoComma); if (type == "(") return pass(functiondef); } - function commasep(what, end) { - function proceed(type) { - if (type == ",") { + function commasep(what, end, sep) { + function proceed(type, value) { + if (sep ? sep.indexOf(type) > -1 : type == ",") { var lex = cx.state.lexical; if (lex.info == "call") lex.pos = (lex.pos || 0) + 1; - return cont(what, proceed); + return cont(function(type, value) { + if (type == end || value == end) return pass() + return pass(what) + }, proceed); } - if (type == end) return cont(); + if (type == end || value == end) return cont(); + if (sep && sep.indexOf(";") > -1) return pass(what) return cont(expect(end)); } - return function(type) { - if (type == end) return cont(); + return function(type, value) { + if (type == end || value == end) return cont(); return pass(what, proceed); }; } @@ -511,23 +587,111 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type == "}") return cont(); return pass(statement, block); } - function maybetype(type) { - if (isTS && type == ":") return cont(typedef); + function maybetype(type, value) { + if (isTS) { + if (type == ":") return cont(typeexpr); + if (value == "?") return cont(maybetype); + } } - function maybedefault(_, value) { - if (value == "=") return cont(expressionNoComma); + function maybetypeOrIn(type, value) { + if (isTS && (type == ":" || value == "in")) return cont(typeexpr) } - function typedef(type) { - if (type == "variable") {cx.marked = "variable-3"; return cont();} + function mayberettype(type) { + if (isTS && type == ":") { + if (cx.stream.match(/^\s*\w+\s+is\b/, false)) return cont(expression, isKW, typeexpr) + else return cont(typeexpr) + } } - function vardef() { + function isKW(_, value) { + if (value == "is") { + cx.marked = "keyword" + return cont() + } + } + function typeexpr(type, value) { + if (value == "keyof" || value == "typeof" || value == "infer" || value == "readonly") { + cx.marked = "keyword" + return cont(value == "typeof" ? expressionNoComma : typeexpr) + } + if (type == "variable" || value == "void") { + cx.marked = "type" + return cont(afterType) + } + if (value == "|" || value == "&") return cont(typeexpr) + if (type == "string" || type == "number" || type == "atom") return cont(afterType); + if (type == "[") return cont(pushlex("]"), commasep(typeexpr, "]", ","), poplex, afterType) + if (type == "{") return cont(pushlex("}"), typeprops, poplex, afterType) + if (type == "(") return cont(commasep(typearg, ")"), maybeReturnType, afterType) + if (type == "<") return cont(commasep(typeexpr, ">"), typeexpr) + if (type == "quasi") { return pass(quasiType, afterType); } + } + function maybeReturnType(type) { + if (type == "=>") return cont(typeexpr) + } + function typeprops(type) { + if (type.match(/[\}\)\]]/)) return cont() + if (type == "," || type == ";") return cont(typeprops) + return pass(typeprop, typeprops) + } + function typeprop(type, value) { + if (type == "variable" || cx.style == "keyword") { + cx.marked = "property" + return cont(typeprop) + } else if (value == "?" || type == "number" || type == "string") { + return cont(typeprop) + } else if (type == ":") { + return cont(typeexpr) + } else if (type == "[") { + return cont(expect("variable"), maybetypeOrIn, expect("]"), typeprop) + } else if (type == "(") { + return pass(functiondecl, typeprop) + } else if (!type.match(/[;\}\)\],]/)) { + return cont() + } + } + function quasiType(type, value) { + if (type != "quasi") return pass(); + if (value.slice(value.length - 2) != "${") return cont(quasiType); + return cont(typeexpr, continueQuasiType); + } + function continueQuasiType(type) { + if (type == "}") { + cx.marked = "string-2"; + cx.state.tokenize = tokenQuasi; + return cont(quasiType); + } + } + function typearg(type, value) { + if (type == "variable" && cx.stream.match(/^\s*[?:]/, false) || value == "?") return cont(typearg) + if (type == ":") return cont(typeexpr) + if (type == "spread") return cont(typearg) + return pass(typeexpr) + } + function afterType(type, value) { + if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType) + if (value == "|" || type == "." || value == "&") return cont(typeexpr) + if (type == "[") return cont(typeexpr, expect("]"), afterType) + if (value == "extends" || value == "implements") { cx.marked = "keyword"; return cont(typeexpr) } + if (value == "?") return cont(typeexpr, expect(":"), typeexpr) + } + function maybeTypeArgs(_, value) { + if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType) + } + function typeparam() { + return pass(typeexpr, maybeTypeDefault) + } + function maybeTypeDefault(_, value) { + if (value == "=") return cont(typeexpr) + } + function vardef(_, value) { + if (value == "enum") {cx.marked = "keyword"; return cont(enumdef)} return pass(pattern, maybetype, maybeAssign, vardefCont); } function pattern(type, value) { - if (type == "modifier") return cont(pattern) + if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(pattern) } if (type == "variable") { register(value); return cont(); } if (type == "spread") return cont(pattern); - if (type == "[") return contCommasep(pattern, "]"); + if (type == "[") return contCommasep(eltpattern, "]"); if (type == "{") return contCommasep(proppattern, "}"); } function proppattern(type, value) { @@ -538,8 +702,12 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (type == "variable") cx.marked = "property"; if (type == "spread") return cont(pattern); if (type == "}") return pass(); + if (type == "[") return cont(expression, expect(']'), expect(':'), proppattern); return cont(expect(":"), pattern, maybeAssign); } + function eltpattern() { + return pass(pattern, maybeAssign) + } function maybeAssign(_type, value) { if (value == "=") return cont(expressionNoComma); } @@ -549,73 +717,111 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { function maybeelse(type, value) { if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex); } - function forspec(type) { - if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex); + function forspec(type, value) { + if (value == "await") return cont(forspec); + if (type == "(") return cont(pushlex(")"), forspec1, poplex); } function forspec1(type) { - if (type == "var") return cont(vardef, expect(";"), forspec2); - if (type == ";") return cont(forspec2); - if (type == "variable") return cont(formaybeinof); - return pass(expression, expect(";"), forspec2); - } - function formaybeinof(_type, value) { - if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression); } - return cont(maybeoperatorComma, forspec2); + if (type == "var") return cont(vardef, forspec2); + if (type == "variable") return cont(forspec2); + return pass(forspec2) } function forspec2(type, value) { - if (type == ";") return cont(forspec3); - if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression); } - return pass(expression, expect(";"), forspec3); - } - function forspec3(type) { - if (type != ")") cont(expression); + if (type == ")") return cont() + if (type == ";") return cont(forspec2) + if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression, forspec2) } + return pass(expression, forspec2) } function functiondef(type, value) { if (value == "*") {cx.marked = "keyword"; return cont(functiondef);} if (type == "variable") {register(value); return cont(functiondef);} - if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, statement, popcontext); + if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext); + if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef) + } + function functiondecl(type, value) { + if (value == "*") {cx.marked = "keyword"; return cont(functiondecl);} + if (type == "variable") {register(value); return cont(functiondecl);} + if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, popcontext); + if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondecl) + } + function typename(type, value) { + if (type == "keyword" || type == "variable") { + cx.marked = "type" + return cont(typename) + } else if (value == "<") { + return cont(pushlex(">"), commasep(typeparam, ">"), poplex) + } } - function funarg(type) { + function funarg(type, value) { + if (value == "@") cont(expression, funarg) if (type == "spread") return cont(funarg); - return pass(pattern, maybetype, maybedefault); + if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(funarg); } + if (isTS && type == "this") return cont(maybetype, maybeAssign) + return pass(pattern, maybetype, maybeAssign); + } + function classExpression(type, value) { + // Class expressions may have an optional name. + if (type == "variable") return className(type, value); + return classNameAfter(type, value); } function className(type, value) { if (type == "variable") {register(value); return cont(classNameAfter);} } function classNameAfter(type, value) { - if (value == "extends") return cont(expression, classNameAfter); + if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter) + if (value == "extends" || value == "implements" || (isTS && type == ",")) { + if (value == "implements") cx.marked = "keyword"; + return cont(isTS ? typeexpr : expression, classNameAfter); + } if (type == "{") return cont(pushlex("}"), classBody, poplex); } function classBody(type, value) { + if (type == "async" || + (type == "variable" && + (value == "static" || value == "get" || value == "set" || (isTS && isModifier(value))) && + cx.stream.match(/^\s+#?[\w$\xa1-\uffff]/, false))) { + cx.marked = "keyword"; + return cont(classBody); + } if (type == "variable" || cx.style == "keyword") { - if (value == "static") { - cx.marked = "keyword"; - return cont(classBody); - } cx.marked = "property"; - if (value == "get" || value == "set") return cont(classGetterSetter, functiondef, classBody); - return cont(functiondef, classBody); + return cont(classfield, classBody); } + if (type == "number" || type == "string") return cont(classfield, classBody); + if (type == "[") + return cont(expression, maybetype, expect("]"), classfield, classBody) if (value == "*") { cx.marked = "keyword"; return cont(classBody); } - if (type == ";") return cont(classBody); + if (isTS && type == "(") return pass(functiondecl, classBody) + if (type == ";" || type == ",") return cont(classBody); if (type == "}") return cont(); + if (value == "@") return cont(expression, classBody) } - function classGetterSetter(type) { - if (type != "variable") return pass(); - cx.marked = "property"; - return cont(); + function classfield(type, value) { + if (value == "!") return cont(classfield) + if (value == "?") return cont(classfield) + if (type == ":") return cont(typeexpr, maybeAssign) + if (value == "=") return cont(expressionNoComma) + var context = cx.state.lexical.prev, isInterface = context && context.info == "interface" + return pass(isInterface ? functiondecl : functiondef) } - function afterExport(_type, value) { + function afterExport(type, value) { if (value == "*") { cx.marked = "keyword"; return cont(maybeFrom, expect(";")); } if (value == "default") { cx.marked = "keyword"; return cont(expression, expect(";")); } + if (type == "{") return cont(commasep(exportField, "}"), maybeFrom, expect(";")); return pass(statement); } + function exportField(type, value) { + if (value == "as") { cx.marked = "keyword"; return cont(expect("variable")); } + if (type == "variable") return pass(expressionNoComma, exportField); + } function afterImport(type) { if (type == "string") return cont(); - return pass(importSpec, maybeFrom); + if (type == "(") return pass(expression); + if (type == ".") return pass(maybeoperatorComma); + return pass(importSpec, maybeMoreImports, maybeFrom); } function importSpec(type, value) { if (type == "{") return contCommasep(importSpec, "}"); @@ -623,6 +829,9 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { if (value == "*") cx.marked = "keyword"; return cont(maybeAs); } + function maybeMoreImports(type) { + if (type == ",") return cont(importSpec, maybeMoreImports) + } function maybeAs(_type, value) { if (value == "as") { cx.marked = "keyword"; return cont(importSpec); } } @@ -631,16 +840,13 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { } function arrayLiteral(type) { if (type == "]") return cont(); - return pass(expressionNoComma, maybeArrayComprehension); - } - function maybeArrayComprehension(type) { - if (type == "for") return pass(comprehension, expect("]")); - if (type == ",") return cont(commasep(maybeexpressionNoComma, "]")); return pass(commasep(expressionNoComma, "]")); } - function comprehension(type) { - if (type == "for") return cont(forspec, comprehension); - if (type == "if") return cont(expression, comprehension); + function enumdef() { + return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex) + } + function enummember() { + return pass(pattern, maybeAssign); } function isContinuedStatement(state, textAfter) { @@ -649,6 +855,12 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { /[,.]/.test(textAfter.charAt(0)); } + function expressionAllowed(stream, state, backUp) { + return state.tokenize == tokenBase && + /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(state.lastType) || + (state.lastType == "quasi" && /\{\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0)))) + } + // Interface return { @@ -659,7 +871,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { cc: [], lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false), localVars: parserConfig.localVars, - context: parserConfig.localVars && {vars: parserConfig.localVars}, + context: parserConfig.localVars && new Context(null, null, false), indented: basecolumn || 0 }; if (parserConfig.globalVars && typeof parserConfig.globalVars == "object") @@ -682,21 +894,25 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { }, indent: function(state, textAfter) { - if (state.tokenize == tokenComment) return CodeMirror.Pass; + if (state.tokenize == tokenComment || state.tokenize == tokenQuasi) return CodeMirror.Pass; if (state.tokenize != tokenBase) return 0; - var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical; + var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, top // Kludge to prevent 'maybelse' from blocking lexical scope pops if (!/^\s*else\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) { var c = state.cc[i]; if (c == poplex) lexical = lexical.prev; - else if (c != maybeelse) break; + else if (c != maybeelse && c != popcontext) break; } - if (lexical.type == "stat" && firstChar == "}") lexical = lexical.prev; + while ((lexical.type == "stat" || lexical.type == "form") && + (firstChar == "}" || ((top = state.cc[state.cc.length - 1]) && + (top == maybeoperatorComma || top == maybeoperatorNoComma) && + !/^[,\.=+\-*:?[\(]/.test(textAfter)))) + lexical = lexical.prev; if (statementIndent && lexical.type == ")" && lexical.prev.type == "stat") lexical = lexical.prev; var type = lexical.type, closing = firstChar == type; - if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info + 1 : 0); + if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info.length + 1 : 0); else if (type == "form" && firstChar == "{") return lexical.indented; else if (type == "form") return lexical.indented + indentUnit; else if (type == "stat") @@ -710,6 +926,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { electricInput: /^\s*(?:case .*?:|default:|\{|\})$/, blockCommentStart: jsonMode ? null : "/*", blockCommentEnd: jsonMode ? null : "*/", + blockCommentContinue: jsonMode ? null : " * ", lineComment: jsonMode ? null : "//", fold: "brace", closeBrackets: "()[]{}''\"\"``", @@ -719,9 +936,9 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { jsonMode: jsonMode, expressionAllowed: expressionAllowed, + skipExpression: function(state) { - var top = state.cc[state.cc.length - 1] - if (top == expression || top == expressionNoComma) state.cc.pop() + parseJS(state, "atom", "atom", "true", new CodeMirror.StringStream("", 2, null)) } }; }); @@ -733,9 +950,10 @@ CodeMirror.defineMIME("text/ecmascript", "javascript"); CodeMirror.defineMIME("application/javascript", "javascript"); CodeMirror.defineMIME("application/x-javascript", "javascript"); CodeMirror.defineMIME("application/ecmascript", "javascript"); -CodeMirror.defineMIME("application/json", {name: "javascript", json: true}); -CodeMirror.defineMIME("application/x-json", {name: "javascript", json: true}); -CodeMirror.defineMIME("application/ld+json", {name: "javascript", jsonld: true}); +CodeMirror.defineMIME("application/json", { name: "javascript", json: true }); +CodeMirror.defineMIME("application/x-json", { name: "javascript", json: true }); +CodeMirror.defineMIME("application/manifest+json", { name: "javascript", json: true }) +CodeMirror.defineMIME("application/ld+json", { name: "javascript", jsonld: true }); CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true }); CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true }); diff --git a/src/lib/codemirror/mode/javascript/json-ld.html b/src/lib/codemirror/mode/javascript/json-ld.html deleted file mode 100644 index 3a37f0bc..00000000 --- a/src/lib/codemirror/mode/javascript/json-ld.html +++ /dev/null @@ -1,72 +0,0 @@ - - -CodeMirror: JSON-LD mode - - - - - - - - - - - - -
    -

    JSON-LD mode

    - - -
    - - - -

    This is a specialization of the JavaScript mode.

    -
    diff --git a/src/lib/codemirror/mode/javascript/typescript.html b/src/lib/codemirror/mode/javascript/typescript.html deleted file mode 100644 index 2cfc5381..00000000 --- a/src/lib/codemirror/mode/javascript/typescript.html +++ /dev/null @@ -1,61 +0,0 @@ - - -CodeMirror: TypeScript mode - - - - - - - - - -
    -

    TypeScript mode

    - - -
    - - - -

    This is a specialization of the JavaScript mode.

    -
    diff --git a/src/lib/codemirror/mode/jsx/jsx.js b/src/lib/codemirror/mode/jsx/jsx.js index 45c3024a..35ac608e 100644 --- a/src/lib/codemirror/mode/jsx/jsx.js +++ b/src/lib/codemirror/mode/jsx/jsx.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -26,13 +26,13 @@ } CodeMirror.defineMode("jsx", function(config, modeConfig) { - var xmlMode = CodeMirror.getMode(config, {name: "xml", allowMissing: true, multilineTagIndentPastTag: false}) + var xmlMode = CodeMirror.getMode(config, {name: "xml", allowMissing: true, multilineTagIndentPastTag: false, allowMissingTagName: true}) var jsMode = CodeMirror.getMode(config, modeConfig && modeConfig.base || "javascript") function flatXMLIndent(state) { var tagName = state.tagName state.tagName = null - var result = xmlMode.indent(state, "") + var result = xmlMode.indent(state, "", "") state.tagName = tagName return result } @@ -103,10 +103,11 @@ } function jsToken(stream, state, cx) { - if (stream.peek() == "<" && jsMode.expressionAllowed(stream, cx.state)) { - jsMode.skipExpression(cx.state) - state.context = new Context(CodeMirror.startState(xmlMode, jsMode.indent(cx.state, "")), + if (stream.peek() == "<" && !stream.match(/^<([^<>]|<[^>]*>)+,\s*>/, false) && + jsMode.expressionAllowed(stream, cx.state)) { + state.context = new Context(CodeMirror.startState(xmlMode, jsMode.indent(cx.state, "", "")), xmlMode, 0, state.context) + jsMode.skipExpression(cx.state) return null } diff --git a/src/lib/codemirror/mode/markdown/markdown.js b/src/lib/codemirror/mode/markdown/markdown.js index 37329c23..6eef5442 100644 --- a/src/lib/codemirror/mode/markdown/markdown.js +++ b/src/lib/codemirror/mode/markdown/markdown.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -35,15 +35,6 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (modeCfg.maxBlockquoteDepth === undefined) modeCfg.maxBlockquoteDepth = 0; - // Should underscores in words open/close em/strong? - if (modeCfg.underscoresBreakWords === undefined) - modeCfg.underscoresBreakWords = true; - - // Use `fencedCodeBlocks` to configure fenced code blocks. false to - // disable, string to specify a precise regexp that the fence should - // match, and true to allow three or more backticks or tildes (as - // per CommonMark). - // Turn on task lists? ("- [ ] " and "- [x] ") if (modeCfg.taskLists === undefined) modeCfg.taskLists = false; @@ -51,6 +42,18 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (modeCfg.strikethrough === undefined) modeCfg.strikethrough = false; + if (modeCfg.emoji === undefined) + modeCfg.emoji = false; + + if (modeCfg.fencedCodeBlockHighlighting === undefined) + modeCfg.fencedCodeBlockHighlighting = true; + + if (modeCfg.fencedCodeBlockDefaultMode === undefined) + modeCfg.fencedCodeBlockDefaultMode = 'text/plain'; + + if (modeCfg.xml === undefined) + modeCfg.xml = true; + // Allow token types to be overridden by user-provided token types. if (modeCfg.tokenTypeOverrides === undefined) modeCfg.tokenTypeOverrides = {}; @@ -63,7 +66,9 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { list2: "variable-3", list3: "keyword", hr: "hr", - image: "tag", + image: "image", + imageAltText: "image-alt-text", + imageMarker: "image-marker", formatting: "formatting", linkInline: "link", linkEmail: "link", @@ -71,7 +76,8 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { linkHref: "string", em: "em", strong: "strong", - strikethrough: "strikethrough" + strikethrough: "strikethrough", + emoji: "builtin" }; for (var tokenType in tokenTypes) { @@ -81,14 +87,15 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } var hrRE = /^([*\-_])(?:\s*\1){2,}\s*$/ - , ulRE = /^[*\-+]\s+/ - , olRE = /^[0-9]+([.)])\s+/ - , taskListRE = /^\[(x| )\](?=\s)/ // Must follow ulRE or olRE + , listRE = /^(?:[*\-+]|^[0-9]+([.)]))\s+/ + , taskListRE = /^\[(x| )\](?=\s)/i // Must follow listRE , atxHeaderRE = modeCfg.allowAtxHeaderWithoutSpace ? /^(#+)/ : /^(#+)(?: |$)/ - , setextHeaderRE = /^ *(?:\={1,}|-{1,})\s*$/ - , textRE = /^[^#!\[\]*_\\<>` "'(~]+/ - , fencedCodeRE = new RegExp("^(" + (modeCfg.fencedCodeBlocks === true ? "~~~+|```+" : modeCfg.fencedCodeBlocks) + - ")[ \\t]*([\\w+#\-]*)"); + , setextHeaderRE = /^ {0,3}(?:\={1,}|-{2,})\s*$/ + , textRE = /^[^#!\[\]*_\\<>` "'(~:]+/ + , fencedCodeRE = /^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/ + , linkDefRE = /^\s*\[[^\]]+?\]:.*$/ // naive link-definition + , punctuation = /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/ + , expandedTab = " " // CommonMark specifies tab as 4 spaces function switchInline(stream, state, f) { state.f = state.inline = f; @@ -109,6 +116,8 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { function blankLine(state) { // Reset linkTitle state state.linkTitle = false; + state.linkHref = false; + state.linkText = false; // Reset EM state state.em = false; // Reset STRONG state @@ -119,94 +128,106 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { state.quote = 0; // Reset state.indentedCode state.indentedCode = false; - if (htmlModeMissing && state.f == htmlBlock) { - state.f = inlineNormal; - state.block = blockNormal; + if (state.f == htmlBlock) { + var exit = htmlModeMissing + if (!exit) { + var inner = CodeMirror.innerMode(htmlMode, state.htmlState) + exit = inner.mode.name == "xml" && inner.state.tagStart === null && + (!inner.state.context && inner.state.tokenize.isInText) + } + if (exit) { + state.f = inlineNormal; + state.block = blockNormal; + state.htmlState = null; + } } // Reset state.trailingSpace state.trailingSpace = 0; state.trailingSpaceNewLine = false; // Mark this line as blank state.prevLine = state.thisLine - state.thisLine = null + state.thisLine = {stream: null} return null; } function blockNormal(stream, state) { - - var sol = stream.sol(); - - var prevLineIsList = state.list !== false, - prevLineIsIndentedCode = state.indentedCode; + var firstTokenOnLine = stream.column() === state.indentation; + var prevLineLineIsEmpty = lineIsEmpty(state.prevLine.stream); + var prevLineIsIndentedCode = state.indentedCode; + var prevLineIsHr = state.prevLine.hr; + var prevLineIsList = state.list !== false; + var maxNonCodeIndentation = (state.listStack[state.listStack.length - 1] || 0) + 3; state.indentedCode = false; - if (prevLineIsList) { - if (state.indentationDiff >= 0) { // Continued list - if (state.indentationDiff < 4) { // Only adjust indentation if *not* a code block - state.indentation -= state.indentationDiff; - } - state.list = null; - } else if (state.indentation > 0) { + var lineIndentation = state.indentation; + // compute once per line (on first token) + if (state.indentationDiff === null) { + state.indentationDiff = state.indentation; + if (prevLineIsList) { state.list = null; - } else { // No longer a list - state.list = false; + // While this list item's marker's indentation is less than the deepest + // list item's content's indentation,pop the deepest list item + // indentation off the stack, and update block indentation state + while (lineIndentation < state.listStack[state.listStack.length - 1]) { + state.listStack.pop(); + if (state.listStack.length) { + state.indentation = state.listStack[state.listStack.length - 1]; + // less than the first list's indent -> the line is no longer a list + } else { + state.list = false; + } + } + if (state.list !== false) { + state.indentationDiff = lineIndentation - state.listStack[state.listStack.length - 1] + } } } + // not comprehensive (currently only for setext detection purposes) + var allowsInlineContinuation = ( + !prevLineLineIsEmpty && !prevLineIsHr && !state.prevLine.header && + (!prevLineIsList || !prevLineIsIndentedCode) && + !state.prevLine.fencedCodeEnd + ); + + var isHr = (state.list === false || prevLineIsHr || prevLineLineIsEmpty) && + state.indentation <= maxNonCodeIndentation && stream.match(hrRE); + var match = null; - if (state.indentationDiff >= 4) { + if (state.indentationDiff >= 4 && (prevLineIsIndentedCode || state.prevLine.fencedCodeEnd || + state.prevLine.header || prevLineLineIsEmpty)) { stream.skipToEnd(); - if (prevLineIsIndentedCode || lineIsEmpty(state.prevLine)) { - state.indentation -= 4; - state.indentedCode = true; - return tokenTypes.code; - } else { - return null; - } + state.indentedCode = true; + return tokenTypes.code; } else if (stream.eatSpace()) { return null; - } else if ((match = stream.match(atxHeaderRE)) && match[1].length <= 6) { + } else if (firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(atxHeaderRE)) && match[1].length <= 6) { + state.quote = 0; state.header = match[1].length; + state.thisLine.header = true; if (modeCfg.highlightFormatting) state.formatting = "header"; state.f = state.inline; return getType(state); - } else if (!lineIsEmpty(state.prevLine) && !state.quote && !prevLineIsList && - !prevLineIsIndentedCode && (match = stream.match(setextHeaderRE))) { - state.header = match[0].charAt(0) == '=' ? 1 : 2; - if (modeCfg.highlightFormatting) state.formatting = "header"; - state.f = state.inline; - return getType(state); - } else if (stream.eat('>')) { - state.quote = sol ? 1 : state.quote + 1; + } else if (state.indentation <= maxNonCodeIndentation && stream.eat('>')) { + state.quote = firstTokenOnLine ? 1 : state.quote + 1; if (modeCfg.highlightFormatting) state.formatting = "quote"; stream.eatSpace(); return getType(state); - } else if (stream.peek() === '[') { - return switchInline(stream, state, footnoteLink); - } else if (stream.match(hrRE, true)) { - state.hr = true; - return tokenTypes.hr; - } else if ((lineIsEmpty(state.prevLine) || prevLineIsList) && (stream.match(ulRE, false) || stream.match(olRE, false))) { - var listType = null; - if (stream.match(ulRE, true)) { - listType = 'ul'; - } else { - stream.match(olRE, true); - listType = 'ol'; - } - state.indentation = stream.column() + stream.current().length; - state.list = true; + } else if (!isHr && !state.setext && firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(listRE))) { + var listType = match[1] ? "ol" : "ul"; - // While this list item's marker's indentation - // is less than the deepest list item's content's indentation, - // pop the deepest list item indentation off the stack. - while (state.listStack && stream.column() < state.listStack[state.listStack.length - 1]) { - state.listStack.pop(); - } + state.indentation = lineIndentation + stream.current().length; + state.list = true; + state.quote = 0; // Add this list item's content's indentation to the stack state.listStack.push(state.indentation); + // Reset inline styles which shouldn't propagate across list items + state.em = false; + state.strong = false; + state.code = false; + state.strikethrough = false; if (modeCfg.taskLists && stream.match(taskListRE, false)) { state.taskList = true; @@ -214,15 +235,47 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { state.f = state.inline; if (modeCfg.highlightFormatting) state.formatting = ["list", "list-" + listType]; return getType(state); - } else if (modeCfg.fencedCodeBlocks && (match = stream.match(fencedCodeRE, true))) { - state.fencedChars = match[1] + } else if (firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(fencedCodeRE, true))) { + state.quote = 0; + state.fencedEndRE = new RegExp(match[1] + "+ *$"); // try switching mode - state.localMode = getMode(match[2]); + state.localMode = modeCfg.fencedCodeBlockHighlighting && getMode(match[2] || modeCfg.fencedCodeBlockDefaultMode ); if (state.localMode) state.localState = CodeMirror.startState(state.localMode); state.f = state.block = local; if (modeCfg.highlightFormatting) state.formatting = "code-block"; state.code = -1 return getType(state); + // SETEXT has lowest block-scope precedence after HR, so check it after + // the others (code, blockquote, list...) + } else if ( + // if setext set, indicates line after ---/=== + state.setext || ( + // line before ---/=== + (!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false && + !state.code && !isHr && !linkDefRE.test(stream.string) && + (match = stream.lookAhead(1)) && (match = match.match(setextHeaderRE)) + ) + ) { + if ( !state.setext ) { + state.header = match[0].charAt(0) == '=' ? 1 : 2; + state.setext = state.header; + } else { + state.header = state.setext; + // has no effect on type so we can reset it now + state.setext = 0; + stream.skipToEnd(); + if (modeCfg.highlightFormatting) state.formatting = "header"; + } + state.thisLine.header = true; + state.f = state.inline; + return getType(state); + } else if (isHr) { + stream.skipToEnd(); + state.hr = true; + state.thisLine.hr = true; + return tokenTypes.hr; + } else if (stream.peek() === '[') { + return switchInline(stream, state, footnoteLink); } return switchInline(stream, state, state.inline); @@ -244,10 +297,21 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } function local(stream, state) { - if (state.fencedChars && stream.match(state.fencedChars, false)) { + var currListInd = state.listStack[state.listStack.length - 1] || 0; + var hasExitedList = state.indentation < currListInd; + var maxFencedEndInd = currListInd + 3; + if (state.fencedEndRE && state.indentation <= maxFencedEndInd && (hasExitedList || stream.match(state.fencedEndRE))) { + if (modeCfg.highlightFormatting) state.formatting = "code-block"; + var returnType; + if (!hasExitedList) returnType = getType(state) state.localMode = state.localState = null; - state.f = state.block = leavingLocal; - return null; + state.block = blockNormal; + state.f = inlineNormal; + state.fencedEndRE = null; + state.code = 0 + state.thisLine.fencedCodeEnd = true; + if (hasExitedList) return switchBlock(stream, state, state.block); + return returnType; } else if (state.localMode) { return state.localMode.token(stream, state.localState); } else { @@ -256,18 +320,6 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } } - function leavingLocal(stream, state) { - stream.match(state.fencedChars); - state.block = blockNormal; - state.f = inlineNormal; - state.fencedChars = null; - if (modeCfg.highlightFormatting) state.formatting = "code-block"; - state.code = 1 - var returnType = getType(state); - state.code = 0 - return returnType; - } - // Inline function getType(state) { var styles = []; @@ -311,8 +363,12 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (state.strong) { styles.push(tokenTypes.strong); } if (state.em) { styles.push(tokenTypes.em); } if (state.strikethrough) { styles.push(tokenTypes.strikethrough); } + if (state.emoji) { styles.push(tokenTypes.emoji); } if (state.linkText) { styles.push(tokenTypes.linkText); } if (state.code) { styles.push(tokenTypes.code); } + if (state.image) { styles.push(tokenTypes.image); } + if (state.imageAltText) { styles.push(tokenTypes.imageAltText, "link"); } + if (state.imageMarker) { styles.push(tokenTypes.imageMarker); } } if (state.header) { styles.push(tokenTypes.header, tokenTypes.header + "-" + state.header); } @@ -366,7 +422,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } if (state.taskList) { - var taskOpen = stream.match(taskListRE, true)[1] !== "x"; + var taskOpen = stream.match(taskListRE, true)[1] === " "; if (taskOpen) state.taskOpen = true; else state.taskClosed = true; if (modeCfg.highlightFormatting) state.formatting = "task"; @@ -382,9 +438,6 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return getType(state); } - // Get sol() value now, before character is consumed - var sol = stream.sol(); - var ch = stream.next(); // Matches link titles present on next line @@ -394,7 +447,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (ch === '(') { matchCh = ')'; } - matchCh = (matchCh+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1"); + matchCh = (matchCh+'').replace(/([.?*+^\[\]\\(){}|-])/g, "\\$1"); var regex = '^\\s*(?:[^' + matchCh + '\\\\]+|\\\\\\\\|\\\\.)' + matchCh; if (stream.match(new RegExp(regex), true)) { return tokenTypes.linkHref; @@ -407,7 +460,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (modeCfg.highlightFormatting) state.formatting = "code"; stream.eatWhile('`'); var count = stream.current().length - if (state.code == 0) { + if (state.code == 0 && (!state.quote || count == 1)) { state.code = count return getType(state) } else if (count == state.code) { // Must be exact @@ -432,22 +485,40 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } if (ch === '!' && stream.match(/\[[^\]]*\] ?(?:\(|\[)/, false)) { - stream.match(/\[[^\]]*\]/); + state.imageMarker = true; + state.image = true; + if (modeCfg.highlightFormatting) state.formatting = "image"; + return getType(state); + } + + if (ch === '[' && state.imageMarker && stream.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/, false)) { + state.imageMarker = false; + state.imageAltText = true + if (modeCfg.highlightFormatting) state.formatting = "image"; + return getType(state); + } + + if (ch === ']' && state.imageAltText) { + if (modeCfg.highlightFormatting) state.formatting = "image"; + var type = getType(state); + state.imageAltText = false; + state.image = false; state.inline = state.f = linkHref; - return tokenTypes.image; + return type; } - if (ch === '[' && stream.match(/[^\]]*\](\(.*\)| ?\[.*?\])/, false)) { + if (ch === '[' && !state.image) { + if (state.linkText && stream.match(/^.*?\]/)) return getType(state) state.linkText = true; if (modeCfg.highlightFormatting) state.formatting = "link"; return getType(state); } - if (ch === ']' && state.linkText && stream.match(/\(.*?\)| ?\[.*?\]/, false)) { + if (ch === ']' && state.linkText) { if (modeCfg.highlightFormatting) state.formatting = "link"; var type = getType(state); state.linkText = false; - state.inline = state.f = linkHref; + state.inline = state.f = stream.match(/\(.*?\)| ?\[.*?\]/, false) ? linkHref : inlineNormal return type; } @@ -475,7 +546,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return type + tokenTypes.linkEmail; } - if (ch === '<' && stream.match(/^(!--|\w)/, false)) { + if (modeCfg.xml && ch === '<' && stream.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i, false)) { var end = stream.string.indexOf(">", stream.pos); if (end != -1) { var atts = stream.string.substring(stream.start, end); @@ -486,44 +557,37 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return switchBlock(stream, state, htmlBlock); } - if (ch === '<' && stream.match(/^\/\w*?>/)) { + if (modeCfg.xml && ch === '<' && stream.match(/^\/\w*?>/)) { state.md_inside = false; return "tag"; - } - - var ignoreUnderscore = false; - if (!modeCfg.underscoresBreakWords) { - if (ch === '_' && stream.peek() !== '_' && stream.match(/(\w)/, false)) { - var prevPos = stream.pos - 2; - if (prevPos >= 0) { - var prevCh = stream.string.charAt(prevPos); - if (prevCh !== '_' && prevCh.match(/(\w)/, false)) { - ignoreUnderscore = true; - } - } + } else if (ch === "*" || ch === "_") { + var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2) + while (len < 3 && stream.eat(ch)) len++ + var after = stream.peek() || " " + // See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis + var leftFlanking = !/\s/.test(after) && (!punctuation.test(after) || /\s/.test(before) || punctuation.test(before)) + var rightFlanking = !/\s/.test(before) && (!punctuation.test(before) || /\s/.test(after) || punctuation.test(after)) + var setEm = null, setStrong = null + if (len % 2) { // Em + if (!state.em && leftFlanking && (ch === "*" || !rightFlanking || punctuation.test(before))) + setEm = true + else if (state.em == ch && rightFlanking && (ch === "*" || !leftFlanking || punctuation.test(after))) + setEm = false } - } - if (ch === '*' || (ch === '_' && !ignoreUnderscore)) { - if (sol && stream.peek() === ' ') { - // Do nothing, surrounded by newline and space - } else if (state.strong === ch && stream.eat(ch)) { // Remove STRONG - if (modeCfg.highlightFormatting) state.formatting = "strong"; - var t = getType(state); - state.strong = false; - return t; - } else if (!state.strong && stream.eat(ch)) { // Add STRONG - state.strong = ch; - if (modeCfg.highlightFormatting) state.formatting = "strong"; - return getType(state); - } else if (state.em === ch) { // Remove EM - if (modeCfg.highlightFormatting) state.formatting = "em"; - var t = getType(state); - state.em = false; - return t; - } else if (!state.em) { // Add EM - state.em = ch; - if (modeCfg.highlightFormatting) state.formatting = "em"; - return getType(state); + if (len > 1) { // Strong + if (!state.strong && leftFlanking && (ch === "*" || !rightFlanking || punctuation.test(before))) + setStrong = true + else if (state.strong == ch && rightFlanking && (ch === "*" || !leftFlanking || punctuation.test(after))) + setStrong = false + } + if (setStrong != null || setEm != null) { + if (modeCfg.highlightFormatting) state.formatting = setEm == null ? "strong" : setStrong == null ? "em" : "strong em" + if (setEm === true) state.em = ch + if (setStrong === true) state.strong = ch + var t = getType(state) + if (setEm === false) state.em = false + if (setStrong === false) state.strong = false + return t } } else if (ch === ' ') { if (stream.eat('*') || stream.eat('_')) { // Probably surrounded by spaces @@ -548,7 +612,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return getType(state); } } else if (ch === ' ') { - if (stream.match(/^~~/, true)) { // Probably surrounded by space + if (stream.match('~~', true)) { // Probably surrounded by space if (stream.peek() === ' ') { // Surrounded by spaces, ignore return getType(state); } else { // Not surrounded by spaces, back up pointer @@ -558,8 +622,16 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } } + if (modeCfg.emoji && ch === ":" && stream.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)) { + state.emoji = true; + if (modeCfg.highlightFormatting) state.formatting = "emoji"; + var retType = getType(state); + state.emoji = false; + return retType; + } + if (ch === ' ') { - if (stream.match(/ +$/, false)) { + if (stream.match(/^ +$/, false)) { state.trailingSpace++; } else if (state.trailingSpace) { state.trailingSpaceNewLine = true; @@ -596,7 +668,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } var ch = stream.next(); if (ch === '(' || ch === '[') { - state.f = state.inline = getLinkHrefInside(ch === "(" ? ")" : "]", 0); + state.f = state.inline = getLinkHrefInside(ch === "(" ? ")" : "]"); if (modeCfg.highlightFormatting) state.formatting = "link-string"; state.linkHref = true; return getType(state); @@ -606,7 +678,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { var linkRE = { ")": /^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/, - "]": /^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\\]]|\\.)*\])*?(?=\])/ + "]": /^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/ } function getLinkHrefInside(endChar) { @@ -639,7 +711,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { } function footnoteLinkInside(stream, state) { - if (stream.match(/^\]:/, true)) { + if (stream.match(']:', true)) { state.f = state.inline = footnoteUrl; if (modeCfg.highlightFormatting) state.formatting = "link"; var returnType = getType(state); @@ -663,7 +735,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { if (stream.peek() === undefined) { // End of line, set flag to check next line state.linkTitle = true; } else { // More content on line, check if link title - stream.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/, true); + stream.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/, true); } state.f = state.inline = inlineNormal; return tokenTypes.linkHref + " url"; @@ -674,8 +746,8 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return { f: blockNormal, - prevLine: null, - thisLine: null, + prevLine: {stream: null}, + thisLine: {stream: null}, block: blockNormal, htmlState: null, @@ -692,6 +764,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { em: false, strong: false, header: 0, + setext: 0, hr: false, taskList: false, list: false, @@ -700,7 +773,8 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { trailingSpace: 0, trailingSpaceNewLine: false, strikethrough: false, - fencedChars: null + emoji: false, + fencedEndRE: null }; }, @@ -721,12 +795,16 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { inline: s.inline, text: s.text, formatting: false, + linkText: s.linkText, linkTitle: s.linkTitle, + linkHref: s.linkHref, code: s.code, em: s.em, strong: s.strong, strikethrough: s.strikethrough, + emoji: s.emoji, header: s.header, + setext: s.setext, hr: s.hr, taskList: s.taskList, list: s.list, @@ -736,7 +814,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { trailingSpace: s.trailingSpace, trailingSpaceNewLine: s.trailingSpaceNewLine, md_inside: s.md_inside, - fencedChars: s.fencedChars + fencedEndRE: s.fencedEndRE }; }, @@ -745,21 +823,17 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { // Reset state.formatting state.formatting = false; - if (stream != state.thisLine) { - var forceBlankLine = state.header || state.hr; - - // Reset state.header and state.hr + if (stream != state.thisLine.stream) { state.header = 0; state.hr = false; - if (stream.match(/^\s*$/, true) || forceBlankLine) { + if (stream.match(/^\s*$/, true)) { blankLine(state); - if (!forceBlankLine) return null - state.prevLine = null + return null; } state.prevLine = state.thisLine - state.thisLine = stream + state.thisLine = {stream: stream} // Reset state.taskList state.taskList = false; @@ -768,11 +842,15 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { state.trailingSpace = 0; state.trailingSpaceNewLine = false; - state.f = state.block; - var indentation = stream.match(/^\s*/, true)[0].replace(/\t/g, ' ').length; - state.indentationDiff = Math.min(indentation - state.indentation, 4); - state.indentation = state.indentation + state.indentationDiff; - if (indentation > 0) return null; + if (!state.localState) { + state.f = state.block; + if (state.f != htmlBlock) { + var indentation = stream.match(/^\s*/, true)[0].replace(/\t/g, expandedTab).length; + state.indentation = indentation; + state.indentationDiff = null; + if (indentation > 0) return null; + } + } } return state.f(stream, state); }, @@ -783,15 +861,26 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) { return {state: state, mode: mode}; }, + indent: function(state, textAfter, line) { + if (state.block == htmlBlock && htmlMode.indent) return htmlMode.indent(state.htmlState, textAfter, line) + if (state.localState && state.localMode.indent) return state.localMode.indent(state.localState, textAfter, line) + return CodeMirror.Pass + }, + blankLine: blankLine, getType: getType, + blockCommentStart: "", + closeBrackets: "()[]{}''\"\"``", fold: "markdown" }; return mode; }, "xml"); +CodeMirror.defineMIME("text/markdown", "markdown"); + CodeMirror.defineMIME("text/x-markdown", "markdown"); }); diff --git a/src/lib/codemirror/mode/pug/pug.js b/src/lib/codemirror/mode/pug/pug.js index 40182336..64f54302 100644 --- a/src/lib/codemirror/mode/pug/pug.js +++ b/src/lib/codemirror/mode/pug/pug.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -261,7 +261,7 @@ CodeMirror.defineMode("pug", function (config) { } return 'variable'; } - if (stream.match(/^\+#{/, false)) { + if (stream.match('+#{', false)) { stream.next(); state.mixinCallAfter = true; return interpolation(stream, state); @@ -545,12 +545,12 @@ CodeMirror.defineMode("pug", function (config) { || javaScriptArguments(stream, state) || callArguments(stream, state) - || yieldStatement(stream, state) - || doctype(stream, state) + || yieldStatement(stream) + || doctype(stream) || interpolation(stream, state) || caseStatement(stream, state) || when(stream, state) - || defaultStatement(stream, state) + || defaultStatement(stream) || extendsStatement(stream, state) || append(stream, state) || prepend(stream, state) @@ -565,16 +565,16 @@ CodeMirror.defineMode("pug", function (config) { || tag(stream, state) || filter(stream, state) || code(stream, state) - || id(stream, state) - || className(stream, state) + || id(stream) + || className(stream) || attrs(stream, state) || attributesBlock(stream, state) - || indent(stream, state) + || indent(stream) || text(stream, state) || comment(stream, state) - || colon(stream, state) + || colon(stream) || dot(stream, state) - || fail(stream, state); + || fail(stream); return tok === true ? null : tok; } diff --git a/src/lib/codemirror/mode/sass/sass.js b/src/lib/codemirror/mode/sass/sass.js index 6973ece2..3cfac0a4 100644 --- a/src/lib/codemirror/mode/sass/sass.js +++ b/src/lib/codemirror/mode/sass/sass.js @@ -1,17 +1,23 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS - mod(require("../../lib/codemirror")); + mod(require("../../lib/codemirror"), require("../css/css")); else if (typeof define == "function" && define.amd) // AMD - define(["../../lib/codemirror"], mod); + define(["../../lib/codemirror", "../css/css"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("sass", function(config) { + var cssMode = CodeMirror.mimeModes["text/css"]; + var propertyKeywords = cssMode.propertyKeywords || {}, + colorKeywords = cssMode.colorKeywords || {}, + valueKeywords = cssMode.valueKeywords || {}, + fontProperties = cssMode.fontProperties || {}; + function tokenRegexp(words) { return new RegExp("^" + words.join("|")); } @@ -25,6 +31,12 @@ CodeMirror.defineMode("sass", function(config) { var pseudoElementsRegexp = /^::?[a-zA-Z_][\w\-]*/; + var word; + + function isEndLine(stream) { + return !stream.peek() || stream.match(/\s+$/, false); + } + function urlTokens(stream, state) { var ch = stream.peek(); @@ -76,6 +88,9 @@ CodeMirror.defineMode("sass", function(config) { if (endingString) { if (nextChar !== quote && greedy) { stream.next(); } + if (isEndLine(stream)) { + state.cursorHalf = 0; + } state.tokenizer = tokenBase; return "string"; } else if (nextChar === "#" && peekChar === "{") { @@ -147,14 +162,20 @@ CodeMirror.defineMode("sass", function(config) { // first half i.e. before : for key-value pairs // including selectors + if (ch === "-") { + if (stream.match(/^-\w+-/)) { + return "meta"; + } + } + if (ch === ".") { stream.next(); if (stream.match(/^[\w-]+/)) { indent(state); - return "atom"; + return "qualifier"; } else if (stream.peek() === "#") { indent(state); - return "atom"; + return "tag"; } } @@ -163,11 +184,11 @@ CodeMirror.defineMode("sass", function(config) { // ID selectors if (stream.match(/^[\w-]+/)) { indent(state); - return "atom"; + return "builtin"; } if (stream.peek() === "#") { indent(state); - return "atom"; + return "tag"; } } @@ -210,7 +231,7 @@ CodeMirror.defineMode("sass", function(config) { } if(ch === "@"){ - if(stream.match(/@extend/)){ + if(stream.match('@extend')){ if(!stream.match(/\s*[\w]/)) dedent(state); } @@ -220,37 +241,48 @@ CodeMirror.defineMode("sass", function(config) { // Indent Directives if (stream.match(/^@(else if|if|media|else|for|each|while|mixin|function)/)) { indent(state); - return "meta"; + return "def"; } // Other Directives if (ch === "@") { stream.next(); stream.eatWhile(/[\w-]/); - return "meta"; + return "def"; } if (stream.eatWhile(/[\w-]/)){ if(stream.match(/ *: *[\w-\+\$#!\("']/,false)){ - return "property"; + word = stream.current().toLowerCase(); + var prop = state.prevProp + "-" + word; + if (propertyKeywords.hasOwnProperty(prop)) { + return "property"; + } else if (propertyKeywords.hasOwnProperty(word)) { + state.prevProp = word; + return "property"; + } else if (fontProperties.hasOwnProperty(word)) { + return "property"; + } + return "tag"; } else if(stream.match(/ *:/,false)){ indent(state); state.cursorHalf = 1; - return "atom"; + state.prevProp = stream.current().toLowerCase(); + return "property"; } else if(stream.match(/ *,/,false)){ - return "atom"; + return "tag"; } else{ indent(state); - return "atom"; + return "tag"; } } if(ch === ":"){ if (stream.match(pseudoElementsRegexp)){ // could be a pseudo-element - return "keyword"; + return "variable-3"; } stream.next(); state.cursorHalf=1; @@ -264,7 +296,7 @@ CodeMirror.defineMode("sass", function(config) { stream.next(); // Hex numbers if (stream.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)){ - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "number"; @@ -273,7 +305,7 @@ CodeMirror.defineMode("sass", function(config) { // Numbers if (stream.match(/^-?[0-9\.]+/)){ - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "number"; @@ -281,14 +313,14 @@ CodeMirror.defineMode("sass", function(config) { // Units if (stream.match(/^(px|em|in)\b/)){ - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "unit"; } if (stream.match(keywordsRegexp)){ - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "keyword"; @@ -296,7 +328,7 @@ CodeMirror.defineMode("sass", function(config) { if (stream.match(/^url/) && stream.peek() === "(") { state.tokenizer = urlTokens; - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "atom"; @@ -306,23 +338,21 @@ CodeMirror.defineMode("sass", function(config) { if (ch === "$") { stream.next(); stream.eatWhile(/[\w-]/); - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } - return "variable-3"; + return "variable-2"; } // bang character for !important, !default, etc. if (ch === "!") { stream.next(); - if(!stream.peek()){ - state.cursorHalf = 0; - } + state.cursorHalf = 0; return stream.match(/^[\w]+/) ? "keyword": "operator"; } if (stream.match(opRegexp)){ - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } return "operator"; @@ -330,14 +360,24 @@ CodeMirror.defineMode("sass", function(config) { // attributes if (stream.eatWhile(/[\w-]/)) { - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; } - return "attribute"; + word = stream.current().toLowerCase(); + if (valueKeywords.hasOwnProperty(word)) { + return "atom"; + } else if (colorKeywords.hasOwnProperty(word)) { + return "keyword"; + } else if (propertyKeywords.hasOwnProperty(word)) { + state.prevProp = stream.current().toLowerCase(); + return "property"; + } else { + return "tag"; + } } //stream.eatSpace(); - if(!stream.peek()){ + if (isEndLine(stream)) { state.cursorHalf = 0; return null; } @@ -405,9 +445,14 @@ CodeMirror.defineMode("sass", function(config) { indent: function(state) { return state.scopes[0].offset; - } + }, + + blockCommentStart: "/*", + blockCommentEnd: "*/", + lineComment: "//", + fold: "indent" }; -}); +}, "css"); CodeMirror.defineMIME("text/x-sass", "sass"); diff --git a/src/lib/codemirror/mode/stylus/stylus.js b/src/lib/codemirror/mode/stylus/stylus.js index 8d83a018..dae99e5d 100644 --- a/src/lib/codemirror/mode/stylus/stylus.js +++ b/src/lib/codemirror/mode/stylus/stylus.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE // Stylus mode created by Dmitry Kiselyov http://git.io/AaRB @@ -15,6 +15,7 @@ CodeMirror.defineMode("stylus", function(config) { var indentUnit = config.indentUnit, + indentUnitString = '', tagKeywords = keySet(tagKeywords_), tagVariablesRegexp = /^(a|b|i|s|col|em)$/i, propertyKeywords = keySet(propertyKeywords_), @@ -38,6 +39,8 @@ type, override; + while (indentUnitString.length < indentUnit) indentUnitString += ' '; + /** * Tokenizers */ @@ -73,7 +76,7 @@ if (ch == "#") { stream.next(); // Hex color - if (stream.match(/^[0-9a-f]{6}|[0-9a-f]{3}/i)) { + if (stream.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i)) { return ["atom", "atom"]; } // ID selector @@ -135,7 +138,7 @@ // Variable if (stream.match(/^(\.|\[)[\w-\'\"\]]+/i, false)) { if (!wordIsTag(stream.current())) { - stream.match(/\./); + stream.match('.'); return ["variable-2", "variable-name"]; } } @@ -313,7 +316,7 @@ return pushContext(state, stream, "block", 0); } } - if (typeIsBlock(type, stream, state)) { + if (typeIsBlock(type, stream)) { return pushContext(state, stream, "block"); } if (type == "}" && endOfLine(stream)) { @@ -513,7 +516,7 @@ */ states.atBlock = function(type, stream, state) { if (type == "(") return pushContext(state, stream, "atBlock_parens"); - if (typeIsBlock(type, stream, state)) { + if (typeIsBlock(type, stream)) { return pushContext(state, stream, "block"); } if (typeIsInterpolation(type, stream)) { @@ -672,7 +675,7 @@ ch = textAfter && textAfter.charAt(0), indent = cx.indent, lineFirstWord = firstWordOfLine(textAfter), - lineIndent = line.length - line.replace(/^\s*/, "").length, + lineIndent = line.match(/^\s*/)[0].replace(/\t/g, indentUnitString).length, prevLineFirstWord = state.context.prev ? state.context.prev.line.firstWord : "", prevLineIndent = state.context.prev ? state.context.prev.line.indent : lineIndent; @@ -681,7 +684,6 @@ ch == ")" && (cx.type == "parens" || cx.type == "atBlock_parens") || ch == "{" && (cx.type == "at"))) { indent = cx.indent - indentUnit; - cx = cx.prev; } else if (!(/(\})/.test(ch))) { if (/@|\$|\d/.test(ch) || /^\{/.test(textAfter) || @@ -720,6 +722,9 @@ return indent; }, electricChars: "}", + blockCommentStart: "/*", + blockCommentEnd: "*/", + blockCommentContinue: " * ", lineComment: "//", fold: "indent" }; @@ -729,14 +734,15 @@ var tagKeywords_ = ["a","abbr","address","area","article","aside","audio", "b", "base","bdi", "bdo","bgsound","blockquote","body","br","button","canvas","caption","cite", "code","col","colgroup","data","datalist","dd","del","details","dfn","div", "dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1", "h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe", "img","input","ins","kbd","keygen","label","legend","li","link","main","map", "mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes", "noscript","object","ol","optgroup","option","output","p","param","pre", "progress","q","rp","rt","ruby","s","samp","script","section","select", "small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track", "u","ul","var","video"]; // github.com/codemirror/CodeMirror/blob/master/mode/css/css.js - var documentTypes_ = ["domain", "regexp", "url", "url-prefix"]; + // Note, "url-prefix" should precede "url" in order to match correctly in documentTypesRegexp + var documentTypes_ = ["domain", "regexp", "url-prefix", "url"]; var mediaTypes_ = ["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"]; - var mediaFeatures_ = ["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"]; + var mediaFeatures_ = ["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"]; var propertyKeywords_ = ["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"]; var nonStandardPropertyKeywords_ = ["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"]; var fontProperties_ = ["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]; var colorKeywords_ = ["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]; - var valueKeywords_ = ["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around", "unset"]; + var valueKeywords_ = ["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around", "unset"]; var wordOperatorKeywords_ = ["in","and","or","not","is not","is a","is","isnt","defined","if unless"], blockKeywords_ = ["for","if","else","unless", "from", "to"], diff --git a/src/lib/codemirror/mode/xml/xml.js b/src/lib/codemirror/mode/xml/xml.js index f987a3a3..701e151a 100644 --- a/src/lib/codemirror/mode/xml/xml.js +++ b/src/lib/codemirror/mode/xml/xml.js @@ -1,5 +1,5 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others -// Distributed under an MIT license: http://codemirror.net/LICENSE +// Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS @@ -52,6 +52,7 @@ var xmlConfig = { doNotIndent: {}, allowUnquoted: false, allowMissing: false, + allowMissingTagName: false, caseFold: false } @@ -162,8 +163,9 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { stream.next(); } return style; - }; + } } + function doctype(depth) { return function(stream, state) { var ch; @@ -185,9 +187,13 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { }; } + function lower(tagName) { + return tagName && tagName.toLowerCase(); + } + function Context(state, tagName, startOfLine) { this.prev = state.context; - this.tagName = tagName; + this.tagName = tagName || ""; this.indent = state.indented; this.startOfLine = startOfLine; if (config.doNotIndent.hasOwnProperty(tagName) || (state.context && state.context.noIndent)) @@ -203,8 +209,8 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { return; } parentTagName = state.context.tagName; - if (!config.contextGrabbers.hasOwnProperty(parentTagName) || - !config.contextGrabbers[parentTagName].hasOwnProperty(nextTagName)) { + if (!config.contextGrabbers.hasOwnProperty(lower(parentTagName)) || + !config.contextGrabbers[lower(parentTagName)].hasOwnProperty(lower(nextTagName))) { return; } popContext(state); @@ -226,6 +232,9 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { state.tagName = stream.current(); setStyle = "tag"; return attrState; + } else if (config.allowMissingTagName && type == "endTag") { + setStyle = "tag bracket"; + return attrState(type, stream, state); } else { setStyle = "error"; return tagNameState; @@ -235,7 +244,7 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { if (type == "word") { var tagName = stream.current(); if (state.context && state.context.tagName != tagName && - config.implicitlyClosed.hasOwnProperty(state.context.tagName)) + config.implicitlyClosed.hasOwnProperty(lower(state.context.tagName))) popContext(state); if ((state.context && state.context.tagName == tagName) || config.matchClosing === false) { setStyle = "tag"; @@ -244,6 +253,9 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { setStyle = "tag error"; return closeStateErr; } + } else if (config.allowMissingTagName && type == "endTag") { + setStyle = "tag bracket"; + return closeState(type, stream, state); } else { setStyle = "error"; return closeStateErr; @@ -271,7 +283,7 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { var tagName = state.tagName, tagStart = state.tagStart; state.tagName = state.tagStart = null; if (type == "selfcloseTag" || - config.autoSelfClosers.hasOwnProperty(tagName)) { + config.autoSelfClosers.hasOwnProperty(lower(tagName))) { maybePopContext(state, tagName); } else { maybePopContext(state, tagName); @@ -351,7 +363,7 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { if (context.tagName == tagAfter[2]) { context = context.prev; break; - } else if (config.implicitlyClosed.hasOwnProperty(context.tagName)) { + } else if (config.implicitlyClosed.hasOwnProperty(lower(context.tagName))) { context = context.prev; } else { break; @@ -359,8 +371,8 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { } } else if (tagAfter) { // Opening tag spotted while (context) { - var grabbers = config.contextGrabbers[context.tagName]; - if (grabbers && grabbers.hasOwnProperty(tagAfter[2])) + var grabbers = config.contextGrabbers[lower(context.tagName)]; + if (grabbers && grabbers.hasOwnProperty(lower(tagAfter[2]))) context = context.prev; else break; @@ -382,6 +394,17 @@ CodeMirror.defineMode("xml", function(editorConf, config_) { skipAttribute: function(state) { if (state.state == attrValueState) state.state = attrState + }, + + xmlCurrentTag: function(state) { + return state.tagName ? {name: state.tagName, close: state.type == "closeTag"} : null + }, + + xmlCurrentContext: function(state) { + var context = [] + for (var cx = state.context; cx; cx = cx.prev) + context.push(cx.tagName) + return context.reverse() } }; }); diff --git a/src/lib/hint.min.css b/src/lib/hint.min.css index 5cc5d329..7a718288 100644 --- a/src/lib/hint.min.css +++ b/src/lib/hint.min.css @@ -1,5 +1,27 @@ -/*! Hint.css - v2.3.1 - 2016-06-05 -* http://kushagragour.in/lab/hint/ -* Copyright (c) 2016 Kushagra Gour; Licensed */ +/*! Hint.css - v3.0.0 - 2023-11-29 +* https://kushagra.dev/lab/hint/ +* Copyright (c) 2023 Kushagra Gour */ -[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)} \ No newline at end of file +[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;transition:.3s ease;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;transition-delay:.1s}[class*=hint--]:before{content:"";position:absolute;background:#383838;border:6px solid transparent;clip-path:polygon(0 0,100% 0,100% 100%);z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:1rem;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1rem;white-space:nowrap;text-shadow:0 1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}.hint--error:after,.hint--error:before{background-color:#b24e4c}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label=""]:after,[aria-label=""]:before,[data-hint=""]:after,[data-hint=""]:before{display:none!important}.hint--top{--rotation:135deg}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--top:after{transform:translateX(-50%)}.hint--top:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top:hover:after{transform:translateX(-50%) translateY(-8px)}.hint--bottom{--rotation:-45deg}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--bottom:after{transform:translateX(-50%)}.hint--bottom:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom:hover:after{transform:translateX(-50%) translateY(8px)}.hint--right{--rotation:-135deg}.hint--right:before{margin-left:-5.5px;margin-bottom:-6px;transform:rotate(var(--rotation))}.hint--right:after{margin-bottom:calc(-1 * (1rem + 16px)/ 2)}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:before{transform:translateX(8px) rotate(var(--rotation))}.hint--right:hover:after{transform:translateX(8px)}.hint--left{--rotation:45deg}.hint--left:before{margin-right:-5.5px;margin-bottom:-6px;transform:rotate(var(--rotation))}.hint--left:after{margin-bottom:calc(-1 * (1rem + 16px)/ 2)}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:before{transform:translateX(-8px) rotate(var(--rotation))}.hint--left:hover:after{transform:translateX(-8px)}.hint--top-left{--rotation:135deg}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--top-left:after{transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top-left:hover:after{transform:translateX(-100%) translateY(-8px)}.hint--top-right{--rotation:135deg}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--top-right:after{transform:translateX(0);margin-left:-12px}.hint--top-right:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top-right:hover:after{transform:translateY(-8px)}.hint--bottom-left{--rotation:-45deg}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--bottom-left:after{transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom-left:hover:after{transform:translateX(-100%) translateY(8px)}.hint--bottom-right{--rotation:-45deg}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-5.5px;transform:rotate(var(--rotation));left:calc(50% - 6px)}.hint--bottom-right:after{transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom-right:hover:after{transform:translateY(8px)}.hint--fit:after,.hint--large:after,.hint--medium:after,.hint--small:after{box-sizing:border-box;white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--fit:after{width:100%}.hint--error:after{text-shadow:0 1px 0 #592726}.hint--warning:after,.hint--warning:before{background-color:#bf9853}.hint--warning:after{text-shadow:0 1px 0 #6c5328}.hint--info:after,.hint--info:before{background-color:#3985ac}.hint--info:after{text-shadow:0 1px 0 #1a3c4d}.hint--success:after,.hint--success:before{background-color:#458646}.hint--success:after{text-shadow:0 1px 0 #1a321a}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top:after{transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top-left:after{transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top-right:after{transform:translateY(-8px)}.hint--always.hint--bottom:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom:after{transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom-left:after{transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom-right:after{transform:translateY(8px)}.hint--always.hint--left:before{transform:translateX(-8px) rotate(var(--rotation))}.hint--always.hint--left:after{transform:translateX(-8px)}.hint--always.hint--right:before{transform:translateX(8px) rotate(var(--rotation))}.hint--always.hint--right:after{transform:translateX(8px)}.hint--rounded:before{border-radius:0 4px 0 0}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{transition-duration:0s}.hint--bounce:after,.hint--bounce:before{transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}@supports (transition-timing-function:linear(0,1)){.hint--bounce:after,.hint--bounce:before{--spring-easing:linear( + 0, + 0.009, + 0.035 2.1%, + 0.141 4.4%, + 0.723 12.9%, + 0.938, + 1.077 20.4%, + 1.121, + 1.149 24.3%, + 1.159, + 1.163 27%, + 1.154, + 1.129 32.8%, + 1.051 39.6%, + 1.017 43.1%, + 0.991, + 0.977 51%, + 0.975 57.1%, + 0.997 69.8%, + 1.003 76.9%, + 1 +);transition:opacity .3s ease,visibility .3s ease,transform .5s var(--spring-easing)}}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none} \ No newline at end of file diff --git a/src/lib/inlet.css b/src/lib/inlet.css index 53aa2c11..33a75393 100644 --- a/src/lib/inlet.css +++ b/src/lib/inlet.css @@ -18,7 +18,7 @@ height: 14px; box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5); background-color: #d6d6d6; - background-image: linear-gradient(top, #d6d6d6, #ebebeb); + background-image: linear-gradient(to top, #d6d6d6, #ebebeb); } .inlet_slider:hover { opacity: 0.98; @@ -55,7 +55,7 @@ box-shadow: 0px 0px 3px 0px rgba(4, 4, 4, 0.4); background-color: #424242; background-color: crimson; - background-image: linear-gradient(top, #424242, #212121); + background-image: linear-gradient(to top, #424242, #212121); } /* * ========================================================= @@ -87,11 +87,11 @@ width: 229px; z-index: 100; border-radius: 3px; - -webkit-box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5); + box-shadow: inset 0px 0px 5px 0px rgba(4, 4, 4, 0.5); background-color: rgba(214, 214, 215, 0.85); /* - background-image: linear-gradient(top, rgb(214, 214, 214), rgb(235, 235, 235)); + background-image: linear-gradient(to top, rgb(214, 214, 214), rgb(235, 235, 235)); */ } .ColorPicker br { @@ -104,8 +104,8 @@ color: #aa1212; } .ColorPicker input.hexInput { - -webkit-transition-property: color; - -webkit-transition-duration: .5s; +transition-property: color; +transition-duration: .5s; background: none; border: 0; margin: 0; diff --git a/src/lib/screenlog.js b/src/lib/screenlog.js index 52981cdb..6ea7ff6f 100644 --- a/src/lib/screenlog.js +++ b/src/lib/screenlog.js @@ -1,4 +1,4 @@ -let mainWindow = window.parent; +let mainWindow = window.parent === window ? window.opener : window.parent; function sanitizeDomNode(node) { const fakeNode = { diff --git a/src/lib/transpilers/atomizer.browser.js b/src/lib/transpilers/atomizer.browser.js index 6086db56..9956dad4 100644 --- a/src/lib/transpilers/atomizer.browser.js +++ b/src/lib/transpilers/atomizer.browser.js @@ -1,2 +1,14 @@ -!function(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory():"function"==typeof define&&define.amd?define([],factory):"object"==typeof exports?exports.Atomizer=factory():root.Atomizer=factory()}(this,function(){return function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=4)}([function(module,exports,__webpack_require__){(function(global,module){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayEach(array,iteratee){for(var index=-1,length=null==array?0:array.length;++index-1}function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index-1;);return index}function charsEndIndex(strSymbols,chrSymbols){for(var index=strSymbols.length;index--&&baseIndexOf(chrSymbols,strSymbols[index],0)>-1;);return index}function hasUnicode(string){return reHasUnicode.test(string)}function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function replaceHolders(array,placeholder){for(var index=-1,length=array.length,resIndex=0,result=[];++index>>1,wrapFlags=[["ary",WRAP_ARY_FLAG],["bind",WRAP_BIND_FLAG],["bindKey",WRAP_BIND_KEY_FLAG],["curry",WRAP_CURRY_FLAG],["curryRight",WRAP_CURRY_RIGHT_FLAG],["flip",WRAP_FLIP_FLAG],["partial",WRAP_PARTIAL_FLAG],["partialRight",WRAP_PARTIAL_RIGHT_FLAG],["rearg",WRAP_REARG_FLAG]],argsTag="[object Arguments]",arrayTag="[object Array]",asyncTag="[object AsyncFunction]",boolTag="[object Boolean]",dateTag="[object Date]",domExcTag="[object DOMException]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",nullTag="[object Null]",objectTag="[object Object]",proxyTag="[object Proxy]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",undefinedTag="[object Undefined]",weakMapTag="[object WeakMap]",weakSetTag="[object WeakSet]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reUnescapedHtml=/[&<>"']/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source),reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source),reTrim=/^\s+|\s+$/g,reTrimStart=/^\s+/,reTrimEnd=/\s+$/,reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /,reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,reEscapeChar=/\\(\\)?/g,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reFlags=/\w*$/,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsHostCtor=/^\[object .+?Constructor\]$/,reIsOctal=/^0o[0-7]+$/i,reIsUint=/^(?:0|[1-9]\d*)$/,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,rsComboRange="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",rsBreakRange="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsAstral="[\\ud800-\\udfff]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="[\\u2700-\\u27bf]",rsLower="[a-z\\xdf-\\xf6\\xf8-\\xff]",rsMisc="[^\\ud800-\\udfff"+rsBreakRange+rsDigits+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsNonAstral="[^\\ud800-\\udfff]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",reOptMod="(?:"+rsCombo+"|"+rsFitz+")"+"?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reApos=RegExp("['’]","g"),reComboMark=RegExp(rsCombo,"g"),reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g"),reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?",rsUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",rsDigits,rsEmoji].join("|"),"g"),reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff"+rsComboRange+"\\ufe0e\\ufe0f]"),reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,contextProps=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],templateCounter=-1,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},freeParseFloat=parseFloat,freeParseInt=parseInt,freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,nodeIsDate=nodeUtil&&nodeUtil.isDate,nodeIsMap=nodeUtil&&nodeUtil.isMap,nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,nodeIsSet=nodeUtil&&nodeUtil.isSet,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,asciiSize=baseProperty("length"),deburrLetter=basePropertyOf({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),escapeHtmlChar=basePropertyOf({"&":"&","<":"<",">":">",'"':""","'":"'"}),unescapeHtmlChar=basePropertyOf({"&":"&","<":"<",">":">",""":'"',"'":"'"}),_=function runInContext(context){function lodash(value){if(isObjectLike(value)&&!isArray(value)&&!(value instanceof LazyWrapper)){if(value instanceof LodashWrapper)return value;if(hasOwnProperty.call(value,"__wrapped__"))return wrapperClone(value)}return new LodashWrapper(value)}function baseLodash(){}function LodashWrapper(value,chainAll){this.__wrapped__=value,this.__actions__=[],this.__chain__=!!chainAll,this.__index__=0,this.__values__=undefined}function LazyWrapper(value){this.__wrapped__=value,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=MAX_ARRAY_LENGTH,this.__views__=[]}function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index=lower?number:lower)),number}function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;if(customizer&&(result=object?customizer(value,key,object,stack):customizer(value)),result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=function(array){var length=array.length,result=array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}(value),!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){if(result=isFlat||isFunc?{}:initCloneObject(value),!isDeep)return isFlat?function(source,object){return copyObject(source,getSymbolsIn(source),object)}(value,function(object,source){return object&©Object(source,keysIn(source),object)}(result,value)):function(source,object){return copyObject(source,getSymbols(source),object)}(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=function(object,tag,cloneFunc,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return function(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return function(map,isDeep,cloneFunc){return arrayReduce(isDeep?cloneFunc(mapToArray(map),CLONE_DEEP_FLAG):mapToArray(map),function(map,pair){return map.set(pair[0],pair[1]),map},new map.constructor)}(object,isDeep,cloneFunc);case numberTag:case stringTag:return new Ctor(object);case regexpTag:return function(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));return result.lastIndex=regexp.lastIndex,result}(object);case setTag:return function(set,isDeep,cloneFunc){return arrayReduce(isDeep?cloneFunc(setToArray(set),CLONE_DEEP_FLAG):setToArray(set),function(set,value){return set.add(value),set},new set.constructor)}(object,isDeep,cloneFunc);case symbolTag:return function(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}(object)}}(value,tag,baseClone,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result);var props=isArr?undefined:(isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys)(value);return arrayEach(props||value,function(subValue,key){props&&(subValue=value[key=subValue]),assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))}),result}function baseConformsTo(object,source,props){var length=props.length;if(null==object)return!length;for(object=Object(object);length--;){var key=props[length],predicate=source[key],value=object[key];if(value===undefined&&!(key in object)||!predicate(value))return!1}return!0}function baseDelay(func,wait,args){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return setTimeout(function(){func.apply(undefined,args)},wait)}function baseDifference(array,values,iteratee,comparator){var index=-1,includes=arrayIncludes,isCommon=!0,length=array.length,result=[],valuesLength=values.length;if(!length)return result;iteratee&&(values=arrayMap(values,baseUnary(iteratee))),comparator?(includes=arrayIncludesWith,isCommon=!1):values.length>=LARGE_ARRAY_SIZE&&(includes=cacheHas,isCommon=!1,values=new SetCache(values));outer:for(;++index0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseForOwnRight(object,iteratee){return object&&baseForRight(object,iteratee,keys)}function baseFunctions(object,props){return arrayFilter(props,function(key){return isFunction(object[key])})}function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&indexother}function baseIntersection(arrays,iteratee,comparator){for(var includes=comparator?arrayIncludesWith:arrayIncludes,length=arrays[0].length,othLength=arrays.length,othIndex=othLength,caches=Array(othLength),maxLength=1/0,result=[];othIndex--;){var array=arrays[othIndex];othIndex&&iteratee&&(array=arrayMap(array,baseUnary(iteratee))),maxLength=nativeMin(array.length,maxLength),caches[othIndex]=!comparator&&(iteratee||length>=120&&array.length>=120)?new SetCache(othIndex&&array):undefined}array=arrays[0];var index=-1,seen=caches[0];outer:for(;++index=ordersLength)return result;var order=orders[index];return result*("desc"==order?-1:1)}}return object.index-other.index}(object,other,orders)})}function basePickBy(object,paths,predicate){for(var index=-1,length=paths.length,result={};++index-1;)seen!==array&&splice.call(seen,fromIndex,1),splice.call(array,fromIndex,1);return array}function basePullAt(array,indexes){for(var length=array?indexes.length:0,lastIndex=length-1;length--;){var index=indexes[length];if(length==lastIndex||index!==previous){var previous=index;isIndex(index)?splice.call(array,index,1):baseUnset(array,index)}}return array}function baseRandom(lower,upper){return lower+nativeFloor(nativeRandom()*(upper-lower+1))}function baseRepeat(string,n){var result="";if(!string||n<1||n>MAX_SAFE_INTEGER)return result;do{n%2&&(result+=string),(n=nativeFloor(n/2))&&(string+=string)}while(n);return result}function baseRest(func,start){return setToString(overRest(func,start,identity),func+"")}function baseSet(object,path,value,customizer){if(!isObject(object))return object;for(var index=-1,length=(path=castPath(path,object)).length,lastIndex=length-1,nested=object;null!=nested&&++indexlength?0:length+start),(end=end>length?length:end)<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index>>1,computed=array[mid];null!==computed&&!isSymbol(computed)&&(retHighest?computed<=value:computed=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index=length?array:baseSlice(array,start,end)}function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);return buffer.copy(result),result}function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);return new Uint8Array(result).set(new Uint8Array(arrayBuffer)),result}function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined,valIsNull=null===value,valIsReflexive=value==value,valIsSymbol=isSymbol(value),othIsDefined=other!==undefined,othIsNull=null===other,othIsReflexive=other==other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value1?sources[length-1]:undefined,guard=length>2?sources[2]:undefined;for(customizer=assigner.length>3&&"function"==typeof customizer?(length--,customizer):undefined,guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=length<3?undefined:customizer,length=1),object=Object(object);++index-1?iterable[iteratee?collection[index]:index]:undefined}}function createFlow(fromRight){return flatRest(function(funcs){var length=funcs.length,index=length,prereq=LodashWrapper.prototype.thru;for(fromRight&&funcs.reverse();index--;){var func=funcs[index];if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(prereq&&!wrapper&&"wrapper"==getFuncName(func))var wrapper=new LodashWrapper([],!0)}for(index=wrapper?index:length;++index1&&args.reverse(),isAry&&aryarrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:undefined;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value1?"& ":"")+details[lastIndex],details=details.join(length>2?", ":" "),source.replace(reWrapComment,"{\n/* [wrapped with "+details+"] */\n")}(source,function(details,bitmask){return arrayEach(wrapFlags,function(pair){var value="_."+pair[0];bitmask&pair[1]&&!arrayIncludes(details,value)&&details.push(value)}),details.sort()}(function(source){var match=source.match(reWrapDetails);return match?match[1].split(reSplitDetails):[]}(source),bitmask)))}function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=HOT_SPAN-(stamp-lastCalled);if(lastCalled=stamp,remaining>0){if(++count>=HOT_COUNT)return arguments[0]}else count=0;return func.apply(undefined,arguments)}}function shuffleSelf(array,size){var index=-1,length=array.length,lastIndex=length-1;for(size=size===undefined?length:size;++index0&&(result=func.apply(this,arguments)),n<=1&&(func=undefined),result}}function curry(func,arity,guard){var result=createWrap(func,WRAP_CURRY_FLAG,undefined,undefined,undefined,undefined,undefined,arity=guard?undefined:arity);return result.placeholder=curry.placeholder,result}function curryRight(func,arity,guard){var result=createWrap(func,WRAP_CURRY_RIGHT_FLAG,undefined,undefined,undefined,undefined,undefined,arity=guard?undefined:arity);return result.placeholder=curryRight.placeholder,result}function debounce(func,wait,options){function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=undefined,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return lastCallTime===undefined||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function(time){var result=wait-(time-lastCallTime);return maxing?nativeMin(result,maxWait-(time-lastInvokeTime)):result}(time))}function trailingEdge(time){return timerId=undefined,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=undefined,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(timerId===undefined)return function(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return timerId===undefined&&(timerId=setTimeout(timerExpired,wait)),result}var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function(){timerId!==undefined&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=undefined},debounced.flush=function(){return timerId===undefined?result:trailingEdge(now())},debounced}function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}function negate(predicate){if("function"!=typeof predicate)throw new TypeError(FUNC_ERROR_TEXT);return function(){var args=arguments;switch(args.length){case 0:return!predicate.call(this);case 1:return!predicate.call(this,args[0]);case 2:return!predicate.call(this,args[0],args[1]);case 3:return!predicate.call(this,args[0],args[1],args[2])}return!predicate.apply(this,args)}}function eq(value,other){return value===other||value!=value&&other!=other}function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isError(value){if(!isObjectLike(value))return!1;var tag=baseGetTag(value);return tag==errorTag||tag==domExcTag||"string"==typeof value.message&&"string"==typeof value.name&&!isPlainObject(value)}function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}function isInteger(value){return"number"==typeof value&&value==toInteger(value)}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}function isObjectLike(value){return null!=value&&"object"==typeof value}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&baseGetTag(value)==numberTag}function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return!1;var proto=getPrototype(value);if(null===proto)return!0;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}function toArray(value){if(!value)return[];if(isArrayLike(value))return isString(value)?stringToArray(value):copyArray(value);if(symIterator&&value[symIterator])return function(iterator){for(var data,result=[];!(data=iterator.next()).done;)result.push(data.value);return result}(value[symIterator]());var tag=getTag(value);return(tag==mapTag?mapToArray:tag==setTag?setToArray:values)(value)}function toFinite(value){return value?(value=toNumber(value))===INFINITY||value===-INFINITY?(value<0?-1:1)*MAX_INTEGER:value==value?value:0:0===value?value:0}function toInteger(value){var result=toFinite(value),remainder=result%1;return result==result?remainder?result-remainder:result:0}function toLength(value){return value?baseClamp(toInteger(value),0,MAX_ARRAY_LENGTH):0}function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}function toPlainObject(value){return copyObject(value,keysIn(value))}function toString(value){return null==value?"":baseToString(value)}function get(object,path,defaultValue){var result=null==object?undefined:baseGet(object,path);return result===undefined?defaultValue:result}function hasIn(object,path){return null!=object&&hasPath(object,path,function(object,key){return null!=object&&key in Object(object)})}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,!0):function(object){if(!isObject(object))return function(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}(object);var isProto=isPrototype(object),result=[];for(var key in object)("constructor"!=key||!isProto&&hasOwnProperty.call(object,key))&&result.push(key);return result}(object)}function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),function(prop){return[prop]});return predicate=getIteratee(predicate),basePickBy(object,props,function(value,path){return predicate(value,path[0])})}function values(object){return null==object?[]:baseValues(object,keys(object))}function capitalize(string){return upperFirst(toString(string).toLowerCase())}function deburr(string){return(string=toString(string))&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}function words(string,pattern,guard){return string=toString(string),(pattern=guard?undefined:pattern)===undefined?function(string){return reHasUnicodeWord.test(string)}(string)?function(string){return string.match(reUnicodeWord)||[]}(string):function(string){return string.match(reAsciiWord)||[]}(string):string.match(pattern)||[]}function constant(value){return function(){return value}}function identity(value){return value}function iteratee(func){return baseIteratee("function"==typeof func?func:baseClone(func,CLONE_DEEP_FLAG))}function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);null!=options||isObject(source)&&(methodNames.length||!props.length)||(options=source,source=object,object=this,methodNames=baseFunctions(source,keys(source)));var chain=!(isObject(options)&&"chain"in options&&!options.chain),isFunc=isFunction(object);return arrayEach(methodNames,function(methodName){var func=source[methodName];object[methodName]=func,isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain||chainAll){var result=object(this.__wrapped__);return(result.__actions__=copyArray(this.__actions__)).push({func:func,args:arguments,thisArg:object}),result.__chain__=chainAll,result}return func.apply(object,arrayPush([this.value()],arguments))})}),object}function noop(){}function property(path){return isKey(path)?baseProperty(toKey(path)):function(path){return function(object){return baseGet(object,path)}}(path)}function stubArray(){return[]}function stubFalse(){return!1}var Array=(context=null==context?root:_.defaults(root.Object(),context,_.pick(root,contextProps))).Array,Date=context.Date,Error=context.Error,Function=context.Function,Math=context.Math,Object=context.Object,RegExp=context.RegExp,String=context.String,TypeError=context.TypeError,arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype,coreJsData=context["__core-js_shared__"],funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,idCounter=0,maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}(),nativeObjectToString=objectProto.toString,objectCtorString=funcToString.call(Object),oldDash=root._,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Buffer=moduleExports?context.Buffer:undefined,Symbol=context.Symbol,Uint8Array=context.Uint8Array,allocUnsafe=Buffer?Buffer.allocUnsafe:undefined,getPrototype=overArg(Object.getPrototypeOf,Object),objectCreate=Object.create,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:undefined,symIterator=Symbol?Symbol.iterator:undefined,symToStringTag=Symbol?Symbol.toStringTag:undefined,defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}(),ctxClearTimeout=context.clearTimeout!==root.clearTimeout&&context.clearTimeout,ctxNow=Date&&Date.now!==root.Date.now&&Date.now,ctxSetTimeout=context.setTimeout!==root.setTimeout&&context.setTimeout,nativeCeil=Math.ceil,nativeFloor=Math.floor,nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:undefined,nativeIsFinite=context.isFinite,nativeJoin=arrayProto.join,nativeKeys=overArg(Object.keys,Object),nativeMax=Math.max,nativeMin=Math.min,nativeNow=Date.now,nativeParseInt=context.parseInt,nativeRandom=Math.random,nativeReverse=arrayProto.reverse,DataView=getNative(context,"DataView"),Map=getNative(context,"Map"),Promise=getNative(context,"Promise"),Set=getNative(context,"Set"),WeakMap=getNative(context,"WeakMap"),nativeCreate=getNative(Object,"create"),metaMap=WeakMap&&new WeakMap,realNames={},dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),symbolProto=Symbol?Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined,symbolToString=symbolProto?symbolProto.toString:undefined,baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;return object.prototype=undefined,result}}();lodash.templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:lodash}},(lodash.prototype=baseLodash.prototype).constructor=lodash,(LodashWrapper.prototype=baseCreate(baseLodash.prototype)).constructor=LodashWrapper,(LazyWrapper.prototype=baseCreate(baseLodash.prototype)).constructor=LazyWrapper,Hash.prototype.clear=function(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0},Hash.prototype.delete=function(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result},Hash.prototype.get=function(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result}return hasOwnProperty.call(data,key)?data[key]:undefined},Hash.prototype.has=function(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key)},Hash.prototype.set=function(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value,this},ListCache.prototype.clear=function(){this.__data__=[],this.size=0},ListCache.prototype.delete=function(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0||(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,0))},ListCache.prototype.get=function(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1]},ListCache.prototype.has=function(key){return assocIndexOf(this.__data__,key)>-1},ListCache.prototype.set=function(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this},MapCache.prototype.clear=function(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}},MapCache.prototype.delete=function(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result},MapCache.prototype.get=function(key){return getMapData(this,key).get(key)},MapCache.prototype.has=function(key){return getMapData(this,key).has(key)},MapCache.prototype.set=function(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function(value){return this.__data__.set(value,HASH_UNDEFINED),this},SetCache.prototype.has=function(value){return this.__data__.has(value)},Stack.prototype.clear=function(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result},Stack.prototype.get=function(key){return this.__data__.get(key)},Stack.prototype.has=function(key){return this.__data__.has(key)},Stack.prototype.set=function(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length1?arrays[length-1]:undefined;return iteratee="function"==typeof iteratee?(arrays.pop(),iteratee):undefined,unzipWith(arrays,iteratee)}),wrapperAt=flatRest(function(paths){var length=paths.length,start=length?paths[0]:0,value=this.__wrapped__,interceptor=function(object){return baseAt(object,paths)};return!(length>1||this.__actions__.length)&&value instanceof LazyWrapper&&isIndex(start)?((value=value.slice(start,+start+(length?1:0))).__actions__.push({func:thru,args:[interceptor],thisArg:undefined}),new LodashWrapper(value,this.__chain__).thru(function(array){return length&&!array.length&&array.push(undefined),array})):this.thru(interceptor)}),countBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?++result[key]:baseAssignValue(result,key,1)}),find=createFind(findIndex),findLast=createFind(findLastIndex),groupBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?result[key].push(value):baseAssignValue(result,key,[value])}),invokeMap=baseRest(function(collection,path,args){var index=-1,isFunc="function"==typeof path,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value){result[++index]=isFunc?apply(path,value,args):baseInvoke(value,path,args)}),result}),keyBy=createAggregator(function(result,value,key){baseAssignValue(result,key,value)}),partition=createAggregator(function(result,value,key){result[key?0:1].push(value)},function(){return[[],[]]}),sortBy=baseRest(function(collection,iteratees){if(null==collection)return[];var length=iteratees.length;return length>1&&isIterateeCall(collection,iteratees[0],iteratees[1])?iteratees=[]:length>2&&isIterateeCall(iteratees[0],iteratees[1],iteratees[2])&&(iteratees=[iteratees[0]]),baseOrderBy(collection,baseFlatten(iteratees,1),[])}),now=ctxNow||function(){return root.Date.now()},bind=baseRest(function(func,thisArg,partials){var bitmask=WRAP_BIND_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bind));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(func,bitmask,thisArg,partials,holders)}),bindKey=baseRest(function(object,key,partials){var bitmask=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bindKey));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(key,bitmask,object,partials,holders)}),defer=baseRest(function(func,args){return baseDelay(func,1,args)}),delay=baseRest(function(func,wait,args){return baseDelay(func,toNumber(wait)||0,args)});memoize.Cache=MapCache;var overArgs=castRest(function(func,transforms){var funcsLength=(transforms=1==transforms.length&&isArray(transforms[0])?arrayMap(transforms[0],baseUnary(getIteratee())):arrayMap(baseFlatten(transforms,1),baseUnary(getIteratee()))).length;return baseRest(function(args){for(var index=-1,length=nativeMin(args.length,funcsLength);++index=other}),isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")},isArray=Array.isArray,isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):function(value){return isObjectLike(value)&&baseGetTag(value)==arrayBufferTag},isBuffer=nativeIsBuffer||stubFalse,isDate=nodeIsDate?baseUnary(nodeIsDate):function(value){return isObjectLike(value)&&baseGetTag(value)==dateTag},isMap=nodeIsMap?baseUnary(nodeIsMap):function(value){return isObjectLike(value)&&getTag(value)==mapTag},isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):function(value){return isObjectLike(value)&&baseGetTag(value)==regexpTag},isSet=nodeIsSet?baseUnary(nodeIsSet):function(value){return isObjectLike(value)&&getTag(value)==setTag},isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):function(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]},lt=createRelationalOperation(baseLt),lte=createRelationalOperation(function(value,other){return value<=other}),assign=createAssigner(function(object,source){if(isPrototype(source)||isArrayLike(source))copyObject(source,keys(source),object);else for(var key in source)hasOwnProperty.call(source,key)&&assignValue(object,key,source[key])}),assignIn=createAssigner(function(object,source){copyObject(source,keysIn(source),object)}),assignInWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keysIn(source),object,customizer)}),assignWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keys(source),object,customizer)}),at=flatRest(baseAt),defaults=baseRest(function(args){return args.push(undefined,customDefaultsAssignIn),apply(assignInWith,undefined,args)}),defaultsDeep=baseRest(function(args){return args.push(undefined,customDefaultsMerge),apply(mergeWith,undefined,args)}),invert=createInverter(function(result,value,key){result[value]=key},constant(identity)),invertBy=createInverter(function(result,value,key){hasOwnProperty.call(result,value)?result[value].push(key):result[value]=[key]},getIteratee),invoke=baseRest(baseInvoke),merge=createAssigner(function(object,source,srcIndex){baseMerge(object,source,srcIndex)}),mergeWith=createAssigner(function(object,source,srcIndex,customizer){baseMerge(object,source,srcIndex,customizer)}),omit=flatRest(function(object,paths){var result={};if(null==object)return result;var isDeep=!1;paths=arrayMap(paths,function(path){return path=castPath(path,object),isDeep||(isDeep=path.length>1),path}),copyObject(object,getAllKeysIn(object),result),isDeep&&(result=baseClone(result,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,function(value){return isPlainObject(value)?undefined:value}));for(var length=paths.length;length--;)baseUnset(result,paths[length]);return result}),pick=flatRest(function(object,paths){return null==object?{}:function(object,paths){return basePickBy(object,paths,function(value,path){return hasIn(object,path)})}(object,paths)}),toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn),camelCase=createCompounder(function(result,word,index){return word=word.toLowerCase(),result+(index?capitalize(word):word)}),kebabCase=createCompounder(function(result,word,index){return result+(index?"-":"")+word.toLowerCase()}),lowerCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toLowerCase()}),lowerFirst=createCaseFirst("toLowerCase"),snakeCase=createCompounder(function(result,word,index){return result+(index?"_":"")+word.toLowerCase()}),startCase=createCompounder(function(result,word,index){return result+(index?" ":"")+upperFirst(word)}),upperCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toUpperCase()}),upperFirst=createCaseFirst("toUpperCase"),attempt=baseRest(function(func,args){try{return apply(func,undefined,args)}catch(e){return isError(e)?e:new Error(e)}}),bindAll=flatRest(function(object,methodNames){return arrayEach(methodNames,function(key){key=toKey(key),baseAssignValue(object,key,bind(object[key],object))}),object}),flow=createFlow(),flowRight=createFlow(!0),method=baseRest(function(path,args){return function(object){return baseInvoke(object,path,args)}}),methodOf=baseRest(function(object,args){return function(path){return baseInvoke(object,path,args)}}),over=createOver(arrayMap),overEvery=createOver(arrayEvery),overSome=createOver(arraySome),range=createRange(),rangeRight=createRange(!0),add=createMathOperation(function(augend,addend){return augend+addend},0),ceil=createRound("ceil"),divide=createMathOperation(function(dividend,divisor){return dividend/divisor},1),floor=createRound("floor"),multiply=createMathOperation(function(multiplier,multiplicand){return multiplier*multiplicand},1),round=createRound("round"),subtract=createMathOperation(function(minuend,subtrahend){return minuend-subtrahend},0);return lodash.after=function(n,func){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return n=toInteger(n),function(){if(--n<1)return func.apply(this,arguments)}},lodash.ary=ary,lodash.assign=assign,lodash.assignIn=assignIn,lodash.assignInWith=assignInWith,lodash.assignWith=assignWith,lodash.at=at,lodash.before=before,lodash.bind=bind,lodash.bindAll=bindAll,lodash.bindKey=bindKey,lodash.castArray=function(){if(!arguments.length)return[];var value=arguments[0];return isArray(value)?value:[value]},lodash.chain=chain,lodash.chunk=function(array,size,guard){size=(guard?isIterateeCall(array,size,guard):size===undefined)?1:nativeMax(toInteger(size),0);var length=null==array?0:array.length;if(!length||size<1)return[];for(var index=0,resIndex=0,result=Array(nativeCeil(length/size));indexlength?0:length+start),(end=end===undefined||end>length?length:toInteger(end))<0&&(end+=length),end=start>end?0:toLength(end);start>>0)?(string=toString(string))&&("string"==typeof separator||null!=separator&&!isRegExp(separator))&&!(separator=baseToString(separator))&&hasUnicode(string)?castSlice(stringToArray(string),0,limit):string.split(separator,limit):[]},lodash.spread=function(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=null==start?0:nativeMax(toInteger(start),0),baseRest(function(args){var array=args[start],otherArgs=castSlice(args,0,start);return array&&arrayPush(otherArgs,array),apply(func,this,otherArgs)})},lodash.tail=function(array){var length=null==array?0:array.length;return length?baseSlice(array,1,length):[]},lodash.take=function(array,n,guard){return array&&array.length?(n=guard||n===undefined?1:toInteger(n),baseSlice(array,0,n<0?0:n)):[]},lodash.takeRight=function(array,n,guard){var length=null==array?0:array.length;return length?(n=guard||n===undefined?1:toInteger(n),n=length-n,baseSlice(array,n<0?0:n,length)):[]},lodash.takeRightWhile=function(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3),!1,!0):[]},lodash.takeWhile=function(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3)):[]},lodash.tap=function(value,interceptor){return interceptor(value),value},lodash.throttle=function(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})},lodash.thru=thru,lodash.toArray=toArray,lodash.toPairs=toPairs,lodash.toPairsIn=toPairsIn,lodash.toPath=function(value){return isArray(value)?arrayMap(value,toKey):isSymbol(value)?[value]:copyArray(stringToPath(toString(value)))},lodash.toPlainObject=toPlainObject,lodash.transform=function(object,iteratee,accumulator){var isArr=isArray(object),isArrLike=isArr||isBuffer(object)||isTypedArray(object);if(iteratee=getIteratee(iteratee,4),null==accumulator){var Ctor=object&&object.constructor;accumulator=isArrLike?isArr?new Ctor:[]:isObject(object)&&isFunction(Ctor)?baseCreate(getPrototype(object)):{}}return(isArrLike?arrayEach:baseForOwn)(object,function(value,index,object){return iteratee(accumulator,value,index,object)}),accumulator},lodash.unary=function(func){return ary(func,1)},lodash.union=union,lodash.unionBy=unionBy,lodash.unionWith=unionWith,lodash.uniq=function(array){return array&&array.length?baseUniq(array):[]},lodash.uniqBy=function(array,iteratee){return array&&array.length?baseUniq(array,getIteratee(iteratee,2)):[]},lodash.uniqWith=function(array,comparator){return comparator="function"==typeof comparator?comparator:undefined,array&&array.length?baseUniq(array,undefined,comparator):[]},lodash.unset=function(object,path){return null==object||baseUnset(object,path)},lodash.unzip=unzip,lodash.unzipWith=unzipWith,lodash.update=function(object,path,updater){return null==object?object:baseUpdate(object,path,castFunction(updater))},lodash.updateWith=function(object,path,updater,customizer){return customizer="function"==typeof customizer?customizer:undefined,null==object?object:baseUpdate(object,path,castFunction(updater),customizer)},lodash.values=values,lodash.valuesIn=function(object){return null==object?[]:baseValues(object,keysIn(object))},lodash.without=without,lodash.words=words,lodash.wrap=function(value,wrapper){return partial(castFunction(wrapper),value)},lodash.xor=xor,lodash.xorBy=xorBy,lodash.xorWith=xorWith,lodash.zip=zip,lodash.zipObject=function(props,values){return baseZipObject(props||[],values||[],assignValue)},lodash.zipObjectDeep=function(props,values){return baseZipObject(props||[],values||[],baseSet)},lodash.zipWith=zipWith,lodash.entries=toPairs,lodash.entriesIn=toPairsIn,lodash.extend=assignIn,lodash.extendWith=assignInWith,mixin(lodash,lodash),lodash.add=add,lodash.attempt=attempt,lodash.camelCase=camelCase,lodash.capitalize=capitalize,lodash.ceil=ceil,lodash.clamp=function(number,lower,upper){return upper===undefined&&(upper=lower,lower=undefined),upper!==undefined&&(upper=(upper=toNumber(upper))==upper?upper:0),lower!==undefined&&(lower=(lower=toNumber(lower))==lower?lower:0),baseClamp(toNumber(number),lower,upper)},lodash.clone=function(value){return baseClone(value,CLONE_SYMBOLS_FLAG)},lodash.cloneDeep=function(value){return baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)},lodash.cloneDeepWith=function(value,customizer){return customizer="function"==typeof customizer?customizer:undefined,baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG,customizer)},lodash.cloneWith=function(value,customizer){return customizer="function"==typeof customizer?customizer:undefined,baseClone(value,CLONE_SYMBOLS_FLAG,customizer)},lodash.conformsTo=function(object,source){return null==source||baseConformsTo(object,source,keys(source))},lodash.deburr=deburr,lodash.defaultTo=function(value,defaultValue){return null==value||value!=value?defaultValue:value},lodash.divide=divide,lodash.endsWith=function(string,target,position){string=toString(string),target=baseToString(target);var length=string.length,end=position=position===undefined?length:baseClamp(toInteger(position),0,length);return(position-=target.length)>=0&&string.slice(position,end)==target},lodash.eq=eq,lodash.escape=function(string){return(string=toString(string))&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string},lodash.escapeRegExp=function(string){return(string=toString(string))&&reHasRegExpChar.test(string)?string.replace(reRegExpChar,"\\$&"):string},lodash.every=function(collection,predicate,guard){var func=isArray(collection)?arrayEvery:function(collection,predicate){var result=!0;return baseEach(collection,function(value,index,collection){return result=!!predicate(value,index,collection)}),result};return guard&&isIterateeCall(collection,predicate,guard)&&(predicate=undefined),func(collection,getIteratee(predicate,3))},lodash.find=find,lodash.findIndex=findIndex,lodash.findKey=function(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwn)},lodash.findLast=findLast,lodash.findLastIndex=findLastIndex,lodash.findLastKey=function(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwnRight)},lodash.floor=floor,lodash.forEach=forEach,lodash.forEachRight=forEachRight,lodash.forIn=function(object,iteratee){return null==object?object:baseFor(object,getIteratee(iteratee,3),keysIn)},lodash.forInRight=function(object,iteratee){return null==object?object:baseForRight(object,getIteratee(iteratee,3),keysIn)},lodash.forOwn=function(object,iteratee){return object&&baseForOwn(object,getIteratee(iteratee,3))},lodash.forOwnRight=function(object,iteratee){return object&&baseForOwnRight(object,getIteratee(iteratee,3))},lodash.get=get,lodash.gt=gt,lodash.gte=gte,lodash.has=function(object,path){return null!=object&&hasPath(object,path,function(object,key){return null!=object&&hasOwnProperty.call(object,key)})},lodash.hasIn=hasIn,lodash.head=head,lodash.identity=identity,lodash.includes=function(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection),fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;return fromIndex<0&&(fromIndex=nativeMax(length+fromIndex,0)),isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1},lodash.indexOf=function(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=null==fromIndex?0:toInteger(fromIndex);return index<0&&(index=nativeMax(length+index,0)),baseIndexOf(array,value,index)},lodash.inRange=function(number,start,end){return start=toFinite(start),end===undefined?(end=start,start=0):end=toFinite(end),number=toNumber(number),function(number,start,end){return number>=nativeMin(start,end)&&number=-MAX_SAFE_INTEGER&&value<=MAX_SAFE_INTEGER},lodash.isSet=isSet,lodash.isString=isString,lodash.isSymbol=isSymbol,lodash.isTypedArray=isTypedArray,lodash.isUndefined=function(value){return value===undefined},lodash.isWeakMap=function(value){return isObjectLike(value)&&getTag(value)==weakMapTag},lodash.isWeakSet=function(value){return isObjectLike(value)&&baseGetTag(value)==weakSetTag},lodash.join=function(array,separator){return null==array?"":nativeJoin.call(array,separator)},lodash.kebabCase=kebabCase,lodash.last=last,lodash.lastIndexOf=function(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=length;return fromIndex!==undefined&&(index=(index=toInteger(fromIndex))<0?nativeMax(length+index,0):nativeMin(index,length-1)),value==value?function(array,value,fromIndex){for(var index=fromIndex+1;index--;)if(array[index]===value)return index;return index}(array,value,index):baseFindIndex(array,baseIsNaN,index,!0)},lodash.lowerCase=lowerCase,lodash.lowerFirst=lowerFirst,lodash.lt=lt,lodash.lte=lte,lodash.max=function(array){return array&&array.length?baseExtremum(array,identity,baseGt):undefined},lodash.maxBy=function(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseGt):undefined},lodash.mean=function(array){return baseMean(array,identity)},lodash.meanBy=function(array,iteratee){return baseMean(array,getIteratee(iteratee,2))},lodash.min=function(array){return array&&array.length?baseExtremum(array,identity,baseLt):undefined},lodash.minBy=function(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseLt):undefined},lodash.stubArray=stubArray,lodash.stubFalse=stubFalse,lodash.stubObject=function(){return{}},lodash.stubString=function(){return""},lodash.stubTrue=function(){return!0},lodash.multiply=multiply,lodash.nth=function(array,n){return array&&array.length?baseNth(array,toInteger(n)):undefined},lodash.noConflict=function(){return root._===this&&(root._=oldDash),this},lodash.noop=noop,lodash.now=now,lodash.pad=function(string,length,chars){string=toString(string);var strLength=(length=toInteger(length))?stringSize(string):0;if(!length||strLength>=length)return string;var mid=(length-strLength)/2;return createPadding(nativeFloor(mid),chars)+string+createPadding(nativeCeil(mid),chars)},lodash.padEnd=function(string,length,chars){string=toString(string);var strLength=(length=toInteger(length))?stringSize(string):0;return length&&strLengthupper){var temp=lower;lower=upper,upper=temp}if(floating||lower%1||upper%1){var rand=nativeRandom();return nativeMin(lower+rand*(upper-lower+freeParseFloat("1e-"+((rand+"").length-1))),upper)}return baseRandom(lower,upper)},lodash.reduce=function(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEach)},lodash.reduceRight=function(collection,iteratee,accumulator){var func=isArray(collection)?function(array,iteratee,accumulator,initAccum){var length=null==array?0:array.length;for(initAccum&&length&&(accumulator=array[--length]);length--;)accumulator=iteratee(accumulator,array[length],length,array);return accumulator}:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEachRight)},lodash.repeat=function(string,n,guard){return n=(guard?isIterateeCall(string,n,guard):n===undefined)?1:toInteger(n),baseRepeat(toString(string),n)},lodash.replace=function(){var args=arguments,string=toString(args[0]);return args.length<3?string:string.replace(args[1],args[2])},lodash.result=function(object,path,defaultValue){var index=-1,length=(path=castPath(path,object)).length;for(length||(length=1,object=undefined);++indexMAX_SAFE_INTEGER)return[];var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee=getIteratee(iteratee),n-=MAX_ARRAY_LENGTH;for(var result=baseTimes(length,iteratee);++index=strLength)return string;var end=length-stringSize(omission);if(end<1)return omission;var result=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(separator===undefined)return result+omission;if(strSymbols&&(end+=result.length-end),isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result;for(separator.global||(separator=RegExp(separator.source,toString(reFlags.exec(separator))+"g")),separator.lastIndex=0;match=separator.exec(substring);)var newEnd=match.index;result=result.slice(0,newEnd===undefined?end:newEnd)}}else if(string.indexOf(baseToString(separator),end)!=end){var index=result.lastIndexOf(separator);index>-1&&(result=result.slice(0,index))}return result+omission},lodash.unescape=function(string){return(string=toString(string))&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string},lodash.uniqueId=function(prefix){var id=++idCounter;return toString(prefix)+id},lodash.upperCase=upperCase,lodash.upperFirst=upperFirst,lodash.each=forEach,lodash.eachRight=forEachRight,lodash.first=head,mixin(lodash,function(){var source={};return baseForOwn(lodash,function(func,methodName){hasOwnProperty.call(lodash.prototype,methodName)||(source[methodName]=func)}),source}(),{chain:!1}),lodash.VERSION="4.17.4",arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(methodName){lodash[methodName].placeholder=lodash}),arrayEach(["drop","take"],function(methodName,index){LazyWrapper.prototype[methodName]=function(n){n=n===undefined?1:nativeMax(toInteger(n),0);var result=this.__filtered__&&!index?new LazyWrapper(this):this.clone();return result.__filtered__?result.__takeCount__=nativeMin(n,result.__takeCount__):result.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:methodName+(result.__dir__<0?"Right":"")}),result},LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}}),arrayEach(["filter","map","takeWhile"],function(methodName,index){var type=index+1,isFilter=type==LAZY_FILTER_FLAG||3==type;LazyWrapper.prototype[methodName]=function(iteratee){var result=this.clone();return result.__iteratees__.push({iteratee:getIteratee(iteratee,3),type:type}),result.__filtered__=result.__filtered__||isFilter,result}}),arrayEach(["head","last"],function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}}),arrayEach(["initial","tail"],function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}}),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(predicate){return this.filter(predicate).head()},LazyWrapper.prototype.findLast=function(predicate){return this.reverse().find(predicate)},LazyWrapper.prototype.invokeMap=baseRest(function(path,args){return"function"==typeof path?new LazyWrapper(this):this.map(function(value){return baseInvoke(value,path,args)})}),LazyWrapper.prototype.reject=function(predicate){return this.filter(negate(getIteratee(predicate)))},LazyWrapper.prototype.slice=function(start,end){start=toInteger(start);var result=this;return result.__filtered__&&(start>0||end<0)?new LazyWrapper(result):(start<0?result=result.takeRight(-start):start&&(result=result.drop(start)),end!==undefined&&(result=(end=toInteger(end))<0?result.dropRight(-end):result.take(end-start)),result)},LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+("last"==methodName?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);lodashFunc&&(lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee=args[0],useLazy=isLazy||isArray(value),interceptor=function(value){var result=lodashFunc.apply(lodash,arrayPush([value],args));return isTaker&&chainAll?result[0]:result};useLazy&&checkIteratee&&"function"==typeof iteratee&&1!=iteratee.length&&(isLazy=useLazy=!1);var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result=func.apply(value,args);return result.__actions__.push({func:thru,args:[interceptor],thisArg:undefined}),new LodashWrapper(result,chainAll)}return isUnwrapped&&onlyLazy?func.apply(this,args):(result=this.thru(interceptor),isUnwrapped?isTaker?result.value()[0]:result.value():result)})}),arrayEach(["pop","push","shift","sort","splice","unshift"],function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value();return func.apply(isArray(value)?value:[],args)}return this[chainName](function(value){return func.apply(isArray(value)?value:[],args)})}}),baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"";(realNames[key]||(realNames[key]=[])).push({name:methodName,func:lodashFunc})}}),realNames[createHybrid(undefined,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:undefined}],LazyWrapper.prototype.clone=function(){var result=new LazyWrapper(this.__wrapped__);return result.__actions__=copyArray(this.__actions__),result.__dir__=this.__dir__,result.__filtered__=this.__filtered__,result.__iteratees__=copyArray(this.__iteratees__),result.__takeCount__=this.__takeCount__,result.__views__=copyArray(this.__views__),result},LazyWrapper.prototype.reverse=function(){if(this.__filtered__){var result=new LazyWrapper(this);result.__dir__=-1,result.__filtered__=!0}else(result=this.clone()).__dir__*=-1;return result},LazyWrapper.prototype.value=function(){var array=this.__wrapped__.value(),dir=this.__dir__,isArr=isArray(array),isRight=dir<0,arrLength=isArr?array.length:0,view=function(start,end,transforms){for(var index=-1,length=transforms.length;++index=this.__values__.length;return{done:done,value:done?undefined:this.__values__[this.__index__++]}},lodash.prototype.plant=function(value){for(var result,parent=this;parent instanceof baseLodash;){var clone=wrapperClone(parent);clone.__index__=0,clone.__values__=undefined,result?previous.__wrapped__=clone:result=clone;var previous=clone;parent=parent.__wrapped__}return previous.__wrapped__=value,result},lodash.prototype.reverse=function(){var value=this.__wrapped__;if(value instanceof LazyWrapper){var wrapped=value;return this.__actions__.length&&(wrapped=new LazyWrapper(this)),(wrapped=wrapped.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:undefined}),new LodashWrapper(wrapped,this.__chain__)}return this.thru(reverse)},lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=function(){return baseWrapperValue(this.__wrapped__,this.__actions__)},lodash.prototype.first=lodash.prototype.head,symIterator&&(lodash.prototype[symIterator]=function(){return this}),lodash}();root._=_,(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module))!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}).call(this)}).call(exports,__webpack_require__(5),__webpack_require__(6)(module))},function(module,exports,__webpack_require__){var _=__webpack_require__(0),utils={};utils.hexToRgb=function(hex){var result;return hex=hex.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(m,r,g,b){return r+r+g+g+b+b}),(result=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex))?{r:parseInt(result[1],16),g:parseInt(result[2],16),b:parseInt(result[3],16)}:null},utils.handleMergeArrays=function(a,b){if(_.isArray(a)&&_.isArray(b))return _.union(a,b).sort()},utils.mergeConfigs=function(configs){return _.mergeWith.apply(null,configs.concat(utils.handleMergeArrays))},utils.repeatString=function(pattern,count){var result="";if(count<1)return result;for(;count>1;)1&count&&(result+=pattern),count>>=1,pattern+=pattern;return result+pattern},module.exports=utils},function(module,exports,__webpack_require__){var require;!function(f){module.exports=f()}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){if(!u&&("function"==typeof require&&require))return require(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o-1,inlineFlags=/^\(\?([\w$]+)\)/.exec(pattern);inlineFlags&&(flags=XRegExp._clipDuplicates(flags+inlineFlags[1]));var data={};for(var p in subs)if(subs.hasOwnProperty(p)){var sub=asXRegExp(subs[p],addFlagX);data[p]={pattern:function(pattern){var leadingAnchor=/^(?:\(\?:\))*\^/,trailingAnchor=/\$(?:\(\?:\))*$/;return leadingAnchor.test(pattern)&&trailingAnchor.test(pattern)&&trailingAnchor.test(pattern.replace(/\\[\s\S]/g,""))?pattern.replace(leadingAnchor,"").replace(trailingAnchor,""):pattern}(sub.source),names:sub[REGEX_DATA].captureNames||[]}}var numPriorCaps,patternAsRegex=asXRegExp(pattern,addFlagX),numCaps=0,numOuterCaps=0,outerCapsMap=[0],outerCapNames=patternAsRegex[REGEX_DATA].captureNames||[],output=patternAsRegex.source.replace(parts,function($0,$1,$2,$3,$4){var capName,intro,localCapIndex,subName=$1||$2;if(subName){if(!data.hasOwnProperty(subName))throw new ReferenceError("Undefined property "+$0);return $1?(capName=outerCapNames[numOuterCaps],outerCapsMap[++numOuterCaps]=++numCaps,intro="(?<"+(capName||subName)+">"):intro="(?:",numPriorCaps=numCaps,intro+data[subName].pattern.replace(subParts,function(match,paren,backref){if(paren){if(capName=data[subName].names[numCaps-numPriorCaps],++numCaps,capName)return"(?<"+capName+">"}else if(backref)return localCapIndex=+backref-1,data[subName].names[localCapIndex]?"\\k<"+data[subName].names[localCapIndex]+">":"\\"+(+backref+numPriorCaps);return match})+")"}if($3){if(capName=outerCapNames[numOuterCaps],outerCapsMap[++numOuterCaps]=++numCaps,capName)return"(?<"+capName+">"}else if($4)return localCapIndex=+$4-1,outerCapNames[localCapIndex]?"\\k<"+outerCapNames[localCapIndex]+">":"\\"+outerCapsMap[+$4];return $0});return XRegExp(output,flags)}}},{}],2:[function(require,module,exports){module.exports=function(XRegExp){"use strict";function row(name,value,start,end){return{name:name,value:value,start:start,end:end}}XRegExp.matchRecursive=function(str,left,right,flags,options){flags=flags||"",options=options||{};var outerStart,innerStart,leftMatch,rightMatch,esc,global=flags.indexOf("g")>-1,sticky=flags.indexOf("y")>-1,basicFlags=flags.replace(/y/g,""),escapeChar=options.escapeChar,vN=options.valueNames,output=[],openTokens=0,delimStart=0,delimEnd=0,lastOuterEnd=0;if(left=XRegExp(left,basicFlags),right=XRegExp(right,basicFlags),escapeChar){if(escapeChar.length>1)throw new Error("Cannot use more than one escape character");escapeChar=XRegExp.escape(escapeChar),esc=new RegExp("(?:"+escapeChar+"[\\S\\s]|(?:(?!"+XRegExp.union([left,right],"",{conjunction:"or"}).source+")[^"+escapeChar+"])+)+",flags.replace(/[^imu]+/g,""))}for(;;){if(escapeChar&&(delimEnd+=(XRegExp.exec(str,esc,delimEnd,"sticky")||[""])[0].length),leftMatch=XRegExp.exec(str,left,delimEnd),rightMatch=XRegExp.exec(str,right,delimEnd),leftMatch&&rightMatch&&(leftMatch.index<=rightMatch.index?rightMatch=null:leftMatch=null),leftMatch||rightMatch)delimEnd=(delimStart=(leftMatch||rightMatch).index)+(leftMatch||rightMatch)[0].length;else if(!openTokens)break;if(sticky&&!openTokens&&delimStart>lastOuterEnd)break;if(leftMatch)openTokens||(outerStart=delimStart,innerStart=delimEnd),++openTokens;else{if(!rightMatch||!openTokens)throw new Error("Unbalanced delimiter found in string");if(!--openTokens&&(vN?(vN[0]&&outerStart>lastOuterEnd&&output.push(row(vN[0],str.slice(lastOuterEnd,outerStart),lastOuterEnd,outerStart)),vN[1]&&output.push(row(vN[1],str.slice(outerStart,innerStart),outerStart,innerStart)),vN[2]&&output.push(row(vN[2],str.slice(innerStart,delimStart),innerStart,delimStart)),vN[3]&&output.push(row(vN[3],str.slice(delimStart,delimEnd),delimStart,delimEnd))):output.push(str.slice(innerStart,delimStart)),lastOuterEnd=delimEnd,!global))break}delimStart===delimEnd&&++delimEnd}return global&&!sticky&&vN&&vN[0]&&str.length>lastOuterEnd&&output.push(row(vN[0],str.slice(lastOuterEnd),lastOuterEnd,str.length)),output}}},{}],3:[function(require,module,exports){module.exports=function(XRegExp){"use strict";function normalize(name){return name.replace(/[- _]+/g,"").toLowerCase()}function charCode(chr){var esc=/^\\[xu](.+)/.exec(chr);return esc?dec(esc[1]):chr.charCodeAt("\\"===chr.charAt(0)?1:0)}var unicode={},dec=XRegExp._dec,hex=XRegExp._hex,pad4=XRegExp._pad4;XRegExp.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,function(match,scope,flags){var isNegated="P"===match[1]||!!match[2],isAstralMode=flags.indexOf("A")>-1,slug=normalize(match[4]||match[3]),item=unicode[slug];if("P"===match[1]&&match[2])throw new SyntaxError("Invalid double negation "+match[0]);if(!unicode.hasOwnProperty(slug))throw new SyntaxError("Unknown Unicode token "+match[0]);if(item.inverseOf){if(slug=normalize(item.inverseOf),!unicode.hasOwnProperty(slug))throw new ReferenceError("Unicode token missing data "+match[0]+" -> "+item.inverseOf);item=unicode[slug],isNegated=!isNegated}if(!item.bmp&&!isAstralMode)throw new SyntaxError("Astral mode required for Unicode token "+match[0]);if(isAstralMode){if("class"===scope)throw new SyntaxError("Astral mode does not support Unicode tokens within character classes");return function(slug,isNegated){var prop=isNegated?"a!":"a=";return unicode[slug][prop]||(unicode[slug][prop]=function(slug,isNegated){var item=unicode[slug],combined="";return item.bmp&&!item.isBmpLast&&(combined="["+item.bmp+"]"+(item.astral?"|":"")),item.astral&&(combined+=item.astral),item.isBmpLast&&item.bmp&&(combined+=(item.astral?"|":"")+"["+item.bmp+"]"),isNegated?"(?:(?!"+combined+")(?:[\ud800-\udbff][\udc00-\udfff]|[\0-￿]))":"(?:"+combined+")"}(slug,isNegated))}(slug,isNegated)}return"class"===scope?isNegated?function(slug){return unicode[slug]["b!"]||(unicode[slug]["b!"]=function(range){var output="",lastEnd=-1;return XRegExp.forEach(range,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(m){var start=charCode(m[1]);start>lastEnd+1&&(output+="\\u"+pad4(hex(lastEnd+1)),start>lastEnd+2&&(output+="-\\u"+pad4(hex(start-1)))),lastEnd=charCode(m[2]||m[1])}),lastEnd<65535&&(output+="\\u"+pad4(hex(lastEnd+1)),lastEnd<65534&&(output+="-\\uFFFF")),output}(unicode[slug].bmp))}(slug):item.bmp:(isNegated?"[^":"[")+item.bmp+"]"},{scope:"all",optionalFlags:"A",leadChar:"\\"}),XRegExp.addUnicodeData=function(data){for(var item,i=0;i\\x5E`\\x7C~¢-¦¨©¬®-±´¸×÷˂-˅˒-˟˥-˫˭˯-˿͵΄΅϶҂֍-֏؆-؈؋؎؏۞۩۽۾߶৲৳৺৻૱୰௳-௺౿൏൹฿༁-༃༓༕-༗༚-༟༴༶༸྾-࿅࿇-࿌࿎࿏࿕-࿘႞႟᎐-᎙៛᥀᧞-᧿᭡-᭪᭴-᭼᾽᾿-῁῍-῏῝-῟῭-`´῾⁄⁒⁺-⁼₊-₌₠-₾℀℁℃-℆℈℉℔№-℘℞-℣℥℧℩℮℺℻⅀-⅄⅊-⅍⅏↊↋←-⌇⌌-⌨⌫-⏾␀-␦⑀-⑊⒜-ⓩ─-❧➔-⟄⟇-⟥⟰-⦂⦙-⧗⧜-⧻⧾-⭳⭶-⮕⮘-⮹⮽-⯈⯊-⯑⯬-⯯⳥-⳪⺀-⺙⺛-⻳⼀-⿕⿰-⿻〄〒〓〠〶〷〾〿゛゜㆐㆑㆖-㆟㇀-㇣㈀-㈞㈪-㉇㉐㉠-㉿㊊-㊰㋀-㋾㌀-㏿䷀-䷿꒐-꓆꜀-꜖꜠꜡꞉꞊꠨-꠫꠶-꠹꩷-꩹꭛﬩﮲-﯁﷼﷽﹢﹤-﹦﹩$+<->^`|~¢-₩│-○�",astral:"\ud800[\udd37-\udd3f�-\udd89�-\udd8e�-\udd9b�\uddd0-\uddfc]|\ud802[\udc77�\udec8]|𑜿|\ud81a[\udf3c-\udf3f�]|𛲜|\ud834[\udc00-\udcf5�-\udd26�-\udd64�-\udd6c�\udd84�-\udda9�-\udde8�-\ude41�\udf00-\udf56]|\ud835[\udec1�\udefb�\udf35�\udf6f�\udfa9�]|\ud836[\udc00-\uddff�-\ude3a�-\ude74�-\ude83�\ude86]|\ud83b[\udef0�]|\ud83c[\udc00-\udc2b�-\udc93�-\udcae�-\udcbf�-\udccf�-\udcf5�-\udd2e�-\udd6b�-\uddac�-\ude02�-\ude3b�-\ude48�\ude51�-\udfff]|\ud83d[\udc00-\uded2�-\udeec�-\udef6�-\udf73�-\udfd4]|\ud83e[\udc00-\udc0b�-\udc47�-\udc59�-\udc87�-\udcad�-\udd1e�-\udd27�\udd33-\udd3e�-\udd4b�-\udd5e�-\udd91�]"},{name:"Sc",alias:"Currency_Symbol",bmp:"\\x24¢-¥֏؋৲৳৻૱௹฿៛₠-₾꠸﷼﹩$¢£¥₩"},{name:"Sk",alias:"Modifier_Symbol",bmp:"\\x5E`¨¯´¸˂-˅˒-˟˥-˫˭˯-˿͵΄΅᾽᾿-῁῍-῏῝-῟῭-`´῾゛゜꜀-꜖꜠꜡꞉꞊꭛﮲-﯁^` ̄",astral:"\ud83c[\udffb-\udfff]"},{name:"Sm",alias:"Math_Symbol",bmp:"\\x2B<->\\x7C~¬±×÷϶؆-؈⁄⁒⁺-⁼₊-₌℘⅀-⅄⅋←-↔↚↛↠↣↦↮⇎⇏⇒⇔⇴-⋿⌠⌡⍼⎛-⎳⏜-⏡▷◁◸-◿♯⟀-⟄⟇-⟥⟰-⟿⤀-⦂⦙-⧗⧜-⧻⧾-⫿⬰-⭄⭇-⭌﬩﹢﹤-﹦+<->|~¬←-↓",astral:"\ud835[\udec1�\udefb�\udf35�\udf6f�\udfa9�]|\ud83b[\udef0�]"},{name:"So",alias:"Other_Symbol",bmp:"¦©®°҂֍֎؎؏۞۩۽۾߶৺୰௳-௸௺౿൏൹༁-༃༓༕-༗༚-༟༴༶༸྾-࿅࿇-࿌࿎࿏࿕-࿘႞႟᎐-᎙᥀᧞-᧿᭡-᭪᭴-᭼℀℁℃-℆℈℉℔№℗℞-℣℥℧℩℮℺℻⅊⅌⅍⅏↊↋↕-↙↜-↟↡↢↤↥↧-↭↯-⇍⇐⇑⇓⇕-⇳⌀-⌇⌌-⌟⌢-⌨⌫-⍻⍽-⎚⎴-⏛⏢-⏾␀-␦⑀-⑊⒜-ⓩ─-▶▸-◀◂-◷☀-♮♰-❧➔-➿⠀-⣿⬀-⬯⭅⭆⭍-⭳⭶-⮕⮘-⮹⮽-⯈⯊-⯑⯬-⯯⳥-⳪⺀-⺙⺛-⻳⼀-⿕⿰-⿻〄〒〓〠〶〷〾〿㆐㆑㆖-㆟㇀-㇣㈀-㈞㈪-㉇㉐㉠-㉿㊊-㊰㋀-㋾㌀-㏿䷀-䷿꒐-꓆꠨-꠫꠶꠷꠹꩷-꩹﷽¦│■○�",astral:"\ud800[\udd37-\udd3f�-\udd89�-\udd8e�-\udd9b�\uddd0-\uddfc]|\ud802[\udc77�\udec8]|𑜿|\ud81a[\udf3c-\udf3f�]|𛲜|\ud834[\udc00-\udcf5�-\udd26�-\udd64�-\udd6c�\udd84�-\udda9�-\udde8�-\ude41�\udf00-\udf56]|\ud836[\udc00-\uddff�-\ude3a�-\ude74�-\ude83�\ude86]|\ud83c[\udc00-\udc2b�-\udc93�-\udcae�-\udcbf�-\udccf�-\udcf5�-\udd2e�-\udd6b�-\uddac�-\ude02�-\ude3b�-\ude48�\ude51�-\udffa]|\ud83d[\udc00-\uded2�-\udeec�-\udef6�-\udf73�-\udfd4]|\ud83e[\udc00-\udc0b�-\udc47�-\udc59�-\udc87�-\udcad�-\udd1e�-\udd27�\udd33-\udd3e�-\udd4b�-\udd5e�-\udd91�]"},{name:"Z",alias:"Separator",bmp:"    - \u2028\u2029   "},{name:"Zl",alias:"Line_Separator",bmp:"\u2028"},{name:"Zp",alias:"Paragraph_Separator",bmp:"\u2029"},{name:"Zs",alias:"Space_Separator",bmp:"    -    "}])}},{}],6:[function(require,module,exports){module.exports=function(XRegExp){"use strict";if(!XRegExp.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Properties");var unicodeData=[{name:"ASCII",bmp:"\0-"},{name:"Alphabetic",bmp:"A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͅͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևְ-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-ٗٙ-ٟٮ-ۓە-ۜۡ-ۭۨ-ۯۺ-ۼۿܐ-ܿݍ-ޱߊ-ߪߴߵߺࠀ-ࠗࠚ-ࠬࡀ-ࡘࢠ-ࢴࢶ-ࢽࣔ-ࣣࣟ-ࣰࣩ-ऻऽ-ौॎ-ॐॕ-ॣॱ-ঃঅ-ঌএঐও-নপ-রলশ-হঽ-ৄেৈোৌৎৗড়ঢ়য়-ৣৰৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਾ-ੂੇੈੋੌੑਖ਼-ੜਫ਼ੰ-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽ-ૅે-ૉોૌૐૠ-ૣૹଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽ-ୄେୈୋୌୖୗଡ଼ଢ଼ୟ-ୣୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-ௌௐௗఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-ౌౕౖౘ-ౚౠ-ౣಀ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೄೆ-ೈೊ-ೌೕೖೞೠ-ೣೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൌൎൔ-ൗൟ-ൣൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆා-ුූෘ-ෟෲෳก-ฺเ-ๆํກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆໍໜ-ໟༀཀ-ཇཉ-ཬཱ-ཱྀྈ-ྗྙ-ྼက-ံးျ-ဿၐ-ၢၥ-ၨၮ-ႆႎႜႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፟ᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜓᜠ-ᜳᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-ឳា-ៈៗៜᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-ᤸᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨛᨠ-ᩞᩡ-ᩴᪧᬀ-ᬳᬵ-ᭃᭅ-ᭋᮀ-ᮩᮬ-ᮯᮺ-ᯥᯧ-ᯱᰀ-ᰵᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳳᳵᳶᴀ-ᶿᷧ-ᷴḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙴ-ꙻꙿ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠧꡀ-ꡳꢀ-ꣃꣅꣲ-ꣷꣻꣽꤊ-ꤪꤰ-ꥒꥠ-ꥼꦀ-ꦲꦴ-ꦿꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨶꩀ-ꩍꩠ-ꩶꩺꩾ-ꪾꫀꫂꫛ-ꫝꫠ-ꫯꫲ-ꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯪ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",astral:"\ud800[\udc00-\udc0b�-\udc26�-\udc3a�\udc3d�-\udc4d�-\udc5d�-\udcfa�-\udd74�-\ude9c�-\uded0�-\udf1f�-\udf4a�-\udf7a�-\udf9d�-\udfc3�-\udfcf�-\udfd5]|\ud801[\udc00-\udc9d�-\udcd3�-\udcfb�-\udd27�-\udd63�-\udf36�-\udf55�-\udf67]|\ud802[\udc00-\udc05�\udc0a-\udc35�\udc38�\udc3f-\udc55�-\udc76�-\udc9e�-\udcf2�\udcf5�-\udd15�-\udd39�-\uddb7�\uddbf�-\ude03�\ude06�-\ude13�-\ude17�-\ude33�-\ude7c�-\ude9c�-\udec7�-\udee4�-\udf35�-\udf55�-\udf72�-\udf91]|\ud803[\udc00-\udc48�-\udcb2�-\udcf2]|\ud804[\udc00-\udc45�-\udcb8�-\udce8�-\udd32�-\udd72�\udd80-\uddbf�-\uddc4�\udddc�-\ude11�-\ude34�\ude3e�-\ude86�\ude8a-\ude8d�-\ude9d�-\udea8�-\udee8�-\udf03�-\udf0c�\udf10�-\udf28�-\udf30�\udf33�-\udf39�-\udf44�\udf48�\udf4c�\udf57�-\udf63]|\ud805[\udc00-\udc41�-\udc45�-\udc4a�-\udcc1�\udcc5�\udd80-\uddb5�-\uddbe�-\udddd�-\ude3e�\ude44�-\udeb5�-\udf19�-\udf2a]|\ud806[\udca0-\udcdf�\udec0-\udef8]|\ud807[\udc00-\udc08�-\udc36�-\udc3e�\udc72-\udc8f�-\udca7�-\udcb6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e�-\udd43]|[\ud80c\ud81c-\ud820\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38�-\ude5e�-\udeed�-\udf36�-\udf43�-\udf77�-\udf8f]|\ud81b[\udf00-\udf44�-\udf7e�-\udf9f�]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]|\ud82c[\udc00�]|\ud82f[\udc00-\udc6a�-\udc7c�-\udc88�-\udc99�]|\ud835[\udc00-\udc54�-\udc9c�\udc9f�\udca5�\udca9-\udcac�-\udcb9�\udcbd-\udcc3�-\udd05�-\udd0a�-\udd14�-\udd1c�-\udd39�-\udd3e�-\udd44�\udd4a-\udd50�-\udea5�-\udec0�-\udeda�-\udefa�-\udf14�-\udf34�-\udf4e�-\udf6e�-\udf88�-\udfa8�-\udfc2�-\udfcb]|\ud838[\udc00-\udc06�-\udc18�-\udc21�\udc24�-\udc2a]|\ud83a[\udc00-\udcc4�-\udd43�]|\ud83b[\ude00-\ude03�-\ude1f�\ude22�\ude27�-\ude32�-\ude37�\ude3b�\ude47�\ude4b�-\ude4f�\ude52�\ude57�\ude5b�\ude5f�\ude62�\ude67-\ude6a�-\ude72�-\ude77�-\ude7c�\ude80-\ude89�-\ude9b�-\udea3�-\udea9�-\udebb]|\ud83c[\udd30-\udd49�-\udd69�-\udd89]|\ud869[\udc00-\uded6�-\udfff]|\ud86d[\udc00-\udf34�-\udfff]|\ud86e[\udc00-\udc1d�-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]"},{name:"Any",isBmpLast:!0,bmp:"\0-￿",astral:"[\ud800-\udbff][\udc00-\udfff]"},{name:"Default_Ignorable_Code_Point",bmp:"­͏؜ᅟᅠ឴឵᠋-᠎​-‏‪-‮⁠-ㅤ︀-️\ufeffᅠ￰-￸",astral:"\ud82f[\udca0-\udca3]|\ud834[\udd73-\udd7a]|[\udb40-\udb43][\udc00-\udfff]"},{name:"Lowercase",bmp:"a-zªµºß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķĸĺļľŀłńņňʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌƍƒƕƙ-ƛƞơƣƥƨƪƫƭưƴƶƹƺƽ-ƿdžljnjǎǐǒǔǖǘǚǜǝǟǡǣǥǧǩǫǭǯǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳ-ȹȼȿɀɂɇɉɋɍɏ-ʓʕ-ʸˀˁˠ-ˤͅͱͳͷͺ-ͽΐά-ώϐϑϕ-ϗϙϛϝϟϡϣϥϧϩϫϭϯ-ϳϵϸϻϼа-џѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӏӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯա-ևᏸ-ᏽᲀ-ᲈᴀ-ᶿḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕ-ẝẟạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶᾷιῂ-ῄῆῇῐ-ΐῖῗῠ-ῧῲ-ῴῶῷⁱⁿₐ-ₜℊℎℏℓℯℴℹℼℽⅆ-ⅉⅎⅰ-ⅿↄⓐ-ⓩⰰ-ⱞⱡⱥⱦⱨⱪⱬⱱⱳⱴⱶ-ⱽⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳤⳬⳮⳳⴀ-ⴥⴧⴭꙁꙃꙅꙇꙉꙋꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛ-ꚝꜣꜥꜧꜩꜫꜭꜯ-ꜱꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯ-ꝸꝺꝼꝿꞁꞃꞅꞇꞌꞎꞑꞓ-ꞕꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩꞵꞷꟸ-ꟺꬰ-ꭚꭜ-ꭥꭰ-ꮿff-stﬓ-ﬗa-z",astral:"\ud801[\udc28-\udc4f�-\udcfb]|\ud803[\udcc0-\udcf2]|\ud806[\udcc0-\udcdf]|\ud835[\udc1a-\udc33�-\udc54�-\udc67�-\udc9b�-\udcb9�\udcbd-\udcc3�-\udccf�-\udd03�-\udd37�-\udd6b�-\udd9f�-\uddd3�-\ude07�-\ude3b�-\ude6f�-\udea5�-\udeda�-\udee1�-\udf14�-\udf1b�-\udf4e�-\udf55�-\udf88�-\udf8f�-\udfc2�-\udfc9�]|\ud83a[\udd22-\udd43]"},{name:"Noncharacter_Code_Point",bmp:"﷐-﷯￾￿",astral:"[\ud83f\ud87f\ud8bf\ud8ff\ud93f\ud97f\ud9bf\ud9ff\uda3f\uda7f\udabf\udaff\udb3f\udb7f\udbbf\udbff][\udffe�]"},{name:"Uppercase",bmp:"A-ZÀ-ÖØ-ÞĀĂĄĆĈĊČĎĐĒĔĖĘĚĜĞĠĢĤĦĨĪĬĮİIJĴĶĹĻĽĿŁŃŅŇŊŌŎŐŒŔŖŘŚŜŞŠŢŤŦŨŪŬŮŰŲŴŶŸŹŻŽƁƂƄƆƇƉ-ƋƎ-ƑƓƔƖ-ƘƜƝƟƠƢƤƦƧƩƬƮƯƱ-ƳƵƷƸƼDŽLJNJǍǏǑǓǕǗǙǛǞǠǢǤǦǨǪǬǮDZǴǶ-ǸǺǼǾȀȂȄȆȈȊȌȎȐȒȔȖȘȚȜȞȠȢȤȦȨȪȬȮȰȲȺȻȽȾɁɃ-ɆɈɊɌɎͰͲͶͿΆΈ-ΊΌΎΏΑ-ΡΣ-ΫϏϒ-ϔϘϚϜϞϠϢϤϦϨϪϬϮϴϷϹϺϽ-ЯѠѢѤѦѨѪѬѮѰѲѴѶѸѺѼѾҀҊҌҎҐҒҔҖҘҚҜҞҠҢҤҦҨҪҬҮҰҲҴҶҸҺҼҾӀӁӃӅӇӉӋӍӐӒӔӖӘӚӜӞӠӢӤӦӨӪӬӮӰӲӴӶӸӺӼӾԀԂԄԆԈԊԌԎԐԒԔԖԘԚԜԞԠԢԤԦԨԪԬԮԱ-ՖႠ-ჅჇჍᎠ-ᏵḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẞẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸỺỼỾἈ-ἏἘ-ἝἨ-ἯἸ-ἿὈ-ὍὙὛὝὟὨ-ὯᾸ-ΆῈ-ΉῘ-ΊῨ-ῬῸ-Ώℂℇℋ-ℍℐ-ℒℕℙ-ℝℤΩℨK-ℭℰ-ℳℾℿⅅⅠ-ⅯↃⒶ-ⓏⰀ-ⰮⱠⱢ-ⱤⱧⱩⱫⱭ-ⱰⱲⱵⱾ-ⲀⲂⲄⲆⲈⲊⲌⲎⲐⲒⲔⲖⲘⲚⲜⲞⲠⲢⲤⲦⲨⲪⲬⲮⲰⲲⲴⲶⲸⲺⲼⲾⳀⳂⳄⳆⳈⳊⳌⳎⳐⳒⳔⳖⳘⳚⳜⳞⳠⳢⳫⳭⳲꙀꙂꙄꙆꙈꙊꙌꙎꙐꙒꙔꙖꙘꙚꙜꙞꙠꙢꙤꙦꙨꙪꙬꚀꚂꚄꚆꚈꚊꚌꚎꚐꚒꚔꚖꚘꚚꜢꜤꜦꜨꜪꜬꜮꜲꜴꜶꜸꜺꜼꜾꝀꝂꝄꝆꝈꝊꝌꝎꝐꝒꝔꝖꝘꝚꝜꝞꝠꝢꝤꝦꝨꝪꝬꝮꝹꝻꝽꝾꞀꞂꞄꞆꞋꞍꞐꞒꞖꞘꞚꞜꞞꞠꞢꞤꞦꞨꞪ-ꞮꞰ-ꞴꞶA-Z",astral:"\ud801[\udc00-\udc27�-\udcd3]|\ud803[\udc80-\udcb2]|\ud806[\udca0-\udcbf]|\ud835[\udc00-\udc19�-\udc4d�-\udc81�\udc9e�\udca2�\udca6�-\udcac�-\udcb5�-\udce9�\udd05�-\udd0a�-\udd14�-\udd1c�\udd39�-\udd3e�-\udd44�\udd4a-\udd50�-\udd85�-\uddb9�-\udded�-\ude21�-\ude55�-\ude89�-\udec0�-\udefa�-\udf34�-\udf6e�-\udfa8�]|\ud83a[\udd00-\udd21]|\ud83c[\udd30-\udd49�-\udd69�-\udd89]"},{name:"White_Space",bmp:"\t-\r …   - \u2028\u2029   "}];unicodeData.push({name:"Assigned",inverseOf:"Cn"}),XRegExp.addUnicodeData(unicodeData)}},{}],7:[function(require,module,exports){module.exports=function(XRegExp){"use strict";if(!XRegExp.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts");XRegExp.addUnicodeData([{name:"Adlam",astral:"\ud83a[\udd00-\udd4a�-\udd59�\udd5f]"},{name:"Ahom",astral:"\ud805[\udf00-\udf19�-\udf2b�-\udf3f]"},{name:"Anatolian_Hieroglyphs",astral:"\ud811[\udc00-\ude46]"},{name:"Arabic",bmp:"؀-؄؆-؋؍-ؚ؞ؠ-ؿف-يٖ-ٯٱ-ۜ۞-ۿݐ-ݿࢠ-ࢴࢶ-ࢽࣔ-ࣣ࣡-ࣿﭐ-﯁ﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-﷽ﹰ-ﹴﹶ-ﻼ",astral:"\ud803[\ude60-\ude7e]|\ud83b[\ude00-\ude03�-\ude1f�\ude22�\ude27�-\ude32�-\ude37�\ude3b�\ude47�\ude4b�-\ude4f�\ude52�\ude57�\ude5b�\ude5f�\ude62�\ude67-\ude6a�-\ude72�-\ude77�-\ude7c�\ude80-\ude89�-\ude9b�-\udea3�-\udea9�-\udebb�\udef1]"},{name:"Armenian",bmp:"Ա-Ֆՙ-՟ա-և֊֍-֏ﬓ-ﬗ"},{name:"Avestan",astral:"\ud802[\udf00-\udf35�-\udf3f]"},{name:"Balinese",bmp:"ᬀ-ᭋ᭐-᭼"},{name:"Bamum",bmp:"ꚠ-꛷",astral:"\ud81a[\udc00-\ude38]"},{name:"Bassa_Vah",astral:"\ud81a[\uded0-\udeed�-\udef5]"},{name:"Batak",bmp:"ᯀ-᯳᯼-᯿"},{name:"Bengali",bmp:"ঀ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-৻"},{name:"Bhaiksuki",astral:"\ud807[\udc00-\udc08�-\udc36�-\udc45�-\udc6c]"},{name:"Bopomofo",bmp:"˪˫ㄅ-ㄭㆠ-ㆺ"},{name:"Brahmi",astral:"\ud804[\udc00-\udc4d�-\udc6f�]"},{name:"Braille",bmp:"⠀-⣿"},{name:"Buginese",bmp:"ᨀ-ᨛ᨞᨟"},{name:"Buhid",bmp:"ᝀ-ᝓ"},{name:"Canadian_Aboriginal",bmp:"᐀-ᙿᢰ-ᣵ"},{name:"Carian",astral:"\ud800[\udea0-\uded0]"},{name:"Caucasian_Albanian",astral:"\ud801[\udd30-\udd63�]"},{name:"Chakma",astral:"\ud804[\udd00-\udd34�-\udd43]"},{name:"Cham",bmp:"ꨀ-ꨶꩀ-ꩍ꩐-꩙꩜-꩟"},{name:"Cherokee",bmp:"Ꭰ-Ᏽᏸ-ᏽꭰ-ꮿ"},{name:"Common",bmp:"\0-@\\x5B-`\\x7B-©«-¹»-¿×÷ʹ-˟˥-˩ˬ-˿ʹ;΅·։؅،؛؜؟ـ۝࣢।॥฿࿕-࿘჻᛫-᛭᜵᜶᠂᠃᠅᳓᳡ᳩ-ᳬᳮ-ᳳᳵᳶ -​‎-⁤⁦-⁰⁴-⁾₀-₎₠-₾℀-℥℧-℩ℬ-ℱℳ-⅍⅏-⅟↉-↋←-⏾␀-␦⑀-⑊①-⟿⤀-⭳⭶-⮕⮘-⮹⮽-⯈⯊-⯑⯬-⯯⸀-⹄⿰-⿻ -〄〆〈-〠〰-〷〼-〿゛゜゠・ー㆐-㆟㇀-㇣㈠-㉟㉿-㋏㍘-㏿䷀-䷿꜀-꜡ꞈ-꞊꠰-꠹꤮ꧏ꭛﴾﴿︐-︙︰-﹒﹔-﹦﹨-﹫\ufeff!-@[-`{-・ー゙゚¢-₩│-○-�",astral:"\ud800[\udd00-\udd02�-\udd33�-\udd3f�-\udd9b�-\uddfc�-\udefb]|\ud82f[\udca0-\udca3]|\ud834[\udc00-\udcf5�-\udd26�-\udd66�-\udd7a�\udd84�-\udda9�-\udde8�-\udf56�-\udf71]|\ud835[\udc00-\udc54�-\udc9c�\udc9f�\udca5�\udca9-\udcac�-\udcb9�\udcbd-\udcc3�-\udd05�-\udd0a�-\udd14�-\udd1c�-\udd39�-\udd3e�-\udd44�\udd4a-\udd50�-\udea5�-\udfcb�-\udfff]|\ud83c[\udc00-\udc2b�-\udc93�-\udcae�-\udcbf�-\udccf�-\udcf5�-\udd0c�-\udd2e�-\udd6b�-\uddac�-\uddff�\ude02�-\ude3b�-\ude48�\ude51�-\udfff]|\ud83d[\udc00-\uded2�-\udeec�-\udef6�-\udf73�-\udfd4]|\ud83e[\udc00-\udc0b�-\udc47�-\udc59�-\udc87�-\udcad�-\udd1e�-\udd27�\udd33-\udd3e�-\udd4b�-\udd5e�-\udd91�]|\udb40[\udc01�-\udc7f]"},{name:"Coptic",bmp:"Ϣ-ϯⲀ-ⳳ⳹-⳿"},{name:"Cuneiform",astral:"\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e�-\udc74�-\udd43]"},{name:"Cypriot",astral:"\ud802[\udc00-\udc05�\udc0a-\udc35�\udc38�\udc3f]"},{name:"Cyrillic",bmp:"Ѐ-҄҇-ԯᲀ-ᲈᴫᵸⷠ-ⷿꙀ-ꚟ︮︯"},{name:"Deseret",astral:"\ud801[\udc00-\udc4f]"},{name:"Devanagari",bmp:"ऀ-ॐ॓-ॣ०-ॿ꣠-ꣽ"},{name:"Duployan",astral:"\ud82f[\udc00-\udc6a�-\udc7c�-\udc88�-\udc99�-\udc9f]"},{name:"Egyptian_Hieroglyphs",astral:"\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]"},{name:"Elbasan",astral:"\ud801[\udd00-\udd27]"},{name:"Ethiopic",bmp:"ሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፼ᎀ-᎙ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮ"},{name:"Georgian",bmp:"Ⴀ-ჅჇჍა-ჺჼ-ჿⴀ-ⴥⴧⴭ"},{name:"Glagolitic",bmp:"Ⰰ-Ⱞⰰ-ⱞ",astral:"\ud838[\udc00-\udc06�-\udc18�-\udc21�\udc24�-\udc2a]"},{name:"Gothic",astral:"\ud800[\udf30-\udf4a]"},{name:"Grantha",astral:"\ud804[\udf00-\udf03�-\udf0c�\udf10�-\udf28�-\udf30�\udf33�-\udf39�-\udf44�\udf48�-\udf4d�\udf57�-\udf63�-\udf6c�-\udf74]"},{name:"Greek",bmp:"Ͱ-ͳ͵-ͷͺ-ͽͿ΄ΆΈ-ΊΌΎ-ΡΣ-ϡϰ-Ͽᴦ-ᴪᵝ-ᵡᵦ-ᵪᶿἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ῄῆ-ΐῖ-Ί῝-`ῲ-ῴῶ-῾Ωꭥ",astral:"\ud800[\udd40-\udd8e�]|\ud834[\ude00-\ude45]"},{name:"Gujarati",bmp:"ઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૱ૹ"},{name:"Gurmukhi",bmp:"ਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵ"},{name:"Han",bmp:"⺀-⺙⺛-⻳⼀-⿕々〇〡-〩〸-〻㐀-䶵一-鿕豈-舘並-龎",astral:"[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud869[\udc00-\uded6�-\udfff]|\ud86d[\udc00-\udf34�-\udfff]|\ud86e[\udc00-\udc1d�-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]"},{name:"Hangul",bmp:"ᄀ-ᇿ〮〯ㄱ-ㆎ㈀-㈞㉠-㉾ꥠ-ꥼ가-힣ힰ-ퟆퟋ-ퟻᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"},{name:"Hanunoo",bmp:"ᜠ-᜴"},{name:"Hatran",astral:"\ud802[\udce0-\udcf2�\udcf5�-\udcff]"},{name:"Hebrew",bmp:"֑-ׇא-תװ-״יִ-זּטּ-לּמּנּסּףּפּצּ-ﭏ"},{name:"Hiragana",bmp:"ぁ-ゖゝ-ゟ",astral:"𛀁|🈀"},{name:"Imperial_Aramaic",astral:"\ud802[\udc40-\udc55�-\udc5f]"},{name:"Inherited",bmp:"̀-ًͯ҅҆-ٰٕ॒॑᪰-᪾᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸᳹᷀-᷵᷻-᷿‌‍⃐-〪⃰-゙゚〭︀-️︠-︭",astral:"\ud800[\uddfd�]|\ud834[\udd67-\udd69�-\udd82�-\udd8b�-\uddad]|\udb40[\udd00-\uddef]"},{name:"Inscriptional_Pahlavi",astral:"\ud802[\udf60-\udf72�-\udf7f]"},{name:"Inscriptional_Parthian",astral:"\ud802[\udf40-\udf55�-\udf5f]"},{name:"Javanese",bmp:"ꦀ-꧍꧐-꧙꧞꧟"},{name:"Kaithi",astral:"\ud804[\udc80-\udcc1]"},{name:"Kannada",bmp:"ಀ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲ"},{name:"Katakana",bmp:"ァ-ヺヽ-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ッア-ン",astral:"𛀀"},{name:"Kayah_Li",bmp:"꤀-꤭꤯"},{name:"Kharoshthi",astral:"\ud802[\ude00-\ude03�\ude06�-\ude13�-\ude17�-\ude33�-\ude3a�-\ude47�-\ude58]"},{name:"Khmer",bmp:"ក-៝០-៩៰-៹᧠-᧿"},{name:"Khojki",astral:"\ud804[\ude00-\ude11�-\ude3e]"},{name:"Khudawadi",astral:"\ud804[\udeb0-\udeea�-\udef9]"},{name:"Lao",bmp:"ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟ"},{name:"Latin",bmp:"A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞮꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z"},{name:"Lepcha",bmp:"ᰀ-᰷᰻-᱉ᱍ-ᱏ"},{name:"Limbu",bmp:"ᤀ-ᤞᤠ-ᤫᤰ-᤻᥀᥄-᥏"},{name:"Linear_A",astral:"\ud801[\ude00-\udf36�-\udf55�-\udf67]"},{name:"Linear_B",astral:"\ud800[\udc00-\udc0b�-\udc26�-\udc3a�\udc3d�-\udc4d�-\udc5d�-\udcfa]"},{name:"Lisu",bmp:"ꓐ-꓿"},{name:"Lycian",astral:"\ud800[\ude80-\ude9c]"},{name:"Lydian",astral:"\ud802[\udd20-\udd39�]"},{name:"Mahajani",astral:"\ud804[\udd50-\udd76]"},{name:"Malayalam",bmp:"ഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-൏ൔ-ൣ൦-ൿ"},{name:"Mandaic",bmp:"ࡀ-࡛࡞"},{name:"Manichaean",astral:"\ud802[\udec0-\udee6�-\udef6]"},{name:"Marchen",astral:"\ud807[\udc70-\udc8f�-\udca7�-\udcb6]"},{name:"Meetei_Mayek",bmp:"ꫠ-꫶ꯀ-꯭꯰-꯹"},{name:"Mende_Kikakui",astral:"\ud83a[\udc00-\udcc4�-\udcd6]"},{name:"Meroitic_Cursive",astral:"\ud802[\udda0-\uddb7�-\uddcf�-\uddff]"},{name:"Meroitic_Hieroglyphs",astral:"\ud802[\udd80-\udd9f]"},{name:"Miao",astral:"\ud81b[\udf00-\udf44�-\udf7e�-\udf9f]"},{name:"Modi",astral:"\ud805[\ude00-\ude44�-\ude59]"},{name:"Mongolian",bmp:"᠀᠁᠄᠆-᠎᠐-᠙ᠠ-ᡷᢀ-ᢪ",astral:"\ud805[\ude60-\ude6c]"},{name:"Mro",astral:"\ud81a[\ude40-\ude5e�-\ude69�\ude6f]"},{name:"Multani",astral:"\ud804[\ude80-\ude86�\ude8a-\ude8d�-\ude9d�-\udea9]"},{name:"Myanmar",bmp:"က-႟ꧠ-ꧾꩠ-ꩿ"},{name:"Nabataean",astral:"\ud802[\udc80-\udc9e�-\udcaf]"},{name:"New_Tai_Lue",bmp:"ᦀ-ᦫᦰ-ᧉ᧐-᧚᧞᧟"},{name:"Newa",astral:"\ud805[\udc00-\udc59�\udc5d]"},{name:"Nko",bmp:"߀-ߺ"},{name:"Ogham",bmp:" -᚜"},{name:"Ol_Chiki",bmp:"᱐-᱿"},{name:"Old_Hungarian",astral:"\ud803[\udc80-\udcb2�-\udcf2�-\udcff]"},{name:"Old_Italic",astral:"\ud800[\udf00-\udf23]"},{name:"Old_North_Arabian",astral:"\ud802[\ude80-\ude9f]"},{name:"Old_Permic",astral:"\ud800[\udf50-\udf7a]"},{name:"Old_Persian",astral:"\ud800[\udfa0-\udfc3�-\udfd5]"},{name:"Old_South_Arabian",astral:"\ud802[\ude60-\ude7f]"},{name:"Old_Turkic",astral:"\ud803[\udc00-\udc48]"},{name:"Oriya",bmp:"ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୷"},{name:"Osage",astral:"\ud801[\udcb0-\udcd3�-\udcfb]"},{name:"Osmanya",astral:"\ud801[\udc80-\udc9d�-\udca9]"},{name:"Pahawh_Hmong",astral:"\ud81a[\udf00-\udf45�-\udf59�-\udf61�-\udf77�-\udf8f]"},{name:"Palmyrene",astral:"\ud802[\udc60-\udc7f]"},{name:"Pau_Cin_Hau",astral:"\ud806[\udec0-\udef8]"},{name:"Phags_Pa",bmp:"ꡀ-꡷"},{name:"Phoenician",astral:"\ud802[\udd00-\udd1b�]"},{name:"Psalter_Pahlavi",astral:"\ud802[\udf80-\udf91�-\udf9c�-\udfaf]"},{name:"Rejang",bmp:"ꤰ-꥓꥟"},{name:"Runic",bmp:"ᚠ-ᛪᛮ-ᛸ"},{name:"Samaritan",bmp:"ࠀ-࠭࠰-࠾"},{name:"Saurashtra",bmp:"ꢀ-ꣅ꣎-꣙"},{name:"Sharada",astral:"\ud804[\udd80-\uddcd�-\udddf]"},{name:"Shavian",astral:"\ud801[\udc50-\udc7f]"},{name:"Siddham",astral:"\ud805[\udd80-\uddb5�-\udddd]"},{name:"SignWriting",astral:"\ud836[\udc00-\ude8b�-\ude9f�-\udeaf]"},{name:"Sinhala",bmp:"ංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲ-෴",astral:"\ud804[\udde1-\uddf4]"},{name:"Sora_Sompeng",astral:"\ud804[\udcd0-\udce8�-\udcf9]"},{name:"Sundanese",bmp:"ᮀ-ᮿ᳀-᳇"},{name:"Syloti_Nagri",bmp:"ꠀ-꠫"},{name:"Syriac",bmp:"܀-܍܏-݊ݍ-ݏ"},{name:"Tagalog",bmp:"ᜀ-ᜌᜎ-᜔"},{name:"Tagbanwa",bmp:"ᝠ-ᝬᝮ-ᝰᝲᝳ"},{name:"Tai_Le",bmp:"ᥐ-ᥭᥰ-ᥴ"},{name:"Tai_Tham",bmp:"ᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪠-᪭"},{name:"Tai_Viet",bmp:"ꪀ-ꫂꫛ-꫟"},{name:"Takri",astral:"\ud805[\ude80-\udeb7�-\udec9]"},{name:"Tamil",bmp:"ஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௺"},{name:"Tangut",astral:"𖿠|[\ud81c-\ud820][\udc00-\udfff]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]"},{name:"Telugu",bmp:"ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘ-ౚౠ-ౣ౦-౯౸-౿"},{name:"Thaana",bmp:"ހ-ޱ"},{name:"Thai",bmp:"ก-ฺเ-๛"},{name:"Tibetan",bmp:"ༀ-ཇཉ-ཬཱ-ྗྙ-ྼ྾-࿌࿎-࿔࿙࿚"},{name:"Tifinagh",bmp:"ⴰ-ⵧⵯ⵰⵿"},{name:"Tirhuta",astral:"\ud805[\udc80-\udcc7�-\udcd9]"},{name:"Ugaritic",astral:"\ud800[\udf80-\udf9d�]"},{name:"Vai",bmp:"ꔀ-ꘫ"},{name:"Warang_Citi",astral:"\ud806[\udca0-\udcf2�]"},{name:"Yi",bmp:"ꀀ-ꒌ꒐-꓆"}])}},{}],8:[function(require,module,exports){var XRegExp=require("./xregexp");require("./addons/build")(XRegExp),require("./addons/matchrecursive")(XRegExp),require("./addons/unicode-base")(XRegExp),require("./addons/unicode-blocks")(XRegExp),require("./addons/unicode-categories")(XRegExp),require("./addons/unicode-properties")(XRegExp),require("./addons/unicode-scripts")(XRegExp),module.exports=XRegExp},{"./addons/build":1,"./addons/matchrecursive":2,"./addons/unicode-base":3,"./addons/unicode-blocks":4,"./addons/unicode-categories":5,"./addons/unicode-properties":6,"./addons/unicode-scripts":7,"./xregexp":9}],9:[function(require,module,exports){"use strict";function hasNativeFlag(flag){var isSupported=!0;try{new RegExp("",flag)}catch(exception){isSupported=!1}return isSupported}function augment(regex,captureNames,xSource,xFlags,isInternalOnly){var p;if(regex[REGEX_DATA]={captureNames:captureNames},isInternalOnly)return regex;if(regex.__proto__)regex.__proto__=XRegExp.prototype;else for(p in XRegExp.prototype)regex[p]=XRegExp.prototype[p];return regex[REGEX_DATA].source=xSource,regex[REGEX_DATA].flags=xFlags?xFlags.split("").sort().join(""):xFlags,regex}function clipDuplicates(str){return nativ.replace.call(str,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(regex,options){if(!XRegExp.isRegExp(regex))throw new TypeError("Type RegExp expected");var xData=regex[REGEX_DATA]||{},flags=function(regex){return hasFlagsProp?regex.flags:nativ.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(regex))[1]}(regex),flagsToAdd="",flagsToRemove="",xregexpSource=null,xregexpFlags=null;return(options=options||{}).removeG&&(flagsToRemove+="g"),options.removeY&&(flagsToRemove+="y"),flagsToRemove&&(flags=nativ.replace.call(flags,new RegExp("["+flagsToRemove+"]+","g"),"")),options.addG&&(flagsToAdd+="g"),options.addY&&(flagsToAdd+="y"),flagsToAdd&&(flags=clipDuplicates(flags+flagsToAdd)),options.isInternalOnly||(void 0!==xData.source&&(xregexpSource=xData.source),null!=xData.flags&&(xregexpFlags=flagsToAdd?clipDuplicates(xData.flags+flagsToAdd):xData.flags)),regex=augment(new RegExp(options.source||regex.source,flags),function(regex){return!(!regex[REGEX_DATA]||!regex[REGEX_DATA].captureNames)}(regex)?xData.captureNames.slice(0):null,xregexpSource,xregexpFlags,options.isInternalOnly)}function dec(hex){return parseInt(hex,16)}function getContextualTokenSeparator(match,scope,flags){return"("===match.input.charAt(match.index-1)||")"===match.input.charAt(match.index+match[0].length)||function(pattern,pos,flags,needlePattern){var patternsToIgnore=flags.indexOf("x")>-1?["\\s","#[^#\\n]*","\\(\\?#[^)]*\\)"]:["\\(\\?#[^)]*\\)"];return nativ.test.call(new RegExp("^(?:"+patternsToIgnore.join("|")+")*(?:"+needlePattern+")"),pattern.slice(pos))}(match.input,match.index+match[0].length,flags,"[?*+]|{\\d+(?:,\\d*)?}")?"":"(?:)"}function hex(dec){return parseInt(dec,10).toString(16)}function indexOf(array,value){var i,len=array.length;for(i=0;i"}else if(backref)return"\\"+(+backref+numPriorCaptures);return match}))):output.push(XRegExp.escape(pattern));var separator="none"===conjunction?"":"|";return XRegExp(output.join(separator),flags)},fixed.exec=function(str){var name,r2,i,origLastIndex=this.lastIndex,match=nativ.exec.apply(this,arguments);if(match){if(!correctExecNpcg&&match.length>1&&indexOf(match,"")>-1&&(r2=copyRegex(this,{removeG:!0,isInternalOnly:!0}),nativ.replace.call(String(str).slice(match.index),r2,function(){var i,len=arguments.length;for(i=1;imatch.index&&(this.lastIndex=match.index)}return this.global||(this.lastIndex=origLastIndex),match},fixed.test=function(str){return!!fixed.exec.call(this,str)},fixed.match=function(regex){var result;if(XRegExp.isRegExp(regex)){if(regex.global)return result=nativ.match.apply(this,arguments),regex.lastIndex=0,result}else regex=new RegExp(regex);return fixed.exec.call(regex,toObject(this))},fixed.replace=function(search,replacement){var origLastIndex,captureNames,result,isRegex=XRegExp.isRegExp(search);return isRegex?(search[REGEX_DATA]&&(captureNames=search[REGEX_DATA].captureNames),origLastIndex=search.lastIndex):search+="",result=isType(replacement,"Function")?nativ.replace.call(String(this),search,function(){var i,args=arguments;if(captureNames)for(args[0]=new String(args[0]),i=0;iargs.length-3)throw new SyntaxError("Backreference to undefined group "+$0);return args[$2]||""}throw new SyntaxError("Invalid token "+$0)})}),isRegex&&(search.global?search.lastIndex=0:search.lastIndex=origLastIndex),result},fixed.split=function(separator,limit){if(!XRegExp.isRegExp(separator))return nativ.split.apply(this,arguments);var lastLength,str=String(this),output=[],origLastIndex=separator.lastIndex,lastLastIndex=0;return limit=(void 0===limit?-1:limit)>>>0,XRegExp.forEach(str,separator,function(match){match.index+match[0].length>lastLastIndex&&(output.push(str.slice(lastLastIndex,match.index)),match.length>1&&match.indexlimit?output.slice(0,limit):output},XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(match,scope){if("B"===match[1]&&scope===defaultScope)return match[0];throw new SyntaxError("Invalid escape "+match[0])},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/,function(match,scope,flags){var code=dec(match[1]);if(code>1114111)throw new SyntaxError("Invalid Unicode code point "+match[0]);if(code<=65535)return"\\u"+pad4(hex(code));if(hasNativeU&&flags.indexOf("u")>-1)return match[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\[(\^?)\]/,function(match){return match[1]?"[\\s\\S]":"\\b\\B"},{leadChar:"["}),XRegExp.addToken(/\(\?#[^)]*\)/,getContextualTokenSeparator,{leadChar:"("}),XRegExp.addToken(/\s+|#[^\n]*\n?/,getContextualTokenSeparator,{flag:"x"}),XRegExp.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."}),XRegExp.addToken(/\\k<([\w$]+)>/,function(match){var index=isNaN(match[1])?indexOf(this.captureNames,match[1])+1:+match[1],endIndex=match.index+match[0].length;if(!index||index>this.captureNames.length)throw new SyntaxError("Backreference to undefined group "+match[0]);return"\\"+index+(endIndex===match.input.length||isNaN(match.input.charAt(endIndex))?"":"(?:)")},{leadChar:"\\"}),XRegExp.addToken(/\\(\d+)/,function(match,scope){if(!(scope===defaultScope&&/^[1-9]/.test(match[1])&&+match[1]<=this.captureNames.length)&&"0"!==match[1])throw new SyntaxError("Cannot use octal escape or backreference to undefined group "+match[0]);return match[0]},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\(\?P?<([\w$]+)>/,function(match){if(!isNaN(match[1]))throw new SyntaxError("Cannot use integer as capture name "+match[0]);if("length"===match[1]||"__proto__"===match[1])throw new SyntaxError("Cannot use reserved word as capture name "+match[0]);if(indexOf(this.captureNames,match[1])>-1)throw new SyntaxError("Cannot use same name for multiple groups "+match[0]);return this.captureNames.push(match[1]),this.hasNamedCapture=!0,"("},{leadChar:"("}),XRegExp.addToken(/\((?!\?)/,function(match,scope,flags){return flags.indexOf("n")>-1?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("}),module.exports=XRegExp},{}]},{},[8])(8)})},function(module,exports,__webpack_require__){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map(function(n){return test2[n]}).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=function(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}(target),s=1;s=0?value=rule.arguments[index][matchVal.named]:(propAndValue=[match.atomicSelector,"(",matchVal.named,")"].join(""),config.custom?config.custom.hasOwnProperty(propAndValue)?value=config.custom[propAndValue]:config.custom.hasOwnProperty(matchVal.named)?value=config.custom[matchVal.named]:(warnings.push(propAndValue),value=null):(warnings.push(propAndValue),value=null))),value})),match.valuePseudoClass&&(treeo.valuePseudoClass=match.valuePseudoClass),match.valuePseudoElement&&(treeo.valuePseudoElement=match.valuePseudoElement),match.breakPoint&&(treeo.breakPoint=match.breakPoint);for(var prop in treeo.declarations)values&&(values.forEach(function(value,index){options.ie&&(("display"===prop&&"inline-block"===value||"overflow"===prop&&"visible"!==value)&&(treeo.declarations.zoom=1),"display"===prop&&"inline-block"===value&&(treeo.declarations["*display"]="inline"),"opacity"===prop&&(treeo.declarations.filter="alpha(opacity="+100*parseFloat(value,10)+")")),null!==value?_.isObject(value)?(Object.keys(value).forEach(function(bp){config.hasOwnProperty("breakPoints")&&config.breakPoints.hasOwnProperty(bp)&&(treeo.declarations[config.breakPoints[bp]]=treeo.declarations[config.breakPoints[bp]]||{},treeo.declarations[config.breakPoints[bp]][prop]=treeo.declarations[prop].replace("$"+index,value[bp]))}),value.hasOwnProperty("default")?treeo.declarations[prop]=treeo.declarations[prop].replace("$"+index,value.default):delete treeo.declarations[prop]):treeo.declarations[prop]=treeo.declarations[prop].replace("$"+index,value):treeo.declarations=null}),treeo.declarations&&treeo.declarations[prop]&&treeo.declarations[prop].indexOf("$")>=0&&(treeo.declarations[prop]=treeo.declarations[prop].replace(/[,\s]?\$\d+/g,""))),treeo.declarations&&(match.important||match.parent&&options.namespace&&"helper"!==rule.type)&&(treeo.declarations[prop]+=" !important");tree[rule.matcher].push(treeo)}},this),isVerbose&&warnings.length>0&&warnings.forEach(function(className){console.warn(["Warning: Class `"+className+"` is ambiguous, and must be manually added to your config file:",'"custom": {',' "'+className+'": ',"}"].join("\n"))}),tree):tree},Atomizer.prototype.getCss=function(config,options){var tree,breakPoints,jss={},content="";if(options=objectAssign({},{banner:"",namespace:null,rtl:!1,ie:!1},options),config&&config.breakPoints){if(!_.isObject(config.breakPoints))throw new TypeError("`config.breakPoints` must be an Object");if(_.size(config.breakPoints)>0)for(var bp in config.breakPoints){if(!/^@media/.test(config.breakPoints[bp]))throw new Error("Breakpoint `"+bp+"` must start with `@media`.");breakPoints=config.breakPoints}}return tree=this.parseConfig(config,options),this.rules.forEach(function(rule){tree[rule.matcher]&&tree[rule.matcher].forEach(function(treeo){var breakPoint,selector;treeo.declarations&&(breakPoint=breakPoints&&breakPoints[treeo.breakPoint],selector=Atomizer.escapeSelector(treeo.className),treeo.parentSelector&&(selector=[Atomizer.escapeSelector(treeo.parent),Grammar.getPseudo(treeo.parentPseudo),"_"===treeo.parentSep?" ":[" ",treeo.parentSep," "].join(""),".",selector].join("")),treeo.valuePseudoClass&&(selector=[selector,Grammar.getPseudo(treeo.valuePseudoClass)].join("")),treeo.valuePseudoElement&&(selector=[selector,Grammar.getPseudo(treeo.valuePseudoElement)].join("")),selector=[".",selector].join(""),treeo.parent||("helper"===rule.type&&options.helpersNamespace?selector=[options.helpersNamespace," ",selector].join(""):"helper"!==rule.type&&options.namespace&&(selector=[options.namespace," ",selector].join(""))),rule.rules&&_.merge(jss,rule.rules),jss[selector]||(jss[selector]={}),breakPoint?jss[selector][breakPoint]=treeo.declarations:jss[selector]=treeo.declarations)})}),content=options.banner+JSS.jssToCss(jss,{breakPoints:breakPoints}),content=Atomizer.replaceConstants(content,options.rtl)},Atomizer.escapeSelector=function(str){if(!str&&0!==str)throw new TypeError("str must be present");return str.constructor!==String?str:str.replace(/\b(-?)([^-_a-zA-Z0-9\s]+)/g,function(str,dash,characters){return dash+characters.split("").map(function(character){return["\\",character].join("")}).join("")})},Atomizer.replaceConstants=function(str,rtl){var start=rtl?"right":"left",end=rtl?"left":"right";return str&&str.constructor===String?str.replace(/__START__/g,start).replace(/__END__/g,end):str},module.exports=Atomizer},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,exports,__webpack_require__){var utils=__webpack_require__(1),JSS={};JSS.flattenSelectors=function(newJss,jss,parent){var props,value,selector;selector=parent=parent||"";for(var rule in jss){props=jss[rule];for(var prop in props)"object"==typeof(value=props[prop])?/^@media|@supports/.test(prop)?(newJss[prop]||(newJss[prop]={}),newJss[prop][parent?parent+" "+rule:rule]=value):JSS.flattenSelectors(newJss,props,parent?parent+" "+rule:rule):(newJss[selector=parent?parent+" "+rule:rule]||(newJss[selector]={}),newJss[selector][prop]=value)}return newJss},JSS.extractProperties=function(extracted,jss,block){var props,prop;block=block||"main";for(var selector in jss)if(props=jss[selector],/^@media|@supports/.test(selector))JSS.extractProperties(extracted,props,selector);else for(prop in props)extracted[block]||(extracted[block]=[]),extracted[block].push({selector:selector,prop:prop,value:props[prop]});return extracted},JSS.combineSelectors=function(extracted){var extracts;for(var block in extracted)for(var i=0,l=(extracts=extracted[block]).length;i-1))for(var j=i+1;j-1||extracts[i].prop===extracts[j].prop&&extracts[i].value===extracts[j].value&&(extracts[j].selector?extracts[i].selector+=", "+extracts[j].selector:extracts[i].selector=!1,extracts[j].selector=!1);return extracted},JSS.extractedToStylesheet=function(extracted){var stylesheet={};for(var block in extracted)extracted[block].forEach(function(extracts){extracts.selector&&(stylesheet[block]||(stylesheet[block]={}),stylesheet[block][extracts.selector]||(stylesheet[block][extracts.selector]={}),stylesheet[block][extracts.selector][extracts.prop]=extracts.value)});return stylesheet},JSS.jssToCss=function(jss,options){var extracted,stylesheet,css=[],tab=options&&options.tabWidth&&utils.repeatString(" ",parseInt(options.tabWidth,10))||utils.repeatString(" ",2);if(jss=JSS.flattenSelectors({},jss),extracted=JSS.extractProperties({},jss),extracted=JSS.combineSelectors(extracted),stylesheet=JSS.extractedToStylesheet(extracted),JSS.writeBlockToCSS(css,stylesheet.main,tab),options&&"object"==typeof options.breakPoints)for(var label in options.breakPoints){var block=options.breakPoints[label];block&&stylesheet[block]&&(css.push(block+" {"),JSS.writeBlockToCSS(css,stylesheet[block],tab,tab),css.push("}"))}return css=css.length>0?css.join("\n")+"\n":""},JSS.writeBlockToCSS=function(css,block,tab,indent){indent=indent||"";for(var selector in block){css.push(indent+selector+" {");for(var prop in block[selector])css.push(indent+tab+prop+": "+block[selector][prop]+";");css.push(indent+"}")}},module.exports=JSS},function(module,exports,__webpack_require__){"use strict";function flatten(obj){var flat=[];for(var key in obj)flat.push(key),flat.push(obj[key]);return flat}function getSortedKeys(arr){return arr.length>1?arr.sort(function(a,b){return a>b?-1:1}).join("|"):arr.toString()}function buildRegex(matchersParams,matchersNoParams){return matchersParams=matchersParams?"(?"+matchersParams+")\\((?"+GRAMMAR.VALUES+")\\)":"",matchersNoParams=matchersNoParams?"(?"+matchersNoParams+")":"","(?:"+[matchersParams,matchersNoParams].join("|")+")"}function Grammar(rules){var matchersParamsStr,matchersNoParamsStr,matchersParams=[],matchersNoParams=[];rules.forEach(function(rule){rule.noParams?matchersNoParams.push(rule.matcher):matchersParams.push(rule.matcher)}),matchersParamsStr=getSortedKeys(matchersParams),matchersNoParamsStr=getSortedKeys(matchersNoParams),this.simpleSyntax=buildRegex(GRAMMAR.PROP,matchersNoParamsStr),this.complexSyntax=buildRegex(matchersParamsStr,matchersNoParamsStr)}var _=__webpack_require__(0),XRegExp=__webpack_require__(2),PSEUDO_CLASSES={":active":":a",":checked":":c",":default":":d",":disabled":":di",":empty":":e",":enabled":":en",":first":":fi",":first-child":":fc",":first-of-type":":fot",":fullscreen":":fs",":focus":":f",":hover":":h",":indeterminate":":ind",":in-range":":ir",":invalid":":inv",":last-child":":lc",":last-of-type":":lot",":left":":l",":link":":li",":only-child":":oc",":only-of-type":":oot",":optional":":o",":out-of-range":":oor",":read-only":":ro",":read-write":":rw",":required":":req",":right":":r",":root":":rt",":scope":":s",":target":":t",":valid":":va",":visited":":vi"},PSEUDO_ELEMENTS={"::before":"::b","::after":"::a","::first-letter":"::fl","::first-line":"::fli","::placeholder":"::ph"},PSEUDOS=__webpack_require__(3)({},PSEUDO_CLASSES,PSEUDO_ELEMENTS),PSEUDOS_INVERTED=_.invert(PSEUDOS),GRAMMAR={BOUNDARY:"(?:^|\\s|\"|'|{|})",PARENT:"[a-zA-Z][-_a-zA-Z0-9]+?",PARENT_SEP:"[>_+~]",PROP:"[-A-Za-z0-9]+",VALUES:"[-_,.#$/%0-9a-zA-Z]+",FRACTION:"(?[0-9]+)\\/(?[1-9](?:[0-9]+)?)",PARAMS:"\\((?[^)]*)\\)",NUMBER:"-?[0-9]+(?:.[0-9]+)?|\\.[0-9]+",UNIT:"[a-zA-Z%]+",HEX:"#[0-9a-fA-F]{3}(?:[0-9a-fA-F]{3})?",ALPHA:"\\.\\d{1,2}",IMPORTANT:"!",NAMED:"([\\w$]+(?:(?:-(?!\\-))?\\w*)*)",BREAKPOINT:"--(?[a-zA-Z0-9]+)",PSEUDO_CLASS:"(?:"+flatten(PSEUDO_CLASSES).join("|")+")(?![a-z])",PSEUDO_ELEMENT:"(?:"+flatten(PSEUDO_ELEMENTS).join("|")+")(?![a-z])",PSEUDO_CLASS_SIMPLE:":[a-z]+",PSEUDO_ELEMENT_SIMPLE:"::[a-z]+"};GRAMMAR.PARENT_SELECTOR=["(?",GRAMMAR.PARENT,")","(?",GRAMMAR.PSEUDO_CLASS,")?","(?",GRAMMAR.PARENT_SEP,")"].join(""),GRAMMAR.PARENT_SELECTOR_SIMPLE=["(?",GRAMMAR.PARENT,")","(?",GRAMMAR.PSEUDO_CLASS_SIMPLE,")?","(?",GRAMMAR.PARENT_SEP,")"].join("");var VALUE_SYNTAXE=XRegExp(["(?",GRAMMAR.FRACTION,")","|","(?:","(?",GRAMMAR.HEX,")","(?",GRAMMAR.ALPHA,")?","(?!",GRAMMAR.UNIT,")",")","|","(?",GRAMMAR.NUMBER,")","(?",GRAMMAR.UNIT,")?","|","(?",GRAMMAR.NAMED,")"].join(""));Grammar.getPseudo=function(pseudoName){return PSEUDOS[pseudoName]?pseudoName:PSEUDOS_INVERTED[pseudoName]},Grammar.matchValue=function(value){return XRegExp.exec(value,VALUE_SYNTAXE)},Grammar.prototype.getSyntax=function(isSimple){var syntax=[GRAMMAR.BOUNDARY,"(","(?",isSimple?GRAMMAR.PARENT_SELECTOR_SIMPLE:GRAMMAR.PARENT_SELECTOR,")?",isSimple?this.simpleSyntax:this.complexSyntax,"(?",GRAMMAR.IMPORTANT,")?","(?",isSimple?GRAMMAR.PSEUDO_CLASS_SIMPLE:GRAMMAR.PSEUDO_CLASS,")?","(?",isSimple?GRAMMAR.PSEUDO_ELEMENT_SIMPLE:GRAMMAR.PSEUDO_ELEMENT,")?","(?:",GRAMMAR.BREAKPOINT,")?",")"].join("");return XRegExp(syntax,"g")},module.exports=Grammar},function(module,exports,__webpack_require__){var colors=__webpack_require__(10);module.exports=[{type:"pattern",id:"animation",name:"Animation",matcher:"Anim",allowParamToValue:!0,styles:{animation:"$0"}},{type:"pattern",id:"animation-delay",name:"Animation delay",matcher:"Animdel",allowParamToValue:!0,styles:{"animation-delay":"$0"}},{type:"pattern",id:"animation-direction",name:"Animation direction",matcher:"Animdir",allowParamToValue:!1,styles:{"animation-direction":"$0"},arguments:[{a:"alternate",ar:"alternate-reverse",n:"normal",r:"reverse"}]},{type:"pattern",id:"animation-duration",name:"Animation duration",matcher:"Animdur",allowParamToValue:!0,styles:{"animation-duration":"$0"}},{type:"pattern",id:"animation-fill-mode",name:"Animation fill mode",matcher:"Animfm",allowParamToValue:!1,styles:{"animation-fill-mode":"$0"},arguments:[{b:"backwards",bo:"both",f:"forwards",n:"none"}]},{type:"pattern",id:"animation-iteration-count",name:"Animation iteration count",matcher:"Animic",allowParamToValue:!0,styles:{"animation-iteration-count":"$0"},arguments:[{i:"infinite"}]},{type:"pattern",id:"animation-name",name:"Animation name",matcher:"Animn",allowParamToValue:!0,styles:{"animation-name":"$0"},arguments:[{n:"none"}]},{type:"pattern",id:"animation-play-state",name:"Animation play state",matcher:"Animps",allowParamToValue:!1,styles:{"animation-play-state":"$0"},arguments:[{p:"paused",r:"running"}]},{type:"pattern",id:"animation-timing-function",name:"Animation timing function",matcher:"Animtf",allowParamToValue:!1,styles:{"animation-timing-function":"$0"},arguments:[{e:"ease",ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",se:"step-end",ss:"step-start"}]},{type:"pattern",name:"Appearance",matcher:"Ap",allowParamToValue:!1,styles:{appearance:"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Border",matcher:"Bd",allowParamToValue:!1,styles:{border:"$0"},arguments:[{0:0,n:"none"}]},{type:"pattern",name:"Border X",matcher:"Bdx",allowParamToValue:!1,styles:{"border-__START__":"$0","border-__END__":"$0"}},{type:"pattern",name:"Border Y",matcher:"Bdy",allowParamToValue:!1,styles:{"border-top":"$0","border-bottom":"$0"}},{type:"pattern",name:"Border top",matcher:"Bdt",allowParamToValue:!1,styles:{"border-top":"$0"}},{type:"pattern",name:"Border end",matcher:"Bdend",allowParamToValue:!1,styles:{"border-__END__":"$0"}},{type:"pattern",name:"Border bottom",matcher:"Bdb",allowParamToValue:!1,styles:{"border-bottom":"$0"}},{type:"pattern",name:"Border start",matcher:"Bdstart",allowParamToValue:!1,styles:{"border-__START__":"$0"}},{type:"pattern",name:"Border color",matcher:"Bdc",allowParamToValue:!0,styles:{"border-color":"$0"},arguments:[colors]},{type:"pattern",name:"Border top color",matcher:"Bdtc",allowParamToValue:!0,styles:{"border-top-color":"$0"},arguments:[colors]},{type:"pattern",name:"Border end color",matcher:"Bdendc",allowParamToValue:!0,styles:{"border-__END__-color":"$0"},arguments:[colors]},{type:"pattern",name:"Border bottom color",matcher:"Bdbc",allowParamToValue:!0,styles:{"border-bottom-color":"$0"},arguments:[colors]},{type:"pattern",name:"Border start color",matcher:"Bdstartc",allowParamToValue:!0,styles:{"border-__START__-color":"$0"},arguments:[colors]},{type:"pattern",name:"Border spacing",matcher:"Bdsp",allowParamToValue:!0,styles:{"border-spacing":"$0 $1"},arguments:[{i:"inherit"}]},{type:"pattern",name:"Border style",matcher:"Bds",allowParamToValue:!1,styles:{"border-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"}]},{type:"pattern",name:"Border top style",matcher:"Bdts",allowParamToValue:!1,styles:{"border-top-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"}]},{type:"pattern",name:"Border end style",matcher:"Bdends",allowParamToValue:!1,styles:{"border-__END__-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"}]},{type:"pattern",name:"Border bottom style",matcher:"Bdbs",allowParamToValue:!1,styles:{"border-bottom-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"}]},{type:"pattern",name:"Border start style",matcher:"Bdstarts",allowParamToValue:!1,styles:{"border-__START__-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"}]},{type:"pattern",name:"Border width",matcher:"Bdw",allowParamToValue:!0,styles:{"border-width":"$0"},arguments:[{m:"medium",t:"thin",th:"thick"}]},{type:"pattern",name:"Border top width",matcher:"Bdtw",allowParamToValue:!0,styles:{"border-top-width":"$0"},arguments:[{m:"medium",t:"thin",th:"thick"}]},{type:"pattern",name:"Border end width",matcher:"Bdendw",allowParamToValue:!0,styles:{"border-__END__-width":"$0"},arguments:[{m:"medium",t:"thin",th:"thick"}]},{type:"pattern",name:"Border bottom width",matcher:"Bdbw",allowParamToValue:!0,styles:{"border-bottom-width":"$0"},arguments:[{m:"medium",t:"thin",th:"thick"}]},{type:"pattern",name:"Border start width",matcher:"Bdstartw",allowParamToValue:!0,styles:{"border-__START__-width":"$0"},arguments:[{m:"medium",t:"thin",th:"thick"}]},{type:"pattern",name:"Border radius",matcher:"Bdrs",allowParamToValue:!0,styles:{"border-radius":"$0"}},{type:"pattern",name:"Border radius top right",matcher:"Bdrstend",allowParamToValue:!0,styles:{"border-top-__END__-radius":"$0"}},{type:"pattern",name:"Border radius bottom right",matcher:"Bdrsbend",allowParamToValue:!0,styles:{"border-bottom-__END__-radius":"$0"}},{type:"pattern",name:"Border radius bottom left",matcher:"Bdrsbstart",allowParamToValue:!0,styles:{"border-bottom-__START__-radius":"$0"}},{type:"pattern",name:"Border radius top left",matcher:"Bdrststart",allowParamToValue:!0,styles:{"border-top-__START__-radius":"$0"}},{type:"pattern",name:"Background",matcher:"Bg",allowParamToValue:!1,styles:{background:"$0"},arguments:[{n:"none",t:"transparent"}]},{type:"pattern",name:"Background image",matcher:"Bgi",allowParamToValue:!1,styles:{"background-image":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Background color",matcher:"Bgc",allowParamToValue:!0,styles:{"background-color":"$0"},arguments:[colors]},{type:"pattern",name:"Background clip",matcher:"Bgcp",allowParamToValue:!1,styles:{"background-clip":"$0"},arguments:[{bb:"border-box",cb:"content-box",pb:"padding-box"}]},{type:"pattern",name:"Background origin",matcher:"Bgo",allowParamToValue:!1,styles:{"background-origin":"$0"},arguments:[{bb:"border-box",cb:"content-box",pb:"padding-box"}]},{type:"pattern",name:"Background size",matcher:"Bgz",allowParamToValue:!0,styles:{"background-size":"$0"},arguments:[{a:"auto",ct:"contain",cv:"cover"}]},{type:"pattern",name:"Background attachment",matcher:"Bga",allowParamToValue:!1,styles:{"background-attachment":"$0"},arguments:[{f:"fixed",l:"local",s:"scroll"}]},{type:"pattern",name:"Background position",matcher:"Bgp",allowParamToValue:!0,styles:{"background-position":"$0 $1"},arguments:[{start_t:"__START__ 0",end_t:"__END__ 0",start_b:"__START__ 100%",end_b:"__END__ 100%",start_c:"__START__ center",end_c:"__END__ center",c_b:"center 100%",c_t:"center 0",c:"center"}]},{type:"pattern",name:"Background position (X axis)",matcher:"Bgpx",allowParamToValue:!0,styles:{"background-position-x":"$0"},arguments:[{start:"__START__",end:"__END__",c:"50%"}]},{type:"pattern",name:"Background position (Y axis)",matcher:"Bgpy",allowParamToValue:!0,styles:{"background-position-y":"$0"},arguments:[{t:"0",b:"100%",c:"50%"}]},{type:"pattern",name:"Background repeat",matcher:"Bgr",allowParamToValue:!1,styles:{"background-repeat":"$0"},arguments:[{nr:"no-repeat",rx:"repeat-x",ry:"repeat-y",r:"repeat",s:"space",ro:"round"}]},{type:"pattern",name:"Border collapse",matcher:"Bdcl",allowParamToValue:!1,styles:{"border-collapse":"$0"},arguments:[{c:"collapse",s:"separate"}]},{type:"pattern",name:"Box sizing",matcher:"Bxz",allowParamToValue:!1,styles:{"box-sizing":"$0"},arguments:[{cb:"content-box",pb:"padding-box",bb:"border-box"}]},{type:"pattern",name:"Box shadow",matcher:"Bxsh",allowParamToValue:!1,styles:{"box-shadow":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Clear",matcher:"Cl",allowParamToValue:!1,styles:{clear:"$0"},arguments:[{n:"none",b:"both",start:"__START__",end:"__END__"}]},{type:"pattern",name:"Color",matcher:"C",allowParamToValue:!0,styles:{color:"$0"},arguments:[colors]},{type:"pattern",name:"Contain",matcher:"Ctn",allowParamToValue:!1,styles:{contain:"$0"},arguments:[{n:"none",st:"strict",c:"content",z:"size",l:"layout",s:"style",p:"paint"}]},{type:"pattern",name:"Content",matcher:"Cnt",allowParamToValue:!0,styles:{content:"$0"},arguments:[{n:"none",nor:"normal",oq:"open-quote",cq:"close-quote",noq:"no-open-quote",ncq:"no-close-quote"}]},{type:"pattern",name:"Cursor",matcher:"Cur",allowParamToValue:!1,styles:{cursor:"$0"},arguments:[{a:"auto",as:"all-scroll",c:"cell",cr:"col-resize",co:"copy",cro:"crosshair",d:"default",er:"e-resize",ewr:"ew-resize",g:"grab",gr:"grabbing",h:"help",m:"move",n:"none",nd:"no-drop",na:"not-allowed",nr:"n-resize",ner:"ne-resize",neswr:"nesw-resize",nwser:"nwse-resize",nsr:"ns-resize",nwr:"nw-resize",p:"pointer",pr:"progress",rr:"row-resize",sr:"s-resize",ser:"se-resize",swr:"sw-resize",t:"text",vt:"vertical-text",w:"wait",wr:"w-resize",zi:"zoom-in",zo:"zoom-out"}]},{type:"pattern",name:"Display",matcher:"D",allowParamToValue:!1,styles:{display:"$0"},arguments:[{n:"none",b:"block",f:"flex",if:"inline-flex",i:"inline",ib:"inline-block",tb:"table",tbr:"table-row",tbc:"table-cell",li:"list-item",ri:"run-in",cp:"compact",itb:"inline-table",tbcl:"table-column",tbclg:"table-column-group",tbhg:"table-header-group",tbfg:"table-footer-group",tbrg:"table-row-group"}]},{type:"pattern",name:"Filter",matcher:"Fil",allowParamToValue:!1,styles:{filter:"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Blur (filter)",matcher:"Blur",allowParamToValue:!0,styles:{filter:"blur($0)"}},{type:"pattern",name:"Brightness (filter)",matcher:"Brightness",allowParamToValue:!0,styles:{filter:"brightness($0)"}},{type:"pattern",name:"Contrast (filter)",matcher:"Contrast",allowParamToValue:!0,styles:{filter:"contrast($0)"}},{type:"pattern",name:"Drop shadow (filter)",matcher:"Dropshadow",allowParamToValue:!1,styles:{filter:"drop-shadow($0)"}},{type:"pattern",name:"Grayscale (filter)",matcher:"Grayscale",allowParamToValue:!0,styles:{filter:"grayscale($0)"}},{type:"pattern",name:"Hue Rotate (filter)",matcher:"HueRotate",allowParamToValue:!0,styles:{filter:"hue-rotate($0)"}},{type:"pattern",name:"Invert (filter)",matcher:"Invert",allowParamToValue:!0,styles:{filter:"invert($0)"}},{type:"pattern",name:"Opacity (filter)",matcher:"Opacity",allowParamToValue:!0,styles:{filter:"opacity($0)"}},{type:"pattern",name:"Saturate (filter)",matcher:"Saturate",allowParamToValue:!0,styles:{filter:"saturate($0)"}},{type:"pattern",name:"Sepia (filter)",matcher:"Sepia",allowParamToValue:!0,styles:{filter:"sepia($0)"}},{type:"pattern",name:"Flex",matcher:"Flx",allowParamToValue:!1,styles:{flex:"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Flex grow",matcher:"Flxg",allowParamToValue:!0,styles:{"flex-grow":"$0"}},{type:"pattern",name:"Flex",matcher:"Flxs",allowParamToValue:!0,styles:{"flex-shrink":"$0"}},{type:"pattern",name:"Flex",matcher:"Flxb",allowParamToValue:!0,styles:{"flex-basis":"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Align self",matcher:"As",allowParamToValue:!1,styles:{"align-self":"$0"},arguments:[{a:"auto",fs:"flex-start",fe:"flex-end",c:"center",b:"baseline",st:"stretch"}]},{type:"pattern",name:"Flex direction",matcher:"Fld",allowParamToValue:!1,styles:{"flex-direction":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse"}]},{type:"pattern",name:"Flex flow",matcher:"Flf",allowParamToValue:!1,styles:{"flex-flow":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse",nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Align items",matcher:"Ai",allowParamToValue:!1,styles:{"align-items":"$0"},arguments:[{fs:"flex-start",fe:"flex-end",c:"center",b:"baseline",st:"stretch"}]},{type:"pattern",name:"Align content",matcher:"Ac",allowParamToValue:!1,styles:{"align-content":"$0"},arguments:[{fs:"flex-start",fe:"flex-end",c:"center",sb:"space-between",sa:"space-around",st:"stretch"}]},{type:"pattern",name:"Order",matcher:"Or",allowParamToValue:!0,styles:{order:"$0"}},{type:"pattern",name:"Justify content",matcher:"Jc",allowParamToValue:!1,styles:{"justify-content":"$0"},arguments:[{fs:"flex-start",fe:"flex-end",c:"center",sb:"space-between",sa:"space-around"}]},{type:"pattern",name:"Flex-wrap",matcher:"Flw",allowParamToValue:!1,styles:{"flex-wrap":"$0"},arguments:[{nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Float",allowParamToValue:!1,matcher:"Fl",styles:{float:"$0"},arguments:[{n:"none",start:"__START__",end:"__END__"}]},{type:"pattern",name:"Font family",matcher:"Ff",allowParamToValue:!1,styles:{"font-family":"$0"},arguments:[{c:'"Monotype Corsiva", "Comic Sans MS", cursive',f:"Capitals, Impact, fantasy",m:'Monaco, "Courier New", monospace',s:'Georgia, "Times New Roman", serif',ss:"Helvetica, Arial, sans-serif"}]},{type:"pattern",name:"Font weight",matcher:"Fw",allowParamToValue:!1,styles:{"font-weight":"$0"},arguments:[{100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",900:"900",b:"bold",br:"bolder",lr:"lighter",n:"normal"}]},{type:"pattern",name:"Font size",matcher:"Fz",allowParamToValue:!0,styles:{"font-size":"$0"}},{type:"pattern",name:"Font style",matcher:"Fs",allowParamToValue:!1,styles:{"font-style":"$0"},arguments:[{n:"normal",i:"italic",o:"oblique"}]},{type:"pattern",name:"Font variant",matcher:"Fv",allowParamToValue:!1,styles:{"font-variant":"$0"},arguments:[{n:"normal",sc:"small-caps"}]},{type:"pattern",name:"Height",matcher:"H",allowParamToValue:!0,styles:{height:"$0"},arguments:[{0:"0",a:"auto",av:"available",bb:"border-box",cb:"content-box",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Hyphens",matcher:"Hy",allowParamToValue:!1,styles:{hyphens:"$0"},arguments:[{a:"auto",n:"normal",m:"manual"}]},{type:"pattern",name:"Letter spacing",matcher:"Lts",allowParamToValue:!0,styles:{"letter-spacing":"$0"},arguments:[{n:"normal"}]},{type:"pattern",name:"List style type",matcher:"List",allowParamToValue:!1,styles:{"list-style-type":"$0"},arguments:[{n:"none",d:"disc",c:"circle",s:"square",dc:"decimal",dclz:"decimal-leading-zero",lr:"lower-roman",lg:"lower-greek",ll:"lower-latin",ur:"upper-roman",ul:"upper-latin",a:"armenian",g:"georgian",la:"lower-alpha",ua:"upper-alpha"}]},{type:"pattern",name:"List style position",matcher:"Lisp",allowParamToValue:!1,styles:{"list-style-position":"$0"},arguments:[{i:"inside",o:"outside"}]},{type:"pattern",name:"List style image",matcher:"Lisi",allowParamToValue:!1,styles:{"list-style-image":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Line height",matcher:"Lh",allowParamToValue:!0,styles:{"line-height":"$0"},arguments:[{n:"normal"}]},{type:"pattern",name:"Margin (all edges)",matcher:"M",allowParamToValue:!0,styles:{margin:"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin (X axis)",matcher:"Mx",allowParamToValue:!0,styles:{"margin-__START__":"$0","margin-__END__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin (Y axis)",matcher:"My",allowParamToValue:!0,styles:{"margin-top":"$0","margin-bottom":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin top",matcher:"Mt",allowParamToValue:!0,styles:{"margin-top":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin end",matcher:"Mend",allowParamToValue:!0,styles:{"margin-__END__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin bottom",matcher:"Mb",allowParamToValue:!0,styles:{"margin-bottom":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin start",matcher:"Mstart",allowParamToValue:!0,styles:{"margin-__START__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Max height",matcher:"Mah",allowParamToValue:!0,styles:{"max-height":"$0"},arguments:[{a:"auto",maxc:"max-content",minc:"min-content",fa:"fill-available",fc:"fit-content"}]},{type:"pattern",name:"Max width",matcher:"Maw",allowParamToValue:!0,styles:{"max-width":"$0"},arguments:[{n:"none",fa:"fill-available",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Min height",matcher:"Mih",allowParamToValue:!0,styles:{"min-height":"$0"},arguments:[{a:"auto",fa:"fill-available",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Min width",matcher:"Miw",allowParamToValue:!0,styles:{"min-width":"$0"},arguments:[{a:"auto",fa:"fill-available",fc:"fit-content",ini:"initial",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Outline",matcher:"O",allowParamToValue:!1,styles:{outline:"$0"},arguments:[{0:"0",n:"none"}]},{type:"pattern",name:"Top",matcher:"T",allowParamToValue:!0,styles:{top:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"End",matcher:"End",allowParamToValue:!0,styles:{__END__:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Bottom",matcher:"B",allowParamToValue:!0,styles:{bottom:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Start",matcher:"Start",allowParamToValue:!0,styles:{__START__:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Opacity",matcher:"Op",allowParamToValue:!0,styles:{opacity:"$0"},arguments:[{0:"0",1:"1"}]},{type:"pattern",name:"Overflow",matcher:"Ov",allowParamToValue:!1,styles:{overflow:"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow (X axis)",matcher:"Ovx",allowParamToValue:!1,styles:{"overflow-x":"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow (Y axis)",matcher:"Ovy",allowParamToValue:!1,styles:{"overflow-y":"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow scrolling",matcher:"Ovs",allowParamToValue:!1,styles:{"-webkit-overflow-scrolling":"$0"},arguments:[{a:"auto",touch:"touch"}]},{type:"pattern",name:"Padding (all edges)",matcher:"P",allowParamToValue:!0,styles:{padding:"$0"}},{type:"pattern",name:"Padding (X axis)",matcher:"Px",allowParamToValue:!0,styles:{"padding-__START__":"$0","padding-__END__":"$0"}},{type:"pattern",name:"Padding (Y axis)",matcher:"Py",allowParamToValue:!0,styles:{"padding-top":"$0","padding-bottom":"$0"}},{type:"pattern",name:"Padding top",matcher:"Pt",allowParamToValue:!0,styles:{"padding-top":"$0"}},{type:"pattern",name:"Padding end",matcher:"Pend",allowParamToValue:!0,styles:{"padding-__END__":"$0"}},{type:"pattern",name:"Padding bottom",matcher:"Pb",allowParamToValue:!0,styles:{"padding-bottom":"$0"}},{type:"pattern",name:"Padding start",matcher:"Pstart",allowParamToValue:!0,styles:{"padding-__START__":"$0"}},{type:"pattern",name:"Pointer events",matcher:"Pe",allowParamToValue:!1,styles:{"pointer-events":"$0"},arguments:[{a:"auto",all:"all",f:"fill",n:"none",p:"painted",s:"stroke",v:"visible",vf:"visibleFill",vp:"visiblePainted",vs:"visibleStroke"}]},{type:"pattern",name:"Position",matcher:"Pos",allowParamToValue:!1,styles:{position:"$0"},arguments:[{a:"absolute",f:"fixed",r:"relative",s:"static",st:"sticky"}]},{type:"pattern",name:"Resize",matcher:"Rsz",allowParamToValue:!1,styles:{resize:"$0"},arguments:[{n:"none",b:"both",h:"horizontal",v:"vertical"}]},{type:"pattern",name:"Table layout",matcher:"Tbl",allowParamToValue:!1,styles:{"table-layout":"$0"},arguments:[{a:"auto",f:"fixed"}]},{type:"pattern",name:"Text align",matcher:"Ta",allowParamToValue:!1,styles:{"text-align":"$0"},arguments:[{c:"center",e:"end",end:"__END__",j:"justify",mp:"match-parent",s:"start",start:"__START__"}]},{type:"pattern",name:"Text align last",matcher:"Tal",allowParamToValue:!1,styles:{"text-align-last":"$0"},arguments:[{a:"auto",c:"center",e:"end",end:"__END__",j:"justify",s:"start",start:"__START__"}]},{type:"pattern",name:"Text decoration",matcher:"Td",allowParamToValue:!1,styles:{"text-decoration":"$0"},arguments:[{lt:"line-through",n:"none",o:"overline",u:"underline"}]},{type:"pattern",name:"Text indent",matcher:"Ti",allowParamToValue:!0,styles:{"text-indent":"$0"}},{type:"pattern",name:"Text overflow",matcher:"Tov",allowParamToValue:!1,styles:{"text-overflow":"$0"},arguments:[{c:"clip",e:"ellipsis"}]},{type:"pattern",name:"Text rendering",matcher:"Tren",allowParamToValue:!1,styles:{"text-rendering":"$0"},arguments:[{a:"auto",os:"optimizeSpeed",ol:"optimizeLegibility",gp:"geometricPrecision"}]},{type:"pattern",name:"Text replace",matcher:"Tr",allowParamToValue:!1,styles:{"text-replace":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Text transform",matcher:"Tt",allowParamToValue:!1,styles:{"text-transform":"$0"},arguments:[{n:"none",c:"capitalize",u:"uppercase",l:"lowercase"}]},{type:"pattern",name:"Text shadow",matcher:"Tsh",allowParamToValue:!1,styles:{"text-shadow":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Transform",matcher:"Trf",allowParamToValue:!1,styles:{transform:"$0"}},{type:"pattern",name:"Transform origin",matcher:"Trfo",allowParamToValue:!0,styles:{"transform-origin":"$0 $1"},arguments:[{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"},{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"}]},{type:"pattern",name:"Transform style",matcher:"Trfs",allowParamToValue:!1,styles:{"transform-style":"$0"},arguments:[{f:"flat",p:"preserve-3d"}]},{type:"pattern",name:"Perspective",matcher:"Prs",allowParamToValue:!0,styles:{perspective:"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Perspective origin",matcher:"Prso",allowParamToValue:!0,styles:{"perspective-origin":"$0 $1"},arguments:[{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"},{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"}]},{type:"pattern",name:"Backface visibility",matcher:"Bfv",allowParamToValue:!1,styles:{"backface-visibility":"$0"},arguments:[{h:"hidden",v:"visible"}]},{type:"pattern",name:"Matrix (transform)",matcher:"Matrix",allowParamToValue:!1,styles:{transform:"matrix($0)"}},{type:"pattern",name:"Matrix 3d (transform)",matcher:"Matrix3d",allowParamToValue:!1,styles:{transform:"matrix($0)"}},{type:"pattern",name:"Rotate (transform)",matcher:"Rotate",allowParamToValue:!0,styles:{transform:"rotate($0)"}},{type:"pattern",name:"Rotate 3d (transform)",matcher:"Rotate3d",allowParamToValue:!0,styles:{transform:"rotate3d($0,$1,$2,$3)"}},{type:"pattern",name:"RotateX (transform)",matcher:"RotateX",allowParamToValue:!0,styles:{transform:"rotateX($0)"}},{type:"pattern",name:"RotateY (transform)",matcher:"RotateY",allowParamToValue:!0,styles:{transform:"rotateY($0)"}},{type:"pattern",name:"RotateZ (transform)",matcher:"RotateZ",allowParamToValue:!0,styles:{transform:"rotateZ($0)"}},{type:"pattern",name:"Scale (transform)",matcher:"Scale",allowParamToValue:!0,styles:{transform:"scale($0,$1)"}},{type:"pattern",name:"Scale 3d (transform)",matcher:"Scale3d",allowParamToValue:!0,styles:{transform:"scale3d($0,$1,$2)"}},{type:"pattern",name:"ScaleX (transform)",matcher:"ScaleX",allowParamToValue:!0,styles:{transform:"scaleX($0)"}},{type:"pattern",name:"ScaleY (transform)",matcher:"ScaleY",allowParamToValue:!0,styles:{transform:"scaleY($0)"}},{type:"pattern",name:"Skew (transform)",matcher:"Skew",allowParamToValue:!0,styles:{transform:"skew($0,$1)"}},{type:"pattern",name:"SkewX (transform)",matcher:"SkewX",allowParamToValue:!0,styles:{transform:"skewX($0)"}},{type:"pattern",name:"SkewY (transform)",matcher:"SkewY",allowParamToValue:!0,styles:{transform:"skewY($0)"}},{type:"pattern",name:"Translate (transform)",matcher:"Translate",allowParamToValue:!0,styles:{transform:"translate($0,$1)"}},{type:"pattern",name:"Translate 3d (transform)",matcher:"Translate3d",allowParamToValue:!0,styles:{transform:"translate3d($0,$1,$2)"}},{type:"pattern",name:"Translate X (transform)",matcher:"TranslateX",allowParamToValue:!0,styles:{transform:"translateX($0)"}},{type:"pattern",name:"Translate Y (transform)",matcher:"TranslateY",allowParamToValue:!0,styles:{transform:"translateY($0)"}},{type:"pattern",name:"Translate Z (transform)",matcher:"TranslateZ",allowParamToValue:!0,styles:{transform:"translateZ($0)"}},{type:"pattern",name:"Transition",matcher:"Trs",allowParamToValue:!1,styles:{transition:"$0"}},{type:"pattern",name:"Transition delay",matcher:"Trsde",allowParamToValue:!0,styles:{"transition-delay":"$0"},arguments:[{i:"initial"}]},{type:"pattern",name:"Transition duration",matcher:"Trsdu",allowParamToValue:!0,styles:{"transition-duration":"$0"}},{type:"pattern",name:"Transition property",matcher:"Trsp",allowParamToValue:!1,styles:{"transition-property":"$0"},arguments:[{a:"all"}]},{type:"pattern",name:"Transition timing function",matcher:"Trstf",allowParamToValue:!1,styles:{"transition-timing-function":"$0"},arguments:[{e:"ease",ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",ss:"step-start",se:"step-end"}]},{type:"pattern",name:"User select",matcher:"Us",allowParamToValue:!1,styles:{"user-select":"$0"},arguments:[{a:"all",el:"element",els:"elements",n:"none",t:"text",to:"toggle"}]},{type:"pattern",name:"Vertical align",matcher:"Va",allowParamToValue:!1,styles:{"vertical-align":"$0"},arguments:[{b:"bottom",bl:"baseline",m:"middle",sub:"sub",sup:"super",t:"top",tb:"text-bottom",tt:"text-top"}]},{type:"pattern",name:"Visibility",matcher:"V",allowParamToValue:!1,styles:{visibility:"$0"},arguments:[{v:"visible",h:"hidden",c:"collapse"}]},{type:"pattern",name:"White space",matcher:"Whs",allowParamToValue:!1,styles:{"white-space":"$0"},arguments:[{n:"normal",p:"pre",nw:"nowrap",pw:"pre-wrap",pl:"pre-line"}]},{type:"pattern",name:"White space collapse",matcher:"Whsc",allowParamToValue:!1,styles:{"white-space-collapse":"$0"},arguments:[{n:"normal",ka:"keep-all",l:"loose",bs:"break-strict",ba:"break-all"}]},{type:"pattern",name:"Width",matcher:"W",allowParamToValue:!0,styles:{width:"$0"},arguments:[{0:"0",a:"auto",bb:"border-box",cb:"content-box",av:"available",minc:"min-content",maxc:"max-content",fc:"fit-content"}]},{type:"pattern",name:"Word break",matcher:"Wob",allowParamToValue:!1,styles:{"word-break":"$0"},arguments:[{ba:"break-all",ka:"keep-all",n:"normal"}]},{type:"pattern",name:"Word wrap",matcher:"Wow",allowParamToValue:!1,styles:{"word-wrap":"$0"},arguments:[{bw:"break-word",n:"normal"}]},{type:"pattern",name:"Z index",matcher:"Z",allowParamToValue:!0,styles:{"z-index":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Fill (SVG)",matcher:"Fill",allowParamToValue:!1,styles:{fill:"$0"},arguments:[colors]},{type:"pattern",name:"Stroke (SVG)",matcher:"Stk",allowParamToValue:!1,styles:{stroke:"$0"},arguments:[colors]},{type:"pattern",name:"Stroke width (SVG)",matcher:"Stkw",allowParamToValue:!0,styles:{"stroke-width":"$0"},arguments:[{i:"inherit"}]},{type:"pattern",name:"Stroke linecap (SVG)",matcher:"Stklc",allowParamToValue:!1,styles:{"stroke-linecap":"$0"},arguments:[{i:"inherit",b:"butt",r:"round",s:"square"}]},{type:"pattern",name:"Stroke linejoin (SVG)",matcher:"Stklj",allowParamToValue:!1,styles:{"stroke-linejoin":"$0"},arguments:[{i:"inherit",b:"bevel",r:"round",m:"miter"}]}]},function(module,exports){module.exports={t:"transparent",cc:"currentColor",n:"none",aliceblue:"aliceblue",antiquewhite:"antiquewhite",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanchedalmond",blue:"blue",blueviolet:"blueviolet",brown:"brown",burlywood:"burlywood",cadetblue:"cadetblue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflowerblue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"darkblue",darkcyan:"darkcyan",darkgoldenrod:"darkgoldenrod",darkgray:"darkgray",darkgreen:"darkgreen",darkgrey:"darkgrey",darkkhaki:"darkkhaki",darkmagenta:"darkmagenta",darkolivegreen:"darkolivegreen",darkorange:"darkorange",darkorchid:"darkorchid",darkred:"darkred",darksalmon:"darksalmon",darkseagreen:"darkseagreen",darkslateblue:"darkslateblue",darkslategray:"darkslategray",darkslategrey:"darkslategrey",darkturquoise:"darkturquoise",darkviolet:"darkviolet",deeppink:"deeppink",deepskyblue:"deepskyblue",dimgray:"dimgray",dimgrey:"dimgrey",dodgerblue:"dodgerblue",firebrick:"firebrick",floralwhite:"floralwhite",forestgreen:"forestgreen",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghostwhite",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"greenyellow",grey:"grey",honeydew:"honeydew",hotpink:"hotpink",indianred:"indianred",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavenderblush",lawngreen:"lawngreen",lemonchiffon:"lemonchiffon",lightblue:"lightblue",lightcoral:"lightcoral",lightcyan:"lightcyan",lightgoldenrodyellow:"lightgoldenrodyellow",lightgray:"lightgray",lightgreen:"lightgreen",lightgrey:"lightgrey",lightpink:"lightpink",lightsalmon:"lightsalmon",lightseagreen:"lightseagreen",lightskyblue:"lightskyblue",lightslategray:"lightslategray",lightslategrey:"lightslategrey",lightsteelblue:"lightsteelblue",lightyellow:"lightyellow",lime:"lime",limegreen:"limegreen",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"mediumaquamarine",mediumblue:"mediumblue",mediumorchid:"mediumorchid",mediumpurple:"mediumpurple",mediumseagreen:"mediumseagreen",mediumslateblue:"mediumslateblue",mediumspringgreen:"mediumspringgreen",mediumturquoise:"mediumturquoise",mediumvioletred:"mediumvioletred",midnightblue:"midnightblue",mintcream:"mintcream",mistyrose:"mistyrose",moccasin:"moccasin",navajowhite:"navajowhite",navy:"navy",oldlace:"oldlace",olive:"olive",olivedrab:"olivedrab",orange:"orange",orangered:"orangered",orchid:"orchid",palegoldenrod:"palegoldenrod",palegreen:"palegreen",paleturquoise:"paleturquoise",palevioletred:"palevioletred",papayawhip:"papayawhip",peachpuff:"peachpuff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powderblue",purple:"purple",red:"red",rosybrown:"rosybrown",royalblue:"royalblue",saddlebrown:"saddlebrown",salmon:"salmon",sandybrown:"sandybrown",seagreen:"seagreen",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"skyblue",slateblue:"slateblue",slategray:"slategray",slategrey:"slategrey",snow:"snow",springgreen:"springgreen",steelblue:"steelblue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"whitesmoke",yellow:"yellow",yellowgreen:"yellowgreen"}},function(module,exports){module.exports=[{type:"helper",name:"Border",description:"Creates a 1px border on all edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"Bd",noParams:!0,styles:{"border-width":"1px","border-style":"solid"}},{type:"helper",name:"Border X 1px solid",description:"Creates a 1px border on the left and right edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdX",noParams:!0,styles:{"border-top-width":0,"border-right-width":"1px","border-bottom-width":0,"border-left-width":"1px","border-style":"solid"}},{type:"helper",name:"Border Y 1px solid",description:"Creates a 1px border on the top and bottom edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdY",noParams:!0,styles:{"border-top-width":"1px","border-right-width":0,"border-bottom-width":"1px","border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border Top 1px solid",description:"Creates a 1px border on the top edge of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdT",noParams:!0,styles:{"border-top-width":"1px","border-right-width":0,"border-bottom-width":0,"border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border End 1px solid",description:"Creates a 1px border on the right edge of a box (in a LTR context)",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdEnd",noParams:!0,styles:{"border-top-width":0,"border-__END__-width":"1px","border-bottom-width":0,"border-__START__-width":0,"border-style":"solid"}},{type:"helper",name:"Border Bottom 1px solid",description:"Creates a 1px border on the bottom edge of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdB",noParams:!0,styles:{"border-top-width":0,"border-right-width":0,"border-bottom-width":"1px","border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border Start 1px solid",description:"Creates a 1px border on the left edge of a box (in a LTR context)",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdStart",noParams:!0,styles:{"border-top-width":0,"border-__END__-width":0,"border-bottom-width":0,"border-__START__-width":"1px","border-style":"solid"}},{type:"helper",name:"Block-formatting context",description:"Creates a block-formatting context",link:"https://acss.io/guides/helper-classes.html#-bfchack-block-formatting-context-",matcher:"BfcHack",noParams:!0,styles:{display:"table-cell",width:"1600px","*width":"auto",zoom:1}},{type:"helper",name:"Clearfix",description:"Allows an element to clear its child elements",link:"https://acss.io/guides/helper-classes.html#-cf-clearfix-",matcher:"Cf",noParams:!0,styles:{zoom:1},rules:{".Cf:before, .Cf:after":{content:'" "',display:"table"},".Cf:after":{clear:"both"}}},{type:"helper",name:"Ellipsis",description:"Use to create a one-liner with ellipsis (in browsers that support text-overflow:ellipsis).",link:"https://acss.io/guides/helper-classes.html#-ell-ellipsis-",matcher:"Ell",noParams:!0,styles:{"max-width":"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",hyphens:"none"},rules:{".Ell:after":{content:'"."',"font-size":0,visibility:"hidden",display:"inline-block",overflow:"hidden",height:0,width:0}}},{type:"helper",name:"Hiding content from sighted users",description:"Hides content from sighted users but leaves it accessible to screen readers",link:"https://acss.io/guides/helper-classes.html#hiding-content-from-sighted-users",matcher:"Hidden",noParams:!0,styles:{position:"absolute !important","*clip":"rect(1px 1px 1px 1px)",clip:"rect(1px,1px,1px,1px)",padding:"0 !important",border:"0 !important",height:"1px !important",width:"1px !important",overflow:"hidden"}},{type:"helper",name:"Inline-block box",description:"Shorthand for styling inline-block constructs cross-browser",link:"https://acss.io/guides/helper-classes.html#-ibbox-",matcher:"IbBox",noParams:!0,styles:{display:"inline-block","*display":"inline",zoom:1,"vertical-align":"top"}},{type:"helper",name:"Line clamp",description:"Truncates long lines of text to a max number of lines",link:"https://acss.io/guides/helper-classes.html#-ibbox-",matcher:"LineClamp",styles:{"-webkit-line-clamp":"$0","max-height":"$1"},rules:{"[class*=LineClamp]":{display:"-webkit-box","-webkit-box-orient":"vertical",overflow:"hidden","@supports (display:-moz-box)":{display:"block"}},"a[class*=LineClamp]":{display:"inline-block","display ":"-webkit-box","*display":"inline",zoom:1},"a[class*=LineClamp]:after":{content:'"."',"font-size":0,visibility:"hidden",display:"inline-block",overflow:"hidden",height:0,width:0}}},{type:"helper",name:"Row",description:"Styles a box that expands to fill its container, contains floats, and more",link:"https://acss.io/guides/helper-classes.html#-row-",matcher:"Row",noParams:!0,styles:{clear:"both",display:"inline-block","vertical-align":"top",width:"100%","box-sizing":"border-box","*display":"block","*width":"auto",zoom:1}},{type:"helper",name:"Stretched box",description:"Stretches a box inside its containing block",link:"https://acss.io/guides/helper-classes.html#-stretchedbox-",matcher:"StretchedBox",noParams:!0,styles:{position:"absolute",top:0,right:0,bottom:0,left:0}},{type:"helper",name:"Zoom",description:"Gives a box 'layout' in old versions of Internet Explorer",link:"https://acss.io/guides/helper-classes.html#-zoom-",matcher:"Zoom",noParams:!0,styles:{zoom:"1"}}]}])}); -window.atomizer = new Atomizer(); +(()=>{var u,t,e,D,r=globalThis;function n(u,t,e,D){Object.defineProperty(u,t,{get:e,set:D,enumerable:!0,configurable:!0})}var a={},o={},i=r.parcelRequiree260;null==i&&((i=function(u){if(u in a)return a[u].exports;if(u in o){var t=o[u];delete o[u];var e={id:u,exports:{}};return a[u]=e,t.call(e.exports,e,e.exports),e.exports}var D=Error("Cannot find module '"+u+"'");throw D.code="MODULE_NOT_FOUND",D}).register=function(u,t){o[u]=t},r.parcelRequiree260=i);var l=i.register;l("446z9",function(u,t){(function(){var e,D="Expected a function",n="__lodash_hash_undefined__",a="__lodash_placeholder__",o=1/0,i=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",c="[object Array]",F="[object Boolean]",f="[object Date]",p="[object Error]",E="[object Function]",C="[object GeneratorFunction]",m="[object Map]",h="[object Number]",d="[object Object]",A="[object Promise]",y="[object RegExp]",g="[object Set]",v="[object String]",B="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",x="[object Float32Array]",T="[object Float64Array]",P="[object Int8Array]",k="[object Int16Array]",S="[object Int32Array]",$="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",V="[object Uint32Array]",j=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,z=/[&<>"']/g,L=RegExp(I.source),U=RegExp(z.source),G=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),Z=/^\s+/,K=/\s/,uu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,uD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ur=/[()=,{}\[\]\/\s]/,un=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,uo=/\w*$/,ui=/^[-+]0x[0-9a-f]+$/i,ul=/^0b[01]+$/i,us=/^\[object .+?Constructor\]$/,uc=/^0o[0-7]+$/i,uF=/^(?:0|[1-9]\d*)$/,uf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,up=/($^)/,uE=/['\n\r\u2028\u2029\\]/g,uC="\ud800-\udfff",um="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",uh="\\u2700-\\u27bf",ud="a-z\\xdf-\\xf6\\xf8-\\xff",uA="A-Z\\xc0-\\xd6\\xd8-\\xde",uy="\\ufe0e\\ufe0f",ug="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",uv="['’]",uB="["+ug+"]",ub="["+um+"]",uw="["+ud+"]",u_="[^"+uC+ug+"\\d+"+uh+ud+uA+"]",ux="\ud83c[\udffb-\udfff]",uT="[^"+uC+"]",uP="(?:\ud83c[\udde6-\uddff]){2}",uk="[\ud800-\udbff][\udc00-\udfff]",uS="["+uA+"]",u$="\\u200d",uO="(?:"+uw+"|"+u_+")",uR="(?:"+uv+"(?:d|ll|m|re|s|t|ve))?",uV="(?:"+uv+"(?:D|LL|M|RE|S|T|VE))?",uj="(?:"+ub+"|"+ux+")?",uM="["+uy+"]?",uN="(?:"+u$+"(?:"+[uT,uP,uk].join("|")+")"+uM+uj+")*",uI=uM+uj+uN,uz="(?:"+["["+uh+"]",uP,uk].join("|")+")"+uI,uL="(?:"+[uT+ub+"?",ub,uP,uk,"["+uC+"]"].join("|")+")",uU=RegExp(uv,"g"),uG=RegExp(ub,"g"),uq=RegExp(ux+"(?="+ux+")|"+uL+uI,"g"),uJ=RegExp([uS+"?"+uw+"+"+uR+"(?="+[uB,uS,"$"].join("|")+")","(?:"+uS+"|"+u_+")+"+uV+"(?="+[uB,uS+uO,"$"].join("|")+")",uS+"?"+uO+"+"+uR,uS+"+"+uV,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",uz].join("|"),"g"),uQ=RegExp("["+u$+uC+um+uy+"]"),uW=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,uH=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],uY=-1,uX={};uX[x]=uX[T]=uX[P]=uX[k]=uX[S]=uX[$]=uX[O]=uX[R]=uX[V]=!0,uX[s]=uX[c]=uX[w]=uX[F]=uX[_]=uX[f]=uX[p]=uX[E]=uX[m]=uX[h]=uX[d]=uX[y]=uX[g]=uX[v]=uX[b]=!1;var uZ={};uZ[s]=uZ[c]=uZ[w]=uZ[_]=uZ[F]=uZ[f]=uZ[x]=uZ[T]=uZ[P]=uZ[k]=uZ[S]=uZ[m]=uZ[h]=uZ[d]=uZ[y]=uZ[g]=uZ[v]=uZ[B]=uZ[$]=uZ[O]=uZ[R]=uZ[V]=!0,uZ[p]=uZ[E]=uZ[b]=!1;var uK={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},u0=parseFloat,u1=parseInt,u8="object"==typeof r&&r&&r.Object===Object&&r,u3="object"==typeof self&&self&&self.Object===Object&&self,u2=u8||u3||Function("return this")(),u6=t&&!t.nodeType&&t,u7=u6&&u&&!u.nodeType&&u,u9=u7&&u7.exports===u6,u4=u9&&u8.process,u5=function(){try{var u=u7&&u7.require&&u7.require("util").types;if(u)return u;return u4&&u4.binding&&u4.binding("util")}catch(u){}}(),tu=u5&&u5.isArrayBuffer,tt=u5&&u5.isDate,te=u5&&u5.isMap,tD=u5&&u5.isRegExp,tr=u5&&u5.isSet,tn=u5&&u5.isTypedArray;function ta(u,t,e){switch(e.length){case 0:return u.call(t);case 1:return u.call(t,e[0]);case 2:return u.call(t,e[0],e[1]);case 3:return u.call(t,e[0],e[1],e[2])}return u.apply(t,e)}function to(u,t,e,D){for(var r=-1,n=null==u?0:u.length;++r-1}function tF(u,t,e){for(var D=-1,r=null==u?0:u.length;++D-1;);return e}function tR(u,t){for(var e=u.length;e--&&ty(t,u[e],0)>-1;);return e}var tV=tw({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tj=tw({"&":"&","<":"<",">":">",'"':""","'":"'"});function tM(u){return"\\"+uK[u]}function tN(u){return uQ.test(u)}function tI(u){var t=-1,e=Array(u.size);return u.forEach(function(u,D){e[++t]=[D,u]}),e}function tz(u,t){return function(e){return u(t(e))}}function tL(u,t){for(var e=-1,D=u.length,r=0,n=[];++e",""":'"',"'":"'"}),tW=function u(t){var r,K,uC,um,uh=(t=null==t?u2:tW.defaults(u2.Object(),t,tW.pick(u2,uH))).Array,ud=t.Date,uA=t.Error,uy=t.Function,ug=t.Math,uv=t.Object,uB=t.RegExp,ub=t.String,uw=t.TypeError,u_=uh.prototype,ux=uy.prototype,uT=uv.prototype,uP=t["__core-js_shared__"],uk=ux.toString,uS=uT.hasOwnProperty,u$=0,uO=(r=/[^.]+$/.exec(uP&&uP.keys&&uP.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",uR=uT.toString,uV=uk.call(uv),uj=u2._,uM=uB("^"+uk.call(uS).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),uN=u9?t.Buffer:e,uI=t.Symbol,uz=t.Uint8Array,uL=uN?uN.allocUnsafe:e,uq=tz(uv.getPrototypeOf,uv),uQ=uv.create,uK=uT.propertyIsEnumerable,u8=u_.splice,u3=uI?uI.isConcatSpreadable:e,u6=uI?uI.iterator:e,u7=uI?uI.toStringTag:e,u4=function(){try{var u=rF(uv,"defineProperty");return u({},"",{}),u}catch(u){}}(),u5=t.clearTimeout!==u2.clearTimeout&&t.clearTimeout,th=ud&&ud.now!==u2.Date.now&&ud.now,tw=t.setTimeout!==u2.setTimeout&&t.setTimeout,tH=ug.ceil,tY=ug.floor,tX=uv.getOwnPropertySymbols,tZ=uN?uN.isBuffer:e,tK=t.isFinite,t0=u_.join,t1=tz(uv.keys,uv),t8=ug.max,t3=ug.min,t2=ud.now,t6=t.parseInt,t7=ug.random,t9=u_.reverse,t4=rF(t,"DataView"),t5=rF(t,"Map"),eu=rF(t,"Promise"),et=rF(t,"Set"),ee=rF(t,"WeakMap"),eD=rF(uv,"create"),er=ee&&new ee,en={},ea=rj(t4),eo=rj(t5),ei=rj(eu),el=rj(et),es=rj(ee),ec=uI?uI.prototype:e,eF=ec?ec.valueOf:e,ef=ec?ec.toString:e;function ep(u){if(nG(u)&&!n$(u)&&!(u instanceof eh)){if(u instanceof em)return u;if(uS.call(u,"__wrapped__"))return rM(u)}return new em(u)}var eE=function(){function u(){}return function(t){if(!nU(t))return{};if(uQ)return uQ(t);u.prototype=t;var D=new u;return u.prototype=e,D}}();function eC(){}function em(u,t){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=e}function eh(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function ed(u){var t=-1,e=null==u?0:u.length;for(this.clear();++t=t?u:t)),u}function eO(u,t,D,r,n,a){var o,i=1&t,l=2&t,c=4&t;if(D&&(o=n?D(u,r,n,a):D(u)),o!==e)return o;if(!nU(u))return u;var p=n$(u);if(p){if(A=u.length,b=new u.constructor(A),A&&"string"==typeof u[0]&&uS.call(u,"index")&&(b.index=u.index,b.input=u.input),o=b,!i)return DI(u,o)}else{var A,b,j,M,N,I=rE(u),z=I==E||I==C;if(nj(u))return DO(u,i);if(I==d||I==s||z&&!n){if(o=l||z?{}:rm(u),!i)return l?(j=(N=o)&&Dz(u,ac(u),N),Dz(u,rp(u),j)):(M=eP(o,u),Dz(u,rf(u),M))}else{if(!uZ[I])return n?u:{};o=function(u,t,e){var D,r,n=u.constructor;switch(t){case w:return DR(u);case F:case f:return new n(+u);case _:return D=e?DR(u.buffer):u.buffer,new u.constructor(D,u.byteOffset,u.byteLength);case x:case T:case P:case k:case S:case $:case O:case R:case V:return DV(u,e);case m:return new n;case h:case v:return new n(u);case y:return(r=new u.constructor(u.source,uo.exec(u))).lastIndex=u.lastIndex,r;case g:return new n;case B:return eF?uv(eF.call(u)):{}}}(u,I,i)}}a||(a=new ev);var L=a.get(u);if(L)return L;a.set(u,o),nH(u)?u.forEach(function(e){o.add(eO(e,t,D,e,u,a))}):nq(u)&&u.forEach(function(e,r){o.set(r,eO(e,t,D,r,u,a))});var U=c?l?rn:rr:l?ac:as,G=p?e:U(u);return ti(G||u,function(e,r){G&&(e=u[r=e]),e_(o,r,eO(e,t,D,r,u,a))}),o}function eR(u,t,D){var r=D.length;if(null==u)return!r;for(u=uv(u);r--;){var n=D[r],a=t[n],o=u[n];if(o===e&&!(n in u)||!a(o))return!1}return!0}function eV(u,t,r){if("function"!=typeof u)throw new uw(D);return rP(function(){u.apply(e,r)},t)}function ej(u,t,e,D){var r=-1,n=tc,a=!0,o=u.length,i=[],l=t.length;if(!o)return i;e&&(t=tf(t,tk(e))),D?(n=tF,a=!1):t.length>=200&&(n=t$,a=!1,t=new eg(t));u:for(;++r-1},eA.prototype.set=function(u,t){var e=this.__data__,D=ex(e,u);return D<0?(++this.size,e.push([u,t])):e[D][1]=t,this},ey.prototype.clear=function(){this.size=0,this.__data__={hash:new ed,map:new(t5||eA),string:new ed}},ey.prototype.delete=function(u){var t=rs(this,u).delete(u);return this.size-=t?1:0,t},ey.prototype.get=function(u){return rs(this,u).get(u)},ey.prototype.has=function(u){return rs(this,u).has(u)},ey.prototype.set=function(u,t){var e=rs(this,u),D=e.size;return e.set(u,t),this.size+=e.size==D?0:1,this},eg.prototype.add=eg.prototype.push=function(u){return this.__data__.set(u,n),this},eg.prototype.has=function(u){return this.__data__.has(u)},ev.prototype.clear=function(){this.__data__=new eA,this.size=0},ev.prototype.delete=function(u){var t=this.__data__,e=t.delete(u);return this.size=t.size,e},ev.prototype.get=function(u){return this.__data__.get(u)},ev.prototype.has=function(u){return this.__data__.has(u)},ev.prototype.set=function(u,t){var e=this.__data__;if(e instanceof eA){var D=e.__data__;if(!t5||D.length<199)return D.push([u,t]),this.size=++e.size,this;e=this.__data__=new ey(D)}return e.set(u,t),this.size=e.size,this};var eM=DG(eJ),eN=DG(eQ,!0);function eI(u,t){var e=!0;return eM(u,function(u,D,r){return e=!!t(u,D,r)}),e}function ez(u,t,D){for(var r=-1,n=u.length;++r0&&e(o)?t>1?eU(o,t-1,e,D,r):tp(r,o):D||(r[r.length]=o)}return r}var eG=Dq(),eq=Dq(!0);function eJ(u,t){return u&&eG(u,t,as)}function eQ(u,t){return u&&eq(u,t,as)}function eW(u,t){return ts(t,function(t){return nI(u[t])})}function eH(u,t){t=Dk(t,u);for(var D=0,r=t.length;null!=u&&Dt}function eK(u,t){return null!=u&&uS.call(u,t)}function e0(u,t){return null!=u&&t in uv(u)}function e1(u,t,D){for(var r=D?tF:tc,n=u[0].length,a=u.length,o=a,i=uh(a),l=1/0,s=[];o--;){var c=u[o];o&&t&&(c=tf(c,tk(t))),l=t3(c.length,l),i[o]=!D&&(t||n>=120&&c.length>=120)?new eg(o&&c):e}c=u[0];var F=-1,f=i[0];u:for(;++F=o)return i;return i*("desc"==e[D]?-1:1)}}return u.index-t.index}(u,t,e)})}function Da(u,t,e){for(var D=-1,r=t.length,n={};++D-1;)o!==u&&u8.call(o,i,1),u8.call(u,i,1);return u}function Di(u,t){for(var e=u?t.length:0,D=e-1;e--;){var r=t[e];if(e==D||r!==n){var n=r;rd(r)?u8.call(u,r,1):Dv(u,r)}}return u}function Dl(u,t){return u+tY(t7()*(t-u+1))}function Ds(u,t){var e="";if(!u||t<1||t>9007199254740991)return e;do t%2&&(e+=u),(t=tY(t/2))&&(u+=u);while(t)return e}function Dc(u,t){return rk(rw(u,t,aV),u+"")}function DF(u,t,D,r){if(!nU(u))return u;t=Dk(t,u);for(var n=-1,a=t.length,o=a-1,i=u;null!=i&&++nr?0:r+t),(e=e>r?r:e)<0&&(e+=r),r=t>e?0:e-t>>>0,t>>>=0;for(var n=uh(r);++D>>1,a=u[n];null!==a&&!nX(a)&&(e?a<=t:a=200){var l=t?null:D7(u);if(l)return tU(l);a=!1,r=t$,i=new eg}else i=t?[]:o;u:for(;++D=r?u:DE(u,t,D)}var D$=u5||function(u){return u2.clearTimeout(u)};function DO(u,t){if(t)return u.slice();var e=u.length,D=uL?uL(e):new u.constructor(e);return u.copy(D),D}function DR(u){var t=new u.constructor(u.byteLength);return new uz(t).set(new uz(u)),t}function DV(u,t){var e=t?DR(u.buffer):u.buffer;return new u.constructor(e,u.byteOffset,u.length)}function Dj(u,t){if(u!==t){var D=u!==e,r=null===u,n=u==u,a=nX(u),o=t!==e,i=null===t,l=t==t,s=nX(t);if(!i&&!s&&!a&&u>t||a&&o&&l&&!i&&!s||r&&o&&l||!D&&l||!n)return 1;if(!r&&!a&&!s&&u1?D[n-1]:e,o=n>2?D[2]:e;for(a=u.length>3&&"function"==typeof a?(n--,a):e,o&&rA(D[0],D[1],o)&&(a=n<3?e:a,n=1),t=uv(t);++r-1?n[a?t[o]:o]:e}}function DY(u){return rD(function(t){var r=t.length,n=r,a=em.prototype.thru;for(u&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new uw(D);if(a&&!i&&"wrapper"==ro(o))var i=new em([],!0)}for(n=i?n:r;++n1&&d.reverse(),c&&li))return!1;var s=a.get(u),c=a.get(t);if(s&&c)return s==t&&c==u;var F=-1,f=!0,p=2&D?new eg:e;for(a.set(u,t),a.set(t,u);++F-1&&u%1==0&&u1?"& ":"")+t[D],t=t.join(e>2?", ":" "),u.replace(uu,"{\n/* [wrapped with "+t+"] */\n")}(n,(D=(r=n.match(ut))?r[1].split(ue):[],ti(l,function(u){var t="_."+u[0];e&u[1]&&!tc(D,t)&&D.push(t)}),D.sort())))}function r$(u){var t=0,D=0;return function(){var r=t2(),n=16-(r-D);if(D=r,n>0){if(++t>=800)return arguments[0]}else t=0;return u.apply(e,arguments)}}function rO(u,t){var D=-1,r=u.length,n=r-1;for(t=t===e?r:t;++D1?u[t-1]:e;return D="function"==typeof D?(u.pop(),D):e,r2(u,D)});function nt(u){var t=ep(u);return t.__chain__=!0,t}function ne(u,t){return t(u)}var nD=rD(function(u){var t=u.length,D=t?u[0]:0,r=this.__wrapped__,n=function(t){return eS(t,u)};return!(t>1)&&!this.__actions__.length&&r instanceof eh&&rd(D)?((r=r.slice(D,+D+(t?1:0))).__actions__.push({func:ne,args:[n],thisArg:e}),new em(r,this.__chain__).thru(function(u){return t&&!u.length&&u.push(e),u})):this.thru(n)}),nr=DL(function(u,t,e){uS.call(u,e)?++u[e]:ek(u,e,1)}),nn=DH(rL),na=DH(rU);function no(u,t){return(n$(u)?ti:eM)(u,rl(t,3))}function ni(u,t){return(n$(u)?function(u,t){for(var e=null==u?0:u.length;e--&&!1!==t(u[e],e,u););return u}:eN)(u,rl(t,3))}var nl=DL(function(u,t,e){uS.call(u,e)?u[e].push(t):ek(u,e,[t])}),ns=Dc(function(u,t,e){var D=-1,r="function"==typeof t,n=nR(u)?uh(u.length):[];return eM(u,function(u){n[++D]=r?ta(t,u,e):e8(u,t,e)}),n}),nc=DL(function(u,t,e){ek(u,e,t)});function nF(u,t){return(n$(u)?tf:Du)(u,rl(t,3))}var nf=DL(function(u,t,e){u[e?0:1].push(t)},function(){return[[],[]]}),np=Dc(function(u,t){if(null==u)return[];var e=t.length;return e>1&&rA(u,t[0],t[1])?t=[]:e>2&&rA(t[0],t[1],t[2])&&(t=[t[0]]),Dn(u,eU(t,1),[])}),nE=th||function(){return u2.Date.now()};function nC(u,t,D){return t=D?e:t,t=u&&null==t?u.length:t,D4(u,128,e,e,e,e,t)}function nm(u,t){var r;if("function"!=typeof t)throw new uw(D);return u=n3(u),function(){return--u>0&&(r=t.apply(this,arguments)),u<=1&&(t=e),r}}var nh=Dc(function(u,t,e){var D=1;if(e.length){var r=tL(e,ri(nh));D|=32}return D4(u,D,t,e,r)}),nd=Dc(function(u,t,e){var D=3;if(e.length){var r=tL(e,ri(nd));D|=32}return D4(t,D,u,e,r)});function nA(u,t,r){var n,a,o,i,l,s,c=0,F=!1,f=!1,p=!0;if("function"!=typeof u)throw new uw(D);function E(t){var D=n,r=a;return n=a=e,c=t,i=u.apply(r,D)}function C(u){var D=u-s,r=u-c;return s===e||D>=t||D<0||f&&r>=o}function m(){var u,e,D,r=nE();if(C(r))return h(r);l=rP(m,(u=r-s,e=r-c,D=t-u,f?t3(D,o-e):D))}function h(u){return(l=e,p&&n)?E(u):(n=a=e,i)}function d(){var u,D=nE(),r=C(D);if(n=arguments,a=this,s=D,r){if(l===e)return c=u=s,l=rP(m,t),F?E(u):i;if(f)return D$(l),l=rP(m,t),E(s)}return l===e&&(l=rP(m,t)),i}return t=n6(t)||0,nU(r)&&(F=!!r.leading,o=(f="maxWait"in r)?t8(n6(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),d.cancel=function(){l!==e&&D$(l),c=0,n=s=a=l=e},d.flush=function(){return l===e?i:h(nE())},d}var ny=Dc(function(u,t){return eV(u,1,t)}),ng=Dc(function(u,t,e){return eV(u,n6(t)||0,e)});function nv(u,t){if("function"!=typeof u||null!=t&&"function"!=typeof t)throw new uw(D);var e=function(){var D=arguments,r=t?t.apply(this,D):D[0],n=e.cache;if(n.has(r))return n.get(r);var a=u.apply(this,D);return e.cache=n.set(r,a)||n,a};return e.cache=new(nv.Cache||ey),e}function nB(u){if("function"!=typeof u)throw new uw(D);return function(){var t=arguments;switch(t.length){case 0:return!u.call(this);case 1:return!u.call(this,t[0]);case 2:return!u.call(this,t[0],t[1]);case 3:return!u.call(this,t[0],t[1],t[2])}return!u.apply(this,t)}}nv.Cache=ey;var nb=Dc(function(u,t){var e=(t=1==t.length&&n$(t[0])?tf(t[0],tk(rl())):tf(eU(t,1),tk(rl()))).length;return Dc(function(D){for(var r=-1,n=t3(D.length,e);++r=t}),nS=e3(function(){return arguments}())?e3:function(u){return nG(u)&&uS.call(u,"callee")&&!uK.call(u,"callee")},n$=uh.isArray,nO=tu?tk(tu):function(u){return nG(u)&&eX(u)==w};function nR(u){return null!=u&&nL(u.length)&&!nI(u)}function nV(u){return nG(u)&&nR(u)}var nj=tZ||aH,nM=tt?tk(tt):function(u){return nG(u)&&eX(u)==f};function nN(u){if(!nG(u))return!1;var t=eX(u);return t==p||"[object DOMException]"==t||"string"==typeof u.message&&"string"==typeof u.name&&!nQ(u)}function nI(u){if(!nU(u))return!1;var t=eX(u);return t==E||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function nz(u){return"number"==typeof u&&u==n3(u)}function nL(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}function nU(u){var t=typeof u;return null!=u&&("object"==t||"function"==t)}function nG(u){return null!=u&&"object"==typeof u}var nq=te?tk(te):function(u){return nG(u)&&rE(u)==m};function nJ(u){return"number"==typeof u||nG(u)&&eX(u)==h}function nQ(u){if(!nG(u)||eX(u)!=d)return!1;var t=uq(u);if(null===t)return!0;var e=uS.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&uk.call(e)==uV}var nW=tD?tk(tD):function(u){return nG(u)&&eX(u)==y},nH=tr?tk(tr):function(u){return nG(u)&&rE(u)==g};function nY(u){return"string"==typeof u||!n$(u)&&nG(u)&&eX(u)==v}function nX(u){return"symbol"==typeof u||nG(u)&&eX(u)==B}var nZ=tn?tk(tn):function(u){return nG(u)&&nL(u.length)&&!!uX[eX(u)]},nK=D3(e5),n0=D3(function(u,t){return u<=t});function n1(u){if(!u)return[];if(nR(u))return nY(u)?tq(u):DI(u);if(u6&&u[u6])return function(u){for(var t,e=[];!(t=u.next()).done;)e.push(t.value);return e}(u[u6]());var t=rE(u);return(t==m?tI:t==g?tU:ad)(u)}function n8(u){return u?(u=n6(u))===o||u===-o?(u<0?-1:1)*17976931348623157e292:u==u?u:0:0===u?u:0}function n3(u){var t=n8(u),e=t%1;return t==t?e?t-e:t:0}function n2(u){return u?e$(n3(u),0,4294967295):0}function n6(u){if("number"==typeof u)return u;if(nX(u))return i;if(nU(u)){var t="function"==typeof u.valueOf?u.valueOf():u;u=nU(t)?t+"":t}if("string"!=typeof u)return 0===u?u:+u;u=tP(u);var e=ul.test(u);return e||uc.test(u)?u1(u.slice(2),e?2:8):ui.test(u)?i:+u}function n7(u){return Dz(u,ac(u))}function n9(u){return null==u?"":Dy(u)}var n4=DU(function(u,t){if(rB(t)||nR(t)){Dz(t,as(t),u);return}for(var e in t)uS.call(t,e)&&e_(u,e,t[e])}),n5=DU(function(u,t){Dz(t,ac(t),u)}),au=DU(function(u,t,e,D){Dz(t,ac(t),u,D)}),at=DU(function(u,t,e,D){Dz(t,as(t),u,D)}),ae=rD(eS),aD=Dc(function(u,t){u=uv(u);var D=-1,r=t.length,n=r>2?t[2]:e;for(n&&rA(t[0],t[1],n)&&(r=1);++D1),t}),Dz(u,rn(u),e),D&&(e=eO(e,7,rt));for(var r=t.length;r--;)Dv(e,t[r]);return e}),aE=rD(function(u,t){return null==u?{}:Da(u,t,function(t,e){return aa(u,e)})});function aC(u,t){if(null==u)return{};var e=tf(rn(u),function(u){return[u]});return t=rl(t),Da(u,e,function(u,e){return t(u,e[0])})}var am=D9(as),ah=D9(ac);function ad(u){return null==u?[]:tS(u,as(u))}var aA=DQ(function(u,t,e){return t=t.toLowerCase(),u+(e?ay(t):t)});function ay(u){return aT(n9(u).toLowerCase())}function ag(u){return(u=n9(u))&&u.replace(uf,tV).replace(uG,"")}var av=DQ(function(u,t,e){return u+(e?"-":"")+t.toLowerCase()}),aB=DQ(function(u,t,e){return u+(e?" ":"")+t.toLowerCase()}),ab=DJ("toLowerCase"),aw=DQ(function(u,t,e){return u+(e?"_":"")+t.toLowerCase()}),a_=DQ(function(u,t,e){return u+(e?" ":"")+aT(t)}),ax=DQ(function(u,t,e){return u+(e?" ":"")+t.toUpperCase()}),aT=DJ("toUpperCase");function aP(u,t,D){if(u=n9(u),(t=D?e:t)===e){var r;return(r=u,uW.test(r))?u.match(uJ)||[]:u.match(uD)||[]}return u.match(t)||[]}var ak=Dc(function(u,t){try{return ta(u,e,t)}catch(u){return nN(u)?u:new uA(u)}}),aS=rD(function(u,t){return ti(t,function(t){ek(u,t=rV(t),nh(u[t],u))}),u});function a$(u){return function(){return u}}var aO=DY(),aR=DY(!0);function aV(u){return u}function aj(u){return e9("function"==typeof u?u:eO(u,1))}var aM=Dc(function(u,t){return function(e){return e8(e,u,t)}}),aN=Dc(function(u,t){return function(e){return e8(u,e,t)}});function aI(u,t,e){var D=as(t),r=eW(t,D);null!=e||nU(t)&&(r.length||!D.length)||(e=t,t=u,u=this,r=eW(t,as(t)));var n=!(nU(e)&&"chain"in e)||!!e.chain,a=nI(u);return ti(r,function(e){var D=t[e];u[e]=D,a&&(u.prototype[e]=function(){var t=this.__chain__;if(n||t){var e=u(this.__wrapped__);return(e.__actions__=DI(this.__actions__)).push({func:D,args:arguments,thisArg:u}),e.__chain__=t,e}return D.apply(u,tp([this.value()],arguments))})}),u}function az(){}var aL=D0(tf),aU=D0(tl),aG=D0(tm);function aq(u){return ry(u)?tb(rV(u)):function(t){return eH(t,u)}}var aJ=D8(),aQ=D8(!0);function aW(){return[]}function aH(){return!1}var aY=DK(function(u,t){return u+t},0),aX=D6("ceil"),aZ=DK(function(u,t){return u/t},1),aK=D6("floor"),a0=DK(function(u,t){return u*t},1),a1=D6("round"),a8=DK(function(u,t){return u-t},0);return ep.after=function(u,t){if("function"!=typeof t)throw new uw(D);return u=n3(u),function(){if(--u<1)return t.apply(this,arguments)}},ep.ary=nC,ep.assign=n4,ep.assignIn=n5,ep.assignInWith=au,ep.assignWith=at,ep.at=ae,ep.before=nm,ep.bind=nh,ep.bindAll=aS,ep.bindKey=nd,ep.castArray=function(){if(!arguments.length)return[];var u=arguments[0];return n$(u)?u:[u]},ep.chain=nt,ep.chunk=function(u,t,D){t=(D?rA(u,t,D):t===e)?1:t8(n3(t),0);var r=null==u?0:u.length;if(!r||t<1)return[];for(var n=0,a=0,o=uh(tH(r/t));nn?0:n+D),(r=r===e||r>n?n:n3(r))<0&&(r+=n),r=D>r?0:n2(r);D>>0)?(u=n9(u))&&("string"==typeof t||null!=t&&!nW(t))&&!(t=Dy(t))&&tN(u)?DS(tq(u),0,D):u.split(t,D):[]},ep.spread=function(u,t){if("function"!=typeof u)throw new uw(D);return t=null==t?0:t8(n3(t),0),Dc(function(e){var D=e[t],r=DS(e,0,t);return D&&tp(r,D),ta(u,this,r)})},ep.tail=function(u){var t=null==u?0:u.length;return t?DE(u,1,t):[]},ep.take=function(u,t,D){return u&&u.length?DE(u,0,(t=D||t===e?1:n3(t))<0?0:t):[]},ep.takeRight=function(u,t,D){var r=null==u?0:u.length;return r?DE(u,(t=r-(t=D||t===e?1:n3(t)))<0?0:t,r):[]},ep.takeRightWhile=function(u,t){return u&&u.length?Db(u,rl(t,3),!1,!0):[]},ep.takeWhile=function(u,t){return u&&u.length?Db(u,rl(t,3)):[]},ep.tap=function(u,t){return t(u),u},ep.throttle=function(u,t,e){var r=!0,n=!0;if("function"!=typeof u)throw new uw(D);return nU(e)&&(r="leading"in e?!!e.leading:r,n="trailing"in e?!!e.trailing:n),nA(u,t,{leading:r,maxWait:t,trailing:n})},ep.thru=ne,ep.toArray=n1,ep.toPairs=am,ep.toPairsIn=ah,ep.toPath=function(u){return n$(u)?tf(u,rV):nX(u)?[u]:DI(rR(n9(u)))},ep.toPlainObject=n7,ep.transform=function(u,t,e){var D=n$(u),r=D||nj(u)||nZ(u);if(t=rl(t,4),null==e){var n=u&&u.constructor;e=r?D?new n:[]:nU(u)&&nI(n)?eE(uq(u)):{}}return(r?ti:eJ)(u,function(u,D,r){return t(e,u,D,r)}),e},ep.unary=function(u){return nC(u,1)},ep.union=r0,ep.unionBy=r1,ep.unionWith=r8,ep.uniq=function(u){return u&&u.length?Dg(u):[]},ep.uniqBy=function(u,t){return u&&u.length?Dg(u,rl(t,2)):[]},ep.uniqWith=function(u,t){return t="function"==typeof t?t:e,u&&u.length?Dg(u,e,t):[]},ep.unset=function(u,t){return null==u||Dv(u,t)},ep.unzip=r3,ep.unzipWith=r2,ep.update=function(u,t,e){return null==u?u:DB(u,t,DP(e))},ep.updateWith=function(u,t,D,r){return r="function"==typeof r?r:e,null==u?u:DB(u,t,DP(D),r)},ep.values=ad,ep.valuesIn=function(u){return null==u?[]:tS(u,ac(u))},ep.without=r6,ep.words=aP,ep.wrap=function(u,t){return nw(DP(t),u)},ep.xor=r7,ep.xorBy=r9,ep.xorWith=r4,ep.zip=r5,ep.zipObject=function(u,t){return Dx(u||[],t||[],e_)},ep.zipObjectDeep=function(u,t){return Dx(u||[],t||[],DF)},ep.zipWith=nu,ep.entries=am,ep.entriesIn=ah,ep.extend=n5,ep.extendWith=au,aI(ep,ep),ep.add=aY,ep.attempt=ak,ep.camelCase=aA,ep.capitalize=ay,ep.ceil=aX,ep.clamp=function(u,t,D){return D===e&&(D=t,t=e),D!==e&&(D=(D=n6(D))==D?D:0),t!==e&&(t=(t=n6(t))==t?t:0),e$(n6(u),t,D)},ep.clone=function(u){return eO(u,4)},ep.cloneDeep=function(u){return eO(u,5)},ep.cloneDeepWith=function(u,t){return eO(u,5,t="function"==typeof t?t:e)},ep.cloneWith=function(u,t){return eO(u,4,t="function"==typeof t?t:e)},ep.conformsTo=function(u,t){return null==t||eR(u,t,as(t))},ep.deburr=ag,ep.defaultTo=function(u,t){return null==u||u!=u?t:u},ep.divide=aZ,ep.endsWith=function(u,t,D){u=n9(u),t=Dy(t);var r=u.length,n=D=D===e?r:e$(n3(D),0,r);return(D-=t.length)>=0&&u.slice(D,n)==t},ep.eq=nT,ep.escape=function(u){return(u=n9(u))&&U.test(u)?u.replace(z,tj):u},ep.escapeRegExp=function(u){return(u=n9(u))&&X.test(u)?u.replace(Y,"\\$&"):u},ep.every=function(u,t,D){var r=n$(u)?tl:eI;return D&&rA(u,t,D)&&(t=e),r(u,rl(t,3))},ep.find=nn,ep.findIndex=rL,ep.findKey=function(u,t){return td(u,rl(t,3),eJ)},ep.findLast=na,ep.findLastIndex=rU,ep.findLastKey=function(u,t){return td(u,rl(t,3),eQ)},ep.floor=aK,ep.forEach=no,ep.forEachRight=ni,ep.forIn=function(u,t){return null==u?u:eG(u,rl(t,3),ac)},ep.forInRight=function(u,t){return null==u?u:eq(u,rl(t,3),ac)},ep.forOwn=function(u,t){return u&&eJ(u,rl(t,3))},ep.forOwnRight=function(u,t){return u&&eQ(u,rl(t,3))},ep.get=an,ep.gt=nP,ep.gte=nk,ep.has=function(u,t){return null!=u&&rC(u,t,eK)},ep.hasIn=aa,ep.head=rq,ep.identity=aV,ep.includes=function(u,t,e,D){u=nR(u)?u:ad(u),e=e&&!D?n3(e):0;var r=u.length;return e<0&&(e=t8(r+e,0)),nY(u)?e<=r&&u.indexOf(t,e)>-1:!!r&&ty(u,t,e)>-1},ep.indexOf=function(u,t,e){var D=null==u?0:u.length;if(!D)return -1;var r=null==e?0:n3(e);return r<0&&(r=t8(D+r,0)),ty(u,t,r)},ep.inRange=function(u,t,D){var r,n,a;return t=n8(t),D===e?(D=t,t=0):D=n8(D),(r=u=n6(u))>=t3(n=t,a=D)&&r=-9007199254740991&&u<=9007199254740991},ep.isSet=nH,ep.isString=nY,ep.isSymbol=nX,ep.isTypedArray=nZ,ep.isUndefined=function(u){return u===e},ep.isWeakMap=function(u){return nG(u)&&rE(u)==b},ep.isWeakSet=function(u){return nG(u)&&"[object WeakSet]"==eX(u)},ep.join=function(u,t){return null==u?"":t0.call(u,t)},ep.kebabCase=av,ep.last=rH,ep.lastIndexOf=function(u,t,D){var r=null==u?0:u.length;if(!r)return -1;var n=r;return D!==e&&(n=(n=n3(D))<0?t8(r+n,0):t3(n,r-1)),t==t?function(u,t,e){for(var D=e+1;D--&&u[D]!==t;);return D}(u,t,n):tA(u,tv,n,!0)},ep.lowerCase=aB,ep.lowerFirst=ab,ep.lt=nK,ep.lte=n0,ep.max=function(u){return u&&u.length?ez(u,aV,eZ):e},ep.maxBy=function(u,t){return u&&u.length?ez(u,rl(t,2),eZ):e},ep.mean=function(u){return tB(u,aV)},ep.meanBy=function(u,t){return tB(u,rl(t,2))},ep.min=function(u){return u&&u.length?ez(u,aV,e5):e},ep.minBy=function(u,t){return u&&u.length?ez(u,rl(t,2),e5):e},ep.stubArray=aW,ep.stubFalse=aH,ep.stubObject=function(){return{}},ep.stubString=function(){return""},ep.stubTrue=function(){return!0},ep.multiply=a0,ep.nth=function(u,t){return u&&u.length?Dr(u,n3(t)):e},ep.noConflict=function(){return u2._===this&&(u2._=uj),this},ep.noop=az,ep.now=nE,ep.pad=function(u,t,e){u=n9(u);var D=(t=n3(t))?tG(u):0;if(!t||D>=t)return u;var r=(t-D)/2;return D1(tY(r),e)+u+D1(tH(r),e)},ep.padEnd=function(u,t,e){u=n9(u);var D=(t=n3(t))?tG(u):0;return t&&Dt){var r=u;u=t,t=r}if(D||u%1||t%1){var n=t7();return t3(u+n*(t-u+u0("1e-"+((n+"").length-1))),t)}return Dl(u,t)},ep.reduce=function(u,t,e){var D=n$(u)?tE:t_,r=arguments.length<3;return D(u,rl(t,4),e,r,eM)},ep.reduceRight=function(u,t,e){var D=n$(u)?tC:t_,r=arguments.length<3;return D(u,rl(t,4),e,r,eN)},ep.repeat=function(u,t,D){return t=(D?rA(u,t,D):t===e)?1:n3(t),Ds(n9(u),t)},ep.replace=function(){var u=arguments,t=n9(u[0]);return u.length<3?t:t.replace(u[1],u[2])},ep.result=function(u,t,D){t=Dk(t,u);var r=-1,n=t.length;for(n||(n=1,u=e);++r9007199254740991)return[];var e=4294967295,D=t3(u,4294967295);t=rl(t),u-=4294967295;for(var r=tT(D,t);++e=a)return u;var i=D-tG(r);if(i<1)return r;var l=o?DS(o,0,i).join(""):u.slice(0,i);if(n===e)return l+r;if(o&&(i+=l.length-i),nW(n)){if(u.slice(i).search(n)){var s,c=l;for(n.global||(n=uB(n.source,n9(uo.exec(n))+"g")),n.lastIndex=0;s=n.exec(c);)var F=s.index;l=l.slice(0,F===e?i:F)}}else if(u.indexOf(Dy(n),i)!=i){var f=l.lastIndexOf(n);f>-1&&(l=l.slice(0,f))}return l+r},ep.unescape=function(u){return(u=n9(u))&&L.test(u)?u.replace(I,tQ):u},ep.uniqueId=function(u){var t=++u$;return n9(u)+t},ep.upperCase=ax,ep.upperFirst=aT,ep.each=no,ep.eachRight=ni,ep.first=rq,aI(ep,(um={},eJ(ep,function(u,t){uS.call(ep.prototype,t)||(um[t]=u)}),um),{chain:!1}),ep.VERSION="4.17.21",ti(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){ep[u].placeholder=ep}),ti(["drop","take"],function(u,t){eh.prototype[u]=function(D){D=D===e?1:t8(n3(D),0);var r=this.__filtered__&&!t?new eh(this):this.clone();return r.__filtered__?r.__takeCount__=t3(D,r.__takeCount__):r.__views__.push({size:t3(D,4294967295),type:u+(r.__dir__<0?"Right":"")}),r},eh.prototype[u+"Right"]=function(t){return this.reverse()[u](t).reverse()}}),ti(["filter","map","takeWhile"],function(u,t){var e=t+1,D=1==e||3==e;eh.prototype[u]=function(u){var t=this.clone();return t.__iteratees__.push({iteratee:rl(u,3),type:e}),t.__filtered__=t.__filtered__||D,t}}),ti(["head","last"],function(u,t){var e="take"+(t?"Right":"");eh.prototype[u]=function(){return this[e](1).value()[0]}}),ti(["initial","tail"],function(u,t){var e="drop"+(t?"":"Right");eh.prototype[u]=function(){return this.__filtered__?new eh(this):this[e](1)}}),eh.prototype.compact=function(){return this.filter(aV)},eh.prototype.find=function(u){return this.filter(u).head()},eh.prototype.findLast=function(u){return this.reverse().find(u)},eh.prototype.invokeMap=Dc(function(u,t){return"function"==typeof u?new eh(this):this.map(function(e){return e8(e,u,t)})}),eh.prototype.reject=function(u){return this.filter(nB(rl(u)))},eh.prototype.slice=function(u,t){u=n3(u);var D=this;return D.__filtered__&&(u>0||t<0)?new eh(D):(u<0?D=D.takeRight(-u):u&&(D=D.drop(u)),t!==e&&(D=(t=n3(t))<0?D.dropRight(-t):D.take(t-u)),D)},eh.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},eh.prototype.toArray=function(){return this.take(4294967295)},eJ(eh.prototype,function(u,t){var D=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),n=ep[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);n&&(ep.prototype[t]=function(){var t=this.__wrapped__,o=r?[1]:arguments,i=t instanceof eh,l=o[0],s=i||n$(t),c=function(u){var t=n.apply(ep,tp([u],o));return r&&F?t[0]:t};s&&D&&"function"==typeof l&&1!=l.length&&(i=s=!1);var F=this.__chain__,f=!!this.__actions__.length,p=a&&!F,E=i&&!f;if(!a&&s){t=E?t:new eh(this);var C=u.apply(t,o);return C.__actions__.push({func:ne,args:[c],thisArg:e}),new em(C,F)}return p&&E?u.apply(this,o):(C=this.thru(c),p?r?C.value()[0]:C.value():C)})}),ti(["pop","push","shift","sort","splice","unshift"],function(u){var t=u_[u],e=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",D=/^(?:pop|shift)$/.test(u);ep.prototype[u]=function(){var u=arguments;if(D&&!this.__chain__){var r=this.value();return t.apply(n$(r)?r:[],u)}return this[e](function(e){return t.apply(n$(e)?e:[],u)})}}),eJ(eh.prototype,function(u,t){var e=ep[t];if(e){var D=e.name+"";uS.call(en,D)||(en[D]=[]),en[D].push({name:t,func:e})}}),en[DX(e,2).name]=[{name:"wrapper",func:e}],eh.prototype.clone=function(){var u=new eh(this.__wrapped__);return u.__actions__=DI(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=DI(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=DI(this.__views__),u},eh.prototype.reverse=function(){if(this.__filtered__){var u=new eh(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u},eh.prototype.value=function(){var u=this.__wrapped__.value(),t=this.__dir__,e=n$(u),D=t<0,r=e?u.length:0,n=function(u,t,e){for(var D=-1,r=e.length;++D=this.__values__.length,t=u?e:this.__values__[this.__index__++];return{done:u,value:t}},ep.prototype.plant=function(u){for(var t,D=this;D instanceof eC;){var r=rM(D);r.__index__=0,r.__values__=e,t?n.__wrapped__=r:t=r;var n=r;D=D.__wrapped__}return n.__wrapped__=u,t},ep.prototype.reverse=function(){var u=this.__wrapped__;if(u instanceof eh){var t=u;return this.__actions__.length&&(t=new eh(this)),(t=t.reverse()).__actions__.push({func:ne,args:[rK],thisArg:e}),new em(t,this.__chain__)}return this.thru(rK)},ep.prototype.toJSON=ep.prototype.valueOf=ep.prototype.value=function(){return Dw(this.__wrapped__,this.__actions__)},ep.prototype.first=ep.prototype.head,u6&&(ep.prototype[u6]=function(){return this}),ep}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(u2._=tW,define(function(){return tW})):u7?((u7.exports=tW)._=tW,u6._=tW):u2._=tW}).call(this)}),l("66yEz",function(u,t){var e=i("9wvu4");u.exports=e}),l("9wvu4",function(u,t){i("dC7ew");var e=i("7JtRM").Object,D=u.exports=function(u,t,D){return e.defineProperty(u,t,D)};e.defineProperty.sham&&(D.sham=!0)}),l("dC7ew",function(u,t){var e=i("jfoaa"),D=i("kNJMR"),r=i("jlwsM").f;e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!D},{defineProperty:r})}),l("jfoaa",function(u,t){var e=i("jr3Rs"),D=i("gS5FS"),r=i("gHrkb"),n=i("hEYh6"),a=i("fa4sP").f,o=i("k2hJM"),l=i("7JtRM"),s=i("9X5RJ"),c=i("9gQ3U"),F=i("eXDJl"),f=function(u){var t=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new u;case 1:return new u(e);case 2:return new u(e,r)}return new u(e,r,n)}return D(u,this,arguments)};return t.prototype=u.prototype,t};u.exports=function(u,t){var D,i,p,E,C,m,h,d,A,y=u.target,g=u.global,v=u.stat,B=u.proto,b=g?e:v?e[y]:e[y]&&e[y].prototype,w=g?l:l[y]||c(l,y,{})[y],_=w.prototype;for(E in t)i=!(D=o(g?E:y+(v?".":"#")+E,u.forced))&&b&&F(b,E),m=w[E],i&&(h=u.dontCallGetSet?(A=a(b,E))&&A.value:b[E]),C=i&&h?h:t[E],(D||B||typeof m!=typeof C)&&(d=u.bind&&i?s(C,e):u.wrap&&i?f(C):B&&n(C)?r(C):C,(u.sham||C&&C.sham||m&&m.sham)&&c(d,"sham",!0),c(w,E,d),B&&(F(l,p=y+"Prototype")||c(l,p,{}),c(l[p],E,C),u.real&&_&&(D||!_[E])&&c(_,E,C)))}}),l("jr3Rs",function(u,t){var e=function(u){return u&&u.Math===Math&&u};u.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||e("object"==typeof u.exports&&u.exports)||function(){return this}()||Function("return this")()}),l("gS5FS",function(u,t){var e=i("hCr6P"),D=Function.prototype,r=D.apply,n=D.call;u.exports="object"==typeof Reflect&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)})}),l("hCr6P",function(u,t){var e=i("6DoON");u.exports=!e(function(){var u=(function(){}).bind();return"function"!=typeof u||u.hasOwnProperty("prototype")})}),l("6DoON",function(u,t){u.exports=function(u){try{return!!u()}catch(u){return!0}}}),l("gHrkb",function(u,t){var e=i("055Fe"),D=i("eftQl");u.exports=function(u){if("Function"===e(u))return D(u)}}),l("055Fe",function(u,t){var e=i("eftQl"),D=e({}.toString),r=e("".slice);u.exports=function(u){return r(D(u),8,-1)}}),l("eftQl",function(u,t){var e=i("hCr6P"),D=Function.prototype,r=D.call,n=e&&D.bind.bind(r,r);u.exports=e?n:function(u){return function(){return r.apply(u,arguments)}}}),l("hEYh6",function(u,t){var e="object"==typeof document&&document.all;u.exports=void 0===e&&void 0!==e?function(u){return"function"==typeof u||u===e}:function(u){return"function"==typeof u}}),l("fa4sP",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D=i("kNJMR"),r=i("80R4z"),a=i("6zqN5"),o=i("9ihe5"),l=i("bHwKF"),s=i("i3CRk"),c=i("eXDJl"),F=i("2vbpV"),f=Object.getOwnPropertyDescriptor;e=D?f:function(u,t){if(u=l(u),t=s(t),F)try{return f(u,t)}catch(u){}if(c(u,t))return o(!r(a.f,u,t),u[t])}}),l("kNJMR",function(u,t){var e=i("6DoON");u.exports=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),l("80R4z",function(u,t){var e=i("hCr6P"),D=Function.prototype.call;u.exports=e?D.bind(D):function(){return D.apply(D,arguments)}}),l("6zqN5",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;e=r&&!D.call({1:2},1)?function(u){var t=r(this,u);return!!t&&t.enumerable}:D}),l("9ihe5",function(u,t){u.exports=function(u,t){return{enumerable:!(1&u),configurable:!(2&u),writable:!(4&u),value:t}}}),l("bHwKF",function(u,t){var e=i("k7MGS"),D=i("dqZoQ");u.exports=function(u){return e(D(u))}}),l("k7MGS",function(u,t){var e=i("eftQl"),D=i("6DoON"),r=i("055Fe"),n=Object,a=e("".split);u.exports=D(function(){return!n("z").propertyIsEnumerable(0)})?function(u){return"String"===r(u)?a(u,""):n(u)}:n}),l("dqZoQ",function(u,t){var e=i("kpyhJ"),D=TypeError;u.exports=function(u){if(e(u))throw new D("Can't call method on "+u);return u}}),l("kpyhJ",function(u,t){u.exports=function(u){return null==u}}),l("i3CRk",function(u,t){var e=i("dWwpG"),D=i("4kAKN");u.exports=function(u){var t=e(u,"string");return D(t)?t:t+""}}),l("dWwpG",function(u,t){var e=i("80R4z"),D=i("1FbPc"),r=i("4kAKN"),n=i("byx1c"),a=i("kUR7S"),o=i("i8hfY"),l=TypeError,s=o("toPrimitive");u.exports=function(u,t){if(!D(u)||r(u))return u;var o,i=n(u,s);if(i){if(void 0===t&&(t="default"),!D(o=e(i,u,t))||r(o))return o;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(u,t)}}),l("1FbPc",function(u,t){var e=i("hEYh6");u.exports=function(u){return"object"==typeof u?null!==u:e(u)}}),l("4kAKN",function(u,t){var e=i("iGW7C"),D=i("hEYh6"),r=i("593lC"),n=i("lUbFG"),a=Object;u.exports=n?function(u){return"symbol"==typeof u}:function(u){var t=e("Symbol");return D(t)&&r(t.prototype,a(u))}}),l("iGW7C",function(u,t){var e=i("7JtRM"),D=i("jr3Rs"),r=i("hEYh6"),n=function(u){return r(u)?u:void 0};u.exports=function(u,t){return arguments.length<2?n(e[u])||n(D[u]):e[u]&&e[u][t]||D[u]&&D[u][t]}}),l("7JtRM",function(u,t){u.exports={}}),l("593lC",function(u,t){var e=i("eftQl");u.exports=e({}.isPrototypeOf)}),l("lUbFG",function(u,t){var e=i("79uO0");u.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}),l("79uO0",function(u,t){var e=i("iadzq"),D=i("6DoON"),r=i("jr3Rs").String;u.exports=!!Object.getOwnPropertySymbols&&!D(function(){var u=Symbol("symbol detection");return!r(u)||!(Object(u) instanceof Symbol)||!Symbol.sham&&e&&e<41})}),l("iadzq",function(u,t){var e,D,r=i("jr3Rs"),n=i("5knhW"),a=r.process,o=r.Deno,l=a&&a.versions||o&&o.version,s=l&&l.v8;s&&(D=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!D&&n&&(!(e=n.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=n.match(/Chrome\/(\d+)/))&&(D=+e[1]),u.exports=D}),l("5knhW",function(u,t){u.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""}),l("byx1c",function(u,t){var e=i("9aMGu"),D=i("kpyhJ");u.exports=function(u,t){var r=u[t];return D(r)?void 0:e(r)}}),l("9aMGu",function(u,t){var e=i("hEYh6"),D=i("kZxtt"),r=TypeError;u.exports=function(u){if(e(u))return u;throw new r(D(u)+" is not a function")}}),l("kZxtt",function(u,t){var e=String;u.exports=function(u){try{return e(u)}catch(u){return"Object"}}}),l("kUR7S",function(u,t){var e=i("80R4z"),D=i("hEYh6"),r=i("1FbPc"),n=TypeError;u.exports=function(u,t){var a,o;if("string"===t&&D(a=u.toString)&&!r(o=e(a,u))||D(a=u.valueOf)&&!r(o=e(a,u))||"string"!==t&&D(a=u.toString)&&!r(o=e(a,u)))return o;throw new n("Can't convert object to primitive value")}}),l("i8hfY",function(u,t){var e=i("jr3Rs"),D=i("lq6nc"),r=i("eXDJl"),n=i("fPAFW"),a=i("79uO0"),o=i("lUbFG"),l=e.Symbol,s=D("wks"),c=o?l.for||l:l&&l.withoutSetter||n;u.exports=function(u){return r(s,u)||(s[u]=a&&r(l,u)?l[u]:c("Symbol."+u)),s[u]}}),l("lq6nc",function(u,t){var e=i("gaMwb"),D=i("h67iP");(u.exports=function(u,t){return D[u]||(D[u]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:e?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),l("gaMwb",function(u,t){u.exports=!0}),l("h67iP",function(u,t){var e=i("jr3Rs"),D=i("kf79m"),r="__core-js_shared__",n=e[r]||D(r,{});u.exports=n}),l("kf79m",function(u,t){var e=i("jr3Rs"),D=Object.defineProperty;u.exports=function(u,t){try{D(e,u,{value:t,configurable:!0,writable:!0})}catch(D){e[u]=t}return t}}),l("eXDJl",function(u,t){var e=i("eftQl"),D=i("6dyoH"),r=e({}.hasOwnProperty);u.exports=Object.hasOwn||function(u,t){return r(D(u),t)}}),l("6dyoH",function(u,t){var e=i("dqZoQ"),D=Object;u.exports=function(u){return D(e(u))}}),l("fPAFW",function(u,t){var e=i("eftQl"),D=0,r=Math.random(),n=e(1..toString);u.exports=function(u){return"Symbol("+(void 0===u?"":u)+")_"+n(++D+r,36)}}),l("2vbpV",function(u,t){var e=i("kNJMR"),D=i("6DoON"),r=i("5NHQH");u.exports=!e&&!D(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}),l("5NHQH",function(u,t){var e=i("jr3Rs"),D=i("1FbPc"),r=e.document,n=D(r)&&D(r.createElement);u.exports=function(u){return n?r.createElement(u):{}}}),l("k2hJM",function(u,t){var e=i("6DoON"),D=i("hEYh6"),r=/#|\.prototype\./,n=function(u,t){var r=o[a(u)];return r===s||r!==l&&(D(t)?e(t):!!t)},a=n.normalize=function(u){return String(u).replace(r,".").toLowerCase()},o=n.data={},l=n.NATIVE="N",s=n.POLYFILL="P";u.exports=n}),l("9X5RJ",function(u,t){var e=i("gHrkb"),D=i("9aMGu"),r=i("hCr6P"),n=e(e.bind);u.exports=function(u,t){return D(u),void 0===t?u:r?n(u,t):function(){return u.apply(t,arguments)}}}),l("9gQ3U",function(u,t){var e=i("kNJMR"),D=i("jlwsM"),r=i("9ihe5");u.exports=e?function(u,t,e){return D.f(u,t,r(1,e))}:function(u,t,e){return u[t]=e,u}}),l("jlwsM",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D=i("kNJMR"),r=i("2vbpV"),a=i("aJ9tR"),o=i("8qQ7R"),l=i("i3CRk"),s=TypeError,c=Object.defineProperty,F=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",E="writable";e=D?a?function(u,t,e){if(o(u),t=l(t),o(e),"function"==typeof u&&"prototype"===t&&"value"in e&&E in e&&!e[E]){var D=F(u,t);D&&D[E]&&(u[t]=e.value,e={configurable:p in e?e[p]:D[p],enumerable:f in e?e[f]:D[f],writable:!1})}return c(u,t,e)}:c:function(u,t,e){if(o(u),t=l(t),o(e),r)try{return c(u,t,e)}catch(u){}if("get"in e||"set"in e)throw new s("Accessors not supported");return"value"in e&&(u[t]=e.value),u}}),l("aJ9tR",function(u,t){var e=i("kNJMR"),D=i("6DoON");u.exports=e&&D(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),l("8qQ7R",function(u,t){var e=i("1FbPc"),D=String,r=TypeError;u.exports=function(u){if(e(u))return u;throw new r(D(u)+" is not an object")}}),l("1F0ZW",function(u,t){var e=i("iOIgz"),D=i("ewEhs"),r=i("jozCU"),n=i("9FUDW"),a=i("kQX98"),o=i("5RE2u");a(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var l=o(i("l73rb")),s=o(i("7kA6B")),c=o(i("15Umh")),F=o(i("atCsR")),f=o(i("e09sc")),p=o(i("dnBGt")),E=o(i("kpQwH")),C=o(i("erXQy")),m=o(i("gOumJ"));function h(u,t){var a=void 0!==D&&r(u)||u["@@iterator"];if(!a){if(n(u)||(a=function(u,t){if(u){if("string"==typeof u)return d(u,void 0);var D,r=i("atCsR")(D=Object.prototype.toString.call(u)).call(D,8,-1);if("Object"===r&&u.constructor&&(r=u.constructor.name),"Map"===r||"Set"===r)return e(u);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(u,void 0)}}(u))||t&&u&&"number"==typeof u.length){a&&(u=a);var o=0,l=function(){};return{s:l,n:function(){return o>=u.length?{done:!0}:{done:!1,value:u[o++]}},e:function(u){throw u},f:l}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,F=!1;return{s:function(){a=a.call(u)},n:function(){var u=a.next();return c=u.done,u},e:function(u){F=!0,s=u},f:function(){try{c||null==a.return||a.return()}finally{if(F)throw s}}}}function d(u,t){(null==t||t>u.length)&&(t=u.length);for(var e=0,D=Array(t);e + * Steven Levithan (c) 2007-present MIT License + */var A="xregexp",y={astral:!1,namespacing:!0},g={},v={},B={},b=[],w="default",_="class",x={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},T=/\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g,P=void 0===/()??/.exec("")[1],k=void 0!==(0,s.default)(/x/);function S(u){var t=!0;try{RegExp("",u),"y"===u&&".."===".a".replace(RegExp("a","gy"),".")&&(t=!1)}catch(u){t=!1}return t}var $=S("d"),O=S("s"),R=S("u"),V=S("y"),j={d:$,g:!0,i:!0,m:!0,s:O,u:R,y:V},M=O?/[^dgimsuy]+/g:/[^dgimuy]+/g;function N(u,t,e,D,r){var n;if(u[A]={captureNames:t},r)return u;if(u.__proto__)u.__proto__=X.prototype;else for(var a in X.prototype)u[a]=X.prototype[a];return u[A].source=e,u[A].flags=D?(0,c.default)(n=D.split("")).call(n).join(""):D,u}function I(u){return u.replace(/([\s\S])(?=[\s\S]*\1)/g,"")}function z(u,t){if(!X.isRegExp(u))throw TypeError("Type RegExp expected");var e,D,r,n=u[A]||{},a=(D=u,k?(0,s.default)(D):/\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(D))[1]),o="",i="",l=null,c=null;return(t=t||{}).removeG&&(i+="g"),t.removeY&&(i+="y"),i&&(a=a.replace(RegExp("[".concat(i,"]+"),"g"),"")),t.addG&&(o+="g"),t.addY&&(o+="y"),o&&(a=I(a+o)),t.isInternalOnly||(void 0!==n.source&&(l=n.source),null!=(0,s.default)(n)&&(c=o?I((0,s.default)(n)+o):(0,s.default)(n))),u=N(new RegExp(t.source||u.source,a),(e=u)[A]&&e[A].captureNames?(0,F.default)(r=n.captureNames).call(r,0):null,l,c,t.isInternalOnly)}function L(u){return(0,f.default)(u,16)}function U(u,t,e){var D,r=u.index+u[0].length,n=u.input[u.index-1],a=u.input[r];return/^[()|]$/.test(n)||/^[()|]$/.test(a)||0===u.index||r===u.input.length||/\(\?(?:[:=!]|<[=!])$/.test(u.input.substring(u.index-4,u.index))||(D=u.input,(-1!==(0,p.default)(e).call(e,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/).test((0,F.default)(D).call(D,r)))?"":"(?:)"}function G(u){return(0,f.default)(u,10).toString(16)}function q(u,t){return Object.prototype.toString.call(u)==="[object ".concat(t,"]")}function J(u){if(null==u)throw TypeError("Cannot convert null or undefined to object");return u}function Q(u){for(;u.length<4;)u="0".concat(u);return u}function W(u){var t={};return q(u,"String")?((0,E.default)(X).call(X,u,/[^\s,]+/,function(u){t[u]=!0}),t):u}function H(u){if(!/^[\w$]$/.test(u))throw Error("Flag must be a single character A-Za-z0-9_$");j[u]=!0}function Y(u){y.namespacing=u}function X(u,t){if(X.isRegExp(u)){if(void 0!==t)throw TypeError("Cannot supply flags when copying a RegExp");return z(u)}if(u=void 0===u?"":String(u),t=void 0===t?"":String(t),X.isInstalled("astral")&&!(-1!==(0,p.default)(t).call(t,"A"))&&(t+="A"),B[u]||(B[u]={}),!B[u][t]){for(var e,D={hasNamedCapture:!1,captureNames:[]},r=w,n="",a=0,o=function(u,t){if(I(t)!==t)throw SyntaxError("Invalid duplicate regex flag ".concat(t));u=u.replace(/^\(\?([\w$]+)\)/,function(u,e){if(/[dgy]/.test(e))throw SyntaxError("Cannot use flags dgy in mode modifier ".concat(u));return t=I(t+e),""});var e,D=h(t);try{for(D.s();!(e=D.n()).done;){var r=e.value;if(!j[r])throw SyntaxError("Unknown regex flag ".concat(r))}}catch(u){D.e(u)}finally{D.f()}return{pattern:u,flags:t}}(u,t),i=o.pattern,c=(0,s.default)(o);a")}else if(e)return"\\".concat(+e+a);return u}if(!(q(u,"Array")&&u.length))throw TypeError("Must provide a nonempty array of patterns to merge");var a,o,i,l=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,s=[],c=h(u);try{for(c.s();!(i=c.n()).done;){var F=i.value;X.isRegExp(F)?(a=r,o=F[A]&&F[A].captureNames||[],s.push(X(F.source).source.replace(l,n))):s.push(X.escape(F))}}catch(u){c.e(u)}finally{c.f()}return X(s.join("none"===D?"":"|"),t)},g.exec=function(u){var t=this.lastIndex,e=RegExp.prototype.exec.apply(this,arguments);if(e){if(!P&&e.length>1&&-1!==(0,p.default)(e).call(e,"")){var D,r=z(this,{removeG:!0,isInternalOnly:!0});(0,F.default)(D=String(u)).call(D,e.index).replace(r,function(){for(var u=arguments.length,t=1;te.index&&(this.lastIndex=e.index)}return this.global||(this.lastIndex=t),e},g.test=function(u){return!!g.exec.call(this,u)},g.match=function(u){if(X.isRegExp(u)){if(u.global){var t=String.prototype.match.apply(this,arguments);return u.lastIndex=0,t}}else u=new RegExp(u);return g.exec.call(u,J(this))},g.replace=function(u,t){var e,D,r,n=X.isRegExp(u);return n?(u[A]&&(D=u[A].captureNames),e=u.lastIndex):u+="",r=q(t,"Function")?String(this).replace(u,function(){for(var u,e=arguments.length,r=Array(e),n=0;nl)throw SyntaxError("Backreference to undefined group ".concat(u));return e[n]||""}throw SyntaxError("Invalid token ".concat(u))})}),n&&(u.global?u.lastIndex=0:u.lastIndex=e),r},g.split=function(u,t){if(!X.isRegExp(u))return String.prototype.split.apply(this,arguments);var e,D=String(this),r=[],n=u.lastIndex,a=0;return t=(void 0===t?-1:t)>>>0,(0,E.default)(X).call(X,D,u,function(u){u.index+u[0].length>a&&(r.push((0,F.default)(D).call(D,a,u.index)),u.length>1&&u.indext?(0,F.default)(r).call(r,0,t):r},X.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(u,t){if("B"===u[1]&&t===w)return u[0];throw SyntaxError("Invalid escape ".concat(u[0]))},{scope:"all",leadChar:"\\"}),X.addToken(/\\u{([\dA-Fa-f]+)}/,function(u,t,e){var D=L(u[1]);if(D>1114111)throw SyntaxError("Invalid Unicode code point ".concat(u[0]));if(D<=65535)return"\\u".concat(Q(G(D)));if(R&&-1!==(0,p.default)(e).call(e,"u"))return u[0];throw SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"}),X.addToken(/\(\?#[^)]*\)/,U,{leadChar:"("}),X.addToken(/\s+|#[^\n]*\n?/,U,{flag:"x"}),O||X.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."}),X.addToken(/\\k<([^>]+)>/,function(u){var t,e,D=isNaN(u[1])?(0,p.default)(t=this.captureNames).call(t,u[1])+1:+u[1],r=u.index+u[0].length;if(!D||D>this.captureNames.length)throw SyntaxError("Backreference to undefined group ".concat(u[0]));return(0,m.default)(e="\\".concat(D)).call(e,r===u.input.length||isNaN(u.input[r])?"":"(?:)")},{leadChar:"\\"}),X.addToken(/\\(\d+)/,function(u,t){if(!(t===w&&/^[1-9]/.test(u[1])&&+u[1]<=this.captureNames.length)&&"0"!==u[1])throw SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(u[0]));return u[0]},{scope:"all",leadChar:"\\"}),X.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])*)>/,function(u){var t;if(!X.isInstalled("namespacing")&&("length"===u[1]||"__proto__"===u[1]))throw SyntaxError("Cannot use reserved word as capture name ".concat(u[0]));if(-1!==(0,p.default)(t=this.captureNames).call(t,u[1]))throw SyntaxError("Cannot use same name for multiple groups ".concat(u[0]));return this.captureNames.push(u[1]),this.hasNamedCapture=!0,"("},{leadChar:"("}),X.addToken(/\((?!\?)/,function(u,t,e){return -1!==(0,p.default)(e).call(e,"n")?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("}),u.exports.default=X,u.exports=u.exports.default}),l("atCsR",function(u,t){u.exports=i("lRXoU")}),l("lRXoU",function(u,t){var e=i("cTlkb");u.exports=e}),l("cTlkb",function(u,t){var e=i("593lC"),D=i("ewmkv"),r=Array.prototype;u.exports=function(u){var t=u.slice;return u===r||e(r,u)&&t===r.slice?D:t}}),l("ewmkv",function(u,t){i("2CNkO");var e=i("7ExQQ");u.exports=e("Array","slice")}),l("2CNkO",function(u,t){var e=i("jfoaa"),D=i("lkQXd"),r=i("clzMW"),n=i("1FbPc"),a=i("afkL1"),o=i("kTqg3"),l=i("bHwKF"),s=i("1HDBa"),c=i("i8hfY"),F=i("7dVAZ"),f=i("lwSTV"),p=F("slice"),E=c("species"),C=Array,m=Math.max;e({target:"Array",proto:!0,forced:!p},{slice:function(u,t){var e,i,c,F=l(this),p=o(F),h=a(u,p),d=a(void 0===t?p:t,p);if(D(F)&&(r(e=F.constructor)&&(e===C||D(e.prototype))?e=void 0:n(e)&&null===(e=e[E])&&(e=void 0),e===C||void 0===e))return f(F,h,d);for(c=0,i=new(void 0===e?C:e)(m(d-h,0));h0?D:e)(t)}}),l("kTqg3",function(u,t){var e=i("ca7vH");u.exports=function(u){return e(u.length)}}),l("ca7vH",function(u,t){var e=i("5F6qI"),D=Math.min;u.exports=function(u){var t=e(u);return t>0?D(t,9007199254740991):0}}),l("1HDBa",function(u,t){var e=i("i3CRk"),D=i("jlwsM"),r=i("9ihe5");u.exports=function(u,t,n){var a=e(t);a in u?D.f(u,a,r(0,n)):u[a]=n}}),l("7dVAZ",function(u,t){var e=i("6DoON"),D=i("i8hfY"),r=i("iadzq"),n=D("species");u.exports=function(u){return r>=51||!e(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[u](Boolean).foo})}}),l("lwSTV",function(u,t){var e=i("eftQl");u.exports=e([].slice)}),l("7ExQQ",function(u,t){var e=i("jr3Rs"),D=i("7JtRM");u.exports=function(u,t){var r=D[u+"Prototype"],n=r&&r[t];if(n)return n;var a=e[u],o=a&&a.prototype;return o&&o[t]}}),l("iOIgz",function(u,t){u.exports=i("e1x6N")}),l("e1x6N",function(u,t){var e=i("dDorp");u.exports=e}),l("dDorp",function(u,t){i("lX6oz"),i("1rvbu");var e=i("7JtRM");u.exports=e.Array.from}),l("lX6oz",function(u,t){var e=i("fDnqT").charAt,D=i("hpl2Q"),r=i("678hT"),n=i("7f157"),a=i("bfBgR"),o="String Iterator",l=r.set,s=r.getterFor(o);n(String,"String",function(u){l(this,{type:o,string:D(u),index:0})},function(){var u,t=s(this),D=t.string,r=t.index;return r>=D.length?a(void 0,!0):(u=e(D,r),t.index+=u.length,a(u,!1))})}),l("fDnqT",function(u,t){var e=i("eftQl"),D=i("5F6qI"),r=i("hpl2Q"),n=i("dqZoQ"),a=e("".charAt),o=e("".charCodeAt),l=e("".slice),s=function(u){return function(t,e){var i,s,c=r(n(t)),F=D(e),f=c.length;return F<0||F>=f?u?"":void 0:(i=o(c,F))<55296||i>56319||F+1===f||(s=o(c,F+1))<56320||s>57343?u?a(c,F):i:u?l(c,F,F+2):(i-55296<<10)+(s-56320)+65536}};u.exports={codeAt:s(!1),charAt:s(!0)}}),l("hpl2Q",function(u,t){var e=i("i9pnE"),D=String;u.exports=function(u){if("Symbol"===e(u))throw TypeError("Cannot convert a Symbol value to a string");return D(u)}}),l("678hT",function(u,t){var e,D,r,n=i("iUDFL"),a=i("jr3Rs"),o=i("1FbPc"),l=i("9gQ3U"),s=i("eXDJl"),c=i("h67iP"),F=i("1POES"),f=i("7HbMy"),p="Object already initialized",E=a.TypeError,C=a.WeakMap;if(n||c.state){var m=c.state||(c.state=new C);m.get=m.get,m.has=m.has,m.set=m.set,e=function(u,t){if(m.has(u))throw new E(p);return t.facade=u,m.set(u,t),t},D=function(u){return m.get(u)||{}},r=function(u){return m.has(u)}}else{var h=F("state");f[h]=!0,e=function(u,t){if(s(u,h))throw new E(p);return t.facade=u,l(u,h,t),t},D=function(u){return s(u,h)?u[h]:{}},r=function(u){return s(u,h)}}u.exports={set:e,get:D,has:r,enforce:function(u){return r(u)?D(u):e(u,{})},getterFor:function(u){return function(t){var e;if(!o(t)||(e=D(t)).type!==u)throw new E("Incompatible receiver, "+u+" required");return e}}}}),l("iUDFL",function(u,t){var e=i("jr3Rs"),D=i("hEYh6"),r=e.WeakMap;u.exports=D(r)&&/native code/.test(String(r))}),l("1POES",function(u,t){var e=i("lq6nc"),D=i("fPAFW"),r=e("keys");u.exports=function(u){return r[u]||(r[u]=D(u))}}),l("7HbMy",function(u,t){u.exports={}}),l("7f157",function(u,t){var e=i("jfoaa"),D=i("80R4z"),r=i("gaMwb"),n=i("9hd0i"),a=i("hEYh6"),o=i("fnsvJ"),l=i("5Pui8"),s=i("7s7tm"),c=i("2xtTf"),F=i("9gQ3U"),f=i("lTGqp"),p=i("i8hfY"),E=i("kPbP1"),C=i("lUl66"),m=n.PROPER,h=n.CONFIGURABLE,d=C.IteratorPrototype,A=C.BUGGY_SAFARI_ITERATORS,y=p("iterator"),g="keys",v="values",B="entries",b=function(){return this};u.exports=function(u,t,n,i,p,C,w){o(n,t,i);var _,x,T,P=function(u){if(u===p&&R)return R;if(!A&&u&&u in $)return $[u];switch(u){case g:case v:case B:return function(){return new n(this,u)}}return function(){return new n(this)}},k=t+" Iterator",S=!1,$=u.prototype,O=$[y]||$["@@iterator"]||p&&$[p],R=!A&&O||P(p),V="Array"===t&&$.entries||O;if(V&&(_=l(V.call(new u)))!==Object.prototype&&_.next&&(r||l(_)===d||(s?s(_,d):a(_[y])||f(_,y,b)),c(_,k,!0,!0),r&&(E[k]=b)),m&&p===v&&O&&O.name!==v&&(!r&&h?F($,"name",v):(S=!0,R=function(){return D(O,this)})),p){if(x={values:P(v),keys:C?R:P(g),entries:P(B)},w)for(T in x)!A&&!S&&T in $||f($,T,x[T]);else e({target:t,proto:!0,forced:A||S},x)}return(!r||w)&&$[y]!==R&&f($,y,R,{name:p}),E[t]=R,x}}),l("9hd0i",function(u,t){var e=i("kNJMR"),D=i("eXDJl"),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,a=D(r,"name"),o=a&&(!e||e&&n(r,"name").configurable);u.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:o}}),l("fnsvJ",function(u,t){var e=i("lUl66").IteratorPrototype,D=i("2YoqX"),r=i("9ihe5"),n=i("2xtTf"),a=i("kPbP1"),o=function(){return this};u.exports=function(u,t,i,l){var s=t+" Iterator";return u.prototype=D(e,{next:r(+!l,i)}),n(u,s,!1,!0),a[s]=o,u}}),l("lUl66",function(u,t){var e,D,r,n=i("6DoON"),a=i("hEYh6"),o=i("1FbPc"),l=i("2YoqX"),s=i("5Pui8"),c=i("lTGqp"),F=i("i8hfY"),f=i("gaMwb"),p=F("iterator"),E=!1;[].keys&&("next"in(r=[].keys())?(D=s(s(r)))!==Object.prototype&&(e=D):E=!0),!o(e)||n(function(){var u={};return e[p].call(u)!==u})?e={}:f&&(e=l(e)),a(e[p])||c(e,p,function(){return this}),u.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:E}}),l("2YoqX",function(u,t){var e,D=i("8qQ7R"),r=i("3vKoT"),n=i("kbjnc"),a=i("7HbMy"),o=i("6DKgQ"),l=i("5NHQH"),s=i("1POES"),c="prototype",F="script",f=s("IE_PROTO"),p=function(){},E=function(u){return"<"+F+">"+u+""},C=function(u){u.write(E("")),u.close();var t=u.parentWindow.Object;return u=null,t},m=function(){var u,t=l("iframe");return t.style.display="none",o.appendChild(t),t.src=String("java"+F+":"),(u=t.contentWindow.document).open(),u.write(E("document.F=Object")),u.close(),u.F},h=function(){try{e=new ActiveXObject("htmlfile")}catch(u){}h="undefined"!=typeof document?document.domain&&e?C(e):m():C(e);for(var u=n.length;u--;)delete h[c][n[u]];return h()};a[f]=!0,u.exports=Object.create||function(u,t){var e;return null!==u?(p[c]=D(u),e=new p,p[c]=null,e[f]=u):e=h(),void 0===t?e:r.f(e,t)}}),l("3vKoT",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D=i("kNJMR"),r=i("aJ9tR"),a=i("jlwsM"),o=i("8qQ7R"),l=i("bHwKF"),s=i("hSy6b");e=D&&!r?Object.defineProperties:function(u,t){o(u);for(var e,D=l(t),r=s(t),n=r.length,i=0;n>i;)a.f(u,e=r[i++],D[e]);return u}}),l("hSy6b",function(u,t){var e=i("8CXUo"),D=i("kbjnc");u.exports=Object.keys||function(u){return e(u,D)}}),l("8CXUo",function(u,t){var e=i("eftQl"),D=i("eXDJl"),r=i("bHwKF"),n=i("fJ9Kg").indexOf,a=i("7HbMy"),o=e([].push);u.exports=function(u,t){var e,i=r(u),l=0,s=[];for(e in i)!D(a,e)&&D(i,e)&&o(s,e);for(;t.length>l;)D(i,e=t[l++])&&(~n(s,e)||o(s,e));return s}}),l("fJ9Kg",function(u,t){var e=i("bHwKF"),D=i("afkL1"),r=i("kTqg3"),n=function(u){return function(t,n,a){var o,i=e(t),l=r(i),s=D(a,l);if(u&&n!=n){for(;l>s;)if((o=i[s++])!=o)return!0}else for(;l>s;s++)if((u||s in i)&&i[s]===n)return u||s||0;return!u&&-1}};u.exports={includes:n(!0),indexOf:n(!1)}}),l("kbjnc",function(u,t){u.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),l("6DKgQ",function(u,t){var e=i("iGW7C");u.exports=e("document","documentElement")}),l("5Pui8",function(u,t){var e=i("eXDJl"),D=i("hEYh6"),r=i("6dyoH"),n=i("1POES"),a=i("jhoq5"),o=n("IE_PROTO"),l=Object,s=l.prototype;u.exports=a?l.getPrototypeOf:function(u){var t=r(u);if(e(t,o))return t[o];var n=t.constructor;return D(n)&&t instanceof n?n.prototype:t instanceof l?s:null}}),l("jhoq5",function(u,t){var e=i("6DoON");u.exports=!e(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})}),l("lTGqp",function(u,t){var e=i("9gQ3U");u.exports=function(u,t,D,r){return r&&r.enumerable?u[t]=D:e(u,t,D),u}}),l("2xtTf",function(u,t){var e=i("5cIEn"),D=i("jlwsM").f,r=i("9gQ3U"),n=i("eXDJl"),a=i("geRlU"),o=i("i8hfY")("toStringTag");u.exports=function(u,t,i,l){var s=i?u:u&&u.prototype;s&&(n(s,o)||D(s,o,{configurable:!0,value:t}),l&&!e&&r(s,"toString",a))}}),l("geRlU",function(u,t){var e=i("5cIEn"),D=i("i9pnE");u.exports=e?({}).toString:function(){return"[object "+D(this)+"]"}}),l("kPbP1",function(u,t){u.exports={}}),l("7s7tm",function(u,t){var e=i("dBaHF"),D=i("8qQ7R"),r=i("1akLH");u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u,t=!1,n={};try{(u=e(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(u){}return function(e,n){return D(e),r(n),t?u(e,n):e.__proto__=n,e}}():void 0)}),l("dBaHF",function(u,t){var e=i("eftQl"),D=i("9aMGu");u.exports=function(u,t,r){try{return e(D(Object.getOwnPropertyDescriptor(u,t)[r]))}catch(u){}}}),l("1akLH",function(u,t){var e=i("HtrOx"),D=String,r=TypeError;u.exports=function(u){if(e(u))return u;throw new r("Can't set "+D(u)+" as a prototype")}}),l("HtrOx",function(u,t){var e=i("1FbPc");u.exports=function(u){return e(u)||null===u}}),l("bfBgR",function(u,t){u.exports=function(u,t){return{value:u,done:t}}}),l("1rvbu",function(u,t){var e=i("jfoaa"),D=i("fRFV9");e({target:"Array",stat:!0,forced:!i("9yiiy")(function(u){Array.from(u)})},{from:D})}),l("fRFV9",function(u,t){var e=i("9X5RJ"),D=i("80R4z"),r=i("6dyoH"),n=i("iaw40"),a=i("dHBho"),o=i("clzMW"),l=i("kTqg3"),s=i("1HDBa"),c=i("9ZrTx"),F=i("1DpVL"),f=Array;u.exports=function(u){var t,i,p,E,C,m,h=r(u),d=o(this),A=arguments.length,y=A>1?arguments[1]:void 0,g=void 0!==y;g&&(y=e(y,A>2?arguments[2]:void 0));var v=F(h),B=0;if(v&&!(this===f&&a(v)))for(C=(E=c(h,v)).next,i=d?new this:[];!(p=D(C,E)).done;B++)m=g?n(E,y,[p.value,B],!0):p.value,s(i,B,m);else for(t=l(h),i=d?new this(t):f(t);t>B;B++)m=g?y(h[B],B):h[B],s(i,B,m);return i.length=B,i}}),l("iaw40",function(u,t){var e=i("8qQ7R"),D=i("6LBEf");u.exports=function(u,t,r,n){try{return n?t(e(r)[0],r[1]):t(r)}catch(t){D(u,"throw",t)}}}),l("6LBEf",function(u,t){var e=i("80R4z"),D=i("8qQ7R"),r=i("byx1c");u.exports=function(u,t,n){var a,o;D(u);try{if(!(a=r(u,"return"))){if("throw"===t)throw n;return n}a=e(a,u)}catch(u){o=!0,a=u}if("throw"===t)throw n;if(o)throw a;return D(a),n}}),l("dHBho",function(u,t){var e=i("i8hfY"),D=i("kPbP1"),r=e("iterator"),n=Array.prototype;u.exports=function(u){return void 0!==u&&(D.Array===u||n[r]===u)}}),l("9ZrTx",function(u,t){var e=i("80R4z"),D=i("9aMGu"),r=i("8qQ7R"),n=i("kZxtt"),a=i("1DpVL"),o=TypeError;u.exports=function(u,t){var i=arguments.length<2?a(u):t;if(D(i))return r(e(i,u));throw new o(n(u)+" is not iterable")}}),l("1DpVL",function(u,t){var e=i("i9pnE"),D=i("byx1c"),r=i("kpyhJ"),n=i("kPbP1"),a=i("i8hfY")("iterator");u.exports=function(u){if(!r(u))return D(u,a)||D(u,"@@iterator")||n[e(u)]}}),l("9yiiy",function(u,t){var e=i("i8hfY")("iterator"),D=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){D=!0}};n[e]=function(){return this},Array.from(n,function(){throw 2})}catch(u){}u.exports=function(u,t){try{if(!t&&!D)return!1}catch(u){return!1}var r=!1;try{var n={};n[e]=function(){return{next:function(){return{done:r=!0}}}},u(n)}catch(u){}return r}}),l("ewEhs",function(u,t){u.exports=i("7sar2")}),l("7sar2",function(u,t){var e=i("k8N6t");i("giH1f"),u.exports=e}),l("k8N6t",function(u,t){i("6NRcU"),i("flA2v"),i("3at2l"),i("1dzF8"),i("57she"),i("gyQZs"),i("3KvMT"),i("7BocQ"),i("6mStM"),i("hxAm8"),i("lLBRd"),i("7tYa3"),i("8AkNm"),i("5SrvE"),i("dcSDu"),i("Oabwk"),i("4p8v0"),i("4CZ6e"),i("5Edxe"),i("6MZ1N");var e=i("7JtRM");u.exports=e.Symbol}),l("6NRcU",function(u,t){var e=i("jfoaa"),D=i("6DoON"),r=i("lkQXd"),n=i("1FbPc"),a=i("6dyoH"),o=i("kTqg3"),l=i("aJvZz"),s=i("1HDBa"),c=i("ib2WF"),F=i("7dVAZ"),f=i("i8hfY"),p=i("iadzq"),E=f("isConcatSpreadable"),C=p>=51||!D(function(){var u=[];return u[E]=!1,u.concat()[0]!==u}),m=function(u){if(!n(u))return!1;var t=u[E];return void 0!==t?!!t:r(u)};e({target:"Array",proto:!0,arity:1,forced:!C||!F("concat")},{concat:function(u){var t,e,D,r,n,i=a(this),F=c(i,0),f=0;for(t=-1,D=arguments.length;t9007199254740991)throw e("Maximum allowed index exceeded");return u}}),l("ib2WF",function(u,t){var e=i("ilwvT");u.exports=function(u,t){return new(e(u))(0===t?0:t)}}),l("ilwvT",function(u,t){var e=i("lkQXd"),D=i("clzMW"),r=i("1FbPc"),n=i("i8hfY")("species"),a=Array;u.exports=function(u){var t;return e(u)&&(D(t=u.constructor)&&(t===a||e(t.prototype))?t=void 0:r(t)&&null===(t=t[n])&&(t=void 0)),void 0===t?a:t}}),l("flA2v",function(u,t){}),l("3at2l",function(u,t){i("f4cvJ"),i("h3hkq"),i("ao4R1"),i("1Ueou"),i("8wgI5")}),l("f4cvJ",function(u,t){var e=i("jfoaa"),D=i("jr3Rs"),r=i("80R4z"),n=i("eftQl"),a=i("gaMwb"),o=i("kNJMR"),l=i("79uO0"),s=i("6DoON"),c=i("eXDJl"),F=i("593lC"),f=i("8qQ7R"),p=i("bHwKF"),E=i("i3CRk"),C=i("hpl2Q"),m=i("9ihe5"),h=i("2YoqX"),d=i("hSy6b"),A=i("9dwYS"),y=i("5Nrks"),g=i("abell"),v=i("fa4sP"),B=i("jlwsM"),b=i("3vKoT"),w=i("6zqN5"),_=i("lTGqp"),x=i("4ropS"),T=i("lq6nc"),P=i("1POES"),k=i("7HbMy"),S=i("fPAFW"),$=i("i8hfY"),O=i("iINUV"),R=i("fR6GB"),V=i("eb7HK"),j=i("2xtTf"),M=i("678hT"),N=i("2kDJY").forEach,I=P("hidden"),z="Symbol",L="prototype",U=M.set,G=M.getterFor(z),q=Object[L],J=D.Symbol,Q=J&&J[L],W=D.RangeError,H=D.TypeError,Y=D.QObject,X=v.f,Z=B.f,K=y.f,uu=w.f,ut=n([].push),ue=T("symbols"),uD=T("op-symbols"),ur=T("wks"),un=!Y||!Y[L]||!Y[L].findChild,ua=function(u,t,e){var D=X(q,t);D&&delete q[t],Z(u,t,e),D&&u!==q&&Z(q,t,D)},uo=o&&s(function(){return 7!==h(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?ua:Z,ui=function(u,t){var e=ue[u]=h(Q);return U(e,{type:z,tag:u,description:t}),o||(e.description=t),e},ul=function(u,t,e){u===q&&ul(uD,t,e),f(u);var D=E(t);return(f(e),c(ue,D))?(e.enumerable?(c(u,I)&&u[I][D]&&(u[I][D]=!1),e=h(e,{enumerable:m(0,!1)})):(c(u,I)||Z(u,I,m(1,h(null))),u[I][D]=!0),uo(u,D,e)):Z(u,D,e)},us=function(u,t){f(u);var e=p(t);return N(d(e).concat(up(e)),function(t){(!o||r(uc,e,t))&&ul(u,t,e[t])}),u},uc=function(u){var t=E(u),e=r(uu,this,t);return(!(this===q&&c(ue,t))||!!c(uD,t))&&(!(e||!c(this,t)||!c(ue,t)||c(this,I)&&this[I][t])||e)},uF=function(u,t){var e=p(u),D=E(t);if(!(e===q&&c(ue,D))||c(uD,D)){var r=X(e,D);return r&&c(ue,D)&&!(c(e,I)&&e[I][D])&&(r.enumerable=!0),r}},uf=function(u){var t=K(p(u)),e=[];return N(t,function(u){c(ue,u)||c(k,u)||ut(e,u)}),e},up=function(u){var t=u===q,e=K(t?uD:p(u)),D=[];return N(e,function(u){c(ue,u)&&(!t||c(q,u))&&ut(D,ue[u])}),D};l||(_(Q=(J=function(){if(F(Q,this))throw new H("Symbol is not a constructor");var u=arguments.length&&void 0!==arguments[0]?C(arguments[0]):void 0,t=S(u),e=function(u){var n=void 0===this?D:this;n===q&&r(e,uD,u),c(n,I)&&c(n[I],t)&&(n[I][t]=!1);var a=m(1,u);try{uo(n,t,a)}catch(u){if(!(u instanceof W))throw u;ua(n,t,a)}};return o&&un&&uo(q,t,{configurable:!0,set:e}),ui(t,u)})[L],"toString",function(){return G(this).tag}),_(J,"withoutSetter",function(u){return ui(S(u),u)}),w.f=uc,B.f=ul,b.f=us,v.f=uF,A.f=y.f=uf,g.f=up,O.f=function(u){return ui($(u),u)},o&&(x(Q,"description",{configurable:!0,get:function(){return G(this).description}}),a||_(q,"propertyIsEnumerable",uc,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:J}),N(d(ur),function(u){R(u)}),e({target:z,stat:!0,forced:!l},{useSetter:function(){un=!0},useSimple:function(){un=!1}}),e({target:"Object",stat:!0,forced:!l,sham:!o},{create:function(u,t){return void 0===t?h(u):us(h(u),t)},defineProperty:ul,defineProperties:us,getOwnPropertyDescriptor:uF}),e({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:uf}),V(),j(J,z),k[I]=!0}),l("9dwYS",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D=i("8CXUo"),r=i("kbjnc").concat("length","prototype");e=Object.getOwnPropertyNames||function(u){return D(u,r)}}),l("5Nrks",function(u,t){n(u.exports,"f",()=>e,u=>e=u);var e,D=i("055Fe"),r=i("bHwKF"),a=i("9dwYS").f,o=i("lwSTV"),l="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(u){try{return a(u)}catch(u){return o(l)}};e=function(u){return l&&"Window"===D(u)?s(u):a(r(u))}}),l("abell",function(u,t){var e;n(u.exports,"f",()=>e,u=>e=u),e=Object.getOwnPropertySymbols}),l("4ropS",function(u,t){var e=i("jlwsM");u.exports=function(u,t,D){return e.f(u,t,D)}}),l("iINUV",function(u,t){var e;n(u.exports,"f",()=>e,u=>e=u),e=i("i8hfY")}),l("fR6GB",function(u,t){var e=i("7JtRM"),D=i("eXDJl"),r=i("iINUV"),n=i("jlwsM").f;u.exports=function(u){var t=e.Symbol||(e.Symbol={});D(t,u)||n(t,u,{value:r.f(u)})}}),l("eb7HK",function(u,t){var e=i("80R4z"),D=i("iGW7C"),r=i("i8hfY"),n=i("lTGqp");u.exports=function(){var u=D("Symbol"),t=u&&u.prototype,a=t&&t.valueOf,o=r("toPrimitive");t&&!t[o]&&n(t,o,function(u){return e(a,this)},{arity:1})}}),l("2kDJY",function(u,t){var e=i("9X5RJ"),D=i("eftQl"),r=i("k7MGS"),n=i("6dyoH"),a=i("kTqg3"),o=i("ib2WF"),l=D([].push),s=function(u){var t=1===u,D=2===u,i=3===u,s=4===u,c=6===u,F=7===u,f=5===u||c;return function(p,E,C,m){for(var h,d,A=n(p),y=r(A),g=a(y),v=e(E,C),B=0,b=m||o,w=t?b(p,g):D||F?b(p,0):void 0;g>B;B++)if((f||B in y)&&(d=v(h=y[B],B,A),u)){if(t)w[B]=d;else if(d)switch(u){case 3:return!0;case 5:return h;case 6:return B;case 2:l(w,h)}else switch(u){case 4:return!1;case 7:l(w,h)}}return c?-1:i||s?s:w}};u.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}}),l("h3hkq",function(u,t){var e=i("jfoaa"),D=i("iGW7C"),r=i("eXDJl"),n=i("hpl2Q"),a=i("lq6nc"),o=i("k7aPQ"),l=a("string-to-symbol-registry"),s=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!o},{for:function(u){var t=n(u);if(r(l,t))return l[t];var e=D("Symbol")(t);return l[t]=e,s[e]=t,e}})}),l("k7aPQ",function(u,t){var e=i("79uO0");u.exports=e&&!!Symbol.for&&!!Symbol.keyFor}),l("ao4R1",function(u,t){var e=i("jfoaa"),D=i("eXDJl"),r=i("4kAKN"),n=i("kZxtt"),a=i("lq6nc"),o=i("k7aPQ"),l=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!o},{keyFor:function(u){if(!r(u))throw TypeError(n(u)+" is not a symbol");if(D(l,u))return l[u]}})}),l("1Ueou",function(u,t){var e=i("jfoaa"),D=i("iGW7C"),r=i("gS5FS"),n=i("80R4z"),a=i("eftQl"),o=i("6DoON"),l=i("hEYh6"),s=i("4kAKN"),c=i("lwSTV"),F=i("3I531"),f=i("79uO0"),p=String,E=D("JSON","stringify"),C=a(/./.exec),m=a("".charAt),h=a("".charCodeAt),d=a("".replace),A=a(1..toString),y=/[\uD800-\uDFFF]/g,g=/^[\uD800-\uDBFF]$/,v=/^[\uDC00-\uDFFF]$/,B=!f||o(function(){var u=D("Symbol")("stringify detection");return"[null]"!==E([u])||"{}"!==E({a:u})||"{}"!==E(Object(u))}),b=o(function(){return'"\udf06\ud834"'!==E("\uDF06\uD834")||'"\udead"'!==E("\uDEAD")}),w=function(u,t){var e=c(arguments),D=F(t);if(!(!l(D)&&(void 0===u||s(u))))return e[1]=function(u,t){if(l(D)&&(t=n(D,this,p(u),t)),!s(t))return t},r(E,null,e)},_=function(u,t,e){var D=m(e,t-1),r=m(e,t+1);return C(g,u)&&!C(v,r)||C(v,u)&&!C(g,D)?"\\u"+A(h(u,0),16):u};E&&e({target:"JSON",stat:!0,arity:3,forced:B||b},{stringify:function(u,t,e){var D=c(arguments),n=r(B?w:E,null,D);return b&&"string"==typeof n?d(n,y,_):n}})}),l("3I531",function(u,t){var e=i("eftQl"),D=i("lkQXd"),r=i("hEYh6"),n=i("055Fe"),a=i("hpl2Q"),o=e([].push);u.exports=function(u){if(r(u))return u;if(D(u)){for(var t=u.length,e=[],i=0;i=t.length)return u.target=void 0,l(void 0,!0);switch(u.kind){case"keys":return l(e,!1);case"values":return l(t[e],!1)}return l([e,t[e]],!1)},"values");var E=r.Arguments=r.Array;if(D("keys"),D("values"),D("entries"),!s&&c&&"values"!==E.name)try{a(E,"name",{value:"values"})}catch(u){}}),l("7bx8C",function(u,t){u.exports=function(){}}),l("iCKzX",function(u,t){u.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),l("jozCU",function(u,t){u.exports=i("4fAui")}),l("4fAui",function(u,t){u.exports=i("ff6IY")}),l("ff6IY",function(u,t){var e=i("dOS1n");u.exports=e}),l("dOS1n",function(u,t){var e=i("j3KyD");u.exports=e}),l("j3KyD",function(u,t){var e=i("kDFNS");i("giH1f"),u.exports=e}),l("kDFNS",function(u,t){i("9V4Ag"),i("lX6oz");var e=i("1DpVL");u.exports=e}),l("9FUDW",function(u,t){u.exports=i("3iOFE")}),l("3iOFE",function(u,t){var e=i("jyrUI");u.exports=e}),l("jyrUI",function(u,t){i("9Zwuu");var e=i("7JtRM");u.exports=e.Array.isArray}),l("9Zwuu",function(u,t){i("jfoaa")({target:"Array",stat:!0},{isArray:i("lkQXd")})}),l("kQX98",function(u,t){u.exports=i("66yEz")}),l("5RE2u",function(u,t){u.exports=function(u){return u&&u.__esModule?u:{default:u}},u.exports.__esModule=!0,u.exports.default=u.exports}),l("l73rb",function(u,t){var e=i("bb8O9"),D=i("5u0ol"),r=i("6NXcD"),n=i("6TlAm");u.exports=function(u,t){return e(u)||D(u,t)||r(u,t)||n()},u.exports.__esModule=!0,u.exports.default=u.exports}),l("bb8O9",function(u,t){var e=i("dbh99");u.exports=function(u){if(e(u))return u},u.exports.__esModule=!0,u.exports.default=u.exports}),l("dbh99",function(u,t){u.exports=i("9MjJs")}),l("9MjJs",function(u,t){var e=i("fRnR4");u.exports=e}),l("fRnR4",function(u,t){var e=i("3iOFE");u.exports=e}),l("5u0ol",function(u,t){var e=i("ju5FX"),D=i("4fAui"),r=i("d1v8J");u.exports=function(u,t){var n=null==u?null:void 0!==e&&D(u)||u["@@iterator"];if(null!=n){var a,o,i,l,s=[],c=!0,F=!1;try{if(i=(n=n.call(u)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(r(s).call(s,a.value),s.length!==t);c=!0);}catch(u){F=!0,o=u}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(F)throw o}}return s}},u.exports.__esModule=!0,u.exports.default=u.exports}),l("ju5FX",function(u,t){u.exports=i("ezJOB")}),l("ezJOB",function(u,t){var e=i("83fS3");i("a26KU"),i("ggJwz"),i("cg0Mj"),i("8J3Bv"),i("6oEtD"),i("eVm7A"),i("fsdmm"),i("d2s2q"),i("2cI6h"),u.exports=e}),l("83fS3",function(u,t){var e=i("7sar2");i("2Oy2b"),i("I7ZSW"),i("5hHZP"),i("f0rpj"),u.exports=e}),l("2Oy2b",function(u,t){var e=i("i8hfY"),D=i("jlwsM").f,r=e("metadata"),n=Function.prototype;void 0===n[r]&&D(n,r,{value:null})}),l("I7ZSW",function(u,t){i("fR6GB")("asyncDispose")}),l("5hHZP",function(u,t){i("fR6GB")("dispose")}),l("f0rpj",function(u,t){i("fR6GB")("metadata")}),l("a26KU",function(u,t){i("jfoaa")({target:"Symbol",stat:!0},{isRegisteredSymbol:i("2eEEx")})}),l("2eEEx",function(u,t){var e=i("iGW7C"),D=i("eftQl"),r=e("Symbol"),n=r.keyFor,a=D(r.prototype.valueOf);u.exports=r.isRegisteredSymbol||function(u){try{return void 0!==n(a(u))}catch(u){return!1}}}),l("ggJwz",function(u,t){i("jfoaa")({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i("cJ7XA")})}),l("cJ7XA",function(u,t){for(var e=i("lq6nc"),D=i("iGW7C"),r=i("eftQl"),n=i("4kAKN"),a=i("i8hfY"),o=D("Symbol"),l=o.isWellKnownSymbol,s=D("Object","getOwnPropertyNames"),c=r(o.prototype.valueOf),F=e("wks"),f=0,p=s(o),E=p.length;fu.length)&&(t=u.length);for(var e=0,D=Array(t);e3)){if(p)return!0;if(C)return C<603;var u,t,e,D,r="";for(u=65;u<76;u++){switch(t=String.fromCharCode(u),u){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(D=0;D<47;D++)m.push({k:t+D,v:e})}for(m.sort(function(u,t){return t.v-u.v}),D=0;Dl(e)?1:-1}),t=a(i),e=0;e0;)u[o]=u[--o];o!==i++&&(u[o]=a)}else for(var l=D(n/2),s=r(e(u,0,l),t),c=r(e(u,l),t),F=s.length,f=c.length,p=0,E=0;p=t(s[p],c[E])?s[p++]:c[E++]:p>>0||(f(F,e)?16:10))}:l}),l("eLJgA",function(u,t){var e=i("eftQl"),D=i("dqZoQ"),r=i("hpl2Q"),n=i("c8BG9"),a=e("".replace),o=RegExp("^["+n+"]+"),l=RegExp("(^|[^"+n+"])["+n+"]+$"),s=function(u){return function(t){var e=r(D(t));return 1&u&&(e=a(e,o,"")),2&u&&(e=a(e,l,"$1")),e}};u.exports={start:s(1),end:s(2),trim:s(3)}}),l("c8BG9",function(u,t){u.exports=" \n\v\f\r                 \u2028\u2029\uFEFF"}),l("dnBGt",function(u,t){u.exports=i("2E2ss")}),l("2E2ss",function(u,t){var e=i("7C8hO");u.exports=e}),l("7C8hO",function(u,t){var e=i("593lC"),D=i("fivFw"),r=Array.prototype;u.exports=function(u){var t=u.indexOf;return u===r||e(r,u)&&t===r.indexOf?D:t}}),l("fivFw",function(u,t){i("55nad");var e=i("7ExQQ");u.exports=e("Array","indexOf")}),l("55nad",function(u,t){var e=i("jfoaa"),D=i("gHrkb"),r=i("fJ9Kg").indexOf,n=i("6Gdw8"),a=D([].indexOf),o=!!a&&1/a([1],1,-0)<0;e({target:"Array",proto:!0,forced:o||!n("indexOf")},{indexOf:function(u){var t=arguments.length>1?arguments[1]:void 0;return o?a(this,u,t)||0:r(this,u,t)}})}),l("kpQwH",function(u,t){u.exports=i("6IsLC")}),l("6IsLC",function(u,t){var e=i("i9pnE"),D=i("eXDJl"),r=i("593lC"),n=i("iA48L");i("lffDZ");var a=Array.prototype,o={DOMTokenList:!0,NodeList:!0};u.exports=function(u){var t=u.forEach;return u===a||r(a,u)&&t===a.forEach||D(o,e(u))?n:t}}),l("iA48L",function(u,t){var e=i("1ln8N");u.exports=e}),l("1ln8N",function(u,t){i("hXHOR");var e=i("7ExQQ");u.exports=e("Array","forEach")}),l("hXHOR",function(u,t){var e=i("jfoaa"),D=i("6JFRI");e({target:"Array",proto:!0,forced:[].forEach!==D},{forEach:D})}),l("6JFRI",function(u,t){var e=i("2kDJY").forEach,D=i("6Gdw8")("forEach");u.exports=D?[].forEach:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}}),l("lffDZ",function(u,t){}),l("erXQy",function(u,t){u.exports=i("hHdXK")}),l("hHdXK",function(u,t){var e=i("41ukF");u.exports=e}),l("41ukF",function(u,t){i("7UyOm");var e=i("7JtRM").Object;u.exports=function(u,t){return e.create(u,t)}}),l("7UyOm",function(u,t){i("jfoaa")({target:"Object",stat:!0,sham:!i("kNJMR")},{create:i("2YoqX")})}),l("gOumJ",function(u,t){u.exports=i("9xncL")}),l("9xncL",function(u,t){var e=i("4qAA1");u.exports=e}),l("4qAA1",function(u,t){var e=i("593lC"),D=i("yzqE9"),r=Array.prototype;u.exports=function(u){var t=u.concat;return u===r||e(r,u)&&t===r.concat?D:t}}),l("yzqE9",function(u,t){i("6NRcU");var e=i("7ExQQ");u.exports=e("Array","concat")}),l("2QyAx",function(u,t){var e=i("kQX98"),D=i("5RE2u");e(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var r=D(i("c7A4q")),n=D(i("ikdEo")),a=D(i("dnBGt")),o=D(i("gOumJ"));u.exports.default=function(u){var t="xregexp",e=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,D=u.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,e],"g",{conjunction:"or"});function i(e,D){var r=D?"x":"";return u.isRegExp(e)?e[t]&&e[t].captureNames?e:u(e.source,r):u(e,r)}function l(t){return t instanceof RegExp?t:u.escape(t)}function s(u,t,e){return u["subpattern".concat(e)]=t,u}function c(u,t,e){return u+(t1?o-1:0),F=1;F")):l="(?:",s=m;var i,l,c,F,p=f[a].pattern.replace(e,function(u,t,e){if(t){if(i=f[a].names[m-s],++m,i)return"(?<".concat(i,">")}else if(e)return c=+e-1,f[a].names[c]?"\\k<".concat(f[a].names[c],">"):"\\".concat(+e+s);return u});return(0,o.default)(F="".concat(l)).call(F,p,")")}if(r){if(i=A[h],d[++h]=++m,i)return"(?<".concat(i,">")}else if(n)return A[c=+n-1]?"\\k<".concat(A[c],">"):"\\".concat(d[+n]);return u}),l)}},u.exports=u.exports.default}),l("c7A4q",function(u,t){u.exports=i("aiujT")}),l("aiujT",function(u,t){var e=i("dOZpp");u.exports=e}),l("dOZpp",function(u,t){var e=i("593lC"),D=i("3wunX"),r=Array.prototype;u.exports=function(u){var t=u.reduce;return u===r||e(r,u)&&t===r.reduce?D:t}}),l("3wunX",function(u,t){i("iYlOM");var e=i("7ExQQ");u.exports=e("Array","reduce")}),l("iYlOM",function(u,t){var e=i("jfoaa"),D=i("ePzKU").left,r=i("6Gdw8"),n=i("iadzq");e({target:"Array",proto:!0,forced:!i("fr1fo")&&n>79&&n<83||!r("reduce")},{reduce:function(u){var t=arguments.length;return D(this,u,t,t>1?arguments[1]:void 0)}})}),l("ePzKU",function(u,t){var e=i("9aMGu"),D=i("6dyoH"),r=i("k7MGS"),n=i("kTqg3"),a=TypeError,o=function(u){return function(t,o,i,l){var s=D(t),c=r(s),F=n(s);e(o);var f=u?F-1:0,p=u?-1:1;if(i<2)for(;;){if(f in c){l=c[f],f+=p;break}if(f+=p,u?f<0:F<=f)throw new a("Reduce of empty array with no initial value")}for(;u?f>=0:F>f;f+=p)f in c&&(l=o(l,c[f],f,s));return l}};u.exports={left:o(!1),right:o(!0)}}),l("fr1fo",function(u,t){var e=i("jr3Rs"),D=i("055Fe");u.exports="process"===D(e.process)}),l("ikdEo",function(u,t){u.exports=i("90iRN")}),l("90iRN",function(u,t){var e=i("g4Jxs");u.exports=e}),l("g4Jxs",function(u,t){var e=i("593lC"),D=i("1jUKK"),r=Array.prototype;u.exports=function(u){var t=u.map;return u===r||e(r,u)&&t===r.map?D:t}}),l("1jUKK",function(u,t){i("kKna8");var e=i("7ExQQ");u.exports=e("Array","map")}),l("kKna8",function(u,t){var e=i("jfoaa"),D=i("2kDJY").map;e({target:"Array",proto:!0,forced:!i("7dVAZ")("map")},{map:function(u){return D(this,u,arguments.length>1?arguments[1]:void 0)}})}),l("9jNIH",function(u,t){var e=i("kQX98"),D=i("5RE2u");e(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var r=D(i("dnBGt")),n=D(i("gOumJ")),a=D(i("atCsR"));u.exports.default=function(u){function t(u,t,e,D){return{name:u,value:t,start:e,end:D}}u.matchRecursive=function(e,D,o,i,l){i=i||"",l=l||{};var s=-1!==(0,r.default)(i).call(i,"g"),c=-1!==(0,r.default)(i).call(i,"y"),F=i.replace(/y/g,"");D=u(D,F),o=u(o,F);var f=l.escapeChar;if(f){if(f.length>1)throw Error("Cannot use more than one escape character");f=u.escape(f),g=new RegExp((0,n.default)(v=(0,n.default)(B="(?:".concat(f,"[\\S\\s]|(?:(?!")).call(B,u.union([D,o],"",{conjunction:"or"}).source,")[^")).call(v,f,"])+)+"),i.replace(u._hasNativeFlag("s")?/[^imsu]/g:/[^imu]/g,""))}for(var p=0,E=0,C=0,m=0,h=l.valueNames,d=[];;){if(f&&(C+=(u.exec(e,g,C,"sticky")||[""])[0].length),_=u.exec(e,D,C),x=u.exec(e,o,C),_&&x&&(_.index<=x.index?x=null:_=null),_||x)C=(E=(_||x).index)+(_||x)[0].length;else if(!p)break;if(c&&!p&&E>m)break;if(_)p||(b=E,w=C),p+=1;else if(x&&p){if(!(p-=1)&&(h?(h[0]&&b>m&&d.push(t(h[0],(0,a.default)(e).call(e,m,b),m,b)),h[1]&&d.push(t(h[1],(0,a.default)(e).call(e,b,w),b,w)),h[2]&&d.push(t(h[2],(0,a.default)(e).call(e,w,E),w,E)),h[3]&&d.push(t(h[3],(0,a.default)(e).call(e,E,C),E,C))):d.push((0,a.default)(e).call(e,w,E)),m=C,!s))break}else{var A=l.unbalanced||"error";if("skip"===A||"skip-lazy"===A){if(x)x=null;else{if("skip"===A){var y=u.exec(e,D,b,"sticky")[0].length;C=b+(y||1)}else C=b+1;p=0}}else if("error"===A){var g,v,B,b,w,_,x,T,P=x?"right":"left",k=x?E:b;throw Error((0,n.default)(T="Unbalanced ".concat(P," delimiter found in string at position ")).call(T,k))}else throw Error("Unsupported value for unbalanced: ".concat(A))}E===C&&(C+=1)}return s&&d.length>0&&!c&&h&&h[0]&&e.length>m&&d.push(t(h[0],(0,a.default)(e).call(e,m),m,e.length)),d}},u.exports=u.exports.default}),l("6qvM1",function(u,t){var e=i("atCsR"),D=i("iOIgz"),r=i("ewEhs"),n=i("jozCU"),a=i("9FUDW"),o=i("kQX98"),l=i("5RE2u");o(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var s=l(i("l73rb")),c=l(i("kpQwH")),F=l(i("gOumJ")),f=l(i("dnBGt"));function p(u,t){(null==t||t>u.length)&&(t=u.length);for(var e=0,D=Array(t);e ")).call(n,V.inverseOf));V=t[R],$=!$}if(!(V.bmp||O))throw SyntaxError("Astral mode required for Unicode token "+_);if(O){if("class"===D)throw SyntaxError("Astral mode does not support Unicode tokens within character classes");return a=R,p=(i=$)?"a!":"a=",t[a][p]||(t[a][p]=(A=t[a],y="",A.bmp&&!A.isBmpLast&&(y=(0,F.default)(h="[".concat(A.bmp,"]")).call(h,A.astral?"|":"")),A.astral&&(y+=A.astral),A.isBmpLast&&A.bmp&&(y+=(0,F.default)(d="".concat(A.astral?"|":"","[")).call(d,A.bmp,"]")),i?"(?:(?!".concat(y,")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-￿]))"):"(?:".concat(y,")")))}return"class"===D?$?t[g=R]["b!"]||(t[g]["b!"]=(v=t[g].bmp,B="",b=-1,(0,c.default)(u).call(u,v,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(u){var t=m(u[1]);t>b+1&&(B+="\\u".concat(E(l(b+1))),t>b+2&&(B+="-\\u".concat(E(l(t-1))))),b=m(u[2]||u[1])}),b<65535&&(B+="\\u".concat(E(l(b+1))),b<65534&&(B+="-\\uFFFF")),B)):V.bmp:"".concat(($?"[^":"[")+V.bmp,"]")},{scope:"all",optionalFlags:"A",leadChar:"\\"}),u.addUnicodeData=function(i,l){l&&(o[l]={});var s,c=function(u,t){var o=void 0!==r&&n(u)||u["@@iterator"];if(!o){if(a(u)||(o=function(u,t){if(u){if("string"==typeof u)return p(u,void 0);var r,n=e(r=Object.prototype.toString.call(u)).call(r,8,-1);if("Object"===n&&u.constructor&&(n=u.constructor.name),"Map"===n||"Set"===n)return D(u);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(u,void 0)}}(u))){o&&(u=o);var i=0,l=function(){};return{s:l,n:function(){return i>=u.length?{done:!0}:{done:!1,value:u[i++]}},e:function(u){throw u},f:l}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,F=!1;return{s:function(){o=o.call(u)},n:function(){var u=o.next();return c=u.done,u},e:function(u){F=!0,s=u},f:function(){try{c||null==o.return||o.return()}finally{if(F)throw s}}}}(i);try{for(c.s();!(s=c.n()).done;){var F=s.value;if(!F.name)throw Error("Unicode token requires name");if(!(F.inverseOf||F.bmp||F.astral))throw Error("Unicode token has no character data "+F.name);var f=C(F.name);if(t[f]=F,l&&(o[l][f]=!0),F.alias){var E=C(F.alias);t[E]=F,l&&(o[l][E]=!0)}}}catch(u){c.e(u)}finally{c.f()}u.cache.flush("patterns")},u._getUnicodeProperty=function(u){return t[C(u)]}},u.exports=u.exports.default}),l("7qV86",function(u,t){var e=i("kQX98"),D=i("5RE2u");e(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var r=D(i("een4n"));u.exports.default=function(u){if(!u.addUnicodeData)throw ReferenceError("Unicode Base must be loaded before Unicode Categories");u.addUnicodeData(r.default)},u.exports=u.exports.default}),l("een4n",function(u,t){u.exports=[{name:"C",alias:"Other",isBmpLast:!0,bmp:"\0-\x1f-Ÿ­͸͹΀-΃΋΍΢԰՗՘֋֌֐׈-׏׫-׮׵-؅؜۝܎܏݋݌޲-޿߻߼࠮࠯࠿࡜࡝࡟࡫-࡯࢏-ࢗ࣢঄঍঎঑঒঩঱঳-঵঺঻৅৆৉৊৏-৖৘-৛৞৤৥৿਀਄਋-਎਑਒਩਱਴਷਺਻਽੃-੆੉੊੎-੐੒-੘੝੟-੥੷-઀઄઎઒઩઱઴઺઻૆૊૎૏૑-૟૤૥૲-૸଀଄଍଎଑଒଩଱଴଺଻୅୆୉୊୎-୔୘-୛୞୤୥୸-஁஄஋-஍஑஖-஘஛஝஠-஢஥-஧஫-஭஺-஽௃-௅௉௎௏௑-௖௘-௥௻-௿఍఑఩఺఻౅౉౎-౔౗౛౜౞౟౤౥౰-౶಍಑಩಴಺಻೅೉೎-೔೗-೜೟೤೥೰ೳ-೿഍഑൅൉൐-൓൤൥඀඄඗-඙඲඼඾඿෇-෉෋-෎෕෗෠-෥෰෱෵-฀฻-฾๜-຀຃຅຋຤຦຾຿໅໇໎໏໚໛໠-໿཈཭-཰྘྽࿍࿛-࿿჆჈-჌჎჏቉቎቏቗቙቞቟኉኎኏኱኶኷኿዁዆዇዗጑጖጗፛፜፽-፿᎚-᎟᏶᏷᏾᏿᚝-᚟᛹-᛿᜖-᜞᜷-᜿᝔-᝟᝭᝱᝴-᝿៞៟៪-៯៺-៿᠎᠚-᠟᡹-᡿᢫-᢯᣶-᣿᤟᤬-᤯᤼-᤿᥁-᥃᥮᥯᥵-᥿᦬-᦯᧊-᧏᧛-᧝᨜᨝᩟᩽᩾᪊-᪏᪚-᪟᪮᪯᫏-᫿᭍-᭏᭿᯴-᯻᰸-᰺᱊-᱌Ᲊ-᲏᲻᲼᳈-᳏᳻-᳿἖἗἞἟὆὇὎὏὘὚὜὞὾὿᾵῅῔῕῜῰῱῵῿​-‏‪-‮⁠-⁲⁳₏₝-₟⃁-⃏⃱-⃿↌-↏␧-␿⑋-⑟⭴⭵⮖⳴-⳸⴦⴨-⴬⴮⴯⵨-⵮⵱-⵾⶗-⶟⶧⶯⶷⶿⷇⷏⷗⷟⹞-⹿⺚⻴-⻿⿖-⿯⿼-⿿぀゗゘㄀-㄄㄰㆏㇤-㇯㈟꒍-꒏꓇-꓏꘬-꘿꛸-꛿Ɤ-꟏꟒꟔Ꟛ-꟱꠭-꠯꠺-꠿꡸-꡿꣆-꣍꣚-꣟꥔-꥞꥽-꥿꧎꧚-꧝꧿꨷-꨿꩎꩏꩚꩛꫃-꫚꫷-꬀꬇꬈꬏꬐꬗-꬟꬧꬯꭬-꭯꯮꯯꯺-꯿힤-힯퟇-퟊퟼-﩮﩯﫚-﫿﬇-﬒﬘-﬜﬷﬽﬿﭂﭅﯃-﯒﶐﶑﷈-﷎﷐-﷯︚-︟﹓﹧﹬-﹯﹵﻽-＀﾿-￁￈￉￐￑￘￙￝-￟￧￯-￾￿",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCBD\uDCC3-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA0-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD73-\uDD7A\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]"},{name:"Cc",alias:"Control",bmp:"\0-\x1f-Ÿ"},{name:"Cf",alias:"Format",bmp:"­؀-؅؜۝܏࢐࢑࣢᠎​-‏‪-‮⁠-⁤⁦-\uFEFF-",astral:"\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Cn",alias:"Unassigned",bmp:"͸͹΀-΃΋΍΢԰՗՘֋֌֐׈-׏׫-׮׵-׿܎݋݌޲-޿߻߼࠮࠯࠿࡜࡝࡟࡫-࡯࢏࢒-ࢗ঄঍঎঑঒঩঱঳-঵঺঻৅৆৉৊৏-৖৘-৛৞৤৥৿਀਄਋-਎਑਒਩਱਴਷਺਻਽੃-੆੉੊੎-੐੒-੘੝੟-੥੷-઀઄઎઒઩઱઴઺઻૆૊૎૏૑-૟૤૥૲-૸଀଄଍଎଑଒଩଱଴଺଻୅୆୉୊୎-୔୘-୛୞୤୥୸-஁஄஋-஍஑஖-஘஛஝஠-஢஥-஧஫-஭஺-஽௃-௅௉௎௏௑-௖௘-௥௻-௿఍఑఩఺఻౅౉౎-౔౗౛౜౞౟౤౥౰-౶಍಑಩಴಺಻೅೉೎-೔೗-೜೟೤೥೰ೳ-೿഍഑൅൉൐-൓൤൥඀඄඗-඙඲඼඾඿෇-෉෋-෎෕෗෠-෥෰෱෵-฀฻-฾๜-຀຃຅຋຤຦຾຿໅໇໎໏໚໛໠-໿཈཭-཰྘྽࿍࿛-࿿჆჈-჌჎჏቉቎቏቗቙቞቟኉኎኏኱኶኷኿዁዆዇዗጑጖጗፛፜፽-፿᎚-᎟᏶᏷᏾᏿᚝-᚟᛹-᛿᜖-᜞᜷-᜿᝔-᝟᝭᝱᝴-᝿៞៟៪-៯៺-៿᠚-᠟᡹-᡿᢫-᢯᣶-᣿᤟᤬-᤯᤼-᤿᥁-᥃᥮᥯᥵-᥿᦬-᦯᧊-᧏᧛-᧝᨜᨝᩟᩽᩾᪊-᪏᪚-᪟᪮᪯᫏-᫿᭍-᭏᭿᯴-᯻᰸-᰺᱊-᱌Ᲊ-᲏᲻᲼᳈-᳏᳻-᳿἖἗἞἟὆὇὎὏὘὚὜὞὾὿᾵῅῔῕῜῰῱῵῿⁥⁲⁳₏₝-₟⃁-⃏⃱-⃿↌-↏␧-␿⑋-⑟⭴⭵⮖⳴-⳸⴦⴨-⴬⴮⴯⵨-⵮⵱-⵾⶗-⶟⶧⶯⶷⶿⷇⷏⷗⷟⹞-⹿⺚⻴-⻿⿖-⿯⿼-⿿぀゗゘㄀-㄄㄰㆏㇤-㇯㈟꒍-꒏꓇-꓏꘬-꘿꛸-꛿Ɤ-꟏꟒꟔Ꟛ-꟱꠭-꠯꠺-꠿꡸-꡿꣆-꣍꣚-꣟꥔-꥞꥽-꥿꧎꧚-꧝꧿꨷-꨿꩎꩏꩚꩛꫃-꫚꫷-꬀꬇꬈꬏꬐꬗-꬟꬧꬯꭬-꭯꯮꯯꯺-꯿힤-힯퟇-퟊퟼-퟿﩮﩯﫚-﫿﬇-﬒﬘-﬜﬷﬽﬿﭂﭅﯃-﯒﶐﶑﷈-﷎﷐-﷯︚-︟﹓﹧﹬-﹯﹵﻽﻾＀﾿-￁￈￉￐￑￘￙￝-￟￧￯-￸￾￿",astral:"\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDCFF\uDD03-\uDD06\uDD34-\uDD36\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEFC-\uDEFF\uDF24-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDFC4-\uDFC7\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6E\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56\uDC9F-\uDCA6\uDCB0-\uDCDF\uDCF3\uDCF6-\uDCFA\uDD1C-\uDD1E\uDD3A-\uDD3E\uDD40-\uDD7F\uDDB8-\uDDBB\uDDD0\uDDD1\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE49-\uDE4F\uDE59-\uDE5F\uDEA0-\uDEBF\uDEE7-\uDEEA\uDEF7-\uDEFF\uDF36-\uDF38\uDF56\uDF57\uDF73-\uDF77\uDF92-\uDF98\uDF9D-\uDFA8\uDFB0-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCF9\uDD28-\uDD2F\uDD3A-\uDE5F\uDE7F\uDEAA\uDEAE\uDEAF\uDEB2-\uDEFF\uDF28-\uDF2F\uDF5A-\uDF6F\uDF8A-\uDFAF\uDFCC-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC4E-\uDC51\uDC76-\uDC7E\uDCC3-\uDCCC\uDCCE\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD48-\uDD4F\uDD77-\uDD7F\uDDE0\uDDF5-\uDDFF\uDE12\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEAA-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC5C\uDC62-\uDC7F\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDDE-\uDDFF\uDE45-\uDE4F\uDE5A-\uDE5F\uDE6D-\uDE7F\uDEBA-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF47-\uDFFF]|\uD806[\uDC3C-\uDC9F\uDCF3-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD47-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE5-\uDDFF\uDE48-\uDE4F\uDEA3-\uDEAF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC46-\uDC4F\uDC6D-\uDC6F\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF9-\uDFAF\uDFB1-\uDFBF\uDFF2-\uDFFE]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F\uDC75-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80E-\uD810\uD812-\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDB7F][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF3-\uDFFF]|\uD80D[\uDC2F\uDC39-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDE6D\uDEBF\uDECA-\uDECF\uDEEE\uDEEF\uDEF6-\uDEFF\uDF46-\uDF4F\uDF5A\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE9B-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A\uDC9B\uDCA4-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDDEB-\uDDFF\uDE46-\uDEDF\uDEF4-\uDEFF\uDF57-\uDF5F\uDF79-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDFCC\uDFCD]|\uD836[\uDE8C-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD50-\uDE8F\uDEAF-\uDEBF\uDEFA-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCB5-\uDD00\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDCFF\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED8-\uDEDC\uDEED-\uDEEF\uDEFD-\uDEFF\uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00\uDC02-\uDC1F\uDC80-\uDCFF\uDDF0-\uDFFF]|[\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Co",alias:"Private_Use",bmp:"-",astral:"[\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uDBBF\uDBFF][\uDC00-\uDFFD]"},{name:"Cs",alias:"Surrogate",bmp:"\uD800-\uDFFF"},{name:"L",alias:"Letter",bmp:"A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛱ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢄᢇ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"LC",alias:"Cased_Letter",bmp:"A-Za-zµÀ-ÖØ-öø-ƺƼ-ƿDŽ-ʓʕ-ʯͰ-ͳͶͷͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՠ-ֈႠ-ჅჇჍა-ჺჽ-ჿᎠ-Ᏽᏸ-ᏽᲀ-ᲈᲐ-ᲺᲽ-Ჿᴀ-ᴫᵫ-ᵷᵹ-ᶚḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-ⱻⱾ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭꙀ-ꙭꚀ-ꚛꜢ-ꝯꝱ-ꞇꞋ-ꞎꞐ-ꟊꟐꟑꟓꟕ-ꟙꟵꟶꟺꬰ-ꭚꭠ-ꭨꭰ-ꮿff-stﬓ-ﬗA-Za-z",astral:"\uD801[\uDC00-\uDC4F\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD806[\uDCA0-\uDCDF]|\uD81B[\uDE40-\uDE7F]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD00-\uDD43]"},{name:"Ll",alias:"Lowercase_Letter",bmp:"a-zµß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķĸĺļľŀłńņňʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌƍƒƕƙ-ƛƞơƣƥƨƪƫƭưƴƶƹƺƽ-ƿdžljnjǎǐǒǔǖǘǚǜǝǟǡǣǥǧǩǫǭǯǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳ-ȹȼȿɀɂɇɉɋɍɏ-ʓʕ-ʯͱͳͷͻ-ͽΐά-ώϐϑϕ-ϗϙϛϝϟϡϣϥϧϩϫϭϯ-ϳϵϸϻϼа-џѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӏӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯՠ-ֈა-ჺჽ-ჿᏸ-ᏽᲀ-ᲈᴀ-ᴫᵫ-ᵷᵹ-ᶚḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕ-ẝẟạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶᾷιῂ-ῄῆῇῐ-ΐῖῗῠ-ῧῲ-ῴῶῷℊℎℏℓℯℴℹℼℽⅆ-ⅉⅎↄⰰ-ⱟⱡⱥⱦⱨⱪⱬⱱⱳⱴⱶ-ⱻⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳤⳬⳮⳳⴀ-ⴥⴧⴭꙁꙃꙅꙇꙉꙋꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛꜣꜥꜧꜩꜫꜭꜯ-ꜱꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝱ-ꝸꝺꝼꝿꞁꞃꞅꞇꞌꞎꞑꞓ-ꞕꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩꞯꞵꞷꞹꞻꞽꞿꟁꟃꟈꟊꟑꟓꟕꟗꟙꟶꟺꬰ-ꭚꭠ-ꭨꭰ-ꮿff-stﬓ-ﬗa-z",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Lm",alias:"Modifier_Letter",bmp:"ʰ-ˁˆ-ˑˠ-ˤˬˮʹͺՙـۥۦߴߵߺࠚࠤࠨࣉॱๆໆჼៗᡃᪧᱸ-ᱽᴬ-ᵪᵸᶛ-ᶿⁱⁿₐ-ₜⱼⱽⵯⸯ々〱-〵〻ゝゞー-ヾꀕꓸ-ꓽꘌꙿꚜꚝꜗ-ꜟꝰꞈꟲ-ꟴꟸꟹꧏꧦꩰꫝꫳꫴꭜ-ꭟꭩー゙゚",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD838[\uDD37-\uDD3D]|\uD83A\uDD4B"},{name:"Lo",alias:"Other_Letter",bmp:"ªºƻǀ-ǃʔא-תׯ-ײؠ-ؿف-يٮٯٱ-ۓەۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪࠀ-ࠕࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣈऄ-हऽॐक़-ॡॲ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๅກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛱ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៜᠠ-ᡂᡄ-ᡸᢀ-ᢄᢇ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱷᳩ-ᳬᳮ-ᳳᳵᳶᳺℵ-ℸⴰ-ⵧⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ〆〼ぁ-ゖゟァ-ヺヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꀔꀖ-ꒌꓐ-ꓷꔀ-ꘋꘐ-ꘟꘪꘫꙮꚠ-ꛥꞏꟷꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧠ-ꧤꧧ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩯꩱ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛꫜꫠ-ꫪꫲꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎יִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼヲ-ッア-ンᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF4A\uDF50]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD837\uDF0A|\uD838[\uDD00-\uDD2C\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Lt",alias:"Titlecase_Letter",bmp:"DžLjNjDzᾈ-ᾏᾘ-ᾟᾨ-ᾯᾼῌῼ"},{name:"Lu",alias:"Uppercase_Letter",bmp:"A-ZÀ-ÖØ-ÞĀĂĄĆĈĊČĎĐĒĔĖĘĚĜĞĠĢĤĦĨĪĬĮİIJĴĶĹĻĽĿŁŃŅŇŊŌŎŐŒŔŖŘŚŜŞŠŢŤŦŨŪŬŮŰŲŴŶŸŹŻŽƁƂƄƆƇƉ-ƋƎ-ƑƓƔƖ-ƘƜƝƟƠƢƤƦƧƩƬƮƯƱ-ƳƵƷƸƼDŽLJNJǍǏǑǓǕǗǙǛǞǠǢǤǦǨǪǬǮDZǴǶ-ǸǺǼǾȀȂȄȆȈȊȌȎȐȒȔȖȘȚȜȞȠȢȤȦȨȪȬȮȰȲȺȻȽȾɁɃ-ɆɈɊɌɎͰͲͶͿΆΈ-ΊΌΎΏΑ-ΡΣ-ΫϏϒ-ϔϘϚϜϞϠϢϤϦϨϪϬϮϴϷϹϺϽ-ЯѠѢѤѦѨѪѬѮѰѲѴѶѸѺѼѾҀҊҌҎҐҒҔҖҘҚҜҞҠҢҤҦҨҪҬҮҰҲҴҶҸҺҼҾӀӁӃӅӇӉӋӍӐӒӔӖӘӚӜӞӠӢӤӦӨӪӬӮӰӲӴӶӸӺӼӾԀԂԄԆԈԊԌԎԐԒԔԖԘԚԜԞԠԢԤԦԨԪԬԮԱ-ՖႠ-ჅჇჍᎠ-ᏵᲐ-ᲺᲽ-ᲿḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẞẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸỺỼỾἈ-ἏἘ-ἝἨ-ἯἸ-ἿὈ-ὍὙὛὝὟὨ-ὯᾸ-ΆῈ-ΉῘ-ΊῨ-ῬῸ-Ώℂℇℋ-ℍℐ-ℒℕℙ-ℝℤΩℨK-ℭℰ-ℳℾℿⅅↃⰀ-ⰯⱠⱢ-ⱤⱧⱩⱫⱭ-ⱰⱲⱵⱾ-ⲀⲂⲄⲆⲈⲊⲌⲎⲐⲒⲔⲖⲘⲚⲜⲞⲠⲢⲤⲦⲨⲪⲬⲮⲰⲲⲴⲶⲸⲺⲼⲾⳀⳂⳄⳆⳈⳊⳌⳎⳐⳒⳔⳖⳘⳚⳜⳞⳠⳢⳫⳭⳲꙀꙂꙄꙆꙈꙊꙌꙎꙐꙒꙔꙖꙘꙚꙜꙞꙠꙢꙤꙦꙨꙪꙬꚀꚂꚄꚆꚈꚊꚌꚎꚐꚒꚔꚖꚘꚚꜢꜤꜦꜨꜪꜬꜮꜲꜴꜶꜸꜺꜼꜾꝀꝂꝄꝆꝈꝊꝌꝎꝐꝒꝔꝖꝘꝚꝜꝞꝠꝢꝤꝦꝨꝪꝬꝮꝹꝻꝽꝾꞀꞂꞄꞆꞋꞍꞐꞒꞖꞘꞚꞜꞞꞠꞢꞤꞦꞨꞪ-ꞮꞰ-ꞴꞶꞸꞺꞼꞾꟀꟂꟄ-ꟇꟉꟐꟖꟘꟵA-Z",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]"},{name:"M",alias:"Mark",bmp:"̀-ͯ҃-҉֑-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣঁ-ঃ়া-ৄেৈো-্ৗৢৣ৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑੰੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣஂா-ூெ-ைொ-்ௗఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣඁ-ඃ්ා-ුූෘ-ෟෲෳัิ-ฺ็-๎ັິ-ຼ່-ໍ༹༘༙༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏႚ-ႝ፝-፟ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝᠋-᠍᠏ᢅᢆᢩᤠ-ᤫᤰ-᤻ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼᪰-ᫎᬀ-ᬄ᬴-᭄᭫-᭳ᮀ-ᮂᮡ-ᮭ᯦-᯳ᰤ-᰷᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿⃐-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꙯-꙲ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣠-꣱ꣿꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀ꧥꨩ-ꨶꩃꩌꩍꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭ﬞ︀-️︠-︯",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC82\uDCB0-\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"Mc",alias:"Spacing_Mark",bmp:"ःऻा-ीॉ-ौॎॏংঃা-ীেৈোৌৗਃਾ-ੀઃા-ીૉોૌଂଃାୀେୈୋୌୗாிுூெ-ைொ-ௌௗఁ-ఃు-ౄಂಃಾೀ-ೄೇೈೊೋೕೖംഃാ-ീെ-ൈൊ-ൌൗංඃා-ෑෘ-ෟෲෳ༾༿ཿါာေးျြၖၗၢ-ၤၧ-ၭႃႄႇ-ႌႏႚ-ႜ᜕᜴ាើ-ៅះៈᤣ-ᤦᤩ-ᤫᤰᤱᤳ-ᤸᨙᨚᩕᩗᩡᩣᩤᩭ-ᩲᬄᬵᬻᬽ-ᭁᭃ᭄ᮂᮡᮦᮧ᮪ᯧᯪ-ᯬᯮ᯲᯳ᰤ-ᰫᰴᰵ᳡᳷〮〯ꠣꠤꠧꢀꢁꢴ-ꣃꥒ꥓ꦃꦴꦵꦺꦻꦾ-꧀ꨯꨰꨳꨴꩍꩻꩽꫫꫮꫯꫵꯣꯤꯦꯧꯩꯪ꯬",astral:"\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD30-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]"},{name:"Me",alias:"Enclosing_Mark",bmp:"҈҉᪾⃝-⃠⃢-⃤꙰-꙲"},{name:"Mn",alias:"Nonspacing_Mark",bmp:"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ंऺ़ु-ै्॑-ॗॢॣঁ়ু-ৄ্ৢৣ৾ਁਂ਼ੁੂੇੈੋ-੍ੑੰੱੵઁં઼ુ-ૅેૈ્ૢૣૺ-૿ଁ଼ିୁ-ୄ୍୕ୖୢୣஂீ்ఀఄ఼ా-ీె-ైొ-్ౕౖౢౣಁ಼ಿೆೌ್ೢೣഀഁ഻഼ു-ൄ്ൢൣඁ්ි-ුූัิ-ฺ็-๎ັິ-ຼ່-ໍཱ༹༘༙༵༷-ཾྀ-྄྆྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္်ွှၘၙၞ-ၠၱ-ၴႂႅႆႍႝ፝-፟ᜒ-᜔ᜲᜳᝒᝓᝲᝳ឴឵ិ-ួំ៉-៓៝᠋-᠍᠏ᢅᢆᢩᤠ-ᤢᤧᤨᤲ᤹-᤻ᨘᨗᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽ᪿ-ᫎᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀᮁᮢ-ᮥᮨᮩ᮫-ᮭ᯦ᯨᯩᯭᯯ-ᯱᰬ-ᰳᰶ᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸᳹᷀-᷿⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〭꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠥꠦ꠬꣄ꣅ꣠-꣱ꣿꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꦽꧥꨩ-ꨮꨱꨲꨵꨶꩃꩌꩼꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫬꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︯",astral:"\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF40\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB3-\uDCB8\uDCBA\uDCBF\uDCC0\uDCC2\uDCC3\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]"},{name:"N",alias:"Number",bmp:"0-9²³¹¼-¾٠-٩۰-۹߀-߉०-९০-৯৴-৹੦-੯૦-૯୦-୯୲-୷௦-௲౦-౯౸-౾೦-೯൘-൞൦-൸෦-෯๐-๙໐-໙༠-༳၀-၉႐-႙፩-፼ᛮ-ᛰ០-៩៰-៹᠐-᠙᥆-᥏᧐-᧚᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙⁰⁴-⁹₀-₉⅐-ↂↅ-↉①-⒛⓪-⓿❶-➓⳽〇〡-〩〸-〺㆒-㆕㈠-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿꘠-꘩ꛦ-ꛯ꠰-꠵꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹0-9",astral:"\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nd",alias:"Decimal_Number",bmp:"0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹0-9",astral:"\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9]"},{name:"Nl",alias:"Letter_Number",bmp:"ᛮ-ᛰⅠ-ↂↅ-ↈ〇〡-〩〸-〺ꛦ-ꛯ",astral:"\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]"},{name:"No",alias:"Other_Number",bmp:"²³¹¼-¾৴-৹୲-୷௰-௲౸-౾൘-൞൰-൸༪-༳፩-፼៰-៹᧚⁰⁴-⁹₀-₉⅐-⅟↉①-⒛⓪-⓿❶-➓⳽㆒-㆕㈠-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿꠰-꠵",astral:"\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C\uDFC0-\uDFD4]|\uD81A[\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD83A[\uDCC7-\uDCCF]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]"},{name:"P",alias:"Punctuation",bmp:"!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}¡§«¶·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؝-؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰৽੶૰౷಄෴๏๚๛༄-༒༔༺-༽྅࿐-࿔࿙࿚၊-၏჻፠-፨᐀᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᭽᭾᯼-᯿᰻-᰿᱾᱿᳀-᳇᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎⌈-⌋〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰-⹏⹒-⹝、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꣼꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꫰꫱꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Pc",alias:"Connector_Punctuation",bmp:"_‿⁀⁔︳︴﹍-﹏_"},{name:"Pd",alias:"Dash_Punctuation",bmp:"\\-֊־᐀᠆‐-―⸗⸚⸺⸻⹀⹝〜〰゠︱︲﹘﹣-",astral:"\uD803\uDEAD"},{name:"Pe",alias:"Close_Punctuation",bmp:"\\)\\]\\}༻༽᚜⁆⁾₎⌉⌋〉❩❫❭❯❱❳❵⟆⟧⟩⟫⟭⟯⦄⦆⦈⦊⦌⦎⦐⦒⦔⦖⦘⧙⧛⧽⸣⸥⸧⸩⹖⹘⹚⹜〉》」』】〕〗〙〛〞〟﴾︘︶︸︺︼︾﹀﹂﹄﹈﹚﹜﹞)]}⦆」"},{name:"Pf",alias:"Final_Punctuation",bmp:"»’”›⸃⸅⸊⸍⸝⸡"},{name:"Pi",alias:"Initial_Punctuation",bmp:"«‘‛“‟‹⸂⸄⸉⸌⸜⸠"},{name:"Po",alias:"Other_Punctuation",bmp:"!-#%-'\\*,\\.\\/:;\\?@\\¡§¶·¿;·՚-՟։׀׃׆׳״؉؊،؍؛؝-؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰৽੶૰౷಄෴๏๚๛༄-༒༔྅࿐-࿔࿙࿚၊-၏჻፠-፨᙮᛫-᛭᜵᜶។-៖៘-៚᠀-᠅᠇-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᭽᭾᯼-᯿᰻-᰿᱾᱿᳀-᳇᳓‖‗†-‧‰-‸※-‾⁁-⁃⁇-⁑⁓⁕-⁞⳹-⳼⳾⳿⵰⸀⸁⸆-⸈⸋⸎-⸖⸘⸙⸛⸞⸟⸪-⸮⸰-⸹⸼-⸿⹁⹃-⹏⹒-⹔、-〃〽・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꣼꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꫰꫱꯫︐-︖︙︰﹅﹆﹉-﹌﹐-﹒﹔-﹗﹟-﹡﹨﹪﹫!-#%-'*,./:;?@\。、・",astral:"\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]"},{name:"Ps",alias:"Open_Punctuation",bmp:"\\(\\[\\{༺༼᚛‚„⁅⁽₍⌈⌊〈❨❪❬❮❰❲❴⟅⟦⟨⟪⟬⟮⦃⦅⦇⦉⦋⦍⦏⦑⦓⦕⦗⧘⧚⧼⸢⸤⸦⸨⹂⹕⹗⹙⹛〈《「『【〔〖〘〚〝﴿︗︵︷︹︻︽︿﹁﹃﹇﹙﹛﹝([{⦅「"},{name:"S",alias:"Symbol",bmp:"\\$\\+<->\\^`\\|~¢-¦¨©¬®-±´¸×÷˂-˅˒-˟˥-˫˭˯-˿͵΄΅϶҂֍-֏؆-؈؋؎؏۞۩۽۾߶߾߿࢈৲৳৺৻૱୰௳-௺౿൏൹฿༁-༃༓༕-༗༚-༟༴༶༸྾-࿅࿇-࿌࿎࿏࿕-࿘႞႟᎐-᎙᙭៛᥀᧞-᧿᭡-᭪᭴-᭼᾽᾿-῁῍-῏῝-῟῭-`´῾⁄⁒⁺-⁼₊-₌₠-⃀℀℁℃-℆℈℉℔№-℘℞-℣℥℧℩℮℺℻⅀-⅄⅊-⅍⅏↊↋←-⌇⌌-⌨⌫-␦⑀-⑊⒜-ⓩ─-❧➔-⟄⟇-⟥⟰-⦂⦙-⧗⧜-⧻⧾-⭳⭶-⮕⮗-⯿⳥-⳪⹐⹑⺀-⺙⺛-⻳⼀-⿕⿰-⿻〄〒〓〠〶〷〾〿゛゜㆐㆑㆖-㆟㇀-㇣㈀-㈞㈪-㉇㉐㉠-㉿㊊-㊰㋀-㏿䷀-䷿꒐-꓆꜀-꜖꜠꜡꞉꞊꠨-꠫꠶-꠹꩷-꩹꭛꭪꭫﬩﮲-﯂﵀-﵏﷏﷼-﷿﹢﹤-﹦﹩$+<->^`|~¢-₩│-○�",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Sc",alias:"Currency_Symbol",bmp:"\\$¢-¥֏؋߾߿৲৳৻૱௹฿៛₠-⃀꠸﷼﹩$¢£¥₩",astral:"\uD807[\uDFDD-\uDFE0]|\uD838\uDEFF|\uD83B\uDCB0"},{name:"Sk",alias:"Modifier_Symbol",bmp:"\\^`¨¯´¸˂-˅˒-˟˥-˫˭˯-˿͵΄΅࢈᾽᾿-῁῍-῏῝-῟῭-`´῾゛゜꜀-꜖꜠꜡꞉꞊꭛꭪꭫﮲-﯂^` ̄",astral:"\uD83C[\uDFFB-\uDFFF]"},{name:"Sm",alias:"Math_Symbol",bmp:"\\+<->\\|~¬±×÷϶؆-؈⁄⁒⁺-⁼₊-₌℘⅀-⅄⅋←-↔↚↛↠↣↦↮⇎⇏⇒⇔⇴-⋿⌠⌡⍼⎛-⎳⏜-⏡▷◁◸-◿♯⟀-⟄⟇-⟥⟰-⟿⤀-⦂⦙-⧗⧜-⧻⧾-⫿⬰-⭄⭇-⭌﬩﹢﹤-﹦+<->|~¬←-↓",astral:"\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]"},{name:"So",alias:"Other_Symbol",bmp:"¦©®°҂֍֎؎؏۞۩۽۾߶৺୰௳-௸௺౿൏൹༁-༃༓༕-༗༚-༟༴༶༸྾-࿅࿇-࿌࿎࿏࿕-࿘႞႟᎐-᎙᙭᥀᧞-᧿᭡-᭪᭴-᭼℀℁℃-℆℈℉℔№℗℞-℣℥℧℩℮℺℻⅊⅌⅍⅏↊↋↕-↙↜-↟↡↢↤↥↧-↭↯-⇍⇐⇑⇓⇕-⇳⌀-⌇⌌-⌟⌢-⌨⌫-⍻⍽-⎚⎴-⏛⏢-␦⑀-⑊⒜-ⓩ─-▶▸-◀◂-◷☀-♮♰-❧➔-➿⠀-⣿⬀-⬯⭅⭆⭍-⭳⭶-⮕⮗-⯿⳥-⳪⹐⹑⺀-⺙⺛-⻳⼀-⿕⿰-⿻〄〒〓〠〶〷〾〿㆐㆑㆖-㆟㇀-㇣㈀-㈞㈪-㉇㉐㉠-㉿㊊-㊰㋀-㏿䷀-䷿꒐-꓆꠨-꠫꠶꠷꠹꩷-꩹﵀-﵏﷏﷽-﷿¦│■○�",astral:"\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFDC\uDFE1-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838\uDD4F|\uD83B[\uDCAC\uDD2E]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]"},{name:"Z",alias:"Separator",bmp:"    - \u2028\u2029   "},{name:"Zl",alias:"Line_Separator",bmp:"\u2028"},{name:"Zp",alias:"Paragraph_Separator",bmp:"\u2029"},{name:"Zs",alias:"Space_Separator",bmp:"    -    "}]}),l("iISMm",function(u,t){var e=i("kQX98"),D=i("5RE2u");e(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var r=D(i("dFpfw"));u.exports.default=function(u){if(!u.addUnicodeData)throw ReferenceError("Unicode Base must be loaded before Unicode Properties");var t=r.default;t.push({name:"Assigned",inverseOf:"Cn"}),u.addUnicodeData(t)},u.exports=u.exports.default}),l("dFpfw",function(u,t){u.exports=[{name:"ASCII",bmp:"\0-"},{name:"Alphabetic",bmp:"A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͅͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈְ-ׇֽֿׁׂׅׄא-תׯ-ײؐ-ؚؠ-ٗٙ-ٟٮ-ۓە-ۜۡ-ۭۨ-ۯۺ-ۼۿܐ-ܿݍ-ޱߊ-ߪߴߵߺࠀ-ࠗࠚ-ࠬࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉࣔ-ࣣࣟ-ࣰࣩ-ऻऽ-ौॎ-ॐॕ-ॣॱ-ঃঅ-ঌএঐও-নপ-রলশ-হঽ-ৄেৈোৌৎৗড়ঢ়য়-ৣৰৱৼਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਾ-ੂੇੈੋੌੑਖ਼-ੜਫ਼ੰ-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽ-ૅે-ૉોૌૐૠ-ૣૹ-ૼଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽ-ୄେୈୋୌୖୗଡ଼ଢ଼ୟ-ୣୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-ௌௐௗఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-ౌౕౖౘ-ౚౝౠ-ౣಀ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೄೆ-ೈೊ-ೌೕೖೝೞೠ-ೣೱೲഀ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൌൎൔ-ൗൟ-ൣൺ-ൿඁ-ඃඅ-ඖක-නඳ-රලව-ෆා-ුූෘ-ෟෲෳก-ฺเ-ๆํກຂຄຆ-ຊຌ-ຣລວ-ູົ-ຽເ-ໄໆໍໜ-ໟༀཀ-ཇཉ-ཬཱ-ཱྀྈ-ྗྙ-ྼက-ံးျ-ဿၐ-ႏႚ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜓᜟ-ᜳᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-ឳា-ៈៗៜᠠ-ᡸᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-ᤸᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨛᨠ-ᩞᩡ-ᩴᪧᪿᫀᫌ-ᫎᬀ-ᬳᬵ-ᭃᭅ-ᭌᮀ-ᮩᮬ-ᮯᮺ-ᯥᯧ-ᯱᰀ-ᰶᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿᷧ-ᷴḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙴ-ꙻꙿ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠅꠇ-ꠧꡀ-ꡳꢀ-ꣃꣅꣲ-ꣷꣻꣽ-ꣿꤊ-ꤪꤰ-ꥒꥠ-ꥼꦀ-ꦲꦴ-ꦿꧏꧠ-ꧯꧺ-ꧾꨀ-ꨶꩀ-ꩍꩠ-ꩶꩺ-ꪾꫀꫂꫛ-ꫝꫠ-ꫯꫲ-ꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯪ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC45\uDC71-\uDC75\uDC82-\uDCB8\uDCC2\uDCD0-\uDCE8\uDD00-\uDD32\uDD44-\uDD47\uDD50-\uDD72\uDD76\uDD80-\uDDBF\uDDC1-\uDDC4\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE34\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEE8\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D-\uDF44\uDF47\uDF48\uDF4B\uDF4C\uDF50\uDF57\uDF5D-\uDF63]|\uD805[\uDC00-\uDC41\uDC43-\uDC45\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCC1\uDCC4\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDBE\uDDD8-\uDDDD\uDE00-\uDE3E\uDE40\uDE44\uDE80-\uDEB5\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2A\uDF40-\uDF46]|\uD806[\uDC00-\uDC38\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B\uDD3C\uDD3F-\uDD42\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDDF\uDDE1\uDDE3\uDDE4\uDE00-\uDE32\uDE35-\uDE3E\uDE50-\uDE97\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC3E\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD41\uDD43\uDD46\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD96\uDD98\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9E]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD47\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Any",isBmpLast:!0,bmp:"\0-￿",astral:"[\uD800-\uDBFF][\uDC00-\uDFFF]"},{name:"Default_Ignorable_Code_Point",bmp:"­͏؜ᅟᅠ឴឵᠋-᠏​-‏‪-‮⁠-ㅤ︀-️\uFEFFᅠ￰-￸",astral:"\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|[\uDB40-\uDB43][\uDC00-\uDFFF]"},{name:"Lowercase",bmp:"a-zªµºß-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıijĵķĸĺļľŀłńņňʼnŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž-ƀƃƅƈƌƍƒƕƙ-ƛƞơƣƥƨƪƫƭưƴƶƹƺƽ-ƿdžljnjǎǐǒǔǖǘǚǜǝǟǡǣǥǧǩǫǭǯǰdzǵǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟȡȣȥȧȩȫȭȯȱȳ-ȹȼȿɀɂɇɉɋɍɏ-ʓʕ-ʸˀˁˠ-ˤͅͱͳͷͺ-ͽΐά-ώϐϑϕ-ϗϙϛϝϟϡϣϥϧϩϫϭϯ-ϳϵϸϻϼа-џѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӏӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯՠ-ֈა-ჺჽ-ჿᏸ-ᏽᲀ-ᲈᴀ-ᶿḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕ-ẝẟạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶᾷιῂ-ῄῆῇῐ-ΐῖῗῠ-ῧῲ-ῴῶῷⁱⁿₐ-ₜℊℎℏℓℯℴℹℼℽⅆ-ⅉⅎⅰ-ⅿↄⓐ-ⓩⰰ-ⱟⱡⱥⱦⱨⱪⱬⱱⱳⱴⱶ-ⱽⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳤⳬⳮⳳⴀ-ⴥⴧⴭꙁꙃꙅꙇꙉꙋꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛ-ꚝꜣꜥꜧꜩꜫꜭꜯ-ꜱꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯ-ꝸꝺꝼꝿꞁꞃꞅꞇꞌꞎꞑꞓ-ꞕꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩꞯꞵꞷꞹꞻꞽꞿꟁꟃꟈꟊꟑꟓꟕꟗꟙꟶꟸ-ꟺꬰ-ꭚꭜ-ꭨꭰ-ꮿff-stﬓ-ﬗa-z",astral:"\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDF80\uDF83-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]"},{name:"Noncharacter_Code_Point",bmp:"﷐-﷯￾￿",astral:"[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]"},{name:"Uppercase",bmp:"A-ZÀ-ÖØ-ÞĀĂĄĆĈĊČĎĐĒĔĖĘĚĜĞĠĢĤĦĨĪĬĮİIJĴĶĹĻĽĿŁŃŅŇŊŌŎŐŒŔŖŘŚŜŞŠŢŤŦŨŪŬŮŰŲŴŶŸŹŻŽƁƂƄƆƇƉ-ƋƎ-ƑƓƔƖ-ƘƜƝƟƠƢƤƦƧƩƬƮƯƱ-ƳƵƷƸƼDŽLJNJǍǏǑǓǕǗǙǛǞǠǢǤǦǨǪǬǮDZǴǶ-ǸǺǼǾȀȂȄȆȈȊȌȎȐȒȔȖȘȚȜȞȠȢȤȦȨȪȬȮȰȲȺȻȽȾɁɃ-ɆɈɊɌɎͰͲͶͿΆΈ-ΊΌΎΏΑ-ΡΣ-ΫϏϒ-ϔϘϚϜϞϠϢϤϦϨϪϬϮϴϷϹϺϽ-ЯѠѢѤѦѨѪѬѮѰѲѴѶѸѺѼѾҀҊҌҎҐҒҔҖҘҚҜҞҠҢҤҦҨҪҬҮҰҲҴҶҸҺҼҾӀӁӃӅӇӉӋӍӐӒӔӖӘӚӜӞӠӢӤӦӨӪӬӮӰӲӴӶӸӺӼӾԀԂԄԆԈԊԌԎԐԒԔԖԘԚԜԞԠԢԤԦԨԪԬԮԱ-ՖႠ-ჅჇჍᎠ-ᏵᲐ-ᲺᲽ-ᲿḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẞẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸỺỼỾἈ-ἏἘ-ἝἨ-ἯἸ-ἿὈ-ὍὙὛὝὟὨ-ὯᾸ-ΆῈ-ΉῘ-ΊῨ-ῬῸ-Ώℂℇℋ-ℍℐ-ℒℕℙ-ℝℤΩℨK-ℭℰ-ℳℾℿⅅⅠ-ⅯↃⒶ-ⓏⰀ-ⰯⱠⱢ-ⱤⱧⱩⱫⱭ-ⱰⱲⱵⱾ-ⲀⲂⲄⲆⲈⲊⲌⲎⲐⲒⲔⲖⲘⲚⲜⲞⲠⲢⲤⲦⲨⲪⲬⲮⲰⲲⲴⲶⲸⲺⲼⲾⳀⳂⳄⳆⳈⳊⳌⳎⳐⳒⳔⳖⳘⳚⳜⳞⳠⳢⳫⳭⳲꙀꙂꙄꙆꙈꙊꙌꙎꙐꙒꙔꙖꙘꙚꙜꙞꙠꙢꙤꙦꙨꙪꙬꚀꚂꚄꚆꚈꚊꚌꚎꚐꚒꚔꚖꚘꚚꜢꜤꜦꜨꜪꜬꜮꜲꜴꜶꜸꜺꜼꜾꝀꝂꝄꝆꝈꝊꝌꝎꝐꝒꝔꝖꝘꝚꝜꝞꝠꝢꝤꝦꝨꝪꝬꝮꝹꝻꝽꝾꞀꞂꞄꞆꞋꞍꞐꞒꞖꞘꞚꞜꞞꞠꞢꞤꞦꞨꞪ-ꞮꞰ-ꞴꞶꞸꞺꞼꞾꟀꟂꟄ-ꟇꟉꟐꟖꟘꟵA-Z",astral:"\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]"},{name:"White_Space",bmp:" -\r …   - \u2028\u2029   "}]}),l("8sB4F",function(u,t){var e=i("kQX98"),D=i("5RE2u");e(u.exports,"__esModule",{value:!0}),u.exports.default=void 0;var r=D(i("7mEZ6"));u.exports.default=function(u){if(!u.addUnicodeData)throw ReferenceError("Unicode Base must be loaded before Unicode Scripts");u.addUnicodeData(r.default,"Script")},u.exports=u.exports.default}),l("7mEZ6",function(u,t){u.exports=[{name:"Adlam",astral:"\uD83A[\uDD00-\uDD4B\uDD50-\uDD59\uDD5E\uDD5F]"},{name:"Ahom",astral:"\uD805[\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF46]"},{name:"Anatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE46]"},{name:"Arabic",bmp:"؀-؄؆-؋؍-ؚ؜-؞ؠ-ؿف-يٖ-ٯٱ-ۜ۞-ۿݐ-ݿࡰ-ࢎ࢐࢑࢘-ࣣ࣡-ࣿﭐ-﯂ﯓ-ﴽ﵀-ﶏﶒ-ﷇ﷏ﷰ-﷿ﹰ-ﹴﹶ-ﻼ",astral:"\uD803[\uDE60-\uDE7E]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB\uDEF0\uDEF1]"},{name:"Armenian",bmp:"Ա-Ֆՙ-֊֍-֏ﬓ-ﬗ"},{name:"Avestan",astral:"\uD802[\uDF00-\uDF35\uDF39-\uDF3F]"},{name:"Balinese",bmp:"ᬀ-ᭌ᭐-᭾"},{name:"Bamum",bmp:"ꚠ-꛷",astral:"\uD81A[\uDC00-\uDE38]"},{name:"Bassa_Vah",astral:"\uD81A[\uDED0-\uDEED\uDEF0-\uDEF5]"},{name:"Batak",bmp:"ᯀ-᯳᯼-᯿"},{name:"Bengali",bmp:"ঀ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-৾"},{name:"Bhaiksuki",astral:"\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC45\uDC50-\uDC6C]"},{name:"Bopomofo",bmp:"˪˫ㄅ-ㄯㆠ-ㆿ"},{name:"Brahmi",astral:"\uD804[\uDC00-\uDC4D\uDC52-\uDC75\uDC7F]"},{name:"Braille",bmp:"⠀-⣿"},{name:"Buginese",bmp:"ᨀ-ᨛ᨞᨟"},{name:"Buhid",bmp:"ᝀ-ᝓ"},{name:"Canadian_Aboriginal",bmp:"᐀-ᙿᢰ-ᣵ",astral:"\uD806[\uDEB0-\uDEBF]"},{name:"Carian",astral:"\uD800[\uDEA0-\uDED0]"},{name:"Caucasian_Albanian",astral:"\uD801[\uDD30-\uDD63\uDD6F]"},{name:"Chakma",astral:"\uD804[\uDD00-\uDD34\uDD36-\uDD47]"},{name:"Cham",bmp:"ꨀ-ꨶꩀ-ꩍ꩐-꩙꩜-꩟"},{name:"Cherokee",bmp:"Ꭰ-Ᏽᏸ-ᏽꭰ-ꮿ"},{name:"Chorasmian",astral:"\uD803[\uDFB0-\uDFCB]"},{name:"Common",bmp:"\0-@\\[-`\\{-©«-¹»-¿×÷ʹ-˟˥-˩ˬ-˿ʹ;΅·؅،؛؟ـ۝࣢।॥฿࿕-࿘჻᛫-᛭᜵᜶᠂᠃᠅᳓᳡ᳩ-ᳬᳮ-ᳳᳵ-᳷ᳺ -​‎-⁤⁦-⁰⁴-⁾₀-₎₠-⃀℀-℥℧-℩ℬ-ℱℳ-⅍⅏-⅟↉-↋←-␦⑀-⑊①-⟿⤀-⭳⭶-⮕⮗-⯿⸀-⹝⿰-⿻ -〄〆〈-〠〰-〷〼-〿゛゜゠・ー㆐-㆟㇀-㇣㈠-㉟㉿-㋏㋿㍘-㏿䷀-䷿꜀-꜡ꞈ-꞊꠰-꠹꤮ꧏ꭛꭪꭫﴾﴿︐-︙︰-﹒﹔-﹦﹨-﹫\uFEFF!-@[-`{-・ー゙゚¢-₩│-○-�",astral:"\uD800[\uDD00-\uDD02\uDD07-\uDD33\uDD37-\uDD3F\uDD90-\uDD9C\uDDD0-\uDDFC\uDEE1-\uDEFB]|\uD82F[\uDCA0-\uDCA3]|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD66\uDD6A-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDEE0-\uDEF3\uDF00-\uDF56\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDFCB\uDFCE-\uDFFF]|\uD83B[\uDC71-\uDCB4\uDD01-\uDD3D]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD00-\uDDAD\uDDE6-\uDDFF\uDE01\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA\uDFF0-\uDFF9]|\uDB40[\uDC01\uDC20-\uDC7F]"},{name:"Coptic",bmp:"Ϣ-ϯⲀ-ⳳ⳹-⳿"},{name:"Cuneiform",astral:"\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC70-\uDC74\uDC80-\uDD43]"},{name:"Cypriot",astral:"\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F]"},{name:"Cypro_Minoan",astral:"\uD80B[\uDF90-\uDFF2]"},{name:"Cyrillic",bmp:"Ѐ-҄҇-ԯᲀ-ᲈᴫᵸⷠ-ⷿꙀ-ꚟ︮︯"},{name:"Deseret",astral:"\uD801[\uDC00-\uDC4F]"},{name:"Devanagari",bmp:"ऀ-ॐॕ-ॣ०-ॿ꣠-ꣿ"},{name:"Dives_Akuru",astral:"\uD806[\uDD00-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD46\uDD50-\uDD59]"},{name:"Dogra",astral:"\uD806[\uDC00-\uDC3B]"},{name:"Duployan",astral:"\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9C-\uDC9F]"},{name:"Egyptian_Hieroglyphs",astral:"\uD80C[\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E\uDC30-\uDC38]"},{name:"Elbasan",astral:"\uD801[\uDD00-\uDD27]"},{name:"Elymaic",astral:"\uD803[\uDFE0-\uDFF6]"},{name:"Ethiopic",bmp:"ሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፼ᎀ-᎙ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮ",astral:"\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]"},{name:"Georgian",bmp:"Ⴀ-ჅჇჍა-ჺჼ-ჿᲐ-ᲺᲽ-Ჿⴀ-ⴥⴧⴭ"},{name:"Glagolitic",bmp:"Ⰰ-ⱟ",astral:"\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]"},{name:"Gothic",astral:"\uD800[\uDF30-\uDF4A]"},{name:"Grantha",astral:"\uD804[\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]"},{name:"Greek",bmp:"Ͱ-ͳ͵-ͷͺ-ͽͿ΄ΆΈ-ΊΌΎ-ΡΣ-ϡϰ-Ͽᴦ-ᴪᵝ-ᵡᵦ-ᵪᶿἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ῄῆ-ΐῖ-Ί῝-`ῲ-ῴῶ-῾Ωꭥ",astral:"\uD800[\uDD40-\uDD8E\uDDA0]|\uD834[\uDE00-\uDE45]"},{name:"Gujarati",bmp:"ઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૱ૹ-૿"},{name:"Gunjala_Gondi",astral:"\uD807[\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9]"},{name:"Gurmukhi",bmp:"ਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-੶"},{name:"Han",bmp:"⺀-⺙⺛-⻳⼀-⿕々〇〡-〩〸-〻㐀-䶿一-鿿豈-舘並-龎",astral:"\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]"},{name:"Hangul",bmp:"ᄀ-ᇿ〮〯ㄱ-ㆎ㈀-㈞㉠-㉾ꥠ-ꥼ가-힣ힰ-ퟆퟋ-ퟻᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"},{name:"Hanifi_Rohingya",astral:"\uD803[\uDD00-\uDD27\uDD30-\uDD39]"},{name:"Hanunoo",bmp:"ᜠ-᜴"},{name:"Hatran",astral:"\uD802[\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDCFF]"},{name:"Hebrew",bmp:"֑-ׇא-תׯ-״יִ-זּטּ-לּמּנּסּףּפּצּ-ﭏ"},{name:"Hiragana",bmp:"ぁ-ゖゝ-ゟ",astral:"\uD82C[\uDC01-\uDD1F\uDD50-\uDD52]|\uD83C\uDE00"},{name:"Imperial_Aramaic",astral:"\uD802[\uDC40-\uDC55\uDC57-\uDC5F]"},{name:"Inherited",bmp:"̀-ًͯ҅҆-ٰٕ॑-॔᪰-ᫎ᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸᳹᷀-᷿‌‍⃐-〪⃰-゙゚〭︀-️︠-︭",astral:"\uD800[\uDDFD\uDEE0]|\uD804\uDF3B|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDDEF]"},{name:"Inscriptional_Pahlavi",astral:"\uD802[\uDF60-\uDF72\uDF78-\uDF7F]"},{name:"Inscriptional_Parthian",astral:"\uD802[\uDF40-\uDF55\uDF58-\uDF5F]"},{name:"Javanese",bmp:"ꦀ-꧍꧐-꧙꧞꧟"},{name:"Kaithi",astral:"\uD804[\uDC80-\uDCC2\uDCCD]"},{name:"Kannada",bmp:"ಀ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೝೞೠ-ೣ೦-೯ೱೲ"},{name:"Katakana",bmp:"ァ-ヺヽ-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ッア-ン",astral:"\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00\uDD20-\uDD22\uDD64-\uDD67]"},{name:"Kayah_Li",bmp:"꤀-꤭꤯"},{name:"Kharoshthi",astral:"\uD802[\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F-\uDE48\uDE50-\uDE58]"},{name:"Khitan_Small_Script",astral:"\uD81B\uDFE4|\uD822[\uDF00-\uDFFF]|\uD823[\uDC00-\uDCD5]"},{name:"Khmer",bmp:"ក-៝០-៩៰-៹᧠-᧿"},{name:"Khojki",astral:"\uD804[\uDE00-\uDE11\uDE13-\uDE3E]"},{name:"Khudawadi",astral:"\uD804[\uDEB0-\uDEEA\uDEF0-\uDEF9]"},{name:"Lao",bmp:"ກຂຄຆ-ຊຌ-ຣລວ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟ"},{name:"Latin",bmp:"A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꟿꬰ-ꭚꭜ-ꭤꭦ-ꭩff-stA-Za-z",astral:"\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD837[\uDF00-\uDF1E]"},{name:"Lepcha",bmp:"ᰀ-᰷᰻-᱉ᱍ-ᱏ"},{name:"Limbu",bmp:"ᤀ-ᤞᤠ-ᤫᤰ-᤻᥀᥄-᥏"},{name:"Linear_A",astral:"\uD801[\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]"},{name:"Linear_B",astral:"\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA]"},{name:"Lisu",bmp:"ꓐ-꓿",astral:"\uD807\uDFB0"},{name:"Lycian",astral:"\uD800[\uDE80-\uDE9C]"},{name:"Lydian",astral:"\uD802[\uDD20-\uDD39\uDD3F]"},{name:"Mahajani",astral:"\uD804[\uDD50-\uDD76]"},{name:"Makasar",astral:"\uD807[\uDEE0-\uDEF8]"},{name:"Malayalam",bmp:"ഀ-ഌഎ-ഐഒ-ൄെ-ൈൊ-൏ൔ-ൣ൦-ൿ"},{name:"Mandaic",bmp:"ࡀ-࡛࡞"},{name:"Manichaean",astral:"\uD802[\uDEC0-\uDEE6\uDEEB-\uDEF6]"},{name:"Marchen",astral:"\uD807[\uDC70-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]"},{name:"Masaram_Gondi",astral:"\uD807[\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]"},{name:"Medefaidrin",astral:"\uD81B[\uDE40-\uDE9A]"},{name:"Meetei_Mayek",bmp:"ꫠ-꫶ꯀ-꯭꯰-꯹"},{name:"Mende_Kikakui",astral:"\uD83A[\uDC00-\uDCC4\uDCC7-\uDCD6]"},{name:"Meroitic_Cursive",astral:"\uD802[\uDDA0-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDDFF]"},{name:"Meroitic_Hieroglyphs",astral:"\uD802[\uDD80-\uDD9F]"},{name:"Miao",astral:"\uD81B[\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F]"},{name:"Modi",astral:"\uD805[\uDE00-\uDE44\uDE50-\uDE59]"},{name:"Mongolian",bmp:"᠀᠁᠄᠆-᠙ᠠ-ᡸᢀ-ᢪ",astral:"\uD805[\uDE60-\uDE6C]"},{name:"Mro",astral:"\uD81A[\uDE40-\uDE5E\uDE60-\uDE69\uDE6E\uDE6F]"},{name:"Multani",astral:"\uD804[\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA9]"},{name:"Myanmar",bmp:"က-႟ꧠ-ꧾꩠ-ꩿ"},{name:"Nabataean",astral:"\uD802[\uDC80-\uDC9E\uDCA7-\uDCAF]"},{name:"Nandinagari",astral:"\uD806[\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE4]"},{name:"New_Tai_Lue",bmp:"ᦀ-ᦫᦰ-ᧉ᧐-᧚᧞᧟"},{name:"Newa",astral:"\uD805[\uDC00-\uDC5B\uDC5D-\uDC61]"},{name:"Nko",bmp:"߀-ߺ߽-߿"},{name:"Nushu",astral:"\uD81B\uDFE1|\uD82C[\uDD70-\uDEFB]"},{name:"Nyiakeng_Puachue_Hmong",astral:"\uD838[\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDD4F]"},{name:"Ogham",bmp:" -᚜"},{name:"Ol_Chiki",bmp:"᱐-᱿"},{name:"Old_Hungarian",astral:"\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDCFF]"},{name:"Old_Italic",astral:"\uD800[\uDF00-\uDF23\uDF2D-\uDF2F]"},{name:"Old_North_Arabian",astral:"\uD802[\uDE80-\uDE9F]"},{name:"Old_Permic",astral:"\uD800[\uDF50-\uDF7A]"},{name:"Old_Persian",astral:"\uD800[\uDFA0-\uDFC3\uDFC8-\uDFD5]"},{name:"Old_Sogdian",astral:"\uD803[\uDF00-\uDF27]"},{name:"Old_South_Arabian",astral:"\uD802[\uDE60-\uDE7F]"},{name:"Old_Turkic",astral:"\uD803[\uDC00-\uDC48]"},{name:"Old_Uyghur",astral:"\uD803[\uDF70-\uDF89]"},{name:"Oriya",bmp:"ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍୕-ୗଡ଼ଢ଼ୟ-ୣ୦-୷"},{name:"Osage",astral:"\uD801[\uDCB0-\uDCD3\uDCD8-\uDCFB]"},{name:"Osmanya",astral:"\uD801[\uDC80-\uDC9D\uDCA0-\uDCA9]"},{name:"Pahawh_Hmong",astral:"\uD81A[\uDF00-\uDF45\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]"},{name:"Palmyrene",astral:"\uD802[\uDC60-\uDC7F]"},{name:"Pau_Cin_Hau",astral:"\uD806[\uDEC0-\uDEF8]"},{name:"Phags_Pa",bmp:"ꡀ-꡷"},{name:"Phoenician",astral:"\uD802[\uDD00-\uDD1B\uDD1F]"},{name:"Psalter_Pahlavi",astral:"\uD802[\uDF80-\uDF91\uDF99-\uDF9C\uDFA9-\uDFAF]"},{name:"Rejang",bmp:"ꤰ-꥓꥟"},{name:"Runic",bmp:"ᚠ-ᛪᛮ-ᛸ"},{name:"Samaritan",bmp:"ࠀ-࠭࠰-࠾"},{name:"Saurashtra",bmp:"ꢀ-ꣅ꣎-꣙"},{name:"Sharada",astral:"\uD804[\uDD80-\uDDDF]"},{name:"Shavian",astral:"\uD801[\uDC50-\uDC7F]"},{name:"Siddham",astral:"\uD805[\uDD80-\uDDB5\uDDB8-\uDDDD]"},{name:"SignWriting",astral:"\uD836[\uDC00-\uDE8B\uDE9B-\uDE9F\uDEA1-\uDEAF]"},{name:"Sinhala",bmp:"ඁ-ඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲ-෴",astral:"\uD804[\uDDE1-\uDDF4]"},{name:"Sogdian",astral:"\uD803[\uDF30-\uDF59]"},{name:"Sora_Sompeng",astral:"\uD804[\uDCD0-\uDCE8\uDCF0-\uDCF9]"},{name:"Soyombo",astral:"\uD806[\uDE50-\uDEA2]"},{name:"Sundanese",bmp:"ᮀ-ᮿ᳀-᳇"},{name:"Syloti_Nagri",bmp:"ꠀ-꠬"},{name:"Syriac",bmp:"܀-܍܏-݊ݍ-ݏࡠ-ࡪ"},{name:"Tagalog",bmp:"ᜀ-᜕ᜟ"},{name:"Tagbanwa",bmp:"ᝠ-ᝬᝮ-ᝰᝲᝳ"},{name:"Tai_Le",bmp:"ᥐ-ᥭᥰ-ᥴ"},{name:"Tai_Tham",bmp:"ᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪠-᪭"},{name:"Tai_Viet",bmp:"ꪀ-ꫂꫛ-꫟"},{name:"Takri",astral:"\uD805[\uDE80-\uDEB9\uDEC0-\uDEC9]"},{name:"Tamil",bmp:"ஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௺",astral:"\uD807[\uDFC0-\uDFF1\uDFFF]"},{name:"Tangsa",astral:"\uD81A[\uDE70-\uDEBE\uDEC0-\uDEC9]"},{name:"Tangut",astral:"\uD81B\uDFE0|[\uD81C-\uD820][\uDC00-\uDFFF]|\uD821[\uDC00-\uDFF7]|\uD822[\uDC00-\uDEFF]|\uD823[\uDD00-\uDD08]"},{name:"Telugu",bmp:"ఀ-ఌఎ-ఐఒ-నప-హ఼-ౄె-ైొ-్ౕౖౘ-ౚౝౠ-ౣ౦-౯౷-౿"},{name:"Thaana",bmp:"ހ-ޱ"},{name:"Thai",bmp:"ก-ฺเ-๛"},{name:"Tibetan",bmp:"ༀ-ཇཉ-ཬཱ-ྗྙ-ྼ྾-࿌࿎-࿔࿙࿚"},{name:"Tifinagh",bmp:"ⴰ-ⵧⵯ⵰⵿"},{name:"Tirhuta",astral:"\uD805[\uDC80-\uDCC7\uDCD0-\uDCD9]"},{name:"Toto",astral:"\uD838[\uDE90-\uDEAE]"},{name:"Ugaritic",astral:"\uD800[\uDF80-\uDF9D\uDF9F]"},{name:"Vai",bmp:"ꔀ-ꘫ"},{name:"Vithkuqi",astral:"\uD801[\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]"},{name:"Wancho",astral:"\uD838[\uDEC0-\uDEF9\uDEFF]"},{name:"Warang_Citi",astral:"\uD806[\uDCA0-\uDCF2\uDCFF]"},{name:"Yezidi",astral:"\uD803[\uDE80-\uDEA9\uDEAB-\uDEAD\uDEB0\uDEB1]"},{name:"Yi",bmp:"ꀀ-ꒌ꒐-꓆"},{name:"Zanabazar_Square",astral:"\uD806[\uDE00-\uDE47]"}]}),l("luCfq",function(u,t){var e=i("57tcv"),D=e.baselinePosition,r=e.contentDistribution,n=e.contentPosition,a=i("1YbPD"),o=i("3vqAd");let l=Object.assign(a,{pd:"plus-darker",pl:"plus-lighter"});var s=i("ks6uS"),c=i("838OL"),F=c.borderStyles,f=c.borderWidths;let p={...n,se:"self-end",ss:"self-start"},E=u=>Object.keys(u).sort().reduce((t,e)=>(t[e]=u[e],t),{}),C={n:"normal",st:"stretch",...D,...p},m={n:"normal",l:"left",r:"right",s:"stretch",...D,...p};u.exports=[{type:"pattern",name:"Accent color",matcher:"Acc",allowParamToValue:!1,styles:{"accent-color":"$0"},arguments:[s]},{type:"pattern",name:"Align items",matcher:"Ai",allowParamToValue:!1,styles:{"align-items":"$0"},arguments:[E({...C})]},{type:"pattern",name:"Align content",matcher:"Ac",allowParamToValue:!1,styles:{"align-content":"$0"},arguments:[E({n:"normal",...D,...r,...n})]},{type:"pattern",name:"Align self",matcher:"As",allowParamToValue:!1,styles:{"align-self":"$0"},arguments:[E({...C,a:"auto"})]},{type:"pattern",id:"animation",name:"Animation",matcher:"Anim",shorthand:!0,allowParamToValue:!0,styles:{animation:"$0"}},{type:"pattern",id:"animation-delay",name:"Animation delay",matcher:"Animdel",allowParamToValue:!0,styles:{"animation-delay":"$0"}},{type:"pattern",id:"animation-direction",name:"Animation direction",matcher:"Animdir",allowParamToValue:!1,styles:{"animation-direction":"$0"},arguments:[{a:"alternate",ar:"alternate-reverse",n:"normal",r:"reverse"}]},{type:"pattern",id:"animation-duration",name:"Animation duration",matcher:"Animdur",allowParamToValue:!0,styles:{"animation-duration":"$0"}},{type:"pattern",id:"animation-fill-mode",name:"Animation fill mode",matcher:"Animfm",allowParamToValue:!1,styles:{"animation-fill-mode":"$0"},arguments:[{b:"backwards",bo:"both",f:"forwards",n:"none"}]},{type:"pattern",id:"animation-iteration-count",name:"Animation iteration count",matcher:"Animic",allowParamToValue:!0,styles:{"animation-iteration-count":"$0"},arguments:[{i:"infinite"}]},{type:"pattern",id:"animation-name",name:"Animation name",matcher:"Animn",allowParamToValue:!0,styles:{"animation-name":"$0"},arguments:[{n:"none"}]},{type:"pattern",id:"animation-play-state",name:"Animation play state",matcher:"Animps",allowParamToValue:!1,styles:{"animation-play-state":"$0"},arguments:[{p:"paused",r:"running"}]},{type:"pattern",id:"animation-timing-function",name:"Animation timing function",matcher:"Animtf",allowParamToValue:!1,styles:{"animation-timing-function":"$0"},arguments:[{e:"ease",ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",se:"step-end",ss:"step-start"}]},{type:"pattern",name:"Appearance",matcher:"Ap",allowParamToValue:!1,styles:{appearance:"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Aspect ratio",matcher:"Ar",calculatePercentage:!1,allowParamToValue:!1,styles:{"aspect-ratio":"$0"}},{type:"pattern",name:"Border",matcher:"Bd",shorthand:!0,allowParamToValue:!1,styles:{border:"$0"},arguments:[{0:0,n:"none"}]},{type:"pattern",name:"Border X",matcher:"Bdx",allowParamToValue:!1,styles:{"border-__START__":"$0","border-__END__":"$0"}},{type:"pattern",name:"Border Y",matcher:"Bdy",allowParamToValue:!1,styles:{"border-top":"$0","border-bottom":"$0"}},{type:"pattern",name:"Border top",matcher:"Bdt",shorthand:!0,allowParamToValue:!1,styles:{"border-top":"$0"}},{type:"pattern",name:"Border end",matcher:"Bdend",shorthand:!0,allowParamToValue:!1,styles:{"border-__END__":"$0"}},{type:"pattern",name:"Border bottom",matcher:"Bdb",shorthand:!0,allowParamToValue:!1,styles:{"border-bottom":"$0"}},{type:"pattern",name:"Border start",matcher:"Bdstart",shorthand:!0,allowParamToValue:!1,styles:{"border-__START__":"$0"}},{type:"pattern",name:"Border color",matcher:"Bdc",shorthand:!0,allowParamToValue:!0,styles:{"border-color":"$0"},arguments:[s]},{type:"pattern",name:"Border top color",matcher:"Bdtc",allowParamToValue:!0,styles:{"border-top-color":"$0"},arguments:[s]},{type:"pattern",name:"Border end color",matcher:"Bdendc",allowParamToValue:!0,styles:{"border-__END__-color":"$0"},arguments:[s]},{type:"pattern",name:"Border bottom color",matcher:"Bdbc",allowParamToValue:!0,styles:{"border-bottom-color":"$0"},arguments:[s]},{type:"pattern",name:"Border start color",matcher:"Bdstartc",allowParamToValue:!0,styles:{"border-__START__-color":"$0"},arguments:[s]},{type:"pattern",name:"Border spacing",matcher:"Bdsp",allowParamToValue:!0,styles:{"border-spacing":"$0 $1"},arguments:[{i:"inherit"},{i:"inherit"}]},{type:"pattern",name:"Border style",matcher:"Bds",shorthand:!0,allowParamToValue:!1,styles:{"border-style":"$0"},arguments:[F]},{type:"pattern",name:"Border top style",matcher:"Bdts",allowParamToValue:!1,styles:{"border-top-style":"$0"},arguments:[F]},{type:"pattern",name:"Border end style",matcher:"Bdends",allowParamToValue:!1,styles:{"border-__END__-style":"$0"},arguments:[F]},{type:"pattern",name:"Border bottom style",matcher:"Bdbs",allowParamToValue:!1,styles:{"border-bottom-style":"$0"},arguments:[F]},{type:"pattern",name:"Border start style",matcher:"Bdstarts",allowParamToValue:!1,styles:{"border-__START__-style":"$0"},arguments:[F]},{type:"pattern",name:"Border width",matcher:"Bdw",shorthand:!0,allowParamToValue:!0,styles:{"border-width":"$0"},arguments:[f]},{type:"pattern",name:"Border top width",matcher:"Bdtw",allowParamToValue:!0,styles:{"border-top-width":"$0"},arguments:[f]},{type:"pattern",name:"Border end width",matcher:"Bdendw",allowParamToValue:!0,styles:{"border-__END__-width":"$0"},arguments:[f]},{type:"pattern",name:"Border bottom width",matcher:"Bdbw",allowParamToValue:!0,styles:{"border-bottom-width":"$0"},arguments:[f]},{type:"pattern",name:"Border start width",matcher:"Bdstartw",allowParamToValue:!0,styles:{"border-__START__-width":"$0"},arguments:[f]},{type:"pattern",name:"Border radius",matcher:"Bdrs",allowParamToValue:!0,shorthand:!0,styles:{"border-radius":"$0"}},{type:"pattern",name:"Border radius top right",matcher:"Bdrstend",allowParamToValue:!0,styles:{"border-top-__END__-radius":"$0"}},{type:"pattern",name:"Border radius bottom right",matcher:"Bdrsbend",allowParamToValue:!0,styles:{"border-bottom-__END__-radius":"$0"}},{type:"pattern",name:"Border radius bottom left",matcher:"Bdrsbstart",allowParamToValue:!0,styles:{"border-bottom-__START__-radius":"$0"}},{type:"pattern",name:"Border radius top left",matcher:"Bdrststart",allowParamToValue:!0,styles:{"border-top-__START__-radius":"$0"}},{type:"pattern",name:"Backdrop Filter",matcher:"Bkdp",allowParamToValue:!1,styles:{"backdrop-filter":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Backdrop Blur (filter)",matcher:"BkdpBlur",allowParamToValue:!0,styles:{"backdrop-filter":"blur($0)"}},{type:"pattern",name:"Backdrop Brightness (filter)",matcher:"BkdpBrightness",allowParamToValue:!0,styles:{"backdrop-filter":"brightness($0)"}},{type:"pattern",name:"Backdrop Contrast (filter)",matcher:"BkdpContrast",allowParamToValue:!0,styles:{"backdrop-filter":"contrast($0)"}},{type:"pattern",name:"Backdrop Drop shadow (filter)",matcher:"BkdpDropshadow",allowParamToValue:!1,styles:{"backdrop-filter":"drop-shadow($0)"}},{type:"pattern",name:"Backdrop Grayscale (filter)",matcher:"BkdpGrayscale",allowParamToValue:!0,styles:{"backdrop-filter":"grayscale($0)"}},{type:"pattern",name:"Backdrop Hue Rotate (filter)",matcher:"BkdpHueRotate",allowParamToValue:!0,styles:{"backdrop-filter":"hue-rotate($0)"}},{type:"pattern",name:"Backdrop Invert (filter)",matcher:"BkdpInvert",allowParamToValue:!0,styles:{"backdrop-filter":"invert($0)"}},{type:"pattern",name:"Backdrop Opacity (filter)",matcher:"BkdpOpacity",allowParamToValue:!0,styles:{"backdrop-filter":"opacity($0)"}},{type:"pattern",name:"Backdrop Saturate (filter)",matcher:"BkdpSaturate",allowParamToValue:!0,styles:{"backdrop-filter":"saturate($0)"}},{type:"pattern",name:"Backdrop Sepia (filter)",matcher:"BkdpSepia",allowParamToValue:!0,styles:{"backdrop-filter":"sepia($0)"}},{type:"pattern",name:"Background",matcher:"Bg",shorthand:!0,allowParamToValue:!1,styles:{background:"$0"},arguments:[{n:"none",t:"transparent"}]},{type:"pattern",name:"Background blend mode",matcher:"Bgbm",allowParamToValue:!1,styles:{"background-blend-mode":"$0"},arguments:[a]},{type:"pattern",name:"Background image",matcher:"Bgi",allowParamToValue:!1,styles:{"background-image":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Background color",matcher:"Bgc",allowParamToValue:!0,styles:{"background-color":"$0"},arguments:[s]},{type:"pattern",name:"Background clip",matcher:"Bgcp",allowParamToValue:!1,styles:{"background-clip":"$0"},arguments:[{bb:"border-box",cb:"content-box",pb:"padding-box"}]},{type:"pattern",name:"Background origin",matcher:"Bgo",allowParamToValue:!1,styles:{"background-origin":"$0"},arguments:[{bb:"border-box",cb:"content-box",pb:"padding-box"}]},{type:"pattern",name:"Background size",matcher:"Bgz",allowParamToValue:!0,styles:{"background-size":"$0"},arguments:[{a:"auto",ct:"contain",cv:"cover"}]},{type:"pattern",name:"Background attachment",matcher:"Bga",allowParamToValue:!1,styles:{"background-attachment":"$0"},arguments:[{f:"fixed",l:"local",s:"scroll"}]},{type:"pattern",name:"Background position",matcher:"Bgp",allowParamToValue:!0,styles:{"background-position":"$0 $1"},arguments:[{start_t:"__START__ 0",end_t:"__END__ 0",start_b:"__START__ 100%",end_b:"__END__ 100%",start_c:"__START__ center",end_c:"__END__ center",c_b:"center 100%",c_t:"center 0",c:"center"}]},{type:"pattern",name:"Background position (X axis)",matcher:"Bgpx",allowParamToValue:!0,styles:{"background-position-x":"$0"},arguments:[{start:"__START__",end:"__END__",c:"50%"}]},{type:"pattern",name:"Background position (Y axis)",matcher:"Bgpy",allowParamToValue:!0,styles:{"background-position-y":"$0"},arguments:[{t:"0",b:"100%",c:"50%"}]},{type:"pattern",name:"Background repeat",matcher:"Bgr",allowParamToValue:!1,styles:{"background-repeat":"$0"},arguments:[{nr:"no-repeat",rx:"repeat-x",ry:"repeat-y",r:"repeat",s:"space",ro:"round"}]},{type:"pattern",name:"Border collapse",matcher:"Bdcl",allowParamToValue:!1,styles:{"border-collapse":"$0"},arguments:[{c:"collapse",s:"separate"}]},{type:"pattern",name:"Box decoration break",matcher:"Bxdb",allowParamToValue:!1,styles:{"box-decoration-break":"$0"},arguments:[{c:"clone",s:"slice"}]},{type:"pattern",name:"Box sizing",matcher:"Bxz",allowParamToValue:!1,styles:{"box-sizing":"$0"},arguments:[{cb:"content-box",pb:"padding-box",bb:"border-box"}]},{type:"pattern",name:"Box shadow",matcher:"Bxsh",allowParamToValue:!1,styles:{"box-shadow":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Break after",matcher:"Ba",allowParamToValue:!1,styles:{"break-after":"$0"},arguments:[o]},{type:"pattern",name:"Break before",matcher:"Bb",allowParamToValue:!1,styles:{"break-before":"$0"},arguments:[o]},{type:"pattern",name:"Break inside",matcher:"Bi",allowParamToValue:!1,styles:{"break-inside":"$0"},arguments:[{a:"auto",av:"avoid",avc:"avoid-column",avp:"avoid-page"}]},{type:"pattern",name:"Caret color",matcher:"Cac",allowParamToValue:!1,styles:{"caret-color":"$0"},arguments:[{a:"auto",...s}]},{type:"pattern",name:"Clear",matcher:"Cl",allowParamToValue:!1,styles:{clear:"$0"},arguments:[{n:"none",b:"both",start:"__START__",end:"__END__"}]},{type:"pattern",name:"Clip path",matcher:"Cp",allowParamToValue:!1,styles:{"clip-path":"$0"},arguments:[{bb:"border-box",cb:"content-box",fb:"fill-box",mb:"margin-box",n:"none",pb:"padding-box",sb:"stroke-box",vb:"view-box"}]},{type:"pattern",name:"Color",matcher:"C",allowParamToValue:!0,styles:{color:"$0"},arguments:[s]},{type:"pattern",name:"Columns",matcher:"Colm",allowParamToValue:!0,styles:{columns:"$0"}},{type:"pattern",name:"Column count",matcher:"Colmc",allowParamToValue:!0,styles:{"column-count":"$0"}},{type:"pattern",name:"Column fill",matcher:"Colmf",allowParamToValue:!1,shorthand:!0,styles:{"column-fill":"$0"},arguments:[{a:"auto",b:"balance"}]},{type:"pattern",name:"Column gap",matcher:"Colmg",allowParamToValue:!0,styles:{"column-gap":"$0"},arguments:[{n:"normal"}]},{type:"pattern",name:"Column rule",matcher:"Colmr",allowParamToValue:!0,styles:{"column-rule":"$0"}},{type:"pattern",name:"Column rule color",matcher:"Colmrc",noParams:!1,styles:{"column-rule-color":"$0"}},{type:"pattern",name:"Column rule style",matcher:"Colmrs",allowParamToValue:!1,shorthand:!0,styles:{"column-rule-style":"$0"},arguments:[F]},{type:"pattern",name:"Column rule width",matcher:"Colmrw",styles:{"column-rule-width":"$0"}},{type:"pattern",name:"Column span",matcher:"Colms",allowParamToValue:!1,shorthand:!0,styles:{"column-span":"$0"},arguments:[{a:"all",n:"none"}]},{type:"pattern",name:"Column width",matcher:"Colmw",allowParamToValue:!0,styles:{"column-width":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Contain",matcher:"Ctn",allowParamToValue:!1,styles:{contain:"$0"},arguments:[{n:"none",st:"strict",c:"content",z:"size",l:"layout",s:"style",p:"paint"}]},{type:"pattern",name:"Container Name",matcher:"ContName",allowParamToValue:!0,styles:{"container-name":"$0"}},{type:"pattern",name:"Container Type",matcher:"ContType",allowParamToValue:!1,styles:{"container-type":"$0"},arguments:[{is:"inline-size",n:"none",nor:"normal",s:"size"}]},{type:"pattern",name:"Content",matcher:"Cnt",allowParamToValue:!0,styles:{content:"$0"},arguments:[{n:"none",nor:"normal",oq:"open-quote",cq:"close-quote",noq:"no-open-quote",ncq:"no-close-quote"}]},{type:"pattern",name:"Cursor",matcher:"Cur",allowParamToValue:!1,styles:{cursor:"$0"},arguments:[{a:"auto",as:"all-scroll",c:"cell",cr:"col-resize",co:"copy",cro:"crosshair",d:"default",er:"e-resize",ewr:"ew-resize",g:"grab",gr:"grabbing",h:"help",m:"move",n:"none",nd:"no-drop",na:"not-allowed",nr:"n-resize",ner:"ne-resize",neswr:"nesw-resize",nwser:"nwse-resize",nsr:"ns-resize",nwr:"nw-resize",p:"pointer",pr:"progress",rr:"row-resize",sr:"s-resize",ser:"se-resize",swr:"sw-resize",t:"text",vt:"vertical-text",w:"wait",wr:"w-resize",zi:"zoom-in",zo:"zoom-out"}]},{type:"pattern",name:"Display",matcher:"D",allowParamToValue:!1,styles:{display:"$0"},arguments:[{n:"none",b:"block",f:"flex",g:"grid",i:"inline",ib:"inline-block",if:"inline-flex",ig:"inline-grid",tb:"table",tbr:"table-row",tbc:"table-cell",li:"list-item",ri:"run-in",cp:"compact",itb:"inline-table",tbcl:"table-column",tbclg:"table-column-group",tbhg:"table-header-group",tbfg:"table-footer-group",tbrg:"table-row-group"}]},{type:"pattern",name:"Filter",matcher:"Fil",allowParamToValue:!1,styles:{filter:"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Blur (filter)",matcher:"Blur",allowParamToValue:!0,styles:{filter:"blur($0)"}},{type:"pattern",name:"Brightness (filter)",matcher:"Brightness",allowParamToValue:!0,styles:{filter:"brightness($0)"}},{type:"pattern",name:"Contrast (filter)",matcher:"Contrast",allowParamToValue:!0,styles:{filter:"contrast($0)"}},{type:"pattern",name:"Drop shadow (filter)",matcher:"Dropshadow",allowParamToValue:!1,styles:{filter:"drop-shadow($0)"}},{type:"pattern",name:"Grayscale (filter)",matcher:"Grayscale",allowParamToValue:!0,styles:{filter:"grayscale($0)"}},{type:"pattern",name:"Hue Rotate (filter)",matcher:"HueRotate",allowParamToValue:!0,styles:{filter:"hue-rotate($0)"}},{type:"pattern",name:"Invert (filter)",matcher:"Invert",allowParamToValue:!0,styles:{filter:"invert($0)"}},{type:"pattern",name:"Opacity (filter)",matcher:"Opacity",allowParamToValue:!0,styles:{filter:"opacity($0)"}},{type:"pattern",name:"Saturate (filter)",matcher:"Saturate",allowParamToValue:!0,styles:{filter:"saturate($0)"}},{type:"pattern",name:"Sepia (filter)",matcher:"Sepia",allowParamToValue:!0,styles:{filter:"sepia($0)"}},{type:"pattern",name:"Flex (deprecated)",matcher:"Flx",shorthand:!0,allowParamToValue:!1,styles:{flex:"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Flex",matcher:"Fx",shorthand:!0,allowParamToValue:!1,styles:{flex:"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Flex grow (deprecated)",matcher:"Flxg",allowParamToValue:!0,styles:{"flex-grow":"$0"}},{type:"pattern",name:"Flex grow",matcher:"Fxg",allowParamToValue:!0,styles:{"flex-grow":"$0"}},{type:"pattern",name:"Flex shrink (deprecated)",matcher:"Flxs",allowParamToValue:!0,styles:{"flex-shrink":"$0"}},{type:"pattern",name:"Flex shrink",matcher:"Fxs",allowParamToValue:!0,styles:{"flex-shrink":"$0"}},{type:"pattern",name:"Flex basis (deprecated)",matcher:"Flxb",allowParamToValue:!0,styles:{"flex-basis":"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Flex basis",matcher:"Fxb",allowParamToValue:!0,styles:{"flex-basis":"$0"},arguments:[{a:"auto",n:"none"}]},{type:"pattern",name:"Flex direction (deprecated)",matcher:"Fld",allowParamToValue:!1,styles:{"flex-direction":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse"}]},{type:"pattern",name:"Flex direction",matcher:"Fxd",allowParamToValue:!1,styles:{"flex-direction":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse"}]},{type:"pattern",name:"Flex flow (deprecated)",matcher:"Flf",shorthand:!0,allowParamToValue:!1,styles:{"flex-flow":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse",nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Flex flow",matcher:"Fxf",allowParamToValue:!1,styles:{"flex-flow":"$0"},arguments:[{r:"row",rr:"row-reverse",c:"column",cr:"column-reverse",nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Grid Area",matcher:"Ga",allowParamToValue:!1,styles:{"grid-area":"$0"}},{type:"pattern",name:"Grid Auto Columns",matcher:"Gac",allowParamToValue:!0,styles:{"grid-auto-columns":"$0"},arguments:[{a:"auto",mc:"min-content",ma:"max-content"}]},{type:"pattern",name:"Grid Auto Flow",matcher:"Gaf",allowParamToValue:!1,styles:{"grid-auto-flow":"$0"},arguments:[{c:"column",d:"dense",cd:"column dense",r:"row",rd:"row dense"}]},{type:"pattern",name:"Grid Auto Rows",matcher:"Gar",allowParamToValue:!0,styles:{"grid-auto-rows":"$0"},arguments:[{a:"auto",mc:"min-content",ma:"max-content"}]},{type:"pattern",name:"Grid Column",matcher:"Gc",allowParamToValue:!0,styles:{"grid-column":"$0"}},{type:"pattern",name:"Grid Column End",matcher:"Gce",allowParamToValue:!0,styles:{"grid-column-end":"$0"}},{type:"pattern",name:"Grid Column Start",matcher:"Gcs",allowParamToValue:!0,styles:{"grid-column-start":"$0"}},{type:"pattern",name:"Grid Row",matcher:"Gr",allowParamToValue:!0,styles:{"grid-row":"$0"}},{type:"pattern",name:"Grid Row End",matcher:"Gre",allowParamToValue:!0,styles:{"grid-row-end":"$0"}},{type:"pattern",name:"Grid Row Start",matcher:"Grs",allowParamToValue:!0,styles:{"grid-row-start":"$0"}},{type:"pattern",name:"Grid Template",matcher:"Gt",allowParamToValue:!1,styles:{"grid-template":"$0"}},{type:"pattern",name:"Grid Template Areas",matcher:"Gta",allowParamToValue:!1,styles:{"grid-template-areas":"$0"}},{type:"pattern",name:"Grid Template Columns",matcher:"Gtc",allowParamToValue:!1,styles:{"grid-template-columns":"$0"}},{type:"pattern",name:"Grid Template Rows",matcher:"Gtr",allowParamToValue:!1,styles:{"grid-template-rows":"$0"}},{type:"pattern",name:"Order",matcher:"Or",allowParamToValue:!0,styles:{order:"$0"}},{type:"pattern",name:"Justify content",matcher:"Jc",allowParamToValue:!1,styles:{"justify-content":"$0"},arguments:[E({n:"normal",l:"left",r:"right",...r,...n})]},{type:"pattern",name:"Justify items",matcher:"Ji",allowParamToValue:!1,styles:{"justify-items":"$0"},arguments:[E({...m})]},{type:"pattern",name:"Justify self",matcher:"Js",allowParamToValue:!1,styles:{"justify-self":"$0"},arguments:[E({...m,a:"auto"})]},{type:"pattern",name:"Flex-wrap (deprecated)",matcher:"Flw",allowParamToValue:!1,styles:{"flex-wrap":"$0"},arguments:[{nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Flex-wrap",matcher:"Fxw",allowParamToValue:!1,styles:{"flex-wrap":"$0"},arguments:[{nw:"nowrap",w:"wrap",wr:"wrap-reverse"}]},{type:"pattern",name:"Float",allowParamToValue:!1,matcher:"Fl",styles:{float:"$0"},arguments:[{n:"none",start:"__START__",end:"__END__"}]},{type:"pattern",name:"Font family",matcher:"Ff",allowParamToValue:!1,styles:{"font-family":"$0"},arguments:[{c:'"Monotype Corsiva", "Comic Sans MS", cursive',f:"Capitals, Impact, fantasy",m:'Monaco, "Courier New", monospace',s:'Georgia, "Times New Roman", serif',ss:"Helvetica, Arial, sans-serif"}]},{type:"pattern",name:"Font weight",matcher:"Fw",allowParamToValue:!1,styles:{"font-weight":"$0"},arguments:[{100:"100",200:"200",300:"300",400:"400",500:"500",600:"600",700:"700",800:"800",900:"900",b:"bold",br:"bolder",lr:"lighter",n:"normal"}]},{type:"pattern",name:"Font kerning",matcher:"Fk",allowParamToValue:!1,styles:{"font-kerning":"$0"},arguments:[{a:"auto",n:"none",nor:"normal"}]},{type:"pattern",name:"Font size",matcher:"Fz",allowParamToValue:!0,styles:{"font-size":"$0"}},{type:"pattern",name:"Font stretch",matcher:"Fst",allowParamToValue:!0,styles:{"font-stretch":"$0"},arguments:[{uc:"ultra-condensed",ec:"extra-condensed",c:"condensed",sc:"semi-condensed",n:"normal",se:"semi-expanded",e:"expanded",ee:"extra-expanded",ue:"ultra-expanded"}]},{type:"pattern",name:"Font style",matcher:"Fs",allowParamToValue:!1,styles:{"font-style":"$0"},arguments:[{n:"normal",i:"italic",o:"oblique"}]},{type:"pattern",name:"Font variant",matcher:"Fv",allowParamToValue:!1,styles:{"font-variant":"$0"},arguments:[{n:"normal",sc:"small-caps"}]},{type:"pattern",name:"Gap",matcher:"Gp",allowParamToValue:!0,styles:{gap:"$0"}},{type:"pattern",name:"Row Gap",matcher:"Rowg",allowParamToValue:!0,styles:{"row-gap":"$0"}},{type:"pattern",name:"Height",matcher:"H",allowParamToValue:!0,styles:{height:"$0"},arguments:[{0:"0",a:"auto",av:"available",bb:"border-box",cb:"content-box",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Hyphens",matcher:"Hy",allowParamToValue:!1,styles:{hyphens:"$0"},arguments:[{a:"auto",n:"normal",m:"manual"}]},{type:"pattern",name:"Image orientation",matcher:"Ior",allowParamToValue:!1,styles:{"image-orientation":"$0"},arguments:[{fi:"from-image",n:"none"}]},{type:"pattern",name:"Image rendering",matcher:"Iren",allowParamToValue:!1,styles:{"image-rendering":"$0"},arguments:[{a:"auto",ce:"crisp-edges",p:"pixelated"}]},{type:"pattern",name:"Inset",matcher:"In",allowParamToValue:!0,styles:{inset:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Isolation",matcher:"Iso",allowParamToValue:!1,styles:{isolation:"$0"},arguments:[{a:"auto",i:"isolate"}]},{type:"pattern",name:"Letter spacing",matcher:"Lts",allowParamToValue:!0,styles:{"letter-spacing":"$0"},arguments:[{n:"normal"}]},{type:"pattern",name:"List style type",matcher:"List",allowParamToValue:!1,styles:{"list-style-type":"$0"},arguments:[{n:"none",d:"disc",c:"circle",s:"square",dc:"decimal",dclz:"decimal-leading-zero",lr:"lower-roman",lg:"lower-greek",ll:"lower-latin",ur:"upper-roman",ul:"upper-latin",a:"armenian",g:"georgian",la:"lower-alpha",ua:"upper-alpha"}]},{type:"pattern",name:"List style position",matcher:"Lisp",allowParamToValue:!1,styles:{"list-style-position":"$0"},arguments:[{i:"inside",o:"outside"}]},{type:"pattern",name:"List style image",matcher:"Lisi",allowParamToValue:!1,styles:{"list-style-image":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Line height",matcher:"Lh",allowParamToValue:!0,styles:{"line-height":"$0"},arguments:[{n:"normal"}]},{type:"pattern",name:"Margin (all edges)",matcher:"M",shorthand:!0,allowParamToValue:!0,styles:{margin:"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin (X axis)",matcher:"Mx",allowParamToValue:!0,styles:{"margin-__START__":"$0","margin-__END__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin (Y axis)",matcher:"My",allowParamToValue:!0,styles:{"margin-top":"$0","margin-bottom":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin top",matcher:"Mt",allowParamToValue:!0,styles:{"margin-top":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin end",matcher:"Mend",allowParamToValue:!0,styles:{"margin-__END__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin bottom",matcher:"Mb",allowParamToValue:!0,styles:{"margin-bottom":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Margin start",matcher:"Mstart",allowParamToValue:!0,styles:{"margin-__START__":"$0"},arguments:[{0:"0",a:"auto"}]},{type:"pattern",name:"Max height",matcher:"Mah",allowParamToValue:!0,styles:{"max-height":"$0"},arguments:[{a:"auto",maxc:"max-content",minc:"min-content",fa:"fill-available",fc:"fit-content"}]},{type:"pattern",name:"Max width",matcher:"Maw",allowParamToValue:!0,styles:{"max-width":"$0"},arguments:[{n:"none",fa:"fill-available",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Min height",matcher:"Mih",allowParamToValue:!0,styles:{"min-height":"$0"},arguments:[{a:"auto",fa:"fill-available",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Min width",matcher:"Miw",allowParamToValue:!0,styles:{"min-width":"$0"},arguments:[{a:"auto",fa:"fill-available",fc:"fit-content",maxc:"max-content",minc:"min-content"}]},{type:"pattern",name:"Mix blend mode",matcher:"Mbm",allowParamToValue:!1,styles:{"mix-blend-mode":"$0"},arguments:[l]},{type:"pattern",name:"Object fit",matcher:"Objf",allowParamToValue:!1,styles:{"object-fit":"$0"},arguments:[{ct:"contain",cv:"cover",f:"fill",n:"none",sd:"scale-down"}]},{type:"pattern",name:"Object position",matcher:"Objp",allowParamToValue:!0,styles:{"object-position":"$0 $1"},arguments:[{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"}]},{type:"pattern",name:"Orphans",matcher:"Orp",allowParamToValue:!0,styles:{orphans:"$0"}},{type:"pattern",name:"Outline",matcher:"O",shorthand:!0,allowParamToValue:!1,styles:{outline:"$0"},arguments:[{0:"0",n:"none"}]},{type:"pattern",name:"Outline-color",matcher:"Oc",allowParamToValue:!0,styles:{"outline-color":"$0"},arguments:[s]},{type:"pattern",name:"Outline-offset",matcher:"Oo",shorthand:!0,allowParamToValue:!0,styles:{"outline-offset":"$0"}},{type:"pattern",name:"Outline-style",matcher:"Os",allowParamToValue:!1,styles:{"outline-style":"$0"},arguments:[F]},{type:"pattern",name:"Outline-width",matcher:"Ow",allowParamToValue:!0,styles:{"outline-width":"$0"},arguments:[f]},{type:"pattern",name:"Top",matcher:"T",allowParamToValue:!0,styles:{top:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"End",matcher:"End",allowParamToValue:!0,styles:{__END__:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Bottom",matcher:"B",allowParamToValue:!0,styles:{bottom:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Start",matcher:"Start",allowParamToValue:!0,styles:{__START__:"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Opacity",matcher:"Op",allowParamToValue:!0,styles:{opacity:"$0"},arguments:[{0:"0",1:"1"}]},{type:"pattern",name:"Overflow",matcher:"Ov",shorthand:!0,allowParamToValue:!1,styles:{overflow:"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow (X axis)",matcher:"Ovx",allowParamToValue:!1,styles:{"overflow-x":"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow (Y axis)",matcher:"Ovy",allowParamToValue:!1,styles:{"overflow-y":"$0"},arguments:[{a:"auto",h:"hidden",s:"scroll",v:"visible"}]},{type:"pattern",name:"Overflow scrolling",matcher:"Ovs",allowParamToValue:!1,styles:{"-webkit-overflow-scrolling":"$0"},arguments:[{a:"auto",touch:"touch"}]},{type:"pattern",name:"Padding (all edges)",matcher:"P",shorthand:!0,allowParamToValue:!0,styles:{padding:"$0"}},{type:"pattern",name:"Padding (X axis)",matcher:"Px",allowParamToValue:!0,styles:{"padding-__START__":"$0","padding-__END__":"$0"}},{type:"pattern",name:"Padding (Y axis)",matcher:"Py",allowParamToValue:!0,styles:{"padding-top":"$0","padding-bottom":"$0"}},{type:"pattern",name:"Padding top",matcher:"Pt",allowParamToValue:!0,styles:{"padding-top":"$0"}},{type:"pattern",name:"Padding end",matcher:"Pend",allowParamToValue:!0,styles:{"padding-__END__":"$0"}},{type:"pattern",name:"Padding bottom",matcher:"Pb",allowParamToValue:!0,styles:{"padding-bottom":"$0"}},{type:"pattern",name:"Padding start",matcher:"Pstart",allowParamToValue:!0,styles:{"padding-__START__":"$0"}},{type:"pattern",name:"Place content",matcher:"Pc",allowParamToValue:!1,styles:{"place-content":"$0 $1"},arguments:[E({...D,...r,...n}),E({n:"normal",l:"left",r:"right",...r,...n})]},{type:"pattern",name:"Place items",matcher:"Pi",allowParamToValue:!1,styles:{"place-items":"$0 $1"},arguments:[E({...C}),E({...m})]},{type:"pattern",name:"Place self",matcher:"Ps",allowParamToValue:!1,styles:{"place-self":"$0 $1"},arguments:[E({...C,a:"auto"}),E({...m,a:"auto"})]},{type:"pattern",name:"Pointer events",matcher:"Pe",allowParamToValue:!1,styles:{"pointer-events":"$0"},arguments:[{a:"auto",all:"all",f:"fill",n:"none",p:"painted",s:"stroke",v:"visible",vf:"visibleFill",vp:"visiblePainted",vs:"visibleStroke"}]},{type:"pattern",name:"Position",matcher:"Pos",allowParamToValue:!1,styles:{position:"$0"},arguments:[{a:"absolute",f:"fixed",r:"relative",s:"static",st:"sticky"}]},{type:"pattern",name:"Print color adjust",matcher:"Pca",styles:{"print-color-adjust":"$0"},arguments:[{ec:"economy",ex:"exact"}]},{type:"pattern",name:"Resize",matcher:"Rsz",allowParamToValue:!1,styles:{resize:"$0"},arguments:[{n:"none",b:"both",h:"horizontal",v:"vertical"}]},{type:"pattern",name:"Scroll Behavior",matcher:"Sb",allowParamToValue:!1,styles:{"scroll-behavior":"$0"},arguments:[{a:"auto",s:"smooth"}]},{type:"pattern",name:"Scroll Snap Align",matcher:"Ssa",allowParamToValue:!1,styles:{"scroll-snap-align":"$0"},arguments:[{c:"center",c_e:"center end",c_n:"center none",c_s:"center start",e:"end",e_c:"end center",e_n:"end none",e_s:"end start",n:"none",n_c:"none center",n_e:"none end",n_s:"none start",s:"start",s_c:"start center",s_n:"start none",s_e:"start end"}]},{type:"pattern",name:"Scroll Snap Type",matcher:"Sst",allowParamToValue:!1,styles:{"scroll-snap-type":"$0"},arguments:[{b:"block",b_m:"block mandatory",b_p:"block proximity",bo:"both",bo_m:"both mandatory",bo_p:"both proximity",i:"inline",i_m:"inline mandatory",i_p:"inline proximity",n:"none",x:"x",x_m:"x mandatory",x_p:"x proximity",y:"y",y_m:"y mandatory",y_p:"y proximity"}]},{type:"pattern",name:"Scroll Snap Stop",matcher:"Sss",allowParamToValue:!1,styles:{"scroll-snap-stop":"$0"},arguments:[{a:"always",n:"normal"}]},{type:"pattern",name:"Scroll margin (all edges)",matcher:"Sm",shorthand:!0,allowParamToValue:!0,styles:{"scroll-margin":"$0"}},{type:"pattern",name:"Scroll margin (X axis)",matcher:"Smx",allowParamToValue:!0,styles:{"scroll-margin-__START__":"$0","scroll-margin-__END__":"$0"}},{type:"pattern",name:"Scroll margin (Y axis)",matcher:"Smy",allowParamToValue:!0,styles:{"scroll-margin-top":"$0","scroll-margin-bottom":"$0"}},{type:"pattern",name:"Scroll margin top",matcher:"Smt",allowParamToValue:!0,styles:{"scroll-margin-top":"$0"}},{type:"pattern",name:"Scroll margin end",matcher:"Smend",allowParamToValue:!0,styles:{"scroll-margin-__END__":"$0"}},{type:"pattern",name:"Scroll margin bottom",matcher:"Smb",allowParamToValue:!0,styles:{"scroll-margin-bottom":"$0"}},{type:"pattern",name:"Scroll margin start",matcher:"Smstart",allowParamToValue:!0,styles:{"scroll-margin-__START__":"$0"}},{type:"pattern",name:"Scroll padding (all edges)",matcher:"Sp",shorthand:!0,allowParamToValue:!0,styles:{"scroll-padding":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Scroll padding (X axis)",matcher:"Spx",allowParamToValue:!0,styles:{"scroll-padding-__START__":"$0","scroll-padding-__END__":"$0"}},{type:"pattern",name:"Scroll padding (Y axis)",matcher:"Spy",allowParamToValue:!0,styles:{"scroll-padding-top":"$0","scroll-padding-bottom":"$0"}},{type:"pattern",name:"Scroll padding top",matcher:"Spt",allowParamToValue:!0,styles:{"scroll-padding-top":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Scroll padding end",matcher:"Spend",allowParamToValue:!0,styles:{"scroll-padding-__END__":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Scroll padding bottom",matcher:"Spb",allowParamToValue:!0,styles:{"scroll-padding-bottom":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Scroll padding start",matcher:"Spstart",allowParamToValue:!0,styles:{"scroll-padding-__START__":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Table layout",matcher:"Tbl",allowParamToValue:!1,styles:{"table-layout":"$0"},arguments:[{a:"auto",f:"fixed"}]},{type:"pattern",name:"Text align",matcher:"Ta",allowParamToValue:!1,styles:{"text-align":"$0"},arguments:[{c:"center",e:"end",end:"__END__",j:"justify",mp:"match-parent",s:"start",start:"__START__"}]},{type:"pattern",name:"Text align last",matcher:"Tal",allowParamToValue:!1,styles:{"text-align-last":"$0"},arguments:[{a:"auto",c:"center",e:"end",end:"__END__",j:"justify",s:"start",start:"__START__"}]},{type:"pattern",name:"Text decoration",matcher:"Td",shorthand:!0,allowParamToValue:!1,styles:{"text-decoration":"$0"},arguments:[{lt:"line-through",n:"none",o:"overline",u:"underline"}]},{type:"pattern",name:"Text decoration color",matcher:"Tdc",allowParamToValue:!1,styles:{"text-decoration-color":"$0"},arguments:[s]},{type:"pattern",name:"Text decoration style",matcher:"Tds",allowParamToValue:!1,styles:{"text-decoration-style":"$0"},arguments:[{d:"dotted",da:"dashed",do:"double",s:"solid",w:"wavy"}]},{type:"pattern",name:"Text decoration thickness",matcher:"Tdt",allowParamToValue:!0,styles:{"text-decoration-thickness":"$0"},arguments:[{a:"auto",ff:"from-font"}]},{type:"pattern",name:"Text underline offset",matcher:"Tuo",allowParamToValue:!0,styles:{"text-underline-offset":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Text indent",matcher:"Ti",allowParamToValue:!0,styles:{"text-indent":"$0"}},{type:"pattern",name:"Text overflow",matcher:"Tov",allowParamToValue:!1,styles:{"text-overflow":"$0"},arguments:[{c:"clip",e:"ellipsis"}]},{type:"pattern",name:"Text rendering",matcher:"Tren",allowParamToValue:!1,styles:{"text-rendering":"$0"},arguments:[{a:"auto",os:"optimizeSpeed",ol:"optimizeLegibility",gp:"geometricPrecision"}]},{type:"pattern",name:"Text replace",matcher:"Tr",allowParamToValue:!1,styles:{"text-replace":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Text transform",matcher:"Tt",allowParamToValue:!1,styles:{"text-transform":"$0"},arguments:[{n:"none",c:"capitalize",u:"uppercase",l:"lowercase"}]},{type:"pattern",name:"Text shadow",matcher:"Tsh",allowParamToValue:!1,styles:{"text-shadow":"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Touch action",matcher:"Tcha",allowParamToValue:!1,styles:{"touch-action":"$0"},arguments:[{a:"auto",m:"manipulation",n:"none",pd:"pan-down",pl:"pan-left",pr:"pan-right",pu:"pan-up",px:"pan-x",py:"pan-y",pz:"pinch-zoom"}]},{type:"pattern",name:"Transform",matcher:"Trf",allowParamToValue:!1,styles:{transform:"$0"}},{type:"pattern",name:"Transform origin",matcher:"Trfo",allowParamToValue:!0,styles:{"transform-origin":"$0 $1"},arguments:[{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"},{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"}]},{type:"pattern",name:"Transform style",matcher:"Trfs",allowParamToValue:!1,styles:{"transform-style":"$0"},arguments:[{f:"flat",p:"preserve-3d"}]},{type:"pattern",name:"Perspective",matcher:"Prs",allowParamToValue:!0,styles:{perspective:"$0"},arguments:[{n:"none"}]},{type:"pattern",name:"Perspective origin",matcher:"Prso",allowParamToValue:!0,styles:{"perspective-origin":"$0 $1"},arguments:[{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"},{t:"top",end:"__END__",bottom:"bottom",start:"__START__",c:"center"}]},{type:"pattern",name:"Backface visibility",matcher:"Bfv",allowParamToValue:!1,styles:{"backface-visibility":"$0"},arguments:[{h:"hidden",v:"visible"}]},{type:"pattern",name:"Matrix (transform)",matcher:"Matrix",allowParamToValue:!1,styles:{transform:"matrix($0)"}},{type:"pattern",name:"Matrix 3d (transform)",matcher:"Matrix3d",allowParamToValue:!1,styles:{transform:"matrix($0)"}},{type:"pattern",name:"Rotate (transform)",matcher:"Rotate",allowParamToValue:!0,styles:{transform:"rotate($0)"}},{type:"pattern",name:"Rotate 3d (transform)",matcher:"Rotate3d",allowParamToValue:!0,styles:{transform:"rotate3d($0,$1,$2,$3)"}},{type:"pattern",name:"RotateX (transform)",matcher:"RotateX",allowParamToValue:!0,styles:{transform:"rotateX($0)"}},{type:"pattern",name:"RotateY (transform)",matcher:"RotateY",allowParamToValue:!0,styles:{transform:"rotateY($0)"}},{type:"pattern",name:"RotateZ (transform)",matcher:"RotateZ",allowParamToValue:!0,styles:{transform:"rotateZ($0)"}},{type:"pattern",name:"Scale (transform)",matcher:"Scale",allowParamToValue:!0,styles:{transform:"scale($0,$1)"}},{type:"pattern",name:"Scale 3d (transform)",matcher:"Scale3d",allowParamToValue:!0,styles:{transform:"scale3d($0,$1,$2)"}},{type:"pattern",name:"ScaleX (transform)",matcher:"ScaleX",allowParamToValue:!0,styles:{transform:"scaleX($0)"}},{type:"pattern",name:"ScaleY (transform)",matcher:"ScaleY",allowParamToValue:!0,styles:{transform:"scaleY($0)"}},{type:"pattern",name:"Skew (transform)",matcher:"Skew",allowParamToValue:!0,styles:{transform:"skew($0,$1)"}},{type:"pattern",name:"SkewX (transform)",matcher:"SkewX",allowParamToValue:!0,styles:{transform:"skewX($0)"}},{type:"pattern",name:"SkewY (transform)",matcher:"SkewY",allowParamToValue:!0,styles:{transform:"skewY($0)"}},{type:"pattern",name:"Translate (transform)",matcher:"Translate",allowParamToValue:!0,styles:{transform:"translate($0,$1)"}},{type:"pattern",name:"Translate 3d (transform)",matcher:"Translate3d",allowParamToValue:!0,styles:{transform:"translate3d($0,$1,$2)"}},{type:"pattern",name:"Translate X (transform)",matcher:"TranslateX",allowParamToValue:!0,styles:{transform:"translateX($0)"}},{type:"pattern",name:"Translate Y (transform)",matcher:"TranslateY",allowParamToValue:!0,styles:{transform:"translateY($0)"}},{type:"pattern",name:"Translate Z (transform)",matcher:"TranslateZ",allowParamToValue:!0,styles:{transform:"translateZ($0)"}},{type:"pattern",name:"Transition",matcher:"Trs",shorthand:!0,allowParamToValue:!1,styles:{transition:"$0"}},{type:"pattern",name:"Transition delay",matcher:"Trsde",allowParamToValue:!0,styles:{"transition-delay":"$0"},arguments:[{i:"initial"}]},{type:"pattern",name:"Transition duration",matcher:"Trsdu",allowParamToValue:!0,styles:{"transition-duration":"$0"}},{type:"pattern",name:"Transition property",matcher:"Trsp",allowParamToValue:!1,styles:{"transition-property":"$0"},arguments:[{a:"all"}]},{type:"pattern",name:"Transition timing function",matcher:"Trstf",allowParamToValue:!1,styles:{"transition-timing-function":"$0"},arguments:[{e:"ease",ei:"ease-in",eo:"ease-out",eio:"ease-in-out",l:"linear",ss:"step-start",se:"step-end"}]},{type:"pattern",name:"User select",matcher:"Us",allowParamToValue:!1,styles:{"user-select":"$0"},arguments:[{a:"all",el:"element",els:"elements",n:"none",t:"text",to:"toggle"}]},{type:"pattern",name:"Vertical align",matcher:"Va",allowParamToValue:!0,styles:{"vertical-align":"$0"},arguments:[{b:"bottom",bl:"baseline",m:"middle",sub:"sub",sup:"super",t:"top",tb:"text-bottom",tt:"text-top"}]},{type:"pattern",name:"Visibility",matcher:"V",allowParamToValue:!1,styles:{visibility:"$0"},arguments:[{v:"visible",h:"hidden",c:"collapse"}]},{type:"pattern",name:"White space",matcher:"Whs",allowParamToValue:!1,styles:{"white-space":"$0"},arguments:[{n:"normal",p:"pre",nw:"nowrap",pw:"pre-wrap",pl:"pre-line"}]},{type:"pattern",name:"White space collapse",matcher:"Whsc",allowParamToValue:!1,styles:{"white-space-collapse":"$0"},arguments:[{n:"normal",ka:"keep-all",l:"loose",bs:"break-strict",ba:"break-all"}]},{type:"pattern",name:"Widows",matcher:"Wid",allowParamToValue:!0,styles:{widows:"$0"}},{type:"pattern",name:"Width",matcher:"W",allowParamToValue:!0,styles:{width:"$0"},arguments:[{0:"0",a:"auto",bb:"border-box",cb:"content-box",av:"available",minc:"min-content",maxc:"max-content",fc:"fit-content"}]},{type:"pattern",name:"Will change",matcher:"Wc",allowParamToValue:!0,styles:{"will-change":"$0"},arguments:[{a:"auto",c:"contents",sp:"scroll-position"}]},{type:"pattern",name:"Word break",matcher:"Wob",allowParamToValue:!1,styles:{"word-break":"$0"},arguments:[{ba:"break-all",ka:"keep-all",n:"normal"}]},{type:"pattern",name:"Word wrap",matcher:"Wow",allowParamToValue:!1,styles:{"word-wrap":"$0"},arguments:[{bw:"break-word",n:"normal"}]},{type:"pattern",name:"Writing mode",matcher:"Wm",allowParamToValue:!1,styles:{"writing-mode":"$0"},arguments:[{htb:"horizontal-tb",vlr:"vertical-lr",vrl:"vertical-rl"}]},{type:"pattern",name:"Z index",matcher:"Z",allowParamToValue:!0,styles:{"z-index":"$0"},arguments:[{a:"auto"}]},{type:"pattern",name:"Fill (SVG)",matcher:"Fill",allowParamToValue:!1,styles:{fill:"$0"},arguments:[s]},{type:"pattern",name:"Stroke (SVG)",matcher:"Stk",allowParamToValue:!1,styles:{stroke:"$0"},arguments:[s]},{type:"pattern",name:"Stroke width (SVG)",matcher:"Stkw",allowParamToValue:!0,styles:{"stroke-width":"$0"},arguments:[{i:"inherit"}]},{type:"pattern",name:"Stroke linecap (SVG)",matcher:"Stklc",allowParamToValue:!1,styles:{"stroke-linecap":"$0"},arguments:[{i:"inherit",b:"butt",r:"round",s:"square"}]},{type:"pattern",name:"Stroke linejoin (SVG)",matcher:"Stklj",allowParamToValue:!1,styles:{"stroke-linejoin":"$0"},arguments:[{i:"inherit",b:"bevel",r:"round",m:"miter"}]}]}),l("57tcv",function(u,t){u.exports={baselinePosition:{b:"baseline"},contentDistribution:{sa:"space-around",sb:"space-between",se:"space-evenly",st:"stretch"},contentPosition:{c:"center",e:"end",fe:"flex-end",fs:"flex-start",s:"start"}}}),l("1YbPD",function(u,t){u.exports={c:"color",cb:"color-burn",cd:"color-dodge",d:"darken",di:"difference",e:"exclusion",h:"hue",hl:"hard-light",l:"lighten",lu:"luminosity",m:"multiply",n:"normal",o:"overlay",s:"saturation",sc:"screen",sl:"soft-light"}}),l("3vqAd",function(u,t){u.exports={a:"auto",al:"all",av:"avoid",avc:"avoid-column",avp:"avoid-page",c:"column",end:"__END__",p:"page",start:"__START__"}}),l("ks6uS",function(u,t){u.exports={t:"transparent",cc:"currentColor",n:"none",aliceblue:"aliceblue",antiquewhite:"antiquewhite",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanchedalmond",blue:"blue",blueviolet:"blueviolet",brown:"brown",burlywood:"burlywood",cadetblue:"cadetblue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflowerblue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"darkblue",darkcyan:"darkcyan",darkgoldenrod:"darkgoldenrod",darkgray:"darkgray",darkgreen:"darkgreen",darkgrey:"darkgrey",darkkhaki:"darkkhaki",darkmagenta:"darkmagenta",darkolivegreen:"darkolivegreen",darkorange:"darkorange",darkorchid:"darkorchid",darkred:"darkred",darksalmon:"darksalmon",darkseagreen:"darkseagreen",darkslateblue:"darkslateblue",darkslategray:"darkslategray",darkslategrey:"darkslategrey",darkturquoise:"darkturquoise",darkviolet:"darkviolet",deeppink:"deeppink",deepskyblue:"deepskyblue",dimgray:"dimgray",dimgrey:"dimgrey",dodgerblue:"dodgerblue",firebrick:"firebrick",floralwhite:"floralwhite",forestgreen:"forestgreen",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghostwhite",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"greenyellow",grey:"grey",honeydew:"honeydew",hotpink:"hotpink",indianred:"indianred",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavenderblush",lawngreen:"lawngreen",lemonchiffon:"lemonchiffon",lightblue:"lightblue",lightcoral:"lightcoral",lightcyan:"lightcyan",lightgoldenrodyellow:"lightgoldenrodyellow",lightgray:"lightgray",lightgreen:"lightgreen",lightgrey:"lightgrey",lightpink:"lightpink",lightsalmon:"lightsalmon",lightseagreen:"lightseagreen",lightskyblue:"lightskyblue",lightslategray:"lightslategray",lightslategrey:"lightslategrey",lightsteelblue:"lightsteelblue",lightyellow:"lightyellow",lime:"lime",limegreen:"limegreen",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"mediumaquamarine",mediumblue:"mediumblue",mediumorchid:"mediumorchid",mediumpurple:"mediumpurple",mediumseagreen:"mediumseagreen",mediumslateblue:"mediumslateblue",mediumspringgreen:"mediumspringgreen",mediumturquoise:"mediumturquoise",mediumvioletred:"mediumvioletred",midnightblue:"midnightblue",mintcream:"mintcream",mistyrose:"mistyrose",moccasin:"moccasin",navajowhite:"navajowhite",navy:"navy",oldlace:"oldlace",olive:"olive",olivedrab:"olivedrab",orange:"orange",orangered:"orangered",orchid:"orchid",palegoldenrod:"palegoldenrod",palegreen:"palegreen",paleturquoise:"paleturquoise",palevioletred:"palevioletred",papayawhip:"papayawhip",peachpuff:"peachpuff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powderblue",purple:"purple",red:"red",rosybrown:"rosybrown",royalblue:"royalblue",saddlebrown:"saddlebrown",salmon:"salmon",sandybrown:"sandybrown",seagreen:"seagreen",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"skyblue",slateblue:"slateblue",slategray:"slategray",slategrey:"slategrey",snow:"snow",springgreen:"springgreen",steelblue:"steelblue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"whitesmoke",yellow:"yellow",yellowgreen:"yellowgreen"}}),l("838OL",function(u,t){var e,D;n(u.exports,"borderStyles",()=>e,u=>e=u),n(u.exports,"borderWidths",()=>D,u=>D=u),e={a:"auto",d:"dotted",da:"dashed",do:"double",g:"groove",h:"hidden",i:"inset",n:"none",o:"outset",r:"ridge",s:"solid"},D={m:"medium",t:"thin",th:"thick"}}),l("87LIs",function(u,t){u.exports=[{type:"helper",name:"Border",description:"Creates a 1px border on all edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"Bd",noParams:!0,styles:{"border-width":"1px","border-style":"solid"}},{type:"helper",name:"Border X 1px solid",description:"Creates a 1px border on the left and right edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdX",noParams:!0,styles:{"border-top-width":0,"border-right-width":"1px","border-bottom-width":0,"border-left-width":"1px","border-style":"solid"}},{type:"helper",name:"Border Y 1px solid",description:"Creates a 1px border on the top and bottom edges of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdY",noParams:!0,styles:{"border-top-width":"1px","border-right-width":0,"border-bottom-width":"1px","border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border Top 1px solid",description:"Creates a 1px border on the top edge of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdT",noParams:!0,styles:{"border-top-width":"1px","border-right-width":0,"border-bottom-width":0,"border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border End 1px solid",description:"Creates a 1px border on the right edge of a box (in a LTR context)",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdEnd",noParams:!0,styles:{"border-top-width":0,"border-__END__-width":"1px","border-bottom-width":0,"border-__START__-width":0,"border-style":"solid"}},{type:"helper",name:"Border Bottom 1px solid",description:"Creates a 1px border on the bottom edge of a box",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdB",noParams:!0,styles:{"border-top-width":0,"border-right-width":0,"border-bottom-width":"1px","border-left-width":0,"border-style":"solid"}},{type:"helper",name:"Border Start 1px solid",description:"Creates a 1px border on the left edge of a box (in a LTR context)",link:"https://acss.io/guides/helper-classes.html#-bd-borders-",matcher:"BdStart",noParams:!0,styles:{"border-top-width":0,"border-__END__-width":0,"border-bottom-width":0,"border-__START__-width":"1px","border-style":"solid"}},{type:"helper",name:"Block-formatting context",description:"Creates a block-formatting context",link:"https://acss.io/guides/helper-classes.html#-bfchack-block-formatting-context-",matcher:"BfcHack",noParams:!0,styles:{display:"table-cell",width:"1600px"}},{type:"helper",name:"Clearfix",description:"Allows an element to clear its child elements",link:"https://acss.io/guides/helper-classes.html#-cf-clearfix-",matcher:"Cf",noParams:!0,styles:{},rules:{".Cf:before, .Cf:after":{content:'" "',display:"table"},".Cf:after":{clear:"both"}}},{type:"helper",name:"Ellipsis",description:"Use to create a one-liner with ellipsis (in browsers that support text-overflow:ellipsis).",link:"https://acss.io/guides/helper-classes.html#-ell-ellipsis-",matcher:"Ell",noParams:!0,styles:{"max-width":"100%","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",hyphens:"none"},rules:{".Ell:after":{content:'"."',"font-size":0,visibility:"hidden",display:"inline-block",overflow:"hidden",height:0,width:0}}},{type:"helper",name:"Hiding content from sighted users",description:"Hides content from sighted users but leaves it accessible to screen readers",link:"https://acss.io/guides/helper-classes.html#hiding-content-from-sighted-users",matcher:"Hidden",noParams:!0,styles:{position:"absolute !important",clip:"rect(1px,1px,1px,1px)",padding:"0 !important",border:"0 !important",height:"1px !important",width:"1px !important",overflow:"hidden"}},{type:"helper",name:"Inline-block box",description:"Shorthand for styling inline-block constructs cross-browser",link:"https://acss.io/guides/helper-classes.html#-ibbox-",matcher:"IbBox",noParams:!0,styles:{display:"inline-block","vertical-align":"top"}},{type:"helper",name:"Line clamp",description:"Truncates long lines of text to a max number of lines",link:"https://acss.io/guides/helper-classes.html#-ibbox-",matcher:"LineClamp",styles:{"-webkit-line-clamp":"$0","max-height":"$1"},rules:{"[class*=LineClamp]":{display:"-webkit-box","-webkit-box-orient":"vertical",overflow:"hidden","@supports (display:-moz-box)":{display:"block"}},"a[class*=LineClamp]":{display:"inline-block","display ":"-webkit-box"},"a[class*=LineClamp]:after":{content:'"."',"font-size":0,visibility:"hidden",display:"inline-block",overflow:"hidden",height:0,width:0}}},{type:"helper",name:"Row",description:"Styles a box that expands to fill its container, contains floats, and more",link:"https://acss.io/guides/helper-classes.html#-row-",matcher:"Row",noParams:!0,styles:{clear:"both",display:"inline-block","vertical-align":"top",width:"100%","box-sizing":"border-box"}},{type:"helper",name:"Stretched box",description:"Stretches a box inside its containing block",link:"https://acss.io/guides/helper-classes.html#-stretchedbox-",matcher:"StretchedBox",noParams:!0,styles:{position:"absolute",top:0,right:0,bottom:0,left:0}}]});var s={},c={},F=c={};function f(){throw Error("setTimeout has not been defined")}function p(){throw Error("clearTimeout has not been defined")}function E(u){if(t===setTimeout)return setTimeout(u,0);if((t===f||!t)&&setTimeout)return t=setTimeout,setTimeout(u,0);try{return t(u,0)}catch(e){try{return t.call(null,u,0)}catch(e){return t.call(this,u,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:f}catch(u){t=f}try{e="function"==typeof clearTimeout?clearTimeout:p}catch(u){e=p}}();var C=[],m=!1,h=-1;function d(){m&&D&&(m=!1,D.length?C=D.concat(C):h=-1,C.length&&A())}function A(){if(!m){var u=E(d);m=!0;for(var t=C.length;t;){for(D=C,C=[];++h1)for(var e=1;e1;)1&t&&(e+=u),t>>=1,u+=u;return e+u},b.getCustomValue=function(u,t,e){if(e=e||[],"string"!=typeof t||!u||!u.custom)return null;let D=u.custom[t]||null;if("string"!=typeof D||-1===D.indexOf("#{"))return D;if(e.push(t),e.length>20)throw Error(`Depth limit reached while substituting custom value tokens. Ensure your custom values don't contain tokens that reference one another, leading to an infinite loop. + +Custom value trace: ${e.join(" > ")}`);return D.replace(w,(t,D)=>this.getCustomValue(u,D,e))},B=b;var _={};let x={};x.flattenSelectors=function(u,t,e){let D,r,n;for(let a in n=e=e||"",t)for(let o in D=t[a])"object"==typeof(r=D[o])?/^@media|@supports|@container/.test(o)?(u[o]||(u[o]={}),u[o][e?`${e} ${a}`:a]=r):x.flattenSelectors(u,D,e?`${e} ${a}`:a):(u[n=e?`${e} ${a}`:a]||(u[n]={}),u[n][o]=r);return u},x.extractProperties=function(u,t,e){let D,r;for(let n in e=e||"main",t)if(D=t[n],/^@media|@supports|@container/.test(n))x.extractProperties(u,D,n);else for(r in D)u[e]||(u[e]=[]),u[e].push({selector:n,prop:r,value:D[r]});return u},x.combineSelectors=function(u){let t;for(let e in u){t=u[e];for(let u=0,e=t.length;u0?`${D.join("\n")} +`:""},x.writeBlockToCSS=function(u,t,e,D){for(let r in D=D||"",t){for(let n in u.push(`${D+r} {`),t[r])u.push(`${D+e+n}: ${t[r][n]};`);u.push(`${D}}`)}},_=x;var T={},v=i("446z9"),P={},k=i("kQX98"),S=i("5RE2u");k(P,"__esModule",{value:!0}),P.default=void 0;var $=S(i("1F0ZW")),O=S(i("2QyAx")),R=S(i("9jNIH")),V=S(i("6qvM1")),j=S(i("7qV86")),M=S(i("iISMm")),N=S(i("8sB4F"));(0,O.default)($.default),(0,R.default)($.default),(0,V.default)($.default),(0,j.default)($.default),(0,M.default)($.default),(0,N.default)($.default);var I=$.default;P.default=I,P=P.default;let z={":active":":a",":checked":":c",":default":":d",":disabled":":di",":empty":":e",":enabled":":en",":first":":fi",":first-child":":fc",":first-of-type":":fot",":fullscreen":":fs",":focus":":f",":focus-within":":fw",":focus-visible":":fv",":hover":":h",":indeterminate":":ind",":in-range":":ir",":invalid":":inv",":last-child":":lc",":last-of-type":":lot",":left":":l",":link":":li",":only-child":":oc",":only-of-type":":oot",":optional":":o",":out-of-range":":oor",":placeholder-shown":":ps",":read-only":":ro",":read-write":":rw",":required":":req",":right":":r",":root":":rt",":scope":":s",":target":":t",":valid":":va",":visited":":vi"},L={"::after":"::a","::before":"::b","::backdrop":"::bd","::cue":"::c","::file-selector-button":"::fsb","::first-letter":"::fl","::first-line":"::fli","::marker":"::m","::placeholder":"::ph","::selection":"::s"},U=Object.assign({},z,L),G=v.invert(U);function q(u){let t=[];for(let e in u)t.push(e),t.push(u[e]);return t}let J={BOUNDARY:"(?:^|\\s|class=|\"|'|`|{|})",PARENT:"[a-zA-Z][-_a-zA-Z0-9]+?",PARENT_SEP:"[>_+~]",PROP:"[-A-Za-z0-9]+",VALUES:"[-_,.#$/%0-9a-zA-Z]+",FRACTION:"(?[0-9]+)\\/(?[1-9](?:[0-9]+)?)",PARAMS:"\\((?[^)]*)\\)",NUMBER:"-?[0-9]+(?:.[0-9]+)?|\\.[0-9]+",UNIT:"[a-zA-Z%]+",HEX:"#[0-9a-fA-F]{3}(?:[0-9a-fA-F]{3})?",ALPHA:"\\.\\d{1,2}",IMPORTANT:"!",NAMED:"([\\w$]+(?:(?:-(?!\\-))?\\w*)*)",CSS_VARIABLE:"(--[\\w-]+)",BREAKPOINT:"--(?[a-zA-Z0-9]+)",PSEUDO_CLASS:`(?:${q(z).join("|")})(?![a-z])`,PSEUDO_ELEMENT:`(?:${q(L).join("|")})(?![a-z])`,PSEUDO_CLASS_SIMPLE:":[a-z]+",PSEUDO_ELEMENT_SIMPLE:"::[a-z]+"};J.PARENT_SELECTOR=["(?",J.PARENT,")","(?",J.PSEUDO_CLASS,")?","(?",J.PARENT_SEP,")"].join(""),J.PARENT_SELECTOR_SIMPLE=["(?",J.PARENT,")","(?",J.PSEUDO_CLASS_SIMPLE,")?","(?",J.PARENT_SEP,")"].join("");let Q=P(["(?",J.FRACTION,")","|","(?:","(?",J.HEX,")","(?",J.ALPHA,")?","(?!",J.UNIT,")",")","|","(?",J.NUMBER,")","(?",J.UNIT,")?","|","(?",J.CSS_VARIABLE,")","|","(?",J.NAMED,")"].join(""));function W(u){return u.length>1?u.sort(function(u,t){return u>t?-1:1}).join("|"):u.toString()}function H(u,t){return u=u?`(?${u})\\((?${J.VALUES})\\)`:"",t=t?`(?${t})`:"",`(?:${[u,t].join("|")})`}function Y(u){let t=[],e=[];u.forEach(function(u){u.noParams?e.push(u.matcher):t.push(u.matcher)});let D=W(t),r=W(e);this.simpleSyntax=H(J.PROP,r),this.complexSyntax=H(D,r)}Y.getPseudo=function(u){return U[u]?u:G[u]},Y.matchValue=function(u){return P.exec(u,Q)},Y.prototype.getSyntax=function(u){let t=[J.BOUNDARY,"(","(?",u?J.PARENT_SELECTOR_SIMPLE:J.PARENT_SELECTOR,")?",u?this.simpleSyntax:this.complexSyntax,"(?",J.IMPORTANT,")?","(?",u?J.PSEUDO_CLASS_SIMPLE:J.PSEUDO_CLASS,")?","(?",u?J.PSEUDO_ELEMENT_SIMPLE:J.PSEUDO_ELEMENT,")?","(?:",J.BREAKPOINT,")?",")"].join("");return P(t,"g")},T=Y;let X=i("luCfq").concat(i("87LIs")),Z={inh:"inherit",ini:"initial",rv:"revert",rvl:"revert-layer",un:"unset"};function K(u,t){u=u||{},this.strict=u.strict||!1,this.verbose=u.verbose||!1,this.rules=[],this.rulesMap={},this.helpersMap={},this.addRules(t||X)}K.prototype.addRules=function(u){u.forEach(u=>{let t="pattern"===u.type&&Object.prototype.hasOwnProperty.call(this.rulesMap,u.matcher),e="helper"===u.type&&Object.prototype.hasOwnProperty.call(this.helpersMap,u.matcher);if(t&&!v.isEqual(this.rules[this.rulesMap[u.matcher]],u)||e&&!v.isEqual(this.rules[this.helpersMap[u.matcher]],u))throw Error(`Rule ${u.matcher} already exists with a different defintion.`);t||e||(this.rules.push(u),"pattern"===u.type?this.rulesMap[u.matcher]=this.rules.length-1:this.helpersMap[u.matcher]=this.rules.length-1)},this),this.syntax=null,this.syntaxSimple=null},K.prototype.getSyntax=function(u){return u&&!this.syntaxSimple&&(this.syntaxSimple=new T(this.rules).getSyntax(!0)),u||this.syntax||(this.syntax=new T(this.rules).getSyntax()),u?this.syntaxSimple:this.syntax},K.prototype.findClassNames=function(u){let t;let e={},D=this.getSyntax(),r=D.exec(u);for(;null!==r;)e[t=r[1]]=(e[t]||0)+1,r=D.exec(u);return v.keys(e)},K.prototype.getConfig=function(u,t){let e=t&&v.cloneDeep(t)||{classNames:[]};return e.classNames=this.sortCSS(v.union(u||[],e.classNames)),e},K.prototype.sortCSS=function(u){u=u.sort();let t=[":li",":vi",":f",":h",":a"];return u=u.sort(function(u,e){function D(u){return v.findIndex(t,function(t){return v.includes(u,t)})}let r=T.matchValue(u),n=T.matchValue(e),a=D(u),o=D(e);return r.groups.named!==n.groups.named?u.localeCompare(e):a-o})},K.prototype.parseConfig=function(u,t){let e={},D=this.getSyntax(!0),r=[],n=!!this.verbose,{classNames:a}=u;return v.isArray(u.classNames)&&(t=t||{},"exclude"in u&&(a=v.difference(a,u.exclude)),a.forEach(function(n){let a,o,i;let l=P.exec(n,D);if(!l||!l.groups.atomicSelector&&!l.groups.selector)return;if(Object.prototype.hasOwnProperty.call(this.rulesMap,l.groups.atomicSelector))a=this.rulesMap[l.groups.atomicSelector];else if(Object.prototype.hasOwnProperty.call(this.helpersMap,l.groups.atomicSelector))a=this.helpersMap[l.groups.atomicSelector];else{if(!Object.prototype.hasOwnProperty.call(this.helpersMap,l.groups.selector))return;a=this.helpersMap[l.groups.selector]}let s=this.rules[a],c={className:l[1],declarations:v.cloneDeep(s.styles)};for(let D in e[s.matcher]||(e[s.matcher]=[]),l.groups.parentSelector&&(c.parentSelector=l.groups.parentSelector),l.groups.parent&&(c.parent=l.groups.parent),l.groups.parentPseudo&&(c.parentPseudo=l.groups.parentPseudo),l.groups.parentSep&&(c.parentSep=l.groups.parentSep),l.groups.atomicValues&&(i=(i=l.groups.atomicValues).split(",").map(function(t,e){let D=T.matchValue(t);if(!D)return null;if(D.groups.number&&(s.allowParamToValue||"helper"===s.type?(t=D.groups.number,D.groups.unit&&(t+=D.groups.unit)):D.groups.named=[D.groups.number,D.groups.unit].join("")),D.groups.fraction&&!1!==s.calculatePercentage&&(t=`${Math.round(D.groups.numerator/D.groups.denominator*1e6)/1e4}%`),D.groups.hex&&(D.groups.hex!==D.groups.hex.toLowerCase()?(console.warn(`Warning: Only lowercase hex digits are accepted. No rules will be generated for \`${D.groups.hex}\``),t=null):t=D.groups.alpha?["rgba(",(o=B.hexToRgb(D.groups.hex)).r,",",o.g,",",o.b,",",D.groups.alpha,")"].join(""):D.groups.hex),D.groups.cssVariable&&(t=`var(${D.groups.cssVariable})`),D.groups.named){if(s.arguments&&e=0)t=s.arguments[e][D.groups.named];else{let e;let n=[l.groups.atomicSelector,"(",D.groups.named,")"].join("");u.custom&&(Object.prototype.hasOwnProperty.call(u.custom,n)?e=n:Object.prototype.hasOwnProperty.call(u.custom,D.groups.named)&&(e=D.groups.named)),(t=B.getCustomValue(u,e)||Z[D.groups.named]||null)||r.push(n)}}return t})),l.groups.valuePseudoClass&&(c.valuePseudoClass=l.groups.valuePseudoClass),l.groups.valuePseudoElement&&(c.valuePseudoElement=l.groups.valuePseudoElement),l.groups.breakPoint&&(c.breakPoint=l.groups.breakPoint),c.declarations)i&&(i.forEach((t,e)=>{if(null!==t&&c.declarations){let r=RegExp(`\\$${e}`,"g");v.isObject(t)?(Object.keys(t).forEach(function(e){Object.prototype.hasOwnProperty.call(u,"breakPoints")&&Object.prototype.hasOwnProperty.call(u.breakPoints,e)&&(c.declarations[u.breakPoints[e]]=c.declarations[u.breakPoints[e]]||{},c.declarations[u.breakPoints[e]][D]=c.declarations[D].replace(r,t[e]))}),Object.prototype.hasOwnProperty.call(t,"default")?c.declarations[D]=c.declarations[D].replace(r,t.default):delete c.declarations[D]):c.declarations[D]=c.declarations[D].replace(r,t)}else c.declarations=null}),c.declarations&&c.declarations[D]&&c.declarations[D].indexOf("$")>=0&&(c.declarations[D]=c.declarations[D].replace(/[,\s]?\$\d+/g,""))),c.declarations&&(l.groups.important||l.groups.parent&&t.namespace&&"helper"!==s.type)&&(c.declarations[D]+=" !important");e[s.matcher].push(c)},this),n&&r.length>0&&r.forEach(function(u){console.warn(`Warning: Class \`${u}\` is ambiguous, and must be manually added to your config file: +"custom": { + "${u}": +}`)})),e},K.prototype.getCss=function(u,t){let e;let D={},r=this.strict,n=this.verbose,a="";if(t=Object.assign({},{banner:"",bumpMQ:!1,namespace:null,rtl:!1},t),u&&u.breakPoints){if(!v.isObject(u.breakPoints))throw TypeError("`config.breakPoints` must be an Object");if(v.size(u.breakPoints)>0)for(let t in u.breakPoints)if(/^@media|@container/.test(u.breakPoints[t]))e=u.breakPoints;else throw Error(`Breakpoint \`${t}\` must start with \`@media\` or \`@container\`.`)}let o=this.parseConfig(u,t);return this.rules.forEach(function(u){o[u.matcher]&&o[u.matcher].forEach(function(a){let o;if(!a.declarations)return;let i=e&&e[a.breakPoint];if(a.breakPoint&&!i){let u=`Class \`${a.className}\` contains breakpoint \`${a.breakPoint}\` which does not exist and must be manually added to your config file: +"breakPoints": { + "${a.breakPoint}": +}`;r?(console.error("Error:",u),c.exit(1)):n&&console.warn("Warning:",u)}o=K.escapeSelector(a.className),a.parentSelector&&(o=[K.escapeSelector(a.parent),T.getPseudo(a.parentPseudo),"_"===a.parentSep?" ":[" ",a.parentSep," "].join(""),".",o].join("")),a.valuePseudoClass&&(o=[o,T.getPseudo(a.valuePseudoClass)].join("")),a.valuePseudoElement&&(o=[o,T.getPseudo(a.valuePseudoElement)].join("")),o=[".",o].join(""),!a.parent&&("helper"===u.type&&t.helpersNamespace?o=[t.helpersNamespace," ",o].join(""):"helper"!==u.type&&t.namespace&&(o=[t.namespace," ",o].join(""))),i&&t.bumpMQ&&(o=`${o}[class]`),u.rules&&v.merge(D,u.rules),D[o]||(D[o]={}),i?D[o][i]=a.declarations:D[o]=a.declarations})}),a=t.banner+_.jssToCss(D,{breakPoints:e}),a=K.replaceConstants(a,t.rtl)},K.escapeSelector=function(u){if(!u&&0!==u)throw TypeError("str must be present");return u.constructor!==String?u:u.replace(/\b(-?)([^-_a-zA-Z0-9\s]+)/g,function(u,t,e){return t+e.split("").map(function(u){return["\\",u].join("")}).join("")})},K.replaceConstants=function(u,t){return u&&u.constructor===String?u.replace(/__START__/g,t?"right":"left").replace(/__END__/g,t?"left":"right"):u},s=K,window.atomizer=new((u=s)&&u.__esModule?u.default:u)})(); \ No newline at end of file diff --git a/src/lib/transpilers/babel-polyfill.min.js b/src/lib/transpilers/babel-polyfill.min.js deleted file mode 100644 index df0250bb..00000000 --- a/src/lib/transpilers/babel-polyfill.min.js +++ /dev/null @@ -1,4 +0,0 @@ -!function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!u&&c)return c(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var a=n[o]={exports:{}};t[o][0].call(a.exports,function(n){var r=t[o][1][n];return s(r?r:n)},a,a.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o2?arguments[2]:void 0,s=Math.min((void 0===a?u:i(a,u))-f,u-c),l=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=l,f+=l;return r}},{105:105,108:108,109:109}],9:[function(t,n,r){"use strict";var e=t(109),i=t(105),o=t(108);n.exports=function fill(t){for(var n=e(this),r=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,r),f=u>2?arguments[2]:void 0,a=void 0===f?r:i(f,r);a>c;)n[c++]=t;return n}},{105:105,108:108,109:109}],10:[function(t,n,r){var e=t(37);n.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},{37:37}],11:[function(t,n,r){var e=t(107),i=t(108),o=t(105);n.exports=function(t){return function(n,r,u){var c,f=e(n),a=i(f.length),s=o(u,a);if(t&&r!=r){for(;a>s;)if(c=f[s++],c!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},{105:105,107:107,108:108}],12:[function(t,n,r){var e=t(25),i=t(45),o=t(109),u=t(108),c=t(15);n.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,l=6==t,h=5==t||l,v=n||c;return function(n,c,p){for(var d,y,g=o(n),b=i(g),x=e(c,p,3),m=u(b.length),w=0,S=r?v(n,m):f?v(n,0):void 0;m>w;w++)if((h||w in b)&&(d=b[w],y=x(d,w,g),t))if(r)S[w]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return w;case 2:S.push(d)}else if(s)return!1;return l?-1:a||s?s:S}}},{108:108,109:109,15:15,25:25,45:45}],13:[function(t,n,r){var e=t(3),i=t(109),o=t(45),u=t(108);n.exports=function(t,n,r,c,f){e(n);var a=i(t),s=o(a),l=u(a.length),h=f?l-1:0,v=f?-1:1;if(r<2)for(;;){if(h in s){c=s[h],h+=v;break}if(h+=v,f?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;f?h>=0:l>h;h+=v)h in s&&(c=n(c,s[h],h,a));return c}},{108:108,109:109,3:3,45:45}],14:[function(t,n,r){var e=t(49),i=t(47),o=t(117)("species");n.exports=function(t){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)||(n=void 0),e(n)&&(n=n[o],null===n&&(n=void 0))),void 0===n?Array:n}},{117:117,47:47,49:49}],15:[function(t,n,r){var e=t(14);n.exports=function(t,n){return new(e(t))(n)}},{14:14}],16:[function(t,n,r){"use strict";var e=t(3),i=t(49),o=t(44),u=[].slice,c={},f=function(t,n,r){if(!(n in c)){for(var e=[],i=0;i1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(t){return!!y(this,t)}}),v&&e(l.prototype,"size",{get:function(){return f(this[d])}}),l},def:function(t,n,r){var e,i,o=y(t,n);return o?o.v=r:(t._l=o={i:i=p(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,n,r){s(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?"keys"==n?l(0,r.k):"values"==n?l(0,r.v):l(0,[r.k,r.v]):(t._t=void 0,l(1))},r?"entries":"values",!r,!0),h(n)}}},{25:25,27:27,28:28,37:37,53:53,55:55,6:6,62:62,66:66,67:67,86:86,91:91}],20:[function(t,n,r){var e=t(17),i=t(10);n.exports=function(t){return function toJSON(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},{10:10,17:17}],21:[function(t,n,r){"use strict";var e=t(86),i=t(62).getWeak,o=t(7),u=t(49),c=t(6),f=t(37),a=t(12),s=t(39),l=a(5),h=a(6),v=0,p=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},y=function(t,n){return l(t.a,function(t){return t[0]===n})};d.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var r=y(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=h(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},n.exports={getConstructor:function(t,n,r,o){var a=t(function(t,e){c(t,a,n,"_i"),t._i=v++,t._l=void 0,void 0!=e&&f(e,r,t[o],t)});return e(a.prototype,{delete:function(t){if(!u(t))return!1;var n=i(t);return n===!0?p(this).delete(t):n&&s(n,this._i)&&delete n[this._i]},has:function has(t){if(!u(t))return!1;var n=i(t);return n===!0?p(this).has(t):n&&s(n,this._i)}}),a},def:function(t,n,r){var e=i(o(n),!0);return e===!0?p(t).set(n,r):e[t._i]=r,t},ufstore:p}},{12:12,37:37,39:39,49:49,6:6,62:62,7:7,86:86}],22:[function(t,n,r){"use strict";var e=t(38),i=t(32),o=t(87),u=t(86),c=t(62),f=t(37),a=t(6),s=t(49),l=t(34),h=t(54),v=t(92),p=t(43);n.exports=function(t,n,r,d,y,g){var b=e[t],x=b,m=y?"set":"add",w=x&&x.prototype,S={},_=function(t){var n=w[t];o(w,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function has(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function get(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function add(t){return n.call(this,0===t?0:t),this}:function set(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof x&&(g||w.forEach&&!l(function(){(new x).entries().next()}))){var E=new x,O=E[m](g?{}:-0,1)!=E,F=l(function(){E.has(1)}),P=h(function(t){new x(t)}),M=!g&&l(function(){for(var t=new x,n=5;n--;)t[m](n,n);return!t.has(-0)});P||(x=n(function(n,r){a(n,x,t);var e=p(new b,n,x);return void 0!=r&&f(r,y,e[m],e),e}),x.prototype=w,w.constructor=x),(F||M)&&(_("delete"),_("has"),y&&_("get")),(M||O)&&_(m),g&&w.clear&&delete w.clear}else x=d.getConstructor(n,t,y,m),u(x.prototype,r),c.NEED=!0;return v(x,t),S[t]=x,i(i.G+i.W+i.F*(x!=b),S),g||d.setStrong(x,t,y),x}},{32:32,34:34,37:37,38:38,43:43,49:49,54:54,6:6,62:62,86:86,87:87,92:92}],23:[function(t,n,r){var e=n.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},{}],24:[function(t,n,r){"use strict";var e=t(67),i=t(85);n.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},{67:67,85:85}],25:[function(t,n,r){var e=t(3);n.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},{3:3}],26:[function(t,n,r){"use strict";var e=t(7),i=t(110),o="number";n.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(e(this),t!=o)}},{110:110,7:7}],27:[function(t,n,r){n.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],28:[function(t,n,r){n.exports=!t(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{34:34}],29:[function(t,n,r){var e=t(49),i=t(38).document,o=e(i)&&e(i.createElement);n.exports=function(t){return o?i.createElement(t):{}}},{38:38,49:49}],30:[function(t,n,r){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],31:[function(t,n,r){var e=t(76),i=t(73),o=t(77);n.exports=function(t){var n=e(t),r=i.f;if(r)for(var u,c=r(t),f=o.f,a=0;c.length>a;)f.call(t,u=c[a++])&&n.push(u);return n}},{73:73,76:76,77:77}],32:[function(t,n,r){var e=t(38),i=t(23),o=t(40),u=t(87),c=t(25),f="prototype",a=function(t,n,r){var s,l,h,v,p=t&a.F,d=t&a.G,y=t&a.S,g=t&a.P,b=t&a.B,x=d?e:y?e[n]||(e[n]={}):(e[n]||{})[f],m=d?i:i[n]||(i[n]={}),w=m[f]||(m[f]={});d&&(r=n);for(s in r)l=!p&&x&&void 0!==x[s],h=(l?x:r)[s],v=b&&l?c(h,e):g&&"function"==typeof h?c(Function.call,h):h,x&&u(x,s,h,t&a.U),m[s]!=h&&o(m,s,v),g&&w[s]!=h&&(w[s]=h)};e.core=i,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,n.exports=a},{23:23,25:25,38:38,40:40,87:87}],33:[function(t,n,r){var e=t(117)("match");n.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},{117:117}],34:[function(t,n,r){n.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],35:[function(t,n,r){"use strict";var e=t(40),i=t(87),o=t(34),u=t(27),c=t(117);n.exports=function(t,n,r){var f=c(t),a=r(u,f,""[t]),s=a[0],l=a[1];o(function(){var n={};return n[f]=function(){return 7},7!=""[t](n)})&&(i(String.prototype,t,s),e(RegExp.prototype,f,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},{117:117,27:27,34:34,40:40,87:87}],36:[function(t,n,r){"use strict";var e=t(7);n.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},{7:7}],37:[function(t,n,r){var e=t(25),i=t(51),o=t(46),u=t(7),c=t(108),f=t(118),a={},s={},r=n.exports=function(t,n,r,l,h){var v,p,d,y,g=h?function(){return t}:f(t),b=e(r,l,n?2:1),x=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(v=c(t.length);v>x;x++)if(y=n?b(u(p=t[x])[0],p[1]):b(t[x]),y===a||y===s)return y}else for(d=g.call(t);!(p=d.next()).done;)if(y=i(d,b,p.value,n),y===a||y===s)return y};r.BREAK=a,r.RETURN=s},{108:108,118:118,25:25,46:46,51:51,7:7}],38:[function(t,n,r){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},{}],39:[function(t,n,r){var e={}.hasOwnProperty;n.exports=function(t,n){return e.call(t,n)}},{}],40:[function(t,n,r){var e=t(67),i=t(85);n.exports=t(28)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},{28:28,67:67,85:85}],41:[function(t,n,r){n.exports=t(38).document&&document.documentElement},{38:38}],42:[function(t,n,r){n.exports=!t(28)&&!t(34)(function(){return 7!=Object.defineProperty(t(29)("div"),"a",{get:function(){return 7}}).a})},{28:28,29:29,34:34}],43:[function(t,n,r){var e=t(49),i=t(90).set;n.exports=function(t,n,r){var o,u=n.constructor;return u!==r&&"function"==typeof u&&(o=u.prototype)!==r.prototype&&e(o)&&i&&i(t,o),t}},{49:49,90:90}],44:[function(t,n,r){n.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},{}],45:[function(t,n,r){var e=t(18);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},{18:18}],46:[function(t,n,r){var e=t(56),i=t(117)("iterator"),o=Array.prototype;n.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},{117:117,56:56}],47:[function(t,n,r){var e=t(18);n.exports=Array.isArray||function isArray(t){return"Array"==e(t)}},{18:18}],48:[function(t,n,r){var e=t(49),i=Math.floor;n.exports=function isInteger(t){return!e(t)&&isFinite(t)&&i(t)===t}},{49:49}],49:[function(t,n,r){n.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],50:[function(t,n,r){var e=t(49),i=t(18),o=t(117)("match");n.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},{117:117,18:18,49:49}],51:[function(t,n,r){var e=t(7);n.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){var o=t.return;throw void 0!==o&&e(o.call(t)),n}}},{7:7}],52:[function(t,n,r){"use strict";var e=t(66),i=t(85),o=t(92),u={};t(40)(u,t(117)("iterator"),function(){return this}),n.exports=function(t,n,r){t.prototype=e(u,{next:i(1,r)}),o(t,n+" Iterator")}},{117:117,40:40,66:66,85:85,92:92}],53:[function(t,n,r){"use strict";var e=t(58),i=t(32),o=t(87),u=t(40),c=t(39),f=t(56),a=t(52),s=t(92),l=t(74),h=t(117)("iterator"),v=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",y="values",g=function(){return this};n.exports=function(t,n,r,b,x,m,w){a(r,n,b);var S,_,E,O=function(t){if(!v&&t in A)return A[t];switch(t){case d:return function keys(){return new r(this,t)};case y:return function values(){return new r(this,t)}}return function entries(){return new r(this,t)}},F=n+" Iterator",P=x==y,M=!1,A=t.prototype,I=A[h]||A[p]||x&&A[x],j=I||O(x),N=x?P?O("entries"):j:void 0,k="Array"==n?A.entries||I:I;if(k&&(E=l(k.call(new t)),E!==Object.prototype&&(s(E,F,!0),e||c(E,h)||u(E,h,g))),P&&I&&I.name!==y&&(M=!0,j=function values(){return I.call(this)}),e&&!w||!v&&!M&&A[h]||u(A,h,j),f[n]=j,f[F]=g,x)if(S={values:P?j:O(y),keys:m?j:O(d),entries:N},w)for(_ in S)_ in A||o(A,_,S[_]);else i(i.P+i.F*(v||M),n,S);return S}},{117:117,32:32,39:39,40:40,52:52,56:56,58:58,74:74,87:87,92:92}],54:[function(t,n,r){var e=t(117)("iterator"),i=!1;try{var o=[7][e]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}n.exports=function(t,n){if(!n&&!i)return!1;var r=!1;try{var o=[7],u=o[e]();u.next=function(){return{done:r=!0}},o[e]=function(){return u},t(o)}catch(t){}return r}},{117:117}],55:[function(t,n,r){n.exports=function(t,n){return{value:n,done:!!t}}},{}],56:[function(t,n,r){n.exports={}},{}],57:[function(t,n,r){var e=t(76),i=t(107);n.exports=function(t,n){for(var r,o=i(t),u=e(o),c=u.length,f=0;c>f;)if(o[r=u[f++]]===n)return r}},{107:107,76:76}],58:[function(t,n,r){n.exports=!1},{}],59:[function(t,n,r){var e=Math.expm1;n.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!=-2e-17?function expm1(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},{}],60:[function(t,n,r){n.exports=Math.log1p||function log1p(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},{}],61:[function(t,n,r){n.exports=Math.sign||function sign(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},{}],62:[function(t,n,r){var e=t(114)("meta"),i=t(49),o=t(39),u=t(67).f,c=0,f=Object.isExtensible||function(){return!0},a=!t(34)(function(){return f(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!f(t))return"F";if(!n)return"E";s(t)}return t[e].i},h=function(t,n){if(!o(t,e)){if(!f(t))return!0;if(!n)return!1;s(t)}return t[e].w},v=function(t){return a&&p.NEED&&f(t)&&!o(t,e)&&s(t),t},p=n.exports={KEY:e,NEED:!1,fastKey:l,getWeak:h,onFreeze:v}},{114:114,34:34,39:39,49:49,67:67}],63:[function(t,n,r){var e=t(149),i=t(32),o=t(94)("metadata"),u=o.store||(o.store=new(t(255))),c=function(t,n,r){var i=u.get(t);if(!i){if(!r)return;u.set(t,i=new e)}var o=i.get(n);if(!o){if(!r)return;i.set(n,o=new e)}return o},f=function(t,n,r){var e=c(n,r,!1);return void 0!==e&&e.has(t)},a=function(t,n,r){var e=c(n,r,!1);return void 0===e?void 0:e.get(t)},s=function(t,n,r,e){c(r,e,!0).set(t,n)},l=function(t,n){var r=c(t,n,!1),e=[];return r&&r.forEach(function(t,n){e.push(n)}),e},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},v=function(t){i(i.S,"Reflect",t)};n.exports={store:u,map:c,has:f,get:a,set:s,keys:l,key:h,exp:v}},{149:149,255:255,32:32,94:94}],64:[function(t,n,r){var e=t(38),i=t(104).set,o=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,f="process"==t(18)(u);n.exports=function(){var t,n,r,a=function(){var e,i;for(f&&(e=u.domain)&&e.exit();t;){i=t.fn,t=t.next;try{i()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(f)r=function(){u.nextTick(a)};else if(o){var s=!0,l=document.createTextNode("");new o(a).observe(l,{characterData:!0}),r=function(){l.data=s=!s}}else if(c&&c.resolve){var h=c.resolve();r=function(){h.then(a)}}else r=function(){i.call(e,a)};return function(e){var i={fn:e,next:void 0};n&&(n.next=i),t||(t=i,r()),n=i}}},{104:104,18:18,38:38}],65:[function(t,n,r){"use strict";var e=t(76),i=t(73),o=t(77),u=t(109),c=t(45),f=Object.assign;n.exports=!f||t(34)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=f({},t)[r]||Object.keys(f({},n)).join("")!=e})?function assign(t,n){for(var r=u(t),f=arguments.length,a=1,s=i.f,l=o.f;f>a;)for(var h,v=c(arguments[a++]),p=s?e(v).concat(s(v)):e(v),d=p.length,y=0;d>y;)l.call(v,h=p[y++])&&(r[h]=v[h]);return r}:f},{109:109,34:34,45:45,73:73,76:76,77:77}],66:[function(t,n,r){var e=t(7),i=t(68),o=t(30),u=t(93)("IE_PROTO"),c=function(){},f="prototype",a=function(){var n,r=t(29)("iframe"),e=o.length,i="<",u=">";for(r.style.display="none",t(41).appendChild(r),r.src="javascript:",n=r.contentWindow.document,n.open(),n.write(i+"script"+u+"document.F=Object"+i+"/script"+u),n.close(),a=n.F;e--;)delete a[f][o[e]];return a()};n.exports=Object.create||function create(t,n){var r;return null!==t?(c[f]=e(t),r=new c,c[f]=null,r[u]=t):r=a(),void 0===n?r:i(r,n)}},{29:29,30:30,41:41,68:68,7:7,93:93}],67:[function(t,n,r){var e=t(7),i=t(42),o=t(110),u=Object.defineProperty;r.f=t(28)?Object.defineProperty:function defineProperty(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},{110:110,28:28,42:42,7:7}],68:[function(t,n,r){var e=t(67),i=t(7),o=t(76);n.exports=t(28)?Object.defineProperties:function defineProperties(t,n){i(t);for(var r,u=o(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},{28:28,67:67,7:7,76:76}],69:[function(t,n,r){n.exports=t(58)||!t(34)(function(){var n=Math.random();__defineSetter__.call(null,n,function(){}),delete t(38)[n]})},{34:34,38:38,58:58}],70:[function(t,n,r){var e=t(77),i=t(85),o=t(107),u=t(110),c=t(39),f=t(42),a=Object.getOwnPropertyDescriptor;r.f=t(28)?a:function getOwnPropertyDescriptor(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},{107:107,110:110,28:28,39:39,42:42,77:77,85:85}],71:[function(t,n,r){var e=t(107),i=t(72).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return i(t)}catch(t){return u.slice()}};n.exports.f=function getOwnPropertyNames(t){return u&&"[object Window]"==o.call(t)?c(t):i(e(t))}},{107:107,72:72}],72:[function(t,n,r){var e=t(75),i=t(30).concat("length","prototype");r.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return e(t,i)}},{30:30,75:75}],73:[function(t,n,r){r.f=Object.getOwnPropertySymbols},{}],74:[function(t,n,r){var e=t(39),i=t(109),o=t(93)("IE_PROTO"),u=Object.prototype;n.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},{109:109,39:39,93:93}],75:[function(t,n,r){var e=t(39),i=t(107),o=t(11)(!1),u=t(93)("IE_PROTO");n.exports=function(t,n){var r,c=i(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~o(a,r)||a.push(r));return a}},{107:107,11:11,39:39,93:93}],76:[function(t,n,r){var e=t(75),i=t(30);n.exports=Object.keys||function keys(t){return e(t,i)}},{30:30,75:75}],77:[function(t,n,r){r.f={}.propertyIsEnumerable},{}],78:[function(t,n,r){var e=t(32),i=t(23),o=t(34);n.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o(function(){r(1)}),"Object",u)}},{23:23,32:32,34:34}],79:[function(t,n,r){var e=t(76),i=t(107),o=t(77).f;n.exports=function(t){return function(n){for(var r,u=i(n),c=e(u),f=c.length,a=0,s=[];f>a;)o.call(u,r=c[a++])&&s.push(t?[r,u[r]]:u[r]);return s}}},{107:107,76:76,77:77}],80:[function(t,n,r){var e=t(72),i=t(73),o=t(7),u=t(38).Reflect;n.exports=u&&u.ownKeys||function ownKeys(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},{38:38,7:7,72:72,73:73}],81:[function(t,n,r){var e=t(38).parseFloat,i=t(102).trim;n.exports=1/e(t(103)+"-0")!==-(1/0)?function parseFloat(t){var n=i(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},{102:102,103:103,38:38}],82:[function(t,n,r){var e=t(38).parseInt,i=t(102).trim,o=t(103),u=/^[\-+]?0[xX]/;n.exports=8!==e(o+"08")||22!==e(o+"0x16")?function parseInt(t,n){var r=i(String(t),3);return e(r,n>>>0||(u.test(r)?16:10))}:e},{102:102,103:103,38:38}],83:[function(t,n,r){"use strict";var e=t(84),i=t(44),o=t(3);n.exports=function(){for(var t=o(this),n=arguments.length,r=Array(n),u=0,c=e._,f=!1;n>u;)(r[u]=arguments[u++])===c&&(f=!0);return function(){var e,o=this,u=arguments.length,a=0,s=0;if(!f&&!u)return i(t,r,o);if(e=r.slice(),f)for(;n>a;a++)e[a]===c&&(e[a]=arguments[s++]);for(;u>s;)e.push(arguments[s++]);return i(t,e,o)}}},{3:3,44:44,84:84}],84:[function(t,n,r){n.exports=t(38)},{38:38}],85:[function(t,n,r){n.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},{}],86:[function(t,n,r){var e=t(87);n.exports=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}},{87:87}],87:[function(t,n,r){var e=t(38),i=t(40),o=t(39),u=t(114)("src"),c="toString",f=Function[c],a=(""+f).split(c);t(23).inspectSource=function(t){return f.call(t)},(n.exports=function(t,n,r,c){var f="function"==typeof r;f&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(f&&(o(r,u)||i(r,u,t[n]?""+t[n]:a.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,c,function toString(){return"function"==typeof this&&this[u]||f.call(this)})},{114:114,23:23,38:38,39:39,40:40}],88:[function(t,n,r){n.exports=function(t,n){var r=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,r)}}},{}],89:[function(t,n,r){n.exports=Object.is||function is(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}},{}],90:[function(t,n,r){var e=t(49),i=t(7),o=function(t,n){if(i(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(n,r,e){try{e=t(25)(Function.call,t(70).f(Object.prototype,"__proto__").set,2),e(n,[]),r=!(n instanceof Array)}catch(t){r=!0}return function setPrototypeOf(t,n){return o(t,n),r?t.__proto__=n:e(t,n),t}}({},!1):void 0),check:o}},{25:25,49:49,7:7,70:70}],91:[function(t,n,r){"use strict";var e=t(38),i=t(67),o=t(28),u=t(117)("species");n.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},{117:117,28:28,38:38,67:67}],92:[function(t,n,r){var e=t(67).f,i=t(39),o=t(117)("toStringTag");n.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},{117:117,39:39,67:67}],93:[function(t,n,r){var e=t(94)("keys"),i=t(114);n.exports=function(t){return e[t]||(e[t]=i(t))}},{114:114,94:94}],94:[function(t,n,r){var e=t(38),i="__core-js_shared__",o=e[i]||(e[i]={});n.exports=function(t){return o[t]||(o[t]={})}},{38:38}],95:[function(t,n,r){var e=t(7),i=t(3),o=t(117)("species");n.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[o])?n:i(r)}},{117:117,3:3,7:7}],96:[function(t,n,r){var e=t(34);n.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},{34:34}],97:[function(t,n,r){var e=t(106),i=t(27);n.exports=function(t){return function(n,r){var o,u,c=String(i(n)),f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(o=c.charCodeAt(f),o<55296||o>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):o:t?c.slice(f,f+2):(o-55296<<10)+(u-56320)+65536)}}},{106:106,27:27}],98:[function(t,n,r){var e=t(50),i=t(27);n.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},{27:27,50:50}],99:[function(t,n,r){var e=t(32),i=t(34),o=t(27),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};n.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",r)}},{27:27,32:32,34:34}],100:[function(t,n,r){var e=t(108),i=t(101),o=t(27);n.exports=function(t,n,r,u){var c=String(o(t)),f=c.length,a=void 0===r?" ":String(r),s=e(n);if(s<=f||""==a)return c;var l=s-f,h=i.call(a,Math.ceil(l/a.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},{101:101,108:108,27:27}],101:[function(t,n,r){"use strict";var e=t(106),i=t(27);n.exports=function repeat(t){var n=String(i(this)),r="",o=e(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(r+=n);return r}},{106:106,27:27}],102:[function(t,n,r){var e=t(32),i=t(27),o=t(34),u=t(103),c="["+u+"]",f="​…",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(t,n,r){var i={},c=o(function(){return!!u[t]()||f[t]()!=f}),a=i[t]=c?n(h):u[t];r&&(i[r]=a),e(e.P+e.F*c,"String",i)},h=l.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};n.exports=l},{103:103,27:27,32:32,34:34}],103:[function(t,n,r){n.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],104:[function(t,n,r){var e,i,o,u=t(25),c=t(44),f=t(41),a=t(29),s=t(38),l=s.process,h=s.setImmediate,v=s.clearImmediate,p=s.MessageChannel,d=0,y={},g="onreadystatechange",b=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},x=function(t){b.call(t.data)};h&&v||(h=function setImmediate(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return y[++d]=function(){c("function"==typeof t?t:Function(t),n)},e(d),d},v=function clearImmediate(t){delete y[t]},"process"==t(18)(l)?e=function(t){l.nextTick(u(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=x,e=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",x,!1)):e=g in a("script")?function(t){f.appendChild(a("script"))[g]=function(){f.removeChild(this),b.call(t)}}:function(t){setTimeout(u(b,t,1),0)}),n.exports={set:h,clear:v}},{18:18,25:25,29:29,38:38,41:41,44:44}],105:[function(t,n,r){var e=t(106),i=Math.max,o=Math.min;n.exports=function(t,n){return t=e(t),t<0?i(t+n,0):o(t,n)}},{106:106}],106:[function(t,n,r){var e=Math.ceil,i=Math.floor;n.exports=function(t){return isNaN(t=+t)?0:(t>0?i:e)(t)}},{}],107:[function(t,n,r){var e=t(45),i=t(27);n.exports=function(t){return e(i(t))}},{27:27,45:45}],108:[function(t,n,r){var e=t(106),i=Math.min;n.exports=function(t){return t>0?i(e(t),9007199254740991):0}},{106:106}],109:[function(t,n,r){var e=t(27);n.exports=function(t){return Object(e(t))}},{27:27}],110:[function(t,n,r){var e=t(49);n.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{49:49}],111:[function(t,n,r){"use strict";if(t(28)){var e=t(58),i=t(38),o=t(34),u=t(32),c=t(113),f=t(112),a=t(25),s=t(6),l=t(85),h=t(40),v=t(86),p=t(106),d=t(108),y=t(105),g=t(110),b=t(39),x=t(89),m=t(17),w=t(49),S=t(109),_=t(46),E=t(66),O=t(74),F=t(72).f,P=t(118),M=t(114),A=t(117),I=t(12),j=t(11),N=t(95),k=t(130),R=t(56),T=t(54),L=t(91),C=t(9),U=t(8),G=t(67),D=t(70),W=G.f,B=D.f,V=i.RangeError,z=i.TypeError,K=i.Uint8Array,J="ArrayBuffer",Y="Shared"+J,q="BYTES_PER_ELEMENT",X="prototype",$=Array[X],H=f.ArrayBuffer,Z=f.DataView,Q=I(0),tt=I(2),nt=I(3),rt=I(4),et=I(5),it=I(6),ot=j(!0),ut=j(!1),ct=k.values,ft=k.keys,at=k.entries,st=$.lastIndexOf,lt=$.reduce,ht=$.reduceRight,vt=$.join,pt=$.sort,dt=$.slice,yt=$.toString,gt=$.toLocaleString,bt=A("iterator"),xt=A("toStringTag"),mt=M("typed_constructor"),wt=M("def_constructor"),St=c.CONSTR,_t=c.TYPED,Et=c.VIEW,Ot="Wrong length!",Ft=I(1,function(t,n){return Nt(N(t,t[wt]),n)}),Pt=o(function(){return 1===new K(new Uint16Array([1]).buffer)[0]}),Mt=!!K&&!!K[X].set&&o(function(){new K(1).set({})}),At=function(t,n){if(void 0===t)throw z(Ot);var r=+t,e=d(t);if(n&&!x(r,e))throw V(Ot);return e},It=function(t,n){var r=p(t);if(r<0||r%n)throw V("Wrong offset!");return r},jt=function(t){if(w(t)&&_t in t)return t;throw z(t+" is not a typed array!")},Nt=function(t,n){if(!(w(t)&&mt in t))throw z("It is not a typed array constructor!");return new t(n)},kt=function(t,n){return Rt(N(t,t[wt]),n)},Rt=function(t,n){for(var r=0,e=n.length,i=Nt(t,e);e>r;)i[r]=n[r++];return i},Tt=function(t,n,r){W(t,n,{get:function(){return this._d[r]}})},Lt=function from(t){var n,r,e,i,o,u,c=S(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,h=P(c);if(void 0!=h&&!_(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&f>2&&(s=a(s,arguments[2],2)),n=0,r=d(c.length),i=Nt(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},Ct=function of(){for(var t=0,n=arguments.length,r=Nt(this,n);n>t;)r[t]=arguments[t++];return r},Ut=!!K&&o(function(){gt.call(new K(1))}),Gt=function toLocaleString(){return gt.apply(Ut?dt.call(jt(this)):jt(this),arguments)},Dt={copyWithin:function copyWithin(t,n){return U.call(jt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function every(t){return rt(jt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function fill(t){return C.apply(jt(this),arguments)},filter:function filter(t){return kt(this,tt(jt(this),t,arguments.length>1?arguments[1]:void 0))},find:function find(t){return et(jt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(t){ -return it(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(t){return ut(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function includes(t){return ot(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function join(t){return vt.apply(jt(this),arguments)},lastIndexOf:function lastIndexOf(t){return st.apply(jt(this),arguments)},map:function map(t){return Ft(jt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(t){return lt.apply(jt(this),arguments)},reduceRight:function reduceRight(t){return ht.apply(jt(this),arguments)},reverse:function reverse(){for(var t,n=this,r=jt(n).length,e=Math.floor(r/2),i=0;i1?arguments[1]:void 0)},sort:function sort(t){return pt.call(jt(this),t)},subarray:function subarray(t,n){var r=jt(this),e=r.length,i=y(t,e);return new(N(r,r[wt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,d((void 0===n?e:y(n,e))-i))}},Wt=function slice(t,n){return kt(this,dt.call(jt(this),t,n))},Bt=function set(t){jt(this);var n=It(arguments[1],1),r=this.length,e=S(t),i=d(e.length),o=0;if(i+n>r)throw V(Ot);for(;o255?255:255&e),i.v[p](r*n+i.o,e,Pt)},A=function(t,n){W(t,n,{get:function(){return P(this,n)},set:function(t){return M(this,n,t)},enumerable:!0})};x?(y=r(function(t,r,e,i){s(t,y,a,"_d");var o,u,c,f,l=0,v=0;if(w(r)){if(!(r instanceof H||(f=m(r))==J||f==Y))return _t in r?Rt(y,r):Lt.call(y,r);o=r,v=It(e,n);var p=r.byteLength;if(void 0===i){if(p%n)throw V(Ot);if(u=p-v,u<0)throw V(Ot)}else if(u=d(i)*n,u+v>p)throw V(Ot);c=u/n}else c=At(r,!0),u=c*n,o=new H(u);for(h(t,"_d",{b:o,o:v,l:u,e:c,v:new Z(o)});l>1,s=23===n?A(2,-24)-A(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=M(t),t!=t||t===F?(i=t!=t?1:0,e=f):(e=I(j(t)/N),t*(o=A(2,-e))<1&&(e--,o*=2),t+=e+a>=1?s/o:s*A(2,1-a),t*o>=2&&(e++,o/=2),e+a>=f?(i=0,e=f):e+a>=1?(i=(t*o-1)*A(2,n),e+=a):(i=t*A(2,a-1)*A(2,n),e=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(e=e<0;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*h,u},D=function(t,n,r){var e,i=8*r-n-1,o=(1<>1,c=i-7,f=r-1,a=t[f--],s=127&a;for(a>>=7;c>0;s=256*s+t[f],f--,c-=8);for(e=s&(1<<-c)-1,s>>=-c,c+=n;c>0;e=256*e+t[f],f--,c-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:a?-F:F;e+=A(2,n),s-=u}return(a?-1:1)*e*A(2,s-n)},W=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},B=function(t){return[255&t]},V=function(t){return[255&t,t>>8&255]},z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},K=function(t){return G(t,52,8)},J=function(t){return G(t,23,4)},Y=function(t,n,r){p(t[x],n,{get:function(){return this[r]}})},q=function(t,n,r,e){var i=+r,o=l(i);if(i!=o||o<0||o+n>t[C])throw O(w);var u=t[L]._b,c=o+t[U],f=u.slice(c,c+n);return e?f:f.reverse()},X=function(t,n,r,e,i,o){var u=+r,c=l(u);if(u!=c||c<0||c+n>t[C])throw O(w);for(var f=t[L]._b,a=c+t[U],s=e(+i),h=0;htt;)(H=Q[tt++])in S||c(S,H,P[H]);o||(Z.constructor=S)}var nt=new _(new S(2)),rt=_[x].setInt8;nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||f(_[x],{setInt8:function setInt8(t,n){rt.call(this,t,n<<24>>24)},setUint8:function setUint8(t,n){rt.call(this,t,n<<24>>24)}},!0)}else S=function ArrayBuffer(t){var n=$(this,t);this._b=d.call(Array(n),0),this[C]=n},_=function DataView(t,n,r){s(this,_,b),s(t,S,b);var e=t[C],i=l(n);if(i<0||i>e)throw O("Wrong offset!");if(r=void 0===r?e-i:h(r),i+r>e)throw O(m);this[L]=t,this[U]=i,this[C]=r},i&&(Y(S,R,"_l"),Y(_,k,"_b"),Y(_,R,"_l"),Y(_,T,"_o")),f(_[x],{getInt8:function getInt8(t){return q(this,1,t)[0]<<24>>24},getUint8:function getUint8(t){return q(this,1,t)[0]},getInt16:function getInt16(t){var n=q(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function getUint16(t){var n=q(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function getInt32(t){return W(q(this,4,t,arguments[1]))},getUint32:function getUint32(t){return W(q(this,4,t,arguments[1]))>>>0},getFloat32:function getFloat32(t){return D(q(this,4,t,arguments[1]),23,4)},getFloat64:function getFloat64(t){return D(q(this,8,t,arguments[1]),52,8)},setInt8:function setInt8(t,n){X(this,1,t,B,n)},setUint8:function setUint8(t,n){X(this,1,t,B,n)},setInt16:function setInt16(t,n){X(this,2,t,V,n,arguments[2])},setUint16:function setUint16(t,n){X(this,2,t,V,n,arguments[2])},setInt32:function setInt32(t,n){X(this,4,t,z,n,arguments[2])},setUint32:function setUint32(t,n){X(this,4,t,z,n,arguments[2])},setFloat32:function setFloat32(t,n){X(this,4,t,J,n,arguments[2])},setFloat64:function setFloat64(t,n){X(this,8,t,K,n,arguments[2])}});y(S,g),y(_,b),c(_[x],u.VIEW,!0),r[g]=S,r[b]=_},{106:106,108:108,113:113,28:28,34:34,38:38,40:40,58:58,6:6,67:67,72:72,86:86,9:9,92:92}],113:[function(t,n,r){for(var e,i=t(38),o=t(40),u=t(114),c=u("typed_array"),f=u("view"),a=!(!i.ArrayBuffer||!i.DataView),s=a,l=0,h=9,v="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l1?arguments[1]:void 0)}}),t(5)(o)},{12:12,32:32,5:5}],125:[function(t,n,r){"use strict";var e=t(32),i=t(12)(5),o="find",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{find:function find(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),t(5)(o)},{12:12,32:32,5:5}],126:[function(t,n,r){"use strict";var e=t(32),i=t(12)(0),o=t(96)([].forEach,!0);e(e.P+e.F*!o,"Array",{forEach:function forEach(t){return i(this,t,arguments[1])}})},{12:12,32:32,96:96}],127:[function(t,n,r){"use strict";var e=t(25),i=t(32),o=t(109),u=t(51),c=t(46),f=t(108),a=t(24),s=t(118);i(i.S+i.F*!t(54)(function(t){Array.from(t)}),"Array",{from:function from(t){var n,r,i,l,h=o(t),v="function"==typeof this?this:Array,p=arguments.length,d=p>1?arguments[1]:void 0,y=void 0!==d,g=0,b=s(h);if(y&&(d=e(d,p>2?arguments[2]:void 0,2)),void 0==b||v==Array&&c(b))for(n=f(h.length),r=new v(n);n>g;g++)a(r,g,y?d(h[g],g):h[g]);else for(l=b.call(h),r=new v;!(i=l.next()).done;g++)a(r,g,y?u(l,d,[i.value,g],!0):i.value);return r.length=g,r}})},{108:108,109:109,118:118,24:24,25:25,32:32,46:46,51:51,54:54}],128:[function(t,n,r){"use strict";var e=t(32),i=t(11)(!1),o=[].indexOf,u=!!o&&1/[1].indexOf(1,-0)<0;e(e.P+e.F*(u||!t(96)(o)),"Array",{indexOf:function indexOf(t){return u?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},{11:11,32:32,96:96}],129:[function(t,n,r){var e=t(32);e(e.S,"Array",{isArray:t(47)})},{32:32,47:47}],130:[function(t,n,r){"use strict";var e=t(5),i=t(55),o=t(56),u=t(107);n.exports=t(53)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,r):"values"==n?i(0,t[r]):i(0,[r,t[r]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},{107:107,5:5,53:53,55:55,56:56}],131:[function(t,n,r){"use strict";var e=t(32),i=t(107),o=[].join;e(e.P+e.F*(t(45)!=Object||!t(96)(o)),"Array",{join:function join(t){return o.call(i(this),void 0===t?",":t)}})},{107:107,32:32,45:45,96:96}],132:[function(t,n,r){"use strict";var e=t(32),i=t(107),o=t(106),u=t(108),c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0;e(e.P+e.F*(f||!t(96)(c)),"Array",{lastIndexOf:function lastIndexOf(t){if(f)return c.apply(this,arguments)||0;var n=i(this),r=u(n.length),e=r-1;for(arguments.length>1&&(e=Math.min(e,o(arguments[1]))),e<0&&(e=r+e);e>=0;e--)if(e in n&&n[e]===t)return e||0;return-1}})},{106:106,107:107,108:108,32:32,96:96}],133:[function(t,n,r){"use strict";var e=t(32),i=t(12)(1);e(e.P+e.F*!t(96)([].map,!0),"Array",{map:function map(t){return i(this,t,arguments[1])}})},{12:12,32:32,96:96}],134:[function(t,n,r){"use strict";var e=t(32),i=t(24);e(e.S+e.F*t(34)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)i(r,t,arguments[t++]);return r.length=n,r}})},{24:24,32:32,34:34}],135:[function(t,n,r){"use strict";var e=t(32),i=t(13);e(e.P+e.F*!t(96)([].reduceRight,!0),"Array",{reduceRight:function reduceRight(t){return i(this,t,arguments.length,arguments[1],!0)}})},{13:13,32:32,96:96}],136:[function(t,n,r){"use strict";var e=t(32),i=t(13);e(e.P+e.F*!t(96)([].reduce,!0),"Array",{reduce:function reduce(t){return i(this,t,arguments.length,arguments[1],!1)}})},{13:13,32:32,96:96}],137:[function(t,n,r){"use strict";var e=t(32),i=t(41),o=t(18),u=t(105),c=t(108),f=[].slice;e(e.P+e.F*t(34)(function(){i&&f.call(i)}),"Array",{slice:function slice(t,n){var r=c(this.length),e=o(this);if(n=void 0===n?r:n,"Array"==e)return f.call(this,t,n);for(var i=u(t,r),a=u(n,r),s=c(a-i),l=Array(s),h=0;h9?t:"0"+t};e(e.P+e.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function toISOString(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),r=t.getUTCMilliseconds(),e=n<0?"-":n>9999?"+":"";return e+("00000"+Math.abs(n)).slice(e?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(r>99?r:"0"+u(r))+"Z"}})},{32:32,34:34}],143:[function(t,n,r){"use strict";var e=t(32),i=t(109),o=t(110);e(e.P+e.F*t(34)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function toJSON(t){var n=i(this),r=o(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}})},{109:109,110:110,32:32,34:34}],144:[function(t,n,r){var e=t(117)("toPrimitive"),i=Date.prototype;e in i||t(40)(i,e,t(26))},{117:117,26:26,40:40}],145:[function(t,n,r){var e=Date.prototype,i="Invalid Date",o="toString",u=e[o],c=e.getTime;new Date(NaN)+""!=i&&t(87)(e,o,function toString(){var t=c.call(this);return t===t?u.call(this):i})},{87:87}],146:[function(t,n,r){var e=t(32);e(e.P,"Function",{bind:t(16)})},{16:16,32:32}],147:[function(t,n,r){"use strict";var e=t(49),i=t(74),o=t(117)("hasInstance"),u=Function.prototype;o in u||t(67).f(u,o,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},{117:117,49:49,67:67,74:74}],148:[function(t,n,r){var e=t(67).f,i=t(85),o=t(39),u=Function.prototype,c=/^\s*function ([^ (]*)/,f="name",a=Object.isExtensible||function(){return!0};f in u||t(28)&&e(u,f,{configurable:!0,get:function(){try{var t=this,n=(""+t).match(c)[1];return o(t,f)||!a(t)||e(t,f,i(5,n)),n}catch(t){return""}}})},{28:28,39:39,67:67,85:85}],149:[function(t,n,r){"use strict";var e=t(19);n.exports=t(22)("Map",function(t){return function Map(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(t){var n=e.getEntry(this,t);return n&&n.v},set:function set(t,n){return e.def(this,0===t?0:t,n)}},e,!0)},{19:19,22:22}],150:[function(t,n,r){var e=t(32),i=t(60),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function acosh(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},{32:32,60:60}],151:[function(t,n,r){function asinh(t){return isFinite(t=+t)&&0!=t?t<0?-asinh(-t):Math.log(t+Math.sqrt(t*t+1)):t}var e=t(32),i=Math.asinh;e(e.S+e.F*!(i&&1/i(0)>0),"Math",{asinh:asinh})},{32:32}],152:[function(t,n,r){var e=t(32),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function atanh(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},{32:32}],153:[function(t,n,r){var e=t(32),i=t(61);e(e.S,"Math",{cbrt:function cbrt(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},{32:32,61:61}],154:[function(t,n,r){var e=t(32);e(e.S,"Math",{clz32:function clz32(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{32:32}],155:[function(t,n,r){var e=t(32),i=Math.exp;e(e.S,"Math",{cosh:function cosh(t){return(i(t=+t)+i(-t))/2}})},{32:32}],156:[function(t,n,r){var e=t(32),i=t(59);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},{32:32,59:59}],157:[function(t,n,r){var e=t(32),i=t(61),o=Math.pow,u=o(2,-52),c=o(2,-23),f=o(2,127)*(2-c),a=o(2,-126),s=function(t){return t+1/u-1/u};e(e.S,"Math",{fround:function fround(t){var n,r,e=Math.abs(t),o=i(t);return ef||r!=r?o*(1/0):o*r)}})},{32:32,61:61}],158:[function(t,n,r){var e=t(32),i=Math.abs;e(e.S,"Math",{hypot:function hypot(t,n){for(var r,e,o=0,u=0,c=arguments.length,f=0;u0?(e=r/f,o+=e*e):o+=r;return f===1/0?1/0:f*Math.sqrt(o)}})},{32:32}],159:[function(t,n,r){var e=t(32),i=Math.imul;e(e.S+e.F*t(34)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function imul(t,n){var r=65535,e=+t,i=+n,o=r&e,u=r&i;return 0|o*u+((r&e>>>16)*u+o*(r&i>>>16)<<16>>>0)}})},{32:32,34:34}],160:[function(t,n,r){var e=t(32);e(e.S,"Math",{log10:function log10(t){return Math.log(t)/Math.LN10}})},{32:32}],161:[function(t,n,r){var e=t(32);e(e.S,"Math",{log1p:t(60)})},{32:32,60:60}],162:[function(t,n,r){var e=t(32);e(e.S,"Math",{log2:function log2(t){return Math.log(t)/Math.LN2}})},{32:32}],163:[function(t,n,r){var e=t(32);e(e.S,"Math",{sign:t(61)})},{32:32,61:61}],164:[function(t,n,r){var e=t(32),i=t(59),o=Math.exp;e(e.S+e.F*t(34)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function sinh(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{32:32,34:34,59:59}],165:[function(t,n,r){var e=t(32),i=t(59),o=Math.exp;e(e.S,"Math",{tanh:function tanh(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},{32:32,59:59}],166:[function(t,n,r){var e=t(32);e(e.S,"Math",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{32:32}],167:[function(t,n,r){"use strict";var e=t(38),i=t(39),o=t(18),u=t(43),c=t(110),f=t(34),a=t(72).f,s=t(70).f,l=t(67).f,h=t(102).trim,v="Number",p=e[v],d=p,y=p.prototype,g=o(t(66)(y))==v,b="trim"in String.prototype,x=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=b?n.trim():h(n,3);var r,e,i,o=n.charCodeAt(0);if(43===o||45===o){if(r=n.charCodeAt(2),88===r||120===r)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:e=2,i=49;break;case 79:case 111:e=8,i=55;break;default:return+n}for(var u,f=n.slice(2),a=0,s=f.length;ai)return NaN;return parseInt(f,e)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function Number(t){var n=arguments.length<1?0:t,r=this;return r instanceof p&&(g?f(function(){y.valueOf.call(r)}):o(r)!=v)?u(new d(x(n)),r,p):x(n)};for(var m,w=t(28)?a(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)i(d,m=w[S])&&!i(p,m)&&l(p,m,s(d,m));p.prototype=y,y.constructor=p,t(87)(e,v,p)}},{102:102,110:110,18:18,28:28,34:34,38:38,39:39,43:43,66:66,67:67,70:70,72:72,87:87}],168:[function(t,n,r){var e=t(32);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},{32:32}],169:[function(t,n,r){var e=t(32),i=t(38).isFinite;e(e.S,"Number",{isFinite:function isFinite(t){return"number"==typeof t&&i(t)}})},{32:32,38:38}],170:[function(t,n,r){var e=t(32);e(e.S,"Number",{isInteger:t(48)})},{32:32,48:48}],171:[function(t,n,r){var e=t(32);e(e.S,"Number",{isNaN:function isNaN(t){return t!=t}})},{32:32}],172:[function(t,n,r){var e=t(32),i=t(48),o=Math.abs;e(e.S,"Number",{isSafeInteger:function isSafeInteger(t){return i(t)&&o(t)<=9007199254740991}})},{32:32,48:48}],173:[function(t,n,r){var e=t(32);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{32:32}],174:[function(t,n,r){var e=t(32);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{32:32}],175:[function(t,n,r){var e=t(32),i=t(81);e(e.S+e.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},{32:32,81:81}],176:[function(t,n,r){var e=t(32),i=t(82);e(e.S+e.F*(Number.parseInt!=i),"Number",{parseInt:i})},{32:32,82:82}],177:[function(t,n,r){"use strict";var e=t(32),i=t(106),o=t(4),u=t(101),c=1..toFixed,f=Math.floor,a=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",l="0",h=function(t,n){for(var r=-1,e=n;++r<6;)e+=t*a[r],a[r]=e%1e7,e=f(e/1e7)},v=function(t){for(var n=6,r=0;--n>=0;)r+=a[n],a[n]=f(r/t),r=r%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var r=String(a[t]);n=""===n?r:n+u.call(l,7-r.length)+r}return n},d=function(t,n,r){return 0===n?r:n%2===1?d(t,n-1,r*t):d(t*t,n/2,r)},y=function(t){for(var n=0,r=t;r>=4096;)n+=12,r/=4096;for(;r>=2;)n+=1,r/=2;return n};e(e.P+e.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(34)(function(){c.call({})})),"Number",{toFixed:function toFixed(t){var n,r,e,c,f=o(this,s),a=i(t),g="",b=l;if(a<0||a>20)throw RangeError(s);if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return String(f);if(f<0&&(g="-",f=-f),f>1e-21)if(n=y(f*d(2,69,1))-69,r=n<0?f*d(2,-n,1):f/d(2,n,1),r*=4503599627370496,n=52-n,n>0){for(h(0,r),e=a;e>=7;)h(1e7,0),e-=7;for(h(d(10,e,1),0),e=n-1;e>=23;)v(1<<23),e-=23;v(1<0?(c=b.length,b=g+(c<=a?"0."+u.call(l,a-c)+b:b.slice(0,c-a)+"."+b.slice(c-a))):b=g+b,b}})},{101:101,106:106,32:32,34:34,4:4}],178:[function(t,n,r){"use strict";var e=t(32),i=t(34),o=t(4),u=1..toPrecision;e(e.P+e.F*(i(function(){return"1"!==u.call(1,void 0)})||!i(function(){u.call({})})),"Number",{toPrecision:function toPrecision(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},{32:32,34:34,4:4}],179:[function(t,n,r){var e=t(32);e(e.S+e.F,"Object",{assign:t(65)})},{32:32,65:65}],180:[function(t,n,r){var e=t(32);e(e.S,"Object",{create:t(66)})},{32:32,66:66}],181:[function(t,n,r){var e=t(32);e(e.S+e.F*!t(28),"Object",{defineProperties:t(68)})},{28:28,32:32,68:68}],182:[function(t,n,r){var e=t(32);e(e.S+e.F*!t(28),"Object",{defineProperty:t(67).f})},{28:28,32:32,67:67}],183:[function(t,n,r){var e=t(49),i=t(62).onFreeze;t(78)("freeze",function(t){return function freeze(n){return t&&e(n)?t(i(n)):n}})},{49:49,62:62,78:78}],184:[function(t,n,r){var e=t(107),i=t(70).f;t(78)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(t,n){return i(e(t),n)}})},{107:107,70:70,78:78}],185:[function(t,n,r){t(78)("getOwnPropertyNames",function(){return t(71).f})},{71:71,78:78}],186:[function(t,n,r){var e=t(109),i=t(74);t(78)("getPrototypeOf",function(){return function getPrototypeOf(t){return i(e(t))}})},{109:109,74:74,78:78}],187:[function(t,n,r){var e=t(49);t(78)("isExtensible",function(t){return function isExtensible(n){return!!e(n)&&(!t||t(n))}})},{49:49,78:78}],188:[function(t,n,r){var e=t(49);t(78)("isFrozen",function(t){return function isFrozen(n){return!e(n)||!!t&&t(n)}})},{49:49,78:78}],189:[function(t,n,r){var e=t(49);t(78)("isSealed",function(t){return function isSealed(n){return!e(n)||!!t&&t(n)}})},{49:49,78:78}],190:[function(t,n,r){var e=t(32);e(e.S,"Object",{is:t(89)})},{32:32,89:89}],191:[function(t,n,r){var e=t(109),i=t(76);t(78)("keys",function(){return function keys(t){return i(e(t))}})},{109:109,76:76,78:78}],192:[function(t,n,r){var e=t(49),i=t(62).onFreeze;t(78)("preventExtensions",function(t){return function preventExtensions(n){return t&&e(n)?t(i(n)):n}})},{49:49,62:62,78:78}],193:[function(t,n,r){var e=t(49),i=t(62).onFreeze;t(78)("seal",function(t){return function seal(n){return t&&e(n)?t(i(n)):n}})},{49:49,62:62,78:78}],194:[function(t,n,r){var e=t(32);e(e.S,"Object",{setPrototypeOf:t(90).set})},{32:32,90:90}],195:[function(t,n,r){"use strict";var e=t(17),i={};i[t(117)("toStringTag")]="z",i+""!="[object z]"&&t(87)(Object.prototype,"toString",function toString(){return"[object "+e(this)+"]"},!0)},{117:117,17:17,87:87}],196:[function(t,n,r){var e=t(32),i=t(81);e(e.G+e.F*(parseFloat!=i),{parseFloat:i})},{32:32,81:81}],197:[function(t,n,r){var e=t(32),i=t(82);e(e.G+e.F*(parseInt!=i),{parseInt:i})},{32:32,82:82}],198:[function(t,n,r){"use strict";var e,i,o,u=t(58),c=t(38),f=t(25),a=t(17),s=t(32),l=t(49),h=t(3),v=t(6),p=t(37),d=t(95),y=t(104).set,g=t(64)(),b="Promise",x=c.TypeError,m=c.process,w=c[b],m=c.process,S="process"==a(m),_=function(){},E=!!function(){try{var n=w.resolve(1),r=(n.constructor={})[t(117)("species")]=function(t){t(_,_)};return(S||"function"==typeof PromiseRejectionEvent)&&n.then(_)instanceof r}catch(t){}}(),O=function(t,n){return t===n||t===w&&n===o},F=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},P=function(t){return O(w,t)?new M(t):new i(t)},M=i=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw x("Bad Promise constructor");n=t,r=e}),this.resolve=h(n),this.reject=h(r)},A=function(t){try{t()}catch(t){return{error:t}}},I=function(t,n){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var e=t._v,i=1==t._s,o=0,u=function(n){var r,o,u=i?n.ok:n.fail,c=n.resolve,f=n.reject,a=n.domain;try{u?(i||(2==t._h&&k(t),t._h=1),u===!0?r=e:(a&&a.enter(),r=u(e),a&&a.exit()),r===n.promise?f(x("Promise-chain cycle")):(o=F(r))?o.call(r,c,f):c(r)):f(e)}catch(t){f(t)}};r.length>o;)u(r[o++]);t._c=[],t._n=!1,n&&!t._h&&j(t)})}},j=function(t){y.call(c,function(){var n,r,e,i=t._v;if(N(t)&&(n=A(function(){S?m.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(e=c.console)&&e.error&&e.error("Unhandled promise rejection",i)}),t._h=S||N(t)?2:1),t._a=void 0,n)throw n.error})},N=function(t){if(1==t._h)return!1;for(var n,r=t._a||t._c,e=0;r.length>e;)if(n=r[e++],n.fail||!N(n.promise))return!1;return!0},k=function(t){y.call(c,function(){var n;S?m.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},R=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),I(n,!0))},T=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw x("Promise can't be resolved itself");(n=F(t))?g(function(){var e={_w:r,_d:!1};try{n.call(t,f(T,e,1),f(R,e,1))}catch(t){R.call(e,t)}}):(r._v=t,r._s=1,I(r,!1))}catch(t){R.call({_w:r,_d:!1},t)}}};E||(w=function Promise(t){v(this,w,b,"_h"),h(t),e.call(this);try{t(f(T,this,1),f(R,this,1))}catch(t){R.call(this,t)}},e=function Promise(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},e.prototype=t(86)(w.prototype,{then:function then(t,n){var r=P(d(this,w));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=S?m.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),M=function(){var t=new e;this.promise=t,this.resolve=f(T,t,1),this.reject=f(R,t,1)}),s(s.G+s.W+s.F*!E,{Promise:w}),t(92)(w,b),t(91)(b),o=t(23)[b],s(s.S+s.F*!E,b,{reject:function reject(t){var n=P(this),r=n.reject;return r(t),n.promise}}),s(s.S+s.F*(u||!E),b,{resolve:function resolve(t){if(t instanceof w&&O(t.constructor,this))return t;var n=P(this),r=n.resolve;return r(t),n.promise}}),s(s.S+s.F*!(E&&t(54)(function(t){w.all(t).catch(_)})),b,{all:function all(t){var n=this,r=P(n),e=r.resolve,i=r.reject,o=A(function(){var r=[],o=0,u=1;p(t,!1,function(t){var c=o++,f=!1;r.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,r[c]=t,--u||e(r))},i)}),--u||e(r)});return o&&i(o.error),r.promise},race:function race(t){var n=this,r=P(n),e=r.reject,i=A(function(){p(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return i&&e(i.error),r.promise}})},{104:104,117:117,17:17,23:23,25:25,3:3,32:32,37:37,38:38,49:49,54:54,58:58,6:6,64:64,86:86,91:91,92:92,95:95}],199:[function(t,n,r){var e=t(32),i=t(3),o=t(7),u=(t(38).Reflect||{}).apply,c=Function.apply;e(e.S+e.F*!t(34)(function(){u(function(){})}),"Reflect",{apply:function apply(t,n,r){var e=i(t),f=o(r);return u?u(e,n,f):c.call(e,n,f)}})},{3:3,32:32,34:34,38:38,7:7}],200:[function(t,n,r){var e=t(32),i=t(66),o=t(3),u=t(7),c=t(49),f=t(34),a=t(16),s=(t(38).Reflect||{}).construct,l=f(function(){function F(){}return!(s(function(){},[],F)instanceof F)}),h=!f(function(){s(function(){})});e(e.S+e.F*(l||h),"Reflect",{construct:function construct(t,n){o(t),u(n);var r=arguments.length<3?t:o(arguments[2]);if(h&&!l)return s(t,n,r);if(t==r){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var e=[null];return e.push.apply(e,n),new(a.apply(t,e))}var f=r.prototype,v=i(c(f)?f:Object.prototype),p=Function.apply.call(t,v,n);return c(p)?p:v}})},{16:16,3:3,32:32,34:34,38:38,49:49,66:66,7:7}],201:[function(t,n,r){var e=t(67),i=t(32),o=t(7),u=t(110);i(i.S+i.F*t(34)(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function defineProperty(t,n,r){o(t),n=u(n,!0),o(r);try{return e.f(t,n,r),!0}catch(t){return!1}}})},{110:110,32:32,34:34,67:67,7:7}],202:[function(t,n,r){var e=t(32),i=t(70).f,o=t(7);e(e.S,"Reflect",{deleteProperty:function deleteProperty(t,n){var r=i(o(t),n);return!(r&&!r.configurable)&&delete t[n]}})},{32:32,7:7,70:70}],203:[function(t,n,r){"use strict";var e=t(32),i=t(7),o=function(t){this._t=i(t),this._i=0;var n,r=this._k=[];for(n in t)r.push(n)};t(52)(o,"Object",function(){var t,n=this,r=n._k;do if(n._i>=r.length)return{value:void 0,done:!0};while(!((t=r[n._i++])in n._t));return{value:t,done:!1}}),e(e.S,"Reflect",{enumerate:function enumerate(t){return new o(t)}})},{32:32,52:52,7:7}],204:[function(t,n,r){var e=t(70),i=t(32),o=t(7);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(t,n){return e.f(o(t),n)}})},{32:32,7:7,70:70}],205:[function(t,n,r){var e=t(32),i=t(74),o=t(7);e(e.S,"Reflect",{getPrototypeOf:function getPrototypeOf(t){return i(o(t))}})},{32:32,7:7,74:74}],206:[function(t,n,r){function get(t,n){var r,u,a=arguments.length<3?t:arguments[2];return f(t)===a?t[n]:(r=e.f(t,n))?o(r,"value")?r.value:void 0!==r.get?r.get.call(a):void 0:c(u=i(t))?get(u,n,a):void 0}var e=t(70),i=t(74),o=t(39),u=t(32),c=t(49),f=t(7);u(u.S,"Reflect",{get:get})},{32:32,39:39,49:49,7:7,70:70,74:74}],207:[function(t,n,r){var e=t(32);e(e.S,"Reflect",{has:function has(t,n){return n in t; -}})},{32:32}],208:[function(t,n,r){var e=t(32),i=t(7),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function isExtensible(t){return i(t),!o||o(t)}})},{32:32,7:7}],209:[function(t,n,r){var e=t(32);e(e.S,"Reflect",{ownKeys:t(80)})},{32:32,80:80}],210:[function(t,n,r){var e=t(32),i=t(7),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function preventExtensions(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{32:32,7:7}],211:[function(t,n,r){var e=t(32),i=t(90);i&&e(e.S,"Reflect",{setPrototypeOf:function setPrototypeOf(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},{32:32,90:90}],212:[function(t,n,r){function set(t,n,r){var c,l,h=arguments.length<4?t:arguments[3],v=i.f(a(t),n);if(!v){if(s(l=o(t)))return set(l,n,r,h);v=f(0)}return u(v,"value")?!(v.writable===!1||!s(h))&&(c=i.f(h,n)||f(0),c.value=r,e.f(h,n,c),!0):void 0!==v.set&&(v.set.call(h,r),!0)}var e=t(67),i=t(70),o=t(74),u=t(39),c=t(32),f=t(85),a=t(7),s=t(49);c(c.S,"Reflect",{set:set})},{32:32,39:39,49:49,67:67,7:7,70:70,74:74,85:85}],213:[function(t,n,r){var e=t(38),i=t(43),o=t(67).f,u=t(72).f,c=t(50),f=t(36),a=e.RegExp,s=a,l=a.prototype,h=/a/g,v=/a/g,p=new a(h)!==h;if(t(28)&&(!p||t(34)(function(){return v[t(117)("match")]=!1,a(h)!=h||a(v)==v||"/a/i"!=a(h,"i")}))){a=function RegExp(t,n){var r=this instanceof a,e=c(t),o=void 0===n;return!r&&e&&t.constructor===a&&o?t:i(p?new s(e&&!o?t.source:t,n):s((e=t instanceof a)?t.source:t,e&&o?f.call(t):n),r?this:l,a)};for(var d=(function(t){t in a||o(a,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})}),y=u(s),g=0;y.length>g;)d(y[g++]);l.constructor=a,a.prototype=l,t(87)(e,"RegExp",a)}t(91)("RegExp")},{117:117,28:28,34:34,36:36,38:38,43:43,50:50,67:67,72:72,87:87,91:91}],214:[function(t,n,r){t(28)&&"g"!=/./g.flags&&t(67).f(RegExp.prototype,"flags",{configurable:!0,get:t(36)})},{28:28,36:36,67:67}],215:[function(t,n,r){t(35)("match",1,function(t,n,r){return[function match(r){"use strict";var e=t(this),i=void 0==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},r]})},{35:35}],216:[function(t,n,r){t(35)("replace",2,function(t,n,r){return[function replace(e,i){"use strict";var o=t(this),u=void 0==e?void 0:e[n];return void 0!==u?u.call(e,o,i):r.call(String(o),e,i)},r]})},{35:35}],217:[function(t,n,r){t(35)("search",1,function(t,n,r){return[function search(r){"use strict";var e=t(this),i=void 0==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},r]})},{35:35}],218:[function(t,n,r){t(35)("split",2,function(n,r,e){"use strict";var i=t(50),o=e,u=[].push,c="split",f="length",a="lastIndex";if("c"=="abbc"[c](/(b)*/)[1]||4!="test"[c](/(?:)/,-1)[f]||2!="ab"[c](/(?:ab)*/)[f]||4!="."[c](/(.?)(.?)/)[f]||"."[c](/()()/)[f]>1||""[c](/.?/)[f]){var s=void 0===/()??/.exec("")[1];e=function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!i(t))return o.call(r,t,n);var e,c,l,h,v,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=void 0===n?4294967295:n>>>0,b=new RegExp(t.source,d+"g");for(s||(e=new RegExp("^"+b.source+"$(?!\\s)",d));(c=b.exec(r))&&(l=c.index+c[0][f],!(l>y&&(p.push(r.slice(y,c.index)),!s&&c[f]>1&&c[0].replace(e,function(){for(v=1;v1&&c.index=g)));)b[a]===c.index&&b[a]++;return y===r[f]?!h&&b.test("")||p.push(""):p.push(r.slice(y)),p[f]>g?p.slice(0,g):p}}else"0"[c](void 0,0)[f]&&(e=function(t,n){return void 0===t&&0===n?[]:o.call(this,t,n)});return[function split(t,i){var o=n(this),u=void 0==t?void 0:t[r];return void 0!==u?u.call(t,o,i):e.call(String(o),t,i)},e]})},{35:35,50:50}],219:[function(t,n,r){"use strict";t(214);var e=t(7),i=t(36),o=t(28),u="toString",c=/./[u],f=function(n){t(87)(RegExp.prototype,u,n,!0)};t(34)(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?f(function toString(){var t=e(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):c.name!=u&&f(function toString(){return c.call(this)})},{214:214,28:28,34:34,36:36,7:7,87:87}],220:[function(t,n,r){"use strict";var e=t(19);n.exports=t(22)("Set",function(t){return function Set(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return e.def(this,t=0===t?0:t,t)}},e)},{19:19,22:22}],221:[function(t,n,r){"use strict";t(99)("anchor",function(t){return function anchor(n){return t(this,"a","name",n)}})},{99:99}],222:[function(t,n,r){"use strict";t(99)("big",function(t){return function big(){return t(this,"big","","")}})},{99:99}],223:[function(t,n,r){"use strict";t(99)("blink",function(t){return function blink(){return t(this,"blink","","")}})},{99:99}],224:[function(t,n,r){"use strict";t(99)("bold",function(t){return function bold(){return t(this,"b","","")}})},{99:99}],225:[function(t,n,r){"use strict";var e=t(32),i=t(97)(!1);e(e.P,"String",{codePointAt:function codePointAt(t){return i(this,t)}})},{32:32,97:97}],226:[function(t,n,r){"use strict";var e=t(32),i=t(108),o=t(98),u="endsWith",c=""[u];e(e.P+e.F*t(33)(u),"String",{endsWith:function endsWith(t){var n=o(this,t,u),r=arguments.length>1?arguments[1]:void 0,e=i(n.length),f=void 0===r?e:Math.min(i(r),e),a=String(t);return c?c.call(n,a,f):n.slice(f-a.length,f)===a}})},{108:108,32:32,33:33,98:98}],227:[function(t,n,r){"use strict";t(99)("fixed",function(t){return function fixed(){return t(this,"tt","","")}})},{99:99}],228:[function(t,n,r){"use strict";t(99)("fontcolor",function(t){return function fontcolor(n){return t(this,"font","color",n)}})},{99:99}],229:[function(t,n,r){"use strict";t(99)("fontsize",function(t){return function fontsize(n){return t(this,"font","size",n)}})},{99:99}],230:[function(t,n,r){var e=t(32),i=t(105),o=String.fromCharCode,u=String.fromCodePoint;e(e.S+e.F*(!!u&&1!=u.length),"String",{fromCodePoint:function fromCodePoint(t){for(var n,r=[],e=arguments.length,u=0;e>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?o(n):o(((n-=65536)>>10)+55296,n%1024+56320))}return r.join("")}})},{105:105,32:32}],231:[function(t,n,r){"use strict";var e=t(32),i=t(98),o="includes";e(e.P+e.F*t(33)(o),"String",{includes:function includes(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},{32:32,33:33,98:98}],232:[function(t,n,r){"use strict";t(99)("italics",function(t){return function italics(){return t(this,"i","","")}})},{99:99}],233:[function(t,n,r){"use strict";var e=t(97)(!0);t(53)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},{53:53,97:97}],234:[function(t,n,r){"use strict";t(99)("link",function(t){return function link(n){return t(this,"a","href",n)}})},{99:99}],235:[function(t,n,r){var e=t(32),i=t(107),o=t(108);e(e.S,"String",{raw:function raw(t){for(var n=i(t.raw),r=o(n.length),e=arguments.length,u=[],c=0;r>c;)u.push(String(n[c++])),c1?arguments[1]:void 0,n.length)),e=String(t);return c?c.call(n,e,r):n.slice(r,r+e.length)===e}})},{108:108,32:32,33:33,98:98}],239:[function(t,n,r){"use strict";t(99)("strike",function(t){return function strike(){return t(this,"strike","","")}})},{99:99}],240:[function(t,n,r){"use strict";t(99)("sub",function(t){return function sub(){return t(this,"sub","","")}})},{99:99}],241:[function(t,n,r){"use strict";t(99)("sup",function(t){return function sup(){return t(this,"sup","","")}})},{99:99}],242:[function(t,n,r){"use strict";t(102)("trim",function(t){return function trim(){return t(this,3)}})},{102:102}],243:[function(t,n,r){"use strict";var e=t(38),i=t(39),o=t(28),u=t(32),c=t(87),f=t(62).KEY,a=t(34),s=t(94),l=t(92),h=t(114),v=t(117),p=t(116),d=t(115),y=t(57),g=t(31),b=t(47),x=t(7),m=t(107),w=t(110),S=t(85),_=t(66),E=t(71),O=t(70),F=t(67),P=t(76),M=O.f,A=F.f,I=E.f,j=e.Symbol,N=e.JSON,k=N&&N.stringify,R="prototype",T=v("_hidden"),L=v("toPrimitive"),C={}.propertyIsEnumerable,U=s("symbol-registry"),G=s("symbols"),D=s("op-symbols"),W=Object[R],B="function"==typeof j,V=e.QObject,z=!V||!V[R]||!V[R].findChild,K=o&&a(function(){return 7!=_(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=M(W,n);e&&delete W[n],A(t,n,r),e&&t!==W&&A(W,n,e)}:A,J=function(t){var n=G[t]=_(j[R]);return n._k=t,n},Y=B&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},q=function defineProperty(t,n,r){return t===W&&q(D,n,r),x(t),n=w(n,!0),x(r),i(G,n)?(r.enumerable?(i(t,T)&&t[T][n]&&(t[T][n]=!1),r=_(r,{enumerable:S(0,!1)})):(i(t,T)||A(t,T,S(1,{})),t[T][n]=!0),K(t,n,r)):A(t,n,r)},X=function defineProperties(t,n){x(t);for(var r,e=g(n=m(n)),i=0,o=e.length;o>i;)q(t,r=e[i++],n[r]);return t},$=function create(t,n){return void 0===n?_(t):X(_(t),n)},H=function propertyIsEnumerable(t){var n=C.call(this,t=w(t,!0));return!(this===W&&i(G,t)&&!i(D,t))&&(!(n||!i(this,t)||!i(G,t)||i(this,T)&&this[T][t])||n)},Z=function getOwnPropertyDescriptor(t,n){if(t=m(t),n=w(n,!0),t!==W||!i(G,n)||i(D,n)){var r=M(t,n);return!r||!i(G,n)||i(t,T)&&t[T][n]||(r.enumerable=!0),r}},Q=function getOwnPropertyNames(t){for(var n,r=I(m(t)),e=[],o=0;r.length>o;)i(G,n=r[o++])||n==T||n==f||e.push(n);return e},tt=function getOwnPropertySymbols(t){for(var n,r=t===W,e=I(r?D:m(t)),o=[],u=0;e.length>u;)!i(G,n=e[u++])||r&&!i(W,n)||o.push(G[n]);return o};B||(j=function Symbol(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(r){this===W&&n.call(D,r),i(this,T)&&i(this[T],t)&&(this[T][t]=!1),K(this,t,S(1,r))};return o&&z&&K(W,t,{configurable:!0,set:n}),J(t)},c(j[R],"toString",function toString(){return this._k}),O.f=Z,F.f=q,t(72).f=E.f=Q,t(77).f=H,t(73).f=tt,o&&!t(58)&&c(W,"propertyIsEnumerable",H,!0),p.f=function(t){return J(v(t))}),u(u.G+u.W+u.F*!B,{Symbol:j});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)v(nt[rt++]);for(var nt=P(v.store),rt=0;nt.length>rt;)d(nt[rt++]);u(u.S+u.F*!B,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=j(t)},keyFor:function keyFor(t){if(Y(t))return y(U,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!B,"Object",{create:$,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),N&&u(u.S+u.F*(!B||a(function(){var t=j();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function stringify(t){if(void 0!==t&&!Y(t)){for(var n,r,e=[t],i=1;arguments.length>i;)e.push(arguments[i++]);return n=e[1],"function"==typeof n&&(r=n),!r&&b(n)||(n=function(t,n){if(r&&(n=r.call(this,t,n)),!Y(n))return n}),e[1]=n,k.apply(N,e)}}}),j[R][L]||t(40)(j[R],L,j[R].valueOf),l(j,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},{107:107,110:110,114:114,115:115,116:116,117:117,28:28,31:31,32:32,34:34,38:38,39:39,40:40,47:47,57:57,58:58,62:62,66:66,67:67,7:7,70:70,71:71,72:72,73:73,76:76,77:77,85:85,87:87,92:92,94:94}],244:[function(t,n,r){"use strict";var e=t(32),i=t(113),o=t(112),u=t(7),c=t(105),f=t(108),a=t(49),s=t(38).ArrayBuffer,l=t(95),h=o.ArrayBuffer,v=o.DataView,p=i.ABV&&s.isView,d=h.prototype.slice,y=i.VIEW,g="ArrayBuffer";e(e.G+e.W+e.F*(s!==h),{ArrayBuffer:h}),e(e.S+e.F*!i.CONSTR,g,{isView:function isView(t){return p&&p(t)||a(t)&&y in t}}),e(e.P+e.U+e.F*t(34)(function(){return!new h(2).slice(1,void 0).byteLength}),g,{slice:function slice(t,n){if(void 0!==d&&void 0===n)return d.call(u(this),t);for(var r=u(this).byteLength,e=c(t,r),i=c(void 0===n?r:n,r),o=new(l(this,h))(f(i-e)),a=new v(this),s=new v(o),p=0;e0?arguments[0]:void 0)}},d={get:function get(t){if(a(t)){var n=s(t);return n===!0?h(this).get(t):n?n[this._i]:void 0}},set:function set(t,n){return f.def(this,t,n)}},y=n.exports=t(22)("WeakMap",p,d,f,!0,!0);7!=(new y).set((Object.freeze||Object)(v),7).get(v)&&(e=f.getConstructor(p),c(e.prototype,d),u.NEED=!0,i(["delete","has","get","set"],function(t){var n=y.prototype,r=n[t];o(n,t,function(n,i){if(a(n)&&!l(n)){this._f||(this._f=new e);var o=this._f[t](n,i);return"set"==t?this:o}return r.call(this,n,i)})}))},{12:12,21:21,22:22,49:49,62:62,65:65,87:87}],256:[function(t,n,r){"use strict";var e=t(21);t(22)("WeakSet",function(t){return function WeakSet(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return e.def(this,t,!0)}},e,!1,!0)},{21:21,22:22}],257:[function(t,n,r){"use strict";var e=t(32),i=t(11)(!0);e(e.P,"Array",{includes:function includes(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),t(5)("includes")},{11:11,32:32,5:5}],258:[function(t,n,r){var e=t(32),i=t(64)(),o=t(38).process,u="process"==t(18)(o);e(e.G,{asap:function asap(t){var n=u&&o.domain;i(n?n.bind(t):t)}})},{18:18,32:32,38:38,64:64}],259:[function(t,n,r){var e=t(32),i=t(18);e(e.S,"Error",{isError:function isError(t){return"Error"===i(t)}})},{18:18,32:32}],260:[function(t,n,r){var e=t(32);e(e.P+e.R,"Map",{toJSON:t(20)("Map")})},{20:20,32:32}],261:[function(t,n,r){var e=t(32);e(e.S,"Math",{iaddh:function iaddh(t,n,r,e){var i=t>>>0,o=n>>>0,u=r>>>0;return o+(e>>>0)+((i&u|(i|u)&~(i+u>>>0))>>>31)|0}})},{32:32}],262:[function(t,n,r){var e=t(32);e(e.S,"Math",{imulh:function imulh(t,n){var r=65535,e=+t,i=+n,o=e&r,u=i&r,c=e>>16,f=i>>16,a=(c*u>>>0)+(o*u>>>16);return c*f+(a>>16)+((o*f>>>0)+(a&r)>>16)}})},{32:32}],263:[function(t,n,r){var e=t(32);e(e.S,"Math",{isubh:function isubh(t,n,r,e){var i=t>>>0,o=n>>>0,u=r>>>0;return o-(e>>>0)-((~i&u|~(i^u)&i-u>>>0)>>>31)|0}})},{32:32}],264:[function(t,n,r){var e=t(32);e(e.S,"Math",{umulh:function umulh(t,n){var r=65535,e=+t,i=+n,o=e&r,u=i&r,c=e>>>16,f=i>>>16,a=(c*u>>>0)+(o*u>>>16);return c*f+(a>>>16)+((o*f>>>0)+(a&r)>>>16)}})},{32:32}],265:[function(t,n,r){"use strict";var e=t(32),i=t(109),o=t(3),u=t(67);t(28)&&e(e.P+t(69),"Object",{__defineGetter__:function __defineGetter__(t,n){u.f(i(this),t,{get:o(n),enumerable:!0,configurable:!0})}})},{109:109,28:28,3:3,32:32,67:67,69:69}],266:[function(t,n,r){"use strict";var e=t(32),i=t(109),o=t(3),u=t(67);t(28)&&e(e.P+t(69),"Object",{__defineSetter__:function __defineSetter__(t,n){u.f(i(this),t,{set:o(n),enumerable:!0,configurable:!0})}})},{109:109,28:28,3:3,32:32,67:67,69:69}],267:[function(t,n,r){var e=t(32),i=t(79)(!0);e(e.S,"Object",{entries:function entries(t){return i(t)}})},{32:32,79:79}],268:[function(t,n,r){var e=t(32),i=t(80),o=t(107),u=t(70),c=t(24);e(e.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(t){for(var n,r=o(t),e=u.f,f=i(r),a={},s=0;f.length>s;)c(a,n=f[s++],e(r,n));return a}})},{107:107,24:24,32:32,70:70,80:80}],269:[function(t,n,r){"use strict";var e=t(32),i=t(109),o=t(110),u=t(74),c=t(70).f;t(28)&&e(e.P+t(69),"Object",{__lookupGetter__:function __lookupGetter__(t){var n,r=i(this),e=o(t,!0);do if(n=c(r,e))return n.get;while(r=u(r))}})},{109:109,110:110,28:28,32:32,69:69,70:70,74:74}],270:[function(t,n,r){"use strict";var e=t(32),i=t(109),o=t(110),u=t(74),c=t(70).f;t(28)&&e(e.P+t(69),"Object",{__lookupSetter__:function __lookupSetter__(t){var n,r=i(this),e=o(t,!0);do if(n=c(r,e))return n.set;while(r=u(r))}})},{109:109,110:110,28:28,32:32,69:69,70:70,74:74}],271:[function(t,n,r){var e=t(32),i=t(79)(!1);e(e.S,"Object",{values:function values(t){return i(t)}})},{32:32,79:79}],272:[function(t,n,r){"use strict";var e=t(32),i=t(38),o=t(23),u=t(64)(),c=t(117)("observable"),f=t(3),a=t(7),s=t(6),l=t(86),h=t(40),v=t(37),p=v.RETURN,d=function(t){return null==t?void 0:f(t)},y=function(t){var n=t._c;n&&(t._c=void 0,n())},g=function(t){return void 0===t._o},b=function(t){g(t)||(t._o=void 0,y(t))},x=function(t,n){a(t),this._c=void 0,this._o=t,t=new m(this);try{var r=n(t),e=r;null!=r&&("function"==typeof r.unsubscribe?r=function(){e.unsubscribe()}:f(r),this._c=r)}catch(n){return void t.error(n)}g(this)&&y(this)};x.prototype=l({},{unsubscribe:function unsubscribe(){b(this)}});var m=function(t){this._s=t};m.prototype=l({},{next:function next(t){var n=this._s;if(!g(n)){var r=n._o;try{var e=d(r.next);if(e)return e.call(r,t)}catch(t){try{b(n)}finally{throw t}}}},error:function error(t){var n=this._s;if(g(n))throw t;var r=n._o;n._o=void 0;try{var e=d(r.error);if(!e)throw t;t=e.call(r,t)}catch(t){try{y(n)}finally{throw t}}return y(n),t},complete:function complete(t){var n=this._s;if(!g(n)){var r=n._o;n._o=void 0;try{var e=d(r.complete);t=e?e.call(r,t):void 0}catch(t){try{y(n)}finally{throw t}}return y(n),t}}});var w=function Observable(t){s(this,w,"Observable","_f")._f=f(t)};l(w.prototype,{subscribe:function subscribe(t){return new x(t,this._f)},forEach:function forEach(t){var n=this;return new(o.Promise||i.Promise)(function(r,e){f(t);var i=n.subscribe({next:function(n){try{return t(n)}catch(t){e(t),i.unsubscribe()}},error:e,complete:r})})}}),l(w,{from:function from(t){var n="function"==typeof this?this:w,r=d(a(t)[c]);if(r){var e=a(r.call(t));return e.constructor===n?e:new n(function(t){return e.subscribe(t)})}return new n(function(n){var r=!1;return u(function(){if(!r){try{if(v(t,!1,function(t){if(n.next(t),r)return p})===p)return}catch(t){if(r)throw t;return void n.error(t)}n.complete()}}),function(){r=!0}})},of:function of(){for(var t=0,n=arguments.length,r=Array(n);t1?arguments[1]:void 0,!1)}})},{100:100,32:32}],286:[function(t,n,r){"use strict";var e=t(32),i=t(100);e(e.P,"String",{padStart:function padStart(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},{100:100,32:32}],287:[function(t,n,r){"use strict";t(102)("trimLeft",function(t){return function trimLeft(){return t(this,1)}},"trimStart")},{102:102}],288:[function(t,n,r){"use strict";t(102)("trimRight",function(t){return function trimRight(){return t(this,2)}},"trimEnd")},{102:102}],289:[function(t,n,r){t(115)("asyncIterator")},{115:115}],290:[function(t,n,r){t(115)("observable")},{115:115}],291:[function(t,n,r){var e=t(32);e(e.S,"System",{global:t(38)})},{32:32,38:38}],292:[function(t,n,r){for(var e=t(130),i=t(87),o=t(38),u=t(40),c=t(56),f=t(117),a=f("iterator"),s=f("toStringTag"),l=c.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],v=0;v<5;v++){var p,d=h[v],y=o[d],g=y&&y.prototype;if(g){g[a]||u(g,a,l),g[s]||u(g,s,d),c[d]=l;for(p in e)g[p]||i(g,p,e[p],!0)}}},{117:117,130:130,38:38,40:40,56:56,87:87}],293:[function(t,n,r){var e=t(32),i=t(104);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},{104:104,32:32}],294:[function(t,n,r){var e=t(38),i=t(32),o=t(44),u=t(83),c=e.navigator,f=!!c&&/MSIE .\./.test(c.userAgent),a=function(t){return f?function(n,r){return t(o(u,[].slice.call(arguments,2),"function"==typeof n?n:Function(n)),r)}:t};i(i.G+i.B+i.F*f,{setTimeout:a(e.setTimeout),setInterval:a(e.setInterval)})},{32:32,38:38,44:44,83:83}],295:[function(t,n,r){t(243),t(180),t(182),t(181),t(184),t(186),t(191),t(185),t(183),t(193),t(192),t(188),t(189),t(187),t(179),t(190),t(194),t(195),t(146),t(148),t(147),t(197),t(196),t(167),t(177),t(178),t(168),t(169),t(170),t(171),t(172),t(173),t(174),t(175),t(176),t(150),t(151),t(152),t(153),t(154),t(155),t(156),t(157),t(158),t(159),t(160),t(161),t(162),t(163),t(164),t(165),t(166),t(230),t(235),t(242),t(233),t(225),t(226),t(231),t(236),t(238),t(221),t(222),t(223),t(224),t(227),t(228),t(229),t(232),t(234),t(237),t(239),t(240),t(241),t(141),t(143),t(142),t(145),t(144),t(129),t(127),t(134),t(131),t(137),t(139),t(126),t(133),t(123),t(138),t(121),t(136),t(135),t(128),t(132),t(120),t(122),t(125),t(124),t(140),t(130),t(213),t(219),t(214),t(215),t(216),t(217),t(218),t(198),t(149),t(220),t(255),t(256),t(244),t(245),t(250),t(253),t(254),t(248),t(251),t(249),t(252),t(246),t(247),t(199),t(200),t(201),t(202),t(203),t(206),t(204),t(205),t(207),t(208),t(209),t(210),t(212),t(211),t(257),t(283),t(286),t(285),t(287),t(288),t(284),t(289),t(290),t(268),t(271),t(267),t(265),t(266),t(269),t(270),t(260),t(282),t(291),t(259),t(261),t(263),t(262),t(264),t(273),t(274),t(276),t(275),t(278),t(277),t(279),t(280),t(281),t(258),t(272),t(294),t(293),t(292),n.exports=t(23)},{120:120,121:121,122:122,123:123,124:124,125:125,126:126,127:127,128:128,129:129,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:223,224:224,225:225,226:226,227:227,228:228,229:229,23:23,230:230,231:231,232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:256,257:257,258:258,259:259,260:260,261:261,262:262,263:263,264:264,265:265,266:266,267:267,268:268,269:269,270:270,271:271,272:272,273:273,274:274,275:275,276:276,277:277,278:278,279:279,280:280,281:281,282:282,283:283,284:284,285:285,286:286,287:287,288:288,289:289,290:290,291:291,292:292,293:293,294:294}],296:[function(t,n,r){(function(t){!function(t){"use strict";function wrap(t,n,r,e){var i=n&&n.prototype instanceof Generator?n:Generator,o=Object.create(i.prototype),u=new Context(e||[]);return o._invoke=makeInvokeMethod(t,r,u),o}function tryCatch(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function AsyncIterator(t){function invoke(n,r,e,o){var u=tryCatch(t[n],t,r);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&i.call(f,"__await")?Promise.resolve(f.__await).then(function(t){invoke("next",t,e,o)},function(t){invoke("throw",t,e,o)}):Promise.resolve(f).then(function(t){c.value=t,e(c)},o)}o(u.arg)}function enqueue(t,r){function callInvokeWithMethodAndArg(){return new Promise(function(n,e){invoke(t,r,n,e)})}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}"object"==typeof process&&process.domain&&(invoke=process.domain.bind(invoke));var n;this._invoke=enqueue}function makeInvokeMethod(t,n,e){var i=s;return function invoke(o,u){if(i===h)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw u;return doneResult()}for(;;){var c=e.delegate;if(c){if("return"===o||"throw"===o&&c.iterator[o]===r){e.delegate=null;var f=c.iterator.return;if(f){var a=tryCatch(f,c.iterator,u);if("throw"===a.type){o="throw",u=a.arg;continue}}if("return"===o)continue}var a=tryCatch(c.iterator[o],c.iterator,u);if("throw"===a.type){e.delegate=null,o="throw",u=a.arg;continue}o="next",u=r;var d=a.arg;if(!d.done)return i=l,d;e[c.resultName]=d.value,e.next=c.nextLoc,e.delegate=null}if("next"===o)e.sent=e._sent=u;else if("throw"===o){if(i===s)throw i=v,u;e.dispatchException(u)&&(o="next",u=r)}else"return"===o&&e.abrupt("return",u);i=h;var a=tryCatch(t,n,e);if("normal"===a.type){i=e.done?v:l;var d={value:a.arg,done:e.done};if(a.arg!==p)return d;e.delegate&&"next"===o&&(u=r)}else"throw"===a.type&&(i=v,o="throw",u=a.arg)}}}function pushTryEntry(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function resetTryEntry(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function next(){for(;++e=0;--r){var e=this.tryEntries[r],o=e.completion; -if("root"===e.tryLoc)return handle("end");if(e.tryLoc<=this.prev){var u=i.call(e,"catchLoc"),c=i.call(e,"finallyLoc");if(u&&c){if(this.prev=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;resetTryEntry(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:values(t),resultName:n,nextLoc:r},p}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1]); diff --git a/src/lib/transpilers/babel.min.js b/src/lib/transpilers/babel.min.js index 41eb86fe..0b7c2def 100644 --- a/src/lib/transpilers/babel.min.js +++ b/src/lib/transpilers/babel.min.js @@ -1,25 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Babel=t():e.Babel=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var r=t.slice(1),n=e[t[0]];return function(e,t,i){n.apply(this,[e,t,i].concat(r))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e,t){return g(t)&&"string"==typeof t[0]?e.hasOwnProperty(t[0])?[e[t[0]]].concat(t.slice(1)):void 0:"string"==typeof t?e[t]:t}function s(e){var t=(e.presets||[]).map(function(e){var t=i(E,e);if(!t)throw new Error('Invalid preset specified in Babel options: "'+e+'"');return g(t)&&"object"===h(t[0])&&t[0].hasOwnProperty("buildPreset")&&(t[0]=d({},t[0],{buildPreset:t[0].buildPreset})),t}),r=(e.plugins||[]).map(function(e){var t=i(b,e);if(!t)throw new Error('Invalid plugin specified in Babel options: "'+e+'"');return t});return d({babelrc:!1},e,{presets:t,plugins:r})}function a(e,t){return v.transform(e,s(t))}function o(e,t,r){return v.transformFromAst(e,t,s(r))}function u(e,t){b.hasOwnProperty(e)&&console.warn('A plugin named "'+e+'" is already registered, it will be overridden'),b[e]=t}function l(e){Object.keys(e).forEach(function(t){return u(t,e[t])})}function c(e,t){E.hasOwnProperty(e)&&console.warn('A preset named "'+e+'" is already registered, it will be overridden'),E[e]=t}function f(e){Object.keys(e).forEach(function(t){return c(t,e[t])})}function p(){window.removeEventListener("DOMContentLoaded",x)}Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.availablePresets=t.availablePlugins=void 0;var d=Object.assign||function(e){for(var t=1;t=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if(e===o)return!0}}return!1}function u(e,t,r){if(e){var n=Z.NODE_FIELDS[e.type];if(n){var i=n[t];i&&i.validate&&(i.optional&&null==r||i.validate(e,t,r))}}}function l(e,t){for(var r=(0,R.default)(t),n=r,i=Array.isArray(n),s=0,n=i?n:(0,O.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if(e[o]!==t[o])return!1}return!0}function c(e,t,r){return e.object=Z.memberExpression(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}function f(e,t){return e.object=Z.memberExpression(t,e.object),e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body";return e[t]=Z.toBlock(e[t],e)}function d(e){if(!e)return e;var t={};for(var r in e)"_"!==r[0]&&(t[r]=e[r]);return t}function h(e){var t=d(e);return delete t.loc,t}function m(e){if(!e)return e;var t={};for(var r in e)if("_"!==r[0]){var n=e[r];n&&(n.type?n=Z.cloneDeep(n):Array.isArray(n)&&(n=n.map(Z.cloneDeep))),t[r]=n}return t}function v(e,t){var r=e.split(".");return function(e){if(!Z.isMemberExpression(e))return!1;for(var n=[e],i=0;n.length;){var s=n.shift();if(t&&i===r.length)return!0;if(Z.isIdentifier(s)){if(r[i]!==s.name)return!1}else{if(!Z.isStringLiteral(s)){if(Z.isMemberExpression(s)){if(s.computed&&!Z.isStringLiteral(s.property))return!1;n.push(s.object),n.push(s.property);continue}return!1}if(r[i]!==s.value)return!1}if(++i>r.length)return!1}return!0}}function y(e){for(var t=Z.COMMENT_KEYS,r=Array.isArray(t),n=0,t=r?t:(0,O.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;delete e[s]}return e}function g(e,t){return b(e,t),E(e,t),x(e,t),e}function b(e,t){A("trailingComments",e,t)}function E(e,t){A("leadingComments",e,t)}function x(e,t){A("innerComments",e,t)}function A(e,t,r){t&&r&&(t[e]=(0,X.default)((0,q.default)([].concat(t[e],r[e]))))}function S(e,t){if(!e||!t)return e;for(var r=Z.INHERIT_KEYS.optional,n=Array.isArray(r),i=0,r=n?r:(0,O.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;null==e[a]&&(e[a]=t[a])}for(var o in t)"_"===o[0]&&(e[o]=t[o]);for(var u=Z.INHERIT_KEYS.force,l=Array.isArray(u),c=0,u=l?u:(0,O.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;e[p]=t[p]}return Z.inheritsComments(e,t),e}function _(e){if(!D(e))throw new TypeError("Not a valid node "+(e&&e.type))}function D(e){return!(!e||!z.VISITOR_KEYS[e.type])}function C(e,t,r){if(e){var n=Z.VISITOR_KEYS[e.type];if(n){r=r||{},t(e,r);for(var i=n,s=Array.isArray(i),a=0,i=s?i:(0,O.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var u=o,l=e[u];if(Array.isArray(l))for(var c=l,f=Array.isArray(c),p=0,c=f?c:(0,O.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;C(h,t,r)}else C(l,t,r)}}}}function w(e,t){t=t||{};for(var r=t.preserveComments?ne:ie,n=r,i=Array.isArray(n),s=0,n=i?n:(0,O.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;null!=e[o]&&(e[o]=void 0)}for(var u in e)"_"===u[0]&&null!=e[u]&&(e[u]=void 0);for(var l=(0,k.default)(e),c=l,f=Array.isArray(c),p=0,c=f?c:(0,O.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;e[h]=null}}function F(e,t){return C(e,w,t),e}t.__esModule=!0,t.createTypeAnnotationBasedOnTypeof=t.removeTypeDuplicates=t.createUnionTypeAnnotation=t.valueToNode=t.toBlock=t.toExpression=t.toStatement=t.toBindingIdentifierName=t.toIdentifier=t.toKeyAlias=t.toSequenceExpression=t.toComputedKey=t.isNodesEquivalent=t.isImmutable=t.isScope=t.isSpecifierDefault=t.isVar=t.isBlockScoped=t.isLet=t.isValidIdentifier=t.isReferenced=t.isBinding=t.getOuterBindingIdentifiers=t.getBindingIdentifiers=t.TYPES=t.react=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var P=r(353),k=i(P),T=r(2),O=i(T),B=r(13),R=i(B),I=r(34),M=i(I),N=r(133);Object.defineProperty(t,"STATEMENT_OR_BLOCK_KEYS",{enumerable:!0,get:function(){return N.STATEMENT_OR_BLOCK_KEYS}}),Object.defineProperty(t,"FLATTENABLE_KEYS",{enumerable:!0,get:function(){return N.FLATTENABLE_KEYS}}),Object.defineProperty(t,"FOR_INIT_KEYS",{enumerable:!0,get:function(){return N.FOR_INIT_KEYS}}),Object.defineProperty(t,"COMMENT_KEYS",{enumerable:!0,get:function(){return N.COMMENT_KEYS}}),Object.defineProperty(t,"LOGICAL_OPERATORS",{enumerable:!0,get:function(){return N.LOGICAL_OPERATORS}}),Object.defineProperty(t,"UPDATE_OPERATORS",{enumerable:!0,get:function(){return N.UPDATE_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"EQUALITY_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.EQUALITY_BINARY_OPERATORS}}),Object.defineProperty(t,"COMPARISON_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.COMPARISON_BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_BINARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_UNARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.NUMBER_UNARY_OPERATORS}}),Object.defineProperty(t,"STRING_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.STRING_UNARY_OPERATORS}}),Object.defineProperty(t,"UNARY_OPERATORS",{enumerable:!0,get:function(){return N.UNARY_OPERATORS}}),Object.defineProperty(t,"INHERIT_KEYS",{enumerable:!0,get:function(){return N.INHERIT_KEYS}}),Object.defineProperty(t,"BLOCK_SCOPED_SYMBOL",{enumerable:!0,get:function(){return N.BLOCK_SCOPED_SYMBOL}}),Object.defineProperty(t,"NOT_LOCAL_BINDING",{enumerable:!0,get:function(){return N.NOT_LOCAL_BINDING}}),t.is=a,t.isType=o,t.validate=u,t.shallowEqual=l,t.appendToMemberExpression=c,t.prependToMemberExpression=f,t.ensureBlock=p,t.clone=d,t.cloneWithoutLoc=h,t.cloneDeep=m,t.buildMatchMemberExpression=v,t.removeComments=y,t.inheritsComments=g,t.inheritTrailingComments=b,t.inheritLeadingComments=E,t.inheritInnerComments=x,t.inherits=S,t.assertNode=_,t.isNode=D,t.traverseFast=C,t.removeProperties=w,t.removePropertiesDeep=F;var L=r(224);Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return L.getBindingIdentifiers}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return L.getOuterBindingIdentifiers}});var j=r(388);Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return j.isBinding}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return j.isReferenced}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return j.isValidIdentifier}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return j.isLet}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return j.isBlockScoped}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return j.isVar}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return j.isSpecifierDefault}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return j.isScope}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return j.isImmutable}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return j.isNodesEquivalent}});var U=r(378);Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return U.toComputedKey}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return U.toSequenceExpression}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return U.toKeyAlias}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return U.toIdentifier}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return U.toBindingIdentifierName}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return U.toStatement}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return U.toExpression}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return U.toBlock}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return U.valueToNode}});var V=r(386);Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return V.createUnionTypeAnnotation}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return V.removeTypeDuplicates}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return V.createTypeAnnotationBasedOnTypeof}});var G=r(620),W=i(G),Y=r(571),q=i(Y),K=r(110),H=i(K),J=r(597),X=i(J);r(383);var z=r(26),$=r(387),Q=n($),Z=t;t.VISITOR_KEYS=z.VISITOR_KEYS,t.ALIAS_KEYS=z.ALIAS_KEYS,t.NODE_FIELDS=z.NODE_FIELDS,t.BUILDER_KEYS=z.BUILDER_KEYS,t.DEPRECATED_KEYS=z.DEPRECATED_KEYS,t.react=Q;for(var ee in Z.VISITOR_KEYS)s(ee);Z.FLIPPED_ALIAS_KEYS={},(0,R.default)(Z.ALIAS_KEYS).forEach(function(e){Z.ALIAS_KEYS[e].forEach(function(t){var r=Z.FLIPPED_ALIAS_KEYS[t]=Z.FLIPPED_ALIAS_KEYS[t]||[];r.push(e)})}),(0,R.default)(Z.FLIPPED_ALIAS_KEYS).forEach(function(e){Z[e.toUpperCase()+"_TYPES"]=Z.FLIPPED_ALIAS_KEYS[e],s(e)});t.TYPES=(0,R.default)(Z.VISITOR_KEYS).concat((0,R.default)(Z.FLIPPED_ALIAS_KEYS)).concat((0,R.default)(Z.DEPRECATED_KEYS));(0,R.default)(Z.BUILDER_KEYS).forEach(function(e){function t(){if(arguments.length>r.length)throw new Error("t."+e+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+r.length);var t={};t.type=e;for(var n=0,i=r,s=Array.isArray(i),a=0,i=s?i:(0,O.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var l=o,c=Z.NODE_FIELDS[e][l],f=arguments[n++];void 0===f&&(f=(0,H.default)(c.default)),t[l]=f}for(var p in t)u(t,p,t[p]);return t}var r=Z.BUILDER_KEYS[e];Z[e]=t,Z[e[0].toLowerCase()+e.slice(1)]=t});var te=function(e){function t(t){return function(){return console.trace("The node type "+e+" has been renamed to "+r),t.apply(this,arguments)}}var r=Z.DEPRECATED_KEYS[e];Z[e]=Z[e[0].toLowerCase()+e.slice(1)]=t(Z[r]),Z["is"+e]=t(Z["is"+r]),Z["assert"+e]=t(Z["assert"+r])};for(var re in Z.DEPRECATED_KEYS)te(re);(0,W.default)(Z),(0,W.default)(Z.VISITOR_KEYS);var ne=["tokens","start","end","loc","raw","rawValue"],ie=Z.COMMENT_KEYS.concat(["comments"]).concat(ne)},function(e,t,r){"use strict";e.exports={default:r(397),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){e=(0,l.default)(e);var r=e,n=r.program;return t.length&&(0,m.default)(e,A,null,t),n.body.length>1?n.body:n.body[0]}t.__esModule=!0;var a=r(11),o=i(a);t.default=function(e,t){var r=void 0;try{throw new Error}catch(e){e.stack&&(r=e.stack.split("\n").slice(1).join("\n"))}t=(0,f.default)({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,preserveComments:!1},t);var n=function(){var i=void 0;try{i=y.parse(e,t),i=m.default.removeProperties(i,{preserveComments:t.preserveComments}),m.default.cheap(i,function(e){e[E]=!0})}catch(e){throw e.stack=e.stack+"from\n"+r,e}return n=function(){return i},i};return function(){for(var e=arguments.length,t=Array(e),r=0;r=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;if((!s||!s[h])&&o.visit(e,h))return}},s.clearNode=function(e,t){x.removeProperties(e,t),S.path.delete(e)},s.removeProperties=function(e,t){return x.traverseFast(e,s.clearNode,t),e},s.hasType=function(e,t,r,n){if((0,b.default)(n,e.type))return!1;if(e.type===r)return!0;var i={has:!1,type:r};return s(e,{blacklist:n,enter:a},t,i),i.has},s.clearCache=function(){S.clear()},s.clearCache.clearPath=S.clearPath,s.clearCache.clearScope=S.clearScope,s.copyCache=function(e,t){S.path.has(e)&&S.path.set(t,S.path.get(e))}},function(e,t){"use strict";function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===r||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function s(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):v=-1,h.length&&o())}function o(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++v1)for(var r=1;r=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!i;s--){var a=s>=0?arguments[s]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=r(n(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),s="/"===a(e,-1);return e=r(n(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&s&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),s=n(r.split("/")),a=Math.min(i.length,s.length),o=a,u=0;u1?t-1:0),n=1;n=s.length)break;u=s[o++]}else{if(o=s.next(),o.done)break;u=o.value}var l=u;if(E.is(l,n)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,v.default)(r)+" but instead got "+(0,v.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;if(s(n)===c||E.is(c,n)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,v.default)(r)+" but instead got "+(0,v.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=e.length)break;i=e[n++]}else{if(n=e.next(),n.done)break;i=n.value}var s=i;s.apply(void 0,arguments)}}for(var t=arguments.length,r=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.inherits&&C[t.inherits]||{};t.fields=t.fields||r.fields||{},t.visitor=t.visitor||r.visitor||[],t.aliases=t.aliases||r.aliases||[],t.builder=t.builder||r.builder||t.visitor||[],t.deprecatedAlias&&(D[t.deprecatedAlias]=e);for(var n=t.visitor.concat(t.builder),i=Array.isArray(n),a=0,n=i?n:(0,h.default)(n);;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if(a=n.next(),a.done)break;o=a.value}var u=o;t.fields[u]=t.fields[u]||{}}for(var l in t.fields){var f=t.fields[l];t.builder.indexOf(l)===-1&&(f.optional=!0),void 0===f.default?f.default=null:f.validate||(f.validate=c(s(f.default)))}x[e]=t.visitor,_[e]=t.builder,S[e]=t.fields,A[e]=t.aliases,C[e]=t}t.__esModule=!0,t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var d=r(2),h=i(d),m=r(34),v=i(m),y=r(6),g=i(y);t.assertEach=a,t.assertOneOf=o,t.assertNodeType=u,t.assertNodeOrValueType=l,t.assertValueType=c,t.chain=f,t.default=p;var b=r(1),E=n(b),x=t.VISITOR_KEYS={},A=t.ALIAS_KEYS={},S=t.NODE_FIELDS={},_=t.BUILDER_KEYS={},D=t.DEPRECATED_KEYS={},C={}},function(e,t){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";var n=r(23),i=r(93);e.exports=r(20)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";function n(e){return null==e?void 0===e?u:o:l&&l in Object(e)?s(e):a(e)}var i=r(44),s=r(526),a=r(552),o="[object Null]",u="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n){var a=!r;r||(r={});for(var o=-1,u=t.length;++o=s.length)break;u=s[o++]}else{if(o=s.next(),o.done)break;u=o.value}var l=u;if(l.container===t)return l.plugin}var c=void 0;if(c="function"==typeof t?t(b):t,"object"===("undefined"==typeof c?"undefined":(0,m.default)(c))){var f=new x.default(c,i);return e.memoisedPlugins.push({container:t,plugin:f}),f}throw new TypeError(S.get("pluginNotObject",r,n,"undefined"==typeof c?"undefined":(0,m.default)(c))+r+n)},e.createBareOptions=function(){var e={};for(var t in M.default){var r=M.default[t];e[t]=(0,O.default)(r.default)}return e},e.normalisePlugin=function(t,r,n,i){if(t=t.__esModule?t.default:t,!(t instanceof x.default)){if("function"!=typeof t&&"object"!==("undefined"==typeof t?"undefined":(0,m.default)(t)))throw new TypeError(S.get("pluginNotFunction",r,n,"undefined"==typeof t?"undefined":(0,m.default)(t)));t=e.memoisePluginContainer(t,r,n,i)}return t.init(r,n),t},e.normalisePlugins=function(t,n,i){return i.map(function(i,s){var a=void 0,o=void 0;if(!i)throw new TypeError("Falsy value found in plugins");Array.isArray(i)?(a=i[0],o=i[1]):a=i;var u="string"==typeof a?a:t+"$"+s;if("string"==typeof a){var l=(0,C.default)(a,n);if(!l)throw new ReferenceError(S.get("pluginUnknown",a,t,s,n));a=r(176)(l)}return a=e.normalisePlugin(a,t,s,u),[a,o]})},e.prototype.mergeOptions=function(t){var r=this,i=t.options,s=t.extending,a=t.alias,o=t.loc,u=t.dirname;if(a=a||"foreign",i){("object"!==("undefined"==typeof i?"undefined":(0,m.default)(i))||Array.isArray(i))&&this.log.error("Invalid options type for "+a,TypeError);var l=(0,k.default)(i,function(e){if(e instanceof x.default)return e});u=u||n.cwd(),o=o||a;for(var c in l){var p=M.default[c];if(!p&&this.log)if(L.default[c])this.log.error("Using removed Babel 5 option: "+a+"."+c+" - "+L.default[c].message,ReferenceError);else{var d="Unknown option: "+a+"."+c+". Check out http://babeljs.io/docs/usage/options/ for more information about options.",h="A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:\n\nInvalid:\n `{ presets: [{option: value}] }`\nValid:\n `{ presets: [['presetName', {option: value}]] }`\n\nFor more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options.";this.log.error(d+"\n\n"+h,ReferenceError)}}(0,_.normaliseOptions)(l),l.plugins&&(l.plugins=e.normalisePlugins(o,u,l.plugins)),l.presets&&(l.passPerPreset?l.presets=this.resolvePresets(l.presets,u,function(e,t){r.mergeOptions({options:e,extending:e,alias:t,loc:t,dirname:u})}):(this.mergePresets(l.presets,u),delete l.presets)),i===s?(0,f.default)(s,l):(0,R.default)(s||this.options,l)}},e.prototype.mergePresets=function(e,t){var r=this;this.resolvePresets(e,t,function(e,t){r.mergeOptions({options:e,alias:t,loc:t,dirname:G.default.dirname(t||"")})})},e.prototype.resolvePresets=function(e,t,n){return e.map(function(e){var i=void 0;if(Array.isArray(e)){if(e.length>2)throw new Error("Unexpected extra options "+(0,l.default)(e.slice(2))+" passed to preset.");var s=e;e=s[0],i=s[1]}var a=void 0;try{if("string"==typeof e){if(a=(0,F.default)(e,t),!a)throw new Error("Couldn't find preset "+(0,l.default)(e)+" relative to directory "+(0,l.default)(t));e=r(176)(a)}if("object"===("undefined"==typeof e?"undefined":(0,m.default)(e))&&e.__esModule)if(e.default)e=e.default;else{var u=e,c=(u.__esModule,(0,o.default)(u,["__esModule"]));e=c}if("object"===("undefined"==typeof e?"undefined":(0,m.default)(e))&&e.buildPreset&&(e=e.buildPreset),"function"!=typeof e&&void 0!==i)throw new Error("Options "+(0,l.default)(i)+" passed to "+(a||"a preset")+" which does not accept options.");if("function"==typeof e&&(e=e(b,i)),"object"!==("undefined"==typeof e?"undefined":(0,m.default)(e)))throw new Error("Unsupported preset format: "+e+".");n&&n(e,a)}catch(e){throw a&&(e.message+=" (While processing preset: "+(0,l.default)(a)+")"),e}return e})},e.prototype.normaliseOptions=function(){var e=this.options;for(var t in M.default){var r=M.default[t],n=e[t];!n&&r.optional||(r.alias?e[r.alias]=e[r.alias]||n:e[t]=n)}},e.prototype.init=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,U.default)(e,this.log),r=Array.isArray(t),n=0,t=r?t:(0,d.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;this.mergeOptions(s)}return this.normaliseOptions(e),this.options},e}();t.default=W,W.memoisedPlugins=[],e.exports=t.default}).call(t,r(9))},function(e,t,r){"use strict";e.exports={default:r(398),__esModule:!0}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s),o=r(3),u=i(o),l=r(222),c=n(l),f=r(236),p=i(f),d=r(454),h=i(d),m=r(8),v=i(m),y=r(171),g=i(y),b=r(132),E=i(b),x=r(1),A=n(x),S=r(88),_=(0,p.default)("babel"),D=function(){function e(t,r){(0,u.default)(this,e),this.parent=r,this.hub=t,this.contexts=[],this.data={},this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.state=null,this.opts=null,this.skipKeys=null,this.parentPath=null,this.context=null,this.container=null,this.listKey=null,this.inList=!1,this.parentKey=null,this.key=null,this.node=null,this.scope=null,this.type=null,this.typeAnnotation=null}return e.get=function(t){var r=t.hub,n=t.parentPath,i=t.parent,s=t.container,a=t.listKey,o=t.key;!r&&n&&(r=n.hub),(0,h.default)(i,"To get a node path the parent needs to exist");var u=s[o],l=S.path.get(i)||[];S.path.has(i)||S.path.set(i,l);for(var c=void 0,f=0;f1&&void 0!==arguments[1]?arguments[1]:SyntaxError;return this.hub.file.buildCodeFrameError(this.node,e,t)},e.prototype.traverse=function(e,t){(0,v.default)(this.node,e,this.scope,t,this)},e.prototype.mark=function(e,t){this.hub.file.metadata.marked.push({type:e,message:t,loc:this.node.loc})},e.prototype.set=function(e,t){A.validate(this.node,e,t),this.node[e]=t},e.prototype.getPathLocation=function(){var e=[],t=this;do{var r=t.key;t.inList&&(r=t.listKey+"["+r+"]"),e.unshift(r)}while(t=t.parentPath);return e.join(".")},e.prototype.debug=function(e){_.enabled&&_(this.getPathLocation()+" "+this.type+": "+e())},e}();t.default=D,(0,g.default)(D.prototype,r(361)),(0,g.default)(D.prototype,r(367)),(0,g.default)(D.prototype,r(375)),(0,g.default)(D.prototype,r(365)),(0,g.default)(D.prototype,r(364)),(0,g.default)(D.prototype,r(370)),(0,g.default)(D.prototype,r(363)),(0,g.default)(D.prototype,r(374)),(0,g.default)(D.prototype,r(373)),(0,g.default)(D.prototype,r(366)),(0,g.default)(D.prototype,r(362));for(var C=function(){if(F){if(P>=w.length)return"break";k=w[P++]}else{if(P=w.next(),P.done)return"break";k=P.value}var e=k,t="is"+e;D.prototype[t]=function(e){return A[t](this.node,e)},D.prototype["assert"+e]=function(r){if(!this[t](r))throw new TypeError("Expected node path of type "+e)}},w=A.TYPES,F=Array.isArray(w),P=0,w=F?w:(0,a.default)(w);;){var k,T=C();if("break"===T)break}var O=function(e){if("_"===e[0])return"continue";A.TYPES.indexOf(e)<0&&A.TYPES.push(e);var t=c[e];D.prototype["is"+e]=function(e){return t.checkPath(this,e)}};for(var B in c){O(B)}e.exports=t.default},function(e,t){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var n=r(140),i=r(89);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";function n(e,t){var r=s(e,t);return i(r)?r:void 0}var i=r(486),s=r(527);e.exports=n},function(e,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n){if(e.selfReference){if(!n.hasBinding(r.name)||n.hasGlobal(r.name)){if(!p.isFunction(t))return;var i=d;t.generator&&(i=h);var s=i({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression;s.callee._skipModulesRemap=!0;for(var a=s.callee.body.body[0].params,o=0,l=(0,u.default)(t);o0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];(0,h.default)(this,n);var i=(0,v.default)(this,t.call(this));return i.pipeline=r,i.log=new U.default(i,e.filename||"unknown"),i.opts=i.initOptions(e),i.parserOpts={sourceType:i.opts.sourceType,sourceFileName:i.opts.filename,plugins:[]},i.pluginVisitors=[],i.pluginPasses=[],i.buildPluginsForOptions(i.opts),i.opts.passPerPreset&&(i.perPresetOpts=[],i.opts.presets.forEach(function(e){var t=(0,p.default)((0,c.default)(i.opts),e);i.perPresetOpts.push(t),i.buildPluginsForOptions(t)})),i.metadata={usedHelpers:[],marked:[],modules:{imports:[],exports:{exported:[],specifiers:[]}}},i.dynamicImportTypes={},i.dynamicImportIds={},i.dynamicImports=[],i.declarations={},i.usedHelpers={},i.path=null,i.ast={},i.code="",i.shebang="",i.hub=new P.Hub(i),i}return(0,g.default)(n,t),n.prototype.getMetadata=function(){for(var e=!1,t=this.ast.program.body,r=Array.isArray(t),n=0,t=r?t:(0,u.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(X.isModuleDeclaration(s)){e=!0;break}}e&&this.path.traverse(A,this)},n.prototype.initOptions=function(e){e=new C.default(this.log,this.pipeline).init(e),e.inputSourceMap&&(e.sourceMaps=!0),e.moduleId&&(e.moduleIds=!0),e.basename=H.default.basename(e.filename,H.default.extname(e.filename)),e.ignore=q.arrayify(e.ignore,q.regexify),e.only&&(e.only=q.arrayify(e.only,q.regexify)),(0,L.default)(e,{moduleRoot:e.sourceRoot}),(0,L.default)(e,{sourceRoot:e.moduleRoot}),(0,L.default)(e,{filenameRelative:e.filename});var t=H.default.basename(e.filenameRelative);return(0,L.default)(e,{sourceFileName:t,sourceMapTarget:t}),e},n.prototype.buildPluginsForOptions=function(e){if(Array.isArray(e.plugins)){for(var t=e.plugins.concat(ne),r=[],n=[],i=t,s=Array.isArray(i),a=0,i=s?i:(0,u.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var l=o,c=l[0],f=l[1];r.push(c.visitor),n.push(new F.default(this,c,f)),c.manipulateOptions&&c.manipulateOptions(e,this.parserOpts,this)}this.pluginVisitors.push(r),this.pluginPasses.push(n)}},n.prototype.getModuleName=function(){var e=this.opts;if(!e.moduleIds)return null;if(null!=e.moduleId&&!e.getModuleId)return e.moduleId;var t=e.filenameRelative,r="";if(null!=e.moduleRoot&&(r=e.moduleRoot+"/"),!e.filenameRelative)return r+e.filename.replace(/^\//,"");if(null!=e.sourceRoot){var n=new RegExp("^"+e.sourceRoot+"/?");t=t.replace(n,"")}return t=t.replace(/\.(\w*?)$/,""),r+=t,r=r.replace(/\\/g,"/"),e.getModuleId?e.getModuleId(r)||r:r},n.prototype.resolveModuleSource=function e(t){var e=this.opts.resolveModuleSource;return e&&(t=e(t,this.opts.filename)),t},n.prototype.addImport=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=e+":"+t,i=this.dynamicImportIds[n];if(!i){e=this.resolveModuleSource(e),i=this.dynamicImportIds[n]=this.scope.generateUidIdentifier(r);var s=[];"*"===t?s.push(X.importNamespaceSpecifier(i)):"default"===t?s.push(X.importDefaultSpecifier(i)):s.push(X.importSpecifier(i,X.identifier(t)));var a=X.importDeclaration(s,X.stringLiteral(e));a._blockHoist=3,this.path.unshiftContainer("body",a)}return i},n.prototype.addHelper=function(e){var t=this.declarations[e];if(t)return t;this.usedHelpers[e]||(this.metadata.usedHelpers.push(e),this.usedHelpers[e]=!0);var r=this.get("helperGenerator"),n=this.get("helpersNamespace");if(r){var i=r(e);if(i)return i}else if(n)return X.memberExpression(n,X.identifier(e));var s=(0,E.default)(e),a=this.declarations[e]=this.scope.generateUidIdentifier(e);return X.isFunctionExpression(s)&&!s.id?(s.body._compact=!0,s._generated=!0,s.id=a,s.type="FunctionDeclaration",this.path.unshiftContainer("body",s)):(s._compact=!0,this.scope.push({id:a,init:s,unique:!0})),a},n.prototype.addTemplateObject=function(e,t,r){var n=r.elements.map(function(e){return e.value}),i=e+"_"+r.elements.length+"_"+n.join(","),s=this.declarations[i];if(s)return s;var a=this.declarations[i]=this.scope.generateUidIdentifier("templateObject"),o=this.addHelper(e),u=X.callExpression(o,[t,r]);return u._compact=!0,this.scope.push({id:a,init:u,_blockHoist:1.9}),a},n.prototype.buildCodeFrameError=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SyntaxError,n=e&&(e.loc||e._loc),i=new r(t);return n?i.loc=n.start:((0,k.default)(e,ie,this.scope,i),i.message+=" (This is an error on an internal node. Probably an internal error",i.loc&&(i.message+=". Location has been estimated."),i.message+=")"),i},n.prototype.mergeSourceMap=function(e){var t=this.opts.inputSourceMap;if(!t)return e;var r=function(){var r=new O.default.SourceMapConsumer(t),n=new O.default.SourceMapConsumer(e),i=new O.default.SourceMapGenerator({file:r.file,sourceRoot:r.sourceRoot}),s=n.sources[0];r.eachMapping(function(e){var t=n.generatedPositionFor({line:e.generatedLine,column:e.generatedColumn,source:s});null!=t.column&&i.addMapping({source:e.source,original:null==e.source?null:{line:e.originalLine,column:e.originalColumn},generated:t})});var a=i.toJSON();return t.mappings=a.mappings,{v:t}}();return"object"===("undefined"==typeof r?"undefined":(0,a.default)(r))?r.v:void 0},n.prototype.parse=function(t){var n=W.parse,i=this.opts.parserOpts;if(i&&(i=(0,p.default)({},this.parserOpts,i),i.parser)){if("string"==typeof i.parser){var s=H.default.dirname(this.opts.filename)||e.cwd(),a=(0,$.default)(i.parser,s);if(!a)throw new Error("Couldn't find parser "+i.parser+' with "parse" method relative to directory '+s);n=r(175)(a).parse}else n=i.parser;i.parser={parse:function(e){return(0,W.parse)(e,i)}}}this.log.debug("Parse start");var o=n(t,i||this.parserOpts);return this.log.debug("Parse stop"),o},n.prototype._addAst=function(e){this.path=P.NodePath.get({hub:this.hub,parentPath:null,parent:e,container:e,key:"program"}).setContext(),this.scope=this.path.scope,this.ast=e,this.getMetadata()},n.prototype.addAst=function(e){this.log.debug("Start set AST"),this._addAst(e),this.log.debug("End set AST")},n.prototype.transform=function(){for(var e=0;e=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s,o=a.plugin,l=o[e];l&&l.call(a,this)}},n.prototype.parseInputSourceMap=function(e){var t=this.opts;if(t.inputSourceMap!==!1){var r=_.default.fromSource(e);r&&(t.inputSourceMap=r.toObject(),e=_.default.removeComments(e))}return e},n.prototype.parseShebang=function(){var e=re.exec(this.code);e&&(this.shebang=e[0],this.code=this.code.replace(re,""))},n.prototype.makeResult=function(e){var t=e.code,r=e.map,n=e.ast,i=e.ignored,s={metadata:null,options:this.opts,ignored:!!i,code:null,ast:null,map:r||null};return this.opts.code&&(s.code=t),this.opts.ast&&(s.ast=n),this.opts.metadata&&(s.metadata=this.metadata),s},n.prototype.generate=function(){var t=this.opts,n=this.ast,i={ast:n};if(!t.code)return this.makeResult(i);var s=R.default;if(t.generatorOpts.generator&&(s=t.generatorOpts.generator,"string"==typeof s)){var a=H.default.dirname(this.opts.filename)||e.cwd(),o=(0,$.default)(s,a);if(!o)throw new Error("Couldn't find generator "+s+' with "print" method relative to directory '+a);s=r(175)(o).print}this.log.debug("Generation start");var u=s(n,t.generatorOpts?(0,p.default)(t,t.generatorOpts):t,this.code);return i.code=u.code,i.map=u.map,this.log.debug("Generation end"),this.shebang&&(i.code=this.shebang+"\n"+i.code),i.map&&(i.map=this.mergeSourceMap(i.map)),"inline"!==t.sourceMaps&&"both"!==t.sourceMaps||(i.code+="\n"+_.default.fromObject(i.map).toComment()),"inline"===t.sourceMaps&&(i.map=null),this.makeResult(i)},n}(G.default);t.default=se,t.File=se}).call(t,r(9))},function(e,t,r){(function(n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=x[e];return null==t?x[e]=E.default.existsSync(e):t}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=e.filename,n=new C(t);return e.babelrc!==!1&&n.findConfigs(r),n.mergeConfig({options:e,alias:"base",dirname:r&&g.default.dirname(r)}),n.configs}t.__esModule=!0;var o=r(87),u=i(o),l=r(3),c=i(l);t.default=a;var f=r(117),p=i(f),d=r(458),h=i(d),m=r(601),v=i(m),y=r(17),g=i(y),b=r(115),E=i(b),x={},A={},S=".babelignore",_=".babelrc",D="package.json",C=function(){function e(t){(0,c.default)(this,e),this.resolvedConfigs=[],this.configs=[],this.log=t}return e.prototype.findConfigs=function(e){if(e){(0,v.default)(e)||(e=g.default.join(n.cwd(),e));for(var t=!1,r=!1;e!==(e=g.default.dirname(e));){if(!t){var i=g.default.join(e,_);s(i)&&(this.addConfig(i),t=!0);var a=g.default.join(e,D);!t&&s(a)&&(t=this.addConfig(a,"babel",JSON))}if(!r){var o=g.default.join(e,S);s(o)&&(this.addIgnoreConfig(o),r=!0)}if(r&&t)return}}},e.prototype.addIgnoreConfig=function(e){var t=E.default.readFileSync(e,"utf8"),r=t.split("\n");r=r.map(function(e){return e.replace(/#(.*?)$/,"").trim()}).filter(function(e){return!!e}),r.length&&this.mergeConfig({options:{ignore:r},alias:e,dirname:g.default.dirname(e)})},e.prototype.addConfig=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default;if(this.resolvedConfigs.indexOf(e)>=0)return!1;this.resolvedConfigs.push(e);var n=E.default.readFileSync(e,"utf8"),i=void 0;try{i=A[n]=A[n]||r.parse(n), -t&&(i=i[t])}catch(t){throw t.message=e+": Error while parsing JSON - "+t.message,t}return this.mergeConfig({options:i,alias:e,dirname:g.default.dirname(e)}),!!i},e.prototype.mergeConfig=function(e){var t=e.options,r=e.alias,i=e.loc,s=e.dirname;if(!t)return!1;if(t=(0,u.default)({},t),s=s||n.cwd(),i=i||r,t.extends){var a=(0,p.default)(t.extends,s);a?this.addConfig(a):this.log&&this.log.error("Couldn't resolve extends clause of "+t.extends+" in "+r),delete t.extends}this.configs.push({options:t,alias:r,loc:i,dirname:s});var o=void 0,l=n.env.BABEL_ENV||"production"||"development";t.env&&(o=t.env[l],delete t.env),this.mergeConfig({options:o,alias:r+".env."+l,dirname:s})},e}();e.exports=t.default}).call(t,r(9))},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e){var r=e[t];if(null!=r){var n=l.default[t];if(n&&n.alias&&(n=l.default[n.alias]),n){var i=o[n.type];i&&(r=i(r)),e[t]=r}}}return e}t.__esModule=!0,t.config=void 0,t.normaliseOptions=s;var a=r(52),o=i(a),u=r(32),l=n(u);t.config=l.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return!!e}function a(e){return f.booleanify(e)}function o(e){return f.list(e)}t.__esModule=!0,t.filename=void 0,t.boolean=s,t.booleanString=a,t.list=o;var u=r(281),l=i(u),c=r(121),f=n(c);t.filename=l.default},function(e,t){"use strict";e.exports={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin . Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"Use the `sourceMapTarget` option"},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"}}},function(e,t,r){"use strict";var n=r(411);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){"use strict";e.exports={}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(96)("meta"),s=r(22),a=r(27),o=r(23).f,u=0,l=Object.isExtensible||function(){return!0},c=!r(36)(function(){return l(Object.preventExtensions({}))}),f=function(e){o(e,i,{value:{i:"O"+ ++u,w:{}}})},p=function(e,t){if(!s(e))return"symbol"==("undefined"==typeof e?"undefined":n(e))?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";f(e)}return e[i].i},d=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;f(e)}return e[i].w},h=function(e){return c&&m.NEED&&l(e)&&!a(e,i)&&f(e),e},m=e.exports={KEY:i,NEED:!1,fastKey:p,getWeak:d,onFreeze:h}},function(e,t,r){"use strict";r(434);for(var n=r(14),i=r(28),s=r(55),a=r(12)("toStringTag"),o=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var l=o[u],c=n[l],f=c&&c.prototype;f&&!f[a]&&i(f,a,l),s[l]=s.Array}},function(e,t){"use strict";function r(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r=0;c--)a=u[c],"."===a?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=o?"/":"."),s?(s.path=r,i(s)):r}function a(e,t){""===e&&(e="."),""===t&&(t=".");var r=n(t),a=n(e);if(a&&(e=a.path||"/"),r&&!r.scheme)return a&&(r.scheme=a.scheme),i(r);if(r||t.match(y))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var o="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=o,i(a)):o}function o(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}function u(e){return e}function l(e){return f(e)?"$"+e:e}function c(e){return f(e)?e.slice(1):e}function f(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,t,r){var n=e.source-t.source;return 0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n||r?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=e.generatedLine-t.generatedLine,0!==n?n:e.name-t.name))))}function d(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n||r?n:(n=e.source-t.source,0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:e.name-t.name))))}function h(e,t){return e===t?0:e>t?1:-1}function m(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=h(e.source,t.source),0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:h(e.name,t.name)))))}t.getArg=r;var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,y=/^data:.+\,.+$/;t.urlParse=n,t.urlGenerate=i,t.normalize=s,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(v)},t.relative=o;var g=function(){var e=Object.create(null);return!("__proto__"in e)}();t.toSetString=g?u:l,t.fromSetString=g?u:c,t.compareByOriginalPositions=p,t.compareByGeneratedPositionsDeflated=d,t.compareByGeneratedPositionsInflated=m},function(e,t,r){(function(t){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i=0;o--)if(u[o]!==l[o])return!1;for(o=u.length-1;o>=0;o--)if(a=u[o],!d(e[a],t[a],r,n))return!1;return!0}function v(e,t,r){d(e,t,!0)&&f(e,t,r,"notDeepStrictEqual",v)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&t.call({},e)===!0}function g(e){var t;try{e()}catch(e){t=e}return t}function b(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=g(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&f(i,r,"Missing expected exception"+n);var s="string"==typeof n,a=!e&&x.isError(i),o=!e&&i&&!r;if((a&&s&&y(i,r)||o)&&f(i,r,"Got unwanted exception"+n),e&&i&&r&&!y(i,r)||!e&&i)throw i}var E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x=r(116),A=Object.prototype.hasOwnProperty,S=Array.prototype.slice,_=function(){return"foo"===function(){}.name}(),D=e.exports=p,C=/\s*function\s+([^\(\s]*)\s*/;D.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=o(t),s=n.indexOf("\n"+i);if(s>=0){var a=n.indexOf("\n",s+1);n=n.substring(a+1)}this.stack=n}}},x.inherits(D.AssertionError,Error),D.fail=f,D.ok=p,D.equal=function(e,t,r){e!=t&&f(e,t,r,"==",D.equal)},D.notEqual=function(e,t,r){e==t&&f(e,t,r,"!=",D.notEqual)},D.deepEqual=function(e,t,r){d(e,t,!1)||f(e,t,r,"deepEqual",D.deepEqual)},D.deepStrictEqual=function(e,t,r){d(e,t,!0)||f(e,t,r,"deepStrictEqual",D.deepStrictEqual)},D.notDeepEqual=function(e,t,r){d(e,t,!1)&&f(e,t,r,"notDeepEqual",D.notDeepEqual)},D.notDeepStrictEqual=v,D.strictEqual=function(e,t,r){e!==t&&f(e,t,r,"===",D.strictEqual)},D.notStrictEqual=function(e,t,r){e===t&&f(e,t,r,"!==",D.notStrictEqual)},D.throws=function(e,t,r){b(!0,e,t,r)},D.doesNotThrow=function(e,t,r){b(!1,e,t,r)},D.ifError=function(e){if(e)throw e};var w=Object.keys||function(e){var t=[];for(var r in e)A.call(e,r)&&t.push(r);return t}}).call(t,function(){return this}())},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s),o=r(3),u=i(o),l=r(42),c=i(l),f=r(41),p=i(f),d=r(33),h=i(d),m=r(18),v=n(m),y=r(118),g=i(y),b=r(8),E=i(b),x=r(171),A=i(x),S=r(110),_=i(S),D=["enter","exit"],C=function(e){function t(r,n){(0,u.default)(this,t);var i=(0,c.default)(this,e.call(this));return i.initialized=!1,i.raw=(0,A.default)({},r),i.key=i.take("name")||n,i.manipulateOptions=i.take("manipulateOptions"),i.post=i.take("post"),i.pre=i.take("pre"),i.visitor=i.normaliseVisitor((0,_.default)(i.take("visitor"))||{}),i}return(0,p.default)(t,e),t.prototype.take=function(e){var t=this.raw[e];return delete this.raw[e],t},t.prototype.chain=function(e,t){if(!e[t])return this[t];if(!this[t])return e[t];var r=[e[t],this[t]];return function(){for(var e=void 0,t=arguments.length,n=Array(t),i=0;i=s.length)break;l=s[u++]}else{if(u=s.next(),u.done)break;l=u.value}var c=l;if(c){var f=c.apply(this,n);null!=f&&(e=f)}}return e}},t.prototype.maybeInherit=function(e){var t=this.take("inherits");t&&(t=h.default.normalisePlugin(t,e,"inherits"),this.manipulateOptions=this.chain(t,"manipulateOptions"),this.post=this.chain(t,"post"),this.pre=this.chain(t,"pre"),this.visitor=E.default.visitors.merge([t.visitor,this.visitor]))},t.prototype.init=function(e,t){if(!this.initialized){this.initialized=!0,this.maybeInherit(e);for(var r in this.raw)throw new Error(v.get("pluginInvalidProperty",e,t,r))}},t.prototype.normaliseVisitor=function(e){for(var t=D,r=Array.isArray(t),n=0,t=r?t:(0,a.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(e[s])throw new Error("Plugins aren't allowed to specify catch-all enter/exit handlers. Please target individual nodes.")}return E.default.explode(e),e},t}(g.default);t.default=C,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){var t=e.messages;return{visitor:{Scope:function(e){var r=e.scope;for(var n in r.bindings){var i=r.bindings[n];if("const"===i.kind||"module"===i.kind)for(var a=i.constantViolations,o=Array.isArray(a),u=0,a=o?a:(0,s.default)(a);;){var l;if(o){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;throw c.buildCodeFrameError(t.get("readOnly",n))}}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncFunctions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("flow")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{ArrowFunctionExpression:function(e,r){if(r.opts.spec){var n=e.node;if(n.shadow)return;n.shadow={this:!1},n.type="FunctionExpression";var i=t.thisExpression();i._forceShadow=e,e.ensureBlock(),e.get("body").unshiftContainer("body",t.expressionStatement(t.callExpression(r.addHelper("newArrowCheck"),[t.thisExpression(),i]))),e.replaceWith(t.callExpression(t.memberExpression(n,t.identifier("bind")),[t.thisExpression()]))}else e.arrowFunctionToShadowed()}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){function t(e,t){for(var n=t.get(e),i=n,a=Array.isArray(i),o=0,i=a?i:(0,s.default)(i);;){var u;if(a){if(o>=i.length)break;u=i[o++]}else{if(o=i.next(),o.done)break;u=o.value}var l=u,c=l.node;if(l.isFunctionDeclaration()){var f=r.variableDeclaration("let",[r.variableDeclarator(c.id,r.toExpression(c))]);f._blockHoist=2,c.id=null,l.replaceWith(f)}}}var r=e.types;return{visitor:{BlockStatement:function(e){var n=e.node,i=e.parent;r.isFunction(i,{body:n})||r.isExportDeclaration(i)||t("body",e)},SwitchCase:function(e){t("consequent",e)}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return E.isLoop(e.parent)||E.isCatchClause(e.parent)}function a(e){return!!E.isVariableDeclaration(e)&&(!!e[E.BLOCK_SCOPED_SYMBOL]||("let"===e.kind||"const"===e.kind))}function o(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(t||(t=e.node),!E.isFor(r))for(var s=0;s=0)return;a=a+"|"+r.label.name}else{if(t.ignoreLabeless)return;if(t.inSwitchCase)return;if(E.isBreakStatement(r)&&E.isSwitchCase(n))return}t.hasBreakContinue=!0,t.map[a]=r,s=E.stringLiteral(a)}e.isReturnStatement()&&(t.hasReturn=!0,s=E.objectExpression([E.objectProperty(E.identifier("v"),r.argument||i.buildUndefinedNode())])),s&&(s=E.returnStatement(s),s[this.LOOP_IGNORE]=!0,e.skip(),e.replaceWith(E.inherits(s,r)))}}},R=function(){function e(t,r,n,i,s){(0,m.default)(this,e),this.parent=n,this.scope=i,this.file=s,this.blockPath=r,this.block=r.node,this.outsideLetReferences=(0,d.default)(null),this.hasLetReferences=!1,this.letReferences=(0,d.default)(null),this.body=[],t&&(this.loopParent=t.parent,this.loopLabel=E.isLabeledStatement(this.loopParent)&&this.loopParent.label,this.loopPath=t,this.loop=t.node)}return e.prototype.run=function(){var e=this.block;if(!e._letDone){e._letDone=!0;var t=this.getLetReferences();if(E.isFunction(this.parent)||E.isProgram(this.block))return void this.updateScopeInfo();if(this.hasLetReferences)return t?this.wrapClosure():this.remap(),this.updateScopeInfo(t),this.loopLabel&&!E.isLabeledStatement(this.loopParent)?E.labeledStatement(this.loopLabel,this.loop):void 0}},e.prototype.updateScopeInfo=function(e){var t=this.scope,r=t.getFunctionParent(),n=this.letReferences;for(var i in n){var s=n[i],a=t.getBinding(s.name);a&&("let"!==a.kind&&"const"!==a.kind||(a.kind="var",e?t.removeBinding(s.name):t.moveBindingTo(s.name,r)))}},e.prototype.remap=function(){var e=this.letReferences,t=this.scope;for(var r in e){var n=e[r];(t.parentHasBinding(r)||t.hasGlobal(r))&&(t.hasOwnBinding(r)&&t.rename(n.name),this.blockPath.scope.hasOwnBinding(r)&&this.blockPath.scope.rename(n.name))}},e.prototype.wrapClosure=function(){var e=this.block,t=this.outsideLetReferences;if(this.loop)for(var r in t){var n=t[r];(this.scope.hasGlobal(n.name)||this.scope.parentHasBinding(n.name))&&(delete t[n.name],delete this.letReferences[n.name],this.scope.rename(n.name),this.letReferences[n.name]=n,t[n.name]=n)}this.has=this.checkLoop(),this.hoistVarDeclarations();var i=(0,A.default)(t),s=(0,A.default)(t),a=this.blockPath.isSwitchStatement(),o=E.functionExpression(null,i,E.blockStatement(a?[e]:e.body));o.shadow=!0,this.addContinuations(o);var u=o;this.loop&&(u=this.scope.generateUidIdentifier("loop"),this.loopPath.insertBefore(E.variableDeclaration("var",[E.variableDeclarator(u,o)])));var l=E.callExpression(u,s),c=this.scope.generateUidIdentifier("ret"),f=y.default.hasType(o.body,this.scope,"YieldExpression",E.FUNCTION_TYPES);f&&(o.generator=!0,l=E.yieldExpression(l,!0));var p=y.default.hasType(o.body,this.scope,"AwaitExpression",E.FUNCTION_TYPES);p&&(o.async=!0,l=E.awaitExpression(l)),this.buildClosure(c,l),a?this.blockPath.replaceWithMultiple(this.body):e.body=this.body},e.prototype.buildClosure=function(e,t){var r=this.has;r.hasReturn||r.hasBreakContinue?this.buildHas(e,t):this.body.push(E.expressionStatement(t))},e.prototype.addContinuations=function(e){var t={reassignments:{},outsideReferences:this.outsideLetReferences};this.scope.traverse(e,O,t);for(var r=0;r=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var u=o;"get"===u.kind||"set"===u.kind?n(e,u):r(e.objId,u,e.body)}}function a(e){for(var i=e.objId,a=e.body,u=e.computedProps,l=e.state,c=u,f=Array.isArray(c),p=0,c=f?c:(0,s.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d,m=o.toComputedKey(h);if("get"===h.kind||"set"===h.kind)n(e,h);else if(o.isStringLiteral(m,{value:"__proto__"}))r(i,h,a);else{if(1===u.length)return o.callExpression(l.addHelper("defineProperty"),[e.initPropExpression,m,t(h)]);a.push(o.expressionStatement(o.callExpression(l.addHelper("defineProperty"),[i,m,t(h)])))}}}var o=e.types,u=e.template,l=u("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");return{visitor:{ObjectExpression:{exit:function(e,t){for(var r=e.node,n=e.parent,u=e.scope,l=!1,c=r.properties,f=Array.isArray(c),p=0,c=f?c:(0,s.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;if(l=h.computed===!0)break}if(l){for(var m=[],v=[],y=!1,g=r.properties,b=Array.isArray(g),E=0,g=b?g:(0,s.default)(g);;){var x;if(b){if(E>=g.length)break;x=g[E++]}else{if(E=g.next(),E.done)break;x=E.value}var A=x;A.computed&&(y=!0),y?v.push(A):m.push(A)}var S=u.generateUidIdentifierBasedOnNode(n),_=o.objectExpression(m),D=[];D.push(o.variableDeclaration("var",[o.variableDeclarator(S,_)]));var C=a;t.opts.loose&&(C=i);var w=void 0,F=function(){return w||(w=u.generateUidIdentifier("mutatorMap"),D.push(o.variableDeclaration("var",[o.variableDeclarator(w,o.objectExpression([]))]))),w},P=C({scope:u,objId:S,body:D,computedProps:v,initPropExpression:_,getMutatorId:F,state:t});w&&D.push(o.expressionStatement(o.callExpression(t.addHelper("defineEnumerableProperties"),[S,w]))),P?e.replaceWith(P):(D.push(o.expressionStatement(S)),e.replaceWithMultiple(D))}}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=r(2),o=n(a);t.default=function(e){function t(e){for(var t=e.declarations,r=Array.isArray(t),i=0,t=r?t:(0,o.default)(t);;){var s;if(r){if(i>=t.length)break;s=t[i++]}else{if(i=t.next(),i.done)break;s=i.value}var a=s;if(n.isPattern(a.id))return!0}return!1}function r(e){for(var t=e.elements,r=Array.isArray(t),i=0,t=r?t:(0,o.default)(t);;){var s;if(r){if(i>=t.length)break;s=t[i++]}else{if(i=t.next(),i.done)break;s=i.value}var a=s;if(n.isRestElement(a))return!0}return!1}var n=e.types,i={ReferencedIdentifier:function(e,t){t.bindings[e.node.name]&&(t.deopt=!0,e.stop())}},a=function(){function e(t){(0,s.default)(this,e),this.blockHoist=t.blockHoist,this.operator=t.operator,this.arrays={},this.nodes=t.nodes||[],this.scope=t.scope,this.file=t.file,this.kind=t.kind}return e.prototype.buildVariableAssignment=function(e,t){var r=this.operator;n.isMemberExpression(e)&&(r="=");var i=void 0;return i=r?n.expressionStatement(n.assignmentExpression(r,e,t)):n.variableDeclaration(this.kind,[n.variableDeclarator(e,t)]),i._blockHoist=this.blockHoist,i},e.prototype.buildVariableDeclaration=function(e,t){var r=n.variableDeclaration("var",[n.variableDeclarator(e,t)]);return r._blockHoist=this.blockHoist,r},e.prototype.push=function(e,t){n.isObjectPattern(e)?this.pushObjectPattern(e,t):n.isArrayPattern(e)?this.pushArrayPattern(e,t):n.isAssignmentPattern(e)?this.pushAssignmentPattern(e,t):this.nodes.push(this.buildVariableAssignment(e,t))},e.prototype.toArray=function(e,t){return this.file.opts.loose||n.isIdentifier(e)&&this.arrays[e.name]?e:this.scope.toArray(e,t); -},e.prototype.pushAssignmentPattern=function(e,t){var r=this.scope.generateUidIdentifierBasedOnNode(t),i=n.variableDeclaration("var",[n.variableDeclarator(r,t)]);i._blockHoist=this.blockHoist,this.nodes.push(i);var s=n.conditionalExpression(n.binaryExpression("===",r,n.identifier("undefined")),e.right,r),a=e.left;if(n.isPattern(a)){var o=n.expressionStatement(n.assignmentExpression("=",r,s));o._blockHoist=this.blockHoist,this.nodes.push(o),this.push(a,r)}else this.nodes.push(this.buildVariableAssignment(a,s))},e.prototype.pushObjectRest=function(e,t,r,i){for(var s=[],a=0;a=i)break;if(!n.isRestProperty(o)){var u=o.key;n.isIdentifier(u)&&!o.computed&&(u=n.stringLiteral(o.key.name)),s.push(u)}}s=n.arrayExpression(s);var l=n.callExpression(this.file.addHelper("objectWithoutProperties"),[t,s]);this.nodes.push(this.buildVariableAssignment(r.argument,l))},e.prototype.pushObjectProperty=function(e,t){n.isLiteral(e.key)&&(e.computed=!0);var r=e.value,i=n.memberExpression(t,e.key,e.computed);n.isPattern(r)?this.push(r,i):this.nodes.push(this.buildVariableAssignment(r,i))},e.prototype.pushObjectPattern=function(e,t){if(e.properties.length||this.nodes.push(n.expressionStatement(n.callExpression(this.file.addHelper("objectDestructuringEmpty"),[t]))),e.properties.length>1&&!this.scope.isStatic(t)){var r=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(r,t)),t=r}for(var i=0;it.elements.length)){if(e.elements.length=s.length)break;l=s[u++]}else{if(u=s.next(),u.done)break;l=u.value}var c=l;if(!c)return!1;if(n.isMemberExpression(c))return!1}for(var f=t.elements,p=Array.isArray(f),d=0,f=p?f:(0,o.default)(f);;){var h;if(p){if(d>=f.length)break;h=f[d++]}else{if(d=f.next(),d.done)break;h=d.value}var m=h;if(n.isSpreadElement(m))return!1;if(n.isCallExpression(m))return!1;if(n.isMemberExpression(m))return!1}var v=n.getBindingIdentifiers(e),y={deopt:!1,bindings:v};return this.scope.traverse(t,i,y),!y.deopt}},e.prototype.pushUnpackedArrayPattern=function(e,t){for(var r=0;r=v.length)break;b=v[g++]}else{if(g=v.next(),g.done)break;b=g.value}var E=b,x=m[m.length-1];if(x&&n.isVariableDeclaration(x)&&n.isVariableDeclaration(E)&&x.kind===E.kind){var A;(A=x.declarations).push.apply(A,E.declarations)}else m.push(E)}for(var S=m,_=Array.isArray(S),D=0,S=_?S:(0,o.default)(S);;){var C;if(_){if(D>=S.length)break;C=S[D++]}else{if(D=S.next(),D.done)break;C=D.value}var w=C;if(w.declarations)for(var F=w.declarations,P=Array.isArray(F),k=0,F=P?F:(0,o.default)(F);;){var T;if(P){if(k>=F.length)break;T=F[k++]}else{if(k=F.next(),k.done)break;T=k.value}var O=T,B=O.id.name;s.bindings[B]&&(s.bindings[B].kind=w.kind)}}1===m.length?e.replaceWith(m[0]):e.replaceWithMultiple(m)}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){function t(e){var t=e.node,r=e.scope,n=[],i=t.right;if(!a.isIdentifier(i)||!r.hasBinding(i.name)){var s=r.generateUidIdentifier("arr");n.push(a.variableDeclaration("var",[a.variableDeclarator(s,i)])),i=s}var u=r.generateUidIdentifier("i"),l=o({BODY:t.body,KEY:u,ARR:i});a.inherits(l,t),a.ensureBlock(l);var c=a.memberExpression(i,u,!0),f=t.left;return a.isVariableDeclaration(f)?(f.declarations[0].init=c,l.body.body.unshift(f)):l.body.body.unshift(a.expressionStatement(a.assignmentExpression("=",f,c))),e.parentPath.isLabeledStatement()&&(l=a.labeledStatement(e.parentPath.node.label,l)),n.push(l),n}function r(e,t){var r=e.node,n=e.scope,s=r.left,o=void 0,l=void 0;if(a.isIdentifier(s)||a.isPattern(s)||a.isMemberExpression(s))l=s;else{if(!a.isVariableDeclaration(s))throw t.buildCodeFrameError(s,i.get("unknownForHead",s.type));l=n.generateUidIdentifier("ref"),o=a.variableDeclaration(s.kind,[a.variableDeclarator(s.declarations[0].id,l)])}var c=n.generateUidIdentifier("iterator"),f=n.generateUidIdentifier("isArray"),p=u({LOOP_OBJECT:c,IS_ARRAY:f,OBJECT:r.right,INDEX:n.generateUidIdentifier("i"),ID:l});return o||p.body.body.shift(),{declar:o,node:p,loop:p}}function n(e,t){var r=e.node,n=e.scope,s=e.parent,o=r.left,u=void 0,c=n.generateUidIdentifier("step"),f=a.memberExpression(c,a.identifier("value"));if(a.isIdentifier(o)||a.isPattern(o)||a.isMemberExpression(o))u=a.expressionStatement(a.assignmentExpression("=",o,f));else{if(!a.isVariableDeclaration(o))throw t.buildCodeFrameError(o,i.get("unknownForHead",o.type));u=a.variableDeclaration(o.kind,[a.variableDeclarator(o.declarations[0].id,f)])}var p=n.generateUidIdentifier("iterator"),d=l({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:n.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:p,STEP_KEY:c,OBJECT:r.right,BODY:null}),h=a.isLabeledStatement(s),m=d[3].block.body,v=m[0];return h&&(m[0]=a.labeledStatement(s.label,v)),{replaceParent:h,declar:u,loop:v,node:d}}var i=e.messages,s=e.template,a=e.types,o=s("\n for (var KEY = 0; KEY < ARR.length; KEY++) BODY;\n "),u=s("\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n var ID;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n "),l=s("\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY; !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done); ITERATOR_COMPLETION = true) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n ");return{visitor:{ForOfStatement:function(e,i){if(e.get("right").isArrayExpression())return e.parentPath.isLabeledStatement()?e.parentPath.replaceWithMultiple(t(e)):e.replaceWithMultiple(t(e));var s=n;i.opts.loose&&(s=r);var o=e.node,u=s(e,i),l=u.declar,c=u.loop,f=c.body;e.ensureBlock(),l&&f.body.push(l),f.body=f.body.concat(o.body.body),a.inherits(c,o),a.inherits(c.body,o.body),u.replaceParent?(e.parentPath.replaceWithMultiple(u.node),e.remove()):e.replaceWithMultiple(u.node)}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{visitor:{FunctionExpression:{exit:function(e){if("value"!==e.key&&!e.parentPath.isObjectProperty()){var t=(0,s.default)(e);t&&e.replaceWith(t)}}},ObjectProperty:function(e){var t=e.get("value");if(t.isFunction()){var r=(0,s.default)(t);r&&t.replaceWith(r)}}}}};var i=r(40),s=n(i);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{NumericLiteral:function(e){var t=e.node;t.extra&&/^0[ob]/i.test(t.extra.raw)&&(t.extra=void 0)},StringLiteral:function(e){var t=e.node;t.extra&&/\\[u]/gi.test(t.extra.raw)&&(t.extra=void 0)}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(13),a=i(s),o=r(10),u=i(o),l=r(2),c=i(l),f=r(11),p=i(f);t.default=function(){var e=(0,p.default)(),t={ReferencedIdentifier:function(e){var t=e.node.name,r=this.remaps[t];if(r&&this.scope.getBinding(t)===e.scope.getBinding(t)){if(e.parentPath.isCallExpression({callee:e.node}))e.replaceWith(y.sequenceExpression([y.numericLiteral(0),r]));else if(e.isJSXIdentifier()&&y.isMemberExpression(r)){var n=r.object,i=r.property;e.replaceWith(y.JSXMemberExpression(y.JSXIdentifier(n.name),y.JSXIdentifier(i.name)))}else e.replaceWith(r);this.requeueInParent(e)}},AssignmentExpression:function(t){var r=t.node;if(!r[e]){var n=t.get("left");if(n.isIdentifier()){var i=n.node.name,s=this.exports[i];if(s&&this.scope.getBinding(i)===t.scope.getBinding(i)){r[e]=!0;for(var a=s,o=Array.isArray(a),u=0,a=o?a:(0,c.default)(a);;){var l;if(o){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var f=l;r=A(f,r).expression}t.replaceWith(r),this.requeueInParent(t)}}}},UpdateExpression:function(e){var t=e.get("argument");if(t.isIdentifier()){var r=t.node.name,n=this.exports[r];if(n&&this.scope.getBinding(r)===e.scope.getBinding(r)){var i=y.assignmentExpression(e.node.operator[0]+"=",t.node,y.numericLiteral(1));if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()||e.node.prefix)return e.replaceWith(i),void this.requeueInParent(e);var s=[];s.push(i);var a=void 0;a="--"===e.node.operator?"+":"-",s.push(y.binaryExpression(a,t.node,y.numericLiteral(1))),e.replaceWithMultiple(y.sequenceExpression(s))}}}};return{inherits:r(214),visitor:{ThisExpression:function(e,t){this.ranCommonJS||t.opts.allowTopLevelThis===!0||e.findParent(function(e){return!e.is("shadow")&&_.indexOf(e.type)>=0})||e.replaceWith(y.identifier("undefined"))},Program:{exit:function(e){function r(t,r){var n=D[t];if(n)return n;var i=e.scope.generateUidIdentifier((0,d.basename)(t,(0,d.extname)(t))),s=y.variableDeclaration("var",[y.variableDeclarator(i,g(y.stringLiteral(t)).expression)]);return p[t]&&(s.loc=p[t].loc),"number"==typeof r&&r>0&&(s._blockHoist=r),v.push(s),D[t]=i}function n(e,t,r){var n=e[t]||[];e[t]=n.concat(r)}this.ranCommonJS=!0;var i=!!this.opts.strict,s=e.scope;s.rename("module"),s.rename("exports"),s.rename("require");for(var o=!1,l=!1,f=e.get("body"),p=(0,u.default)(null),h=(0,u.default)(null),m=(0,u.default)(null),v=[],_=(0,u.default)(null),D=(0,u.default)(null),C=f,w=Array.isArray(C),F=0,C=w?C:(0,c.default)(C);;){var P;if(w){if(F>=C.length)break;P=C[F++]}else{if(F=C.next(),F.done)break;P=F.value}var k=P;if(k.isExportDeclaration()){o=!0;for(var T=[].concat(k.get("declaration"),k.get("specifiers")),O=T,B=Array.isArray(O),R=0,O=B?O:(0,c.default)(O);;){var I;if(B){if(R>=O.length)break;I=O[R++]}else{if(R=O.next(),R.done)break;I=R.value}var M=I,N=M.getBindingIdentifiers();if(N.__esModule)throw M.buildCodeFrameError('Illegal export "__esModule"')}}if(k.isImportDeclaration()){var L;l=!0;var j=k.node.source.value,U=p[j]||{specifiers:[],maxBlockHoist:0,loc:k.node.loc};(L=U.specifiers).push.apply(L,k.node.specifiers),"number"==typeof k.node._blockHoist&&(U.maxBlockHoist=Math.max(k.node._blockHoist,U.maxBlockHoist)),p[j]=U,k.remove()}else if(k.isExportDefaultDeclaration()){var V=k.get("declaration");if(V.isFunctionDeclaration()){var G=V.node.id,W=y.identifier("default");G?(n(h,G.name,W),v.push(A(W,G)),k.replaceWith(V.node)):(v.push(A(W,y.toExpression(V.node))),k.remove())}else if(V.isClassDeclaration()){var Y=V.node.id,q=y.identifier("default");Y?(n(h,Y.name,q),k.replaceWithMultiple([V.node,A(q,Y)])):(k.replaceWith(A(q,y.toExpression(V.node))),k.parentPath.requeue(k.get("expression.left")))}else k.replaceWith(A(y.identifier("default"),V.node)),k.parentPath.requeue(k.get("expression.left"))}else if(k.isExportNamedDeclaration()){var K=k.get("declaration");if(K.node){if(K.isFunctionDeclaration()){var H=K.node.id;n(h,H.name,H),v.push(A(H,H)),k.replaceWith(K.node)}else if(K.isClassDeclaration()){var J=K.node.id;n(h,J.name,J),k.replaceWithMultiple([K.node,A(J,J)]),m[J.name]=!0}else if(K.isVariableDeclaration()){for(var X=K.get("declarations"),z=X,$=Array.isArray(z),Q=0,z=$?z:(0,c.default)(z);;){var Z;if($){if(Q>=z.length)break;Z=z[Q++]}else{if(Q=z.next(),Q.done)break;Z=Q.value}var ee=Z,te=ee.get("id"),re=ee.get("init");re.node||re.replaceWith(y.identifier("undefined")),te.isIdentifier()&&(n(h,te.node.name,te.node),re.replaceWith(A(te.node,re.node).expression),m[te.node.name]=!0)}k.replaceWith(K.node)}continue}var ne=k.get("specifiers"),ie=[],se=k.node.source;if(se)for(var ae=r(se.value,k.node._blockHoist),oe=ne,ue=Array.isArray(oe),le=0,oe=ue?oe:(0,c.default)(oe);;){var ce;if(ue){if(le>=oe.length)break;ce=oe[le++]}else{if(le=oe.next(),le.done)break;ce=le.value}var fe=ce;fe.isExportNamespaceSpecifier()||fe.isExportDefaultSpecifier()||fe.isExportSpecifier()&&("default"===fe.node.local.name?v.push(E(y.stringLiteral(fe.node.exported.name),y.memberExpression(y.callExpression(this.addHelper("interopRequireDefault"),[ae]),fe.node.local))):v.push(E(y.stringLiteral(fe.node.exported.name),y.memberExpression(ae,fe.node.local))),m[fe.node.exported.name]=!0)}else for(var pe=ne,de=Array.isArray(pe),he=0,pe=de?pe:(0,c.default)(pe);;){var me;if(de){if(he>=pe.length)break;me=pe[he++]}else{if(he=pe.next(),he.done)break;me=he.value}var ve=me;ve.isExportSpecifier()&&(n(h,ve.node.local.name,ve.node.exported),m[ve.node.exported.name]=!0,ie.push(A(ve.node.exported,ve.node.local)))}k.replaceWithMultiple(ie)}else if(k.isExportAllDeclaration()){var ye=S({OBJECT:r(k.node.source.value,k.node._blockHoist)});ye.loc=k.node.loc,v.push(ye),k.remove()}}for(var ge in p){var be=p[ge],T=be.specifiers,Ee=be.maxBlockHoist;if(T.length){for(var xe=r(ge,Ee),Ae=void 0,Se=0;Se0&&(De._blockHoist=Ee),v.push(De)}Ae=_e.local}else y.isImportDefaultSpecifier(_e)&&(T[Se]=y.importSpecifier(_e.local,y.identifier("default")))}for(var Ce=T,we=Array.isArray(Ce),Fe=0,Ce=we?Ce:(0,c.default)(Ce);;){var Pe;if(we){if(Fe>=Ce.length)break;Pe=Ce[Fe++]}else{if(Fe=Ce.next(),Fe.done)break;Pe=Fe.value}var ke=Pe;if(y.isImportSpecifier(ke)){var Te=xe;if("default"===ke.imported.name)if(Ae)Te=Ae;else{Te=Ae=e.scope.generateUidIdentifier(xe.name);var Oe=y.variableDeclaration("var",[y.variableDeclarator(Te,y.callExpression(this.addHelper("interopRequireDefault"),[xe]))]);Ee>0&&(Oe._blockHoist=Ee),v.push(Oe)}_[ke.local.name]=y.memberExpression(Te,y.cloneWithoutLoc(ke.imported))}}}else{var Be=g(y.stringLiteral(ge));Be.loc=p[ge].loc,v.push(Be)}}if(l&&(0,a.default)(m).length){var Re=y.identifier("undefined");for(var Ie in m)Re=A(y.identifier(Ie),Re).expression;var Me=y.expressionStatement(Re);Me._blockHoist=3,v.unshift(Me)}if(o&&!i){var Ne=b;this.opts.loose&&(Ne=x);var Le=Ne();Le._blockHoist=3,v.unshift(Le)}e.unshiftContainer("body",v),e.traverse(t,{remaps:_,scope:s,exports:h,requeueInParent:function(t){return e.requeue(t)}})}}}}};var d=r(17),h=r(4),m=i(h),v=r(1),y=n(v),g=(0,m.default)("\n require($0);\n"),b=(0,m.default)('\n Object.defineProperty(exports, "__esModule", {\n value: true\n });\n'),E=(0,m.default)("\n Object.defineProperty(exports, $0, {\n enumerable: true,\n get: function () {\n return $1;\n }\n });\n"),x=(0,m.default)("\n exports.__esModule = true;\n"),A=(0,m.default)("\n exports.$0 = $1;\n"),S=(0,m.default)('\n Object.keys(OBJECT).forEach(function (key) {\n if (key === "default" || key === "__esModule") return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return OBJECT[key];\n }\n });\n });\n'),_=["FunctionExpression","FunctionDeclaration","ClassProperty","ClassMethod","ObjectMethod"];e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i),a=r(11),o=n(a);t.default=function(e){function t(e,t,r,n,i){var s=new l.default({getObjectRef:n,methodNode:t,methodPath:e,isStatic:!0,scope:r,file:i});s.replace()}var r=e.types,n=(0,o.default)();return{visitor:{Super:function(e){var t=e.findParent(function(e){return e.isObjectExpression()});t&&(t.node[n]=!0)},ObjectExpression:{exit:function(e,i){if(e.node[n]){for(var a=void 0,o=function(){return a=a||e.scope.generateUidIdentifier("obj")},u=e.get("properties"),l=u,c=Array.isArray(l),f=0,l=c?l:(0,s.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;d.isObjectProperty()&&(d=d.get("value")),t(d,d.node,e.scope,o,i)}a&&(e.scope.push({id:a}),e.replaceWith(r.assignmentExpression("=",a,e.node)))}}}}}};var u=r(191),l=n(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s);t.default=function(){return{visitor:o.visitors.merge([{ArrowFunctionExpression:function(e){for(var t=e.get("params"),r=t,n=Array.isArray(r),i=0,r=n?r:(0,a.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var o=s;if(o.isRestElement()||o.isAssignmentPattern()){e.arrowFunctionToShadowed();break}}}},l.visitor,d.visitor,f.visitor])}};var o=r(8),u=r(330),l=n(u),c=r(329),f=n(c),p=r(331),d=n(p);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=function(){return{visitor:{ObjectMethod:function(e){var t=e.node;if("method"===t.kind){var r=s.functionExpression(null,t.params,t.body,t.generator,t.async);r.returnType=t.returnType,e.replaceWith(s.objectProperty(t.key,r,t.computed))}},ObjectProperty:function(e){var t=e.node;t.shorthand&&(t.shorthand=!1)}}}};var i=r(1),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){function t(e,t,r){return r.opts.loose&&!i.isIdentifier(e.argument,{name:"arguments"})?e.argument:t.toArray(e.argument,!0)}function r(e){for(var t=0;t=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;i.isSpreadElement(d)?(a(),o.push(t(d,r,n))):u.push(d)}return a(),o}var i=e.types;return{visitor:{ArrayExpression:function(e,t){var s=e.node,a=e.scope,o=s.elements;if(r(o)){var u=n(o,a,t),l=u.shift();i.isArrayExpression(l)||(u.unshift(l),l=i.arrayExpression([])),e.replaceWith(i.callExpression(i.memberExpression(l,i.identifier("concat")),u))}},CallExpression:function(e,t){var s=e.node,a=e.scope,o=s.arguments;if(r(o)){var u=e.get("callee");if(!u.isSuper()){var l=i.identifier("undefined");s.arguments=[];var c=void 0;c=1===o.length&&"arguments"===o[0].argument.name?[o[0].argument]:n(o,a,t);var f=c.shift();c.length?s.arguments.push(i.callExpression(i.memberExpression(f,i.identifier("concat")),c)):s.arguments.push(f);var p=s.callee;if(u.isMemberExpression()){var d=a.maybeGenerateMemoised(p.object);d?(p.object=i.assignmentExpression("=",d,p.object),l=d):l=p.object,i.appendToMemberExpression(p,i.identifier("apply"))}else s.callee=i.memberExpression(s.callee,i.identifier("apply"));i.isSuper(l)&&(l=i.thisExpression()),s.arguments.unshift(l)}}},NewExpression:function(e,t){var s=e.node,a=e.scope,o=s.arguments;if(r(o)){var u=n(o,a,t),l=i.arrayExpression([i.nullLiteral()]);o=i.callExpression(i.memberExpression(l,i.identifier("concat")),u),e.replaceWith(i.newExpression(i.callExpression(i.memberExpression(i.memberExpression(i.memberExpression(i.identifier("Function"),i.identifier("prototype")),i.identifier("bind")),i.identifier("apply")),[s.callee,o]),[]))}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=function(){return{visitor:{RegExpLiteral:function(e){var t=e.node;s.is(t,"y")&&e.replaceWith(o.newExpression(o.identifier("RegExp"),[o.stringLiteral(t.pattern),o.stringLiteral(t.flags)]))}}}};var i=r(190),s=n(i),a=r(1),o=n(a);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){function t(e){return n.isLiteral(e)&&"string"==typeof e.value}function r(e,t){return n.binaryExpression("+",e,t)}var n=e.types;return{visitor:{TaggedTemplateExpression:function(e,t){for(var r=e.node,i=r.quasi,a=[],o=[],u=[],l=i.quasis,c=Array.isArray(l),f=0,l=c?l:(0,s.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;o.push(n.stringLiteral(d.value.cooked)),u.push(n.stringLiteral(d.value.raw))}o=n.arrayExpression(o),u=n.arrayExpression(u);var h="taggedTemplateLiteral";t.opts.loose&&(h+="Loose");var m=t.file.addTemplateObject(h,o,u);a.push(m),a=a.concat(i.expressions),e.replaceWith(n.callExpression(r.tag,a))},TemplateLiteral:function(e,i){for(var a=[],o=e.get("expressions"),u=e.node.quasis,l=Array.isArray(u),c=0,u=l?u:(0,s.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;a.push(n.stringLiteral(p.value.cooked));var d=o.shift();d&&(!i.opts.spec||d.isBaseType("string")||d.isBaseType("number")?a.push(d.node):a.push(n.callExpression(n.identifier("String"),[d.node])))}if(a=a.filter(function(e){return!n.isLiteral(e,{value:""})}),t(a[0])||t(a[1])||a.unshift(n.stringLiteral("")),a.length>1){for(var h=r(a.shift(),a.shift()),m=a,v=Array.isArray(m),y=0,m=v?m:(0,s.default)(m);;){var g;if(v){if(y>=m.length)break;g=m[y++]}else{if(y=m.next(),y.done)break;g=y.value}var b=g;h=r(h,b)}e.replaceWith(h)}else e.replaceWith(a[0])}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(11),s=n(i);t.default=function(e){var t=e.types,r=(0,s.default)();return{visitor:{Scope:function(e){var t=e.scope;t.getBinding("Symbol")&&t.rename("Symbol")},UnaryExpression:function(e){var n=e.node,i=e.parent;if(!n[r]&&!e.find(function(e){return e.node&&!!e.node._generated})){if(e.parentPath.isBinaryExpression()&&t.EQUALITY_BINARY_OPERATORS.indexOf(i.operator)>=0){var s=e.getOpposite();if(s.isLiteral()&&"symbol"!==s.node.value&&"object"!==s.node.value)return}if("typeof"===n.operator){var a=t.callExpression(this.addHelper("typeof"),[n.argument]);if(e.get("argument").isIdentifier()){var o=t.stringLiteral("undefined"),u=t.unaryExpression("typeof",n.argument);u[r]=!0,e.replaceWith(t.conditionalExpression(t.binaryExpression("===",u,o),o,a))}else e.replaceWith(a)}}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{visitor:{RegExpLiteral:function(e){var t=e.node;u.is(t,"u")&&(t.pattern=(0,a.default)(t.pattern,t.flags),u.pullFlag(t,"u"))}}}};var s=r(608),a=i(s),o=r(190),u=n(o);e.exports=t.default},function(e,t,r){"use strict";e.exports=r(603)},function(e,t,r){"use strict";e.exports={default:r(401),__esModule:!0}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(){s(),a()}function s(){t.path=l=new u.default}function a(){t.scope=c=new u.default}t.__esModule=!0,t.scope=t.path=void 0;var o=r(357),u=n(o);t.clear=i,t.clearPath=s,t.clearScope=a;var l=t.path=new u.default,c=t.scope=new u.default},function(e,t){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(54),i=r(422),s=r(421),a=r(19),o=r(149),u=r(235),l={},c={},f=e.exports=function(e,t,r,f,p){var d,h,m,v,y=p?function(){return e}:u(e),g=n(r,f,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(s(y)){for(d=o(e.length);d>b;b++)if(v=t?g(a(h=e[b])[0],h[1]):g(e[b]),v===l||v===c)return v}else for(m=y.call(e);!(h=m.next()).done;)if(v=i(m,g,h.value,t),v===l||v===c)return v};f.BREAK=l,f.RETURN=c},function(e,t,r){"use strict";var n=r(19),i=r(425),s=r(139),a=r(146)("IE_PROTO"),o=function(){},u="prototype",l=function(){var e,t=r(227)("iframe"),n=s.length,i="<",a=">";for(t.style.display="none",r(420).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),l=e.F;n--;)delete l[u][s[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(o[u]=n(e),r=new o,o[u]=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t){"use strict";t.f={}.propertyIsEnumerable},function(e,t){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(23).f,i=r(27),s=r(12)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,s)&&n(e,s,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(89);e.exports=function(e){return Object(n(e))}},function(e,t){"use strict";var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){"use strict"},function(e,t,r){"use strict";function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,o&&s(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n-1:!!c&&i(e,t,r)>-1}var i=r(101),s=r(24),a=r(583),o=r(47),u=r(276),l=Math.max;e.exports=n},function(e,t,r){"use strict";var n=r(482),i=r(25),s=Object.prototype,a=s.hasOwnProperty,o=s.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!o.call(e,"callee")};e.exports=u},function(e,t,r){(function(e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(15),s=r(592),a="object"==n(t)&&t&&!t.nodeType&&t,o=a&&"object"==n(e)&&e&&!e.nodeType&&e,u=o&&o.exports===a,l=u?i.Buffer:void 0,c=l?l.isBuffer:void 0,f=c||s;e.exports=f}).call(t,r(39)(e))},97,function(e,t,r){(function(e,n){"use strict";function i(e,r){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&t._extend(n,r),x(n.showHidden)&&(n.showHidden=!1), -x(n.depth)&&(n.depth=2),x(n.colors)&&(n.colors=!1),x(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),u(n,e,n.depth)}function s(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function a(e,t){return e}function o(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return b(i)||(i=u(e,i,n)),i}var s=l(e,r);if(s)return s;var a=Object.keys(r),m=o(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),D(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return c(r);if(0===a.length){if(C(r)){var v=r.name?": "+r.name:"";return e.stylize("[Function"+v+"]","special")}if(A(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return e.stylize(Date.prototype.toString.call(r),"date");if(D(r))return c(r)}var y="",g=!1,E=["{","}"];if(h(r)&&(g=!0,E=["[","]"]),C(r)){var x=r.name?": "+r.name:"";y=" [Function"+x+"]"}if(A(r)&&(y=" "+RegExp.prototype.toString.call(r)),_(r)&&(y=" "+Date.prototype.toUTCString.call(r)),D(r)&&(y=" "+c(r)),0===a.length&&(!g||0==r.length))return E[0]+y+E[1];if(n<0)return A(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var S;return S=g?f(e,r,n,m,a):a.map(function(t){return p(e,r,n,m,t,g)}),e.seen.pop(),d(S,y,E)}function l(e,t){if(x(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i){for(var s=[],a=0,o=t.length;a-1&&(o=s?o.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+o.split("\n").map(function(e){return" "+e}).join("\n"))):o=e.stylize("[Circular]","special")),x(a)){if(s&&i.match(/^\d+$/))return o;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function d(e,t,r){var n=0,i=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function y(e){return null==e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return"symbol"===("undefined"==typeof e?"undefined":O(e))}function x(e){return void 0===e}function A(e){return S(e)&&"[object RegExp]"===F(e)}function S(e){return"object"===("undefined"==typeof e?"undefined":O(e))&&null!==e}function _(e){return S(e)&&"[object Date]"===F(e)}function D(e){return S(e)&&("[object Error]"===F(e)||e instanceof Error)}function C(e){return"function"==typeof e}function w(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":O(e))||"undefined"==typeof e}function F(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function k(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),o=n[r];r1&&void 0!==arguments[1]?arguments[1]:n.cwd();if("object"===("undefined"==typeof u.default?"undefined":(0,a.default)(u.default)))return null;var r=f[t];if(!r){r=new u.default;var i=c.default.join(t,".babelrc");r.id=i,r.filename=i,r.paths=u.default._nodeModulePaths(t),f[t]=r}try{return u.default._resolveFilename(e,r)}catch(e){return null}};var o=r(115),u=i(o),l=r(17),c=i(l),f={};e.exports=t.default}).call(t,r(9))},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(131),s=n(i),a=r(3),o=n(a),u=r(42),l=n(u),c=r(41),f=n(c),p=function(e){function t(){(0,o.default)(this,t);var r=(0,l.default)(this,e.call(this));return r.dynamicData={},r}return(0,f.default)(t,e),t.prototype.setDynamic=function(e,t){this.dynamicData[e]=t},t.prototype.get=function(t){if(this.has(t))return e.prototype.get.call(this,t);if(Object.prototype.hasOwnProperty.call(this.dynamicData,t)){var r=this.dynamicData[t]();return this.set(t,r),r}},t}(s.default);t.default=p,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=r(236),o=n(a),u=(0,o.default)("babel:verbose"),l=(0,o.default)("babel"),c=[],f=function(){function e(t,r){(0,s.default)(this,e),this.filename=r,this.file=t}return e.prototype._buildMessage=function(e){var t="[BABEL] "+this.filename;return e&&(t+=": "+e),t},e.prototype.warn=function(e){console.warn(this._buildMessage(e))},e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;throw new t(this._buildMessage(e))},e.prototype.deprecate=function(e){this.file.opts&&this.file.opts.suppressDeprecationMessages||(e=this._buildMessage(e),c.indexOf(e)>=0||(c.push(e),console.error(e)))},e.prototype.verbose=function(e){u.enabled&&u(this._buildMessage(e))},e.prototype.debug=function(e){l.enabled&&l(this._buildMessage(e))},e.prototype.deopt=function(e,t){this.debug(t)},e}();t.default=f,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=e.node,n=r.source?r.source.value:null,i=t.metadata.modules.exports,s=e.get("declaration");if(s.isStatement()){var a=s.getBindingIdentifiers();for(var o in a)i.exported.push(o),i.specifiers.push({kind:"local",local:o,exported:e.isExportDefaultDeclaration()?"default":o})}if(e.isExportNamedDeclaration()&&r.specifiers)for(var l=r.specifiers,f=Array.isArray(l),p=0,l=f?l:(0,u.default)(l);;){var d;if(f){if(p>=l.length)break;d=l[p++]}else{if(p=l.next(),p.done)break;d=p.value}var h=d,m=h.exported.name;i.exported.push(m),c.isExportDefaultSpecifier(h)&&i.specifiers.push({kind:"external",local:m,exported:m,source:n}),c.isExportNamespaceSpecifier(h)&&i.specifiers.push({kind:"external-namespace",exported:m,source:n});var v=h.local;v&&(n&&i.specifiers.push({kind:"external",local:v.name,exported:m,source:n}),n||i.specifiers.push({kind:"local",local:v.name,exported:m}))}e.isExportAllDeclaration()&&i.specifiers.push({kind:"external-all",source:n})}function a(e){e.skip()}t.__esModule=!0,t.ImportDeclaration=t.ModuleDeclaration=void 0;var o=r(2),u=i(o);t.ExportDeclaration=s,t.Scope=a;var l=r(1),c=n(l);t.ModuleDeclaration={enter:function(e,t){var r=e.node;r.source&&(r.source.value=t.resolveModuleSource(r.source.value))}},t.ImportDeclaration={exit:function(e,t){var r=e.node,n=[],i=[];t.metadata.modules.imports.push({source:r.source.value,imported:i,specifiers:n});for(var s=e.get("specifiers"),a=Array.isArray(s),o=0,s=a?s:(0,u.default)(s);;){var l;if(a){if(o>=s.length)break;l=s[o++]}else{if(o=s.next(),o.done)break;l=o.value}var c=l,f=c.node.local.name;if(c.isImportDefaultSpecifier()&&(i.push("default"),n.push({kind:"named",imported:"default",local:f})),c.isImportSpecifier()){var p=c.node.imported.name;i.push(p),n.push({kind:"named",imported:p,local:f})}c.isImportNamespaceSpecifier()&&(i.push("*"),n.push({kind:"namespace",local:f}))}}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=t||i.EXTENSIONS,n=D.default.extname(e);return(0,x.default)(r,n)}function s(e){return e?Array.isArray(e)?e:"string"==typeof e?e.split(","):[e]:[]}function a(e){if(!e)return new RegExp(/.^/);if(Array.isArray(e)&&(e=new RegExp(e.map(m.default).join("|"),"i")),"string"==typeof e){e=(0,w.default)(e),((0,y.default)(e,"./")||(0,y.default)(e,"*/"))&&(e=e.slice(2)),(0,y.default)(e,"**/")&&(e=e.slice(3));var t=b.default.makeRe(e,{nocase:!0});return new RegExp(t.source.slice(1,-1),"i")}if((0,S.default)(e))return e;throw new TypeError("illegal type for regexify")}function o(e,t){return e?"boolean"==typeof e?o([e],t):"string"==typeof e?o(s(e),t):Array.isArray(e)?(t&&(e=e.map(t)),e):[e]:[]}function u(e){return"true"===e||1==e||!("false"===e||0==e||!e)&&e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2];if(e=e.replace(/\\/g,"/"),r){for(var n=r,i=Array.isArray(n),s=0,n=i?n:(0,p.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if(c(o,e))return!1}return!0}if(t.length)for(var u=t,l=Array.isArray(u),f=0,u=l?u:(0,p.default)(u);;){var d;if(l){if(f>=u.length)break;d=u[f++]}else{if(f=u.next(),f.done)break;d=f.value}var h=d;if(c(h,e))return!0}return!1}function c(e,t){return"function"==typeof e?e(t):e.test(t)}t.__esModule=!0,t.inspect=t.inherits=void 0;var f=r(2),p=n(f),d=r(116);Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return d.inherits}}),Object.defineProperty(t,"inspect",{enumerable:!0,get:function(){return d.inspect}}),t.canCompile=i,t.list=s,t.regexify=a,t.arrayify=o,t.booleanify=u,t.shouldIgnore=l;var h=r(573),m=n(h),v=r(591),y=n(v),g=r(598),b=n(g),E=r(112),x=n(E),A=r(272),S=n(A),_=r(17),D=n(_),C=r(281),w=n(C);i.EXTENSIONS=[".js",".jsx",".es6",".es"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function s(e){e.variance&&("plus"===e.variance?this.token("+"):"minus"===e.variance&&this.token("-")),this.word(e.name)}function a(e){this.token("..."),this.print(e.argument,e)}function o(e){var t=e.properties;this.token("{"),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.token("}")}function u(e){this.printJoin(e.decorators,e),this._method(e)}function l(e){if(this.printJoin(e.decorators,e),e.computed)this.token("["),this.print(e.key,e),this.token("]");else{if(y.isAssignmentPattern(e.value)&&y.isIdentifier(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&y.isIdentifier(e.key)&&y.isIdentifier(e.value)&&e.key.name===e.value.name)return}this.token(":"),this.space(),this.print(e.value,e)}function c(e){var t=e.elements,r=t.length;this.token("["),this.printInnerComments(e);for(var n=0;n0&&this.space(),this.print(i,e),n {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"),v=(0,c.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"),y={Function:function(e){return e.isArrowFunctionExpression()&&!e.node.async?void e.arrowFunctionToShadowed():void e.skip()},AwaitExpression:function(e,t){var r=e.node,n=t.wrapAwait;r.type="YieldExpression",n&&(r.argument=p.callExpression(n,[r.argument]))},ForAwaitStatement:function(e,t){var r=t.file,n=t.wrapAwait,i=e.node,s=(0,h.default)(e,{getAsyncIterator:r.addHelper("asyncIterator"),wrapAwait:n}),a=s.declar,o=s.loop,u=o.body;e.ensureBlock(),a&&u.body.push(a),u.body=u.body.concat(i.body.body),p.inherits(o,i),p.inherits(o.body,i.body),s.replaceParent?(e.parentPath.replaceWithMultiple(s.node),e.remove()):e.replaceWithMultiple(s.node)}};e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("decorators")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("jsx")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("trailingFunctionCommas")}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{inherits:r(66),visitor:{Function:function(e,t){e.node.async&&!e.node.generator&&(0,s.default)(e,t.file,{wrapAsync:t.addHelper("asyncToGenerator")})}}}};var i=r(123),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return f.isIdentifier(e)?e.name:e.value.toString()}t.__esModule=!0;var a=r(2),o=i(a),u=r(10),l=i(u);t.default=function(){return{visitor:{ObjectExpression:function(e){for(var t=e.node,r=t.properties.filter(function(e){return!f.isSpreadProperty(e)&&!e.computed}),n=(0,l.default)(null),i=(0,l.default)(null),a=(0,l.default)(null),u=r,c=Array.isArray(u),p=0,u=c?u:(0,o.default)(u);;){var d;if(c){if(p>=u.length)break;d=u[p++]}else{if(p=u.next(),p.done)break;d=p.value}var h=d,m=s(h.key),v=!1;switch(h.kind){case"get":(n[m]||i[m])&&(v=!0),i[m]=!0;break;case"set":(n[m]||a[m])&&(v=!0),a[m]=!0;break;default:(n[m]||i[m]||a[m])&&(v=!0),n[m]=!0}v&&(h.computed=!0,h.key=f.stringLiteral(m))}}}}};var c=r(1),f=n(c);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(10),s=n(i);t.default=function(e){function t(e){if(!e.isCallExpression())return!1;if(!e.get("callee").isIdentifier({name:"require"}))return!1;if(e.scope.getBinding("require"))return!1;var t=e.get("arguments");if(1!==t.length)return!1;var r=t[0];return!!r.isStringLiteral()}var n=e.types,i={ReferencedIdentifier:function(e){var t=e.node,r=e.scope;"exports"!==t.name||r.getBinding("exports")||(this.hasExports=!0),"module"!==t.name||r.getBinding("module")||(this.hasModule=!0)},CallExpression:function(e){t(e)&&(this.bareSources.push(e.node.arguments[0]),e.remove())},VariableDeclarator:function(e){var r=e.get("id");if(r.isIdentifier()){var n=e.get("init");if(t(n)){var i=n.node.arguments[0];this.sourceNames[i.value]=!0,this.sources.push([r.node,i]),e.remove()}}}};return{inherits:r(77),pre:function(){this.sources=[],this.sourceNames=(0,s.default)(null),this.bareSources=[],this.hasExports=!1,this.hasModule=!1},visitor:{Program:{exit:function(e){var t=this;if(!this.ran){this.ran=!0,e.traverse(i,this);var r=this.sources.map(function(e){return e[0]}),s=this.sources.map(function(e){return e[1]});s=s.concat(this.bareSources.filter(function(e){return!t.sourceNames[e.value]}));var a=this.getModuleName();a&&(a=n.stringLiteral(a)),this.hasExports&&(s.unshift(n.stringLiteral("exports")),r.unshift(n.identifier("exports"))),this.hasModule&&(s.unshift(n.stringLiteral("module")),r.unshift(n.identifier("module")));var o=e.node,c=l({PARAMS:r,BODY:o.body});c.expression.body.directives=o.directives,o.directives=[],o.body=[u({MODULE_NAME:a,SOURCES:s,FACTORY:c})]}}}}}};var a=r(4),o=n(a),u=(0,o.default)("\n define(MODULE_NAME, [SOURCES], FACTORY);\n"),l=(0,o.default)("\n (function (PARAMS) {\n BODY;\n })\n");e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types;return{inherits:r(197),visitor:(0,s.default)({operator:"**",build:function(e,r){return t.callExpression(t.memberExpression(t.identifier("Math"),t.identifier("pow")),[e,r])}})}};var i=r(313),s=n(i);e.exports=t.default},function(e,t,r){"use strict";e.exports={default:r(399),__esModule:!0}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){for(var n=I.scope.get(e.node)||[],i=n,s=Array.isArray(i),a=0,i=s?i:(0,v.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var u=o;if(u.parent===t&&u.path===e)return u}n.push(r),I.scope.has(e.node)||I.scope.set(e.node,n)}function a(e,t){if(R.isModuleDeclaration(e))if(e.source)a(e.source,t);else if(e.specifiers&&e.specifiers.length)for(var r=e.specifiers,n=Array.isArray(r),i=0,r=n?r:(0,v.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var o=s;a(o,t)}else e.declaration&&a(e.declaration,t);else if(R.isModuleSpecifier(e))a(e.local,t);else if(R.isMemberExpression(e))a(e.object,t),a(e.property,t);else if(R.isIdentifier(e))t.push(e.name);else if(R.isLiteral(e))t.push(e.value);else if(R.isCallExpression(e))a(e.callee,t);else if(R.isObjectExpression(e)||R.isObjectPattern(e))for(var u=e.properties,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;a(p.key||p.argument,t)}}t.__esModule=!0;var o=r(13),u=i(o),l=r(10),c=i(l),f=r(131),p=i(f),d=r(3),h=i(d),m=r(2),v=i(m),y=r(112),g=i(y),b=r(274),E=i(b),x=r(376),A=i(x),S=r(8),_=i(S),D=r(269),C=i(D),w=r(18),F=n(w),P=r(223),k=i(P),T=r(451),O=i(T),B=r(1),R=n(B),I=r(88),M=0,N={For:function(e){for(var t=R.FOR_INIT_KEYS,r=Array.isArray(t),n=0,t=r?t:(0,v.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i,a=e.get(s);a.isVar()&&e.scope.getFunctionParent().registerBinding("var",a)}},Declaration:function(e){e.isBlockScoped()||e.isExportDeclaration()&&e.get("declaration").isDeclaration()||e.scope.getFunctionParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");(r.isPattern()||r.isIdentifier())&&t.constantViolations.push(r)},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope,n=t.declaration;if(R.isClassDeclaration(n)||R.isFunctionDeclaration(n)){var i=n.id;if(!i)return;var s=r.getBinding(i.name);s&&s.reference(e)}else if(R.isVariableDeclaration(n))for(var a=n.declarations,o=Array.isArray(a),u=0,a=o?a:(0,v.default)(a);;){var l;if(o){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l,f=R.getBindingIdentifiers(c);for(var p in f){var d=r.getBinding(p);d&&d.reference(e)}}}},LabeledStatement:function(e){e.scope.getProgramParent().addGlobal(e.node),e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression:function(e,t){t.assignments.push(e)},UpdateExpression:function(e,t){t.constantViolations.push(e.get("argument"))},UnaryExpression:function(e,t){"delete"===e.node.operator&&t.constantViolations.push(e.get("argument"))},BlockScoped:function(e){var t=e.scope;t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e)},ClassDeclaration:function(e){var t=e.node.id;if(t){var r=t.name;e.scope.bindings[r]=e.scope.getBinding(r)}},Block:function(e){for(var t=e.get("body"),r=t,n=Array.isArray(r),i=0,r=n?r:(0,v.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;a.isFunctionDeclaration()&&e.scope.getBlockParent().registerDeclaration(a)}}},L=0,j=function(){function e(t,r){if((0,h.default)(this,e),r&&r.block===t.node)return r;var n=s(t,r,this);return n?n:(this.uid=L++,this.parent=r,this.hub=t.hub,this.parentBlock=t.parent,this.block=t.node,this.path=t,void(this.labels=new p.default))}return e.prototype.traverse=function(e,t,r){(0,_.default)(e,t,this,r,this.path)},e.prototype.generateDeclaredUidIdentifier=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp",t=this.generateUidIdentifier(e);return this.push({id:t}),t},e.prototype.generateUidIdentifier=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";return R.identifier(this.generateUid(e))},e.prototype.generateUid=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";e=R.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");var t=void 0,r=0;do t=this._generateUid(e,r),r++;while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));var n=this.getProgramParent();return n.references[t]=!0,n.uids[t]=!0,t},e.prototype._generateUid=function(e,t){var r=e;return t>1&&(r+=t),"_"+r},e.prototype.generateUidIdentifierBasedOnNode=function(e,t){var r=e;R.isAssignmentExpression(e)?r=e.left:R.isVariableDeclarator(e)?r=e.id:(R.isObjectProperty(r)||R.isObjectMethod(r))&&(r=r.key);var n=[];a(r,n);var i=n.join("$");return i=i.replace(/^_/,"")||t||"ref",this.generateUidIdentifier(i.slice(0,20))},e.prototype.isStatic=function(e){if(R.isThisExpression(e)||R.isSuper(e))return!0;if(R.isIdentifier(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},e.prototype.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t||this.push({id:r}),r},e.prototype.checkBlockScopedCollisions=function(e,t,r,n){if("param"!==t&&("hoisted"!==t||"let"!==e.kind)){var i=!1;if(i||(i="let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind),i||(i="param"===e.kind&&("let"===t||"const"===t)),i)throw this.hub.file.buildCodeFrameError(n,F.get("scopeDuplicateDeclaration",r),TypeError)}},e.prototype.rename=function(e,t,r){var n=this.getBinding(e);if(n)return t=t||this.generateUidIdentifier(e).name,new A.default(n,e,t).rename(r)},e.prototype._renameFromMap=function(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)},e.prototype.dump=function(){var e=(0,E.default)("-",60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r in t.bindings){var n=t.bindings[r];console.log(" -",r,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)},e.prototype.toArray=function(e,t){var r=this.hub.file;if(R.isIdentifier(e)){var n=this.getBinding(e.name);if(n&&n.constant&&n.path.isGenericType("Array"))return e}if(R.isArrayExpression(e))return e;if(R.isIdentifier(e,{name:"arguments"}))return R.callExpression(R.memberExpression(R.memberExpression(R.memberExpression(R.identifier("Array"),R.identifier("prototype")),R.identifier("slice")),R.identifier("call")),[e]);var i="toArray",s=[e];return t===!0?i="toConsumableArray":t&&(s.push(R.numericLiteral(t)),i="slicedToArray"),R.callExpression(r.addHelper(i),s)},e.prototype.hasLabel=function(e){return!!this.getLabel(e)},e.prototype.getLabel=function(e){return this.labels.get(e)},e.prototype.registerLabel=function(e){this.labels.set(e.node.label.name,e)},e.prototype.registerDeclaration=function(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration())for(var t=e.get("declarations"),r=t,n=Array.isArray(r),i=0,r=n?r:(0,v.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;this.registerBinding(e.node.kind,a)}else if(e.isClassDeclaration())this.registerBinding("let",e);else if(e.isImportDeclaration())for(var o=e.get("specifiers"),u=o,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;this.registerBinding("module",p)}else if(e.isExportDeclaration()){var d=e.get("declaration");(d.isClassDeclaration()||d.isFunctionDeclaration()||d.isVariableDeclaration())&&this.registerDeclaration(d)}else this.registerBinding("unknown",e)},e.prototype.buildUndefinedNode=function(){return this.hasBinding("undefined")?R.unaryExpression("void",R.numericLiteral(0),!0):R.identifier("undefined")},e.prototype.registerConstantViolation=function(e){var t=e.getBindingIdentifiers();for(var r in t){var n=this.getBinding(r);n&&n.reassign(e)}},e.prototype.registerBinding=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration())for(var n=t.get("declarations"),i=n,s=Array.isArray(i),a=0,i=s?i:(0,v.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var u=o;this.registerBinding(e,u)}else{var l=this.getProgramParent(),c=t.getBindingIdentifiers(!0);for(var f in c)for(var p=c[f],d=Array.isArray(p),h=0,p=d?p:(0,v.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var y=m,g=this.getOwnBinding(f);if(g){if(g.identifier===y)continue;this.checkBlockScopedCollisions(g,e,f,y)}g&&g.path.isFlow()&&(g=null),l.references[f]=!0,this.bindings[f]=new k.default({identifier:y,existing:g,scope:this,path:r,kind:e})}}},e.prototype.addGlobal=function(e){this.globals[e.name]=e},e.prototype.hasUid=function(e){var t=this;do if(t.uids[e])return!0;while(t=t.parent);return!1},e.prototype.hasGlobal=function(e){var t=this;do if(t.globals[e])return!0;while(t=t.parent);return!1},e.prototype.hasReference=function(e){var t=this;do if(t.references[e])return!0;while(t=t.parent);return!1},e.prototype.isPure=function(e,t){if(R.isIdentifier(e)){var r=this.getBinding(e.name);return!!r&&(!t||r.constant)}if(R.isClass(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&this.isPure(e.body,t);if(R.isClassBody(e)){for(var n=e.body,i=Array.isArray(n),s=0,n=i?n:(0,v.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if(!this.isPure(o,t))return!1}return!0}if(R.isBinary(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(R.isArrayExpression(e)){for(var u=e.elements,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;if(!this.isPure(p,t))return!1}return!0}if(R.isObjectExpression(e)){for(var d=e.properties,h=Array.isArray(d),m=0,d=h?d:(0,v.default)(d);;){var y;if(h){if(m>=d.length)break;y=d[m++]}else{if(m=d.next(),m.done)break;y=m.value}var g=y;if(!this.isPure(g,t))return!1}return!0}return R.isClassMethod(e)?!(e.computed&&!this.isPure(e.key,t))&&("get"!==e.kind&&"set"!==e.kind):R.isClassProperty(e)||R.isObjectProperty(e)?!(e.computed&&!this.isPure(e.key,t))&&this.isPure(e.value,t):R.isUnaryExpression(e)?this.isPure(e.argument,t):R.isPureish(e)},e.prototype.setData=function(e,t){return this.data[e]=t},e.prototype.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},e.prototype.removeData=function(e){var t=this;do{var r=t.data[e];null!=r&&(t.data[e]=null)}while(t=t.parent)},e.prototype.init=function(){this.references||this.crawl()},e.prototype.crawl=function(){M++,this._crawl(),M--},e.prototype._crawl=function(){ -var e=this.path;if(this.references=(0,c.default)(null),this.bindings=(0,c.default)(null),this.globals=(0,c.default)(null),this.uids=(0,c.default)(null),this.data=(0,c.default)(null),e.isLoop())for(var t=R.FOR_INIT_KEYS,r=Array.isArray(t),n=0,t=r?t:(0,v.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i,a=e.get(s);a.isBlockScoped()&&this.registerBinding(a.node.kind,a)}if(e.isFunctionExpression()&&e.has("id")&&(e.get("id").node[R.NOT_LOCAL_BINDING]||this.registerBinding("local",e.get("id"),e)),e.isClassExpression()&&e.has("id")&&(e.get("id").node[R.NOT_LOCAL_BINDING]||this.registerBinding("local",e)),e.isFunction())for(var o=e.get("params"),u=o,l=Array.isArray(u),f=0,u=l?u:(0,v.default)(u);;){var p;if(l){if(f>=u.length)break;p=u[f++]}else{if(f=u.next(),f.done)break;p=f.value}var d=p;this.registerBinding("param",d)}e.isCatchClause()&&this.registerBinding("let",e);var h=this.getProgramParent();if(!h.crawling){var m={references:[],constantViolations:[],assignments:[]};this.crawling=!0,e.traverse(N,m),this.crawling=!1;for(var y=m.assignments,g=Array.isArray(y),b=0,y=g?y:(0,v.default)(y);;){var E;if(g){if(b>=y.length)break;E=y[b++]}else{if(b=y.next(),b.done)break;E=b.value}var x=E,A=x.getBindingIdentifiers(),S=void 0;for(var _ in A)x.scope.getBinding(_)||(S=S||x.scope.getProgramParent(),S.addGlobal(A[_]));x.scope.registerConstantViolation(x)}for(var D=m.references,C=Array.isArray(D),w=0,D=C?D:(0,v.default)(D);;){var F;if(C){if(w>=D.length)break;F=D[w++]}else{if(w=D.next(),w.done)break;F=w.value}var P=F,k=P.scope.getBinding(P.node.name);k?k.reference(P):P.scope.getProgramParent().addGlobal(P.node)}for(var T=m.constantViolations,O=Array.isArray(T),B=0,T=O?T:(0,v.default)(T);;){var I;if(O){if(B>=T.length)break;I=T[B++]}else{if(B=T.next(),B.done)break;I=B.value}var M=I;M.scope.registerConstantViolation(M)}}},e.prototype.push=function(e){var t=this.path;t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=this.getFunctionParent().path),(t.isLoop()||t.isCatchClause()||t.isFunction())&&(R.ensureBlock(t.node),t=t.get("body"));var r=e.unique,n=e.kind||"var",i=null==e._blockHoist?2:e._blockHoist,s="declaration:"+n+":"+i,a=!r&&t.getData(s);if(!a){var o=R.variableDeclaration(n,[]);o._generated=!0,o._blockHoist=i;var u=t.unshiftContainer("body",[o]);a=u[0],r||t.setData(s,a)}var l=R.variableDeclarator(e.id,e.init);a.node.declarations.push(l),this.registerBinding(n,a.get("declarations").pop())},e.prototype.getProgramParent=function(){var e=this;do if(e.path.isProgram())return e;while(e=e.parent);throw new Error("We couldn't find a Function or Program...")},e.prototype.getFunctionParent=function(){var e=this;do if(e.path.isFunctionParent())return e;while(e=e.parent);throw new Error("We couldn't find a Function or Program...")},e.prototype.getBlockParent=function(){var e=this;do if(e.path.isBlockParent())return e;while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")},e.prototype.getAllBindings=function(){var e=(0,c.default)(null),t=this;do(0,C.default)(e,t.bindings),t=t.parent;while(t);return e},e.prototype.getAllBindingsOfKind=function(){for(var e=(0,c.default)(null),t=arguments,r=Array.isArray(t),n=0,t=r?t:(0,v.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i,a=this;do{for(var o in a.bindings){var u=a.bindings[o];u.kind===s&&(e[o]=u)}a=a.parent}while(a)}return e},e.prototype.bindingIdentifierEquals=function(e,t){return this.getBindingIdentifier(e)===t},e.prototype.warnOnFlowBinding=function(e){return 0===M&&e&&e.path.isFlow()&&console.warn("\n You or one of the Babel plugins you are using are using Flow declarations as bindings.\n Support for this will be removed in version 6.8. To find out the caller, grep for this\n message and change it to a `console.trace()`.\n "),e},e.prototype.getBinding=function(e){var t=this;do{var r=t.getOwnBinding(e);if(r)return this.warnOnFlowBinding(r)}while(t=t.parent)},e.prototype.getOwnBinding=function(e){return this.warnOnFlowBinding(this.bindings[e])},e.prototype.getBindingIdentifier=function(e){var t=this.getBinding(e);return t&&t.identifier},e.prototype.getOwnBindingIdentifier=function(e){var t=this.bindings[e];return t&&t.identifier},e.prototype.hasOwnBinding=function(e){return!!this.getOwnBinding(e)},e.prototype.hasBinding=function(t,r){return!!t&&(!!this.hasOwnBinding(t)||(!!this.parentHasBinding(t,r)||(!!this.hasUid(t)||(!(r||!(0,g.default)(e.globals,t))||!(r||!(0,g.default)(e.contextVariables,t))))))},e.prototype.parentHasBinding=function(e,t){return this.parent&&this.parent.hasBinding(e,t)},e.prototype.moveBindingTo=function(e,t){var r=this.getBinding(e);r&&(r.scope.removeOwnBinding(e),r.scope=t,t.bindings[e]=r)},e.prototype.removeOwnBinding=function(e){delete this.bindings[e]},e.prototype.removeBinding=function(e){var t=this.getBinding(e);t&&t.scope.removeOwnBinding(e);var r=this;do r.uids[e]&&(r.uids[e]=!1);while(r=r.parent)},e}();j.globals=(0,u.default)(O.default.builtin),j.contextVariables=["arguments","undefined","Infinity","NaN"],t.default=j,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var i=r(355),s=n(i),a=(t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],t.LOGICAL_OPERATORS=["||","&&"],t.UPDATE_OPERATORS=["++","--"],t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),o=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],u=t.COMPARISON_BINARY_OPERATORS=[].concat(o,["in","instanceof"]),l=t.BOOLEAN_BINARY_OPERATORS=[].concat(u,a),c=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],f=(t.BINARY_OPERATORS=["+"].concat(c,l),t.BOOLEAN_UNARY_OPERATORS=["delete","!"]),p=t.NUMBER_UNARY_OPERATORS=["+","-","++","--","~"],d=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void"].concat(f,p,d),t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=(0,s.default)("var used to be block scoped"),t.NOT_LOCAL_BINDING=(0,s.default)("should not be considered a local binding")},function(e,t){"use strict";function r(e){return e=e.split(" "),function(t){return e.indexOf(t)>=0}}function n(e,t){for(var r=65536,n=0;ne)return!1;if(r+=t[n+1],r>=e)return!0}}function i(e){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&b.test(String.fromCharCode(e)):n(e,x)))}function s(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&E.test(String.fromCharCode(e)):n(e,x)||n(e,A))))}function a(e){var t={};for(var r in S)t[r]=e&&r in e?e[r]:S[r];return t}function o(e){return 10===e||13===e||8232===e||8233===e}function u(e,t){for(var r=1,n=0;;){U.lastIndex=n;var i=U.exec(e);if(!(i&&i.index>10)+55296,(e-65536&1023)+56320)}function c(e,t,r,n){return e.type=t,e.end=r,e.loc.end=n,this.processComment(e),e}function f(e){return e[e.length-1]}function p(e){return"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?p(e.object)+"."+p(e.property):void 0}function d(e,t){return new $(t,e).parse()}var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var m={6:r("enum await"),strict:r("implements interface let package private protected public static yield"),strictBind:r("eval arguments")},v=r("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this let const class extends export import yield super"),y="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",g="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",b=new RegExp("["+y+"]"),E=new RegExp("["+y+g+"]");y=g=null;var x=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],A=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],S={sourceType:"script",sourceFilename:void 0,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null},_="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":h(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":"undefined"==typeof e?"undefined":h(e)},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},C=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":h(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},w=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":h(t))&&"function"!=typeof t?e:t},F=!0,P=!0,k=!0,T=!0,O=!0,B=!0,R=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};D(this,e),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null},I=function(e){function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return D(this,t),n.keyword=r,w(this,e.call(this,r,n))}return C(t,e),t}(R),M=function(e){function t(r,n){return D(this,t),w(this,e.call(this,r,{beforeExpr:F,binop:n}))}return C(t,e),t}(R),N={num:new R("num",{startsExpr:P}),regexp:new R("regexp",{startsExpr:P}),string:new R("string",{startsExpr:P}),name:new R("name",{startsExpr:P}),eof:new R("eof"),bracketL:new R("[",{beforeExpr:F,startsExpr:P}),bracketR:new R("]"),braceL:new R("{",{beforeExpr:F,startsExpr:P}),braceBarL:new R("{|",{beforeExpr:F,startsExpr:P}),braceR:new R("}"),braceBarR:new R("|}"),parenL:new R("(",{beforeExpr:F,startsExpr:P}),parenR:new R(")"),comma:new R(",",{beforeExpr:F}),semi:new R(";",{beforeExpr:F}),colon:new R(":",{beforeExpr:F}),doubleColon:new R("::",{beforeExpr:F}),dot:new R("."),question:new R("?",{beforeExpr:F}),arrow:new R("=>",{beforeExpr:F}),template:new R("template"),ellipsis:new R("...",{beforeExpr:F}),backQuote:new R("`",{startsExpr:P}),dollarBraceL:new R("${",{beforeExpr:F,startsExpr:P}),at:new R("@"),eq:new R("=",{beforeExpr:F,isAssign:T}),assign:new R("_=",{beforeExpr:F,isAssign:T}),incDec:new R("++/--",{prefix:O,postfix:B,startsExpr:P}),prefix:new R("prefix",{beforeExpr:F,prefix:O,startsExpr:P}),logicalOR:new M("||",1),logicalAND:new M("&&",2),bitwiseOR:new M("|",3),bitwiseXOR:new M("^",4),bitwiseAND:new M("&",5),equality:new M("==/!=",6),relational:new M("",7),bitShift:new M("<>",8),plusMin:new R("+/-",{beforeExpr:F,binop:9,prefix:O,startsExpr:P}),modulo:new M("%",10),star:new M("*",10),slash:new M("/",10),exponent:new R("**",{beforeExpr:F,binop:11,rightAssociative:!0})},L={break:new I("break"),case:new I("case",{beforeExpr:F}),catch:new I("catch"),continue:new I("continue"),debugger:new I("debugger"),default:new I("default",{beforeExpr:F}),do:new I("do",{isLoop:k,beforeExpr:F}),else:new I("else",{beforeExpr:F}),finally:new I("finally"),for:new I("for",{isLoop:k}),function:new I("function",{startsExpr:P}),if:new I("if"),return:new I("return",{beforeExpr:F}),switch:new I("switch"),throw:new I("throw",{beforeExpr:F}),try:new I("try"),var:new I("var"),let:new I("let"),const:new I("const"),while:new I("while",{isLoop:k}),with:new I("with"),new:new I("new",{beforeExpr:F,startsExpr:P}),this:new I("this",{startsExpr:P}),super:new I("super",{startsExpr:P}),class:new I("class"),extends:new I("extends",{beforeExpr:F}),export:new I("export"),import:new I("import"),yield:new I("yield",{beforeExpr:F,startsExpr:P}),null:new I("null",{startsExpr:P}),true:new I("true",{startsExpr:P}),false:new I("false",{startsExpr:P}),in:new I("in",{beforeExpr:F,binop:7}),instanceof:new I("instanceof",{beforeExpr:F,binop:7}),typeof:new I("typeof",{beforeExpr:F,prefix:O,startsExpr:P}),void:new I("void",{beforeExpr:F,prefix:O,startsExpr:P}),delete:new I("delete",{beforeExpr:F,prefix:O,startsExpr:P})};Object.keys(L).forEach(function(e){N["_"+e]=L[e]});var j=/\r\n?|\n|\u2028|\u2029/,U=new RegExp(j.source,"g"),V=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,G=function e(t,r,n,i){D(this,e),this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i},W={braceStatement:new G("{",!1),braceExpression:new G("{",!0),templateQuasi:new G("${",!0),parenStatement:new G("(",!1),parenExpression:new G("(",!0),template:new G("`",!0,!0,function(e){return e.readTmplToken()}),functionExpression:new G("function",!0)};N.parenR.updateContext=N.braceR.updateContext=function(){if(1===this.state.context.length)return void(this.state.exprAllowed=!0);var e=this.state.context.pop();e===W.braceStatement&&this.curContext()===W.functionExpression?(this.state.context.pop(),this.state.exprAllowed=!1):e===W.templateQuasi?this.state.exprAllowed=!0:this.state.exprAllowed=!e.isExpr},N.name.updateContext=function(e){this.state.exprAllowed=!1,e!==N._let&&e!==N._const&&e!==N._var||j.test(this.input.slice(this.state.end))&&(this.state.exprAllowed=!0)},N.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?W.braceStatement:W.braceExpression),this.state.exprAllowed=!0},N.dollarBraceL.updateContext=function(){this.state.context.push(W.templateQuasi),this.state.exprAllowed=!0},N.parenL.updateContext=function(e){var t=e===N._if||e===N._for||e===N._with||e===N._while;this.state.context.push(t?W.parenStatement:W.parenExpression),this.state.exprAllowed=!0},N.incDec.updateContext=function(){},N._function.updateContext=function(){this.curContext()!==W.braceStatement&&this.state.context.push(W.functionExpression),this.state.exprAllowed=!1},N.backQuote.updateContext=function(){this.curContext()===W.template?this.state.context.pop():this.state.context.push(W.template),this.state.exprAllowed=!1};var Y=function e(t,r){D(this,e),this.line=t,this.column=r},q=function e(t,r){D(this,e),this.start=t,this.end=r},K=function(){function e(){D(this,e)}return e.prototype.init=function(e,t){return this.strict=e.strictMode!==!1&&"module"===e.sourceType,this.input=t,this.potentialArrowAt=-1,this.inMethod=this.inFunction=this.inGenerator=this.inAsync=this.inPropertyName=this.inType=this.noAnonFunctionType=!1,this.labels=[],this.decorators=[],this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.pos=this.lineStart=0,this.curLine=1,this.type=N.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=[W.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.exportedIdentifiers=[],this},e.prototype.curPosition=function(){return new Y(this.curLine,this.pos-this.lineStart)},e.prototype.clone=function(t){var r=new e;for(var n in this){var i=this[n];t&&"context"!==n||!Array.isArray(i)||(i=i.slice()),r[n]=i}return r},e}(),H=function e(t){D(this,e),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new q(t.startLoc,t.endLoc)},J=function(){function e(t,r){D(this,e),this.state=new K,this.state.init(t,r)}return e.prototype.next=function(){this.isLookahead||this.state.tokens.push(new H(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.match=function(e){return this.state.type===e},e.prototype.isKeyword=function(e){return v(e)},e.prototype.lookahead=function(){var e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var t=this.state.clone(!0);return this.state=e,t},e.prototype.setStrict=function(e){if(this.state.strict=e,this.match(N.num)||this.match(N.string)){for(this.state.pos=this.state.start;this.state.pos=this.input.length?this.finishToken(N.eof):e.override?e.override(this):this.readToken(this.fullCharCodeAtPos())},e.prototype.readToken=function(e){return i(e)||92===e?this.readWord():this.getTokenFromCode(e)},e.prototype.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.state.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.state.pos+1);return(e<<10)+t-56613888},e.prototype.pushComment=function(e,t,r,n,i,s){var a={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new q(i,s)};this.isLookahead||(this.state.tokens.push(a),this.state.comments.push(a),this.addComment(a))},e.prototype.skipBlockComment=function(){var e=this.state.curPosition(),t=this.state.pos,r=this.input.indexOf("*/",this.state.pos+=2);r===-1&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=r+2,U.lastIndex=t;for(var n=void 0;(n=U.exec(this.input))&&n.index8&&e<14||e>=5760&&V.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.updateContext(r)},e.prototype.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.state.pos+2);return 46===e&&46===t?(this.state.pos+=3,this.finishToken(N.ellipsis)):(++this.state.pos,this.finishToken(N.dot))},e.prototype.readToken_slash=function(){if(this.state.exprAllowed)return++this.state.pos,this.readRegexp();var e=this.input.charCodeAt(this.state.pos+1);return 61===e?this.finishOp(N.assign,2):this.finishOp(N.slash,1)},e.prototype.readToken_mult_modulo=function(e){var t=42===e?N.star:N.modulo,r=1,n=this.input.charCodeAt(this.state.pos+1);return 42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=N.exponent),61===n&&(r++,t=N.assign),this.finishOp(t,r)},e.prototype.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.state.pos+1);return t===e?this.finishOp(124===e?N.logicalOR:N.logicalAND,2):61===t?this.finishOp(N.assign,2):124===e&&125===t&&this.hasPlugin("flow")?this.finishOp(N.braceBarR,2):this.finishOp(124===e?N.bitwiseOR:N.bitwiseAND,1)},e.prototype.readToken_caret=function(){var e=this.input.charCodeAt(this.state.pos+1);return 61===e?this.finishOp(N.assign,2):this.finishOp(N.bitwiseXOR,1)},e.prototype.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.state.pos+1);return t===e?45===t&&62===this.input.charCodeAt(this.state.pos+2)&&j.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(N.incDec,2):61===t?this.finishOp(N.assign,2):this.finishOp(N.plusMin,1)},e.prototype.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.state.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+r)?this.finishOp(N.assign,r+1):this.finishOp(N.bitShift,r)):33===t&&60===e&&45===this.input.charCodeAt(this.state.pos+2)&&45===this.input.charCodeAt(this.state.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(r=2),this.finishOp(N.relational,r))},e.prototype.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.state.pos+1);return 61===t?this.finishOp(N.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2):61===e&&62===t?(this.state.pos+=2,this.finishToken(N.arrow)):this.finishOp(61===e?N.eq:N.prefix,1)},e.prototype.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.state.pos,this.finishToken(N.parenL);case 41:return++this.state.pos,this.finishToken(N.parenR);case 59:return++this.state.pos,this.finishToken(N.semi);case 44:return++this.state.pos,this.finishToken(N.comma);case 91:return++this.state.pos,this.finishToken(N.bracketL);case 93:return++this.state.pos,this.finishToken(N.bracketR);case 123:return this.hasPlugin("flow")&&124===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.braceBarL,2):(++this.state.pos,this.finishToken(N.braceL));case 125:return++this.state.pos,this.finishToken(N.braceR);case 58:return this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(N.doubleColon,2):(++this.state.pos,this.finishToken(N.colon));case 63:return++this.state.pos,this.finishToken(N.question);case 64:return++this.state.pos,this.finishToken(N.at);case 96:return++this.state.pos,this.finishToken(N.backQuote);case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(N.prefix,1)}this.raise(this.state.pos,"Unexpected character '"+l(e)+"'")},e.prototype.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);return this.state.pos+=t,this.finishToken(e,r)},e.prototype.readRegexp=function(){for(var e=this.state.pos,t=void 0,r=void 0;;){this.state.pos>=this.input.length&&this.raise(e,"Unterminated regular expression");var n=this.input.charAt(this.state.pos);if(j.test(n)&&this.raise(e,"Unterminated regular expression"),t)t=!1;else{if("["===n)r=!0;else if("]"===n&&r)r=!1;else if("/"===n&&!r)break;t="\\"===n}++this.state.pos}var i=this.input.slice(e,this.state.pos);++this.state.pos;var s=this.readWord1();if(s){var a=/^[gmsiyu]*$/;a.test(s)||this.raise(e,"Invalid regular expression flag")}return this.finishToken(N.regexp,{pattern:i,flags:s})},e.prototype.readInt=function(e,t){for(var r=this.state.pos,n=0,i=0,s=null==t?1/0:t;i=97?a-97+10:a>=65?a-65+10:a>=48&&a<=57?a-48:1/0,o>=e)break;++this.state.pos,n=n*e+o}return this.state.pos===r||null!=t&&this.state.pos-r!==t?null:n},e.prototype.readRadixNumber=function(e){this.state.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.state.start+2,"Expected number in radix "+e),i(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number"),this.finishToken(N.num,t)},e.prototype.readNumber=function(e){var t=this.state.pos,r=48===this.input.charCodeAt(this.state.pos),n=!1;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.state.pos);46===s&&(++this.state.pos,this.readInt(10),n=!0,s=this.input.charCodeAt(this.state.pos)),69!==s&&101!==s||(s=this.input.charCodeAt(++this.state.pos),43!==s&&45!==s||++this.state.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),n=!0),i(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number");var a=this.input.slice(t,this.state.pos),o=void 0;return n?o=parseFloat(a):r&&1!==a.length?/[89]/.test(a)||this.state.strict?this.raise(t,"Invalid number"):o=parseInt(a,8):o=parseInt(a,10),this.finishToken(N.num,o)},e.prototype.readCodePoint=function(){var e=this.input.charCodeAt(this.state.pos),t=void 0;if(123===e){var r=++this.state.pos;t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos),++this.state.pos,t>1114111&&this.raise(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},e.prototype.readString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos):(o(n)&&this.raise(this.state.start,"Unterminated string constant"),++this.state.pos)}return t+=this.input.slice(r,this.state.pos++),this.finishToken(N.string,t)},e.prototype.readTmplToken=function(){for(var e="",t=this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template");var r=this.input.charCodeAt(this.state.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(N.template)?36===r?(this.state.pos+=2,this.finishToken(N.dollarBraceL)):(++this.state.pos,this.finishToken(N.backQuote)):(e+=this.input.slice(t,this.state.pos),this.finishToken(N.template,e));if(92===r)e+=this.input.slice(t,this.state.pos),e+=this.readEscapedChar(!0),t=this.state.pos;else if(o(r)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,r){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}},e.prototype.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return l(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(t>=48&&t<=55){var r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);return n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),n>0&&(this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=this.state.pos-2),(this.state.strict||e)&&this.raise(this.state.pos-2,"Octal literal in strict mode")),this.state.pos+=r.length-1,String.fromCharCode(n)}return String.fromCharCode(t)}},e.prototype.readHexChar=function(e){var t=this.state.pos,r=this.readInt(16,e);return null===r&&this.raise(t,"Bad character escape sequence"),r},e.prototype.readWord1=function(){this.state.containsEsc=!1;for(var e="",t=!0,r=this.state.pos;this.state.pos-1)||!!this.plugins[e]},t.prototype.extend=function(e,t){this[e]=t(this[e])},t.prototype.loadAllPlugins=function(){var e=this,t=Object.keys(X).filter(function(e){return"flow"!==e});t.push("flow"),t.forEach(function(t){var r=X[t];r&&r(e)})},t.prototype.loadPlugins=function(e){if(e.indexOf("*")>=0)return this.loadAllPlugins(),{"*":!0};var t={};e.indexOf("flow")>=0&&(e=e.filter(function(e){return"flow"!==e}),e.push("flow"));for(var r=e,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;if(!t[a]){t[a]=!0;var o=X[a];o&&o(this)}}return t},t.prototype.parse=function(){var e=this.startNode(),t=this.startNode();return this.nextToken(),this.parseTopLevel(e,t)},t}(J),Q=$.prototype;Q.addExtra=function(e,t,r){if(e){var n=e.extra=e.extra||{};n[t]=r}},Q.isRelational=function(e){return this.match(N.relational)&&this.state.value===e},Q.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,N.relational)},Q.isContextual=function(e){return this.match(N.name)&&this.state.value===e},Q.eatContextual=function(e){return this.state.value===e&&this.eat(N.name)},Q.expectContextual=function(e,t){this.eatContextual(e)||this.unexpected(null,t)},Q.canInsertSemicolon=function(){return this.match(N.eof)||this.match(N.braceR)||j.test(this.input.slice(this.state.lastTokEnd,this.state.start))},Q.isLineTerminator=function(){return this.eat(N.semi)||this.canInsertSemicolon()},Q.semicolon=function(){this.isLineTerminator()||this.unexpected(null,N.semi)},Q.expect=function(e,t){return this.eat(e)||this.unexpected(t,e)},Q.unexpected=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unexpected token";t&&"object"===("undefined"==typeof t?"undefined":_(t))&&t.label&&(t="Unexpected token, expected "+t.label),this.raise(null!=e?e:this.state.start,t)};var Z=$.prototype;Z.parseTopLevel=function(e,t){return t.sourceType=this.options.sourceType,this.parseBlockBody(t,!0,!0,N.eof),e.program=this.finishNode(t,"Program"),e.comments=this.state.comments,e.tokens=this.state.tokens,this.finishNode(e,"File")};var ee={kind:"loop"},te={kind:"switch"};Z.stmtToDirective=function(e){var t=e.expression,r=this.startNodeAt(t.start,t.loc.start),n=this.startNodeAt(e.start,e.loc.start),i=this.input.slice(t.start,t.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end),this.finishNodeAt(n,"Directive",e.end,e.loc.end)},Z.parseStatement=function(e,t){this.match(N.at)&&this.parseDecorators(!0);var r=this.state.type,n=this.startNode();switch(r){case N._break:case N._continue:return this.parseBreakContinueStatement(n,r.keyword);case N._debugger:return this.parseDebuggerStatement(n);case N._do:return this.parseDoStatement(n);case N._for:return this.parseForStatement(n);case N._function:return e||this.unexpected(),this.parseFunctionStatement(n);case N._class:return e||this.unexpected(),this.takeDecorators(n),this.parseClass(n,!0);case N._if:return this.parseIfStatement(n);case N._return:return this.parseReturnStatement(n);case N._switch:return this.parseSwitchStatement(n);case N._throw:return this.parseThrowStatement(n);case N._try:return this.parseTryStatement(n);case N._let:case N._const:e||this.unexpected();case N._var:return this.parseVarStatement(n,r);case N._while:return this.parseWhileStatement(n);case N._with:return this.parseWithStatement(n);case N.braceL:return this.parseBlock();case N.semi:return this.parseEmptyStatement(n);case N._export:case N._import:if(this.hasPlugin("dynamicImport")&&this.lookahead().type===N.parenL)break;return this.options.allowImportExportEverywhere||(t||this.raise(this.state.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.state.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===N._import?this.parseImport(n):this.parseExport(n);case N.name:if("async"===this.state.value){var i=this.state.clone();if(this.next(),this.match(N._function)&&!this.canInsertSemicolon())return this.expect(N._function),this.parseFunction(n,!0,!1,!0);this.state=i}}var s=this.state.value,a=this.parseExpression();return r===N.name&&"Identifier"===a.type&&this.eat(N.colon)?this.parseLabeledStatement(n,s,a):this.parseExpressionStatement(n,a)},Z.takeDecorators=function(e){this.state.decorators.length&&(e.decorators=this.state.decorators,this.state.decorators=[])},Z.parseDecorators=function(e){for(;this.match(N.at);){var t=this.parseDecorator();this.state.decorators.push(t)}e&&this.match(N._export)||this.match(N._class)||this.raise(this.state.start,"Leading decorators must be attached to a class declaration")},Z.parseDecorator=function(){this.hasPlugin("decorators")||this.unexpected();var e=this.startNode();return this.next(),e.expression=this.parseMaybeAssign(),this.finishNode(e,"Decorator")},Z.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.isLineTerminator()?e.label=null:this.match(N.name)?(e.label=this.parseIdentifier(),this.semicolon()):this.unexpected();var n=void 0;for(n=0;n=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;o.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.state.type.isLoop?"loop":this.match(N._switch)?"switch":null,l=this.state.labels.length-1;l>=0;l--){var c=this.state.labels[l];if(c.statementStart!==e.start)break;c.statementStart=this.state.start,c.kind=u}return this.state.labels.push({name:t,kind:u,statementStart:this.state.start}),e.body=this.parseStatement(!0),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},Z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Z.parseBlock=function(e){var t=this.startNode();return this.expect(N.braceL),this.parseBlockBody(t,e,!1,N.braceR),this.finishNode(t,"BlockStatement")},Z.parseBlockBody=function(e,t,r,n){e.body=[],e.directives=[];for(var i=!1,s=void 0,a=void 0;!this.eat(n);){i||!this.state.containsOctal||a||(a=this.state.octalPosition);var o=this.parseStatement(!0,r);if(!t||i||"ExpressionStatement"!==o.type||"StringLiteral"!==o.expression.type||o.expression.extra.parenthesized)i=!0,e.body.push(o);else{var u=this.stmtToDirective(o);e.directives.push(u),void 0===s&&"use strict"===u.value.value&&(s=this.state.strict,this.setStrict(!0),a&&this.raise(a,"Octal literal in strict mode"))}}s===!1&&this.setStrict(!1)},Z.parseFor=function(e,t){return e.init=t,this.expect(N.semi),e.test=this.match(N.semi)?null:this.parseExpression(),this.expect(N.semi),e.update=this.match(N.parenR)?null:this.parseExpression(),this.expect(N.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,"ForStatement")},Z.parseForIn=function(e,t,r){var n=void 0;return r?(this.eatContextual("of"),n="ForAwaitStatement"):(n=this.match(N._in)?"ForInStatement":"ForOfStatement",this.next()),e.left=t,e.right=this.parseExpression(),this.expect(N.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,n)},Z.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r.keyword;;){var n=this.startNode();if(this.parseVarHead(n),this.eat(N.eq)?n.init=this.parseMaybeAssign(t):r!==N._const||this.match(N._in)||this.isContextual("of")?"Identifier"===n.id.type||t&&(this.match(N._in)||this.isContextual("of"))?n.init=null:this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(N.comma))break}return e},Z.parseVarHead=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0,void 0,"variable declaration")},Z.parseFunction=function(e,t,r,n,i){var s=this.state.inMethod;return this.state.inMethod=!1,this.initFunction(e,n),this.match(N.star)&&(e.async&&!this.hasPlugin("asyncGenerators")?this.unexpected():(e.generator=!0,this.next())),!t||i||this.match(N.name)||this.match(N._yield)||this.unexpected(),(this.match(N.name)||this.match(N._yield))&&(e.id=this.parseBindingIdentifier()),this.parseFunctionParams(e),this.parseFunctionBody(e,r),this.state.inMethod=s,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},Z.parseFunctionParams=function(e){this.expect(N.parenL),e.params=this.parseBindingList(N.parenR)},Z.parseClass=function(e,t,r){return this.next(),this.parseClassId(e,t,r),this.parseClassSuper(e),this.parseClassBody(e),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Z.isClassProperty=function(){return this.match(N.eq)||this.isLineTerminator()},Z.isClassMutatorStarter=function(){return!1},Z.parseClassBody=function(e){var t=this.state.strict;this.state.strict=!0;var r=!1,n=!1,i=[],s=this.startNode();for(s.body=[],this.expect(N.braceL);!this.eat(N.braceR);)if(!this.eat(N.semi))if(this.match(N.at))i.push(this.parseDecorator());else{var a=this.startNode();i.length&&(a.decorators=i,i=[]);var o=!1,u=this.match(N.name)&&"static"===this.state.value,l=this.eat(N.star),c=!1,f=!1;if(this.parsePropertyName(a),a.static=u&&!this.match(N.parenL),a.static&&(l=this.eat(N.star),this.parsePropertyName(a)),!l){if(this.isClassProperty()){s.body.push(this.parseClassProperty(a));continue}"Identifier"===a.key.type&&!a.computed&&this.hasPlugin("classConstructorCall")&&"call"===a.key.name&&this.match(N.name)&&"constructor"===this.state.value&&(o=!0,this.parsePropertyName(a))}var p=!this.match(N.parenL)&&!a.computed&&"Identifier"===a.key.type&&"async"===a.key.name;if(p&&(this.hasPlugin("asyncGenerators")&&this.eat(N.star)&&(l=!0),f=!0,this.parsePropertyName(a)),a.kind="method",!a.computed){var d=a.key;f||l||this.isClassMutatorStarter()||"Identifier"!==d.type||this.match(N.parenL)||"get"!==d.name&&"set"!==d.name||(c=!0,a.kind=d.name,d=this.parsePropertyName(a));var h=!o&&!a.static&&("Identifier"===d.type&&"constructor"===d.name||"StringLiteral"===d.type&&"constructor"===d.value);h&&(n&&this.raise(d.start,"Duplicate constructor in the same class"),c&&this.raise(d.start,"Constructor can't have get/set modifier"),l&&this.raise(d.start,"Constructor can't be a generator"),f&&this.raise(d.start,"Constructor can't be an async function"),a.kind="constructor",n=!0);var m=a.static&&("Identifier"===d.type&&"prototype"===d.name||"StringLiteral"===d.type&&"prototype"===d.value);m&&this.raise(d.start,"Classes may not have static property named prototype")}if(o&&(r&&this.raise(a.start,"Duplicate constructor call in the same class"),a.kind="constructorCall",r=!0),"constructor"!==a.kind&&"constructorCall"!==a.kind||!a.decorators||this.raise(a.start,"You can't attach decorators to a class constructor"),this.parseClassMethod(s,a,l,f),c){var v="get"===a.kind?0:1;if(a.params.length!==v){var y=a.start;"get"===a.kind?this.raise(y,"getter should have no params"):this.raise(y,"setter should have exactly one param")}}}i.length&&this.raise(this.state.start,"You have trailing decorators with no method"),e.body=this.finishNode(s,"ClassBody"),this.state.strict=t},Z.parseClassProperty=function(e){return this.match(N.eq)?(this.hasPlugin("classProperties")||this.unexpected(),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.finishNode(e,"ClassProperty")},Z.parseClassMethod=function(e,t,r,n){this.parseMethod(t,r,n),e.body.push(this.finishNode(t,"ClassMethod"))},Z.parseClassId=function(e,t,r){this.match(N.name)?e.id=this.parseIdentifier():r||!t?e.id=null:this.unexpected()},Z.parseClassSuper=function(e){e.superClass=this.eat(N._extends)?this.parseExprSubscripts():null},Z.parseExport=function(e){if(this.next(),this.match(N.star)){var t=this.startNode();if(this.next(),!this.hasPlugin("exportExtensions")||!this.eatContextual("as"))return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");t.exported=this.parseIdentifier(),e.specifiers=[this.finishNode(t,"ExportNamespaceSpecifier")],this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0)}else if(this.hasPlugin("exportExtensions")&&this.isExportDefaultSpecifier()){var r=this.startNode();if(r.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],this.match(N.comma)&&this.lookahead().type===N.star){this.expect(N.comma);var n=this.startNode();this.expect(N.star),this.expectContextual("as"),n.exported=this.parseIdentifier(),e.specifiers.push(this.finishNode(n,"ExportNamespaceSpecifier"))}else this.parseExportSpecifiersMaybe(e);this.parseExportFrom(e,!0)}else{if(this.eat(N._default)){var i=this.startNode(),s=!1;return this.eat(N._function)?i=this.parseFunction(i,!0,!1,!1,!0):this.match(N._class)?i=this.parseClass(i,!0,!0):(s=!0,i=this.parseMaybeAssign()),e.declaration=i,s&&this.semicolon(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration")}this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e)):(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e))}return this.checkExport(e,!0),this.finishNode(e,"ExportNamedDeclaration")},Z.parseExportDeclaration=function(){return this.parseStatement(!0)},Z.isExportDefaultSpecifier=function(){if(this.match(N.name))return"type"!==this.state.value&&"async"!==this.state.value&&"interface"!==this.state.value;if(!this.match(N._default))return!1;var e=this.lookahead();return e.type===N.comma||e.type===N.name&&"from"===e.value},Z.parseExportSpecifiersMaybe=function(e){this.eat(N.comma)&&(e.specifiers=e.specifiers.concat(this.parseExportSpecifiers()))},Z.parseExportFrom=function(e,t){this.eatContextual("from")?(e.source=this.match(N.string)?this.parseExprAtom():this.unexpected(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()},Z.shouldParseExportDeclaration=function(){return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"let"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isContextual("async")},Z.checkExport=function(e,t,r){if(t)if(r)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(var n=e.specifiers,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;this.checkDuplicateExports(o,o.exported.name)}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)this.checkDuplicateExports(e,e.declaration.id.name);else if("VariableDeclaration"===e.declaration.type)for(var u=e.declaration.declarations,l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;this.checkDeclaration(p.id)}if(this.state.decorators.length){var d=e.declaration&&("ClassDeclaration"===e.declaration.type||"ClassExpression"===e.declaration.type);e.declaration&&d||this.raise(e.start,"You can only use decorators on an export when exporting a class"),this.takeDecorators(e.declaration)}},Z.checkDeclaration=function(e){if("ObjectPattern"===e.type)for(var t=e.properties,r=Array.isArray(t),n=0,t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;this.checkDeclaration(s)}else if("ArrayPattern"===e.type)for(var a=e.elements,o=Array.isArray(a),u=0,a=o?a:a[Symbol.iterator]();;){var l;if(o){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;c&&this.checkDeclaration(c)}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type||"RestProperty"===e.type?this.checkDeclaration(e.argument):"Identifier"===e.type&&this.checkDuplicateExports(e,e.name)},Z.checkDuplicateExports=function(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raiseDuplicateExportError(e,t),this.state.exportedIdentifiers.push(t)},Z.raiseDuplicateExportError=function(e,t){this.raise(e.start,"default"===t?"Only one default export allowed per module.":"`"+t+"` has already been exported. Exported identifiers must be unique.")},Z.parseExportSpecifiers=function(){var e=[],t=!0,r=void 0;for(this.expect(N.braceL);!this.eat(N.braceR);){if(t)t=!1;else if(this.expect(N.comma),this.eat(N.braceR))break;var n=this.match(N._default);n&&!r&&(r=!0);var i=this.startNode();i.local=this.parseIdentifier(n),i.exported=this.eatContextual("as")?this.parseIdentifier(!0):i.local.__clone(),e.push(this.finishNode(i,"ExportSpecifier"))}return r&&!this.isContextual("from")&&this.unexpected(),e},Z.parseImport=function(e){return this.next(),this.match(N.string)?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=[],this.parseImportSpecifiers(e),this.expectContextual("from"),e.source=this.match(N.string)?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Z.parseImportSpecifiers=function(e){var t=!0;if(this.match(N.name)){var r=this.state.start,n=this.state.startLoc;if(e.specifiers.push(this.parseImportSpecifierDefault(this.parseIdentifier(),r,n)),!this.eat(N.comma))return}if(this.match(N.star)){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdentifier(),this.checkLVal(i.local,!0,void 0,"import namespace specifier"),void e.specifiers.push(this.finishNode(i,"ImportNamespaceSpecifier"))}for(this.expect(N.braceL);!this.eat(N.braceR);){if(t)t=!1;else if(this.expect(N.comma),this.eat(N.braceR))break;this.parseImportSpecifier(e)}},Z.parseImportSpecifier=function(e){var t=this.startNode();t.imported=this.parseIdentifier(!0),t.local=this.eatContextual("as")?this.parseIdentifier():t.imported.__clone(),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},Z.parseImportSpecifierDefault=function(e,t,r){var n=this.startNodeAt(t,r);return n.local=e,this.checkLVal(n.local,!0,void 0,"default import specifier"),this.finishNode(n,"ImportDefaultSpecifier")};var ne=$.prototype;ne.toAssignable=function(e,t,r){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var n=e.properties,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;"ObjectMethod"===o.type?"get"===o.kind||"set"===o.kind?this.raise(o.key.start,"Object pattern can't contain getter or setter"):this.raise(o.key.start,"Object pattern can't contain methods"):this.toAssignable(o,t,"object destructuring pattern")}break;case"ObjectProperty":this.toAssignable(e.value,t,r);break;case"SpreadProperty":e.type="RestProperty";break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,r);break;case"AssignmentExpression":"="===e.operator?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"MemberExpression":if(!t)break;default:var u="Invalid left-hand side"+(r?" in "+r:"expression");this.raise(e.start,u)}return e},ne.toAssignableList=function(e,t,r){var n=e.length;if(n){var i=e[n-1];if(i&&"RestElement"===i.type)--n;else if(i&&"SpreadElement"===i.type){i.type="RestElement";var s=i.argument;this.toAssignable(s,t,r),"Identifier"!==s.type&&"MemberExpression"!==s.type&&"ArrayPattern"!==s.type&&this.unexpected(s.start),--n}}for(var a=0;a=s.length)break;u=s[o++]}else{if(o=s.next(),o.done)break;u=o.value}var l=u;"ObjectProperty"===l.type&&(l=l.value),this.checkLVal(l,t,r,"object destructuring pattern")}break;case"ArrayPattern":for(var c=e.elements,f=Array.isArray(c),p=0,c=f?c:c[Symbol.iterator]();;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;h&&this.checkLVal(h,t,r,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,r,"assignment pattern");break;case"RestProperty":this.checkLVal(e.argument,t,r,"rest property");break;case"RestElement":this.checkLVal(e.argument,t,r,"rest element");break;default:var m=(t?"Binding invalid":"Invalid")+" left-hand side"+(n?" in "+n:"expression");this.raise(e.start,m)}};var ie=$.prototype;ie.checkPropClash=function(e,t){if(!e.computed){var r=e.key,n=void 0;switch(r.type){case"Identifier":n=r.name;break;case"StringLiteral":case"NumericLiteral":n=String(r.value);break;default:return}"__proto__"!==n||e.kind||(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}},ie.parseExpression=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.parseMaybeAssign(e,t);if(this.match(N.comma)){var s=this.startNodeAt(r,n);for(s.expressions=[i];this.eat(N.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(s.expressions),this.finishNode(s,"SequenceExpression")}return i},ie.parseMaybeAssign=function(e,t,r,n){var i=this.state.start,s=this.state.startLoc;if(this.match(N._yield)&&this.state.inGenerator){var a=this.parseYield();return r&&(a=r.call(this,a,i,s)),a}var o=void 0;t?o=!1:(t={start:0},o=!0),(this.match(N.parenL)||this.match(N.name))&&(this.state.potentialArrowAt=this.state.start);var u=this.parseMaybeConditional(e,t,n);if(r&&(u=r.call(this,u,i,s)),this.state.type.isAssign){var l=this.startNodeAt(i,s);if(l.operator=this.state.value,l.left=this.match(N.eq)?this.toAssignable(u,void 0,"assignment expression"):u,t.start=0,this.checkLVal(u,void 0,void 0,"assignment expression"),u.extra&&u.extra.parenthesized){var c=void 0;"ObjectPattern"===u.type?c="`({a}) = 0` use `({a} = 0)`":"ArrayPattern"===u.type&&(c="`([a]) = 0` use `([a] = 0)`"),c&&this.raise(u.start,"You're trying to assign to a parenthesized expression, eg. instead of "+c)}return this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return o&&t.start&&this.unexpected(t.start),u},ie.parseMaybeConditional=function(e,t,r){var n=this.state.start,i=this.state.startLoc,s=this.parseExprOps(e,t);return t&&t.start?s:this.parseConditional(s,e,n,i,r)},ie.parseConditional=function(e,t,r,n){if(this.eat(N.question)){var i=this.startNodeAt(r,n);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(N.colon),i.alternate=this.parseMaybeAssign(t),this.finishNode(i,"ConditionalExpression")}return e},ie.parseExprOps=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.parseMaybeUnary(t);return t&&t.start?i:this.parseExprOp(i,r,n,-1,e)},ie.parseExprOp=function(e,t,r,n,i){var s=this.state.type.binop;if(!(null==s||i&&this.match(N._in))&&s>n){var a=this.startNodeAt(t,r);a.left=e,a.operator=this.state.value,"**"!==a.operator||"UnaryExpression"!==e.type||!e.extra||e.extra.parenthesizedArgument||e.extra.parenthesized||this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.");var o=this.state.type;this.next();var u=this.state.start,l=this.state.startLoc;return a.right=this.parseExprOp(this.parseMaybeUnary(),u,l,o.rightAssociative?s-1:s,i),this.finishNode(a,o===N.logicalOR||o===N.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(a,t,r,n,i)}return e},ie.parseMaybeUnary=function(e){if(this.state.type.prefix){var t=this.startNode(),r=this.match(N.incDec);t.operator=this.state.value,t.prefix=!0,this.next();var n=this.state.type;return t.argument=this.parseMaybeUnary(),this.addExtra(t,"parenthesizedArgument",!(n!==N.parenL||t.argument.extra&&t.argument.extra.parenthesized)),e&&e.start&&this.unexpected(e.start),r?this.checkLVal(t.argument,void 0,void 0,"prefix operation"):this.state.strict&&"delete"===t.operator&&"Identifier"===t.argument.type&&this.raise(t.start,"Deleting local variable in strict mode"),this.finishNode(t,r?"UpdateExpression":"UnaryExpression")}var i=this.state.start,s=this.state.startLoc,a=this.parseExprSubscripts(e);if(e&&e.start)return a; -for(;this.state.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(i,s);o.operator=this.state.value,o.prefix=!1,o.argument=a,this.checkLVal(a,void 0,void 0,"postfix operation"),this.next(),a=this.finishNode(o,"UpdateExpression")}return a},ie.parseExprSubscripts=function(e){var t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return"ArrowFunctionExpression"===i.type&&i.start===n?i:e&&e.start?i:this.parseSubscripts(i,t,r)},ie.parseSubscripts=function(e,t,r,n){for(;;){if(!n&&this.eat(N.doubleColon)){var i=this.startNodeAt(t,r);return i.object=e,i.callee=this.parseNoCallExpr(),this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}if(this.eat(N.dot)){var s=this.startNodeAt(t,r);s.object=e,s.property=this.parseIdentifier(!0),s.computed=!1,e=this.finishNode(s,"MemberExpression")}else if(this.eat(N.bracketL)){var a=this.startNodeAt(t,r);a.object=e,a.property=this.parseExpression(),a.computed=!0,this.expect(N.bracketR),e=this.finishNode(a,"MemberExpression")}else if(!n&&this.match(N.parenL)){var o=this.state.potentialArrowAt===e.start&&"Identifier"===e.type&&"async"===e.name&&!this.canInsertSemicolon();this.next();var u=this.startNodeAt(t,r);if(u.callee=e,u.arguments=this.parseCallExpressionArguments(N.parenR,o),"Import"===u.callee.type&&1!==u.arguments.length&&this.raise(u.start,"import() requires exactly one argument"),e=this.finishNode(u,"CallExpression"),o&&this.shouldParseAsyncArrow())return this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),u);this.toReferencedList(u.arguments)}else{if(!this.match(N.backQuote))return e;var l=this.startNodeAt(t,r);l.tag=e,l.quasi=this.parseTemplate(),e=this.finishNode(l,"TaggedTemplateExpression")}}},ie.parseCallExpressionArguments=function(e,t){for(var r=[],n=void 0,i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(N.comma),this.eat(e))break;this.match(N.parenL)&&!n&&(n=this.state.start),r.push(this.parseExprListItem(void 0,t?{start:0}:void 0))}return t&&n&&this.shouldParseAsyncArrow()&&this.unexpected(),r},ie.shouldParseAsyncArrow=function(){return this.match(N.arrow)},ie.parseAsyncArrowFromCallExpression=function(e,t){return this.expect(N.arrow),this.parseArrowExpression(e,t.arguments,!0)},ie.parseNoCallExpr=function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)},ie.parseExprAtom=function(e){var t=this.state.potentialArrowAt===this.state.start,r=void 0;switch(this.state.type){case N._super:return this.state.inMethod||this.options.allowSuperOutsideMethod||this.raise(this.state.start,"'super' outside of function or class"),r=this.startNode(),this.next(),this.match(N.parenL)||this.match(N.bracketL)||this.match(N.dot)||this.unexpected(),this.match(N.parenL)&&"constructor"!==this.state.inMethod&&!this.options.allowSuperOutsideMethod&&this.raise(r.start,"super() outside of class constructor"),this.finishNode(r,"Super");case N._import:return this.hasPlugin("dynamicImport")||this.unexpected(),r=this.startNode(),this.next(),this.match(N.parenL)||this.unexpected(null,N.parenL),this.finishNode(r,"Import");case N._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case N._yield:this.state.inGenerator&&this.unexpected();case N.name:r=this.startNode();var n="await"===this.state.value&&this.state.inAsync,i=this.shouldAllowYieldIdentifier(),s=this.parseIdentifier(n||i);if("await"===s.name){if(this.state.inAsync||this.inModule)return this.parseAwait(r)}else{if("async"===s.name&&this.match(N._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(r,!1,!1,!0);if(t&&"async"===s.name&&this.match(N.name)){var a=[this.parseIdentifier()];return this.expect(N.arrow),this.parseArrowExpression(r,a,!0)}}return t&&!this.canInsertSemicolon()&&this.eat(N.arrow)?this.parseArrowExpression(r,[s]):s;case N._do:if(this.hasPlugin("doExpressions")){var o=this.startNode();this.next();var u=this.state.inFunction,l=this.state.labels;return this.state.labels=[],this.state.inFunction=!1,o.body=this.parseBlock(!1,!0),this.state.inFunction=u,this.state.labels=l,this.finishNode(o,"DoExpression")}case N.regexp:var c=this.state.value;return r=this.parseLiteral(c.value,"RegExpLiteral"),r.pattern=c.pattern,r.flags=c.flags,r;case N.num:return this.parseLiteral(this.state.value,"NumericLiteral");case N.string:return this.parseLiteral(this.state.value,"StringLiteral");case N._null:return r=this.startNode(),this.next(),this.finishNode(r,"NullLiteral");case N._true:case N._false:return r=this.startNode(),r.value=this.match(N._true),this.next(),this.finishNode(r,"BooleanLiteral");case N.parenL:return this.parseParenAndDistinguishExpression(null,null,t);case N.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(N.bracketR,!0,e),this.toReferencedList(r.elements),this.finishNode(r,"ArrayExpression");case N.braceL:return this.parseObj(!1,e);case N._function:return this.parseFunctionExpression();case N.at:this.parseDecorators();case N._class:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case N._new:return this.parseNew();case N.backQuote:return this.parseTemplate();case N.doubleColon:r=this.startNode(),this.next(),r.object=null;var f=r.callee=this.parseNoCallExpr();if("MemberExpression"===f.type)return this.finishNode(r,"BindExpression");this.raise(f.start,"Binding should be performed on object property.");default:this.unexpected()}},ie.parseFunctionExpression=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.state.inGenerator&&this.eat(N.dot)&&this.hasPlugin("functionSent")?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e,!1)},ie.parseMetaProperty=function(e,t,r){return e.meta=t,e.property=this.parseIdentifier(!0),e.property.name!==r&&this.raise(e.property.start,"The only valid meta property for new is "+t.name+"."+r),this.finishNode(e,"MetaProperty")},ie.parseLiteral=function(e,t){var r=this.startNode();return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(this.state.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)},ie.parseParenExpression=function(){this.expect(N.parenL);var e=this.parseExpression();return this.expect(N.parenR),e},ie.parseParenAndDistinguishExpression=function(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;var n=void 0;this.expect(N.parenL);for(var i=this.state.start,s=this.state.startLoc,a=[],o={start:0},u={start:0},l=!0,c=void 0,f=void 0;!this.match(N.parenR);){if(l)l=!1;else if(this.expect(N.comma,u.start||null),this.match(N.parenR)){f=this.state.start;break}if(this.match(N.ellipsis)){var p=this.state.start,d=this.state.startLoc;c=this.state.start,a.push(this.parseParenItem(this.parseRest(),d,p));break}a.push(this.parseMaybeAssign(!1,o,this.parseParenItem,u))}var h=this.state.start,m=this.state.startLoc;this.expect(N.parenR);var v=this.startNodeAt(e,t);if(r&&this.shouldParseArrow()&&(v=this.parseArrow(v))){for(var y=a,g=Array.isArray(y),b=0,y=g?y:y[Symbol.iterator]();;){var E;if(g){if(b>=y.length)break;E=y[b++]}else{if(b=y.next(),b.done)break;E=b.value}var x=E;x.extra&&x.extra.parenthesized&&this.unexpected(x.extra.parenStart)}return this.parseArrowExpression(v,a)}return a.length||this.unexpected(this.state.lastTokStart),f&&this.unexpected(f),c&&this.unexpected(c),o.start&&this.unexpected(o.start),u.start&&this.unexpected(u.start),a.length>1?(n=this.startNodeAt(i,s),n.expressions=a,this.toReferencedList(n.expressions),this.finishNodeAt(n,"SequenceExpression",h,m)):n=a[0],this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",e),n},ie.shouldParseArrow=function(){return!this.canInsertSemicolon()},ie.parseArrow=function(e){if(this.eat(N.arrow))return e},ie.parseParenItem=function(e){return e},ie.parseNew=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.eat(N.dot)?this.parseMetaProperty(e,t,"target"):(e.callee=this.parseNoCallExpr(),this.eat(N.parenL)?(e.arguments=this.parseExprList(N.parenR),this.toReferencedList(e.arguments)):e.arguments=[],this.finishNode(e,"NewExpression"))},ie.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),e.tail=this.match(N.backQuote),this.finishNode(e,"TemplateElement")},ie.parseTemplate=function(){var e=this.startNode();this.next(),e.expressions=[];var t=this.parseTemplateElement();for(e.quasis=[t];!t.tail;)this.expect(N.dollarBraceL),e.expressions.push(this.parseExpression()),this.expect(N.braceR),e.quasis.push(t=this.parseTemplateElement());return this.next(),this.finishNode(e,"TemplateLiteral")},ie.parseObj=function(e,t){var r=[],n=Object.create(null),i=!0,s=this.startNode();s.properties=[],this.next();for(var a=null;!this.eat(N.braceR);){if(i)i=!1;else if(this.expect(N.comma),this.eat(N.braceR))break;for(;this.match(N.at);)r.push(this.parseDecorator());var o=this.startNode(),u=!1,l=!1,c=void 0,f=void 0;if(r.length&&(o.decorators=r,r=[]),this.hasPlugin("objectRestSpread")&&this.match(N.ellipsis)){if(o=this.parseSpread(),o.type=e?"RestProperty":"SpreadProperty",s.properties.push(o),!e)continue;var p=this.state.start;if(null===a){if(this.eat(N.braceR))break;if(this.match(N.comma)&&this.lookahead().type===N.braceR)continue;a=p;continue}this.unexpected(a,"Cannot have multiple rest elements when destructuring")}if(o.method=!1,o.shorthand=!1,(e||t)&&(c=this.state.start,f=this.state.startLoc),e||(u=this.eat(N.star)),!e&&this.isContextual("async")){u&&this.unexpected();var d=this.parseIdentifier();this.match(N.colon)||this.match(N.parenL)||this.match(N.braceR)||this.match(N.eq)||this.match(N.comma)?o.key=d:(l=!0,this.hasPlugin("asyncGenerators")&&(u=this.eat(N.star)),this.parsePropertyName(o))}else this.parsePropertyName(o);this.parseObjPropValue(o,c,f,u,l,e,t),this.checkPropClash(o,n),o.shorthand&&this.addExtra(o,"shorthand",!0),s.properties.push(o)}return null!==a&&this.unexpected(a,"The rest element has to be the last element when destructuring"),r.length&&this.raise(this.state.start,"You have trailing decorators with no property"),this.finishNode(s,e?"ObjectPattern":"ObjectExpression")},ie.parseObjPropValue=function(e,t,r,n,i,s,a){if(i||n||this.match(N.parenL))return s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,n,i),this.finishNode(e,"ObjectMethod");if(this.eat(N.colon))return e.value=s?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,a),this.finishNode(e,"ObjectProperty");if(!(s||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.match(N.comma)||this.match(N.braceR))){(n||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e,!1);var o="get"===e.kind?0:1;if(e.params.length!==o){var u=e.start;"get"===e.kind?this.raise(u,"getter should have no params"):this.raise(u,"setter should have exactly one param")}return this.finishNode(e,"ObjectMethod")}return e.computed||"Identifier"!==e.key.type?void this.unexpected():(s?(this.checkReservedWord(e.key.name,e.key.start,!0,!0),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):this.match(N.eq)&&a?(a.start||(a.start=this.state.start),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))},ie.parsePropertyName=function(e){if(this.eat(N.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(N.bracketR);else{e.computed=!1;var t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(N.num)||this.match(N.string)?this.parseExprAtom():this.parseIdentifier(!0),this.state.inPropertyName=t}return e.key},ie.initFunction=function(e,t){e.id=null,e.generator=!1,e.expression=!1,e.async=!!t},ie.parseMethod=function(e,t,r){var n=this.state.inMethod;return this.state.inMethod=e.kind||!0,this.initFunction(e,r),this.expect(N.parenL),e.params=this.parseBindingList(N.parenR),e.generator=t,this.parseFunctionBody(e),this.state.inMethod=n,e},ie.parseArrowExpression=function(e,t,r){return this.initFunction(e,r),e.params=this.toAssignableList(t,!0,"arrow function parameters"),this.parseFunctionBody(e,!0),this.finishNode(e,"ArrowFunctionExpression")},ie.parseFunctionBody=function(e,t){var r=t&&!this.match(N.braceL),n=this.state.inAsync;if(this.state.inAsync=e.async,r)e.body=this.parseMaybeAssign(),e.expression=!0;else{var i=this.state.inFunction,s=this.state.inGenerator,a=this.state.labels;this.state.inFunction=!0,this.state.inGenerator=e.generator,this.state.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.state.inFunction=i,this.state.inGenerator=s,this.state.labels=a}this.state.inAsync=n;var o=this.state.strict,u=!1;if(t&&(o=!0),!r&&e.body.directives.length)for(var l=e.body.directives,c=Array.isArray(l),f=0,l=c?l:l[Symbol.iterator]();;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;if("use strict"===d.value.value){u=!0,o=!0;break}}if(u&&e.id&&"Identifier"===e.id.type&&"yield"===e.id.name&&this.raise(e.id.start,"Binding yield in strict mode"),o){var h=Object.create(null),m=this.state.strict;u&&(this.state.strict=!0),e.id&&this.checkLVal(e.id,!0,void 0,"function name");for(var v=e.params,y=Array.isArray(v),g=0,v=y?v:v[Symbol.iterator]();;){var b;if(y){if(g>=v.length)break;b=v[g++]}else{if(g=v.next(),g.done)break;b=g.value}var E=b;u&&"Identifier"!==E.type&&this.raise(E.start,"Non-simple parameter in strict mode"),this.checkLVal(E,!0,h,"function parameter list")}this.state.strict=m}},ie.parseExprList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(N.comma),this.eat(e))break;n.push(this.parseExprListItem(t,r))}return n},ie.parseExprListItem=function(e,t){var r=void 0;return r=e&&this.match(N.comma)?null:this.match(N.ellipsis)?this.parseSpread(t):this.parseMaybeAssign(!1,t,this.parseParenItem)},ie.parseIdentifier=function(e){var t=this.startNode();return this.match(N.name)?(e||this.checkReservedWord(this.state.value,this.state.start,!1,!1),t.name=this.state.value):e&&this.state.type.keyword?t.name=this.state.type.keyword:this.unexpected(),!e&&"await"===t.name&&this.state.inAsync&&this.raise(t.start,"invalid use of await inside of an async function"),t.loc.identifierName=t.name,this.next(),this.finishNode(t,"Identifier")},ie.checkReservedWord=function(e,t,r,n){(this.isReservedWord(e)||r&&this.isKeyword(e))&&this.raise(t,e+" is a reserved word"),this.state.strict&&(m.strict(e)||n&&m.strictBind(e))&&this.raise(t,e+" is a reserved word in strict mode")},ie.parseAwait=function(e){return this.state.inAsync||this.unexpected(),this.match(N.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},ie.parseYield=function(){var e=this.startNode();return this.next(),this.match(N.semi)||this.canInsertSemicolon()||!this.match(N.star)&&!this.state.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(N.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")};var se=$.prototype,ae=["leadingComments","trailingComments","innerComments"],oe=function(){function e(t,r,n){D(this,e),this.type="",this.start=t,this.end=0,this.loc=new q(r),n&&(this.loc.filename=n)}return e.prototype.__clone=function(){var t=new e;for(var r in this)ae.indexOf(r)<0&&(t[r]=this[r]);return t},e}();se.startNode=function(){return new oe(this.state.start,this.state.startLoc,this.filename)},se.startNodeAt=function(e,t){return new oe(e,t,this.filename)},se.finishNode=function(e,t){return c.call(this,e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)},se.finishNodeAt=function(e,t,r,n){return c.call(this,e,t,r,n)};var ue=$.prototype;ue.raise=function(e,t){var r=u(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n};var le=$.prototype;le.addComment=function(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)},le.processComment=function(e){if(!("Program"===e.type&&e.body.length>0)){var t=this.state.commentStack,r=void 0,n=void 0,i=void 0,s=void 0;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(n=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else{var a=f(t);t.length>0&&a.trailingComments&&a.trailingComments[0].start>=e.end&&(n=a.trailingComments,a.trailingComments=null)}for(;t.length>0&&f(t).start>=e.start;)r=t.pop();if(r){if(r.leadingComments)if(r!==e&&f(r.leadingComments).end<=e.start)e.leadingComments=r.leadingComments,r.leadingComments=null;else for(i=r.leadingComments.length-2;i>=0;--i)if(r.leadingComments[i].end<=e.start){e.leadingComments=r.leadingComments.splice(0,i+1);break}}else if(this.state.leadingComments.length>0)if(f(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(s=0;s0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(i=0;ie.start);i++);e.leadingComments=this.state.leadingComments.slice(0,i),0===e.leadingComments.length&&(e.leadingComments=null),n=this.state.leadingComments.slice(i),0===n.length&&(n=null)}this.state.commentPreviousNode=e,n&&(n.length&&n[0].start>=e.start&&f(n).end<=e.end?e.innerComments=n:e.trailingComments=n),t.push(e)}};var ce=$.prototype;ce.flowParseTypeInitialiser=function(e){var t=this.state.inType;this.state.inType=!0,this.expect(e||N.colon);var r=this.flowParseType();return this.state.inType=t,r},ce.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},ce.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.isRelational("<")?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(N.parenL);var i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,this.expect(N.parenR),r.returnType=this.flowParseTypeInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.finishNode(t,t.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},ce.flowParseDeclare=function(e){return this.match(N._class)?this.flowParseDeclareClass(e):this.match(N._function)?this.flowParseDeclareFunction(e):this.match(N._var)?this.flowParseDeclareVariable(e):this.isContextual("module")?this.lookahead().type===N.dot?this.flowParseDeclareModuleExports(e):this.flowParseDeclareModule(e):this.isContextual("type")?this.flowParseDeclareTypeAlias(e):this.isContextual("interface")?this.flowParseDeclareInterface(e):void this.unexpected()},ce.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(),this.semicolon(),this.finishNode(e,"DeclareVariable")},ce.flowParseDeclareModule=function(e){this.next(),this.match(N.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var t=e.body=this.startNode(),r=t.body=[];for(this.expect(N.braceL);!this.match(N.braceR);){var n=this.startNode();this.expectContextual("declare","Unexpected token. Only declares are allowed inside declare module"),r.push(this.flowParseDeclare(n))}return this.expect(N.braceR),this.finishNode(t,"BlockStatement"),this.finishNode(e,"DeclareModule")},ce.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(N.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},ce.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},ce.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},ce.flowParseInterfaceish=function(e,t){if(e.id=this.parseIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.mixins=[],this.eat(N._extends))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(N.comma));if(this.isContextual("mixins")){this.next();do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(N.comma))}e.body=this.flowParseObjectType(t)},ce.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},ce.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},ce.flowParseTypeAlias=function(e){return e.id=this.parseIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(N.eq),this.semicolon(),this.finishNode(e,"TypeAlias")},ce.flowParseTypeParameter=function(){var e=this.startNode(),t=this.flowParseVariance(),r=this.flowParseTypeAnnotatableIdentifier();return e.name=r.name,e.variance=t,e.bound=r.typeAnnotation,this.match(N.eq)&&(this.eat(N.eq),e.default=this.flowParseType()),this.finishNode(e,"TypeParameter")},ce.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.isRelational("<")||this.match(N.jsxTagStart)?this.next():this.unexpected();do t.params.push(this.flowParseTypeParameter()),this.isRelational(">")||this.expect(N.comma);while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},ce.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(N.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},ce.flowParseObjectPropertyKey=function(){return this.match(N.num)||this.match(N.string)?this.parseExprAtom():this.parseIdentifier(!0)},ce.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,this.expect(N.bracketL),this.lookahead().type===N.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(N.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeIndexer")},ce.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(N.parenL);this.match(N.name);)e.params.push(this.flowParseFunctionTypeParam()),this.match(N.parenR)||this.expect(N.comma);return this.eat(N.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(N.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},ce.flowParseObjectTypeMethod=function(e,t,r,n){var i=this.startNodeAt(e,t);return i.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e,t)),i.static=r,i.key=n,i.optional=!1,this.flowObjectTypeSemicolon(),this.finishNode(i,"ObjectTypeProperty")},ce.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeCallProperty")},ce.flowParseObjectType=function(e,t){var r=this.state.inType;this.state.inType=!0;var n=this.startNode(),i=void 0,s=void 0,a=!1;n.callProperties=[],n.properties=[],n.indexers=[];var o=void 0,u=void 0;for(t&&this.match(N.braceBarL)?(this.expect(N.braceBarL),o=N.braceBarR,u=!0):(this.expect(N.braceL),o=N.braceR,u=!1),n.exact=u;!this.match(o);){var l=!1,c=this.state.start,f=this.state.startLoc;i=this.startNode(),e&&this.isContextual("static")&&this.lookahead().type!==N.colon&&(this.next(),a=!0);var p=this.state.start,d=this.flowParseVariance();this.match(N.bracketL)?n.indexers.push(this.flowParseObjectTypeIndexer(i,a,d)):this.match(N.parenL)||this.isRelational("<")?(d&&this.unexpected(p),n.callProperties.push(this.flowParseObjectTypeCallProperty(i,e))):(s=this.flowParseObjectPropertyKey(),this.isRelational("<")||this.match(N.parenL)?(d&&this.unexpected(p),n.properties.push(this.flowParseObjectTypeMethod(c,f,a,s))):(this.eat(N.question)&&(l=!0),i.key=s,i.value=this.flowParseTypeInitialiser(),i.optional=l,i.static=a,i.variance=d,this.flowObjectTypeSemicolon(),n.properties.push(this.finishNode(i,"ObjectTypeProperty")))),a=!1}this.expect(o);var h=this.finishNode(n,"ObjectTypeAnnotation");return this.state.inType=r,h},ce.flowObjectTypeSemicolon=function(){this.eat(N.semi)||this.eat(N.comma)||this.match(N.braceR)||this.match(N.braceBarR)||this.unexpected()},ce.flowParseQualifiedTypeIdentifier=function(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;for(var n=r||this.parseIdentifier();this.eat(N.dot);){var i=this.startNodeAt(e,t);i.qualification=n,i.id=this.parseIdentifier(),n=this.finishNode(i,"QualifiedTypeIdentifier")}return n},ce.flowParseGenericType=function(e,t,r){var n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.isRelational("<")&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")},ce.flowParseTypeofType=function(){var e=this.startNode();return this.expect(N._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},ce.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(N.bracketL);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t={params:e,rest:null};this.match(N.name);)t.params.push(this.flowParseFunctionTypeParam()),this.match(N.parenR)||this.expect(N.comma);return this.eat(N.ellipsis)&&(t.rest=this.flowParseFunctionTypeParam()),t},ce.flowIdentToTypeAnnotation=function(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"void":return this.finishNode(r,"VoidTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");default:return this.flowParseGenericType(e,t,n)}},ce.flowParsePrimaryType=function(){var e=this.state.start,t=this.state.startLoc,r=this.startNode(),n=void 0,i=void 0,s=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case N.name:return this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier());case N.braceL:return this.flowParseObjectType(!1,!1);case N.braceBarL:return this.flowParseObjectType(!1,!0);case N.bracketL:return this.flowParseTupleType();case N.relational:if("<"===this.state.value)return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(N.parenL),n=this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,this.expect(N.parenR),this.expect(N.arrow),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");break;case N.parenL:if(this.next(),!this.match(N.parenR)&&!this.match(N.ellipsis))if(this.match(N.name)){var o=this.lookahead().type;s=o!==N.question&&o!==N.colon}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(N.comma)||this.match(N.parenR)&&this.lookahead().type===N.arrow))return this.expect(N.parenR),i;this.eat(N.comma)}return n=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,this.expect(N.parenR),this.expect(N.arrow),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case N.string:return r.value=this.state.value,this.addExtra(r,"rawValue",r.value),this.addExtra(r,"raw",this.input.slice(this.state.start,this.state.end)),this.next(),this.finishNode(r,"StringLiteralTypeAnnotation");case N._true:case N._false:return r.value=this.match(N._true),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case N.plusMin:if("-"===this.state.value)return this.next(),this.match(N.num)||this.unexpected(),r.value=-this.state.value,this.addExtra(r,"rawValue",r.value),this.addExtra(r,"raw",this.input.slice(this.state.start,this.state.end)),this.next(),this.finishNode(r,"NumericLiteralTypeAnnotation");case N.num:return r.value=this.state.value,this.addExtra(r,"rawValue",r.value),this.addExtra(r,"raw",this.input.slice(this.state.start,this.state.end)),this.next(),this.finishNode(r,"NumericLiteralTypeAnnotation");case N._null:return r.value=this.match(N._null),this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case N._this:return r.value=this.match(N._this),this.next(),this.finishNode(r,"ThisTypeAnnotation");case N.star:return this.next(),this.finishNode(r,"ExistentialTypeParam");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType()}this.unexpected()},ce.flowParsePostfixType=function(){for(var e=this.state.start,t=this.state.startLoc,r=this.flowParsePrimaryType();!this.canInsertSemicolon()&&this.match(N.bracketL);){var n=this.startNodeAt(e,t);n.elementType=r,this.expect(N.bracketL),this.expect(N.bracketR),r=this.finishNode(n,"ArrayTypeAnnotation")}return r},ce.flowParsePrefixType=function(){var e=this.startNode();return this.eat(N.question)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()},ce.flowParseAnonFunctionWithoutParens=function(){var e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(N.arrow)){var t=this.startNodeAt(e.start,e.loc);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e},ce.flowParseIntersectionType=function(){var e=this.startNode();this.eat(N.bitwiseAND);var t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(N.bitwiseAND);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")},ce.flowParseUnionType=function(){var e=this.startNode();this.eat(N.bitwiseOR);var t=this.flowParseIntersectionType();for(e.types=[t];this.eat(N.bitwiseOR);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")},ce.flowParseType=function(){var e=this.state.inType;this.state.inType=!0;var t=this.flowParseUnionType();return this.state.inType=e,t},ce.flowParseTypeAnnotation=function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation"); -},ce.flowParseTypeAnnotatableIdentifier=function(){var e=this.parseIdentifier();return this.match(N.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,e.type)),e},ce.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.finishNodeAt(e.expression,e.expression.type,e.typeAnnotation.end,e.typeAnnotation.loc.end)},ce.flowParseVariance=function(){var e=null;return this.match(N.plusMin)&&("+"===this.state.value?e="plus":"-"===this.state.value&&(e="minus"),this.next()),e};var fe=function(e){e.extend("parseFunctionBody",function(e){return function(t,r){return this.match(N.colon)&&!r&&(t.returnType=this.flowParseTypeAnnotation()),e.call(this,t,r)}}),e.extend("parseStatement",function(e){return function(t,r){if(this.state.strict&&this.match(N.name)&&"interface"===this.state.value){var n=this.startNode();return this.next(),this.flowParseInterface(n)}return e.call(this,t,r)}}),e.extend("parseExpressionStatement",function(e){return function(t,r){if("Identifier"===r.type)if("declare"===r.name){if(this.match(N._class)||this.match(N.name)||this.match(N._function)||this.match(N._var))return this.flowParseDeclare(t)}else if(this.match(N.name)){if("interface"===r.name)return this.flowParseInterface(t);if("type"===r.name)return this.flowParseTypeAlias(t)}return e.call(this,t,r)}}),e.extend("shouldParseExportDeclaration",function(e){return function(){return this.isContextual("type")||this.isContextual("interface")||e.call(this)}}),e.extend("parseConditional",function(e){return function(t,r,n,i,s){if(s&&this.match(N.question)){var a=this.state.clone();try{return e.call(this,t,r,n,i)}catch(e){if(e instanceof SyntaxError)return this.state=a,s.start=e.pos||this.state.start,t;throw e}}return e.call(this,t,r,n,i)}}),e.extend("parseParenItem",function(e){return function(t,r,n){if(t=e.call(this,t,r,n),this.eat(N.question)&&(t.optional=!0),this.match(N.colon)){var i=this.startNodeAt(r,n);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t}}),e.extend("parseExport",function(e){return function(t){return t=e.call(this,t),"ExportNamedDeclaration"===t.type&&(t.exportKind=t.exportKind||"value"),t}}),e.extend("parseExportDeclaration",function(e){return function(t){if(this.isContextual("type")){t.exportKind="type";var r=this.startNode();return this.next(),this.match(N.braceL)?(t.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(t),null):this.flowParseTypeAlias(r)}if(this.isContextual("interface")){t.exportKind="type";var n=this.startNode();return this.next(),this.flowParseInterface(n)}return e.call(this,t)}}),e.extend("parseClassId",function(e){return function(t){e.apply(this,arguments),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}}),e.extend("isKeyword",function(e){return function(t){return(!this.state.inType||"void"!==t)&&e.call(this,t)}}),e.extend("readToken",function(e){return function(t){return!this.state.inType||62!==t&&60!==t?e.call(this,t):this.finishOp(N.relational,1)}}),e.extend("jsx_readToken",function(e){return function(){if(!this.state.inType)return e.call(this)}}),e.extend("toAssignable",function(e){return function(t,r,n){return"TypeCastExpression"===t.type?e.call(this,this.typeCastToParameter(t),r,n):e.call(this,t,r,n)}}),e.extend("toAssignableList",function(e){return function(t,r,n){for(var i=0;i1114111||t(l)!=l)throw RangeError("Invalid code point: "+l);l<=65535?n.push(l):(l-=65536,i=(l>>10)+55296,s=l%1024+56320,n.push(i,s)),(a+1==o||n.length>r)&&(u+=e.apply(null,n),n.length=0)}return u}}();var de=pe,he={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},me=/^[\da-fA-F]+$/,ve=/^\d+$/;W.j_oTag=new G("...",!0,!0),N.jsxName=new R("jsxName"),N.jsxText=new R("jsxText",{beforeExpr:!0}),N.jsxTagStart=new R("jsxTagStart",{startsExpr:!0}),N.jsxTagEnd=new R("jsxTagEnd"),N.jsxTagStart.updateContext=function(){this.state.context.push(W.j_expr),this.state.context.push(W.j_oTag),this.state.exprAllowed=!1},N.jsxTagEnd.updateContext=function(e){var t=this.state.context.pop();t===W.j_oTag&&e===N.slash||t===W.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===W.j_expr):this.state.exprAllowed=!0};var ye=$.prototype;ye.jsxReadToken=function(){for(var e="",t=this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents");var r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.exprAllowed?(++this.state.pos,this.finishToken(N.jsxTagStart)):this.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(N.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:o(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}},ye.jsxReadNewLine=function(e){var t=this.input.charCodeAt(this.state.pos),r=void 0;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r},ye.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):o(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(N.string,t)},ye.jsxReadEntity=function(){for(var e="",t=0,r=void 0,n=this.input[this.state.pos],i=++this.state.pos;this.state.pos")}return r.openingElement=i,r.closingElement=s,r.children=n,this.match(N.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSXElement")},ye.jsxParseElement=function(){var e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)};var ge=function(e){e.extend("parseExprAtom",function(e){return function(t){if(this.match(N.jsxText)){var r=this.parseLiteral(this.state.value,"JSXText");return r.extra=null,r}return this.match(N.jsxTagStart)?this.jsxParseElement():e.call(this,t)}}),e.extend("readToken",function(e){return function(t){if(this.state.inPropertyName)return e.call(this,t);var r=this.curContext();if(r===W.j_expr)return this.jsxReadToken();if(r===W.j_oTag||r===W.j_cTag){if(i(t))return this.jsxReadWord();if(62===t)return++this.state.pos,this.finishToken(N.jsxTagEnd);if((34===t||39===t)&&r===W.j_oTag)return this.jsxReadString(t)}return 60===t&&this.state.exprAllowed?(++this.state.pos,this.finishToken(N.jsxTagStart)):e.call(this,t)}}),e.extend("updateContext",function(e){return function(t){if(this.match(N.braceL)){var r=this.curContext();r===W.j_oTag?this.state.context.push(W.braceExpression):r===W.j_expr?this.state.context.push(W.templateQuasi):e.call(this,t),this.state.exprAllowed=!0}else{if(!this.match(N.slash)||t!==N.jsxTagStart)return e.call(this,t);this.state.context.length-=2,this.state.context.push(W.j_cTag),this.state.exprAllowed=!1}}})};X.flow=fe,X.jsx=ge,t.parse=d,t.tokTypes=N},function(e,t){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n=r(54),i=r(140),s=r(95),a=r(149),o=r(416);e.exports=function(e,t){var r=1==e,u=2==e,l=3==e,c=4==e,f=6==e,p=5==e||f,d=t||o;return function(t,o,h){for(var m,v,y=s(t),g=i(y),b=n(o,h,3),E=a(g.length),x=0,A=r?d(t,E):u?d(t,0):void 0;E>x;x++)if((p||x in g)&&(m=g[x],v=b(m,x,y),e))if(r)A[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:A.push(m)}else if(c)return!1;return f?-1:l||c?c:A}}},function(e,t){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(14),i=r(21),s=r(56),a=r(36),o=r(28),u=r(144),l=r(90),c=r(135),f=r(22),p=r(94),d=r(23).f,h=r(136)(0),m=r(20);e.exports=function(e,t,r,v,y,g){var b=n[e],E=b,x=y?"set":"add",A=E&&E.prototype,S={};return m&&"function"==typeof E&&(g||A.forEach&&!a(function(){(new E).entries().next()}))?(E=t(function(t,r){c(t,E,e,"_c"),t._c=new b,void 0!=r&&l(r,y,t[x],t)}),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in A&&(!g||"clear"!=e)&&o(E.prototype,e,function(r,n){if(c(this,E,e),!t&&g&&!f(r))return"get"==e&&void 0;var i=this._c[e](0===r?0:r,n);return t?this:i})}),"size"in A&&d(E.prototype,"size",{get:function(){return this._c.size}})):(E=v.getConstructor(t,e,y,x),u(E.prototype,r),s.NEED=!0),p(E,e),S[e]=E,i(i.G+i.W+i.F,S),g||v.setStrong(E,e,y),E}},function(e,t){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(137);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(142),i=r(21),s=r(145),a=r(28),o=r(27),u=r(55),l=r(423),c=r(94),f=r(427),p=r(12)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",y=function(){return this};e.exports=function(e,t,r,g,b,E,x){l(r,t,g);var A,S,_,D=function(e){if(!d&&e in P)return P[e];switch(e){case m:return function(){return new r(this,e)};case v:return function(){return new r(this,e)}}return function(){return new r(this,e)}},C=t+" Iterator",w=b==v,F=!1,P=e.prototype,k=P[p]||P[h]||b&&P[b],T=k||D(b),O=b?w?D("entries"):T:void 0,B="Array"==t?P.entries||k:k;if(B&&(_=f(B.call(new e)),_!==Object.prototype&&(c(_,C,!0),n||o(_,p)||a(_,p,y))),w&&k&&k.name!==v&&(F=!0,T=function(){return k.call(this)}),n&&!x||!d&&!F&&P[p]||a(P,p,T),u[t]=T,u[C]=y,b)if(A={values:w?T:D(v),keys:E?T:D(m),entries:O},x)for(S in A)S in P||s(P,S,A[S]);else i(i.P+i.F*(d||F),t,A);return A}},function(e,t){"use strict";e.exports=!0},function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t,r){for(var i in t)r&&e[i]?e[i]=t[i]:n(e,i,t[i]);return e}},function(e,t,r){"use strict";e.exports=r(28)},function(e,t,r){"use strict";var n=r(147)("keys"),i=r(96);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";var n=r(14),i="__core-js_shared__",s=n[i]||(n[i]={});e.exports=function(e){return s[e]||(s[e]={})}},function(e,t){"use strict";var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){"use strict";var n=r(148),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){"use strict";var n=r(22);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";var n=r(14),i=r(5),s=r(142),a=r(152),o=r(23).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=s?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||o(t,e,{value:a.f(e)})}},function(e,t,r){"use strict";t.f=r(12)},function(e,t,r){"use strict";var n=r(431)(!0);r(141)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(14),s=r(27),a=r(20),o=r(21),u=r(145),l=r(56).KEY,c=r(36),f=r(147),p=r(94),d=r(96),h=r(12),m=r(152),v=r(151),y=r(424),g=r(419),b=r(229),E=r(19),x=r(37),A=r(150),S=r(93),_=r(91),D=r(426),C=r(232),w=r(23),F=r(43),P=C.f,k=w.f,T=D.f,O=i.Symbol,B=i.JSON,R=B&&B.stringify,I="prototype",M=h("_hidden"),N=h("toPrimitive"),L={}.propertyIsEnumerable,j=f("symbol-registry"),U=f("symbols"),V=f("op-symbols"),G=Object[I],W="function"==typeof O,Y=i.QObject,q=!Y||!Y[I]||!Y[I].findChild,K=a&&c(function(){return 7!=_(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=P(G,t);n&&delete G[t],k(e,t,r),n&&e!==G&&k(G,t,n)}:k,H=function(e){var t=U[e]=_(O[I]);return t._k=e,t},J=W&&"symbol"==n(O.iterator)?function(e){return"symbol"==("undefined"==typeof e?"undefined":n(e))}:function(e){return e instanceof O},X=function(e,t,r){return e===G&&X(V,t,r),E(e),t=A(t,!0),E(r),s(U,t)?(r.enumerable?(s(e,M)&&e[M][t]&&(e[M][t]=!1),r=_(r,{enumerable:S(0,!1)})):(s(e,M)||k(e,M,S(1,{})),e[M][t]=!0),K(e,t,r)):k(e,t,r)},z=function(e,t){E(e);for(var r,n=g(t=x(t)),i=0,s=n.length;s>i;)X(e,r=n[i++],t[r]);return e},$=function(e,t){return void 0===t?_(e):z(_(e),t)},Q=function(e){var t=L.call(this,e=A(e,!0));return!(this===G&&s(U,e)&&!s(V,e))&&(!(t||!s(this,e)||!s(U,e)||s(this,M)&&this[M][e])||t)},Z=function(e,t){if(e=x(e),t=A(t,!0),e!==G||!s(U,t)||s(V,t)){var r=P(e,t);return!r||!s(U,t)||s(e,M)&&e[M][t]||(r.enumerable=!0),r}},ee=function(e){for(var t,r=T(x(e)),n=[],i=0;r.length>i;)s(U,t=r[i++])||t==M||t==l||n.push(t);return n},te=function(e){for(var t,r=e===G,n=T(r?V:x(e)),i=[],a=0;n.length>a;)!s(U,t=n[a++])||r&&!s(G,t)||i.push(U[t]);return i};W||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function t(r){this===G&&t.call(V,r),s(this,M)&&s(this[M],e)&&(this[M][e]=!1),K(this,e,S(1,r))};return a&&q&&K(G,e,{configurable:!0,set:t}),H(e)},u(O[I],"toString",function(){return this._k}),C.f=Z,w.f=X,r(233).f=D.f=ee,r(92).f=Q,r(143).f=te,a&&!r(142)&&u(G,"propertyIsEnumerable",Q,!0),m.f=function(e){return H(h(e))}),o(o.G+o.W+o.F*!W,{Symbol:O});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;re.length>ne;)h(re[ne++]);for(var re=F(h.store),ne=0;re.length>ne;)v(re[ne++]);o(o.S+o.F*!W,"Symbol",{for:function(e){return s(j,e+="")?j[e]:j[e]=O(e)},keyFor:function(e){if(J(e))return y(j,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!W,"Object",{create:$,defineProperty:X,defineProperties:z,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te}),B&&o(o.S+o.F*(!W||c(function(){var e=O();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!J(e)){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return t=n[1],"function"==typeof t&&(r=t),!r&&b(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!J(t))return t}),n[1]=t,R.apply(B,n)}}}),O[I][N]||r(28)(O[I],N,O[I].valueOf),p(O,"Symbol"),p(Math,"Math",!0),p(i.JSON,"JSON",!0)},function(e,t,r){"use strict";!function(){t.ast=r(449),t.code=r(237),t.keyword=r(450)}()},function(e,t,r){"use strict";var n=r(38),i=r(15),s=n(i,"Map");e.exports=s},function(e,t,r){"use strict";function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=n}var n=9007199254740991;e.exports=r},function(e,t,r){"use strict";var n=r(488),i=r(103),s=r(266),a=s&&s.isTypedArray,o=a?i(a):n;e.exports=o},function(e,t,r){function n(e){return r(i(e))}function i(e){return s[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var s={"./index":49,"./index.js":49,"./logger":119,"./logger.js":119,"./metadata":120,"./metadata.js":120,"./options/build-config-chain":50,"./options/build-config-chain.js":50,"./options/config":32,"./options/config.js":32,"./options/index":51,"./options/index.js":51,"./options/option-manager":33,"./options/option-manager.js":33,"./options/parsers":52,"./options/parsers.js":52,"./options/removed":53,"./options/removed.js":53};n.keys=function(){return Object.keys(s)},n.resolve=i,e.exports=n,n.id=175},function(e,t,r){function n(e){return r(i(e))}function i(e){return s[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var s={"./build-config-chain":50,"./build-config-chain.js":50,"./config":32,"./config.js":32,"./index":51,"./index.js":51,"./option-manager":33,"./option-manager.js":33,"./parsers":52,"./parsers.js":52,"./removed":53,"./removed.js":53};n.keys=function(){return Object.keys(s)},n.resolve=i,e.exports=n,n.id=176},function(e,t){"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold,gutter:e.grey,marker:e.red.bold}}function s(e){var t=e.slice(-2),r=t[0],n=t[1],i=(0,o.matchToToken)(e);if("name"===i.type){if(c.default.keyword.isReservedWordES6(i.value))return"keyword";if(h.test(i.value)&&("<"===n[r-1]||"3&&void 0!==arguments[3]?arguments[3]:{};r=Math.max(r,0);var s=n.highlightCode&&p.default.supportsColor||n.forceColor,o=p.default;n.forceColor&&(o=new p.default.constructor({enabled:!0}));var u=function(e,t){return s?e(t):t},l=i(o);s&&(e=a(l,e));var c=n.linesAbove||2,f=n.linesBelow||3,h=e.split(d),m=Math.max(t-(c+1),0),v=Math.min(h.length,t+f);t||r||(m=0,v=h.length);var y=String(v).length,g=h.slice(m,v).map(function(e,n){var i=m+1+n,s=(" "+i).slice(-y),a=" "+s+" | ";if(i===t){var o="";if(r){var c=e.slice(0,r-1).replace(/[^\t]/g," ");o=["\n ",u(l.gutter,a.replace(/\d/g," ")),c,u(l.marker,"^")].join("")}return[u(l.marker,">"),u(l.gutter,a),e,o].join("")}return" "+u(l.gutter,a)+e}).join("\n");return s?o.reset(g):g};var o=r(456),u=n(o),l=r(155),c=n(l),f=r(394),p=n(f),d=/\r\n|[\n\r\u2028\u2029]/,h=/^[a-z][\w-]*$/i,m=/^[()\[\]{}]$/;e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){throw new Error("The ("+e+") Babel 5 plugin is being run with Babel 6.")}function a(e,t,r){"function"==typeof t&&(r=t,t={}),t.filename=e,v.default.readFile(e,function(e,n){var i=void 0;if(!e)try{i=k(n,t)}catch(t){e=t}e?r(e):r(null,i)})}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.filename=e,k(v.default.readFileSync(e,"utf8"),t)}t.__esModule=!0,t.transformFromAst=t.transform=t.analyse=t.Pipeline=t.OptionManager=t.traverse=t.types=t.messages=t.util=t.version=t.resolvePreset=t.resolvePlugin=t.template=t.buildExternalHelpers=t.options=t.File=void 0;var u=r(49);Object.defineProperty(t,"File",{enumerable:!0,get:function(){return i(u).default}});var l=r(32);Object.defineProperty(t,"options",{enumerable:!0,get:function(){return i(l).default}});var c=r(292);Object.defineProperty(t,"buildExternalHelpers",{enumerable:!0,get:function(){return i(c).default}});var f=r(4);Object.defineProperty(t,"template",{enumerable:!0,get:function(){return i(f).default}});var p=r(181);Object.defineProperty(t,"resolvePlugin",{enumerable:!0,get:function(){return i(p).default}});var d=r(182);Object.defineProperty(t,"resolvePreset",{enumerable:!0,get:function(){return i(d).default}});var h=r(623);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return h.version}}),t.Plugin=s,t.transformFile=a,t.transformFileSync=o;var m=r(115),v=i(m),y=r(121),g=n(y),b=r(18),E=n(b),x=r(1),A=n(x),S=r(8),_=i(S),D=r(33),C=i(D),w=r(295),F=i(w);t.util=g,t.messages=E,t.types=A,t.traverse=_.default,t.OptionManager=C.default,t.Pipeline=F.default;var P=new F.default,k=(t.analyse=P.analyse.bind(P),t.transform=P.transform.bind(P));t.transformFromAst=P.transformFromAst.bind(P)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.reduce(function(e,r){return e||(0,a.default)(r,t)},null)}t.__esModule=!0,t.default=i;var s=r(117),a=n(s);e.exports=t.default},function(e,t,r){(function(n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.cwd();return(0,o.default)((0,l.default)(e),t)}t.__esModule=!0,t.default=s;var a=r(180),o=i(a),u=r(288),l=i(u);e.exports=t.default}).call(t,r(9))},function(e,t,r){(function(n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.cwd();return(0,o.default)((0,l.default)(e),t)}t.__esModule=!0,t.default=s;var a=r(180),o=i(a),u=r(289),l=i(u);e.exports=t.default}).call(t,r(9))},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){var n=" ";if(e&&"string"==typeof e){var i=(0,h.default)(e).indent;i&&" "!==i&&(n=i)}var s={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,quotes:t.quotes||a(e,r),jsonCompatibleStrings:t.jsonCompatibleStrings,indent:{adjustMultilineComment:!0,style:n,base:0},flowCommaSeparator:t.flowCommaSeparator};return s.minified?(s.compact=!0,s.shouldPrintComment=s.shouldPrintComment||function(){return s.comments}):s.shouldPrintComment=s.shouldPrintComment||function(e){return s.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0},"auto"===s.compact&&(s.compact=e.length>5e5,s.compact&&console.error("[BABEL] "+g.get("codeGeneratorDeopt",t.filename,"500KB"))),s.compact&&(s.indent.adjustMultilineComment=!1),s}function a(e,t){var r="double";if(!e)return r;for(var n={single:0,double:0},i=0,s=0;s=3)break}}return n.single>n.double?"single":"double"}t.__esModule=!0,t.CodeGenerator=void 0;var o=r(3),u=i(o),l=r(42),c=i(l),f=r(41),p=i(f);t.default=function(e,t,r){var n=new x(e,t,r);return n.generate()};var d=r(447),h=i(d),m=r(310),v=i(m),y=r(18),g=n(y),b=r(309),E=i(b),x=function(e){function t(r,n,i){(0,u.default)(this,t),n=n||{};var a=r.tokens||[],o=s(i,n,a),l=n.sourceMaps?new v.default(n,i):null,f=(0,c.default)(this,e.call(this,o,l,a));return f.ast=r,f}return(0,p.default)(t,e),t.prototype.generate=function(){return e.prototype.generate.call(this,this.ast)},t}(E.default);t.CodeGenerator=function(){function e(t,r,n){(0,u.default)(this,e),this._generator=new x(t,r,n)}return e.prototype.generate=function(){return this._generator.generate()},e}()},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){function t(e,t){var n=r[e];r[e]=n?function(e,r,i){var s=n(e,r,i);return null==s?t(e,r,i):s}:t}for(var r={},n=(0,m.default)(e),i=Array.isArray(n),s=0,n=i?n:(0,d.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a,u=x.FLIPPED_ALIAS_KEYS[o];if(u)for(var l=u,c=Array.isArray(l),f=0,l=c?l:(0,d.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;t(h,e[o])}else t(o,e[o])}return r}function a(e,t,r,n){var i=e[t.type];return i?i(t,r,n):null}function o(e){return!!x.isCallExpression(e)||!!x.isMemberExpression(e)&&(o(e.object)||!e.computed&&o(e.property))}function u(e,t,r){if(!e)return 0;x.isExpressionStatement(e)&&(e=e.expression);var n=a(S,e,t);if(!n){var i=a(_,e,t);if(i)for(var s=0;s=3&&(r._prettyCall=!0),e.replaceWith(u.inherits(r,e.node))}},o};var s=r(155),a=i(s),o=r(1),u=n(o);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return!g.isClassMethod(e)&&!g.isObjectMethod(e)||"get"!==e.kind&&"set"!==e.kind?"value":e.kind}function a(e,t,r,n,i){var a=g.toKeyAlias(t),o={};if((0,v.default)(e,a)&&(o=e[a]),e[a]=o,o._inherits=o._inherits||[],o._inherits.push(t),o._key=t.key,t.computed&&(o._computed=!0),t.decorators){var u=o.decorators=o.decorators||g.arrayExpression([]);u.elements=u.elements.concat(t.decorators.map(function(e){return e.expression}).reverse())}if(o.value||o.initializer)throw n.buildCodeFrameError(t,"Key conflict with sibling node");var l=void 0,c=void 0;(g.isObjectProperty(t)||g.isObjectMethod(t)||g.isClassMethod(t))&&(l=g.toComputedKey(t,t.key)),g.isObjectProperty(t)||g.isClassProperty(t)?c=t.value:(g.isObjectMethod(t)||g.isClassMethod(t))&&(c=g.functionExpression(null,t.params,t.body,t.generator,t.async),c.returnType=t.returnType);var f=s(t);return r&&"value"===f||(r=f),i&&g.isStringLiteral(l)&&("value"===r||"initializer"===r)&&g.isFunctionExpression(c)&&(c=(0,h.default)({id:l,node:c,scope:i})),c&&(g.inheritsComments(c,t),o[r]=c),o}function o(e){for(var t in e)if(e[t]._computed)return!0;return!1}function u(e){for(var t=g.arrayExpression([]),r=0;r2&&void 0!==arguments[2]?arguments[2]:"var";e.traverse(l,{kind:r,emit:t})};var o=r(1),u=n(o),l={Scope:function(e,t){"let"===t.kind&&e.skip()},Function:function(e){e.skip()},VariableDeclaration:function(e,t){if(!t.kind||e.node.kind===t.kind){for(var r=[],n=e.get("declarations"),i=void 0,s=n,o=Array.isArray(s),l=0,s=o?s:(0,a.default)(s);;){var c;if(o){if(l>=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var f=c;i=f.node.id,f.node.init&&r.push(u.expressionStatement(u.assignmentExpression("=",f.node.id,f.node.init)));for(var p in f.getBindingIdentifiers())t.emit(u.identifier(p),p)}e.parentPath.isFor({left:e.node})?e.replaceWith(i):e.replaceWithMultiple(r)}}};e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t,r){return 1===r.length&&s.isSpreadElement(r[0])&&s.isIdentifier(r[0].argument,{name:"arguments"})?s.callExpression(s.memberExpression(e,s.identifier("apply")),[t,r[0].argument]):s.callExpression(s.memberExpression(e,s.identifier("call")),[t].concat(r))};var i=r(1),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return c.isRegExpLiteral(e)&&e.flags.indexOf(t)>=0}function a(e,t){var r=e.flags.split("");e.flags.indexOf(t)<0||((0,u.default)(r,t),e.flags=r.join(""))}t.__esModule=!0,t.is=s,t.pullFlag=a;var o=r(273),u=i(o),l=r(1),c=n(l)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return!!y.isSuper(e)&&(!y.isMemberExpression(t,{computed:!1})&&!y.isCallExpression(t,{callee:e}))}function a(e){return y.isMemberExpression(e)&&y.isSuper(e.object)}function o(e,t){var r=t?e:y.memberExpression(e,y.identifier("prototype"));return y.logicalExpression("||",y.memberExpression(r,y.identifier("__proto__")),y.callExpression(y.memberExpression(y.identifier("Object"),y.identifier("getPrototypeOf")),[r]))}t.__esModule=!0;var u=r(3),l=i(u),c=r(11),f=i(c),p=r(189),d=i(p),h=r(18),m=n(h),v=r(1),y=n(v),g=(0,f.default)(),b={Function:function(e){e.inShadow("this")||e.skip()},ReturnStatement:function(e,t){e.inShadow("this")||t.returns.push(e)},ThisExpression:function(e,t){e.node[g]||t.thises.push(e)},enter:function(e,t){var r=t.specHandle;t.isLoose&&(r=t.looseHandle);var n=e.isCallExpression()&&e.get("callee").isSuper(),i=r.call(t,e);i&&(t.hasSuper=!0),n&&t.bareSupers.push(e),i===!0&&e.requeue(),i!==!0&&i&&(Array.isArray(i)?e.replaceWithMultiple(i):e.replaceWith(i))}},E=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,l.default)(this,e),this.forceSuperMemoisation=t.forceSuperMemoisation,this.methodPath=t.methodPath,this.methodNode=t.methodNode,this.superRef=t.superRef,this.isStatic=t.isStatic,this.hasSuper=!1,this.inClass=r,this.isLoose=t.isLoose,this.scope=this.methodPath.scope,this.file=t.file,this.opts=t,this.bareSupers=[],this.returns=[],this.thises=[]}return e.prototype.getObjectRef=function(){return this.opts.objectRef||this.opts.getObjectRef()},e.prototype.setSuperProperty=function(e,t,r){return y.callExpression(this.file.addHelper("set"),[o(this.getObjectRef(),this.isStatic),r?e:y.stringLiteral(e.name),t,y.thisExpression()])},e.prototype.getSuperProperty=function(e,t){return y.callExpression(this.file.addHelper("get"),[o(this.getObjectRef(),this.isStatic),t?e:y.stringLiteral(e.name),y.thisExpression()])},e.prototype.replace=function(){this.methodPath.traverse(b,this)},e.prototype.getLooseSuperProperty=function(e,t){var r=this.methodNode,n=this.superRef||y.identifier("Function");return t.property===e?void 0:y.isCallExpression(t,{callee:e})?void 0:y.isMemberExpression(t)&&!r.static?y.memberExpression(n,y.identifier("prototype")):n},e.prototype.looseHandle=function(e){var t=e.node;if(e.isSuper())return this.getLooseSuperProperty(t,e.parent);if(e.isCallExpression()){var r=t.callee;if(!y.isMemberExpression(r))return;if(!y.isSuper(r.object))return;return y.appendToMemberExpression(r,y.identifier("call")),t.arguments.unshift(y.thisExpression()),!0}},e.prototype.specHandleAssignmentExpression=function(e,t,r){return"="===r.operator?this.setSuperProperty(r.left.property,r.right,r.left.computed):(e=e||t.scope.generateUidIdentifier("ref"),[y.variableDeclaration("var",[y.variableDeclarator(e,r.left)]),y.expressionStatement(y.assignmentExpression("=",r.left,y.binaryExpression(r.operator[0],e,r.right)))])},e.prototype.specHandle=function(e){var t=void 0,r=void 0,n=void 0,i=e.parent,o=e.node;if(s(o,i))throw e.buildCodeFrameError(m.get("classesIllegalBareSuper"));if(y.isCallExpression(o)){var u=o.callee;if(y.isSuper(u))return;a(u)&&(t=u.property,r=u.computed,n=o.arguments)}else if(y.isMemberExpression(o)&&y.isSuper(o.object))t=o.property,r=o.computed;else{if(y.isUpdateExpression(o)&&a(o.argument)){var l=y.binaryExpression(o.operator[0],o.argument,y.numericLiteral(1));if(o.prefix)return this.specHandleAssignmentExpression(null,e,l);var c=e.scope.generateUidIdentifier("ref");return this.specHandleAssignmentExpression(c,e,l).concat(y.expressionStatement(c))}if(y.isAssignmentExpression(o)&&a(o.left))return this.specHandleAssignmentExpression(null,e,o)}if(t){var f=this.getSuperProperty(t,r);return n?this.optimiseCall(f,n):f}},e.prototype.optimiseCall=function(e,t){var r=y.thisExpression();return r[g]=!0,(0,d.default)(e,r,t)},e}();t.default=E,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=u.default[e];if(!t)throw new ReferenceError("Unknown helper "+e);return t().expression}t.__esModule=!0,t.list=void 0;var s=r(13),a=n(s);t.get=i;var o=r(318),u=n(o);t.list=(0,a.default)(u.default).map(function(e){return"_"===e[0]?e.slice(1):e}).filter(function(e){return"__esModule"!==e});t.default=i},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncGenerators")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("classConstructorCall")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("classProperties")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("doExpressions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("exponentiationOperator")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("exportExtensions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("functionBind")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("objectRestSpread")}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i),a=r(11),o=n(a);t.default=function(e){function t(e){for(var t=e.get("body.body"),r=t,n=Array.isArray(r),i=0,r=n?r:(0,s.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if(i=r.next(),i.done)break;a=i.value}var o=a;if("constructorCall"===o.node.kind)return o}return null}function n(e,t){var r=t,n=r.node,s=n.id||t.scope.generateUidIdentifier("class");t.parentPath.isExportDefaultDeclaration()&&(t=t.parentPath,t.insertAfter(i.exportDefaultDeclaration(s))),t.replaceWithMultiple(c({CLASS_REF:t.scope.generateUidIdentifier(s.name),CALL_REF:t.scope.generateUidIdentifier(s.name+"Call"),CALL:i.functionExpression(null,e.node.params,e.node.body),CLASS:i.toExpression(n),WRAPPER_REF:s})),e.remove()}var i=e.types,a=(0,o.default)();return{inherits:r(194),visitor:{Class:function(e){if(!e.node[a]){e.node[a]=!0;var r=t(e);r&&n(r,e)}}}}};var u=r(4),l=n(u),c=(0,l.default)("\n let CLASS_REF = CLASS;\n var CALL_REF = CALL;\n var WRAPPER_REF = function (...args) {\n if (this instanceof WRAPPER_REF) {\n return Reflect.construct(CLASS_REF, args);\n } else {\n return CALL_REF.apply(this, args);\n }\n };\n WRAPPER_REF.__proto__ = CLASS_REF;\n WRAPPER_REF;\n");e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){var t=e.types,n={Super:function(e){e.parentPath.isCallExpression({callee:e.node})&&this.push(e.parentPath)}},i={ReferencedIdentifier:function(e){this.scope.hasOwnBinding(e.node.name)&&(this.collision=!0,e.skip())}},a=(0,l.default)("\n Object.defineProperty(REF, KEY, {\n // configurable is false by default\n enumerable: true,\n writable: true,\n value: VALUE\n });\n "),u=function(e,r){var n=r.key,i=r.value,s=r.computed;return a({REF:e,KEY:t.isIdentifier(n)&&!s?t.stringLiteral(n.name):n,VALUE:i?i:t.identifier("undefined")})},c=function(e,r){var n=r.key,i=r.value,s=r.computed;return t.expressionStatement(t.assignmentExpression("=",t.memberExpression(e,n,s||t.isLiteral(n)),i))};return{inherits:r(195),visitor:{Class:function(e,r){for(var a=r.opts.spec?u:c,l=!!e.node.superClass,f=void 0,p=[],d=e.get("body"),h=d.get("body"),m=Array.isArray(h),v=0,h=m?h:(0,s.default)(h);;){var y;if(m){if(v>=h.length)break;y=h[v++]}else{if(v=h.next(),v.done)break;y=v.value}var g=y;g.isClassProperty()?p.push(g):g.isClassMethod({kind:"constructor"})&&(f=g)}if(p.length){var b=[],E=void 0;e.isClassExpression()||!e.node.id?((0,o.default)(e),E=e.scope.generateUidIdentifier("class")):E=e.node.id;for(var x=[],A=p,S=Array.isArray(A),_=0,A=S?A:(0,s.default)(A);;){var D;if(S){if(_>=A.length)break;D=A[_++]}else{if(_=A.next(),_.done)break;D=_.value}var C=D,w=C.node;if(!(w.decorators&&w.decorators.length>0)&&(r.opts.spec||w.value)){var F=w.static;if(F)b.push(a(E,w));else{if(!w.value)continue;x.push(a(t.thisExpression(),w))}}}if(x.length){if(!f){var P=t.classMethod("constructor",t.identifier("constructor"),[],t.blockStatement([]));l&&(P.params=[t.restElement(t.identifier("args"))],P.body.body.push(t.returnStatement(t.callExpression(t.super(),[t.spreadElement(t.identifier("args"))]))));var k=d.unshiftContainer("body",P);f=k[0]}for(var T={collision:!1,scope:f.scope},O=p,B=Array.isArray(O),R=0,O=B?O:(0,s.default)(O);;){var I;if(B){if(R>=O.length)break;I=O[R++]}else{if(R=O.next(),R.done)break;I=R.value}var M=I;if(M.traverse(i,T),T.collision)break}if(T.collision){var N=e.scope.generateUidIdentifier("initialiseProps");b.push(t.variableDeclaration("var",[t.variableDeclarator(N,t.functionExpression(null,[],t.blockStatement(x)))])),x=[t.expressionStatement(t.callExpression(t.memberExpression(N,t.identifier("call")),[t.thisExpression()]))]}if(l){var L=[];f.traverse(n,L);for(var j=L,U=Array.isArray(j),V=0,j=U?j:(0,s.default)(j);;){var G;if(U){if(V>=j.length)break;G=j[V++]}else{if(V=j.next(),V.done)break;G=V.value}var W=G;W.insertAfter(x)}}else f.get("body").unshiftContainer("body",x)}for(var Y=p,q=Array.isArray(Y),K=0,Y=q?Y:(0,s.default)(Y);;){var H;if(q){if(K>=Y.length)break;H=Y[K++]}else{if(K=Y.next(),K.done)break;H=K.value}var J=H;J.remove()}b.length&&(e.isClassExpression()?(e.scope.push({id:E}),e.replaceWith(t.assignmentExpression("=",E,e.node))):(e.node.id||(e.node.id=E),e.parentPath.isExportDeclaration()&&(e=e.parentPath)),e.insertAfter(b))}},ArrowFunctionExpression:function(e){var t=e.get("body");if(t.isClassExpression()){var r=t.get("body"),n=r.get("body");n.some(function(e){return e.isClassProperty()})&&e.ensureBlock()}}}}};var a=r(40),o=n(a),u=r(4),l=n(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(10),s=n(i),a=r(2),o=n(a);t.default=function(e){function t(e){return e.reverse().map(function(e){return e.expression})}function n(e,r,n){var i=[],a=e.node.decorators;if(a){e.node.decorators=null,a=t(a);for(var l=a,c=Array.isArray(l),f=0,l=c?l:(0,o.default)(l);;){var d;if(c){if(f>=l.length)break;d=l[f++]}else{if(f=l.next(),f.done)break;d=f.value}var h=d;i.push(p({CLASS_REF:r,DECORATOR:h}))}}for(var m=(0,s.default)(null),v=e.get("body.body"),y=Array.isArray(v),g=0,v=y?v:(0,o.default)(v);;){var b;if(y){if(g>=v.length)break;b=v[g++]}else{if(g=v.next(),g.done)break;b=g.value}var E=b,x=E.node.decorators;if(x){var A=u.toKeyAlias(E.node);m[A]=m[A]||[],m[A].push(E.node),E.remove()}}for(var S in m)var _=m[S];return i}function i(e){if(e.isClass()){if(e.node.decorators)return!0;for(var t=e.node.body.body,r=Array.isArray(t),n=0,t=r?t:(0,o.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(s.decorators)return!0}}else if(e.isObjectExpression())for(var a=e.node.properties,u=Array.isArray(a),l=0,a=u?a:(0,o.default)(a);;){var c;if(u){if(l>=a.length)break;c=a[l++]}else{if(l=a.next(),l.done)break;c=l.value}var f=c;if(f.decorators)return!0}return!1}function a(e){throw e.buildCodeFrameError('Decorators are not officially supported yet in 6.x pending a proposal update.\nHowever, if you need to use them you can install the legacy decorators transform with:\n\nnpm install babel-plugin-transform-decorators-legacy --save-dev\n\nand add the following line to your .babelrc file:\n\n{\n "plugins": ["transform-decorators-legacy"]\n}\n\nThe repo url is: https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy.\n ')}var u=e.types;return{inherits:r(124),visitor:{ClassExpression:function(e){if(i(e)){a(e),(0,f.default)(e);var t=e.scope.generateDeclaredUidIdentifier("ref"),r=[];r.push(u.assignmentExpression("=",t,e.node)),r=r.concat(n(e,t,this)),r.push(t),e.replaceWith(u.sequenceExpression(r))}},ClassDeclaration:function(e){if(i(e)){a(e),(0,f.default)(e);var t=e.node.id,r=[];r=r.concat(n(e,t,this).map(function(e){return u.expressionStatement(e)})),r.push(u.expressionStatement(t)),e.insertAfter(r)}},ObjectExpression:function(e){i(e)&&a(e)}}}};var u=r(4),l=n(u),c=r(316),f=n(c),p=(0,l.default)("\n CLASS_REF = DECORATOR(CLASS_REF) || CLASS_REF;\n");e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){return{inherits:r(196),visitor:{DoExpression:function(e){var t=e.node.body.body;t.length?e.replaceWithMultiple(t):e.replaceWith(e.scope.buildUndefinedNode())}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s),o=r(3),u=i(o),l=r(8),c=r(191),f=i(c),p=r(189),d=i(p),h=r(186),m=n(h),v=r(4),y=i(v),g=r(1),b=n(g),E=(0,y.default)("\n (function () {\n super(...arguments);\n })\n"),x={"FunctionExpression|FunctionDeclaration":function(e){e.is("shadow")||e.skip()},Method:function(e){e.skip()}},A=l.visitors.merge([x,{Super:function(e){if(this.isDerived&&!this.hasBareSuper&&!e.parentPath.isCallExpression({callee:e.node}))throw e.buildCodeFrameError("'super.*' is not allowed before super()")},CallExpression:{exit:function(e){if(e.get("callee").isSuper()&&(this.hasBareSuper=!0,!this.isDerived))throw e.buildCodeFrameError("super() is only allowed in a derived constructor")}},ThisExpression:function(e){if(this.isDerived&&!this.hasBareSuper&&!e.inShadow("this"))throw e.buildCodeFrameError("'this' is not allowed before super()")}}]),S=l.visitors.merge([x,{ThisExpression:function(e){this.superThises.push(e)}}]),_=function(){function e(t,r){(0,u.default)(this,e),this.parent=t.parent,this.scope=t.scope,this.node=t.node,this.path=t,this.file=r,this.clearDescriptors(),this.instancePropBody=[],this.instancePropRefs={},this.staticPropBody=[],this.body=[],this.bareSuperAfter=[],this.bareSupers=[],this.pushedConstructor=!1,this.pushedInherits=!1,this.isLoose=!1,this.superThises=[],this.classId=this.node.id,this.classRef=this.node.id?b.identifier(this.node.id.name):this.scope.generateUidIdentifier("class"), -this.superName=this.node.superClass||b.identifier("Function"),this.isDerived=!!this.node.superClass}return e.prototype.run=function(){var e=this,t=this.superName,r=this.file,n=this.body,i=this.constructorBody=b.blockStatement([]);this.constructor=this.buildConstructor();var s=[],a=[];if(this.isDerived&&(a.push(t),t=this.scope.generateUidIdentifierBasedOnNode(t),s.push(t),this.superName=t),this.buildBody(),i.body.unshift(b.expressionStatement(b.callExpression(r.addHelper("classCallCheck"),[b.thisExpression(),this.classRef]))),n=n.concat(this.staticPropBody.map(function(t){return t(e.classRef)})),this.classId&&1===n.length)return b.toExpression(n[0]);n.push(b.returnStatement(this.classRef));var o=b.functionExpression(null,s,b.blockStatement(n));return o.shadow=!0,b.callExpression(o,a)},e.prototype.buildConstructor=function(){var e=b.functionDeclaration(this.classRef,[],this.constructorBody);return b.inherits(e,this.node),e},e.prototype.pushToMap=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",n=arguments[3],i=void 0;e.static?(this.hasStaticDescriptors=!0,i=this.staticMutatorMap):(this.hasInstanceDescriptors=!0,i=this.instanceMutatorMap);var s=m.push(i,e,r,this.file,n);return t&&(s.enumerable=b.booleanLiteral(!0)),s},e.prototype.constructorMeMaybe=function(){for(var e=!1,t=this.path.get("body.body"),r=t,n=Array.isArray(r),i=0,r=n?r:(0,a.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var o=s;if(e=o.equals("kind","constructor"))break}if(!e){var u=void 0,l=void 0;if(this.isDerived){var c=E().expression;u=c.params,l=c.body}else u=[],l=b.blockStatement([]);this.path.get("body").unshiftContainer("body",b.classMethod("constructor",b.identifier("constructor"),u,l))}},e.prototype.buildBody=function(){if(this.constructorMeMaybe(),this.pushBody(),this.verifyConstructor(),this.userConstructor){var e=this.constructorBody;e.body=e.body.concat(this.userConstructor.body.body),b.inherits(this.constructor,this.userConstructor),b.inherits(e,this.userConstructor.body)}this.pushDescriptors()},e.prototype.pushBody=function(){for(var e=this.path.get("body.body"),t=e,r=Array.isArray(t),n=0,t=r?t:(0,a.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i,o=s.node;if(s.isClassProperty())throw s.buildCodeFrameError("Missing class properties transform.");if(o.decorators)throw s.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.");if(b.isClassMethod(o)){var u="constructor"===o.kind;if(u&&(s.traverse(A,this),!this.hasBareSuper&&this.isDerived))throw s.buildCodeFrameError("missing super() call in constructor");var l=new f.default({forceSuperMemoisation:u,methodPath:s,methodNode:o,objectRef:this.classRef,superRef:this.superName,isStatic:o.static,isLoose:this.isLoose,scope:this.scope,file:this.file},!0);l.replace(),u?this.pushConstructor(l,o,s):this.pushMethod(o,s)}}},e.prototype.clearDescriptors=function(){this.hasInstanceDescriptors=!1,this.hasStaticDescriptors=!1,this.instanceMutatorMap={},this.staticMutatorMap={}},e.prototype.pushDescriptors=function(){this.pushInherits();var e=this.body,t=void 0,r=void 0;if(this.hasInstanceDescriptors&&(t=m.toClassObject(this.instanceMutatorMap)),this.hasStaticDescriptors&&(r=m.toClassObject(this.staticMutatorMap)),t||r){t&&(t=m.toComputedObjectFromClass(t)),r&&(r=m.toComputedObjectFromClass(r));var n=b.nullLiteral(),i=[this.classRef,n,n,n,n];t&&(i[1]=t),r&&(i[2]=r),this.instanceInitializersId&&(i[3]=this.instanceInitializersId,e.unshift(this.buildObjectAssignment(this.instanceInitializersId))),this.staticInitializersId&&(i[4]=this.staticInitializersId,e.unshift(this.buildObjectAssignment(this.staticInitializersId)));for(var s=0,a=0;a=o.length)break;c=o[l++]}else{if(l=o.next(),l.done)break;c=l.value}var f=c;this.wrapSuperCall(f,i,s,r),n&&f.find(function(e){return e===t||(e.isLoop()||e.isConditional()?(n=!1,!0):void 0)})}for(var p=this.superThises,d=Array.isArray(p),h=0,p=d?p:(0,a.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var v=m;v.replaceWith(s)}var y=function(t){return b.callExpression(e.file.addHelper("possibleConstructorReturn"),[s].concat(t||[]))},g=r.get("body");g.length&&!g.pop().isReturnStatement()&&r.pushContainer("body",b.returnStatement(n?s:y()));for(var E=this.superReturns,x=Array.isArray(E),A=0,E=x?E:(0,a.default)(E);;){var _;if(x){if(A>=E.length)break;_=E[A++]}else{if(A=E.next(),A.done)break;_=A.value}var D=_;if(D.node.argument){var C=D.scope.generateDeclaredUidIdentifier("ret");D.get("argument").replaceWithMultiple([b.assignmentExpression("=",C,D.node.argument),y(C)])}else D.get("argument").replaceWith(y())}}},e.prototype.pushMethod=function(e,t){var r=t?t.scope:this.scope;"method"===e.kind&&this._processMethod(e,r)||this.pushToMap(e,!1,null,r)},e.prototype._processMethod=function(){return!1},e.prototype.pushConstructor=function(e,t,r){this.bareSupers=e.bareSupers,this.superReturns=e.returns,r.scope.hasOwnBinding(this.classRef.name)&&r.scope.rename(this.classRef.name);var n=this.constructor;this.userConstructorPath=r,this.userConstructor=t,this.hasConstructor=!0,b.inheritsComments(n,t),n._ignoreUserWhitespace=!0,n.params=t.params,b.inherits(n.body,t.body),n.body.directives=t.body.directives,this._pushConstructor()},e.prototype._pushConstructor=function(){this.pushedConstructor||(this.pushedConstructor=!0,(this.hasInstanceDescriptors||this.hasStaticDescriptors)&&this.pushDescriptors(),this.body.push(this.constructor),this.pushInherits())},e.prototype.pushInherits=function(){this.isDerived&&!this.pushedInherits&&(this.pushedInherits=!0,this.body.unshift(b.expressionStatement(b.callExpression(this.file.addHelper("inherits"),[this.classRef,this.superName]))))},e}();t.default=_,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(10),s=n(i),a=r(2),o=n(a),u=r(11),l=n(u);t.default=function(e){var t=e.types,r=(0,l.default)(),n={"AssignmentExpression|UpdateExpression":function(e){if(!e.node[r]){e.node[r]=!0;var n=e.get(e.isAssignmentExpression()?"left":"argument");if(n.isIdentifier()){var i=n.node.name;if(this.scope.getBinding(i)===e.scope.getBinding(i)){var s=this.exports[i];if(s){var a=e.node,u=e.isUpdateExpression()&&!a.prefix;u&&("++"===a.operator?a=t.binaryExpression("+",a.argument,t.numericLiteral(1)):"--"===a.operator?a=t.binaryExpression("-",a.argument,t.numericLiteral(1)):u=!1);for(var l=s,c=Array.isArray(l),f=0,l=c?l:(0,o.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;a=this.buildCall(d,a).expression}u&&(a=t.sequenceExpression([a,e.node])),e.replaceWith(a)}}}}}};return{visitor:{CallExpression:function(e,r){if(e.node.callee.type===v){var n=r.contextIdent;e.replaceWith(t.callExpression(t.memberExpression(n,t.identifier("import")),e.node.arguments))}},ReferencedIdentifier:function(e,r){"__moduleName"!=e.node.name||e.scope.hasBinding("__moduleName")||e.replaceWith(t.memberExpression(r.contextIdent,t.identifier("id")))},Program:{enter:function(e,t){t.contextIdent=e.scope.generateUidIdentifier("context")},exit:function(e,r){function i(e,t){p[e]=p[e]||[],p[e].push(t)}function a(e,t,r){var n=void 0;d.forEach(function(t){t.key===e&&(n=t)}),n||d.push(n={key:e,imports:[],exports:[]}),n[t]=n[t].concat(r)}function u(e,r){return t.expressionStatement(t.callExpression(l,[t.stringLiteral(e),r]))}for(var l=e.scope.generateUidIdentifier("export"),c=r.contextIdent,p=(0,s.default)(null),d=[],v=[],y=[],g=[],b=[],E=[],x=e.get("body"),A=!0,S=x,_=Array.isArray(S),D=0,S=_?S:(0,o.default)(S);;){var C;if(_){if(D>=S.length)break;C=S[D++]}else{if(D=S.next(),D.done)break;C=D.value}var w=C;if(w.isExportDeclaration()&&(w=w.get("declaration")),w.isVariableDeclaration()&&"var"!==w.node.kind){A=!1;break}}for(var F=x,P=Array.isArray(F),k=0,F=P?F:(0,o.default)(F);;){var T;if(P){if(k>=F.length)break;T=F[k++]}else{if(k=F.next(),k.done)break;T=k.value}var O=T;if(A&&O.isFunctionDeclaration())v.push(O.node),E.push(O);else if(O.isImportDeclaration()){var B=O.node.source.value;a(B,"imports",O.node.specifiers);for(var R in O.getBindingIdentifiers())O.scope.removeBinding(R),b.push(t.identifier(R));O.remove()}else if(O.isExportAllDeclaration())a(O.node.source.value,"exports",O.node),O.remove();else if(O.isExportDefaultDeclaration()){var I=O.get("declaration");if(I.isClassDeclaration()||I.isFunctionDeclaration()){var M=I.node.id,N=[];M?(N.push(I.node),N.push(u("default",M)),i(M.name,"default")):N.push(u("default",t.toExpression(I.node))),!A||I.isClassDeclaration()?O.replaceWithMultiple(N):(v=v.concat(N),E.push(O))}else O.replaceWith(u("default",I.node))}else if(O.isExportNamedDeclaration()){var L=O.get("declaration");if(L.node){O.replaceWith(L);var j=[],U=void 0;if(O.isFunction()){var V=L.node,G=V.id.name;if(A)i(G,G),v.push(V),v.push(u(G,V.id)),E.push(O);else{var W;W={},W[G]=V.id,U=W}}else U=L.getBindingIdentifiers();for(var Y in U)i(Y,Y),j.push(u(Y,t.identifier(Y)));O.insertAfter(j)}else{var q=O.node.specifiers;if(q&&q.length)if(O.node.source)a(O.node.source.value,"exports",q),O.remove();else{for(var K=[],H=q,J=Array.isArray(H),X=0,H=J?H:(0,o.default)(H);;){var z;if(J){if(X>=H.length)break;z=H[X++]}else{if(X=H.next(),X.done)break;z=X.value}var $=z;K.push(u($.exported.name,$.local)),i($.local.name,$.exported.name)}O.replaceWithMultiple(K)}}}}d.forEach(function(r){for(var n=[],i=e.scope.generateUidIdentifier(r.key),s=r.imports,a=Array.isArray(s),u=0,s=a?s:(0,o.default)(s);;){var c;if(a){if(u>=s.length)break;c=s[u++]}else{if(u=s.next(),u.done)break;c=u.value}var f=c;t.isImportNamespaceSpecifier(f)?n.push(t.expressionStatement(t.assignmentExpression("=",f.local,i))):t.isImportDefaultSpecifier(f)&&(f=t.importSpecifier(f.local,t.identifier("default"))),t.isImportSpecifier(f)&&n.push(t.expressionStatement(t.assignmentExpression("=",f.local,t.memberExpression(i,f.imported))))}if(r.exports.length){var p=e.scope.generateUidIdentifier("exportObj");n.push(t.variableDeclaration("var",[t.variableDeclarator(p,t.objectExpression([]))]));for(var d=r.exports,h=Array.isArray(d),v=0,d=h?d:(0,o.default)(d);;){var b;if(h){if(v>=d.length)break;b=d[v++]}else{if(v=d.next(),v.done)break;b=v.value}var E=b;t.isExportAllDeclaration(E)?n.push(m({KEY:e.scope.generateUidIdentifier("key"),EXPORT_OBJ:p,TARGET:i})):t.isExportSpecifier(E)&&n.push(t.expressionStatement(t.assignmentExpression("=",t.memberExpression(p,E.exported),t.memberExpression(i,E.local))))}n.push(t.expressionStatement(t.callExpression(l,[p])))}g.push(t.stringLiteral(r.key)),y.push(t.functionExpression(null,[i],t.blockStatement(n)))});var Q=this.getModuleName();Q&&(Q=t.stringLiteral(Q)),A&&(0,f.default)(e,function(e){return b.push(e)}),b.length&&v.unshift(t.variableDeclaration("var",b.map(function(e){return t.variableDeclarator(e)}))),e.traverse(n,{exports:p,buildCall:u,scope:e.scope});for(var Z=E,ee=Array.isArray(Z),te=0,Z=ee?Z:(0,o.default)(Z);;){var re;if(ee){if(te>=Z.length)break;re=Z[te++]}else{if(te=Z.next(),te.done)break;re=te.value}var ne=re;ne.remove()}e.node.body=[h({SYSTEM_REGISTER:t.memberExpression(t.identifier(r.opts.systemGlobal||"System"),t.identifier("register")),BEFORE_BODY:v,MODULE_NAME:Q,SETTERS:y,SOURCES:g,BODY:e.node.body,EXPORT_IDENTIFIER:l,CONTEXT_IDENTIFIER:c})]}}}}};var c=r(188),f=n(c),p=r(4),d=n(p),h=(0,d.default)('\n SYSTEM_REGISTER(MODULE_NAME, [SOURCES], function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: [SETTERS],\n execute: function () {\n BODY;\n }\n };\n });\n'),m=(0,d.default)('\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n'),v="Import";e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(e){if(e.isExpressionStatement()){var t=e.get("expression");if(!t.isCallExpression())return!1;if(!t.get("callee").isIdentifier({name:"define"}))return!1;var r=t.get("arguments");return!(3===r.length&&!r.shift().isStringLiteral())&&(2===r.length&&(!!r.shift().isArrayExpression()&&!!r.shift().isFunctionExpression()))}}var n=e.types;return{inherits:r(129),visitor:{Program:{exit:function(e,r){var s=e.get("body").pop();if(t(s)){var a=s.node.expression,c=a.arguments,f=3===c.length?c.shift():null,p=a.arguments[0],d=a.arguments[1],h=r.opts.globals||{},m=p.elements.map(function(e){return"module"===e.value||"exports"===e.value?n.identifier(e.value):n.callExpression(n.identifier("require"),[e])}),v=p.elements.map(function(e){if("module"===e.value)return n.identifier("mod");if("exports"===e.value)return n.memberExpression(n.identifier("mod"),n.identifier("exports"));var t=void 0;if(r.opts.exactGlobals){var s=h[e.value];t=s?s.split(".").reduce(function(e,t){return n.memberExpression(e,n.identifier(t))},n.identifier("global")):n.memberExpression(n.identifier("global"),n.identifier(n.toIdentifier(e.value)))}else{var a=(0,i.basename)(e.value,(0,i.extname)(e.value)),o=h[a]||a;t=n.memberExpression(n.identifier("global"),n.identifier(n.toIdentifier(o)))}return t}),y=f?f.value:this.file.opts.basename,g=n.memberExpression(n.identifier("global"),n.identifier(n.toIdentifier(y))),b=null;if(r.opts.exactGlobals){var E=h[y];if(E){b=[];var x=E.split(".");g=x.slice(1).reduce(function(e,t){return b.push(o({GLOBAL_REFERENCE:e})),n.memberExpression(e,n.identifier(t))},n.memberExpression(n.identifier("global"),n.identifier(x[0])))}}var A=u({BROWSER_ARGUMENTS:v,PREREQUISITE_ASSIGNMENTS:b,GLOBAL_TO_ASSIGN:g});s.replaceWith(l({MODULE_NAME:f,AMD_ARGUMENTS:p,COMMON_ARGUMENTS:m,GLOBAL_EXPORT:A,FUNC:d}))}}}}}};var i=r(17),s=r(4),a=n(s),o=(0,a.default)("\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n"),u=(0,a.default)("\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n PREREQUISITE_ASSIGNMENTS\n GLOBAL_TO_ASSIGN = mod.exports;\n"),l=(0,a.default)('\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMON_ARGUMENTS);\n } else {\n GLOBAL_EXPORT\n }\n })(this, FUNC);\n');e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){function t(e,r,i){var s=e.specifiers[0];if(n.isExportNamespaceSpecifier(s)||n.isExportDefaultSpecifier(s)){var a=e.specifiers.shift(),o=i.generateUidIdentifier(a.exported.name),u=void 0;u=n.isExportNamespaceSpecifier(a)?n.importNamespaceSpecifier(o):n.importDefaultSpecifier(o),r.push(n.importDeclaration([u],e.source)),r.push(n.exportNamedDeclaration(null,[n.exportSpecifier(o,a.exported)])),t(e,r,i)}}var n=e.types;return{inherits:r(198),visitor:{ExportNamedDeclaration:function(e){var r=e.node,n=e.scope,i=[];t(r,i,n),i.length&&(r.specifiers.length>=1&&i.push(r),e.replaceWithMultiple(i))}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){var t=e.types,n="@flow";return{inherits:r(67),visitor:{Program:function(e,t){for(var r=t.file.ast.comments,i=r,a=Array.isArray(i),o=0,i=a?i:(0,s.default)(i);;){var u;if(a){if(o>=i.length)break;u=i[o++]}else{if(o=i.next(),o.done)break;u=o.value}var l=u;l.value.indexOf(n)>=0&&(l.value=l.value.replace(n,""),l.value.replace(/\*/g,"").trim()||(l.ignore=!0))}},Flow:function(e){e.remove()},ClassProperty:function(e){e.node.variance=null,e.node.typeAnnotation=null,e.node.value||e.remove()},Class:function(e){e.node.implements=null,e.get("body.body").forEach(function(e){e.isClassProperty()&&(e.node.typeAnnotation=null,e.node.value||e.remove())})},AssignmentPattern:function(e){var t=e.node;t.left.optional=!1},Function:function(e){for(var t=e.node,r=0;r=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var a=i;if(o.isSpreadProperty(a))return!0}return!1}function i(e,t,r){for(var n=t.pop(),i=[],a=t,u=Array.isArray(a),l=0,a=u?a:(0,s.default)(a);;){var c;if(u){if(l>=a.length)break;c=a[l++]}else{if(l=a.next(),l.done)break;c=l.value}var f=c,p=f.key;o.isIdentifier(p)&&!f.computed&&(p=o.stringLiteral(f.key.name)),i.push(p)}return[n.argument,o.callExpression(e.addHelper("objectWithoutProperties"),[r,o.arrayExpression(i)])]}function a(e,r,n,i){if(r.isAssignmentPattern())return void a(e,r.get("left"),n,i);if(r.isObjectPattern()&&t(r)){var s=e.scope.generateUidIdentifier("ref"),u=o.variableDeclaration("let",[o.variableDeclarator(r.node,s)]);u._blockHoist=n?i-n:1,e.ensureBlock(),e.get("body").unshiftContainer("body",u),r.replaceWith(s)}}var o=e.types;return{inherits:r(200),visitor:{Function:function(e){for(var t=e.get("params"),r=0;r1&&!o.isIdentifier(this.originalPath.node.init)){var n=e.scope.generateUidIdentifierBasedOnNode(this.originalPath.node.init,"ref");return this.originalPath.insertBefore(o.variableDeclarator(n,this.originalPath.node.init)),void this.originalPath.replaceWith(o.variableDeclarator(this.originalPath.node.id,n))}var s=this.originalPath.node.init;e.findParent(function(e){if(e.isObjectProperty())s=o.memberExpression(s,o.identifier(e.node.key.name));else if(e.isVariableDeclarator())return!0});var a=i(t,e.parentPath.node.properties,s),u=a[0],l=a[1];r.insertAfter(o.variableDeclarator(u,l)),r=r.getSibling(r.key+1),0===e.parentPath.node.properties.length&&e.findParent(function(e){return e.isObjectProperty()||e.isVariableDeclarator()}).remove()}},{originalPath:e})}},ExportNamedDeclaration:function(e){var r=e.get("declaration");if(r.isVariableDeclaration()&&t(r)){var n=[];for(var i in e.getOuterBindingIdentifiers(e)){var s=o.identifier(i);n.push(o.exportSpecifier(s,s))}e.replaceWith(r.node),e.insertAfter(o.exportNamedDeclaration(null,n))}},CatchClause:function(e){var t=e.get("param");a(t.parentPath,t)},AssignmentExpression:function(e,r){var n=e.get("left");if(n.isObjectPattern()&&t(n)){var s=[],a=void 0;(e.isCompletionRecord()||e.parentPath.isExpressionStatement())&&(a=e.scope.generateUidIdentifierBasedOnNode(e.node.right,"ref"),s.push(o.variableDeclaration("var",[o.variableDeclarator(a,e.node.right)])));var u=i(r,e.node.left.properties,a),l=u[0],c=u[1],f=o.clone(e.node);f.right=a,s.push(o.expressionStatement(f)),s.push(o.toStatement(o.assignmentExpression("=",l,c))),a&&s.push(o.expressionStatement(a)),e.replaceWithMultiple(s)}},ForXStatement:function(e){var r=e.node,n=e.scope,i=e.get("left"),s=r.left;if(o.isObjectPattern(s)&&t(i)){var a=n.generateUidIdentifier("ref");return r.left=o.variableDeclaration("var",[o.variableDeclarator(a)]),e.ensureBlock(),void r.body.body.unshift(o.variableDeclaration("var",[o.variableDeclarator(s,a)]))}if(o.isVariableDeclaration(s)){var u=s.declarations[0].id;if(o.isObjectPattern(u)){var l=n.generateUidIdentifier("ref");r.left=o.variableDeclaration(s.kind,[o.variableDeclarator(l,null)]),e.ensureBlock(),r.body.body.unshift(o.variableDeclaration(r.left.kind,[o.variableDeclarator(u,l)]))}}},ObjectExpression:function(e,t){function r(){u.length&&(a.push(o.objectExpression(u)),u=[])}if(n(e.node)){var i=t.opts.useBuiltIns||!1;if("boolean"!=typeof i)throw new Error("transform-object-rest-spread currently only accepts a boolean option for useBuiltIns (defaults to false)");for(var a=[],u=[],l=e.node.properties,c=Array.isArray(l),f=0,l=c?l:(0,s.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;o.isSpreadProperty(d)?(r(),a.push(d.argument)):u.push(d)}r(),o.isObjectExpression(a[0])||a.unshift(o.objectExpression([]));var h=i?o.memberExpression(o.identifier("Object"),o.identifier("assign")):t.addHelper("extends");e.replaceWith(o.callExpression(h,a))}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(e,t){for(var r=t.arguments[0].properties,i=!0,s=0;s=o.length)break;c=o[l++]}else{if(l=o.next(),l.done)break;c=l.value}var f=c,p=r.exec(f.value);if(p){if(a=p[1],"React.DOM"===a)throw i.buildCodeFrameError(f,"The @jsx React.DOM pragma has been deprecated as of React 0.12");break}}n.set("jsxIdentifier",function(){return a.split(".").map(function(e){return t.identifier(e)}).reduce(function(e,r){return t.memberExpression(e,r)})})},{inherits:o.default,visitor:n}};var a=r(125),o=n(a),u=r(185),l=n(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s);t.default=function(){return{visitor:{Program:function(e,t){if(t.opts.strict!==!1&&t.opts.strictMode!==!1){for(var r=e.node,n=r.directives,i=Array.isArray(n),s=0,n=i?n:(0,a.default)(n);;){var o;if(i){if(s>=n.length)break;o=n[s++]}else{if(s=n.next(),s.done)break;o=s.value}var l=o;if("use strict"===l.value.value)return}e.unshiftContainer("directives",u.directive(u.directiveLiteral("use strict")))}}}}};var o=r(1),u=n(o);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=["commonjs","amd","umd","systemjs"],n=!1,i="commonjs",s=!1;if(void 0!==t&&(void 0!==t.loose&&(n=t.loose),void 0!==t.modules&&(i=t.modules),void 0!==t.spec&&(s=t.spec)),"boolean"!=typeof n)throw new Error("Preset es2015 'loose' option must be a boolean.");if("boolean"!=typeof s)throw new Error("Preset es2015 'spec' option must be a boolean.");if(i!==!1&&r.indexOf(i)===-1)throw new Error("Preset es2015 'modules' option must be 'false' to indicate no modules\nor a module type which be be one of: 'commonjs' (default), 'amd', 'umd', 'systemjs'");var o={loose:n};return{plugins:[[a.default,{loose:n,spec:s}],u.default,c.default,[p.default,{spec:s}],h.default,[v.default,o],g.default,E.default,A.default,[_.default,o],[C.default,o],F.default,k.default,O.default,[R.default,o],M.default,[L.default,o],U.default,G.default,"commonjs"===i&&[Y.default,o],"systemjs"===i&&[K.default,o],"amd"===i&&[J.default,o],"umd"===i&&[z.default,o],[Q.default,{async:!1,asyncGenerators:!1}]].filter(Boolean)}}t.__esModule=!0;var s=r(83),a=n(s),o=r(76),u=n(o),l=r(75),c=n(l),f=r(68),p=n(f),d=r(69),h=n(d),m=r(71),v=n(m),y=r(78),g=n(y),b=r(80),E=n(b),x=r(128),A=n(x),S=r(72),_=n(S),D=r(74),C=n(D),w=r(82),F=n(w),P=r(85),k=n(P),T=r(65),O=n(T),B=r(81),R=n(B),I=r(79),M=n(I),N=r(73),L=n(N),j=r(70),U=n(j),V=r(84),G=n(V),W=r(77),Y=n(W),q=r(206),K=n(q),H=r(129),J=n(H),X=r(207),z=n(X),$=r(86),Q=n($),Z=i({});t.default=Z,Object.defineProperty(Z,"buildPreset",{configurable:!0,writable:!0,enumerable:!1,value:i}),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(130),s=n(i);t.default={plugins:[s.default]},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(126),s=n(i),a=r(127),o=n(a);t.default={plugins:[s.default,o.default]},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(219),s=n(i),a=r(201),o=n(a),u=r(208),l=n(u);t.default={presets:[s.default],plugins:[o.default,l.default]},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(220),s=n(i),a=r(202),o=n(a),u=r(203),l=n(u),c=r(320),f=n(c);t.default={presets:[s.default],plugins:[f.default,o.default,l.default]},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(126),s=n(i),a=r(127),o=n(a),u=r(130),l=n(u),c=r(211),f=n(c),p=r(323),d=n(p);t.default={plugins:[s.default,o.default,l.default,d.default,f.default]},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=function e(t,r){(0,s.default)(this,e),this.file=t,this.options=r};t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var i=r(1),s=n(i);t.ReferencedIdentifier={types:["Identifier","JSXIdentifier"],checkPath:function(e,t){var r=e.node,n=e.parent;if(!s.isIdentifier(r,t)&&!s.isJSXMemberExpression(n,t)){if(!s.isJSXIdentifier(r,t))return!1;if(i.react.isCompatTag(r.name))return!1}return s.isReferenced(r,n)}},t.ReferencedMemberExpression={types:["MemberExpression"],checkPath:function(e){var t=e.node,r=e.parent;return s.isMemberExpression(t)&&s.isReferenced(t,r)}},t.BindingIdentifier={types:["Identifier"],checkPath:function(e){var t=e.node,r=e.parent;return s.isIdentifier(t)&&s.isBinding(t,r)}},t.Statement={types:["Statement"],checkPath:function(e){var t=e.node,r=e.parent;if(s.isStatement(t)){if(s.isVariableDeclaration(t)){if(s.isForXStatement(r,{left:t}))return!1;if(s.isForStatement(r,{init:t}))return!1}return!0}return!1}},t.Expression={types:["Expression"],checkPath:function(e){return e.isIdentifier()?e.isReferencedIdentifier():s.isExpression(e.node)}},t.Scope={types:["Scopable"],checkPath:function(e){return s.isScope(e.node,e.parent)}},t.Referenced={checkPath:function(e){return s.isReferenced(e.node,e.parent)}},t.BlockScoped={checkPath:function(e){return s.isBlockScoped(e.node)}},t.Var={types:["VariableDeclaration"],checkPath:function(e){return s.isVar(e.node)}},t.User={checkPath:function(e){return e.node&&!!e.node.loc}},t.Generated={checkPath:function(e){return!e.isUser()}},t.Pure={checkPath:function(e,t){return e.scope.isPure(e.node,t)}},t.Flow={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath:function(e){var t=e.node;return!!s.isFlow(t)||(s.isImportDeclaration(t)?"type"===t.importKind||"typeof"===t.importKind:s.isExportDeclaration(t)?"type"===t.exportKind:!!s.isImportSpecifier(t)&&("type"===t.importKind||"typeof"===t.importKind))}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=function(){function e(t){var r=t.existing,n=t.identifier,i=t.scope,a=t.path,o=t.kind;(0,s.default)(this,e),this.identifier=n,this.scope=i,this.path=a,this.kind=o,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.clearValue(),r&&(this.constantViolations=[].concat(r.path,r.constantViolations,this.constantViolations))}return e.prototype.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},e.prototype.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},e.prototype.clearValue=function(){ -this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},e.prototype.reassign=function(e){this.constant=!1,this.constantViolations.indexOf(e)===-1&&this.constantViolations.push(e)},e.prototype.reference=function(e){this.referencePaths.indexOf(e)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},e.prototype.dereference=function(){this.references--,this.referenced=!!this.references},e}();t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){for(var n=[].concat(e),i=(0,u.default)(null);n.length;){var s=n.shift();if(s){var a=c.getBindingIdentifiers.keys[s.type];if(c.isIdentifier(s))if(t){var o=i[s.name]=i[s.name]||[];o.push(s)}else i[s.name]=s;else if(c.isExportDeclaration(s))c.isDeclaration(s.declaration)&&n.push(s.declaration);else{if(r){if(c.isFunctionDeclaration(s)){n.push(s.id);continue}if(c.isFunctionExpression(s))continue}if(a)for(var l=0;ll;)for(var p,d=o(arguments[l++]),h=c?n(d).concat(c(d)):n(d),m=h.length,v=0;m>v;)f.call(d,p=h[v++])&&(r[p]=d[p]);return r}:u},function(e,t,r){"use strict";var n=r(92),i=r(93),s=r(37),a=r(150),o=r(27),u=r(228),l=Object.getOwnPropertyDescriptor;t.f=r(20)?l:function(e,t){if(e=s(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(o(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";var n=r(234),i=r(139).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(27),i=r(37),s=r(414)(!1),a=r(146)("IE_PROTO");e.exports=function(e,t){var r,o=i(e),u=0,l=[];for(r in o)r!=a&&n(o,r)&&l.push(r);for(;t.length>u;)n(o,r=t[u++])&&(~s(l,r)||l.push(r));return l}},function(e,t,r){"use strict";var n=r(225),i=r(12)("iterator"),s=r(55);e.exports=r(5).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||s[n(e)]}},function(e,t,r){(function(n){"use strict";function i(){return!("undefined"==typeof window||!window||"undefined"==typeof window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function s(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0,s=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(s=i))}),e.splice(s,0,n)}}function a(){return"object"===("undefined"==typeof console?"undefined":c(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function u(){try{return t.storage.debug}catch(e){}if("undefined"!=typeof n&&"env"in n)return n.env.DEBUG}function l(){try{return window.localStorage}catch(e){}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=e.exports=r(446),t.log=a,t.formatArgs=s,t.save=o,t.load=u,t.useColors=i,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(u())}).call(t,r(9))},function(e,t){"use strict";!function(){function t(e){return 48<=e&&e<=57}function r(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function n(e){return e>=48&&e<=55}function i(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&d.indexOf(e)>=0}function s(e){return 10===e||13===e||8232===e||8233===e}function a(e){if(e<=65535)return String.fromCharCode(e);var t=String.fromCharCode(Math.floor((e-65536)/1024)+55296),r=String.fromCharCode((e-65536)%1024+56320);return t+r}function o(e){return e<128?h[e]:p.NonAsciiIdentifierStart.test(a(e))}function u(e){return e<128?m[e]:p.NonAsciiIdentifierPart.test(a(e))}function l(e){return e<128?h[e]:f.NonAsciiIdentifierStart.test(a(e))}function c(e){return e<128?m[e]:f.NonAsciiIdentifierPart.test(a(e))}var f,p,d,h,m,v;for(p={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},f={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},d=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],h=new Array(128),v=0;v<128;++v)h[v]=v>=97&&v<=122||v>=65&&v<=90||36===v||95===v;for(m=new Array(128),v=0;v<128;++v)m[v]=v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||36===v||95===v;e.exports={isDecimalDigit:t,isHexDigit:r,isOctalDigit:n,isWhiteSpace:i,isLineTerminator:s,isIdentifierStartES5:o,isIdentifierPartES5:u,isIdentifierStartES6:l,isIdentifierPartES6:c}}()},function(e,t,r){"use strict";var n=r(38),i=r(15),s=n(i,"Set");e.exports=s},function(e,t,r){"use strict";function n(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new i;++t-1?o[u?t[l]:l]:void 0}}var i=r(59),s=r(24),a=r(31);e.exports=n},function(e,t,r){"use strict";var n=r(38),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,r){"use strict";function n(e,t,r,n,l,c){var f=r&o,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,v=!0,y=r&u?new i:void 0;for(c.set(e,t),c.set(t,e);++mn&&(t[n]=t[r]),++n);return t.length=n,t},r(t,"makeAccessor",u)},function(e,t,r){var n;(function(e,i){"use strict";var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(a){var o="object"==s(t)&&t,u="object"==s(e)&&e&&e.exports==o&&e,l="object"==("undefined"==typeof i?"undefined":s(i))&&i;l.global!==l&&l.window!==l||(a=l);var c={rangeOrder:"A range’s `stop` value must be greater than or equal to the `start` value.",codePointRange:"Invalid code point value. Code points range from U+000000 to U+10FFFF."},f=55296,p=56319,d=56320,h=57343,m=/\\x00([^0123456789]|$)/g,v={},y=v.hasOwnProperty,g=function(e,t){var r;for(r in t)y.call(t,r)&&(e[r]=t[r]);return e},b=function(e,t){for(var r=-1,n=e.length;++r=r&&tr)return e;if(t<=n&&r>=i)e.splice(s,2);else{if(t>=n&&r=n&&t<=i)e[s+1]=t;else if(r>=n&&r<=i)return e[s]=r+1,e;s+=2}}return e},k=function(e,t){var r,n,i=0,s=null,a=e.length;if(t<0||t>1114111)throw RangeError(c.codePointRange);for(;i=r&&tt)return e.splice(null!=s?s+2:0,0,t,t+1),e;if(t==n)return t+1==e[i+2]?(e.splice(i,4,r,e[i+3]),e):(e[i+1]=t+1,e);s=i,i+=2}return e.push(t,t+1),e},T=function(e,t){for(var r,n,i=0,s=e.slice(),a=t.length;i1114111||r<0||r>1114111)throw RangeError(c.codePointRange);for(var n,i,s=0,a=!1,o=e.length;sr)return e;n>=t&&n<=r&&(i>t&&i-1<=r?(e.splice(s,2),s-=2):(e.splice(s-1,2),s-=2))}else{if(n==r+1)return e[s]=t,e;if(n>r)return e.splice(s,0,t,r+1),e;if(t>=n&&t=n&&t=i&&(e[s]=t,e[s+1]=r+1,a=!0)}s+=2}return a||e.push(t,r+1),e},R=function(e,t){var r=0,n=e.length,i=e[r],s=e[n-1];if(n>=2&&(ts))return!1;for(;r=i&&t=40&&e<=43||45==e||46==e||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+G(e):e>=32&&e<=126?G(e):e<=255?"\\x"+_(D(e),2):"\\u"+_(D(e),4)},Y=function(e){return e<=65535?W(e):"\\u{"+e.toString(16).toUpperCase()+"}"},q=function(e){var t,r=e.length,n=e.charCodeAt(0);return n>=f&&n<=p&&r>1?(t=e.charCodeAt(1),1024*(n-f)+t-d+65536):n},K=function(e){var t,r,n="",i=0,s=e.length;if(N(e))return W(e[0]);for(;i=f&&r<=p&&(s.push(t,f),n.push(f,r+1)),r>=d&&r<=h&&(s.push(t,f),n.push(f,p+1),i.push(d,r+1)),r>h&&(s.push(t,f),n.push(f,p+1),i.push(d,h+1),r<=65535?s.push(h+1,r+1):(s.push(h+1,65536),a.push(65536,r+1)))):t>=f&&t<=p?(r>=f&&r<=p&&n.push(t,r+1),r>=d&&r<=h&&(n.push(t,p+1),i.push(d,r+1)),r>h&&(n.push(t,p+1),i.push(d,h+1),r<=65535?s.push(h+1,r+1):(s.push(h+1,65536),a.push(65536,r+1)))):t>=d&&t<=h?(r>=d&&r<=h&&i.push(t,r+1),r>h&&(i.push(t,h+1),r<=65535?s.push(h+1,r+1):(s.push(h+1,65536),a.push(65536,r+1)))):t>h&&t<=65535?r<=65535?s.push(t,r+1):(s.push(t,65536),a.push(65536,r+1)):a.push(t,r+1),o+=2;return{loneHighSurrogates:n,loneLowSurrogates:i,bmp:s,astral:a}},X=function(e){for(var t,r,n,i,s,a,o=[],u=[],l=!1,c=-1,f=e.length;++c1&&(t=C.call(arguments)),this instanceof e?(this.data=[],t?this.add(t):this):(new e).add(t)};ee.version="1.3.2";var te=ee.prototype;g(te,{add:function(e){var t=this;return null==e?t:e instanceof ee?(t.data=T(t.data,e.data),t):(arguments.length>1&&(e=C.call(arguments)),x(e)?(b(e,function(e){t.add(e)}),t):(t.data=k(t.data,A(e)?e:q(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof ee?(t.data=O(t.data,e.data),t):(arguments.length>1&&(e=C.call(arguments)),x(e)?(b(e,function(e){t.remove(e)}),t):(t.data=F(t.data,A(e)?e:q(e)),t))},addRange:function(e,t){var r=this;return r.data=B(r.data,A(e)?e:q(e),A(t)?t:q(t)),r},removeRange:function(e,t){var r=this,n=A(e)?e:q(e),i=A(t)?t:q(t);return r.data=P(r.data,n,i),r},intersection:function(e){var t=this,r=e instanceof ee?L(e.data):e;return t.data=I(t.data,r),t},contains:function(e){return R(this.data,A(e)?e:q(e))},clone:function(){var e=new ee;return e.data=this.data.slice(0),e},toString:function(e){var t=Z(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(m,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return L(this.data)}}),te.toArray=te.valueOf,"object"==s(r(48))&&r(48)?(n=function(){return ee}.call(t,r,t,e),!(void 0!==n&&(e.exports=n))):o&&!o.nodeType?u?u.exports=ee:o.regenerate=ee:a.regenerate=ee}(void 0)}).call(t,r(39)(e),function(){return this}())},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){h.default.ok(this instanceof s),v.assertIdentifier(e),this.nextTempId=0,this.contextId=e,this.listing=[],this.marked=[!0],this.finalLoc=a(),this.tryEntries=[],this.leapManager=new g.LeapManager(this)}function a(){return v.numericLiteral(-1)}function o(e){return new Error("all declarations should have been transformed into assignments before the Exploder began its work: "+(0,p.default)(e))}function u(e){var t=e.type;return"normal"===t?!S.call(e,"target"):"break"===t||"continue"===t?!S.call(e,"value")&&v.isLiteral(e.target):("return"===t||"throw"===t)&&(S.call(e,"value")&&!S.call(e,"target"))}var l=r(6),c=i(l),f=r(34),p=i(f),d=r(63),h=i(d),m=r(1),v=n(m),y=r(604),g=n(y),b=r(605),E=n(b),x=r(280),A=n(x),S=Object.prototype.hasOwnProperty,_=s.prototype;t.Emitter=s,_.mark=function(e){v.assertLiteral(e);var t=this.listing.length;return e.value===-1?e.value=t:h.default.strictEqual(e.value,t),this.marked[t]=!0,e},_.emit=function(e){v.isExpression(e)&&(e=v.expressionStatement(e)),v.assertStatement(e),this.listing.push(e)},_.emitAssign=function(e,t){return this.emit(this.assign(e,t)),e},_.assign=function(e,t){return v.expressionStatement(v.assignmentExpression("=",e,t))},_.contextProperty=function(e,t){return v.memberExpression(this.contextId,t?v.stringLiteral(e):v.identifier(e),!!t)},_.stop=function(e){e&&this.setReturnValue(e),this.jump(this.finalLoc)},_.setReturnValue=function(e){v.assertExpression(e.value),this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))},_.clearPendingException=function(e,t){v.assertLiteral(e);var r=v.callExpression(this.contextProperty("catch",!0),[e]);t?this.emitAssign(t,r):this.emit(r)},_.jump=function(e){this.emitAssign(this.contextProperty("next"),e),this.emit(v.breakStatement())},_.jumpIf=function(e,t){v.assertExpression(e),v.assertLiteral(t),this.emit(v.ifStatement(e,v.blockStatement([this.assign(this.contextProperty("next"),t),v.breakStatement()])))},_.jumpIfNot=function(e,t){v.assertExpression(e),v.assertLiteral(t);var r=void 0;r=v.isUnaryExpression(e)&&"!"===e.operator?e.argument:v.unaryExpression("!",e),this.emit(v.ifStatement(r,v.blockStatement([this.assign(this.contextProperty("next"),t),v.breakStatement()])))},_.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)},_.getContextFunction=function(e){return v.functionExpression(e||null,[this.contextId],v.blockStatement([this.getDispatchLoop()]),!1,!1)},_.getDispatchLoop=function(){var e=this,t=[],r=void 0,n=!1;return e.listing.forEach(function(i,s){e.marked.hasOwnProperty(s)&&(t.push(v.switchCase(v.numericLiteral(s),r=[])),n=!1),n||(r.push(i),v.isCompletionStatement(i)&&(n=!0))}),this.finalLoc.value=this.listing.length,t.push(v.switchCase(this.finalLoc,[]),v.switchCase(v.stringLiteral("end"),[v.returnStatement(v.callExpression(this.contextProperty("stop"),[]))])),v.whileStatement(v.numericLiteral(1),v.switchStatement(v.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),t))},_.getTryLocsList=function(){if(0===this.tryEntries.length)return null;var e=0;return v.arrayExpression(this.tryEntries.map(function(t){var r=t.firstLoc.value;h.default.ok(r>=e,"try entries out of order"),e=r;var n=t.catchEntry,i=t.finallyEntry,s=[t.firstLoc,n?n.firstLoc:null];return i&&(s[2]=i.firstLoc,s[3]=i.afterLoc),v.arrayExpression(s)}))},_.explode=function(e,t){var r=e.node,n=this;if(v.assertNode(r),v.isDeclaration(r))throw o(r);if(v.isStatement(r))return n.explodeStatement(e);if(v.isExpression(r))return n.explodeExpression(e,t);switch(r.type){case"Program":return e.get("body").map(n.explodeStatement,n);case"VariableDeclarator":throw o(r);case"Property":case"SwitchCase":case"CatchClause":throw new Error(r.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+(0,p.default)(r.type))}},_.explodeStatement=function(e,t){var r=e.node,n=this,i=void 0,s=void 0,o=void 0;if(v.assertStatement(r),t?v.assertIdentifier(t):t=null,v.isBlockStatement(r))return void e.get("body").forEach(function(e){n.explodeStatement(e)});if(!E.containsLeap(r))return void n.emit(r);var u=function(){switch(r.type){case"ExpressionStatement":n.explodeExpression(e.get("expression"),!0);break;case"LabeledStatement":s=a(),n.leapManager.withEntry(new g.LabeledEntry(s,r.label),function(){n.explodeStatement(e.get("body"),r.label)}),n.mark(s);break;case"WhileStatement":i=a(),s=a(),n.mark(i),n.jumpIfNot(n.explodeExpression(e.get("test")),s),n.leapManager.withEntry(new g.LoopEntry(s,i,t),function(){n.explodeStatement(e.get("body"))}),n.jump(i),n.mark(s);break;case"DoWhileStatement":var u=a(),l=a();s=a(),n.mark(u),n.leapManager.withEntry(new g.LoopEntry(s,l,t),function(){n.explode(e.get("body"))}),n.mark(l),n.jumpIf(n.explodeExpression(e.get("test")),u),n.mark(s);break;case"ForStatement":o=a();var c=a();s=a(),r.init&&n.explode(e.get("init"),!0),n.mark(o),r.test&&n.jumpIfNot(n.explodeExpression(e.get("test")),s),n.leapManager.withEntry(new g.LoopEntry(s,c,t),function(){n.explodeStatement(e.get("body"))}),n.mark(c),r.update&&n.explode(e.get("update"),!0),n.jump(o),n.mark(s);break;case"TypeCastExpression":return{v:n.explodeExpression(e.get("expression"))};case"ForInStatement":o=a(),s=a();var f=n.makeTempVar();n.emitAssign(f,v.callExpression(A.runtimeProperty("keys"),[n.explodeExpression(e.get("right"))])),n.mark(o);var d=n.makeTempVar();n.jumpIf(v.memberExpression(v.assignmentExpression("=",d,v.callExpression(f,[])),v.identifier("done"),!1),s),n.emitAssign(r.left,v.memberExpression(d,v.identifier("value"),!1)),n.leapManager.withEntry(new g.LoopEntry(s,o,t),function(){n.explodeStatement(e.get("body"))}),n.jump(o),n.mark(s);break;case"BreakStatement":n.emitAbruptCompletion({type:"break",target:n.leapManager.getBreakLoc(r.label)});break;case"ContinueStatement":n.emitAbruptCompletion({type:"continue",target:n.leapManager.getContinueLoc(r.label)});break;case"SwitchStatement":var m=n.emitAssign(n.makeTempVar(),n.explodeExpression(e.get("discriminant")));s=a();for(var y=a(),b=y,E=[],x=r.cases||[],S=x.length-1;S>=0;--S){var _=x[S];v.assertSwitchCase(_),_.test?b=v.conditionalExpression(v.binaryExpression("===",m,_.test),E[S]=a(),b):E[S]=y}var C=e.get("discriminant");C.replaceWith(b),n.jump(n.explodeExpression(C)),n.leapManager.withEntry(new g.SwitchEntry(s),function(){e.get("cases").forEach(function(e){var t=e.key;n.mark(E[t]),e.get("consequent").forEach(function(e){n.explodeStatement(e)})})}),n.mark(s),y.value===-1&&(n.mark(y),h.default.strictEqual(s.value,y.value));break;case"IfStatement":var w=r.alternate&&a();s=a(),n.jumpIfNot(n.explodeExpression(e.get("test")),w||s),n.explodeStatement(e.get("consequent")),w&&(n.jump(s),n.mark(w),n.explodeStatement(e.get("alternate"))),n.mark(s);break;case"ReturnStatement":n.emitAbruptCompletion({type:"return",value:n.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":s=a();var F=r.handler,P=F&&a(),k=P&&new g.CatchEntry(P,F.param),T=r.finalizer&&a(),O=T&&new g.FinallyEntry(T,s),B=new g.TryEntry(n.getUnmarkedCurrentLoc(),k,O);n.tryEntries.push(B),n.updateContextPrevLoc(B.firstLoc),n.leapManager.withEntry(B,function(){n.explodeStatement(e.get("block")),P&&!function(){T?n.jump(T):n.jump(s),n.updateContextPrevLoc(n.mark(P));var t=e.get("handler.body"),r=n.makeTempVar();n.clearPendingException(B.firstLoc,r),t.traverse(D,{safeParam:r,catchParamName:F.param.name}),n.leapManager.withEntry(k,function(){n.explodeStatement(t)})}(),T&&(n.updateContextPrevLoc(n.mark(T)),n.leapManager.withEntry(O,function(){n.explodeStatement(e.get("finalizer"))}),n.emit(v.returnStatement(v.callExpression(n.contextProperty("finish"),[O.firstLoc]))))}),n.mark(s);break;case"ThrowStatement":n.emit(v.throwStatement(n.explodeExpression(e.get("argument"))));break;default:throw new Error("unknown Statement of type "+(0,p.default)(r.type))}}();return"object"===("undefined"==typeof u?"undefined":(0,c.default)(u))?u.v:void 0};var D={Identifier:function(e,t){e.node.name===t.catchParamName&&A.isReference(e)&&e.replaceWith(t.safeParam)},Scope:function(e,t){e.scope.hasOwnBinding(t.catchParamName)&&e.skip()}};_.emitAbruptCompletion=function(e){u(e)||h.default.ok(!1,"invalid completion record: "+(0,p.default)(e)),h.default.notStrictEqual(e.type,"normal","normal completions are not abrupt");var t=[v.stringLiteral(e.type)];"break"===e.type||"continue"===e.type?(v.assertLiteral(e.target),t[1]=e.target):"return"!==e.type&&"throw"!==e.type||e.value&&(v.assertExpression(e.value),t[1]=e.value),this.emit(v.returnStatement(v.callExpression(this.contextProperty("abrupt"),t)))},_.getUnmarkedCurrentLoc=function(){return v.numericLiteral(this.listing.length)},_.updateContextPrevLoc=function(e){e?(v.assertLiteral(e),e.value===-1?e.value=this.listing.length:h.default.strictEqual(e.value,this.listing.length)):e=this.getUnmarkedCurrentLoc(),this.emitAssign(this.contextProperty("prev"),e)},_.explodeExpression=function(e,t){function r(e){return v.assertExpression(e),t?void s.emit(e):e}function n(e,t,r){h.default.ok(!r||!e,"Ignoring the result of a child expression but forcing it to be assigned to a temporary variable?");var n=s.explodeExpression(t,r);return r||(e||l&&!v.isLiteral(n))&&(n=s.emitAssign(e||s.makeTempVar(),n)),n}var i=e.node;if(!i)return i;v.assertExpression(i);var s=this,o=void 0,u=void 0;if(!E.containsLeap(i))return r(i);var l=E.containsLeap.onlyChildren(i),f=function(){switch(i.type){case"MemberExpression":return{v:r(v.memberExpression(s.explodeExpression(e.get("object")),i.computed?n(null,e.get("property")):i.property,i.computed))};case"CallExpression":var l=e.get("callee"),c=e.get("arguments"),f=void 0,d=[],m=!1;if(c.forEach(function(e){m=m||E.containsLeap(e.node)}),v.isMemberExpression(l.node))if(m){var y=n(s.makeTempVar(),l.get("object")),g=l.node.computed?n(null,l.get("property")):l.node.property;d.unshift(y),f=v.memberExpression(v.memberExpression(y,g,l.node.computed),v.identifier("call"),!1)}else f=s.explodeExpression(l);else f=n(null,l),v.isMemberExpression(f)&&(f=v.sequenceExpression([v.numericLiteral(0),f]));return c.forEach(function(e){d.push(n(null,e))}),{v:r(v.callExpression(f,d))};case"NewExpression":return{v:r(v.newExpression(n(null,e.get("callee")),e.get("arguments").map(function(e){return n(null,e)})))};case"ObjectExpression":return{v:r(v.objectExpression(e.get("properties").map(function(e){return e.isObjectProperty()?v.objectProperty(e.node.key,n(null,e.get("value")),e.node.computed):e.node})))};case"ArrayExpression":return{v:r(v.arrayExpression(e.get("elements").map(function(e){return n(null,e)})))};case"SequenceExpression":var b=i.expressions.length-1;return e.get("expressions").forEach(function(e){e.key===b?o=s.explodeExpression(e,t):s.explodeExpression(e,!0)}),{v:o};case"LogicalExpression":u=a(),t||(o=s.makeTempVar());var x=n(o,e.get("left"));return"&&"===i.operator?s.jumpIfNot(x,u):(h.default.strictEqual(i.operator,"||"),s.jumpIf(x,u)),n(o,e.get("right"),t),s.mark(u),{v:o};case"ConditionalExpression":var A=a();u=a();var S=s.explodeExpression(e.get("test"));return s.jumpIfNot(S,A),t||(o=s.makeTempVar()),n(o,e.get("consequent"),t),s.jump(u),s.mark(A),n(o,e.get("alternate"),t),s.mark(u),{v:o};case"UnaryExpression":return{v:r(v.unaryExpression(i.operator,s.explodeExpression(e.get("argument")),!!i.prefix))};case"BinaryExpression":return{v:r(v.binaryExpression(i.operator,n(null,e.get("left")),n(null,e.get("right"))))};case"AssignmentExpression":return{v:r(v.assignmentExpression(i.operator,s.explodeExpression(e.get("left")),s.explodeExpression(e.get("right"))))};case"UpdateExpression":return{v:r(v.updateExpression(i.operator,s.explodeExpression(e.get("argument")),i.prefix))};case"YieldExpression":u=a();var _=i.argument&&s.explodeExpression(e.get("argument"));if(_&&i.delegate){var D=s.makeTempVar();return s.emit(v.returnStatement(v.callExpression(s.contextProperty("delegateYield"),[_,v.stringLiteral(D.property.name),u]))),s.mark(u),{v:D}}return s.emitAssign(s.contextProperty("next"),u),s.emit(v.returnStatement(_||null)),s.mark(u),{v:s.contextProperty("sent")};default:throw new Error("unknown Expression of type "+(0,p.default)(i.type))}}();return"object"===("undefined"==typeof f?"undefined":(0,c.default)(f))?f.v:void 0}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return o.memberExpression(o.identifier("regeneratorRuntime"),o.identifier(e),!1)}function s(e){return e.isReferenced()||e.parentPath.isAssignmentExpression({left:e.node})}t.__esModule=!0,t.runtimeProperty=i,t.isReference=s;var a=r(1),o=n(a)},function(e,t){"use strict";e.exports=function(e){var t=/^\\\\\?\\/.test(e),r=/[^\x00-\x80]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}},function(e,t,r){"use strict";function n(){this._array=[],this._set=Object.create(null)}var i=r(62),s=Object.prototype.hasOwnProperty;n.fromArray=function(e,t){for(var r=new n,i=0,s=e.length;i=0&&e>1;return t?-r:r}var s=r(612),a=5,o=1<>>=a,i>0&&(t|=l),r+=s.encode(t);while(i>0);return r},t.decode=function(e,t,r){var n,o,c=e.length,f=0,p=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(o=s.decode(e.charCodeAt(t++)),o===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));n=!!(o&l),o&=u,f+=o<0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},n.prototype._serializeMappings=function(){for(var e,t,r,n,a=0,o=1,u=0,l=0,c=0,f=0,p="",d=this._mappings.toArray(),h=0,m=d.length;h0){if(!s.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=i.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(n=this._sources.indexOf(t.source),e+=i.encode(n-f),f=n,e+=i.encode(t.originalLine-1-l),l=t.originalLine-1,e+=i.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=i.encode(r-c),c=r)),p+=e}return p},n.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var r=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=n},function(e,t,r){"use strict";t.SourceMapGenerator=r(284).SourceMapGenerator,t.SourceMapConsumer=r(616).SourceMapConsumer,t.SourceNode=r(617).SourceNode},function(e,t,r){(function(e){"use strict";function t(){var e={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(t){var r=e[t];Object.keys(r).forEach(function(t){var n=r[t];e[t]=r[t]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(e,t,{value:r,enumerable:!1})}),e}Object.defineProperty(e,"exports",{enumerable:!0,get:t})}).call(t,r(39)(e))},function(e,t,r){"use strict";e.exports=r(179)},function(e,t){"use strict";function r(e){return["babel-plugin-"+e,e]}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t){"use strict";function r(e){var t=["babel-preset-"+e,e],r=e.match(/^(@[^\/]+)\/(.+)$/);if(r){var n=r[1],i=r[2];t.push(n+"/babel-preset-"+i)}return t}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e,t){if(e&&t)return(0,o.default)(e,t,function(e,t){if(t&&Array.isArray(e)){for(var r=t.slice(0),n=e,i=Array.isArray(n),a=0,n=i?n:(0,s.default)(n);;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if(a=n.next(),a.done)break;o=a.value}var u=o;r.indexOf(u)<0&&r.push(u)}return r}})};var a=r(586),o=n(a);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t,r){if(e){if("Program"===e.type)return s.file(e,t||[],r||[]);if("File"===e.type)return e}throw new Error("Not a valid ast?")};var i=r(1),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function s(e,t){var r=[],n=g.functionExpression(null,[g.identifier("global")],g.blockStatement(r)),i=g.program([g.expressionStatement(g.callExpression(n,[c.get("selfGlobal")]))]);return r.push(g.variableDeclaration("var",[g.variableDeclarator(e,g.assignmentExpression("=",g.memberExpression(g.identifier("global"),e),g.objectExpression([])))])),t(r),i}function a(e,t){var r=[];return r.push(g.variableDeclaration("var",[g.variableDeclarator(e,g.identifier("global"))])),t(r),g.program([b({FACTORY_PARAMETERS:g.identifier("global"),BROWSER_ARGUMENTS:g.assignmentExpression("=",g.memberExpression(g.identifier("root"),e),g.objectExpression([])),COMMON_ARGUMENTS:g.identifier("exports"),AMD_ARGUMENTS:g.arrayExpression([g.stringLiteral("exports")]),FACTORY_BODY:r,UMD_ROOT:g.identifier("this")})])}function o(e,t){var r=[];return r.push(g.variableDeclaration("var",[g.variableDeclarator(e,g.objectExpression([]))])),t(r),r.push(g.expressionStatement(e)),g.program(r)}function u(e,t,r){c.list.forEach(function(n){if(!(r&&r.indexOf(n)<0)){var i=g.identifier(n);e.push(g.expressionStatement(g.assignmentExpression("=",g.memberExpression(t,i),c.get(n))))}})}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global",r=g.identifier("babelHelpers"),n=function(t){return u(t,r,e)},i=void 0,l={global:s,umd:a,var:o}[t];if(!l)throw new Error(h.get("unsupportedOutputType",t));return i=l(r,n),(0,p.default)(i).code};var l=r(192),c=i(l),f=r(183),p=n(f),d=r(18),h=i(d),m=r(4),v=n(m),y=r(1),g=i(y),b=(0,v.default)('\n (function (root, factory) {\n if (typeof define === "function" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === "object") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n');e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(64),s=n(i),a=r(590),o=n(a);t.default=new s.default({name:"internal.blockHoist",visitor:{Block:{exit:function(e){for(var t=e.node,r=!1,n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return t.code=!1,t.mode="lint",this.transform(e,t)},e.prototype.pretransform=function(e,t){var r=new f.default(t,this);return r.wrap(e,function(){return r.addCode(e),r.parseCode(e),r})},e.prototype.transform=function(e,t){var r=new f.default(t,this);return r.wrap(e,function(){return r.addCode(e),r.parseCode(e),r.transform()})},e.prototype.analyse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];return t.code=!1,r&&(t.plugins=t.plugins||[],t.plugins.push(new l.default({visitor:r}))),this.transform(e,t).metadata},e.prototype.transformFromAst=function(e,t,r){e=(0,o.default)(e);var n=new f.default(r,this);return n.wrap(t,function(){return n.addCode(t),n.addAst(e),n.transform()})},e}();t.default=p,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=r(42),o=n(a),u=r(41),l=n(u),c=r(118),f=n(c),p=r(49),d=(n(p),function(e){function t(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,s.default)(this,t);var a=(0,o.default)(this,e.call(this));return a.plugin=n,a.key=n.key,a.file=r,a.opts=i,a}return(0,l.default)(t,e),t.prototype.addHelper=function(){var e;return(e=this.file).addHelper.apply(e,arguments)},t.prototype.addImport=function(){var e;return(e=this.file).addImport.apply(e,arguments)},t.prototype.getModuleName=function(){var e;return(e=this.file).getModuleName.apply(e,arguments)},t.prototype.buildCodeFrameError=function(){var e;return(e=this.file).buildCodeFrameError.apply(e,arguments)},t}(f.default));t.default=d,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(3),s=n(i),a=r(596),o=n(a),u=/^[ \t]+$/,l=function(){function e(t){(0,s.default)(this,e),this._map=null,this._buf=[],this._last="",this._queue=[],this._position={line:1,column:0},this._sourcePosition={identifierName:null,line:null,column:null,filename:null},this._map=t}return e.prototype.get=function(){this._flush();var e=this._map,t={code:(0,o.default)(this._buf.join("")),map:null,rawMappings:e&&e.getRawMappings()};return e&&Object.defineProperty(t,"map",{configurable:!0,enumerable:!0,get:function(){return this.map=e.get()},set:function(e){Object.defineProperty(this,"map",{value:e,writable:!0})}}),t},e.prototype.append=function(e){this._flush();var t=this._sourcePosition,r=t.line,n=t.column,i=t.filename,s=t.identifierName;this._append(e,r,n,s,i)},e.prototype.queue=function(e){if("\n"===e)for(;this._queue.length>0&&u.test(this._queue[0][0]);)this._queue.shift();var t=this._sourcePosition,r=t.line,n=t.column,i=t.filename,s=t.identifierName;this._queue.unshift([e,r,n,s,i])},e.prototype._flush=function(){for(var e=void 0;e=this._queue.pop();)this._append.apply(this,e)},e.prototype._append=function(e,t,r,n,i){this._map&&"\n"!==e[0]&&this._map.mark(this._position.line,this._position.column,t,r,n,i),this._buf.push(e),this._last=e[e.length-1];for(var s=0;s0&&"\n"===this._queue[0][0]&&this._queue.shift()},e.prototype.removeLastSemicolon=function(){this._queue.length>0&&";"===this._queue[0][0]&&this._queue.shift()},e.prototype.endsWith=function(e){if(1===e.length){var t=void 0;if(this._queue.length>0){var r=this._queue[0][0];t=r[r.length-1]}else t=this._last;return t===e}var n=this._last+this._queue.reduce(function(e,t){return t[0]+e},"");return e.length<=n.length&&n.slice(-e.length)===e},e.prototype.hasContent=function(){return this._queue.length>0||!!this._last},e.prototype.source=function(e,t){if(!e||t){var r=t?t[e]:null;this._sourcePosition.identifierName=t&&t.identifierName||null,this._sourcePosition.line=r?r.line:null,this._sourcePosition.column=r?r.column:null,this._sourcePosition.filename=t&&t.filename||null}},e.prototype.withSource=function(e,t,r){if(!this._map)return r();var n=this._sourcePosition.line,i=this._sourcePosition.column,s=this._sourcePosition.filename,a=this._sourcePosition.identifierName;this.source(e,t),r(),this._sourcePosition.line=n,this._sourcePosition.column=i,this._sourcePosition.filename=s,this._sourcePosition.identifierName=a},e.prototype.getCurrentColumn=function(){var e=this._queue.reduce(function(e,t){return t[0]+e},""),t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t},e.prototype.getCurrentLine=function(){for(var e=this._queue.reduce(function(e,t){return t[0]+e},""),t=0,r=0;r")),this.space(),this.print(e.returnType,e)}function y(e){this.print(e.name,e),e.optional&&this.token("?"),this.token(":"),this.space(),this.print(e.typeAnnotation,e)}function g(e){this.print(e.id,e),this.print(e.typeParameters,e)}function b(e){this.print(e.id,e),this.print(e.typeParameters,e),e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),e.mixins&&e.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),this.space(),this.print(e.body,e)}function E(e){"plus"===e.variance?this.token("+"):"minus"===e.variance&&this.token("-")}function x(e){this.word("interface"),this.space(),this._interfaceish(e)}function A(){this.space(),this.token("&"),this.space()}function S(e){this.printJoin(e.types,e,{separator:A})}function _(){this.word("mixed")}function D(){this.word("empty")}function C(e){this.token("?"),this.print(e.typeAnnotation,e)}function w(){this.word("number")}function F(){this.word("string")}function P(){this.word("this")}function k(e){this.token("["),this.printList(e.types,e),this.token("]")}function T(e){this.word("typeof"),this.space(),this.print(e.argument,e)}function O(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.token("="),this.space(),this.print(e.right,e),this.semicolon()}function B(e){this.token(":"),this.space(),e.optional&&this.token("?"),this.print(e.typeAnnotation,e)}function R(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e),e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))}function I(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")}function M(e){var t=this;e.exact?this.token("{|"):this.token("{");var r=e.properties.concat(e.callProperties,e.indexers);r.length&&(this.space(),this.printJoin(r,e,{addNewlines:function(e){if(e&&!r[0])return 1},indent:!0,statement:!0,iterator:function(){1!==r.length&&(t.format.flowCommaSeparator?t.token(","):t.semicolon(),t.space())}}),this.space()),e.exact?this.token("|}"):this.token("}")}function N(e){e.static&&(this.word("static"),this.space()),this.print(e.value,e)}function L(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.token("["),this.print(e.id,e),this.token(":"),this.space(),this.print(e.key,e),this.token("]"),this.token(":"),this.space(),this.print(e.value,e)}function j(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.print(e.key,e),e.optional&&this.token("?"),this.token(":"),this.space(),this.print(e.value,e)}function U(e){this.print(e.qualification,e),this.token("."),this.print(e.id,e)}function V(){this.space(),this.token("|"),this.space()}function G(e){this.printJoin(e.types,e,{separator:V})}function W(e){this.token("("),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.token(")")}function Y(){this.word("void")}t.__esModule=!0,t.AnyTypeAnnotation=n,t.ArrayTypeAnnotation=i,t.BooleanTypeAnnotation=s,t.BooleanLiteralTypeAnnotation=a,t.NullLiteralTypeAnnotation=o,t.DeclareClass=u,t.DeclareFunction=l,t.DeclareInterface=c,t.DeclareModule=f,t.DeclareModuleExports=p,t.DeclareTypeAlias=d,t.DeclareVariable=h,t.ExistentialTypeParam=m,t.FunctionTypeAnnotation=v,t.FunctionTypeParam=y,t.InterfaceExtends=g,t._interfaceish=b,t._variance=E,t.InterfaceDeclaration=x,t.IntersectionTypeAnnotation=S,t.MixedTypeAnnotation=_,t.EmptyTypeAnnotation=D,t.NullableTypeAnnotation=C;var q=r(122);Object.defineProperty(t,"NumericLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.NumericLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return q.StringLiteral}}),t.NumberTypeAnnotation=w,t.StringTypeAnnotation=F,t.ThisTypeAnnotation=P,t.TupleTypeAnnotation=k,t.TypeofTypeAnnotation=T,t.TypeAlias=O,t.TypeAnnotation=B,t.TypeParameter=R,t.TypeParameterInstantiation=I,t.ObjectTypeAnnotation=M,t.ObjectTypeCallProperty=N,t.ObjectTypeIndexer=L,t.ObjectTypeProperty=j,t.QualifiedTypeIdentifier=U,t.UnionTypeAnnotation=G,t.TypeCastExpression=W,t.VoidTypeAnnotation=Y,t.ClassImplements=g,t.GenericTypeAnnotation=g,t.TypeParameterDeclaration=I},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){this.print(e.name,e),e.value&&(this.token("="),this.print(e.value,e))}function s(e){this.word(e.name)}function a(e){this.print(e.namespace,e),this.token(":"),this.print(e.name,e)}function o(e){this.print(e.object,e),this.token("."),this.print(e.property,e)}function u(e){this.token("{"),this.token("..."),this.print(e.argument,e),this.token("}")}function l(e){this.token("{"),this.print(e.expression,e),this.token("}")}function c(e){this.token("{"),this.token("..."),this.print(e.expression,e),this.token("}")}function f(e){this.token(e.value)}function p(e){var t=e.openingElement;if(this.print(t,e),!t.selfClosing){this.indent();for(var r=e.children,n=Array.isArray(r),i=0,r=n?r:(0,g.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;this.print(a,e)}this.dedent(),this.print(e.closingElement,e)}}function d(){this.space()}function h(e){this.token("<"),this.print(e.name,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:d})),e.selfClosing?(this.space(),this.token("/>")):this.token(">")}function m(e){this.token("")}function v(){}t.__esModule=!0;var y=r(2),g=n(y);t.JSXAttribute=i,t.JSXIdentifier=s,t.JSXNamespacedName=a,t.JSXMemberExpression=o,t.JSXSpreadAttribute=u,t.JSXExpressionContainer=l,t.JSXSpreadChild=c,t.JSXText=f,t.JSXElement=p,t.JSXOpeningElement=h,t.JSXClosingElement=m,t.JSXEmptyExpression=v},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){var t=this;this.print(e.typeParameters,e),this.token("("),this.printList(e.params,e,{iterator:function(e){e.optional&&t.token("?"),t.print(e.typeAnnotation,e)}}),this.token(")"),e.returnType&&this.print(e.returnType,e)}function s(e){var t=e.kind,r=e.key;"method"!==t&&"init"!==t||e.generator&&this.token("*"),"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async"),this.space()),e.computed?(this.token("["),this.print(r,e),this.token("]")):this.print(r,e),this._params(e),this.space(),this.print(e.body,e)}function a(e){e.async&&(this.word("async"),this.space()),this.word("function"),e.generator&&this.token("*"),e.id?(this.space(),this.print(e.id,e)):this.space(),this._params(e),this.space(),this.print(e.body,e)}function o(e){e.async&&(this.word("async"),this.space());var t=e.params[0];1===e.params.length&&c.isIdentifier(t)&&!u(e,t)?this.print(t,e):this._params(e),this.space(),this.token("=>"),this.space(),this.print(e.body,e)}function u(e,t){return e.typeParameters||e.returnType||t.typeAnnotation||t.optional||t.trailingComments}t.__esModule=!0,t.FunctionDeclaration=void 0,t._params=i,t._method=s,t.FunctionExpression=a,t.ArrowFunctionExpression=o;var l=r(1),c=n(l);t.FunctionDeclaration=a},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function s(e){this.print(e.local,e)}function a(e){this.print(e.exported,e)}function o(e){this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function u(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}function l(e){this.word("export"),this.space(),this.token("*"),e.exported&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e)),this.space(),this.word("from"),this.space(),this.print(e.source,e),this.semicolon()}function c(){this.word("export"),this.space(),p.apply(this,arguments)}function f(){this.word("export"),this.space(),this.word("default"),this.space(),p.apply(this,arguments)}function p(e){if(e.declaration){var t=e.declaration;this.print(t,e),v.isStatement(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r=e.specifiers.slice(0),n=!1;;){var i=r[0];if(!v.isExportDefaultSpecifier(i)&&!v.isExportNamespaceSpecifier(i))break;n=!0,this.print(r.shift(),e),r.length&&(this.token(","),this.space())}(r.length||!r.length&&!n)&&(this.token("{"),r.length&&(this.space(),this.printList(r,e),this.space()),this.token("}")),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}}function d(e){this.word("import"),this.space(),"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space());var t=e.specifiers.slice(0);if(t&&t.length){for(;;){var r=t[0];if(!v.isImportDefaultSpecifier(r)&&!v.isImportNamespaceSpecifier(r))break;this.print(t.shift(),e),t.length&&(this.token(","),this.space())}t.length&&(this.token("{"),this.space(),this.printList(t,e),this.space(),this.token("}")),this.space(),this.word("from"),this.space()}this.print(e.source,e),this.semicolon()}function h(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.local,e)}t.__esModule=!0,t.ImportSpecifier=i,t.ImportDefaultSpecifier=s,t.ExportDefaultSpecifier=a,t.ExportSpecifier=o,t.ExportNamespaceSpecifier=u,t.ExportAllDeclaration=l,t.ExportNamedDeclaration=c,t.ExportDefaultDeclaration=f,t.ImportDeclaration=d,t.ImportNamespaceSpecifier=h;var m=r(1),v=n(m)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){this.word("with"),this.space(),this.token("("),this.print(e.object,e),this.token(")"),this.printBlock(e)}function a(e){this.word("if"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.space();var t=e.alternate&&D.isIfStatement(o(e.consequent));t&&(this.token("{"),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.token("}")),e.alternate&&(this.endsWith("}")&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))}function o(e){return D.isStatement(e.body)?o(e.body):e}function u(e){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.token(";"),e.test&&(this.space(),this.print(e.test,e)),this.token(";"),e.update&&(this.space(),this.print(e.update,e)),this.token(")"), -this.printBlock(e)}function l(e){this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.printBlock(e)}function c(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.semicolon()}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"label";return function(r){this.word(e);var n=r[t];if(n){this.space();var i=this.startTerminatorless();this.print(n,r),this.endTerminatorless(i)}this.semicolon()}}function p(e){this.print(e.label,e),this.token(":"),this.space(),this.print(e.body,e)}function d(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))}function h(e){this.word("catch"),this.space(),this.token("("),this.print(e.param,e),this.token(")"),this.space(),this.print(e.body,e)}function m(e){this.word("switch"),this.space(),this.token("("),this.print(e.discriminant,e),this.token(")"),this.space(),this.token("{"),this.printSequence(e.cases,e,{indent:!0,addNewlines:function(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}}),this.token("}")}function v(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.token(":")):(this.word("default"),this.token(":")),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))}function y(){this.word("debugger"),this.semicolon()}function g(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<4;e++)this.space(!0)}function b(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<6;e++)this.space(!0)}function E(e,t){this.word(e.kind),this.space();var r=!1;if(!D.isFor(t))for(var n=e.declarations,i=Array.isArray(n),s=0,n=i?n:(0,S.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;o.init&&(r=!0)}var u=void 0;r&&(u="const"===e.kind?b:g),this.printList(e.declarations,e,{separator:u}),(!D.isFor(t)||t.left!==e&&t.init!==e)&&this.semicolon()}function x(e){this.print(e.id,e),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.token("="),this.space(),this.print(e.init,e))}t.__esModule=!0,t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForAwaitStatement=t.ForOfStatement=t.ForInStatement=void 0;var A=r(2),S=i(A);t.WithStatement=s,t.IfStatement=a,t.ForStatement=u,t.WhileStatement=l,t.DoWhileStatement=c,t.LabeledStatement=p,t.TryStatement=d,t.CatchClause=h,t.SwitchStatement=m,t.SwitchCase=v,t.DebuggerStatement=y,t.VariableDeclaration=E,t.VariableDeclarator=x;var _=r(1),D=n(_),C=function(e){return function(t){this.word("for"),this.space(),"await"===e&&(this.word("await"),this.space(),e="of"),this.token("("),this.print(t.left,t),this.space(),this.word(e),this.space(),this.print(t.right,t),this.token(")"),this.printBlock(t)}};t.ForInStatement=C("in"),t.ForOfStatement=C("of"),t.ForAwaitStatement=C("await"),t.ContinueStatement=f("continue"),t.ReturnStatement=f("return","argument"),t.BreakStatement=f("break"),t.ThrowStatement=f("throw","argument")},function(e,t){"use strict";function r(e){this.print(e.tag,e),this.print(e.quasi,e)}function n(e,t){var r=t.quasis[0]===e,n=t.quasis[t.quasis.length-1]===e,i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)}function i(e){for(var t=e.quasis,r=0;rs)return!0;if(n===s&&t.right===e&&!b.isLogicalExpression(t))return!0}return!1}function u(e,t){if("in"===e.operator){if(b.isVariableDeclarator(t))return!0;if(b.isFor(t))return!0}return!1}function l(e,t){return!b.isForStatement(t)&&((!b.isExpressionStatement(t)||t.expression!==e)&&(!b.isReturnStatement(t)&&(!b.isThrowStatement(t)&&((!b.isSwitchStatement(t)||t.discriminant!==e)&&((!b.isWhileStatement(t)||t.test!==e)&&((!b.isIfStatement(t)||t.test!==e)&&(!b.isForInStatement(t)||t.right!==e)))))))}function c(e,t){return b.isBinary(t)||b.isUnaryLike(t)||b.isCallExpression(t)||b.isMemberExpression(t)||b.isNewExpression(t)||b.isConditionalExpression(t)&&e===t.test}function f(e,t,r){return y(r,{considerDefaultExports:!0})}function p(e,t){return!!b.isMemberExpression(t,{object:e})||!(!b.isCallExpression(t,{callee:e})&&!b.isNewExpression(t,{callee:e}))}function d(e,t,r){return y(r,{considerDefaultExports:!0})}function h(e,t){return!!b.isExportDeclaration(t)||(!(!b.isBinaryExpression(t)&&!b.isLogicalExpression(t))||(!!b.isUnaryExpression(t)||p(e,t)))}function m(e,t){return!!b.isUnaryLike(t)||(!!b.isBinary(t)||(!!b.isConditionalExpression(t,{test:e})||p(e,t)))}function v(e){return!!b.isObjectPattern(e.left)||m.apply(void 0,arguments)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.considerArrow,n=void 0!==r&&r,i=t.considerDefaultExports,s=void 0!==i&&i,a=e.length-1,o=e[a];a--;for(var u=e[a];a>0;){if(b.isExpressionStatement(u,{expression:o}))return!0;if(s&&b.isExportDefaultDeclaration(u,{declaration:o}))return!0;if(n&&b.isArrowFunctionExpression(u,{body:o}))return!0;if(!(b.isCallExpression(u,{callee:o})||b.isSequenceExpression(u)&&u.expressions[0]===o||b.isMemberExpression(u,{object:o})||b.isConditional(u,{test:o})||b.isBinary(u,{left:o})||b.isAssignmentExpression(u,{left:o})))return!1;o=u,a--,u=e[a]}return!1}t.__esModule=!0,t.AwaitExpression=t.FunctionTypeAnnotation=void 0,t.NullableTypeAnnotation=i,t.UpdateExpression=s,t.ObjectExpression=a,t.Binary=o,t.BinaryExpression=u,t.SequenceExpression=l,t.YieldExpression=c,t.ClassExpression=f,t.UnaryLike=p,t.FunctionExpression=d,t.ArrowFunctionExpression=h,t.ConditionalExpression=m,t.AssignmentExpression=v;var g=r(1),b=n(g),E={"||":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};t.FunctionTypeAnnotation=i,t.AwaitExpression=c},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.isMemberExpression(e)?(s(e.object,t),e.computed&&s(e.property,t)):f.isBinary(e)||f.isAssignmentExpression(e)?(s(e.left,t),s(e.right,t)):f.isCallExpression(e)?(t.hasCall=!0,s(e.callee,t)):f.isFunction(e)?t.hasFunction=!0:f.isIdentifier(e)&&(t.hasHelper=t.hasHelper||a(e.callee)),t}function a(e){return f.isMemberExpression(e)?a(e.object)||a(e.property):f.isIdentifier(e)?"require"===e.name||"_"===e.name[0]:f.isCallExpression(e)?a(e.callee):!(!f.isBinary(e)&&!f.isAssignmentExpression(e))&&(f.isIdentifier(e.left)&&a(e.left)||a(e.right))}function o(e){return f.isLiteral(e)||f.isObjectExpression(e)||f.isArrayExpression(e)||f.isIdentifier(e)||f.isMemberExpression(e)}var u=r(584),l=i(u),c=r(1),f=n(c);t.nodes={AssignmentExpression:function(e){var t=s(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return{before:t.hasFunction,after:!0}},SwitchCase:function(e,t){return{before:e.consequent.length||t.cases[0]===e}},LogicalExpression:function(e){if(f.isFunction(e.left)||f.isFunction(e.right))return{after:!0}},Literal:function(e){if("use strict"===e.value)return{after:!0}},CallExpression:function(e){if(f.isFunction(e.callee)||a(e))return{before:!0,after:!0}},VariableDeclaration:function(e){for(var t=0;t0?new P.default(n):null}return e.prototype.generate=function(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()},e.prototype.indent=function(){this.format.compact||this.format.concise||this._indent++},e.prototype.dedent=function(){this.format.compact||this.format.concise||this._indent--},e.prototype.semicolon=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._maybeAddAuxComment(),this._append(";",!e)},e.prototype.rightBrace=function(){this.format.minified&&this._buf.removeLastSemicolon(),this.token("}")},e.prototype.space=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.format.compact||(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e)&&this._space()},e.prototype.word=function(e){this._endsWithWord&&this._space(),this._maybeAddAuxComment(),this._append(e),this._endsWithWord=!0},e.prototype.number=function(e){this.word(e),this._endsWithInteger=(0,x.default)(+e)&&!R.test(e)&&!O.test(e)&&!B.test(e)&&"."!==e[e.length-1]},e.prototype.token=function(e){("--"===e&&this.endsWith("!")||"+"===e[0]&&this.endsWith("+")||"-"===e[0]&&this.endsWith("-")||"."===e[0]&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e)},e.prototype.newline=function(e){if(!this.format.retainLines&&!this.format.compact){if(this.format.concise)return void this.space();if(!(this.endsWith("\n\n")||("number"!=typeof e&&(e=1),e=Math.min(2,e),(this.endsWith("{\n")||this.endsWith(":\n"))&&e--,e<=0)))for(var t=0;t1&&void 0!==arguments[1]&&arguments[1];this._maybeAddParen(e),this._maybeIndent(e),t?this._buf.queue(e):this._buf.append(e),this._endsWithWord=!1,this._endsWithInteger=!1},e.prototype._maybeIndent=function(e){this._indent&&this.endsWith("\n")&&"\n"!==e[0]&&this._buf.queue(this._getIndent())},e.prototype._maybeAddParen=function(e){var t=this._parenPushNewlineState;if(t){this._parenPushNewlineState=null;var r=void 0;for(r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.length){r.indent&&this.indent();for(var n={addNewlines:r.addNewlines},i=0;i1&&void 0!==arguments[1])||arguments[1];e.innerComments&&(t&&this.indent(),this._printComments(e.innerComments),t&&this.dedent())},e.prototype.printSequence=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.statement=!0,this.printJoin(e,t,r)},e.prototype.printList=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==r.separator&&(r.separator=s),this.printJoin(e,t,r)},e.prototype._printNewline=function(e,t,r,n){var i=this;if(!this.format.retainLines&&!this.format.compact){if(this.format.concise)return void this.space();var s=0;if(null!=t.start&&!t._ignoreUserWhitespace&&this._whitespace)if(e){var a=t.leadingComments,o=a&&(0,y.default)(a,function(e){return!!e.loc&&i.format.shouldPrintComment(e.value)});s=this._whitespace.getNewlinesBefore(o||t)}else{var u=t.trailingComments,l=u&&(0,b.default)(u,function(e){return!!e.loc&&i.format.shouldPrintComment(e.value)});s=this._whitespace.getNewlinesAfter(l||t)}else{e||s++,n.addNewlines&&(s+=n.addNewlines(e,t)||0);var c=w.needsWhitespaceAfter;e&&(c=w.needsWhitespaceBefore),c(t,r)&&s++,this._buf.hasContent()||(s=0)}this.newline(s)}},e.prototype._getComments=function(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]},e.prototype._printComment=function(e){var t=this;if(this.format.shouldPrintComment(e.value)&&!e.ignore&&!this._printedComments.has(e)){if(this._printedComments.add(e),null!=e.start){if(this._printedCommentStarts[e.start])return;this._printedCommentStarts[e.start]=!0}this.newline(this._whitespace?this._whitespace.getNewlinesBefore(e):0),this.endsWith("[")||this.endsWith("{")||this.space();var r="CommentLine"===e.type?"//"+e.value+"\n":"/*"+e.value+"*/";if("CommentBlock"===e.type&&this.format.indent.adjustMultilineComment){var n=e.loc&&e.loc.start.column;if(n){var i=new RegExp("\\n\\s{1,"+n+"}","g");r=r.replace(i,"\n")}var s=Math.max(this._getIndent().length,this._buf.getCurrentColumn());r=r.replace(/\n(?!$)/g,"\n"+(0,S.default)(" ",s))}this.withSource("start",e.loc,function(){t._append(r)}),this.newline((this._whitespace?this._whitespace.getNewlinesAfter(e):0)+("CommentLine"===e.type?-1:0))}},e.prototype._printComments=function(e){if(e&&e.length)for(var t=e,r=Array.isArray(t),n=0,t=r?t:(0,l.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;this._printComment(s)}},e}();t.default=I;for(var M=[r(306),r(300),r(305),r(299),r(303),r(304),r(122),r(301),r(298),r(302)],N=0;N=0){for(;i&&e.start===n[i-1].start;)--i;t=n[i-1],r=n[i]}return this._getNewlinesBetween(t,r)},e.prototype.getNewlinesAfter=function(e){var t=void 0,r=void 0,n=this.tokens,i=this._findToken(function(t){return t.end-e.end},0,n.length);if(i>=0){for(;i&&e.end===n[i-1].end;)--i;t=n[i],r=n[i+1],","===r.type.label&&(r=n[i+2])}return r&&"eof"===r.type.label?1:this._getNewlinesBetween(t,r)},e.prototype._getNewlinesBetween=function(e,t){if(!t||!t.loc)return 0;for(var r=e?e.loc.end.line:1,n=t.loc.start.line,i=0,s=r;s=r)return-1;var n=t+r>>>1,i=e(this.tokens[n]);return i<0?this._findToken(e,n+1,r):i>0?this._findToken(e,t,n):0===i?n:-1},e}();t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var t=e,r=Array.isArray(t),n=0,t=r?t:(0,o.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i,a=s.node,u=a.expression;if(l.isMemberExpression(u)){var c=s.scope.maybeGenerateMemoised(u.object),f=void 0,p=[];c?(f=c,p.push(l.assignmentExpression("=",c,u.object))):f=u.object,p.push(l.callExpression(l.memberExpression(l.memberExpression(f,u.property,u.computed),l.identifier("bind")),[f])),1===p.length?a.expression=p[0]:a.expression=l.sequenceExpression(p)}}}t.__esModule=!0;var a=r(2),o=i(a);t.default=s;var u=r(1),l=n(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(t){return t&&t.operator===e.operator+"="}function r(e,t){return u.assignmentExpression("=",e,t)}var n={};return n.ExpressionStatement=function(n,i){if(!n.isCompletionRecord()){var s=n.node.expression;if(t(s)){var o=[],l=(0,a.default)(s.left,o,i,n.scope,!0);o.push(u.expressionStatement(r(l.ref,e.build(l.uid,s.right)))),n.replaceWithMultiple(o)}}},n.AssignmentExpression=function(n,i){var s=n.node,o=n.scope;if(t(s)){var u=[],l=(0,a.default)(s.left,u,i,o);u.push(r(l.ref,e.build(l.uid,s.right))),n.replaceWithMultiple(u)}},n.BinaryExpression=function(t){var r=t.node;r.operator===e.operator&&t.replaceWith(e.build(r.left,r.right))},n};var s=r(315),a=i(s),o=r(1),u=n(o);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.scope,r=e.node,n=u.functionExpression(null,[],r.body,r.generator,r.async),i=n,s=[];(0,a.default)(e,function(e){return t.push({id:e})});var o={foundThis:!1,foundArguments:!1};e.traverse(l,o),o.foundArguments&&(i=u.memberExpression(n,u.identifier("apply")),s=[],o.foundThis&&s.push(u.thisExpression()),o.foundArguments&&(o.foundThis||s.push(u.nullLiteral()),s.push(u.identifier("arguments"))));var c=u.callExpression(i,s);return r.generator&&(c=u.yieldExpression(c,!0)),u.returnStatement(c)};var s=r(188),a=i(s),o=r(1),u=n(o),l={enter:function(e,t){e.isThisExpression()&&(t.foundThis=!0),e.isReferencedIdentifier({name:"arguments"})&&(t.foundArguments=!0)},Function:function(e){e.skip()}};e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e,t,r,n){var i=void 0;if(o.isSuper(e))return e;if(o.isIdentifier(e)){if(n.hasBinding(e.name))return e;i=e}else{if(!o.isMemberExpression(e))throw new Error("We can't explode this node type "+e.type);if(i=e.object,o.isSuper(i)||o.isIdentifier(i)&&n.hasBinding(i.name))return i}var s=n.generateUidIdentifierBasedOnNode(i);return t.push(o.variableDeclaration("var",[o.variableDeclarator(s,i)])),s}function s(e,t,r,n){var i=e.property,s=o.toComputedKey(e,i);if(o.isLiteral(s)&&o.isPureish(s))return s;var a=n.generateUidIdentifierBasedOnNode(i);return t.push(o.variableDeclaration("var",[o.variableDeclarator(a,i)])),a}t.__esModule=!0,t.default=function(e,t,r,n,a){var u=void 0;u=o.isIdentifier(e)&&a?e:i(e,t,r,n);var l=void 0,c=void 0;if(o.isIdentifier(e))l=e,c=u;else{var f=s(e,t,r,n),p=e.computed||o.isLiteral(f);c=l=o.memberExpression(u,f,p)}return{uid:c,ref:l}};var a=r(1),o=n(a);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s);t.default=function(e){function t(t){if(t.node&&!t.isPure()){var r=e.scope.generateDeclaredUidIdentifier();n.push(c.assignmentExpression("=",r,t.node)),t.replaceWith(r)}}function r(e){if(Array.isArray(e)&&e.length){e=e.reverse(),(0,u.default)(e);for(var r=e,n=Array.isArray(r),i=0,r=n?r:(0,a.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var o=s;t(o)}}}e.assertClass();var n=[];t(e.get("superClass")),r(e.get("decorators"),!0);for(var i=e.get("body.body"),s=i,o=Array.isArray(s),l=0,s=o?s:(0,a.default)(s);;){var f;if(o){if(l>=s.length)break;f=s[l++]}else{if(l=s.next(),l.done)break;f=l.value}var p=f;p.is("computed")&&t(p.get("key")),p.has("decorators")&&r(e.get("decorators"))}n&&e.insertBefore(n.map(function(e){return c.expressionStatement(e)}))};var o=r(312),u=i(o),l=r(1),c=n(l);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t){var r=e.node,n=e.scope,i=e.parent,s=n.generateUidIdentifier("step"),o=n.generateUidIdentifier("value"),u=r.left,l=void 0;a.isIdentifier(u)||a.isPattern(u)||a.isMemberExpression(u)?l=a.expressionStatement(a.assignmentExpression("=",u,o)):a.isVariableDeclaration(u)&&(l=a.variableDeclaration(u.kind,[a.variableDeclarator(u.declarations[0].id,o)]));var d=f();(0,c.default)(d,p,null,{ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:n.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:t.getAsyncIterator,OBJECT:r.right,STEP_VALUE:o,STEP_KEY:s,AWAIT:t.wrapAwait}),d=d.body.body;var h=a.isLabeledStatement(i),m=d[3].block.body,v=m[0];return h&&(m[0]=a.labeledStatement(i.label,v)),{replaceParent:h,node:d,declar:l,loop:v}};var s=r(1),a=i(s),o=r(4),u=n(o),l=r(8),c=n(l),f=(0,u.default)("\n function* wrapper() {\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY, STEP_VALUE;\n (\n STEP_KEY = yield AWAIT(ITERATOR_KEY.next()),\n ITERATOR_COMPLETION = STEP_KEY.done,\n STEP_VALUE = yield AWAIT(STEP_KEY.value),\n !ITERATOR_COMPLETION\n );\n ITERATOR_COMPLETION = true) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return) {\n yield AWAIT(ITERATOR_KEY.return());\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n"),p={noScope:!0,Identifier:function(e,t){e.node.name in t&&e.replaceInline(t[e.node.name])},CallExpression:function(e,t){var r=e.node.callee;a.isIdentifier(r)&&"AWAIT"===r.name&&!t.AWAIT&&e.replaceWith(e.node.arguments[0])}};e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(4),s=n(i),a={};t.default=a,a.typeof=(0,s.default)('\n (typeof Symbol === "function" && typeof Symbol.iterator === "symbol")\n ? function (obj) { return typeof obj; }\n : function (obj) {\n return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n'),a.jsx=(0,s.default)('\n (function () {\n var REACT_ELEMENT_TYPE = (typeof Symbol === "function" && Symbol.for && Symbol.for("react.element")) || 0xeac7;\n\n return function createRawReactElement (type, props, key, children) {\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n // If we\'re going to assign props.children, we create a new object now\n // to avoid mutating defaultProps.\n props = {};\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \'\' + key,\n ref: null,\n props: props,\n _owner: null,\n };\n };\n\n })()\n'),a.asyncIterator=(0,s.default)('\n (function (iterable) {\n if (typeof Symbol === "function") {\n if (Symbol.asyncIterator) {\n var method = iterable[Symbol.asyncIterator];\n if (method != null) return method.call(iterable);\n }\n if (Symbol.iterator) {\n return iterable[Symbol.iterator]();\n }\n }\n throw new TypeError("Object is not async iterable");\n })\n'),a.asyncGenerator=(0,s.default)('\n (function () {\n function AwaitValue(value) {\n this.value = value;\n }\n\n function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg)\n var value = result.value;\n if (value instanceof AwaitValue) {\n Promise.resolve(value.value).then(\n function (arg) { resume("next", arg); },\n function (arg) { resume("throw", arg); });\n } else {\n settle(result.done ? "return" : "normal", result.value);\n }\n } catch (err) {\n settle("throw", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case "return":\n front.resolve({ value: value, done: true });\n break;\n case "throw":\n front.reject(value);\n break;\n default:\n front.resolve({ value: value, done: false });\n break;\n }\n\n front = front.next;\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n // Hide "return" method if generator return is not supported\n if (typeof gen.return !== "function") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === "function" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; };\n }\n\n AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };\n AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };\n AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };\n\n return {\n wrap: function (fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n },\n await: function (value) {\n return new AwaitValue(value);\n }\n };\n\n })()\n'), -a.asyncGeneratorDelegate=(0,s.default)('\n (function (inner, awaitWrap) {\n var iter = {}, waiting = false;\n\n function pump(key, value) {\n waiting = true;\n value = new Promise(function (resolve) { resolve(inner[key](value)); });\n return { done: false, value: awaitWrap(value) };\n };\n\n if (typeof Symbol === "function" && Symbol.iterator) {\n iter[Symbol.iterator] = function () { return this; };\n }\n\n iter.next = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump("next", value);\n };\n\n if (typeof inner.throw === "function") {\n iter.throw = function (value) {\n if (waiting) {\n waiting = false;\n throw value;\n }\n return pump("throw", value);\n };\n }\n\n if (typeof inner.return === "function") {\n iter.return = function (value) {\n return pump("return", value);\n };\n }\n\n return iter;\n })\n'),a.asyncToGenerator=(0,s.default)('\n (function (fn) {\n return function () {\n var gen = fn.apply(this, arguments);\n return new Promise(function (resolve, reject) {\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n return Promise.resolve(value).then(function (value) {\n step("next", value);\n }, function (err) {\n step("throw", err);\n });\n }\n }\n\n return step("next");\n });\n };\n })\n'),a.classCallCheck=(0,s.default)('\n (function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError("Cannot call a class as a function");\n }\n });\n'),a.createClass=(0,s.default)('\n (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i ++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ("value" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n })()\n'),a.defineEnumerableProperties=(0,s.default)('\n (function (obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n return obj;\n })\n'),a.defaults=(0,s.default)("\n (function (obj, defaults) {\n var keys = Object.getOwnPropertyNames(defaults);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(defaults, key);\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n return obj;\n })\n"),a.defineProperty=(0,s.default)("\n (function (obj, key, value) {\n // Shortcircuit the slow defineProperty path when possible.\n // We are trying to avoid issues where setters defined on the\n // prototype cause side effects under the fast path of simple\n // assignment. By checking for existence of the property with\n // the in operator, we can optimize most of this overhead away.\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n });\n"),a.extends=(0,s.default)("\n Object.assign || (function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n })\n"),a.get=(0,s.default)('\n (function get(object, property, receiver) {\n if (object === null) object = Function.prototype;\n\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent === null) {\n return undefined;\n } else {\n return get(parent, property, receiver);\n }\n } else if ("value" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n\n if (getter === undefined) {\n return undefined;\n }\n\n return getter.call(receiver);\n }\n });\n'),a.inherits=(0,s.default)('\n (function (subClass, superClass) {\n if (typeof superClass !== "function" && superClass !== null) {\n throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n })\n'),a.instanceof=(0,s.default)('\n (function (left, right) {\n if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n });\n'),a.interopRequireDefault=(0,s.default)("\n (function (obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n })\n"),a.interopRequireWildcard=(0,s.default)("\n (function (obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n })\n"),a.newArrowCheck=(0,s.default)('\n (function (innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError("Cannot instantiate an arrow function");\n }\n });\n'),a.objectDestructuringEmpty=(0,s.default)('\n (function (obj) {\n if (obj == null) throw new TypeError("Cannot destructure undefined");\n });\n'),a.objectWithoutProperties=(0,s.default)("\n (function (obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n })\n"),a.possibleConstructorReturn=(0,s.default)('\n (function (self, call) {\n if (!self) {\n throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");\n }\n return call && (typeof call === "object" || typeof call === "function") ? call : self;\n });\n'),a.selfGlobal=(0,s.default)('\n typeof global === "undefined" ? self : global\n'),a.set=(0,s.default)('\n (function set(object, property, value, receiver) {\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent !== null) {\n set(parent, property, value, receiver);\n }\n } else if ("value" in desc && desc.writable) {\n desc.value = value;\n } else {\n var setter = desc.set;\n\n if (setter !== undefined) {\n setter.call(receiver, value);\n }\n }\n\n return value;\n });\n'),a.slicedToArray=(0,s.default)('\n (function () {\n // Broken out into a separate function to avoid deoptimizations due to the try/catch for the\n // array iterator case.\n function sliceIterator(arr, i) {\n // this is an expanded form of `for...of` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"]) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n };\n })();\n'),a.slicedToArrayLoose=(0,s.default)('\n (function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n var _arr = [];\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n if (i && _arr.length === i) break;\n }\n return _arr;\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n });\n'),a.taggedTemplateLiteral=(0,s.default)("\n (function (strings, raw) {\n return Object.freeze(Object.defineProperties(strings, {\n raw: { value: Object.freeze(raw) }\n }));\n });\n"),a.taggedTemplateLiteralLoose=(0,s.default)("\n (function (strings, raw) {\n strings.raw = raw;\n return strings;\n });\n"),a.temporalRef=(0,s.default)('\n (function (val, name, undef) {\n if (val === undef) {\n throw new ReferenceError(name + " is not defined - temporal dead zone");\n } else {\n return val;\n }\n })\n'),a.temporalUndefined=(0,s.default)("\n ({})\n"),a.toArray=(0,s.default)("\n (function (arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n });\n"),a.toConsumableArray=(0,s.default)("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"),e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{pre:function(e){e.set("helpersNamespace",t.identifier("babelHelpers"))}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("dynamicImport")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("functionSent")}}},e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){return{inherits:r(66)}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types,n={Function:function(e){e.skip()},YieldExpression:function(e,r){var n=e.node;if(n.delegate){var i=r.addHelper("asyncGeneratorDelegate");n.argument=t.callExpression(i,[t.callExpression(r.addHelper("asyncIterator"),[n.argument]),t.memberExpression(r.addHelper("asyncGenerator"),t.identifier("await"))])}}};return{inherits:r(193),visitor:{Function:function(e,r){e.node.async&&e.node.generator&&(e.traverse(n,r),(0,s.default)(e,r.file,{wrapAsync:t.memberExpression(r.addHelper("asyncGenerator"),t.identifier("wrap")),wrapAwait:t.memberExpression(r.addHelper("asyncGenerator"),t.identifier("await"))}))}}}};var i=r(123),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{inherits:r(66),visitor:{Function:function(e,t){e.node.async&&!e.node.generator&&(0,s.default)(e,t.file,{wrapAsync:t.addImport(t.opts.module,t.opts.method)})}}}};var i=r(123),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){if(!t.applyDecoratedDescriptor){t.applyDecoratedDescriptor=e.scope.generateUidIdentifier("applyDecoratedDescriptor");var r=p({NAME:t.applyDecoratedDescriptor});e.scope.getProgramParent().path.unshiftContainer("body",r)}return t.applyDecoratedDescriptor}function n(e,t){if(!t.initializerDefineProp){t.initializerDefineProp=e.scope.generateUidIdentifier("initDefineProp");var r=f({NAME:t.initializerDefineProp});e.scope.getProgramParent().path.unshiftContainer("body",r)}return t.initializerDefineProp}function i(e,t){if(!t.initializerWarningHelper){t.initializerWarningHelper=e.scope.generateUidIdentifier("initializerWarningHelper");var r=c({NAME:t.initializerWarningHelper});e.scope.getProgramParent().path.unshiftContainer("body",r)}return t.initializerWarningHelper}function s(e){var t=(e.isClass()?[e].concat(e.get("body.body")):e.get("properties")).reduce(function(e,t){return e.concat(t.node.decorators||[])},[]),r=t.filter(function(e){return!y.isIdentifier(e.expression)});if(0!==r.length)return y.sequenceExpression(r.map(function(t){var r=t.expression,n=t.expression=e.scope.generateDeclaredUidIdentifier("dec");return y.assignmentExpression("=",n,r)}).concat([e.node]))}function d(e,t){var r=e.node.decorators||[];if(e.node.decorators=null,0!==r.length){var n=e.scope.generateDeclaredUidIdentifier("class");return r.map(function(e){return e.expression}).reverse().reduce(function(e,t){return a({CLASS_REF:n,DECORATOR:t,INNER:e}).expression},e.node)}}function h(e,t){var r=e.node.body.body.some(function(e){return(e.decorators||[]).length>0});if(r)return v(e,t,e.node.body.body)}function m(e,t){var r=e.node.properties.some(function(e){return(e.decorators||[]).length>0});if(r)return v(e,t,e.node.properties)}function v(e,r,n){var s=(e.scope.generateDeclaredUidIdentifier("desc"),e.scope.generateDeclaredUidIdentifier("value"),e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj")),a=n.reduce(function(n,a){var c=a.decorators||[];if(a.decorators=null,0===c.length)return n;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");var f=y.isLiteral(a.key)?a.key:y.stringLiteral(a.key.name),p=e.isClass()&&!a.static?o({CLASS_REF:s}).expression:s;if(y.isClassProperty(a,{static:!1})){var d=e.scope.generateDeclaredUidIdentifier("descriptor"),h=a.value?y.functionExpression(null,[],y.blockStatement([y.returnStatement(a.value)])):y.nullLiteral();a.value=y.callExpression(i(e,r),[d,y.thisExpression()]),n=n.concat([y.assignmentExpression("=",d,y.callExpression(t(e,r),[p,f,y.arrayExpression(c.map(function(e){return e.expression})),y.objectExpression([y.objectProperty(y.identifier("enumerable"),y.booleanLiteral(!0)),y.objectProperty(y.identifier("initializer"),h)])]))])}else n=n.concat(y.callExpression(t(e,r),[p,f,y.arrayExpression(c.map(function(e){return e.expression})),y.isObjectProperty(a)||y.isClassProperty(a,{static:!0})?l({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:p,PROPERTY:f}).expression:u({TARGET:p,PROPERTY:f}).expression,p]));return n},[]);return y.sequenceExpression([y.assignmentExpression("=",s,e.node),y.sequenceExpression(a),s])}var y=e.types;return{inherits:r(124),visitor:{ExportDefaultDeclaration:function(e){if(e.get("declaration").isClassDeclaration()){var t=e.node,r=t.declaration.id||e.scope.generateUidIdentifier("default");t.declaration.id=r,e.replaceWith(t.declaration),e.insertAfter(y.exportNamedDeclaration(null,[y.exportSpecifier(r,y.identifier("default"))]))}},ClassDeclaration:function(e){var t=e.node,r=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(y.variableDeclaration("let",[y.variableDeclarator(r,y.toExpression(t))]))},ClassExpression:function(e,t){var r=s(e)||d(e,t)||h(e,t);r&&e.replaceWith(r)},ObjectExpression:function(e,t){var r=s(e)||m(e,t);r&&e.replaceWith(r)},AssignmentExpression:function(e,t){t.initializerWarningHelper&&e.get("left").isMemberExpression()&&e.get("left.property").isIdentifier()&&e.get("right").isCallExpression()&&e.get("right.callee").isIdentifier({name:t.initializerWarningHelper.name})&&e.replaceWith(y.callExpression(n(e,t),[e.get("left.object").node,y.stringLiteral(e.get("left.property").node.name),e.get("right.arguments")[0].node,e.get("right.arguments")[1].node]))}}}};var i=r(4),s=n(i),a=(0,s.default)("\n DECORATOR(CLASS_REF = INNER) || CLASS_REF;\n"),o=(0,s.default)("\n CLASS_REF.prototype;\n"),u=(0,s.default)("\n Object.getOwnPropertyDescriptor(TARGET, PROPERTY);\n"),l=(0,s.default)("\n (TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {\n enumerable: true,\n configurable: true,\n writable: true,\n initializer: function(){\n return TEMP;\n }\n })\n"),c=(0,s.default)("\n function NAME(descriptor, context){\n throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');\n }\n"),f=(0,s.default)("\n function NAME(target, property, descriptor, context){\n if (!descriptor) return;\n\n Object.defineProperty(target, property, {\n enumerable: descriptor.enumerable,\n configurable: descriptor.configurable,\n writable: descriptor.writable,\n value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,\n });\n }\n"),p=(0,s.default)("\n function NAME(target, property, decorators, descriptor, context){\n var desc = {};\n Object['ke' + 'ys'](descriptor).forEach(function(key){\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer){\n desc.writable = true;\n }\n\n desc = decorators.slice().reverse().reduce(function(desc, decorator){\n return decorator(target, property, desc) || desc;\n }, desc);\n\n if (context && desc.initializer !== void 0){\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n\n if (desc.initializer === void 0){\n // This is a hack to avoid this being processed by 'transform-runtime'.\n // See issue #9.\n Object['define' + 'Property'](target, property, desc);\n desc = null;\n }\n\n return desc;\n }\n")},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e,t){var r=t._guessExecutionStatusRelativeTo(e);return"before"===r?"inside":"after"===r?"outside":"maybe"}function s(e,t){return u.callExpression(t.addHelper("temporalRef"),[e,u.stringLiteral(e.name),t.addHelper("temporalUndefined")])}function a(e,t,r){var n=r.letReferences[e.name];return!!n&&t.getBindingIdentifier(e.name)===n}t.__esModule=!0,t.visitor=void 0;var o=r(1),u=n(o);t.visitor={ReferencedIdentifier:function(e,t){if(this.file.opts.tdz){var r=e.node,n=e.parent,o=e.scope;if(!e.parentPath.isFor({left:r})&&a(r,o,t)){var l=o.getBinding(r.name).path,c=i(e,l);if("inside"!==c)if("maybe"===c){var f=s(r,t.file);if(l.parent._tdzThis=!0,e.skip(),e.parentPath.isUpdateExpression()){if(n._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(u.sequenceExpression([f,n]))}else e.replaceWith(f)}else"outside"===c&&e.replaceWith(u.throwStatement(u.inherits(u.newExpression(u.identifier("ReferenceError"),[u.stringLiteral(r.name+" is not defined - temporal dead zone")]),r)))}}},AssignmentExpression:{exit:function(e,t){if(this.file.opts.tdz){var r=e.node;if(!r._ignoreBlockScopingTDZ){var n=[],i=e.getBindingIdentifiers();for(var o in i){var l=i[o];a(l,e.scope,t)&&n.push(s(l,t.file))}n.length&&(r._ignoreBlockScopingTDZ=!0,n.push(r),e.replaceWithMultiple(n.map(u.expressionStatement)))}}}}}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(3),a=i(s),o=r(42),u=i(o),l=r(41),c=i(l),f=r(40),p=i(f),d=r(205),h=i(d),m=r(1),v=n(m),y=function(e){function t(){(0,a.default)(this,t);var r=(0,u.default)(this,e.apply(this,arguments));return r.isLoose=!0,r}return(0,c.default)(t,e),t.prototype._processMethod=function(e,t){if(!e.decorators){var r=this.classRef;e.static||(r=v.memberExpression(r,v.identifier("prototype")));var n=v.memberExpression(r,e.key,e.computed||v.isLiteral(e.key)),i=v.functionExpression(null,e.params,e.body,e.generator,e.async);i.returnType=e.returnType;var s=v.toComputedKey(e,e.key);v.isStringLiteral(s)&&(i=(0,p.default)({node:i,id:s,scope:t}));var a=v.expressionStatement(v.assignmentExpression("=",n,i));return v.inheritsComments(a,e),this.body.push(a),!0}},t}(h.default);t.default=y,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{BinaryExpression:function(e){var r=e.node;"instanceof"===r.operator&&e.replaceWith(t.callExpression(this.addHelper("instanceof"),[r.left,r.right]))}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var t=e.params,r=Array.isArray(t),n=0,t=r?t:(0,u.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(!v.isIdentifier(s))return!0}return!1}function a(e,t){if(!e.hasOwnBinding(t.name))return!0;var r=e.getOwnBinding(t.name),n=r.kind;return"param"===n||"local"===n}t.__esModule=!0,t.visitor=void 0;var o=r(2),u=i(o),l=r(187),c=i(l),f=r(314),p=i(f),d=r(4),h=i(d),m=r(1),v=n(m),y=(0,h.default)("\n let VARIABLE_NAME =\n ARGUMENTS.length > ARGUMENT_KEY && ARGUMENTS[ARGUMENT_KEY] !== undefined ?\n ARGUMENTS[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n"),g=(0,h.default)("\n let $0 = $1[$2];\n"),b={ReferencedIdentifier:function(e,t){var r=e.scope,n=e.node;"eval"!==n.name&&a(r,n)||(t.iife=!0,e.stop())},Scope:function(e){e.skip()}};t.visitor={Function:function(e){function t(e,t,n){var i=y({VARIABLE_NAME:e,DEFAULT_VALUE:t,ARGUMENT_KEY:v.numericLiteral(n),ARGUMENTS:u});i._blockHoist=r.params.length-n,o.push(i)}var r=e.node,n=e.scope;if(s(r)){e.ensureBlock();var i={iife:!1,scope:n},o=[],u=v.identifier("arguments");u._shadowedFunctionLiteral=e;for(var l=(0,c.default)(r),f=e.get("params"),d=0;d=l||m.isPattern()){var x=n.generateUidIdentifier("x");x._isDefaultPlaceholder=!0,r.params[d]=x}else r.params[d]=m.node;i.iife||(E.isIdentifier()&&!a(n,E.node)?i.iife=!0:E.traverse(b,i)),t(m.node,E.node,d)}else i.iife||h.isIdentifier()||h.traverse(b,i)}for(var A=l+1;A",p,c),d.binaryExpression("-",p,c),d.numericLiteral(0)));var y=h({ARGUMENTS:i,ARRAY_KEY:m,ARRAY_LEN:v,START:c,ARRAY:n,KEY:f,LEN:p});if(u.deopted)y._blockHoist=t.params.length+1,t.body.body.unshift(y);else{y._blockHoist=1;var b=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();b.findParent(function(e){return e.isLoop()?void(b=e):e.isFunction()}),b.insertBefore(y)}}else for(var E=u.candidates,x=Array.isArray(E),A=0,E=x?E:(0,l.default)(E);;){var S;if(x){if(A>=E.length)break;S=E[A++]}else{if(A=E.next(),A.done)break;S=A.value}var _=S,D=_.path,C=_.cause;switch(C){case"indexGetter":a(D,i,u.offset);break;case"lengthGetter":o(D,i,u.offset);break;default:D.replaceWith(i)}}}}}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{MemberExpression:{exit:function(e){var r=e.node,n=r.property;r.computed||!t.isIdentifier(n)||t.isValidIdentifier(n.name)||(r.property=t.stringLiteral(n.name),r.computed=!0)}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{ObjectProperty:{exit:function(e){var r=e.node,n=r.key;r.computed||!t.isIdentifier(n)||t.isValidIdentifier(n.name)||(r.key=t.stringLiteral(n.name))}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s);t.default=function(e){var t=e.types;return{visitor:{ObjectExpression:function(e,r){for(var n=e.node,i=!1,s=n.properties,o=Array.isArray(s),l=0,s=o?s:(0,a.default)(s);;){var c;if(o){if(l>=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var f=c;if("get"===f.kind||"set"===f.kind){i=!0;break}}if(i){var p={};n.properties=n.properties.filter(function(e){return!!(e.computed||"get"!==e.kind&&"set"!==e.kind)||(u.push(p,e,null,r),!1)}),e.replaceWith(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("defineProperties")),[n,u.toDefineObject(p)]))}}}}};var o=r(186),u=n(o);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.parse,r=e.traverse;return{visitor:{CallExpression:function(e){if(e.get("callee").isIdentifier({name:"eval"})&&1===e.node.arguments.length){var n=e.get("arguments")[0].evaluate();if(!n.confident)return;var i=n.value;if("string"!=typeof i)return;var s=t(i);return r.removeProperties(s),s.program}}}}},e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){function t(e,t){e.addComment("trailing",n(e,t)),e.replaceWith(i.noop())}function n(e,t){var r=e.getSource().replace(/\*-\//g,"*-ESCAPED/").replace(/\*\//g,"*-/");return t&&t.optional&&(r="?"+r),":"!==r[0]&&(r=":: "+r),r}var i=e.types;return{inherits:r(67),visitor:{TypeCastExpression:function(e){var t=e.node;e.get("expression").addComment("trailing",n(e.get("typeAnnotation"))),e.replaceWith(i.parenthesizedExpression(t.expression))},Identifier:function(e){var t=e.node;t.optional&&!t.typeAnnotation&&e.addComment("trailing",":: ?")},AssignmentPattern:{exit:function(e){var t=e.node;t.left.optional=!1}},Function:{exit:function(e){var t=e.node;t.params.forEach(function(e){return e.optional=!1})}},ClassProperty:function(e){var r=e.node,n=e.parent;r.value||t(e,n)},"ExportNamedDeclaration|Flow":function(e){var r=e.node,n=e.parent;i.isExportNamedDeclaration(r)&&!i.isFlow(r.declaration)||t(e,n)},ImportDeclaration:function(e){var r=e.node,n=e.parent;i.isImportDeclaration(r)&&"type"!==r.importKind&&"typeof"!==r.importKind||t(e,n)}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{FunctionExpression:{exit:function(e){var r=e.node;r.id&&(r._ignoreUserWhitespace=!0,e.replaceWith(t.callExpression(t.functionExpression(null,[],t.blockStatement([t.toStatement(r),t.returnStatement(r.id)])),[])))}}}}},e.exports=t.default; -},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{CallExpression:function(e,t){e.get("callee").matchesPattern("Object.assign")&&(e.node.callee=t.addHelper("extends"))}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{CallExpression:function(e,t){e.get("callee").matchesPattern("Object.setPrototypeOf")&&(e.node.callee=t.addHelper("defaults"))}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){function t(e){return i.isLiteral(i.toComputedKey(e,e.key),{value:"__proto__"})}function r(e){var t=e.left;return i.isMemberExpression(t)&&i.isLiteral(i.toComputedKey(t,t.property),{value:"__proto__"})}function n(e,t,r){return i.expressionStatement(i.callExpression(r.addHelper("defaults"),[t,e.right]))}var i=e.types;return{visitor:{AssignmentExpression:function(e,t){if(r(e.node)){var s=[],a=e.node.left.object,o=e.scope.maybeGenerateMemoised(a);o&&s.push(i.expressionStatement(i.assignmentExpression("=",o,a))),s.push(n(e.node,o||a,t)),o&&s.push(o),e.replaceWithMultiple(s)}},ExpressionStatement:function(e,t){var s=e.node.expression;i.isAssignmentExpression(s,{operator:"="})&&r(s)&&e.replaceWith(n(s,s.left.object,t))},ObjectExpression:function(e,r){for(var n=void 0,a=e.node,u=a.properties,l=Array.isArray(u),c=0,u=l?u:(0,s.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;t(p)&&(n=p.value,(0,o.default)(a.properties,p))}if(n){var d=[i.objectExpression([]),n];a.properties.length&&d.push(a),e.replaceWith(i.callExpression(r.addHelper("extends"),d))}}}}};var a=r(273),o=n(a);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){var e={enter:function(e,t){var r=function(){t.isImmutable=!1,e.stop()};return e.isJSXClosingElement()?void e.skip():e.isJSXIdentifier({name:"ref"})&&e.parentPath.isJSXAttribute({name:e.node})?r():void(e.isJSXIdentifier()||e.isIdentifier()||e.isJSXMemberExpression()||e.isImmutable()||r())}};return{visitor:{JSXElement:function(t){if(!t.node._hoisted){var r={isImmutable:!0};t.traverse(e,r),r.isImmutable?t.hoist():t.node._hoisted=!0}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(2),s=n(i);t.default=function(e){function t(e){for(var t=0;t=d.length)break;v=d[m++]}else{if(m=d.next(),m.done)break;v=m.value}var y=v;if(r(y,"key"))f=n(y);else{var g=y.name.name,b=i.isValidIdentifier(g)?i.identifier(g):i.stringLiteral(g);o(c.properties,b,n(y))}}var E=[p,c];if(f||u.children.length){var x=i.react.buildChildren(u);E.push.apply(E,[f||i.unaryExpression("void",i.numericLiteral(0),!0)].concat(x))}var A=i.callExpression(a.addHelper("jsx"),E);e.replaceWith(A)}}}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types;return{manipulateOptions:function(e,t){t.plugins.push("jsx")},visitor:(0,s.default)({pre:function(e){e.callee=e.tagExpr},post:function(e){t.react.isCompatTag(e.tagName)&&(e.call=t.callExpression(t.memberExpression(t.memberExpression(t.identifier("React"),t.identifier("DOM")),e.tagExpr,t.isLiteral(e.tagExpr)),e.args))}})}};var i=r(185),s=n(i);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types,n={JSXOpeningElement:function(e){var n=e.node,i=t.jSXIdentifier(r),s=t.thisExpression();n.attributes.push(t.jSXAttribute(i,t.jSXExpressionContainer(s)))}};return{visitor:n}};var r="__self";e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){function t(e,t){var r=null!=t?i.numericLiteral(t):i.nullLiteral(),n=i.objectProperty(i.identifier("fileName"),e),s=i.objectProperty(i.identifier("lineNumber"),r);return i.objectExpression([n,s])}var i=e.types,s={JSXOpeningElement:function(e,s){var a=i.jSXIdentifier(r),o=e.container.openingElement.loc;if(o){for(var u=e.container.openingElement.attributes,l=0;l3||c<=u||(o=l,u=c)}var f=void 0;throw f=o?t.get("undeclaredVariableSuggestion",r.name,o):t.get("undeclaredVariable",r.name),e.buildCodeFrameError(f,ReferenceError)}}}}};var i=r(459),s=n(i);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{presets:[t.es2015!==!1&&[s.default.buildPreset,t.es2015],t.es2016!==!1&&o.default,t.es2017!==!1&&l.default].filter(Boolean)}};var i=r(215),s=n(i),a=r(216),o=n(a),u=r(217),l=n(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(213),s=n(i),a=r(209),o=n(a),u=r(67),l=n(u),c=r(125),f=n(c),p=r(212),d=n(p);t.default={plugins:[s.default,o.default,l.default,f.default,d.default],env:{development:{plugins:[]}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(218),s=n(i),a=r(204),o=n(a),u=r(210),l=n(u);t.default={presets:[s.default],plugins:[o.default,l.default]},e.exports=t.default},function(e,t,r){"use strict";e.exports={default:r(400),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(403),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(405),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(406),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(408),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(409),__esModule:!0}},function(e,t,r){"use strict";e.exports={default:r(410),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(2),a=i(s),o=r(3),u=i(o),l=r(35),c=i(l),f=r(1),p=n(f),d=!1,h=function(){function e(t,r,n,i){(0,u.default)(this,e),this.queue=null,this.parentPath=i,this.scope=t,this.state=n,this.opts=r}return e.prototype.shouldVisit=function(e){var t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;var r=p.VISITOR_KEYS[e.type];if(!r||!r.length)return!1;for(var n=r,i=Array.isArray(n),s=0,n=i?n:(0,a.default)(n);;){var o;if(i){if(s>=n.length)break;o=n[s++]}else{if(s=n.next(),s.done)break;o=s.value}var u=o;if(e[u])return!0}return!1},e.prototype.create=function(e,t,r,n){return c.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:n})},e.prototype.maybeQueue=function(e,t){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))},e.prototype.visitMultiple=function(e,t,r){if(0===e.length)return!1;for(var n=[],i=0;i=n.length)break;o=n[s++]}else{if(s=n.next(),s.done)break;o=s.value}var u=o;if(u.resync(),0!==u.contexts.length&&u.contexts[u.contexts.length-1]===this||u.pushContext(this),null!==u.key&&(d&&e.length>=1e4&&(this.trap=!0),!(t.indexOf(u.node)>=0))){if(t.push(u.node),u.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(var l=e,c=Array.isArray(l),f=0,l=c?l:(0,a.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;h.popContext()}return this.queue=null,r},e.prototype.visit=function(e,t){var r=e[t];return!!r&&(Array.isArray(r)?this.visitMultiple(r,e,t):this.visitSingle(e,t))},e}();t.default=h,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var t=this;t=t.parentPath;)if(e(t))return t;return null}function a(e){var t=this;do if(e(t))return t;while(t=t.parentPath);return null}function o(){return this.findParent(function(e){return e.isFunction()||e.isProgram()})}function u(){var e=this;do if(Array.isArray(e.container))return e;while(e=e.parentPath)}function l(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){for(var n=void 0,i=b.VISITOR_KEYS[e.type],s=r,a=Array.isArray(s),o=0,s=a?s:(0,y.default)(s);;){var u;if(a){if(o>=s.length)break;u=s[o++]}else{if(o=s.next(),o.done)break;u=o.value}var l=u,c=l[t+1];if(n)if(c.listKey&&n.listKey===c.listKey&&c.keyp&&(n=c)}else n=c}return n})}function c(e,t){var r=this;if(!e.length)return this;if(1===e.length)return e[0];var n=1/0,i=void 0,s=void 0,a=e.map(function(e){var t=[];do t.unshift(e);while((e=e.parentPath)&&e!==r);return t.length=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;if(h[u]!==l)break e}i=u,s=l}if(s)return t?t(s,i,a):s;throw new Error("Couldn't find intersection")}function f(){var e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function p(e){return e.isDescendant(this)}function d(e){return!!this.findParent(function(t){return t===e})}function h(){for(var e=this;e;){for(var t=arguments,r=Array.isArray(t),n=0,t=r?t:(0,y.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(e.node.type===s)return!0}e=e.parentPath}return!1}function m(e){var t=this.isFunction()?this:this.findParent(function(e){return e.isFunction()});if(t){if(t.isFunctionExpression()||t.isFunctionDeclaration()){var r=t.node.shadow;if(r&&(!e||r[e]!==!1))return t}else if(t.isArrowFunctionExpression())return t;return null}}t.__esModule=!0;var v=r(2),y=i(v);t.findParent=s,t.find=a,t.getFunctionParent=o,t.getStatementParent=u,t.getEarliestCommonAncestorFrom=l,t.getDeepestCommonAncestorFrom=c,t.getAncestry=f,t.isAncestor=p,t.isDescendant=d,t.inType=h,t.inShadow=m;var g=r(1),b=n(g),E=r(35);i(E)},function(e,t){"use strict";function r(){if("string"!=typeof this.key){var e=this.node;if(e){var t=e.trailingComments,r=e.leadingComments;if(t||r){var n=this.getSibling(this.key-1),i=this.getSibling(this.key+1);n.node||(n=i),i.node||(i=n),n.addComments("trailing",r),i.addComments("leading",t)}}}}function n(e,t,r){this.addComments(e,[{type:r?"CommentLine":"CommentBlock",value:t}])}function i(e,t){if(t){var r=this.node;if(r){var n=e+"Comments";r[n]?r[n]=r[n].concat(t):r[n]=t}}}t.__esModule=!0,t.shareCommentsWithSiblings=r,t.addComment=n,t.addComments=i},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=this.opts;return this.debug(function(){return e}),!(!this.node||!this._call(t[e]))||!!this.node&&this._call(t[this.node.type]&&t[this.node.type][e])}function s(e){if(!e)return!1;for(var t=e,r=Array.isArray(t),n=0,t=r?t:(0,D.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var s=i;if(s){var a=this.node;if(!a)return!0;var o=s.call(this.state,this,this.state);if(o)throw new Error("Unexpected return value from visitor method "+s);if(this.node!==a)return!0;if(this.shouldStop||this.shouldSkip||this.removed)return!0}}return!1}function a(){var e=this.opts.blacklist;return e&&e.indexOf(this.node.type)>-1}function o(){return!!this.node&&(!this.isBlacklisted()&&((!this.opts.shouldSkip||!this.opts.shouldSkip(this))&&(this.call("enter")||this.shouldSkip?(this.debug(function(){return"Skip..."}),this.shouldStop):(this.debug(function(){return"Recursing into..."}),w.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),this.call("exit"),this.shouldStop))))}function u(){this.shouldSkip=!0}function l(e){this.skipKeys[e]=!0}function c(){this.shouldStop=!0,this.shouldSkip=!0}function f(){if(!this.opts||!this.opts.noScope){var e=this.context&&this.context.scope;if(!e)for(var t=this.parentPath;t&&!e;){if(t.opts&&t.opts.noScope)return;e=t.scope,t=t.parentPath}this.scope=this.getScope(e),this.scope&&this.scope.init()}}function p(e){return this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.skipKeys={},e&&(this.context=e,this.state=e.state,this.opts=e.opts),this.setScope(),this}function d(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function h(){this.parentPath&&(this.parent=this.parentPath.node)}function m(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:this;if(!e.removed)for(var t=this.contexts,r=t,n=Array.isArray(r),i=0,r=n?r:(0,D.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;a.maybeQueue(e)}}function S(){for(var e=this,t=this.contexts;!t.length;)e=e.parentPath,t=e.contexts;return t}t.__esModule=!0;var _=r(2),D=n(_);t.call=i,t._call=s,t.isBlacklisted=a,t.visit=o,t.skip=u,t.skipKey=l,t.stop=c,t.setScope=f,t.setContext=p,t.resync=d,t._resyncParent=h,t._resyncKey=m,t._resyncList=v,t._resyncRemoved=y,t.popContext=g,t.pushContext=b,t.setup=E,t.setKey=x,t.requeue=A,t._getQueueContexts=S;var C=r(8),w=n(C)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(){var e=this.node,t=void 0;if(this.isMemberExpression())t=e.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");t=e.key}return e.computed||u.isIdentifier(t)&&(t=u.stringLiteral(t.name)),t}function s(){return u.ensureBlock(this.node)}function a(){if(this.isArrowFunctionExpression()){this.ensureBlock();var e=this.node;e.expression=!1,e.type="FunctionExpression",e.shadow=e.shadow||!0}}t.__esModule=!0,t.toComputedKey=i,t.ensureBlock=s,t.arrowFunctionToShadowed=a;var o=r(1),u=n(o)},function(e,t,r){(function(e){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(){var e=this.evaluate();if(e.confident)return!!e.value}function s(){function t(e){i&&(s=e,i=!1)}function r(e){var r=e.node;if(a.has(r)){var s=a.get(r);return s.resolved?s.value:void t(e)}var o={resolved:!1};a.set(r,o);var u=n(e);return i&&(o.resolved=!0,o.value=u),u}function n(n){if(i){var s=n.node;if(n.isSequenceExpression()){var a=n.get("expressions");return r(a[a.length-1])}if(n.isStringLiteral()||n.isNumericLiteral()||n.isBooleanLiteral())return s.value;if(n.isNullLiteral())return null;if(n.isTemplateLiteral()){for(var u="",c=0,f=n.get("expressions"),h=s.quasis,m=Array.isArray(h),v=0,h=m?h:(0,l.default)(h);;){var y;if(m){if(v>=h.length)break;y=h[v++]}else{if(v=h.next(),v.done)break;y=v.value}var g=y;if(!i)break;u+=g.value.cooked;var b=f[c++];b&&(u+=String(r(b)))}if(!i)return;return u}if(n.isConditionalExpression()){var E=r(n.get("test"));if(!i)return;return r(E?n.get("consequent"):n.get("alternate"))}if(n.isExpressionWrapper())return r(n.get("expression"));if(n.isMemberExpression()&&!n.parentPath.isCallExpression({callee:s})){var x=n.get("property"),A=n.get("object");if(A.isLiteral()&&x.isIdentifier()){var S=A.node.value,_="undefined"==typeof S?"undefined":(0,o.default)(S);if("number"===_||"string"===_)return S[x.node.name]}}if(n.isReferencedIdentifier()){var D=n.scope.getBinding(s.name);if(D&&D.constantViolations.length>0)return t(D.path);if(D&&n.node.start=T.length)break;R=T[B++]}else{if(B=T.next(),B.done)break;R=B.value}var I=R;if(I=I.evaluate(),!I.confident)return t(I);P.push(I.value)}return P}if(n.isObjectExpression()){for(var M={},N=n.get("properties"),L=N,j=Array.isArray(L),U=0,L=j?L:(0,l.default)(L);;){var V;if(j){if(U>=L.length)break;V=L[U++]}else{if(U=L.next(),U.done)break;V=U.value}var G=V;if(G.isObjectMethod()||G.isSpreadProperty())return t(G);var W=G.get("key"),Y=W;if(G.node.computed){if(Y=Y.evaluate(),!Y.confident)return t(W);Y=Y.value}else Y=Y.isIdentifier()?Y.node.name:Y.node.value;var q=G.get("value"),K=q.evaluate();if(!K.confident)return t(q);K=K.value,M[Y]=K}return M}if(n.isLogicalExpression()){var H=i,J=r(n.get("left")),X=i;i=H;var z=r(n.get("right")),$=i;switch(i=X&&$,s.operator){case"||":if(J&&X)return i=!0,J;if(!i)return;return J||z;case"&&":if((!J&&X||!z&&$)&&(i=!0),!i)return;return J&&z}}if(n.isBinaryExpression()){var Q=r(n.get("left"));if(!i)return;var Z=r(n.get("right"));if(!i)return;switch(s.operator){case"-":return Q-Z;case"+":return Q+Z;case"/":return Q/Z;case"*":return Q*Z;case"%":return Q%Z;case"**":return Math.pow(Q,Z);case"<":return Q":return Q>Z;case"<=":return Q<=Z;case">=":return Q>=Z;case"==":return Q==Z;case"!=":return Q!=Z;case"===":return Q===Z;case"!==":return Q!==Z;case"|":return Q|Z;case"&":return Q&Z;case"^":return Q^Z;case"<<":return Q<>":return Q>>Z;case">>>":return Q>>>Z}}if(n.isCallExpression()){var ee=n.get("callee"),te=void 0,re=void 0;if(ee.isIdentifier()&&!n.scope.getBinding(ee.node.name,!0)&&p.indexOf(ee.node.name)>=0&&(re=e[s.callee.name]),ee.isMemberExpression()){var ne=ee.get("object"),ie=ee.get("property");if(ne.isIdentifier()&&ie.isIdentifier()&&p.indexOf(ne.node.name)>=0&&d.indexOf(ie.node.name)<0&&(te=e[ne.node.name],re=te[ie.node.name]),ne.isLiteral()&&ie.isIdentifier()){var se=(0,o.default)(ne.node.value);"string"!==se&&"number"!==se||(te=ne.node.value,re=te[ie.node.name])}}if(re){var ae=n.get("arguments").map(r);if(!i)return;return re.apply(te,ae)}}t(n)}}var i=!0,s=void 0,a=new f.default,u=r(this);return i||(u=void 0),{confident:i,deopt:s,value:u}}t.__esModule=!0;var a=r(6),o=n(a),u=r(2),l=n(u),c=r(131),f=n(c);t.evaluateTruthy=i,t.evaluate=s;var p=["String","Number","Math"],d=["random"]}).call(t,function(){return this}())},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(){var e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e}function a(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):void 0}function o(){var e=[],t=function(t){t&&(e=e.concat(t.getCompletionRecords()))};if(this.isIfStatement())t(this.get("consequent")),t(this.get("alternate"));else if(this.isDoExpression()||this.isFor()||this.isWhile())t(this.get("body"));else if(this.isProgram()||this.isBlockStatement())t(this.get("body").pop());else{if(this.isFunction())return this.get("body").getCompletionRecords();this.isTryStatement()?(t(this.get("block")),t(this.get("handler")),t(this.get("finalizer"))):e.push(this)}return e}function u(e){return x.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e})}function l(e,t){t===!0&&(t=this.context);var r=e.split(".");return 1===r.length?this._getKey(e,t):this._getPattern(r,t)}function c(e,t){var r=this,n=this.node,i=n[e];return Array.isArray(i)?i.map(function(s,a){return x.default.get({listKey:e,parentPath:r,parent:n,container:i,key:a}).setContext(t)}):x.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}function f(e,t){for(var r=this,n=e,i=Array.isArray(n),s=0,n=i?n:(0,b.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;r="."===o?r.parentPath:Array.isArray(r)?r[o]:r.get(o,t)}return r}function p(e){return S.getBindingIdentifiers(this.node,e)}function d(e){return S.getOuterBindingIdentifiers(this.node,e)}function h(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this,n=[].concat(r),i=(0,y.default)(null);n.length;){var s=n.shift();if(s&&s.node){var a=S.getBindingIdentifiers.keys[s.node.type];if(s.isIdentifier())if(e){var o=i[s.node.name]=i[s.node.name]||[];o.push(s)}else i[s.node.name]=s;else if(s.isExportDeclaration()){var u=s.get("declaration");u.isDeclaration()&&n.push(u)}else{if(t){if(s.isFunctionDeclaration()){n.push(s.get("id"));continue}if(s.isFunctionExpression())continue}if(a)for(var l=0;l=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;if(y.isAnyTypeAnnotation(a)||u(e,a,!0))return!0}return!1}return u(e,t,!0)}function c(e){var t=this.getTypeAnnotation();if(e=e.getTypeAnnotation(),!y.isAnyTypeAnnotation(t)&&y.isFlowBaseAnnotation(t))return e.type===t.type}function f(e){var t=this.getTypeAnnotation();return y.isGenericTypeAnnotation(t)&&y.isIdentifier(t.id,{name:e})}t.__esModule=!0;var p=r(2),d=i(p);t.getTypeAnnotation=s,t._getTypeAnnotation=a,t.isBaseType=o,t.couldBeBaseType=l,t.baseTypeStrictlyMatches=c,t.isGenericType=f;var h=r(369),m=n(h),v=r(1),y=n(v)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=e.scope.getBinding(t),n=[];e.typeAnnotation=d.unionTypeAnnotation(n);var i=[],s=a(r,e,i),o=l(e,t);if(o&&!function(){var e=a(r,o.ifStatement);s=s.filter(function(t){return e.indexOf(t)<0}),n.push(o.typeAnnotation)}(),s.length){s=s.concat(i);for(var u=s,c=Array.isArray(u),p=0,u=c?u:(0,f.default)(u);;){var h;if(c){if(p>=u.length)break;h=u[p++]}else{if(p=u.next(),p.done)break;h=p.value}var m=h;n.push(m.getTypeAnnotation())}}if(n.length)return d.createUnionTypeAnnotation(n)}function a(e,t,r){var n=e.constantViolations.slice();return n.unshift(e.path),n.filter(function(e){e=e.resolve();var n=e._guessExecutionStatusRelativeTo(t);return r&&"function"===n&&r.push(e),"before"===n})}function o(e,t){var r=t.node.operator,n=t.get("right").resolve(),i=t.get("left").resolve(),s=void 0;if(i.isIdentifier({name:e})?s=n:n.isIdentifier({name:e})&&(s=i),s)return"==="===r?s.getTypeAnnotation():d.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0?d.numberTypeAnnotation():void 0;if("==="===r){var a=void 0,o=void 0;if(i.isUnaryExpression({operator:"typeof"})?(a=i,o=n):n.isUnaryExpression({operator:"typeof"})&&(a=n,o=i),(o||a)&&(o=o.resolve(),o.isLiteral())){var u=o.node.value;if("string"==typeof u&&a.get("argument").isIdentifier({name:e}))return d.createTypeAnnotationBasedOnTypeof(o.node.value)}}}function u(e){for(var t=void 0;t=e.parentPath;){if(t.isIfStatement()||t.isConditionalExpression())return"test"===e.key?void 0:t;e=t}}function l(e,t){var r=u(e);if(r){var n=r.get("test"),i=[n],s=[];do{var a=i.shift().resolve();if(a.isLogicalExpression()&&(i.push(a.get("left")),i.push(a.get("right"))),a.isBinaryExpression()){var c=o(t,a);c&&s.push(c)}}while(i.length);return s.length?{typeAnnotation:d.createUnionTypeAnnotation(s),ifStatement:r}:l(r,t)}}t.__esModule=!0;var c=r(2),f=i(c);t.default=function(e){if(this.isReferenced()){var t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:s(this,e.name):"undefined"===e.name?d.voidTypeAnnotation():"NaN"===e.name||"Infinity"===e.name?d.numberTypeAnnotation():void("arguments"===e.name)}};var p=r(1),d=n(p);e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(){var e=this.get("id");return e.isIdentifier()?this.get("init").getTypeAnnotation():void 0}function a(e){return e.typeAnnotation}function o(e){if(this.get("callee").isIdentifier())return k.genericTypeAnnotation(e.callee)}function u(){return k.stringTypeAnnotation()}function l(e){var t=e.operator;return"void"===t?k.voidTypeAnnotation():k.NUMBER_UNARY_OPERATORS.indexOf(t)>=0?k.numberTypeAnnotation():k.STRING_UNARY_OPERATORS.indexOf(t)>=0?k.stringTypeAnnotation():k.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0?k.booleanTypeAnnotation():void 0}function c(e){var t=e.operator;if(k.NUMBER_BINARY_OPERATORS.indexOf(t)>=0)return k.numberTypeAnnotation();if(k.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0)return k.booleanTypeAnnotation();if("+"===t){var r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?k.numberTypeAnnotation():n.isBaseType("string")||r.isBaseType("string")?k.stringTypeAnnotation():k.unionTypeAnnotation([k.stringTypeAnnotation(),k.numberTypeAnnotation()])}}function f(){return k.createUnionTypeAnnotation([this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()])}function p(){return k.createUnionTypeAnnotation([this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()])}function d(){return this.get("expressions").pop().getTypeAnnotation()}function h(){return this.get("right").getTypeAnnotation()}function m(e){var t=e.operator;if("++"===t||"--"===t)return k.numberTypeAnnotation()}function v(){return k.stringTypeAnnotation()}function y(){return k.numberTypeAnnotation()}function g(){return k.booleanTypeAnnotation()}function b(){return k.nullLiteralTypeAnnotation()}function E(){return k.genericTypeAnnotation(k.identifier("RegExp"))}function x(){return k.genericTypeAnnotation(k.identifier("Object"))}function A(){return k.genericTypeAnnotation(k.identifier("Array"))}function S(){return A()}function _(){return k.genericTypeAnnotation(k.identifier("Function"))}function D(){return w(this.get("callee"))}function C(){return w(this.get("tag"))}function w(e){if(e=e.resolve(),e.isFunction()){if(e.is("async"))return e.is("generator")?k.genericTypeAnnotation(k.identifier("AsyncIterator")):k.genericTypeAnnotation(k.identifier("Promise"));if(e.node.returnType)return e.node.returnType}}t.__esModule=!0,t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=t.Identifier=void 0;var F=r(368);Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i(F).default}}),t.VariableDeclarator=s,t.TypeCastExpression=a,t.NewExpression=o,t.TemplateLiteral=u,t.UnaryExpression=l,t.BinaryExpression=c,t.LogicalExpression=f,t.ConditionalExpression=p,t.SequenceExpression=d,t.AssignmentExpression=h,t.UpdateExpression=m,t.StringLiteral=v,t.NumericLiteral=y,t.BooleanLiteral=g,t.NullLiteral=b,t.RegExpLiteral=E,t.ObjectExpression=x,t.ArrayExpression=A,t.RestElement=S,t.CallExpression=D,t.TaggedTemplateExpression=C;var P=r(1),k=n(P);a.validParent=!0,S.validParent=!0,t.FunctionExpression=_,t.ArrowFunctionExpression=_,t.FunctionDeclaration=_,t.ClassExpression=_,t.ClassDeclaration=_},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){function r(e){var t=n[s];return"*"===t||e===t}if(!this.isMemberExpression())return!1;for(var n=e.split("."),i=[this.node],s=0;i.length;){var a=i.shift();if(t&&s===n.length)return!0;if(P.isIdentifier(a)){if(!r(a.name))return!1}else if(P.isLiteral(a)){if(!r(a.value))return!1}else{if(P.isMemberExpression(a)){if(a.computed&&!P.isLiteral(a.property))return!1;i.unshift(a.property),i.unshift(a.object);continue}if(!P.isThisExpression(a))return!1;if(!r("this"))return!1}if(++s>n.length)return!1}return s===n.length}function a(e){var t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}function o(){return this.scope.isStatic(this.node)}function u(e){return!this.has(e)}function l(e,t){return this.node[e]===t}function c(e){return P.isType(this.type,e)}function f(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()}function p(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?P.isBlockStatement(e):!!this.isBlockStatement()&&P.isExpression(e))}function d(e){var t=this,r=!0;do{var n=t.container;if(t.isFunction()&&!r)return!!e;if(r=!1,Array.isArray(n)&&t.key!==n.length-1)return!1}while((t=t.parentPath)&&!t.isProgram());return!0}function h(){return!this.parentPath.isLabeledStatement()&&!P.isBlockStatement(this.container)&&(0,w.default)(P.STATEMENT_OR_BLOCK_KEYS,this.key)}function m(e,t){if(!this.isReferencedIdentifier())return!1;var r=this.scope.getBinding(this.node.name);if(!r||"module"!==r.kind)return!1;var n=r.path,i=n.parentPath;return!!i.isImportDeclaration()&&(i.node.source.value===e&&(!t||(!(!n.isImportDefaultSpecifier()||"default"!==t)||(!(!n.isImportNamespaceSpecifier()||"*"!==t)||!(!n.isImportSpecifier()||n.node.imported.name!==t)))))}function v(){var e=this.node;return e.end?this.hub.file.code.slice(e.start,e.end):""}function y(e){return"after"!==this._guessExecutionStatusRelativeTo(e)}function g(e){var t=e.scope.getFunctionParent(),r=this.scope.getFunctionParent();if(t.node!==r.node){var n=this._guessExecutionStatusRelativeToDifferentFunctions(t);if(n)return n;e=t.path}var i=e.getAncestry();if(i.indexOf(this)>=0)return"after";var s=this.getAncestry(),a=void 0,o=void 0,u=void 0;for(u=0;u=0){a=l;break}}if(!a)return"before";var c=i[o-1],f=s[u-1];if(!c||!f)return"before";if(c.listKey&&c.container===f.container)return c.key>f.key?"before":"after";var p=P.VISITOR_KEYS[c.type].indexOf(c.key),d=P.VISITOR_KEYS[f.type].indexOf(f.key);return p>d?"before":"after"}function b(e){var t=e.path;if(t.isFunctionDeclaration()){var r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";for(var n=r.referencePaths,i=n,s=Array.isArray(i),a=0,i=s?i:(0,D.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var u=o;if("callee"!==u.key||!u.parentPath.isCallExpression())return}for(var l=void 0,c=n,f=Array.isArray(c),p=0,c=f?c:(0,D.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d,m=!!h.find(function(e){return e.node===t.node});if(!m){var v=this._guessExecutionStatusRelativeTo(h);if(l){if(l!==v)return}else l=v}}return l}}function E(e,t){return this._resolve(e,t)||this}function x(e,t){var r=this;if(!(t&&t.indexOf(this)>=0))if(t=t||[],t.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){var n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){var i=function(){var i=n.path.resolve(e,t);return r.find(function(e){return e.node===i.node})?{v:void 0}:{v:i}}();if("object"===("undefined"==typeof i?"undefined":(0,S.default)(i)))return i.v}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){var s=this.toComputedKey();if(!P.isLiteral(s))return;var a=s.value,o=this.get("object").resolve(e,t);if(o.isObjectExpression())for(var u=o.get("properties"),l=u,c=Array.isArray(l),f=0,l=c?l:(0,D.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;if(d.isProperty()){var h=d.get("key"),m=d.isnt("computed")&&h.isIdentifier({name:a});if(m=m||h.isLiteral({value:a}))return d.get("value").resolve(e,t)}}else if(o.isArrayExpression()&&!isNaN(+a)){var v=o.get("elements"),y=v[a];if(y)return y.resolve(e,t)}}}}t.__esModule=!0,t.is=void 0;var A=r(6),S=i(A),_=r(2),D=i(_);t.matchesPattern=s,t.has=a,t.isStatic=o,t.isnt=u,t.equals=l,t.isNodeType=c,t.canHaveVariableDeclarationOrExpression=f,t.canSwapBetweenExpressionAndStatement=p,t.isCompletionRecord=d,t.isStatementOrBlock=h,t.referencesImport=m,t.getSource=v,t.willIMaybeExecuteBefore=y,t._guessExecutionStatusRelativeTo=g,t._guessExecutionStatusRelativeToDifferentFunctions=b,t.resolve=E,t._resolve=x;var C=r(112),w=i(C),F=r(1),P=n(F);t.is=a},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(3),a=i(s),o=r(2),u=i(o),l=r(1),c=n(l),f={ReferencedIdentifier:function(e,t){if(!e.isJSXIdentifier()||!l.react.isCompatTag(e.node.name)){var r=e.scope.getBinding(e.node.name);if(r&&r===t.scope.getBinding(e.node.name))if(r.constant)t.bindings[e.node.name]=r;else for(var n=r.constantViolations,i=Array.isArray(n),s=0,n=i?n:(0,u.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;t.breakOnScopePaths=t.breakOnScopePaths.concat(o.getAncestry())}}}},p=function(){function e(t,r){(0,a.default)(this,e),this.breakOnScopePaths=[],this.bindings={},this.scopes=[],this.scope=r,this.path=t}return e.prototype.isCompatibleScope=function(e){for(var t in this.bindings){var r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier))return!1}return!0},e.prototype.getCompatibleScopes=function(){var e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)},e.prototype.getAttachmentPath=function(){var e=this._getAttachmentPath();if(e){var t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(var r in this.bindings)if(t.hasOwnBinding(r)){var n=this.bindings[r];if("param"!==n.kind&&this.getAttachmentParentForPath(n.path).key>e.key)return}return e}},e.prototype._getAttachmentPath=function(){var e=this.scopes,t=e.pop();if(t){if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;return t.path.get("body").get("body")[0]}return this.getNextScopeAttachmentParent()}return t.path.isProgram()?this.getNextScopeAttachmentParent():void 0}},e.prototype.getNextScopeAttachmentParent=function(){var e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)},e.prototype.getAttachmentParentForPath=function(e){do if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()||e.isVariableDeclarator()&&null!==e.parentPath.node&&e.parentPath.node.declarations.length>1)return e;while(e=e.parentPath)},e.prototype.hasOwnParamBindings=function(e){for(var t in this.bindings)if(e.hasOwnBinding(t)){var r=this.bindings[t];if("param"===r.kind)return!0}return!1},e.prototype.run=function(){var e=this.path.node;if(!e._hoisted){e._hoisted=!0,this.path.traverse(f,this),this.getCompatibleScopes();var t=this.getAttachmentPath();if(t&&t.getFunctionParent()!==this.path.getFunctionParent()){var r=t.scope.generateUidIdentifier("ref"),n=c.variableDeclarator(r,this.path.node);t.insertBefore([t.isVariableDeclarator()?n:c.variableDeclaration("var",[n])]);var i=this.path.parentPath;i.isJSXElement()&&this.path.container===i.node.children&&(r=c.JSXExpressionContainer(r)),this.path.replaceWith(r)}}},e}();t.default=p,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;t.hooks=[function(e,t){var r=!1;if(r=r||"test"===e.key&&(t.isWhile()||t.isSwitchCase()),r=r||"declaration"===e.key&&t.isExportDeclaration(),r=r||"body"===e.key&&t.isLabeledStatement(),r=r||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length,r=r||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&("consequent"===e.key||"alternate"===e.key)||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertBefore(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key)this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertBefore(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.push(this.node),this._replaceWith(C.blockStatement(e))}return[this]}function a(e,t){this.updateSiblingKeys(e,t.length);for(var r=[],n=0;n=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;p.setScope(),p.debug(function(){return"Inserted."});for(var d=o,h=Array.isArray(d),m=0,d=h?d:(0,b.default)(d);;){var v;if(h){if(m>=d.length)break;v=d[m++]}else{if(m=d.next(),m.done)break;v=m.value}var y=v;y.maybeQueue(p,!0)}}return r}function o(e){return this._containerInsert(this.key,e)}function u(e){return this._containerInsert(this.key+1,e)}function l(e){var t=e[e.length-1],r=C.isIdentifier(t)||C.isExpressionStatement(t)&&C.isIdentifier(t.expression);r&&!this.isCompletionRecord()&&e.pop()}function c(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertAfter(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key){if(this.node){var t=this.scope.generateDeclaredUidIdentifier();e.unshift(C.expressionStatement(C.assignmentExpression("=",t,this.node))),e.push(C.expressionStatement(t))}this.replaceExpressionWithStatements(e)}else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertAfter(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.unshift(this.node),this._replaceWith(C.blockStatement(e))}return[this]}function f(e,t){if(this.parent)for(var r=E.path.get(this.parent),n=0;n=e&&(i.key+=t)}}function p(e){if(!e)return[];e.constructor!==Array&&(e=[e]);for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:this.scope,t=new A.default(this,e);return t.run()}t.__esModule=!0;var v=r(6),y=i(v),g=r(2),b=i(g);t.insertBefore=s,t._containerInsert=a,t._containerInsertBefore=o,t._containerInsertAfter=u,t._maybePopFromStatements=l,t.insertAfter=c,t.updateSiblingKeys=f,t._verifyNodeList=p,t.unshiftContainer=d,t.pushContainer=h,t.hoist=m;var E=r(88),x=r(371),A=i(x),S=r(35),_=i(S),D=r(1),C=n(D)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(){return this._assertUnremoved(),this.resync(),this._callRemovalHooks()?void this._markRemoved():(this.shareCommentsWithSiblings(),this._remove(),void this._markRemoved())}function s(){for(var e=f.hooks,t=Array.isArray(e),r=0,e=t?e:(0,c.default)(e);;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{if(r=e.next(),r.done)break;n=r.value}var i=n;if(i(this,this.parentPath))return!0}}function a(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function o(){this.shouldSkip=!0,this.removed=!0,this.node=null}function u(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}t.__esModule=!0;var l=r(2),c=n(l);t.remove=i,t._callRemovalHooks=s,t._remove=a,t._markRemoved=o,t._assertUnremoved=u;var f=r(372)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){this.resync(),e=this._verifyNodeList(e),x.inheritLeadingComments(e[0],this.node),x.inheritTrailingComments(e[e.length-1],this.node),this.node=this.container[this.key]=null,this.insertAfter(e),this.node?this.requeue():this.remove()}function a(e){this.resync();try{e="("+e+")",e=(0,b.parse)(e)}catch(r){var t=r.loc;throw t&&(r.message+=" - make sure this is an expression.",r.message+="\n"+(0,h.default)(e,t.line,t.column+1)),r}return e=e.program.body[0].expression,v.default.removeProperties(e),this.replaceWith(e)}function o(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");if(e instanceof g.default&&(e=e.node),!e)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node!==e){if(this.isProgram()&&!x.isProgram(e))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(e))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof e)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");if(this.isNodeType("Statement")&&x.isExpression(e)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(e)||(e=x.expressionStatement(e))),this.isNodeType("Expression")&&x.isStatement(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);var t=this.node;t&&(x.inheritsComments(e,t),x.removeComments(t)),this._replaceWith(e),this.type=e.type,this.setScope(),this.requeue()}}function u(e){if(!this.container)throw new ReferenceError("Container is falsy");this.inList?x.validate(this.parent,this.key,[e]):x.validate(this.parent,this.key,e),this.debug(function(){return"Replace with "+(e&&e.type)}),this.node=this.container[this.key]=e}function l(e){this.resync();var t=x.toSequenceExpression(e,this.scope);if(x.isSequenceExpression(t)){var r=t.expressions;r.length>=2&&this.parentPath.isExpressionStatement()&&this._maybePopFromStatements(r),1===r.length?this.replaceWith(r[0]):this.replaceWith(t)}else{if(!t){var n=x.functionExpression(null,[],x.blockStatement(e));n.shadow=!0,this.replaceWith(x.callExpression(n,[])),this.traverse(A);for(var i=this.get("callee").getCompletionRecords(),s=i,a=Array.isArray(s),o=0,s=a?s:(0,p.default)(s);;){var u;if(a){if(o>=s.length)break;u=s[o++]}else{if(o=s.next(),o.done)break;u=o.value}var l=u;if(l.isExpressionStatement()){var c=l.findParent(function(e){return e.isLoop()});if(c){var f=this.get("callee"),d=f.scope.generateDeclaredUidIdentifier("ret");f.get("body").pushContainer("body",x.returnStatement(d)),l.get("expression").replaceWith(x.assignmentExpression("=",d,l.node.expression))}else l.replaceWith(x.returnStatement(l.node.expression))}}return this.node}this.replaceWith(t)}}function c(e){return this.resync(),Array.isArray(e)?Array.isArray(this.container)?(e=this._verifyNodeList(e),this._containerInsertAfter(e),this.remove()):this.replaceWithMultiple(e):this.replaceWith(e)}t.__esModule=!0;var f=r(2),p=i(f);t.replaceWithMultiple=s,t.replaceWithSourceString=a,t.replaceWith=o,t._replaceWith=u,t.replaceExpressionWithStatements=l,t.replaceInline=c;var d=r(178),h=i(d),m=r(8),v=i(m),y=r(35),g=i(y),b=r(134),E=r(1),x=n(E),A={Function:function(e){e.skip()},VariableDeclaration:function(e){if("var"===e.node.kind){var t=e.getBindingIdentifiers();for(var r in t)e.scope.push({id:t[r]});for(var n=[],i=e.node.declarations,s=Array.isArray(i),a=0,i=s?i:(0,p.default)(i);;){var o;if(s){if(a>=i.length)break;o=i[a++]}else{if(a=i.next(),a.done)break;o=a.value}var u=o;u.init&&n.push(x.expressionStatement(x.assignmentExpression("=",u.id,u.init)))}e.replaceWithMultiple(n)}}}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=r(3),a=i(s),o=r(223),u=(i(o),r(1)),l=n(u),c={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||e.skip()},"AssignmentExpression|Declaration":function(e,t){var r=e.getOuterBindingIdentifiers();for(var n in r)n===t.oldName&&(r[n].name=t.newName)}},f=function(){function e(t,r,n){(0,a.default)(this,e),this.newName=n,this.oldName=r,this.binding=t}return e.prototype.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath.isExportDeclaration()&&e.parentPath;if(t){var r=t.isExportDefaultDeclaration();r&&(e.isFunctionDeclaration()||e.isClassDeclaration())&&!e.node.id&&(e.node.id=e.scope.generateUidIdentifier("default"));var n=e.getOuterBindingIdentifiers(),i=[];for(var s in n){var a=s===this.oldName?this.newName:s,o=r?"default":s;i.push(l.exportSpecifier(l.identifier(a),l.identifier(o)))}if(i.length){var u=l.exportNamedDeclaration(null,i);e.isFunctionDeclaration()&&(u._blockHoist=3),t.insertAfter(u),t.replaceWith(e.node)}}},e.prototype.maybeConvertFromClassFunctionDeclaration=function(e){},e.prototype.maybeConvertFromClassFunctionExpression=function(e){},e.prototype.rename=function(e){var t=this.binding,r=this.oldName,n=this.newName,i=t.scope,s=t.path,a=s.find(function(e){return e.isDeclaration()||e.isFunctionExpression()});a&&this.maybeConvertFromExportDeclaration(a),i.traverse(e||i.block,c,this),e||(i.removeOwnBinding(r),i.bindings[n]=t,this.binding.identifier.name=n),"hoisted"===t.type,a&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))},e}();t.default=f,e.exports=t.default},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e._exploded)return e;e._exploded=!0;for(var t in e)if(!d(t)){var r=t.split("|");if(1!==r.length){var n=e[t];delete e[t];for(var i=r,s=Array.isArray(i),o=0,i=s?i:(0,E.default)(i);;){var u;if(s){if(o>=i.length)break;u=i[o++]}else{if(o=i.next(),o.done)break;u=o.value}var l=u;e[l]=n}}}a(e),delete e.__esModule,c(e),f(e);for(var m=(0,g.default)(e),v=Array.isArray(m),y=0,m=v?m:(0,E.default)(m);;){var b;if(v){if(y>=m.length)break;b=m[y++]}else{if(y=m.next(),y.done)break;b=y.value}var x=b;if(!d(x)){var S=A[x];if(S){var _=e[x];for(var D in _)_[D]=p(S,_[D]);if(delete e[x],S.types)for(var w=S.types,P=Array.isArray(w),k=0,w=P?w:(0,E.default)(w);;){var T;if(P){if(k>=w.length)break;T=w[k++]}else{if(k=w.next(),k.done)break;T=k.value}var O=T;e[O]?h(e[O],_):e[O]=_}else h(e,_)}}}for(var B in e)if(!d(B)){var R=e[B],I=C.FLIPPED_ALIAS_KEYS[B],M=C.DEPRECATED_KEYS[B];if(M&&(console.trace("Visitor defined for "+B+" but it has been renamed to "+M),I=[M]),I){delete e[B];for(var N=I,L=Array.isArray(N),j=0,N=L?N:(0,E.default)(N);;){var U;if(L){if(j>=N.length)break;U=N[j++]}else{if(j=N.next(),j.done)break;U=j.value}var V=U,G=e[V];G?h(G,R):e[V]=(0,F.default)(R)}}}for(var W in e)d(W)||f(e[W]);return e}function a(e){if(!e._verified){if("function"==typeof e)throw new Error(_.get("traverseVerifyRootFunction"));for(var t in e)if("enter"!==t&&"exit"!==t||o(t,e[t]),!d(t)){if(C.TYPES.indexOf(t)<0)throw new Error(_.get("traverseVerifyNodeType",t));var r=e[t];if("object"===("undefined"==typeof r?"undefined":(0,v.default)(r)))for(var n in r){if("enter"!==n&&"exit"!==n)throw new Error(_.get("traverseVerifyVisitorProperty",t,n));o(t+"."+n,r[n])}}e._verified=!0}}function o(e,t){for(var r=[].concat(t),n=r,i=Array.isArray(n),s=0,n=i?n:(0,E.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if("function"!=typeof o)throw new TypeError("Non-function found defined in "+e+" with type "+("undefined"==typeof o?"undefined":(0,v.default)(o)))}}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2],n={},i=0;i1&&void 0!==arguments[1]?arguments[1]:e.key||e.property;return e.computed||D.isIdentifier(t)&&(t=D.stringLiteral(t.name)),t}function a(e,t){function r(e){for(var s=!1,a=[],o=e,u=Array.isArray(o),l=0,o=u?o:(0,b.default)(o);;){var c;if(u){if(l>=o.length)break;c=o[l++]}else{if(l=o.next(),l.done)break;c=l.value}var f=c;if(D.isExpression(f))a.push(f);else if(D.isExpressionStatement(f))a.push(f.expression);else{if(D.isVariableDeclaration(f)){if("var"!==f.kind)return i=!0;for(var p=f.declarations,d=Array.isArray(p),h=0,p=d?p:(0,b.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var v=m,y=D.getBindingIdentifiers(v);for(var g in y)n.push({kind:f.kind,id:y[g]});v.init&&a.push(D.assignmentExpression("=",v.id,v.init))}s=!0;continue}if(D.isIfStatement(f)){var E=f.consequent?r([f.consequent]):t.buildUndefinedNode(),x=f.alternate?r([f.alternate]):t.buildUndefinedNode();if(!E||!x)return i=!0;a.push(D.conditionalExpression(f.test,E,x))}else{if(!D.isBlockStatement(f)){if(D.isEmptyStatement(f)){s=!0;continue}return i=!0}a.push(r(f.body))}}s=!1}return(s||0===a.length)&&a.push(t.buildUndefinedNode()),1===a.length?a[0]:D.sequenceExpression(a)}if(e&&e.length){var n=[],i=!1,s=r(e);if(!i){ -for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:e.key,r=void 0;return"method"===e.kind?o.increment()+"":(r=D.isIdentifier(t)?t.name:D.isStringLiteral(t)?(0,y.default)(t.value):(0,y.default)(D.removePropertiesDeep(D.cloneDeep(t))),e.computed&&(r="["+r+"]"),e.static&&(r="static:"+r),r)}function u(e){return e+="",e=e.replace(/[^a-zA-Z0-9$_]/g,"-"),e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),D.isValidIdentifier(e)||(e="_"+e),e||"_"}function l(e){return e=u(e),"eval"!==e&&"arguments"!==e||(e="_"+e),e}function c(e,t){if(D.isStatement(e))return e;var r=!1,n=void 0;if(D.isClass(e))r=!0,n="ClassDeclaration";else if(D.isFunction(e))r=!0,n="FunctionDeclaration";else if(D.isAssignmentExpression(e))return D.expressionStatement(e);if(r&&!e.id&&(n=!1),!n){if(t)return!1;throw new Error("cannot turn "+e.type+" to a statement")}return e.type=n,e}function f(e){if(D.isExpressionStatement(e)&&(e=e.expression),D.isExpression(e))return e;if(D.isClass(e)?e.type="ClassExpression":D.isFunction(e)&&(e.type="FunctionExpression"),!D.isExpression(e))throw new Error("cannot turn "+e.type+" to an expression");return e}function p(e,t){return D.isBlockStatement(e)?e:(D.isEmptyStatement(e)&&(e=[]),Array.isArray(e)||(D.isStatement(e)||(e=D.isFunction(t)?D.returnStatement(e):D.expressionStatement(e)),e=[e]),D.blockStatement(e))}function d(e){if(void 0===e)return D.identifier("undefined");if(e===!0||e===!1)return D.booleanLiteral(e);if(null===e)return D.nullLiteral();if("string"==typeof e)return D.stringLiteral(e);if("number"==typeof e)return D.numericLiteral(e);if((0,S.default)(e)){var t=e.source,r=e.toString().match(/\/([a-z]+|)$/)[1];return D.regExpLiteral(t,r)}if(Array.isArray(e))return D.arrayExpression(e.map(D.valueToNode));if((0,x.default)(e)){var n=[];for(var i in e){var s=void 0;s=D.isValidIdentifier(i)?D.identifier(i):D.stringLiteral(i),n.push(D.objectProperty(s,D.valueToNode(e[i])))}return D.objectExpression(n)}throw new Error("don't know how to turn this value into a node")}t.__esModule=!0;var h=r(352),m=i(h),v=r(34),y=i(v),g=r(2),b=i(g);t.toComputedKey=s,t.toSequenceExpression=a,t.toKeyAlias=o,t.toIdentifier=u,t.toBindingIdentifierName=l,t.toStatement=c,t.toExpression=f,t.toBlock=p,t.valueToNode=d;var E=r(271),x=i(E),A=r(272),S=i(A),_=r(1),D=n(_);o.uid=0,o.increment=function(){return o.uid>=m.default?o.uid=0:o.uid++}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var s=r(1),a=i(s),o=r(133),u=r(26),l=n(u);(0,l.default)("ArrayExpression",{fields:{elements:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,l.default)("AssignmentExpression",{fields:{operator:{validate:(0,u.assertValueType)("string")},left:{validate:(0,u.assertNodeType)("LVal")},right:{validate:(0,u.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,l.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:u.assertOneOf.apply(void 0,o.BINARY_OPERATORS)},left:{validate:(0,u.assertNodeType)("Expression")},right:{validate:(0,u.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,l.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,u.assertNodeType)("DirectiveLiteral")}}}),(0,l.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("string")}}}),(0,l.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Directive"))),default:[]},body:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,l.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,u.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,l.default)("CallExpression",{visitor:["callee","arguments"],fields:{callee:{validate:(0,u.assertNodeType)("Expression")},arguments:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression","SpreadElement")))}},aliases:["Expression"]}),(0,l.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,u.assertNodeType)("Identifier")},body:{validate:(0,u.assertNodeType)("BlockStatement")}},aliases:["Scopable"]}),(0,l.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},consequent:{validate:(0,u.assertNodeType)("Expression")},alternate:{validate:(0,u.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,l.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,u.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,l.default)("DebuggerStatement",{aliases:["Statement"]}),(0,l.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,l.default)("EmptyStatement",{aliases:["Statement"]}),(0,l.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,u.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,l.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,u.assertNodeType)("Program")}}}),(0,l.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,u.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,u.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,u.assertNodeType)("Expression"),optional:!0},update:{validate:(0,u.assertNodeType)("Expression"),optional:!0},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:{id:{validate:(0,u.assertNodeType)("Identifier")},params:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("LVal")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}},aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,l.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{id:{validate:(0,u.assertNodeType)("Identifier"),optional:!0},params:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("LVal")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}}}),(0,l.default)("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","LVal"],fields:{name:{validate:function(e,t,r){!a.isValidIdentifier(r)}},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))}}}),(0,l.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},consequent:{validate:(0,u.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,u.assertNodeType)("Identifier")},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,u.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,u.assertValueType)("string")},flags:{validate:(0,u.assertValueType)("string"),default:""}}}),(0,l.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:u.assertOneOf.apply(void 0,o.LOGICAL_OPERATORS)},left:{validate:(0,u.assertNodeType)("Expression")},right:{validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("MemberExpression",{builder:["object","property","computed"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,u.assertNodeType)("Expression")},property:{validate:function(e,t,r){var n=e.computed?"Expression":"Identifier";(0,u.assertNodeType)(n)(e,t,r)}},computed:{default:!1}}}),(0,l.default)("NewExpression",{visitor:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,u.assertNodeType)("Expression")},arguments:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression","SpreadElement")))}}}),(0,l.default)("Program",{visitor:["directives","body"],builder:["body","directives"],fields:{directives:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Directive"))),default:[]},body:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","FunctionParent"]}),(0,l.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("ObjectMethod","ObjectProperty","SpreadProperty")))}}}),(0,l.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:{kind:{validate:(0,u.chain)((0,u.assertValueType)("string"),(0,u.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,u.assertValueType)("boolean"),default:!1},key:{validate:function(e,t,r){var n=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];u.assertNodeType.apply(void 0,n)(e,t,r)}},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}},visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,l.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,u.assertValueType)("boolean"),default:!1},key:{validate:function(e,t,r){var n=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];u.assertNodeType.apply(void 0,n)(e,t,r)}},value:{validate:(0,u.assertNodeType)("Expression")},shorthand:{validate:(0,u.assertValueType)("boolean"),default:!1},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,l.default)("RestElement",{visitor:["argument","typeAnnotation"],aliases:["LVal"],fields:{argument:{validate:(0,u.assertNodeType)("LVal")},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))}}}),(0,l.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,u.assertNodeType)("Expression"),optional:!0}}}),(0,l.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,l.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,u.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}}}),(0,l.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,u.assertNodeType)("Expression")},cases:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("SwitchCase")))}}}),(0,l.default)("ThisExpression",{aliases:["Expression"]}),(0,l.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{body:{validate:(0,u.assertNodeType)("BlockStatement")},handler:{optional:!0,handler:(0,u.assertNodeType)("BlockStatement")},finalizer:{optional:!0,validate:(0,u.assertNodeType)("BlockStatement")}}}),(0,l.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,u.assertNodeType)("Expression")},operator:{validate:u.assertOneOf.apply(void 0,o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,l.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,u.assertNodeType)("Expression")},operator:{validate:u.assertOneOf.apply(void 0,o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,l.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{kind:{validate:(0,u.chain)((0,u.assertValueType)("string"),(0,u.assertOneOf)("var","let","const"))},declarations:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("VariableDeclarator")))}}}),(0,l.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,u.assertNodeType)("LVal")},init:{optional:!0,validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("BlockStatement","Statement")}}}),(0,l.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{object:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(26),s=n(i);(0,s.default)("AssignmentPattern",{visitor:["left","right"],aliases:["Pattern","LVal"],fields:{left:{validate:(0,i.assertNodeType)("Identifier")},right:{validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,s.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],aliases:["Pattern","LVal"],fields:{elements:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Expression")))},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,s.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{params:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("LVal")))},body:{validate:(0,i.assertNodeType)("BlockStatement","Expression")},async:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,s.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ClassMethod","ClassProperty")))}}}),(0,s.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:{id:{validate:(0,i.assertNodeType)("Identifier")},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,s.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:{id:{optional:!0,validate:(0,i.assertNodeType)("Identifier")},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,s.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,s.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")}}}),(0,s.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ExportSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral"),optional:!0}}}),(0,s.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,s.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,i.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,i.assertNodeType)("Expression")},body:{validate:(0,i.assertNodeType)("Statement")}}}),(0,s.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,s.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,s.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,s.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},imported:{validate:(0,i.assertNodeType)("Identifier")},importKind:{validate:(0,i.assertOneOf)(null,"type","typeof")}}}),(0,s.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,i.assertValueType)("string")},property:{validate:(0,i.assertValueType)("string")}}}),(0,s.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:{kind:{validate:(0,i.chain)((0,i.assertValueType)("string"),(0,i.assertOneOf)("get","set","method","constructor")),default:"method"},computed:{default:!1,validate:(0,i.assertValueType)("boolean")},static:{default:!1,validate:(0,i.assertValueType)("boolean")},key:{validate:function(e,t,r){var n=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];i.assertNodeType.apply(void 0,n)(e,t,r)}},params:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("LVal")))},body:{validate:(0,i.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,i.assertValueType)("boolean")},async:{default:!1,validate:(0,i.assertValueType)("boolean")}}}),(0,s.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],aliases:["Pattern","LVal"],fields:{properties:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("RestProperty","Property")))},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,s.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("Super",{aliases:["Expression"]}),(0,s.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,i.assertNodeType)("Expression")},quasi:{validate:(0,i.assertNodeType)("TemplateLiteral")}}}),(0,s.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,s.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TemplateElement")))},expressions:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Expression")))}}}),(0,s.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,i.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(26),s=n(i);(0,s.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("ForAwaitStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,i.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,i.assertNodeType)("Expression")},body:{validate:(0,i.assertNodeType)("Statement")}}}),(0,s.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,s.default)("Import",{aliases:["Expression"]}),(0,s.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,i.assertNodeType)("BlockStatement")}}}),(0,s.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,s.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,s.default)("RestProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("LVal")}}}),(0,s.default)("SpreadProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(26),s=n(i);(0,s.default)("AnyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow"],fields:{}}),(0,s.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("BooleanLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,s.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,s.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed"],aliases:["Property"],fields:{computed:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,s.default)("DeclareClass",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareInterface",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareModule",{visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("ExistentialTypeParam",{aliases:["Flow"]}),(0,s.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow"],fields:{}}),(0,s.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{}}),(0,s.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,s.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,s.default)("InterfaceDeclaration",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,s.default)("MixedTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,s.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,s.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,s.default)("NumericLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,s.default)("NumberTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("StringLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,s.default)("StringTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("ThisTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,s.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,s.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow"],fields:{}}),(0,s.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,s.default)("TypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,s.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{}}),(0,s.default)("TypeParameter",{visitor:["bound"],aliases:["Flow"],fields:{}}),(0,s.default)("TypeParameterDeclaration",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,s.default)("TypeParameterInstantiation",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,s.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties"],aliases:["Flow"],fields:{}}),(0,s.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,s.default)("ObjectTypeIndexer",{visitor:["id","key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,s.default)("ObjectTypeProperty",{visitor:["key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,s.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{}}),(0,s.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,s.default)("VoidTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}})},function(e,t,r){"use strict";r(26),r(379),r(380),r(382),r(384),r(385),r(381)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(26),s=n(i);(0,s.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,i.assertNodeType)("JSXElement","StringLiteral","JSXExpressionContainer")}}}),(0,s.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXMemberExpression")}}}),(0,s.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,i.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,i.assertNodeType)("JSXClosingElement")},children:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement")))}}}),(0,s.default)("JSXEmptyExpression",{aliases:["JSX","Expression"]}),(0,s.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("JSXIdentifier",{builder:["name"],aliases:["JSX","Expression"],fields:{name:{validate:(0,i.assertValueType)("string")}}}),(0,s.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX","Expression"],fields:{object:{validate:(0,i.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,i.assertNodeType)("JSXIdentifier")}}}),(0,s.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,i.assertNodeType)("JSXIdentifier")},name:{validate:(0,i.assertNodeType)("JSXIdentifier")}}}),(0,s.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXMemberExpression")},selfClosing:{default:!1,validate:(0,i.assertValueType)("boolean") -},attributes:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))}}}),(0,s.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,s.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,i.assertValueType)("string")}}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var i=r(26),s=n(i);(0,s.default)("Noop",{visitor:[]}),(0,s.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){var t=s(e);return 1===t.length?t[0]:u.unionTypeAnnotation(t)}function s(e){for(var t={},r={},n=[],i=[],a=0;a=0)){if(u.isAnyTypeAnnotation(o))return[o];if(u.isFlowBaseAnnotation(o))r[o.type]=o;else if(u.isUnionTypeAnnotation(o))n.indexOf(o.types)<0&&(e=e.concat(o.types),n.push(o.types));else if(u.isGenericTypeAnnotation(o)){var l=o.id.name;if(t[l]){var c=t[l];c.typeParameters?o.typeParameters&&(c.typeParameters.params=s(c.typeParameters.params.concat(o.typeParameters.params))):c=o.typeParameters}else t[l]=o}else i.push(o)}}for(var f in r)i.push(r[f]);for(var p in t)i.push(t[p]);return i}function a(e){if("string"===e)return u.stringTypeAnnotation();if("number"===e)return u.numberTypeAnnotation();if("undefined"===e)return u.voidTypeAnnotation();if("boolean"===e)return u.booleanTypeAnnotation();if("function"===e)return u.genericTypeAnnotation(u.identifier("Function"));if("object"===e)return u.genericTypeAnnotation(u.identifier("Object"));if("symbol"===e)return u.genericTypeAnnotation(u.identifier("Symbol"));throw new Error("Invalid typeof value")}t.__esModule=!0,t.createUnionTypeAnnotation=i,t.removeTypeDuplicates=s,t.createTypeAnnotationBasedOnTypeof=a;var o=r(1),u=n(o)},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return!!e&&/^[a-z]|\-/.test(e)}function s(e,t){for(var r=e.value.split(/\r\n|\n|\r/),n=0,i=0;i=0)return!0}else if(s===e)return!0}return!1}function a(e,t){switch(t.type){case"BindExpression":return t.object===e||t.callee===e;case"MemberExpression":case"JSXMemberExpression":return!(t.property!==e||!t.computed)||t.object===e;case"MetaProperty":return!1;case"ObjectProperty":if(t.key===e)return t.computed;case"VariableDeclarator":return t.id!==e;case"ArrowFunctionExpression":case"FunctionDeclaration":case"FunctionExpression":for(var r=t.params,n=Array.isArray(r),i=0,r=n?r:(0,E.default)(r);;){var s;if(n){if(i>=r.length)break;s=r[i++]}else{if(i=r.next(),i.done)break;s=i.value}var a=s;if(a===e)return!1}return t.id!==e;case"ExportSpecifier":return!t.source&&t.local===e;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"JSXAttribute":return t.name!==e;case"ClassProperty":return t.key===e?t.computed:t.value===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ClassDeclaration":case"ClassExpression":return t.id!==e;case"ClassMethod":case"ObjectMethod":return t.key===e&&t.computed;case"LabeledStatement":return!1;case"CatchClause":return t.param!==e;case"RestElement":return!1;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"ObjectPattern":case"ArrayPattern":return!1}return!0}function o(e){return"string"==typeof e&&!S.default.keyword.isReservedWordES6(e,!0)&&S.default.keyword.isIdentifierNameES6(e)}function u(e){return D.isVariableDeclaration(e)&&("var"!==e.kind||e[C.BLOCK_SCOPED_SYMBOL])}function l(e){return D.isFunctionDeclaration(e)||D.isClassDeclaration(e)||D.isLet(e)}function c(e){return D.isVariableDeclaration(e,{kind:"var"})&&!e[C.BLOCK_SCOPED_SYMBOL]}function f(e){return D.isImportDefaultSpecifier(e)||D.isIdentifier(e.imported||e.exported,{name:"default"})}function p(e,t){return(!D.isBlockStatement(e)||!D.isFunction(t,{body:e}))&&D.isScopable(e)}function d(e){return!!D.isType(e.type,"Immutable")||!!D.isIdentifier(e)&&"undefined"===e.name}function h(e,t){if("object"!==("undefined"==typeof e?"undefined":(0,g.default)(e))||"object"!==("undefined"==typeof e?"undefined":(0,g.default)(e))||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=(0,v.default)(D.NODE_FIELDS[e.type]||e.type),n=r,i=Array.isArray(n),s=0,n=i?n:(0,E.default)(n);;){var a;if(i){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}var o=a;if((0,g.default)(e[o])!==(0,g.default)(t[o]))return!1;if(Array.isArray(e[o])){if(!Array.isArray(t[o]))return!1;if(e[o].length!==t[o].length)return!1;for(var u=0;u=0&&l>0){for(n=[],s=r.length;c>=0&&!o;)c==u?(n.push(c),u=r.indexOf(e,c+1)):1==n.length?o=[n.pop(),l]:(i=n.pop(),i=0?u:l;n.length&&(o=[s,a])}return o}e.exports=r,r.range=i},function(e,t){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function n(e){return 3*e.length/4-r(e)}function i(e){var t,n,i,s,a,o,u=e.length;a=r(e),o=new c(3*u/4-a),i=a>0?u-4:u;var f=0;for(t=0,n=0;t>16&255,o[f++]=s>>8&255,o[f++]=255&s;return 2===a?(s=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,o[f++]=255&s):1===a&&(s=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,o[f++]=s>>8&255,o[f++]=255&s),o}function s(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function a(e,t,r){for(var n,i=[],a=t;ac?c:l+o));return 1===n?(t=e[r-1],i+=u[t>>2],i+=u[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=u[t>>10],i+=u[t>>4&63],i+=u[t<<2&63],i+="="),s.push(i),s.join("")}t.byteLength=n,t.toByteArray=i,t.fromByteArray=o;for(var u=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=f.length;p=t}function p(e,t){var r=[],i=h("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),m=s||o,v=/^(.*,)+(.+)?$/.test(i.body);if(!m&&!v)return i.post.match(/,.*\}/)?(e=i.pre+"{"+i.body+y+i.post,p(e)):[e];var g;if(m)g=i.body.split(/\.\./);else if(g=a(i.body),1===g.length&&(g=p(g[0],!1).map(u),1===g.length)){var b=i.post.length?p(i.post,!1):[""];return b.map(function(e){return i.pre+g[0]+e})}var E,x=i.pre,b=i.post.length?p(i.post,!1):[""];if(m){var A=n(g[0]),S=n(g[1]),_=Math.max(g[0].length,g[1].length),D=3==g.length?Math.abs(n(g[2])):1,C=c,w=S0){var O=new Array(T+1).join("0");k=P<0?"-"+O+k.slice(1):O+k}}E.push(k)}}else E=d(g,function(e){return p(e,!1)});for(var B=0;B=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function y(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return B(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return O(this,t,r);case"base64":return F(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function b(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function E(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,o=e.length,u=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,u/=2,r/=2}var l;if(i){var c=-1;for(l=r;lo&&(r=o-u),l=r;l>=0;l--){for(var f=!0,p=0;pi&&(n=i)):n=i;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a239?4:s>223?3:s>191?2:1;if(i+o<=r){var u,l,c,f;switch(o){case 1:s<128&&(a=s);break;case 2:u=e[i+1],128===(192&u)&&(f=(31&s)<<6|63&u,f>127&&(a=f));break;case 3:u=e[i+1],l=e[i+2],128===(192&u)&&128===(192&l)&&(f=(15&s)<<12|(63&u)<<6|63&l,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&s)<<18|(63&u)<<12|(63&l)<<6|63&c,f>65535&&f<1114112&&(a=f))}}null===a?(a=65533,o=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=o}return k(n)}function k(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var i="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,n,i,s){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function j(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,i){return i||j(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,r,n,23,4),r+4}function V(e,t,r,n,i){return i||j(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,r,n,52,8),r+8}function G(e){if(e=W(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function W(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Y(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var r,n=e.length,i=null,s=[],a=0;a55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function K(e){for(var t=[],r=0;r>8,i=r%256,s.push(i),s.push(n);return s}function J(e){return $.toByteArray(G(e))}function X(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function z(e){return e!==e}var $=r(390),Q=r(453),Z=r(393);t.Buffer=a,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),t.kMaxLength=i(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,r){return o(null,e,t,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,r){return l(null,e,t,r)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},a.prototype.compare=function(e,t,r,n,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,o=r-t,u=Math.min(s,o),l=this.slice(n,i),c=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return S(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return D(this,e,t,r);case"base64":return C(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],i=1,s=0;++s=i&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;M(this,e,t,r,i,0)}var s=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+s]=e/a&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return V(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return V(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(s<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var s;if("number"==typeof e)for(s=t;s1)for(var n=1;n0;i--)if(r=n[i],~r.indexOf("sourceMappingURL=data:"))return t.fromComment(r)}var u=r(115),l=r(17),c=/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+;)?base64,(.*)$/gm,f=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm;a.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)},a.prototype.toBase64=function(){var t=this.toJSON();return new e(t).toString("base64")},a.prototype.toComment=function(e){var t=this.toBase64(),r="sourceMappingURL=data:application/json;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r},a.prototype.toObject=function(){return JSON.parse(this.toJSON())},a.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error("property %s already exists on the sourcemap, use set property instead");return this.setProperty(e,t)},a.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this},a.prototype.getProperty=function(e){return this.sourcemap[e]},t.fromObject=function(e){return new a(e)},t.fromJSON=function(e){return new a(e,{isJSON:!0})},t.fromBase64=function(e){return new a(e,{isEncoded:!0})},t.fromComment=function(e){return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new a(e,{isEncoded:!0,hasComment:!0})},t.fromMapFileComment=function(e,t){return new a(e,{commentFileDir:t,isFileComment:!0,isJSON:!0})},t.fromSource=function(e,r){if(r){var n=o(e);return n?n:null}var i=e.match(c);return c.lastIndex=0,i?t.fromComment(i.pop()):null},t.fromMapFileSource=function(e,r){var n=e.match(f);return f.lastIndex=0,n?t.fromMapFileComment(n.pop(),r):null},t.removeComments=function(e){return c.lastIndex=0,e.replace(c,"")},t.removeMapFileComments=function(e){return f.lastIndex=0,e.replace(f,"")},t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r},Object.defineProperty(t,"commentRegex",{get:function(){return c.lastIndex=0,c}}),Object.defineProperty(t,"mapFileCommentRegex",{get:function(){return f.lastIndex=0,f}})}).call(t,r(392).Buffer)},function(e,t,r){"use strict";r(57),r(153),e.exports=r(433)},function(e,t,r){"use strict";var n=r(5),i=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,r){"use strict";r(97),r(153),r(57),r(435),r(443),e.exports=r(5).Map},function(e,t,r){"use strict";r(436),e.exports=9007199254740991},function(e,t,r){"use strict";r(437),e.exports=r(5).Object.assign},function(e,t,r){"use strict";r(438);var n=r(5).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){"use strict";r(154),e.exports=r(5).Object.getOwnPropertySymbols},function(e,t,r){"use strict";r(439),e.exports=r(5).Object.keys},function(e,t,r){"use strict";r(440),e.exports=r(5).Object.setPrototypeOf},function(e,t,r){"use strict";r(154),e.exports=r(5).Symbol.for},function(e,t,r){"use strict";r(154),r(97),r(444),r(445),e.exports=r(5).Symbol},function(e,t,r){"use strict";r(153),r(57),e.exports=r(152).f("iterator")},function(e,t,r){"use strict";r(97),r(57),r(441),e.exports=r(5).WeakMap},function(e,t,r){"use strict";r(97),r(57),r(442),e.exports=r(5).WeakSet},function(e,t){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){"use strict";e.exports=function(){}},function(e,t,r){"use strict";var n=r(90);e.exports=function(e,t){var r=[];return n(e,!1,r.push,r,t),r}},function(e,t,r){"use strict";var n=r(37),i=r(149),s=r(432);e.exports=function(e){return function(t,r,a){var o,u=n(t),l=i(u.length),c=s(a,l);if(e&&r!=r){for(;l>c;)if(o=u[c++],o!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(22),i=r(229),s=r(12)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(415);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(23).f,i=r(91),s=r(144),a=r(54),o=r(135),u=r(89),l=r(90),c=r(141),f=r(230),p=r(430),d=r(20),h=r(56).fastKey,m=d?"_s":"size",v=function(e,t){var r,n=h(t);if("F"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};e.exports={getConstructor:function(e,t,r,c){var f=e(function(e,n){o(e,f,t,"_i"),e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=n&&l(n,r,e[c],e)});return s(f.prototype,{clear:function(){for(var e=this,t=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete t[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var t=this,r=v(t,e);if(r){var n=r.n,i=r.p;delete t._i[r.i],r.r=!0,i&&(i.n=n),n&&(n.p=i),t._f==r&&(t._f=n),t._l==r&&(t._l=i),t[m]--}return!!r},forEach:function(e){o(this,f,"forEach");for(var t,r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(r(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!v(this,e)}}),d&&n(f.prototype,"size",{get:function(){return u(this[m])}}),f},def:function(e,t,r){var n,i,s=v(e,t);return s?s.v=r:(e._l=s={i:i=h(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=s),n&&(n.n=s),e[m]++,"F"!==i&&(e._i[i]=s)),e},getEntry:v,setStrong:function(e,t,r){c(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,r=e._l;r&&r.r;)r=r.p;return e._t&&(e._l=r=r?r.n:e._t._f)?"keys"==t?f(0,r.k):"values"==t?f(0,r.v):f(0,[r.k,r.v]):(e._t=void 0,f(1))},r?"entries":"values",!r,!0),p(t)}}},function(e,t,r){"use strict";var n=r(225),i=r(413);e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},function(e,t,r){"use strict";var n=r(43),i=r(143),s=r(92);e.exports=function(e){var t=n(e),r=i.f;if(r)for(var a,o=r(e),u=s.f,l=0;o.length>l;)u.call(e,a=o[l++])&&t.push(a);return t}},function(e,t,r){"use strict";e.exports=r(14).document&&document.documentElement},function(e,t,r){"use strict";var n=r(55),i=r(12)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}},function(e,t,r){"use strict";var n=r(19);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var s=e.return;throw void 0!==s&&n(s.call(e)),t}}},function(e,t,r){"use strict";var n=r(91),i=r(93),s=r(94),a={};r(28)(a,r(12)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),s(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(43),i=r(37);e.exports=function(e,t){for(var r,s=i(e),a=n(s),o=a.length,u=0;o>u;)if(s[r=a[u++]]===t)return r}},function(e,t,r){"use strict";var n=r(23),i=r(19),s=r(43);e.exports=r(20)?Object.defineProperties:function(e,t){i(e);for(var r,a=s(t),o=a.length,u=0;o>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(37),s=r(233).f,a={}.toString,o="object"==("undefined"==typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return s(e)}catch(e){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?u(e):s(i(e))}},function(e,t,r){"use strict";var n=r(27),i=r(95),s=r(146)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(21),i=r(5),s=r(36);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*s(function(){r(1)}),"Object",a)}},function(e,t,r){"use strict";var n=r(22),i=r(19),s=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(54)(Function.call,r(232).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return s(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:s}},function(e,t,r){"use strict";var n=r(14),i=r(5),s=r(23),a=r(20),o=r(12)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:n[e];a&&t&&!t[o]&&s.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(148),i=r(89);e.exports=function(e){return function(t,r){var s,a,o=String(i(t)),u=n(r),l=o.length;return u<0||u>=l?e?"":void 0:(s=o.charCodeAt(u),s<55296||s>56319||u+1===l||(a=o.charCodeAt(u+1))<56320||a>57343?e?o.charAt(u):s:e?o.slice(u,u+2):(s-55296<<10)+(a-56320)+65536)}}},function(e,t,r){"use strict";var n=r(148),i=Math.max,s=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):s(e,t)}},function(e,t,r){"use strict";var n=r(19),i=r(235);e.exports=r(5).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){"use strict";var n=r(412),i=r(230),s=r(55),a=r(37);e.exports=r(141)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,r):"values"==t?i(0,e[r]):i(0,[r,e[r]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";var n=r(417);e.exports=r(138)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=n.getEntry(this,e);return t&&t.v},set:function(e,t){return n.def(this,0===e?0:e,t)}},n,!0)},function(e,t,r){"use strict";var n=r(21);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,r){"use strict";var n=r(21);n(n.S+n.F,"Object",{assign:r(231)})},function(e,t,r){"use strict";var n=r(21);n(n.S,"Object",{create:r(91)})},function(e,t,r){"use strict";var n=r(95),i=r(43);r(428)("keys",function(){return function(e){return i(n(e))}})},function(e,t,r){"use strict";var n=r(21);n(n.S,"Object",{setPrototypeOf:r(429).set})},function(e,t,r){"use strict";var n,i=r(136)(0),s=r(145),a=r(56),o=r(231),u=r(226),l=r(22),c=a.getWeak,f=Object.isExtensible,p=u.ufstore,d={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(l(e)){var t=c(e);return t===!0?p(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(this,e,t)}},v=e.exports=r(138)("WeakMap",h,m,u,!0,!0);7!=(new v).set((Object.freeze||Object)(d),7).get(d)&&(n=u.getConstructor(h),o(n.prototype,m),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=v.prototype,r=t[e];s(t,e,function(t,i){if(l(t)&&!f(t)){this._f||(this._f=new n);var s=this._f[e](t,i);return"set"==e?this:s}return r.call(this,t,i)})}))},function(e,t,r){"use strict";var n=r(226);r(138)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return n.def(this,e,!0)}},n,!1,!0)},function(e,t,r){"use strict";var n=r(21);n(n.P+n.R,"Map",{toJSON:r(418)("Map")})},function(e,t,r){"use strict";r(151)("asyncIterator")},function(e,t,r){"use strict";r(151)("observable")},function(e,t,r){"use strict";function n(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}function i(e){function r(){if(r.enabled){var e=r,n=+new Date,i=n-(l||n);e.diff=i,e.prev=l,e.curr=n,l=n;for(var s=new Array(arguments.length),a=0;ar||a===r&&o>n)&&(r=a,n=o,t=Number(i))}return t}var i=r(611),s=/^(?:( )+|\t+)/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t,r,a=0,o=0,u=0,l={};e.split(/\n/g).forEach(function(e){if(e){var n,i=e.match(s);i?(n=i[0].length,i[1]?o++:a++):n=0;var c=n-u;u=n,c?(r=c>0,t=l[r?c:-c],t?t[0]++:t=l[c]=[1,0]):t&&(t[1]+=Number(r))}});var c,f,p=n(l);return p?o>=a?(c="space",f=i(" ",p)):(c="tab",f=i("\t",p)):(c=null,f=""),{amount:p,type:c,indent:f}}},function(e,t){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},function(e,t){"use strict";!function(){function t(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return n(e)||null!=e&&"FunctionDeclaration"===e.type}function s(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function a(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=s(t)}while(t);return!1}e.exports={isExpression:t,isStatement:n,isIterationStatement:r,isSourceElement:i,isProblematicIfStatement:a,trailingStatement:s}}()},function(e,t,r){"use strict";!function(){function t(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,r){if(r&&t(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function o(e){return"eval"===e||"arguments"===e}function u(e){var t,r,n;if(0===e.length)return!1;if(n=e.charCodeAt(0),!d.isIdentifierStartES5(n))return!1;for(t=1,r=e.length;t=r)return!1;if(i=e.charCodeAt(t),!(56320<=i&&i<=57343))return!1;n=l(n,i)}if(!s(n))return!1;s=d.isIdentifierPartES6}return!0}function f(e,t){return u(e)&&!s(e,t)}function p(e,t){return c(e)&&!a(e,t)}var d=r(237);e.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:s,isReservedWordES6:a,isRestrictedWord:o,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:f,isIdentifierES6:p}}()},function(e,t,r){"use strict";e.exports=r(625)},function(e,t,r){"use strict";var n=r(177),i=new RegExp(n().source);e.exports=i.test.bind(i)},function(e,t){"use strict";t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,u=(1<>1,c=-7,f=r?i-1:0,p=r?-1:1,d=e[t+f];for(f+=p,s=d&(1<<-c)-1,d>>=-c,c+=o;c>0;s=256*s+e[t+f],f+=p,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===s)s=1-l;else{if(s===u)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,n),s-=l}return(d?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,u,l=8*s-i-1,c=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?p/u:p*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(o=0,a=c):a+f>=1?(o=(t*u-1)*Math.pow(2,i),a+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&o,d+=h,o/=256,i-=8);for(a=a<0;e[r+d]=255&a,d+=h,a/=256,l-=8);e[r+d-h]|=128*m}},function(e,t,r){"use strict";var n=function(e,t,r,n,i,s,a,o){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,s,a,o],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=n},function(e,t,r){"use strict";var n=r(600);e.exports=Number.isFinite||function(e){return!("number"!=typeof e||n(e)||e===1/0||e===-(1/0))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]{1,6}\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0]};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},function(e,t,r){var n;(function(e,i){"use strict";var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(a){var o="object"==s(t)&&t,u="object"==s(e)&&e&&e.exports==o&&e,l="object"==("undefined"==typeof i?"undefined":s(i))&&i;l.global!==l&&l.window!==l||(a=l);var c={},f=c.hasOwnProperty,p=function(e,t){var r;for(r in e)f.call(e,r)&&t(r,e[r])},d=function(e,t){return t?(p(t,function(t,r){e[t]=r}),e):e},h=function(e,t){for(var r=e.length,n=-1;++n=55296&&R<=56319&&j>L+1&&(I=N.charCodeAt(L+1),I>=56320&&I<=57343))){M=1024*(R-55296)+I-56320+65536;var V=M.toString(16);l||(V=V.toUpperCase()),s+="\\u{"+V+"}",L++}else{if(!r.escapeEverything){if(C.test(U)){s+=U;continue}if('"'==U){s+=a==U?'\\"':U;continue}if("'"==U){s+=a==U?"\\'":U;continue}}if("\0"!=U||i||D.test(N.charAt(L+1)))if(_.test(U))s+=S[U];else{var G=U.charCodeAt(0),V=G.toString(16);l||(V=V.toUpperCase());var W=V.length>2||i,Y="\\"+(W?"u":"x")+("0000"+V).slice(W?-4:-2);s+=Y}else s+="\\0"}}return r.wrap&&(s=a+s+a),r.escapeEtago?s.replace(/<\/(script|style)/gi,"<\\/$1"):s};w.version="1.3.0","object"==s(r(48))&&r(48)?(n=function(){return w}.call(t,r,t,e),!(void 0!==n&&(e.exports=n))):o&&!o.nodeType?u?u.exports=w:o.jsesc=w:a.jsesc=w}(void 0)}).call(t,r(39)(e),function(){return this}())},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="object"===n(t)?t:{};i.parse=function(){var e,t,r,i,s,a,o={"'":"'",'"':'"',"\\":"\\","/":"/","\n":"",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=[" ","\t","\r","\n","\v","\f"," ","\ufeff"],l=function(e){return""===e?"EOF":"'"+e+"'"},c=function n(i){var n=new SyntaxError;throw n.message=i+" at line "+t+" column "+r+" of the JSON5 data. Still to read: "+JSON.stringify(s.substring(e-1,e+19)),n.at=e,n.lineNumber=t,n.columnNumber=r,n},f=function(n){return n&&n!==i&&c("Expected "+l(n)+" instead of "+l(i)),i=s.charAt(e),e++,r++,("\n"===i||"\r"===i&&"\n"!==p())&&(t++,r=0),i},p=function(){return s.charAt(e)},d=function(){var e=i;for("_"!==i&&"$"!==i&&(i<"a"||i>"z")&&(i<"A"||i>"Z")&&c("Bad identifier as unquoted key");f()&&("_"===i||"$"===i||i>="a"&&i<="z"||i>="A"&&i<="Z"||i>="0"&&i<="9");)e+=i;return e},h=function e(){var e,t="",r="",n=10;if("-"!==i&&"+"!==i||(t=i,f(i)),"I"===i)return e=E(),("number"!=typeof e||isNaN(e))&&c("Unexpected word for number"),"-"===t?-e:e;if("N"===i)return e=E(),isNaN(e)||c("expected word to be NaN"),e;switch("0"===i&&(r+=i,f(),"x"===i||"X"===i?(r+=i,f(),n=16):i>="0"&&i<="9"&&c("Octal literal")),n){case 10:for(;i>="0"&&i<="9";)r+=i,f();if("."===i)for(r+=".";f()&&i>="0"&&i<="9";)r+=i;if("e"===i||"E"===i)for(r+=i,f(),"-"!==i&&"+"!==i||(r+=i,f());i>="0"&&i<="9";)r+=i,f();break;case 16:for(;i>="0"&&i<="9"||i>="A"&&i<="F"||i>="a"&&i<="f";)r+=i,f()}return e="-"===t?-r:+r,isFinite(e)?e:void c("Bad number")},m=function e(){var t,r,n,s,e="";if('"'===i||"'"===i)for(n=i;f();){if(i===n)return f(),e;if("\\"===i)if(f(),"u"===i){for(s=0,r=0;r<4&&(t=parseInt(f(),16),isFinite(t));r+=1)s=16*s+t;e+=String.fromCharCode(s)}else if("\r"===i)"\n"===p()&&f();else{if("string"!=typeof o[i])break;e+=o[i]}else{if("\n"===i)break;e+=i}}c("Bad string")},v=function(){"/"!==i&&c("Not an inline comment");do if(f(),"\n"===i||"\r"===i)return void f();while(i)},y=function(){"*"!==i&&c("Not a block comment");do for(f();"*"===i;)if(f("*"),"/"===i)return void f("/");while(i);c("Unterminated block comment")},g=function(){"/"!==i&&c("Not a comment"),f("/"),"/"===i?v():"*"===i?y():c("Unrecognized comment")},b=function(){for(;i;)if("/"===i)g();else{if(!(u.indexOf(i)>=0))return;f()}},E=function(){switch(i){case"t":return f("t"),f("r"),f("u"),f("e"),!0;case"f":return f("f"),f("a"),f("l"),f("s"),f("e"),!1;case"n":return f("n"),f("u"),f("l"),f("l"),null;case"I":return f("I"),f("n"),f("f"),f("i"),f("n"),f("i"),f("t"),f("y"),1/0;case"N":return f("N"),f("a"),f("N"),NaN}c("Unexpected "+l(i))},x=function e(){var e=[];if("["===i)for(f("["),b();i;){if("]"===i)return f("]"),e;if(","===i?c("Missing array element"):e.push(a()),b(),","!==i)return f("]"),e;f(","),b()}c("Bad array")},A=function e(){var t,e={};if("{"===i)for(f("{"),b();i;){if("}"===i)return f("}"),e;if(t='"'===i||"'"===i?m():d(),b(),f(":"),e[t]=a(),b(),","!==i)return f("}"),e;f(","),b()}c("Bad object")};return a=function(){switch(b(),i){case"{":return A();case"[":return x();case'"':case"'":return m();case"-":case"+":case".":return h();default:return i>="0"&&i<="9"?h():E()}},function(o,u){var l;return s=String(o),e=0,t=1,r=1,i=" ",l=a(),b(),i&&c("Syntax error"),"function"==typeof u?function e(t,r){var i,s,a=t[r];if(a&&"object"===("undefined"==typeof a?"undefined":n(a)))for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(s=e(a,i),void 0!==s?a[i]=s:delete a[i]);return u.call(t,r,a)}({"":l},""):l}}(),i.stringify=function(e,t,r){function s(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e||"$"===e}function a(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e||"$"===e}function o(e){if("string"!=typeof e)return!1;if(!a(e[0]))return!1;for(var t=1,r=e.length;t10&&(e=e.substring(0,10));for(var n=r?"":"\n",i=0;i=0?i:void 0:i};i.isWord=o;var m,v=[];r&&("string"==typeof r?m=r:"number"==typeof r&&r>=0&&(m=f(" ",r,!0)));var y=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},b={"":e};return void 0===e?h(b,"",!0):d(b,"",!0)}},function(e,t){"use strict";var r=[],n=[];e.exports=function(e,t){if(e===t)return 0;var i=e.length,s=t.length;if(0===i)return s;if(0===s)return i;for(var a,o,u,l,c=0,f=0;co?l>o?o+1:l:l>u?u+1:l;return o}},function(e,t,r){"use strict";var n=r(38),i=r(15),s=n(i,"DataView");e.exports=s},function(e,t,r){"use strict";function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1}var i=r(101);e.exports=n},function(e,t){"use strict";function r(e,t,r){for(var n=-1,i=null==e?0:e.length;++n=t?e:t)),e}e.exports=r},function(e,t,r){"use strict";var n=r(16),i=Object.create,s=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=s},function(e,t,r){"use strict";var n=r(478),i=r(518),s=i(n);e.exports=s},function(e,t,r){"use strict";function n(e,t,r,a,o){var u=-1,l=e.length;for(r||(r=s),o||(o=[]);++u0&&r(c)?t>1?n(c,t-1,r,a,o):i(o,c):a||(o[o.length]=c)}return o}var i=r(158),s=r(536);e.exports=n},function(e,t,r){"use strict";function n(e,t){return e&&i(e,t,s)}var i=r(245),s=r(31);e.exports=n},function(e,t){"use strict";function r(e,t){return null!=e&&i.call(e,t)}var n=Object.prototype,i=n.hasOwnProperty;e.exports=r},function(e,t){"use strict";function r(e,t){return null!=e&&t in Object(e)}e.exports=r},function(e,t){"use strict";function r(e,t,r,n){ -for(var i=r-1,s=e.length;++i-1;)d!==e&&c.call(d,h,1),c.call(e,h,1);return e}var i=r(58),s=r(101),a=r(481),o=r(103),u=r(165),l=Array.prototype,c=l.splice;e.exports=n},function(e,t){"use strict";function r(e,t){var r="";if(!e||t<1||t>n)return r;do t%2&&(r+=e),t=i(t/2),t&&(e+=e);while(t);return r}var n=9007199254740991,i=Math.floor;e.exports=r},function(e,t,r){"use strict";var n=r(572),i=r(255),s=r(111),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:s;e.exports=a},function(e,t){"use strict";function r(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n=c){var v=t?null:u(e);if(v)return l(v);d=!1,f=o,m=new i}else m=t?[]:h;e:for(;++n=n?e:i(e,t,r)}var i=r(501);e.exports=n},function(e,t,r){"use strict";function n(e,t){for(var r=e.length;r--&&i(t,e[r],0)>-1;);return r}var i=r(101);e.exports=n},function(e,t,r){"use strict";function n(e,t){var r=t?i(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var i=r(164);e.exports=n},function(e,t,r){"use strict";function n(e,t,r){var n=t?r(a(e),o):a(e);return s(n,i,new e.constructor)}var i=r(464),s=r(243),a=r(264),o=1;e.exports=n},function(e,t){"use strict";function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}var n=/\w*$/;e.exports=r},function(e,t,r){"use strict";function n(e,t,r){var n=t?r(a(e),o):a(e);return s(n,i,new e.constructor)}var i=r(465),s=r(243),a=r(108),o=1;e.exports=n},function(e,t,r){"use strict";function n(e){return a?Object(a.call(e)):{}}var i=r(44),s=i?i.prototype:void 0,a=s?s.valueOf:void 0;e.exports=n},function(e,t,r){"use strict";function n(e,t){if(e!==t){var r=void 0!==e,n=null===e,s=e===e,a=i(e),o=void 0!==t,u=null===t,l=t===t,c=i(t);if(!u&&!c&&!a&&e>t||a&&o&&l&&!u&&!c||n&&o&&l||!r&&l||!s)return 1;if(!n&&!a&&!c&&e=u)return l;var c=r[n];return l*("desc"==c?-1:1)}}return e.index-t.index}var i=r(513);e.exports=n},function(e,t,r){"use strict";function n(e,t){return i(e,s(e),t)}var i=r(30),s=r(167);e.exports=n},function(e,t,r){"use strict";function n(e,t){return i(e,s(e),t)}var i=r(30),s=r(259);e.exports=n},function(e,t,r){"use strict";var n=r(15),i=n["__core-js_shared__"];e.exports=i},function(e,t,r){"use strict";function n(e,t){return function(r,n){if(null==r)return r;if(!i(r))return e(r,n);for(var s=r.length,a=t?s:-1,o=Object(r);(t?a--:++a-1}var i=r(100);e.exports=n},function(e,t,r){"use strict";function n(e,t){var r=this.__data__,n=i(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var i=r(100);e.exports=n},function(e,t,r){"use strict";function n(){this.size=0,this.__data__={hash:new i,map:new(a||s),string:new i}}var i=r(461),s=r(98),a=r(156);e.exports=n},function(e,t,r){"use strict";function n(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}var i=r(105);e.exports=n},function(e,t,r){"use strict";function n(e){return i(this,e).get(e)}var i=r(105);e.exports=n},function(e,t,r){"use strict";function n(e){return i(this,e).has(e)}var i=r(105);e.exports=n},function(e,t,r){"use strict";function n(e,t){var r=i(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var i=r(105);e.exports=n},function(e,t,r){"use strict";function n(e){var t=i(e,function(e){return r.size===s&&r.clear(),e}),r=t.cache;return t}var i=r(585),s=500;e.exports=n},function(e,t,r){"use strict";var n=r(267),i=n(Object.keys,Object);e.exports=i},function(e,t){"use strict";function r(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}e.exports=r},function(e,t){"use strict";function r(e){return i.call(e)}var n=Object.prototype,i=n.toString;e.exports=r},function(e,t,r){"use strict";function n(e,t,r){return t=s(void 0===t?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=s(n.length-t,0),u=Array(o);++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var n=800,i=16,s=Date.now;e.exports=r},function(e,t,r){"use strict";function n(){this.__data__=new i,this.size=0}var i=r(98);e.exports=n},function(e,t){"use strict";function r(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}e.exports=r},function(e,t){"use strict";function r(e){return this.__data__.get(e)}e.exports=r},function(e,t){"use strict";function r(e){return this.__data__.has(e)}e.exports=r},function(e,t,r){"use strict";function n(e,t){var r=this.__data__;if(r instanceof i){var n=r.__data__;if(!s||n.length1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,n(t,1),[])});e.exports=o},function(e,t,r){"use strict";function n(e,t,r){return e=o(e),r=null==r?0:i(a(r),0,e.length),t=s(t),e.slice(r,r+t.length)==t}var i=r(474),s=r(163),a=r(47),o=r(61);e.exports=n},function(e,t){"use strict";function r(){return!1}e.exports=r},function(e,t,r){"use strict";function n(e){if(!e)return 0===e?e:0;if(e=i(e),e===s||e===-s){var t=e<0?-1:1;return t*a}return e===e?e:0}var i=r(594),s=1/0,a=1.7976931348623157e308;e.exports=n},function(e,t,r){"use strict";function n(e){if("number"==typeof e)return e;if(s(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=l.test(e);return r||c.test(e)?f(e.slice(2),r?2:8):u.test(e)?a:+e}var i=r(16),s=r(60),a=NaN,o=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=n},function(e,t,r){"use strict";function n(e){return i(e,s(e))}var i=r(30),s=r(46);e.exports=n},function(e,t,r){"use strict";function n(e,t,r){if(e=u(e),e&&(r||void 0===t))return e.replace(l,"");if(!e||!(t=i(t)))return e;var n=o(e),c=a(n,o(t))+1;return s(n,0,c).join("")}var i=r(163),s=r(506),a=r(507),o=r(564),u=r(61),l=/\s+$/;e.exports=n},function(e,t,r){"use strict";function n(e){return e&&e.length?i(e):[]}var i=r(504);e.exports=n},function(e,t,r){"use strict";function n(e){return e.split("").reduce(function(e,t){return e[t]=!0,e},{})}function i(e,t){return t=t||{},function(r,n,i){return a(r,e,t)}}function s(e,t){e=e||{},t=t||{};var r={};return Object.keys(t).forEach(function(e){r[e]=t[e]}),Object.keys(e).forEach(function(t){r[t]=e[t]}),r}function a(e,t,r){if("string"!=typeof t)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new o(t,r).match(e))}function o(e,t){if(!(this instanceof o))return new o(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==v.sep&&(e=e.split(v.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function u(){if(!this._made){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error),this.debug(this.pattern,r),r=this.globParts=r.map(function(e){return e.split(D)}),this.debug(this.pattern,r),r=r.map(function(e,t,r){return e.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(e){return e.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}}function l(){var e=this.pattern,t=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=e.length;i65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return y;if(""===e)return"";for(var i,s,a="",o=!!n.nocase,u=!1,l=[],c=[],f=!1,p=-1,d=-1,m="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=this,g=0,A=e.length;g-1;T--){var O=c[T],B=a.slice(0,O.reStart),R=a.slice(O.reStart,O.reEnd-8),I=a.slice(O.reEnd-8,O.reEnd),M=a.slice(O.reEnd);I+=M;var N=B.split("(").length-1,L=M;for(g=0;g=0&&!(i=e[s]);s--);for(s=0;s>> no match, partial?",e,c,t,f),c!==a))}var d;if("string"==typeof u?(d=n.nocase?l.toLowerCase()===u.toLowerCase():l===u,this.debug("string match",u,l,d)):(d=l.match(u),this.debug("pattern match",u,l,d)),!d)return!1}if(i===a&&s===o)return!0;if(i===a)return r;if(s===o){var h=i===a-1&&""===e[i];return h}throw new Error("wtf?")}},function(e,t){"use strict";function r(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"days":case"day":case"d":return r*c;case"hours":case"hour":case"hrs":case"hr":case"h":return r*l;case"minutes":case"minute":case"mins":case"min":case"m":return r*u;case"seconds":case"second":case"secs":case"sec":case"s":return r*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function n(e){return e>=c?Math.round(e/c)+"d":e>=l?Math.round(e/l)+"h":e>=u?Math.round(e/u)+"m":e>=o?Math.round(e/o)+"s":e+"ms"}function i(e){return s(e,c,"day")||s(e,l,"hour")||s(e,u,"minute")||s(e,o,"second")||e+" ms"}function s(e,t,r){if(!(e0)return r(e);if("number"===s&&isNaN(e)===!1)return t.long?i(e):n(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},function(e,t,r){(function(t){"use strict";function r(e){return"/"===e.charAt(0)}function n(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,r=t.exec(e),n=r[1]||"",i=Boolean(n&&":"!==n.charAt(1));return Boolean(r[2]||i)}e.exports="win32"===t.platform?n:r,e.exports.posix=r,e.exports.win32=n}).call(t,r(9))},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e, -t}function i(e){return e&&e.__esModule?e:{default:e}}var s=r(13),a=i(s),o=r(1),u=n(o),l=Object.prototype.hasOwnProperty;t.hoist=function(e){function t(e,t){u.assertVariableDeclaration(e);var n=[];return e.declarations.forEach(function(e){r[e.id.name]=u.identifier(e.id.name),e.init?n.push(u.assignmentExpression("=",e.id,e.init)):t&&n.push(e.id)}),0===n.length?null:1===n.length?n[0]:u.sequenceExpression(n)}u.assertFunction(e.node);var r={};e.get("body").traverse({VariableDeclaration:{exit:function(e){var r=t(e.node,!1);null===r?e.remove():e.replaceWith(u.expressionStatement(r)),e.skip()}},ForStatement:function(e){var r=e.node.init;u.isVariableDeclaration(r)&&e.get("init").replaceWith(t(r,!1))},ForXStatement:function(e){var r=e.get("left");r.isVariableDeclaration()&&r.replaceWith(t(r.node,!0))},FunctionDeclaration:function(e){var t=e.node;r[t.id.name]=t.id;var n=u.expressionStatement(u.assignmentExpression("=",t.id,u.functionExpression(t.id,t.params,t.body,t.generator,t.expression)));e.parentPath.isBlockStatement()?(e.parentPath.unshiftContainer("body",n),e.remove()):e.replaceWith(n),e.skip()},FunctionExpression:function(e){e.skip()}});var n={};e.get("params").forEach(function(e){var t=e.node;u.isIdentifier(t)&&(n[t.name]=t)});var i=[];return(0,a.default)(r).forEach(function(e){l.call(n,e)||i.push(u.variableDeclarator(r[e],null))}),0===i.length?null:u.variableDeclaration("var",i)}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){return r(606)}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(){m.default.ok(this instanceof s)}function a(e){s.call(this),y.assertLiteral(e),this.returnLoc=e}function o(e,t,r){s.call(this),y.assertLiteral(e),y.assertLiteral(t),r?y.assertIdentifier(r):r=null,this.breakLoc=e,this.continueLoc=t,this.label=r}function u(e){s.call(this),y.assertLiteral(e),this.breakLoc=e}function l(e,t,r){s.call(this),y.assertLiteral(e),t?m.default.ok(t instanceof c):t=null,r?m.default.ok(r instanceof f):r=null,m.default.ok(t||r),this.firstLoc=e,this.catchEntry=t,this.finallyEntry=r}function c(e,t){s.call(this),y.assertLiteral(e),y.assertIdentifier(t),this.firstLoc=e,this.paramId=t}function f(e,t){s.call(this),y.assertLiteral(e),y.assertLiteral(t),this.firstLoc=e,this.afterLoc=t}function p(e,t){s.call(this),y.assertLiteral(e),y.assertIdentifier(t),this.breakLoc=e,this.label=t}function d(e){m.default.ok(this instanceof d);var t=r(279).Emitter;m.default.ok(e instanceof t),this.emitter=e,this.entryStack=[new a(e.finalLoc)]}var h=r(63),m=i(h),v=r(1),y=n(v),g=r(116);(0,g.inherits)(a,s),t.FunctionEntry=a,(0,g.inherits)(o,s),t.LoopEntry=o,(0,g.inherits)(u,s),t.SwitchEntry=u,(0,g.inherits)(l,s),t.TryEntry=l,(0,g.inherits)(c,s),t.CatchEntry=c,(0,g.inherits)(f,s),t.FinallyEntry=f,(0,g.inherits)(p,s),t.LabeledEntry=p;var b=d.prototype;t.LeapManager=d,b.withEntry=function(e,t){m.default.ok(e instanceof s),this.entryStack.push(e);try{t.call(this.emitter)}finally{var r=this.entryStack.pop();m.default.strictEqual(r,e)}},b._findLeapLocation=function(e,t){for(var r=this.entryStack.length-1;r>=0;--r){var n=this.entryStack[r],i=n[e];if(i)if(t){if(n.label&&n.label.name===t.name)return i}else if(!(n instanceof p))return i}return null},b.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)},b.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){function r(e){function t(e){return r||(Array.isArray(e)?e.some(t):l.isNode(e)&&(o.default.strictEqual(r,!1),r=n(e))),r}l.assertNode(e);var r=!1,i=l.VISITOR_KEYS[e.type];if(i)for(var s=0;s0&&(a.node.body=l);var c=s(e);f.assertIdentifier(r.id);var h=f.identifier(r.id.name+"$"),v=(0,p.hoist)(e),y=o(e,i);y&&(v=v||f.variableDeclaration("var",[]),v.declarations.push(f.variableDeclarator(i,f.identifier("arguments"))));var E=new d.Emitter(n);E.explode(e.get("body")),v&&v.declarations.length>0&&u.push(v);var x=[E.getContextFunction(h),r.generator?c:f.nullLiteral(),f.thisExpression()],A=E.getTryLocsList();A&&x.push(A);var S=f.callExpression(m.runtimeProperty(r.async?"async":"wrap"),x);u.push(f.returnStatement(S)),r.body=f.blockStatement(u);var _=a.node.directives;_&&(r.body.directives=_);var D=r.generator;D&&(r.generator=!1),r.async&&(r.async=!1),D&&f.isExpression(r)&&e.replaceWith(f.callExpression(m.runtimeProperty("mark"),[r])),e.requeue()}}};var y={"FunctionExpression|FunctionDeclaration":function(e){e.skip()},Identifier:function(e,t){"arguments"===e.node.name&&m.isReference(e)&&(e.replaceWith(t.argsId),t.didRenameArguments=!0)}},g={MetaProperty:function(e){var t=e.node;"function"===t.meta.name&&"sent"===t.property.name&&e.replaceWith(f.memberExpression(this.context,f.identifier("_sent")))}},b={Function:function(e){e.skip()},AwaitExpression:function(e){var t=e.node.argument;e.replaceWith(f.yieldExpression(f.callExpression(m.runtimeProperty("awrap"),[t]),!1))}}},function(e,t,r){"use strict";var n=r(278);t.REGULAR={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,65535),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:n(95).addRange(48,57).addRange(65,90).addRange(97,122),W:n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},t.UNICODE={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,1114111),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:n(95).addRange(48,57).addRange(65,90).addRange(97,122),W:n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},t.UNICODE_IGNORE_CASE={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,1114111),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:n(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:n(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}},function(e,t,r){"use strict";function n(e){return S?A?m.UNICODE_IGNORE_CASE[e]:m.UNICODE[e]:m.REGULAR[e]}function i(e,t){return y.call(e,t)}function s(e,t){for(var r in t)e[r]=t[r]}function a(e,t){if(t){var r=p(t,"");switch(r.type){case"characterClass":case"group":case"value":break;default:r=o(r,t)}s(e,r)}}function o(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}}function u(e){return!!i(h,e)&&h[e]}function l(e){var t=d();e.body.forEach(function(e){switch(e.type){case"value":if(t.add(e.codePoint),A&&S){var r=u(e.codePoint);r&&t.add(r)}break;case"characterClassRange":var i=e.min.codePoint,s=e.max.codePoint;t.addRange(i,s),A&&S&&t.iuAddRange(i,s);break;case"characterClassEscape":t.add(n(e.value));break;default:throw Error("Unknown term type: "+e.type)}});return e.negative&&(t=(S?g:b).clone().remove(t)),a(e,t.toString()),e}function c(e){switch(e.type){case"dot":a(e,(S?E:x).toString());break;case"characterClass":e=l(e);break;case"characterClassEscape":a(e,n(e.value).toString());break;case"alternative":case"disjunction":case"group":case"quantifier":e.body=e.body.map(c);break;case"value":var t=e.codePoint,r=d(t);if(A&&S){var i=u(t);i&&r.add(i)}a(e,r.toString());break;case"anchor":case"empty":case"group":case"reference":break;default:throw Error("Unknown term type: "+e.type)}return e}var f=r(609).generate,p=r(610).parse,d=r(278),h=r(626),m=r(607),v={},y=v.hasOwnProperty,g=d().addRange(0,1114111),b=d().addRange(0,65535),E=g.clone().remove(10,13,8232,8233),x=E.clone().intersection(b);d.prototype.iuAddRange=function(e,t){var r=this;do{var n=u(e);n&&r.add(n)}while(++e<=t);return r};var A=!1,S=!1;e.exports=function(e,t){var r=p(e,t);return A=!!t&&t.indexOf("i")>-1,S=!!t&&t.indexOf("u")>-1,s(r,c(r)),f(r)}},function(e,t,r){var n;(function(e,i){"use strict";var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){function a(){var e,t,r=16384,n=[],i=-1,s=arguments.length;if(!s)return"";for(var a="";++i1114111||P(o)!=o)throw RangeError("Invalid code point: "+o);o<=65535?n.push(o):(o-=65536,e=(o>>10)+55296,t=o%1024+56320,n.push(e,t)),(i+1==s||n.length>r)&&(a+=F.apply(null,n),n.length=0)}return a}function o(e,t){if(t.indexOf("|")==-1){if(e==t)return;throw Error("Invalid node type: "+e)}if(t=o.hasOwnProperty(t)?o[t]:o[t]=RegExp("^(?:"+t+")$"),!t.test(e))throw Error("Invalid node type: "+e)}function u(e){var t=e.type;if(u.hasOwnProperty(t)&&"function"==typeof u[t])return u[t](e);throw Error("Invalid node type: "+t)}function l(e){o(e.type,"alternative");var t=e.body,r=t?t.length:0;if(1==r)return x(t[0]);for(var n=-1,i="";++n=55296&&r<=56319&&(n=x().charCodeAt(0),n>=56320&&n<=57343))return $++,s("symbol",1024*(r-55296)+n-56320+65536,$-2,$)}return s("symbol",r,$-1,$)}function u(e,t,n){return r({type:"disjunction",body:e,range:[t,n]})}function l(){return r({type:"dot",range:[$-1,$]})}function c(e){return r({type:"characterClassEscape",value:e,range:[$-2,$]})}function f(e){return r({type:"reference",matchIndex:parseInt(e,10),range:[$-1-e.length,$]})}function p(e,t,n,i){return r({type:"group",behavior:e,body:t,range:[n,i]})}function d(e,t,n,i){return null==i&&(n=$-1,i=$),r({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,i]})}function h(e,t,n){return r({type:"alternative",body:e,range:[t,n]})}function m(e,t,n,i){return r({type:"characterClass",body:e,negative:t,range:[n,i]})}function v(e,t,n,i){return e.codePoint>t.codePoint&&K("invalid range in character class",e.raw+"-"+t.raw,n,i),r({type:"characterClassRange",min:e,max:t,range:[n,i]})}function y(e){return"alternative"===e.type?e.body:[e]}function g(t){t=t||1;var r=e.substring($,$+t);return $+=t||1,r}function b(e){E(e)||K("character",e)}function E(t){if(e.indexOf(t,$)===$)return g(t.length)}function x(){return e[$]}function A(t){return e.indexOf(t,$)===$}function S(t){return e[$+1]===t}function _(t){var r=e.substring($),n=r.match(t);return n&&(n.range=[],n.range[0]=$,g(n[0].length),n.range[1]=$),n}function D(){var e=[],t=$;for(e.push(C());E("|");)e.push(C());return 1===e.length?e[0]:u(e,t,$)}function C(){for(var e,t=[],r=$;e=w();)t.push(e);return 1===t.length?t[0]:h(t,r,$)}function w(){if($>=e.length||A("|")||A(")"))return null;var t=P();if(t)return t;var r=T();r||K("Expected atom");var i=k()||!1;return i?(i.body=y(r),n(i,r.range[0]),i):r}function F(e,t,r,n){var i=null,s=$;if(E(e))i=t;else{if(!E(r))return!1;i=n}var a=D();a||K("Expected disjunction"),b(")");var o=p(i,y(a),s,$);return"normal"==i&&X&&J++,o}function P(){return E("^")?i("start",1):E("$")?i("end",1):E("\\b")?i("boundary",2):E("\\B")?i("not-boundary",2):F("(?=","lookahead","(?!","negativeLookahead")}function k(){var e,t,r,n,i=$;return E("*")?t=d(0):E("+")?t=d(1):E("?")?t=d(0,1):(e=_(/^\{([0-9]+)\}/))?(r=parseInt(e[1],10),t=d(r,r,e.range[0],e.range[1])):(e=_(/^\{([0-9]+),\}/))?(r=parseInt(e[1],10),t=d(r,void 0,e.range[0],e.range[1])):(e=_(/^\{([0-9]+),([0-9]+)\}/))&&(r=parseInt(e[1],10),n=parseInt(e[2],10),r>n&&K("numbers out of order in {} quantifier","",i,$),t=d(r,n,e.range[0],e.range[1])),t&&E("?")&&(t.greedy=!1,t.range[1]+=1),t}function T(){var e;return(e=_(/^[^^$\\.*+?(){[|]/))?o(e):E(".")?l():E("\\")?(e=R(),e||K("atomEscape"),e):(e=j())?e:F("(?:","ignore","(","normal")}function O(e){if(z){var t,n;if("unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&&A("\\")&&S("u")){var i=$;$++;var s=B();"unicodeEscape"==s.kind&&(n=s.codePoint)>=56320&&n<=57343?(e.range[1]=s.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",r(e)):$=i}}return e}function B(){return R(!0)}function R(e){var t,r=$;if(t=I())return t;if(e){if(E("b"))return a("singleEscape",8,"\\b");E("B")&&K("\\B not possible inside of CharacterClass","",r)}return t=M()}function I(){var e,t;if(e=_(/^(?!0)\d+/)){t=e[0];var r=parseInt(e[0],10);return r<=J?f(e[0]):(H.push(r),g(-e[0].length),(e=_(/^[0-7]{1,3}/))?a("octal",parseInt(e[0],8),e[0],1):(e=o(_(/^[89]/)),n(e,e.range[0]-1)))}return(e=_(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?a("null",0,"0",t.length+1):a("octal",parseInt(t,8),t,1)):!!(e=_(/^[dDsSwW]/))&&c(e[0])}function M(){var e;if(e=_(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return a("singleEscape",t,"\\"+e[0])}return(e=_(/^c([a-zA-Z])/))?a("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=_(/^x([0-9a-fA-F]{2})/))?a("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=_(/^u([0-9a-fA-F]{4})/))?O(a("unicodeEscape",parseInt(e[1],16),e[1],2)):z&&(e=_(/^u\{([0-9a-fA-F]+)\}/))?a("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):L()}function N(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&t.test(String.fromCharCode(e))}function L(){var e,t="‌",r="‍";return N(x())?E(t)?a("identifier",8204,t):E(r)?a("identifier",8205,r):null:(e=g(),a("identifier",e.charCodeAt(0),e,1))}function j(){var e,t=$;return(e=_(/^\[\^/))?(e=U(),b("]"),m(e,!0,t,$)):E("[")?(e=U(),b("]"),m(e,!1,t,$)):null}function U(){var e;return A("]")?[]:(e=G(),e||K("nonEmptyClassRanges"),e)}function V(e){var t,r,n;if(A("-")&&!S("]")){b("-"),n=Y(),n||K("classAtom"),r=$;var i=U();return i||K("classRanges"),t=e.range[0],"empty"===i.type?[v(e,n,t,r)]:[v(e,n,t,r)].concat(i)}return n=W(),n||K("nonEmptyClassRangesNoDash"),[e].concat(n)}function G(){var e=Y();return e||K("classAtom"),A("]")?[e]:V(e)}function W(){var e=Y();return e||K("classAtom"),A("]")?e:V(e)}function Y(){return E("-")?o("-"):q()}function q(){var e;return(e=_(/^[^\\\]-]/))?o(e[0]):E("\\")?(e=B(),e||K("classEscape"),O(e)):void 0}function K(t,r,n,i){n=null==n?$:n,i=null==i?n:i;var s=Math.max(0,n-10),a=Math.min(i+10,e.length),o=" "+e.substring(s,a),u=" "+new Array(n-s+1).join(" ")+"^";throw SyntaxError(t+" at position "+n+(r?": "+r:"")+"\n"+o+"\n"+u)}var H=[],J=0,X=!0,z=(t||"").indexOf("u")!==-1,$=0;e=String(e),""===e&&(e="(?:)");var Q=D();Q.range[1]!==e.length&&K("Could not parse entire input - got stuck","",Q.range[1]);for(var Z=0;Z>=1);return r}},function(e,t){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e0?n-u>1?r(u,n,i,s,a,o):o==t.LEAST_UPPER_BOUND?n1?r(e,u,i,s,a,o):o==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,i,s){if(0===n.length)return-1;var a=r(-1,n.length,e,n,i,s||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(n[a],n[a-1],!0);)--a;return a}},function(e,t,r){"use strict";function n(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return n>r||n==r&&a>=i||s.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var s=r(62);i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},function(e,t){"use strict";function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,s,a){if(s=0){var s=this._originalMappings[i];if(void 0===e.column)for(var a=s.originalLine;s&&s.originalLine===a;)n.push({line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var l=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==l;)n.push({line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return n},t.SourceMapConsumer=n,i.prototype=Object.create(n.prototype),i.prototype.consumer=n,i.fromSourceMap=function(e){var t=Object.create(i.prototype),r=t._names=l.fromArray(e._names.toArray(),!0),n=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,d=a.length;p1&&(r.source=m+i[1],m+=i[1],r.originalLine=d+i[2],d=r.originalLine,r.originalLine+=1,r.originalColumn=h+i[3],h=r.originalColumn,i.length>4&&(r.name=v+i[4],v+=i[4])),A.push(r),"number"==typeof r.originalLine&&x.push(r)}f(A,o.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,f(x,o.compareByOriginalPositions),this.__originalMappings=x},i.prototype._findMapping=function(e,t,r,n,i,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return u.search(e,t,i,s)},i.prototype.computeColumnSpans=function(){for(var e=0;e=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=o.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),null!=this.sourceRoot&&(s=o.join(this.sourceRoot,s)));var a=o.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:s,line:o.getArg(i,"originalLine",null),column:o.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},i.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=o.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)]; -var r;if(null!=this.sourceRoot&&(r=o.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},i.prototype.generatedPositionFor=function(e){var t=o.getArg(e,"source");if(null!=this.sourceRoot&&(t=o.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var r={source:t,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",n.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=i,a.prototype=Object.create(n.prototype),a.prototype.constructor=n,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t0&&(p&&i(p,l()),o.add(u.join(""))),t.sources.forEach(function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=s.join(r,e)),o.setSourceContent(e,n))}),o},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r0){for(t=[],r=0;r1&&(r+=" ("+p+")")),e(t.content,l({filename:r},n(t))).code}function n(e){return{presets:e.presets||["react","es2015"],plugins:e.plugins||["transform-class-properties","transform-object-rest-spread","transform-flow-strip-types"],sourceMaps:"inline"}}function i(e,t){var n=document.createElement("script");n.text=r(e,t),f.appendChild(n)}function s(e,t,r){var n=new XMLHttpRequest;return n.open("GET",e,!0),"overrideMimeType"in n&&n.overrideMimeType("text/plain"),n.onreadystatechange=function(){if(4===n.readyState){if(0!==n.status&&200!==n.status)throw r(),new Error("Could not load "+e);t(n.responseText)}},n.send(null)}function a(e,t){var r=e.getAttribute(t);return""===r?[]:r?r.split(",").map(function(e){return e.trim()}):null}function o(e,t){function r(){var t,r;for(r=0;re.length)&&(t=e.length);for(var r=0,a=Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e,t){if(null==e)return{};var r={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;r[a]=e[a]}return r}function p(){ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ +var e,t,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",n=r.toStringTag||"@@toStringTag";function s(r,a,n,s){var d=a&&a.prototype instanceof i?a:i,c=Object.create(d.prototype);return f(c,"_invoke",function(r,a,n){var s,i,d,c=0,l=n||[],u=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,r){return s=t,i=0,d=e,p.n=r,o}};function f(r,a){for(i=r,d=a,t=0;!u&&c&&!n&&t3?(n=g===a)&&(d=s[(i=s[4])?5:(i=3,3)],s[4]=s[5]=e):s[0]<=f&&((n=r<2&&fa||a>g)&&(s[4]=r,s[5]=a,p.n=g,i=0))}if(n||r>1)return o;throw u=!0,a}return function(n,l,g){if(c>1)throw TypeError("Generator is already running");for(u&&1===l&&f(l,g),i=l,d=g;(t=i<2?e:d)||!u;){s||(i?i<3?(i>1&&(p.n=-1),f(i,d)):p.n=d:p.v=d);try{if(c=2,s){if(i||(n="next"),t=s[n]){if(!(t=t.call(s,d)))throw TypeError("iterator result is not an object");if(!t.done)return t;d=t.value,i<2&&(i=0)}else 1===i&&(t=s.return)&&t.call(s),i<2&&(d=TypeError("The iterator does not provide a '"+n+"' method"),i=1);s=e}else if((t=(u=p.n<0)?d:r.call(a,p))!==o)break}catch(t){s=e,i=1,d=t}finally{c=1}}return{value:t,done:u}}}(r,n,s),!0),c}var o={};function i(){}function d(){}function c(){}t=Object.getPrototypeOf;var l=[][a]?t(t([][a]())):(f(t={},a,function(){return this}),t),u=c.prototype=i.prototype=Object.create(l);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,f(e,n,"GeneratorFunction")),e.prototype=Object.create(u),e}return d.prototype=c,f(u,"constructor",c),f(c,"constructor",d),d.displayName="GeneratorFunction",f(c,n,"GeneratorFunction"),f(u),f(u,n,"Generator"),f(u,a,function(){return this}),f(u,"toString",function(){return"[object Generator]"}),(p=function(){return{w:s,m:g}})()}function f(e,t,r,a){var n=Object.defineProperty;try{n({},"",{})}catch(e){n=0}f=function(e,t,r,a){function s(t,r){f(e,t,function(e){return this._invoke(t,r,e)})}t?n?n(e,t,{value:r,enumerable:!a,configurable:!a,writable:!a}):e[t]=r:(s("next",0),s("throw",1),s("return",2))},f(e,t,r,a)}function g(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,o,i=[],d=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(i.push(a.value),i.length!==t);d=!0);}catch(e){c=!0,n=e}finally{try{if(!d&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw n}}return i}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){return t||(t=e.slice(0)),e.raw=t,e}function b(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function x(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function R(e){var t="function"==typeof Map?new Map:void 0;return R=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(l())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var n=new(e.bind.apply(e,a));return r&&m(n,r.prototype),n}(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),m(r,e)},R(e)}var j="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function w(){throw new Error("setTimeout has not been defined")}function E(){throw new Error("clearTimeout has not been defined")}var S=w,T=E;function P(e){if(S===setTimeout)return setTimeout(e,0);if((S===w||!S)&&setTimeout)return S=setTimeout,setTimeout(e,0);try{return S(e,0)}catch(t){try{return S.call(null,e,0)}catch(t){return S.call(this,e,0)}}}"function"==typeof j.setTimeout&&(S=setTimeout),"function"==typeof j.clearTimeout&&(T=clearTimeout);var A,k=[],C=!1,_=-1;function I(){C&&A&&(C=!1,A.length?k=A.concat(k):_=-1,k.length&&D())}function D(){if(!C){var e=P(I);C=!0;for(var t=k.length;t;){for(A=k,k=[];++_1)for(var r=1;rn.length)return!1;for(var i=0,d=s.length-1;ie)return!1;if((r+=t[a+1])>=e)return!0}return!1}function Mr(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ir.test(String.fromCharCode(e)):Br(e,Or)))}function Fr(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Dr.test(String.fromCharCode(e)):Br(e,Or)||Br(e,Nr))))}function Lr(e){for(var t=!0,r=0;r=48&&e<=57},Qr={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Zr={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function ea(e,t,r,a,n,s){for(var o=r,i=a,d=n,c="",l=null,u=r,p=t.length;;){if(r>=p){s.unterminated(o,i,d),c+=t.slice(u,r);break}var f=t.charCodeAt(r);if(ta(e,f,t,r)){c+=t.slice(u,r);break}if(92===f){c+=t.slice(u,r);var g=ra(t,r,a,n,"template"===e,s);null!==g.ch||l?c+=g.ch:l={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,u=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(c+=t.slice(u,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,u=a=r):s.unterminated(o,i,d):++r}return{pos:r,str:c,firstInvalidLoc:l,lineStart:a,curLine:n,containsInvalid:!!l}}function ta(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function ra(e,t,r,a,n,s){var o=!n;t++;var i=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return i("\n");case 114:return i("\r");case 120:var c,l=aa(e,t,r,a,2,!1,o,s);return c=l.code,t=l.pos,i(null===c?null:String.fromCharCode(c));case 117:var u,p=sa(e,t,r,a,o,s);return u=p.code,t=p.pos,i(null===u?null:String.fromCodePoint(u));case 116:return i("\t");case 98:return i("\b");case 118:return i("\v");case 102:return i("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return i("");case 56:case 57:if(n)return i(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,g=/^[0-7]+/.exec(e.slice(f,t+2))[0],m=parseInt(g,8);m>255&&(g=g.slice(0,-1),m=parseInt(g,8)),t+=g.length-1;var y=e.charCodeAt(t);if("0"!==g||56===y||57===y){if(n)return i(null);s.strictNumericEscape(f,r,a)}return i(String.fromCharCode(m))}return i(String.fromCharCode(d))}}function aa(e,t,r,a,n,s,o,i){var d,c=t,l=na(e,t,r,a,16,n,s,!1,i,!o);return d=l.n,t=l.pos,null===d&&(o?i.invalidEscapeSequence(c,r,a):t=c-1),{code:d,pos:t}}function na(e,t,r,a,n,s,o,i,d,c){for(var l=t,u=16===n?Qr.hex:Qr.decBinOct,p=16===n?Zr.hex:10===n?Zr.dec:8===n?Zr.oct:Zr.bin,f=!1,g=0,m=0,y=null==s?1/0:s;m=97?h-97+10:h>=65?h-65+10:$r(h)?h-48:1/0)>=n){if(b<=9&&c)return{n:null,pos:t};if(b<=9&&d.invalidDigit(t,r,a,n))b=0;else{if(!o)break;b=0,f=!0}}++t,g=g*n+b}else{var v=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(i){if(Number.isNaN(x)||!p(x)||u.has(v)||u.has(x)){if(c)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(c)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===l||null!=s&&t-l!==s||f?{n:null,pos:t}:{n:g,pos:t}}function sa(e,t,r,a,n,s){var o;if(123===e.charCodeAt(t)){var i=aa(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(o=i.code,t=i.pos,++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=aa(e,t,r,a,4,!1,n,s);o=d.code,t=d.pos}return{code:o,pos:t}}var oa=["consequent","body","alternate"],ia=["leadingComments","trailingComments","innerComments"],da=["||","&&","??"],ca=["++","--"],la=[">","<",">=","<="],ua=["==","===","!=","!=="],pa=[].concat(ua,["in","instanceof"]),fa=[].concat(b(pa),la),ga=["-","/","%","*","**","&","|",">>",">>>","<<","^"],ma=["+"].concat(ga,b(fa),["|>"]),ya=["=","+="].concat(b(ga.map(function(e){return e+"="})),b(da.map(function(e){return e+"="}))),ha=["delete","!"],ba=["+","-","~"],va=["typeof"],xa=["void","throw"].concat(ha,ba,va),Ra={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding");var ja={},wa={},Ea={},Sa={},Ta={},Pa={},Aa={},ka={};function Ca(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function _a(e){return{validate:e}}function Ia(){return _a(qa.apply(void 0,arguments))}function Da(e){return{validate:e,optional:!0}}function Oa(){return{validate:qa.apply(void 0,arguments),optional:!0}}function Na(e){return Ha(Wa("array"),Fa(e))}function Ba(){return Na(qa.apply(void 0,arguments))}function Ma(){return _a(Ba.apply(void 0,arguments))}function Fa(e){var t=z.env.BABEL_TYPES_8_BREAKING?rs:function(){};function r(r,a,n){if(Array.isArray(n))for(var s=0,o={toString:function(){return a+"["+s+"]"}};s=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var za,Ka,Xa,Ja=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate","unionShape"]),Ya=new Set(["default","optional","deprecated","validate"]),$a={};function Qa(){for(var e=arguments.length,t=new Array(e),r=0;r0:c&&"object"==typeof c)throw new Error("field defaults can only be primitives or empty arrays currently");a[o]={default:Array.isArray(c)?[]:c,optional:d.optional,deprecated:d.deprecated,validate:d.validate}}for(var l=t.visitor||r.visitor||[],u=t.aliases||r.aliases||[],p=t.builder||r.builder||t.visitor||[],f=0,g=Object.keys(t);f+s+1)throw new TypeError("RestElement must be last element of "+n)}:void 0}),tn("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:qa("Expression"),optional:!0}}}),tn("SequenceExpression",{visitor:["expressions"],fields:{expressions:Ma("Expression")},aliases:["Expression"]}),tn("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:qa("Expression")}}}),tn("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:qa("Expression"),optional:!0},consequent:Ma("Statement")}}),tn("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:qa("Expression")},cases:Ma("SwitchCase")}}),tn("ThisExpression",{aliases:["Expression"]}),tn("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:qa("Expression")}}}),tn("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:z.env.BABEL_TYPES_8_BREAKING?Ha(qa("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):qa("BlockStatement")},handler:{optional:!0,validate:qa("CatchClause")},finalizer:{optional:!0,validate:qa("BlockStatement")}}}),tn("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:qa("Expression")},operator:{validate:La.apply(void 0,b(xa))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),tn("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:z.env.BABEL_TYPES_8_BREAKING?qa("Identifier","MemberExpression"):qa("Expression")},operator:{validate:La.apply(void 0,b(ca))}},visitor:["argument"],aliases:["Expression"]}),tn("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:Wa("boolean"),optional:!0},kind:{validate:La("var","let","const","using","await using")},declarations:Ma("VariableDeclarator")},validate:z.env.BABEL_TYPES_8_BREAKING?(cn=qa("Identifier","Placeholder"),ln=qa("Identifier","ArrayPattern","ObjectPattern","Placeholder"),un=qa("Identifier","VoidPattern","Placeholder"),function(e,t,r){var a=r.kind,n=r.declarations,s=kr("ForXStatement",e,{left:r});if(s&&1!==n.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type);for(var o,d=i(n);!(o=d()).done;){var c=o.value;"const"===a||"let"===a||"var"===a?s||c.init?ln(c,"id",c.id):cn(c,"id",c.id):un(c,"id",c.id)}}):void 0}),tn("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:z.env.BABEL_TYPES_8_BREAKING?qa("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):qa("LVal","VoidPattern")},definite:{optional:!0,validate:Wa("boolean")},init:{optional:!0,validate:qa("Expression")}}}),tn("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:qa("Expression")},body:{validate:qa("Statement")}}}),tn("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:qa("Expression")},body:{validate:qa("Statement")}}}),tn("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},pn(),{left:{validate:qa("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:qa("Expression")},decorators:{validate:Ba("Decorator"),optional:!0}})}),tn("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},pn(),{elements:{validate:Ha(Wa("array"),Fa(Ga("null","PatternLike")))}})}),tn("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},rn(),an(),{expression:{validate:Wa("boolean")},body:{validate:qa("BlockStatement","Expression")},predicate:{validate:qa("DeclaredPredicate","InferredPredicate"),optional:!0}})}),tn("ClassBody",{visitor:["body"],fields:{body:Ma("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),tn("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:(za={id:{validate:qa("Identifier"),optional:!0},typeParameters:{validate:qa("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:qa("ClassBody")},superClass:{optional:!0,validate:qa("Expression")}},za.superTypeParameters={validate:qa("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},za.implements={validate:Ba("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},za.decorators={validate:Ba("Decorator"),optional:!0},za.mixins={validate:qa("InterfaceExtends"),optional:!0},za)}),tn("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:(Ka={id:{validate:qa("Identifier"),optional:!0},typeParameters:{validate:qa("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:qa("ClassBody")},superClass:{optional:!0,validate:qa("Expression")}},Ka.superTypeParameters={validate:qa("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},Ka.implements={validate:Ba("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},Ka.decorators={validate:Ba("Decorator"),optional:!0},Ka.mixins={validate:qa("InterfaceExtends"),optional:!0},Ka.declare={validate:Wa("boolean"),optional:!0},Ka.abstract={validate:Wa("boolean"),optional:!0},Ka),validate:z.env.BABEL_TYPES_8_BREAKING?function(){var e=qa("Identifier");return function(t,r,a){kr("ExportDefaultDeclaration",t)||e(a,"id",a.id)}}():void 0});var fn,gn,mn={attributes:{optional:!0,validate:Ba("ImportAttribute")}};mn.assertions={deprecated:!0,optional:!0,validate:Ba("ImportAttribute")},tn("ExportAllDeclaration",{builder:["source","attributes"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:qa("StringLiteral")},exportKind:Da(La("type","value"))},mn)}),tn("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:Ia("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:Da(La("value"))}}),tn("ExportNamedDeclaration",{builder:["declaration","specifiers","source","attributes"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:z.env.BABEL_TYPES_8_BREAKING?Ha(qa("Declaration"),Object.assign(function(e,t,r){if(r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):qa("Declaration")}},mn,{specifiers:{default:[],validate:Na((fn=qa("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),gn=qa("ExportSpecifier"),z.env.BABEL_TYPES_8_BREAKING?Object.assign(function(e,t,r){(e.source?fn:gn)(e,t,r)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):fn))},source:{validate:qa("StringLiteral"),optional:!0},exportKind:Da(La("type","value"))})}),tn("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:qa("Identifier")},exported:{validate:qa("Identifier","StringLiteral")},exportKind:{validate:La("type","value"),optional:!0}}}),tn("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!z.env.BABEL_TYPES_8_BREAKING)return qa("VariableDeclaration","LVal");var e=qa("VariableDeclaration"),t=qa("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,a,n){kr("VariableDeclaration",n)?e(r,a,n):t(r,a,n)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:qa("Expression")},body:{validate:qa("Statement")},await:{default:!1}}}),tn("ImportDeclaration",{builder:["specifiers","source","attributes"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},mn,{module:{optional:!0,validate:Wa("boolean")},phase:{default:null,validate:La("source","defer")},specifiers:Ma("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:qa("StringLiteral")},importKind:{validate:La("type","typeof","value"),optional:!0}})}),tn("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:qa("Identifier")}}}),tn("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:qa("Identifier")}}}),tn("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:qa("Identifier")},imported:{validate:qa("Identifier","StringLiteral")},importKind:{validate:La("type","typeof","value"),optional:!0}}}),tn("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:La("source","defer")},source:{validate:qa("Expression")},options:{validate:qa("Expression"),optional:!0}}}),tn("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:z.env.BABEL_TYPES_8_BREAKING?Ha(qa("Identifier"),Object.assign(function(e,t,r){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!kr("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):qa("Identifier")},property:{validate:qa("Identifier")}}});var yn=function(){return{abstract:{validate:Wa("boolean"),optional:!0},accessibility:{validate:La("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:Wa("boolean"),optional:!0},key:{validate:Ha(function(){var e=qa("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=qa("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),qa("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},hn=function(){return Object.assign({},rn(),yn(),{params:Ma("FunctionParameter","TSParameterProperty"),kind:{validate:La("get","set","method","constructor"),default:"method"},access:{validate:Ha(Wa("string"),La("public","private","protected")),optional:!0},decorators:{validate:Ba("Decorator"),optional:!0}})};tn("ClassMethod",Object.assign({aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"]},en(),{fields:Object.assign({},hn(),an(),{body:{validate:qa("BlockStatement")}})})),tn("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},pn(),{properties:Ma("RestElement","ObjectProperty")})}),tn("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:qa("Expression")}}}),tn("Super",{aliases:["Expression"]}),tn("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:(Xa={tag:{validate:qa("Expression")},quasi:{validate:qa("TemplateLiteral")}},Xa.typeParameters={validate:qa("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},Xa)}),tn("TemplateElement",{builder:["value","tail"],fields:{value:{validate:Ha(function(e){var t=Object.keys(e);function r(r,a,n){for(var s,o=[],d=i(t);!(s=d()).done;){var c=s.value;try{ts(r,c,n[c],e[c])}catch(e){if(e instanceof TypeError){o.push(e.message);continue}throw e}}if(o.length)throw new TypeError("Property "+a+" of "+r.type+" expected to have the following:\n"+o.join("\n"))}return r.shapeOf=e,r}({raw:{validate:Wa("string")},cooked:{validate:Wa("string"),optional:!0}}),function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=ea("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,o=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=o?null:s})},tail:{default:!1}}}),tn("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:Ma("TemplateElement"),expressions:{validate:Ha(Wa("array"),Fa(qa("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)})}}}),tn("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:z.env.BABEL_TYPES_8_BREAKING?Ha(Wa("boolean"),Object.assign(function(e,t,r){if(r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):Wa("boolean"),default:!1},argument:{optional:!0,validate:qa("Expression")}}}),tn("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:qa("Expression")}}}),tn("Import",{aliases:["Expression"]}),tn("BigIntLiteral",{builder:["value"],fields:{value:{validate:Wa("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),tn("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:qa("Identifier")}}}),tn("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:qa("Expression")},property:{validate:function(){var e=qa("Identifier"),t=qa("Expression"),r=Object.assign(function(r,a,n){(r.computed?t:e)(r,a,n)},{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:z.env.BABEL_TYPES_8_BREAKING?Ha(Wa("boolean"),Va()):Wa("boolean")}}}),tn("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:qa("Expression")},arguments:Ma("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:z.env.BABEL_TYPES_8_BREAKING?Ha(Wa("boolean"),Va()):Wa("boolean")},typeArguments:{validate:qa("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:qa("TSTypeParameterInstantiation"),optional:!0}})}),tn("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},en(),{fields:Object.assign({},yn(),{value:{validate:qa("Expression"),optional:!0},definite:{validate:Wa("boolean"),optional:!0},typeAnnotation:{validate:qa("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Ba("Decorator"),optional:!0},readonly:{validate:Wa("boolean"),optional:!0},declare:{validate:Wa("boolean"),optional:!0},variance:{validate:qa("Variance"),optional:!0}})})),tn("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},en(!0),{fields:Object.assign({},yn(),{key:{validate:Ha(function(){var e=qa("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=qa("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),qa("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:qa("Expression"),optional:!0},definite:{validate:Wa("boolean"),optional:!0},typeAnnotation:{validate:qa("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Ba("Decorator"),optional:!0},readonly:{validate:Wa("boolean"),optional:!0},declare:{validate:Wa("boolean"),optional:!0},variance:{validate:qa("Variance"),optional:!0}})})),tn("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:qa("PrivateName")},value:{validate:qa("Expression"),optional:!0},typeAnnotation:{validate:qa("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Ba("Decorator"),optional:!0},static:{validate:Wa("boolean"),default:!1},readonly:{validate:Wa("boolean"),optional:!0},optional:{validate:Wa("boolean"),optional:!0},definite:{validate:Wa("boolean"),optional:!0},variance:{validate:qa("Variance"),optional:!0}}}),tn("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},hn(),an(),{kind:{validate:La("get","set","method"),default:"method"},key:{validate:qa("PrivateName")},body:{validate:qa("BlockStatement")}})}),tn("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:qa("Identifier")}}}),tn("StaticBlock",{visitor:["body"],fields:{body:Ma("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),tn("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:qa("Identifier","StringLiteral")},value:{validate:qa("StringLiteral")}}});var bn=Qa("Flow"),vn=function(e){var t="DeclareClass"===e;bn(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(b(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:Ia("Identifier"),typeParameters:Oa("TypeParameterDeclaration"),extends:Da(Ba("InterfaceExtends"))},t?{mixins:Da(Ba("InterfaceExtends")),implements:Da(Ba("ClassImplements"))}:{},{body:Ia("ObjectTypeAnnotation")})})};bn("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:Ia("FlowType")}}),bn("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:_a(Wa("boolean"))}}),bn("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("ClassImplements",{visitor:["id","typeParameters"],fields:{id:Ia("Identifier"),typeParameters:Oa("TypeParameterInstantiation")}}),vn("DeclareClass"),bn("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier"),predicate:Oa("DeclaredPredicate")}}),vn("DeclareInterface"),bn("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier","StringLiteral"),body:Ia("BlockStatement"),kind:Da(La("CommonJS","ES"))}}),bn("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:Ia("TypeAnnotation")}}),bn("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier"),typeParameters:Oa("TypeParameterDeclaration"),right:Ia("FlowType")}}),bn("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier"),typeParameters:Oa("TypeParameterDeclaration"),supertype:Oa("FlowType"),impltype:Oa("FlowType")}}),bn("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier")}}),bn("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:Oa("Flow"),specifiers:Da(Ba("ExportSpecifier","ExportNamespaceSpecifier")),source:Oa("StringLiteral"),default:Da(Wa("boolean"))},mn)}),bn("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:Ia("StringLiteral"),exportKind:Da(La("type","value"))},mn)}),bn("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:Ia("Flow")}}),bn("ExistsTypeAnnotation",{aliases:["FlowType"]}),bn("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Oa("TypeParameterDeclaration"),params:Ma("FunctionTypeParam"),rest:Oa("FunctionTypeParam"),this:Oa("FunctionTypeParam"),returnType:Ia("FlowType")}}),bn("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Oa("Identifier"),typeAnnotation:Ia("FlowType"),optional:Da(Wa("boolean"))}}),bn("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:Ia("Identifier","QualifiedTypeIdentifier"),typeParameters:Oa("TypeParameterInstantiation")}}),bn("InferredPredicate",{aliases:["FlowPredicate"]}),bn("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:Ia("Identifier","QualifiedTypeIdentifier"),typeParameters:Oa("TypeParameterInstantiation")}}),vn("InterfaceDeclaration"),bn("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Da(Ba("InterfaceExtends")),body:Ia("ObjectTypeAnnotation")}}),bn("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:_a(Ba("FlowType"))}}),bn("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:Ia("FlowType")}}),bn("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:_a(Wa("number"))}}),bn("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:_a(Ba("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:Ba("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:Ba("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:Ba("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:Wa("boolean"),default:!1},inexact:Da(Wa("boolean"))}}),bn("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:Ia("Identifier"),value:Ia("FlowType"),optional:_a(Wa("boolean")),static:_a(Wa("boolean")),method:_a(Wa("boolean"))}}),bn("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:Ia("FlowType"),static:_a(Wa("boolean"))}}),bn("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Oa("Identifier"),key:Ia("FlowType"),value:Ia("FlowType"),static:_a(Wa("boolean")),variance:Oa("Variance")}}),bn("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:Ia("Identifier","StringLiteral"),value:Ia("FlowType"),kind:_a(La("init","get","set")),static:_a(Wa("boolean")),proto:_a(Wa("boolean")),optional:_a(Wa("boolean")),variance:Oa("Variance"),method:_a(Wa("boolean"))}}),bn("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:Ia("FlowType")}}),bn("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier"),typeParameters:Oa("TypeParameterDeclaration"),supertype:Oa("FlowType"),impltype:Ia("FlowType")}}),bn("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:Ia("Identifier"),qualification:Ia("Identifier","QualifiedTypeIdentifier")}}),bn("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:_a(Wa("string"))}}),bn("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:_a(Ba("FlowType"))}}),bn("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:Ia("FlowType")}}),bn("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ia("Identifier"),typeParameters:Oa("TypeParameterDeclaration"),right:Ia("FlowType")}}),bn("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:Ia("FlowType")}}),bn("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:Ia("Expression"),typeAnnotation:Ia("TypeAnnotation")}}),bn("TypeParameter",{visitor:["bound","default","variance"],fields:{name:_a(Wa("string")),bound:Oa("TypeAnnotation"),default:Oa("FlowType"),variance:Oa("Variance")}}),bn("TypeParameterDeclaration",{visitor:["params"],fields:{params:_a(Ba("TypeParameter"))}}),bn("TypeParameterInstantiation",{visitor:["params"],fields:{params:_a(Ba("FlowType"))}}),bn("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:_a(Ba("FlowType"))}}),bn("Variance",{builder:["kind"],fields:{kind:_a(La("minus","plus"))}}),bn("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),bn("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:Ia("Identifier"),body:Ia("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),bn("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:_a(Wa("boolean")),members:Ma("EnumBooleanMember"),hasUnknownMembers:_a(Wa("boolean"))}}),bn("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:_a(Wa("boolean")),members:Ma("EnumNumberMember"),hasUnknownMembers:_a(Wa("boolean"))}}),bn("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:_a(Wa("boolean")),members:Ma("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:_a(Wa("boolean"))}}),bn("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Ma("EnumDefaultedMember"),hasUnknownMembers:_a(Wa("boolean"))}}),bn("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:Ia("Identifier"),init:Ia("BooleanLiteral")}}),bn("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ia("Identifier"),init:Ia("NumericLiteral")}}),bn("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ia("Identifier"),init:Ia("StringLiteral")}}),bn("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Ia("Identifier")}}),bn("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ia("FlowType"),indexType:Ia("FlowType")}}),bn("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ia("FlowType"),indexType:Ia("FlowType"),optional:_a(Wa("boolean"))}});var xn=Qa("JSX");xn("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:qa("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:qa("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),xn("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:qa("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),xn("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:qa("JSXOpeningElement")},closingElement:{optional:!0,validate:qa("JSXClosingElement")},children:Ma("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:Wa("boolean"),optional:!0}})}),xn("JSXEmptyExpression",{}),xn("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:qa("Expression","JSXEmptyExpression")}}}),xn("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:qa("Expression")}}}),xn("JSXIdentifier",{builder:["name"],fields:{name:{validate:Wa("string")}}}),xn("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:qa("JSXMemberExpression","JSXIdentifier")},property:{validate:qa("JSXIdentifier")}}}),xn("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:qa("JSXIdentifier")},name:{validate:qa("JSXIdentifier")}}}),xn("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:qa("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:Ma("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:qa("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:qa("TSTypeParameterInstantiation"),optional:!0}})}),xn("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:qa("Expression")}}}),xn("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:Wa("string")}}}),xn("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:qa("JSXOpeningFragment")},closingFragment:{validate:qa("JSXClosingFragment")},children:Ma("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),xn("JSXOpeningFragment",{aliases:["Immutable"]}),xn("JSXClosingFragment",{aliases:["Immutable"]});for(var Rn=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],jn={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},wn=0,En=Rn;wn=Number.MAX_SAFE_INTEGER?Ty.uid=0:Ty.uid++};var Ay=Function.call.bind(Object.prototype.toString);function ky(e){if(void 0===e)return Ps("undefined");if(!0===e||!1===e)return Ds(e);if(null===e)return{type:"NullLiteral"};if("string"==typeof e)return Cs(e);if("number"==typeof e){var t;if(Number.isFinite(e))t=_s(Math.abs(e));else t=ds("/",Number.isNaN(e)?_s(0):_s(1),_s(0));return(e<0||Object.is(e,-0))&&(t=$s("-",t)),t}if("bigint"==typeof e)return e<0?$s("-",ss(-e)):ss(e);if(function(e){return"[object RegExp]"===Ay(e)}(e))return Os(e.source,/\/([a-z]*)$/.exec(e.toString())[1]);if(Array.isArray(e))return os(e.map(ky));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(e)){for(var r=[],a=0,n=Object.keys(e);a1?e:e[0]}),Zy=$y(function(e){return e}),eh=$y(function(e){if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}),th={code:function(e){return"(\n"+e+"\n)"},validate:function(e){if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===th.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:function(e){var t=y(e.program.body,1)[0];return Yy(t),t.expression}},rh=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function ah(e,t){var r=t.placeholderWhitelist,a=void 0===r?e.placeholderWhitelist:r,n=t.placeholderPattern,s=void 0===n?e.placeholderPattern:n,o=t.preserveComments,i=void 0===o?e.preserveComments:o,d=t.syntacticPlaceholders,c=void 0===d?e.syntacticPlaceholders:d;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:a,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:c}}function nh(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");var t=e||{},r=t.placeholderWhitelist,a=t.placeholderPattern,n=t.preserveComments,s=t.syntacticPlaceholders,o=u(t,rh);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=a&&!(a instanceof RegExp)&&!1!==a)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=n&&"boolean"!=typeof n)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=r||null!=a))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:r||void 0,placeholderPattern:null==a?void 0:a,preserveComments:null==n?void 0:n,syntacticPlaceholders:null==s?void 0:s}}function sh(e){if(Array.isArray(e))return e.reduce(function(e,t,r){return e["$"+r]=t,e},{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}var oh=o(function(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}),ih=o(function(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t});function dh(e,t){var r=e.line,a=e.column,n=e.index;return new oh(r,a+t,n+t)}var ch,lh="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",uh={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:lh},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:lh}},ph={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},fh=function(e){return"UpdateExpression"===e.type?ph.UpdateExpression[""+e.prefix]:ph[e.type]},gh={AccessorIsGenerator:function(e){return"A "+e.kind+"ter cannot be a generator."},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:function(e){return"Missing initializer in "+e.kind+" declaration."},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:function(e){return"`"+e.exportName+"` has already been exported. Exported identifiers must be unique."},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:function(e){return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '"+e.localName+"' as '"+e.exportName+"' } from 'some-module'`?"},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:function(e){return"'"+("ForInStatement"===e.type?"for-in":"for-of")+"' loop variable declaration may not have an initializer."},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:function(e){return"Unsyntactic "+("BreakStatement"===e.type?"break":"continue")+"."},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:function(e){return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'+e.importName+'" as foo }`?'},ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:function(e){return"Expected number in radix "+e.radix+"."},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:function(e){return"Escape sequence in keyword "+e.reservedWord+"."},InvalidIdentifier:function(e){return"Invalid identifier "+e.identifierName+"."},InvalidLhs:function(e){var t=e.ancestor;return"Invalid left-hand side in "+fh(t)+"."},InvalidLhsBinding:function(e){var t=e.ancestor;return"Binding invalid left-hand side in "+fh(t)+"."},InvalidLhsOptionalChaining:function(e){var t=e.ancestor;return"Invalid optional chaining in the left-hand side of "+fh(t)+"."},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:function(e){return"Unexpected character '"+e.unexpected+"'."},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:function(e){return"Private name #"+e.identifierName+" is not defined."},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:function(e){return"Label '"+e.labelName+"' is already declared."},LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:function(e){return"This experimental syntax requires enabling the parser plugin: "+e.missingPlugin.map(function(e){return JSON.stringify(e)}).join(", ")+"."},MissingOneOfPlugins:function(e){return"This experimental syntax requires enabling one of the following parser plugin(s): "+e.missingPlugin.map(function(e){return JSON.stringify(e)}).join(", ")+"."},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:function(e){return'Duplicate key "'+e.key+'" is not allowed in module attributes.'},ModuleExportNameHasLoneSurrogate:function(e){return"An export name cannot include a lone surrogate, found '\\u"+e.surrogateCharCode.toString(16)+"'."},ModuleExportUndefined:function(e){return"Export '"+e.localName+"' is not defined."},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:function(e){var t=e.identifierName;return"Private names are only allowed in property accesses (`obj.#"+t+"`) or in `in` expressions (`#"+t+" in obj`)."},PrivateNameRedeclaration:function(e){return"Duplicate private name #"+e.identifierName+"."},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:function(e){return"Unexpected keyword '"+e.keyword+"'."},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:function(e){return"Unexpected reserved word '"+e.reservedWord+"'."},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:function(e){var t=e.expected,r=e.unexpected;return"Unexpected token"+(r?" '"+r+"'.":"")+(t?', expected "'+t+'"':"")},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:function(e){var t=e.target;return"The only valid meta property for "+t+" is "+t+"."+e.onlyValidPropertyName+"."},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:function(e){return"Identifier '"+e.identifierName+"' has already been declared."},VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},mh={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:function(e){var t=e.unexpected;return"Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character `"+String.fromCodePoint(t)+"`."}},yh=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),hh=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:function(e){var t=e.token;return"Invalid topic token "+t+". In order to use "+t+' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "'+t+'" }.'},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:function(e){var t=e.type;return"Hack-style pipe body cannot be an unparenthesized "+fh({type:t})+"; please wrap it in parentheses."}},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),bh=["message"];function vh(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function xh(e,t){if(Array.isArray(e))return function(t){return xh(t,e[0])};for(var r={},a=function(){var a=s[n],o=e[a],i="string"==typeof o?{message:function(){return o}}:"function"==typeof o?{message:o}:o,d=i.message,c=u(i,bh),l="string"==typeof d?function(){return d}:d;r[a]=function(e){var t=e.toMessage,r=e.code,a=e.reasonCode,n=e.syntaxPlugin,s="MissingPlugin"===a||"MissingOneOfPlugins"===a,o={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return o[a]&&(a=o[a]),function e(o,i){var d=new SyntaxError;return d.code=r,d.reasonCode=a,d.loc=o,d.pos=o.index,d.syntaxPlugin=n,s&&(d.missingPlugin=i.missingPlugin),vh(d,"clone",function(t){var r;void 0===t&&(t={});var a=null!=(r=t.loc)?r:o,n=a.line,s=a.column,d=a.index;return e(new oh(n,s,d),Object.assign({},i,t.details))}),vh(d,"details",i),Object.defineProperty(d,"message",{configurable:!0,get:function(){var e=t(i)+" ("+o.line+":"+o.column+")";return this.message=e,e},set:function(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),d}}(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:a,toMessage:l},t?{syntaxPlugin:t}:{},c))},n=0,s=Object.keys(e);n...",!0)};Uh.template=new Lh("`",!0);var qh=!0,Gh=!0,Wh=!0,Vh=!0,Hh=!0,zh=o(function(e,t){void 0===t&&(t={}),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}),Kh=new Map;function Xh(e,t){void 0===t&&(t={}),t.keyword=e;var r=ab(e,t);return Kh.set(e,r),r}function Jh(e,t){return ab(e,{beforeExpr:qh,binop:t})}var Yh=-1,$h=[],Qh=[],Zh=[],eb=[],tb=[],rb=[];function ab(e,t){var r,a,n,s;return void 0===t&&(t={}),++Yh,Qh.push(e),Zh.push(null!=(r=t.binop)?r:-1),eb.push(null!=(a=t.beforeExpr)&&a),tb.push(null!=(n=t.startsExpr)&&n),rb.push(null!=(s=t.prefix)&&s),$h.push(new zh(e,t)),Yh}function nb(e,t){var r,a,n,s;return void 0===t&&(t={}),++Yh,Kh.set(e,Yh),Qh.push(e),Zh.push(null!=(r=t.binop)?r:-1),eb.push(null!=(a=t.beforeExpr)&&a),tb.push(null!=(n=t.startsExpr)&&n),rb.push(null!=(s=t.prefix)&&s),$h.push(new zh("name",t)),Yh}var sb={bracketL:ab("[",{beforeExpr:qh,startsExpr:Gh}),bracketHashL:ab("#[",{beforeExpr:qh,startsExpr:Gh}),bracketBarL:ab("[|",{beforeExpr:qh,startsExpr:Gh}),bracketR:ab("]"),bracketBarR:ab("|]"),braceL:ab("{",{beforeExpr:qh,startsExpr:Gh}),braceBarL:ab("{|",{beforeExpr:qh,startsExpr:Gh}),braceHashL:ab("#{",{beforeExpr:qh,startsExpr:Gh}),braceR:ab("}"),braceBarR:ab("|}"),parenL:ab("(",{beforeExpr:qh,startsExpr:Gh}),parenR:ab(")"),comma:ab(",",{beforeExpr:qh}),semi:ab(";",{beforeExpr:qh}),colon:ab(":",{beforeExpr:qh}),doubleColon:ab("::",{beforeExpr:qh}),dot:ab("."),question:ab("?",{beforeExpr:qh}),questionDot:ab("?."),arrow:ab("=>",{beforeExpr:qh}),template:ab("template"),ellipsis:ab("...",{beforeExpr:qh}),backQuote:ab("`",{startsExpr:Gh}),dollarBraceL:ab("${",{beforeExpr:qh,startsExpr:Gh}),templateTail:ab("...`",{startsExpr:Gh}),templateNonTail:ab("...${",{beforeExpr:qh,startsExpr:Gh}),at:ab("@"),hash:ab("#",{startsExpr:Gh}),interpreterDirective:ab("#!..."),eq:ab("=",{beforeExpr:qh,isAssign:Vh}),assign:ab("_=",{beforeExpr:qh,isAssign:Vh}),slashAssign:ab("_=",{beforeExpr:qh,isAssign:Vh}),xorAssign:ab("_=",{beforeExpr:qh,isAssign:Vh}),moduloAssign:ab("_=",{beforeExpr:qh,isAssign:Vh}),incDec:ab("++/--",{prefix:Hh,postfix:!0,startsExpr:Gh}),bang:ab("!",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),tilde:ab("~",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),doubleCaret:ab("^^",{startsExpr:Gh}),doubleAt:ab("@@",{startsExpr:Gh}),pipeline:Jh("|>",0),nullishCoalescing:Jh("??",1),logicalOR:Jh("||",1),logicalAND:Jh("&&",2),bitwiseOR:Jh("|",3),bitwiseXOR:Jh("^",4),bitwiseAND:Jh("&",5),equality:Jh("==/!=/===/!==",6),lt:Jh("/<=/>=",7),gt:Jh("/<=/>=",7),relational:Jh("/<=/>=",7),bitShift:Jh("<>/>>>",8),bitShiftL:Jh("<>/>>>",8),bitShiftR:Jh("<>/>>>",8),plusMin:ab("+/-",{beforeExpr:qh,binop:9,prefix:Hh,startsExpr:Gh}),modulo:ab("%",{binop:10,startsExpr:Gh}),star:ab("*",{binop:10}),slash:Jh("/",10),exponent:ab("**",{beforeExpr:qh,binop:11,rightAssociative:!0}),_in:Xh("in",{beforeExpr:qh,binop:7}),_instanceof:Xh("instanceof",{beforeExpr:qh,binop:7}),_break:Xh("break"),_case:Xh("case",{beforeExpr:qh}),_catch:Xh("catch"),_continue:Xh("continue"),_debugger:Xh("debugger"),_default:Xh("default",{beforeExpr:qh}),_else:Xh("else",{beforeExpr:qh}),_finally:Xh("finally"),_function:Xh("function",{startsExpr:Gh}),_if:Xh("if"),_return:Xh("return",{beforeExpr:qh}),_switch:Xh("switch"),_throw:Xh("throw",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),_try:Xh("try"),_var:Xh("var"),_const:Xh("const"),_with:Xh("with"),_new:Xh("new",{beforeExpr:qh,startsExpr:Gh}),_this:Xh("this",{startsExpr:Gh}),_super:Xh("super",{startsExpr:Gh}),_class:Xh("class",{startsExpr:Gh}),_extends:Xh("extends",{beforeExpr:qh}),_export:Xh("export"),_import:Xh("import",{startsExpr:Gh}),_null:Xh("null",{startsExpr:Gh}),_true:Xh("true",{startsExpr:Gh}),_false:Xh("false",{startsExpr:Gh}),_typeof:Xh("typeof",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),_void:Xh("void",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),_delete:Xh("delete",{beforeExpr:qh,prefix:Hh,startsExpr:Gh}),_do:Xh("do",{isLoop:Wh,beforeExpr:qh}),_for:Xh("for",{isLoop:Wh}),_while:Xh("while",{isLoop:Wh}),_as:nb("as",{startsExpr:Gh}),_assert:nb("assert",{startsExpr:Gh}),_async:nb("async",{startsExpr:Gh}),_await:nb("await",{startsExpr:Gh}),_defer:nb("defer",{startsExpr:Gh}),_from:nb("from",{startsExpr:Gh}),_get:nb("get",{startsExpr:Gh}),_let:nb("let",{startsExpr:Gh}),_meta:nb("meta",{startsExpr:Gh}),_of:nb("of",{startsExpr:Gh}),_sent:nb("sent",{startsExpr:Gh}),_set:nb("set",{startsExpr:Gh}),_source:nb("source",{startsExpr:Gh}),_static:nb("static",{startsExpr:Gh}),_using:nb("using",{startsExpr:Gh}),_yield:nb("yield",{startsExpr:Gh}),_asserts:nb("asserts",{startsExpr:Gh}),_checks:nb("checks",{startsExpr:Gh}),_exports:nb("exports",{startsExpr:Gh}),_global:nb("global",{startsExpr:Gh}),_implements:nb("implements",{startsExpr:Gh}),_intrinsic:nb("intrinsic",{startsExpr:Gh}),_infer:nb("infer",{startsExpr:Gh}),_is:nb("is",{startsExpr:Gh}),_mixins:nb("mixins",{startsExpr:Gh}),_proto:nb("proto",{startsExpr:Gh}),_require:nb("require",{startsExpr:Gh}),_satisfies:nb("satisfies",{startsExpr:Gh}),_keyof:nb("keyof",{startsExpr:Gh}),_readonly:nb("readonly",{startsExpr:Gh}),_unique:nb("unique",{startsExpr:Gh}),_abstract:nb("abstract",{startsExpr:Gh}),_declare:nb("declare",{startsExpr:Gh}),_enum:nb("enum",{startsExpr:Gh}),_module:nb("module",{startsExpr:Gh}),_namespace:nb("namespace",{startsExpr:Gh}),_interface:nb("interface",{startsExpr:Gh}),_type:nb("type",{startsExpr:Gh}),_opaque:nb("opaque",{startsExpr:Gh}),name:ab("name",{startsExpr:Gh}),placeholder:ab("%%",{startsExpr:Gh}),string:ab("string",{startsExpr:Gh}),num:ab("num",{startsExpr:Gh}),bigint:ab("bigint",{startsExpr:Gh}),decimal:ab("decimal",{startsExpr:Gh}),regexp:ab("regexp",{startsExpr:Gh}),privateName:ab("#name",{startsExpr:Gh}),eof:ab("eof"),jsxName:ab("jsxName"),jsxText:ab("jsxText",{beforeExpr:qh}),jsxTagStart:ab("jsxTagStart",{startsExpr:Gh}),jsxTagEnd:ab("jsxTagEnd")};function ob(e){return e>=93&&e<=133}function ib(e){return e>=58&&e<=133}function db(e){return e>=58&&e<=137}function cb(e){return tb[e]}function lb(e){return e>=129&&e<=131}function ub(e){return e>=58&&e<=92}function pb(e){return 34===e}function fb(e){return Qh[e]}function gb(e){return Zh[e]}function mb(e){return e>=24&&e<=25}function yb(e){return $h[e]}$h[8].updateContext=function(e){e.pop()},$h[5].updateContext=$h[7].updateContext=$h[23].updateContext=function(e){e.push(Uh.brace)},$h[22].updateContext=function(e){e[e.length-1]===Uh.template?e.pop():e.push(Uh.template)},$h[143].updateContext=function(e){e.push(Uh.j_expr,Uh.j_oTag)};var hb=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);var bb,vb=0,xb=1,Rb=2,jb=4,wb=8,Eb=16,Sb=32,Tb=64,Pb=128,Ab=256,kb=512,Cb=1024,_b=514,Ib=576,Db=1667,Ob=1,Nb=2,Bb=4,Mb=8,Fb=16,Lb=128,Ub=256,qb=512,Gb=1024,Wb=2048,Vb=4096,Hb=8192,zb=8331,Kb=8201,Xb=9,Jb=5,Yb=17,$b=130,Qb=2,Zb=8459,ev=1024,tv=64,rv=65,av=8971,nv=1024,sv=4098,ov=4096,iv=2048,dv=0,cv=4,lv=3,uv=6,pv=5,fv=2,gv=1,mv=1,yv=2,hv=4,bv=o(function(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}),vv=function(){function e(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}var t=e.prototype;return t.createScope=function(e){return new bv(e)},t.enter=function(e){this.scopeStack.push(this.createScope(e))},t.exit=function(){return this.scopeStack.pop().flags},t.treatFunctionsAsVarInScope=function(e){return!!(e.flags&(Rb|Pb)||!this.parser.inModule&&e.flags&xb)},t.declareName=function(e,t,r){var a=this.currentScope();if(t&Mb||t&Fb){this.checkRedeclarationInScope(a,e,t,r);var n=a.names.get(e)||0;t&Fb?n|=hv:(a.firstLexicalName||(a.firstLexicalName=e),n|=yv),a.names.set(e,n),t&Mb&&this.maybeExportDefined(a,e)}else if(t&Bb)for(var s=this.scopeStack.length-1;s>=0&&(a=this.scopeStack[s],this.checkRedeclarationInScope(a,e,t,r),a.names.set(e,(a.names.get(e)||0)|mv),this.maybeExportDefined(a,e),!(a.flags&Db));--s);this.parser.inModule&&a.flags&xb&&this.undefinedExports.delete(e)},t.maybeExportDefined=function(e,t){this.parser.inModule&&e.flags&xb&&this.undefinedExports.delete(t)},t.checkRedeclarationInScope=function(e,t,r,a){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(Rh.VarRedeclaration,a,{identifierName:t})},t.isRedeclaredInScope=function(e,t,r){if(!(r&Ob))return!1;if(r&Mb)return e.names.has(t);var a=e.names.get(t)||0;return r&Fb?(a&yv)>0||!this.treatFunctionsAsVarInScope(e)&&(a&mv)>0:(a&yv)>0&&!(e.flags&wb&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(a&hv)>0},t.checkLocalExport=function(e){var t=e.name;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)},t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},t.currentVarScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&Db)return t}},t.currentThisScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&(Db|Tb)&&!(t&jb))return t}},o(e,[{key:"inTopLevel",get:function(){return(this.currentScope().flags&xb)>0}},{key:"inFunction",get:function(){return(this.currentVarScopeFlags()&Rb)>0}},{key:"allowSuper",get:function(){return(this.currentThisScopeFlags()&Eb)>0}},{key:"allowDirectSuper",get:function(){return(this.currentThisScopeFlags()&Sb)>0}},{key:"allowNewTarget",get:function(){return(this.currentThisScopeFlags()&kb)>0}},{key:"inClass",get:function(){return(this.currentThisScopeFlags()&Tb)>0}},{key:"inClassAndNotInNonArrowFunction",get:function(){var e=this.currentThisScopeFlags();return(e&Tb)>0&&0===(e&Rb)}},{key:"inStaticBlock",get:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&Pb)return!0;if(t&(Db|Tb))return!1}}},{key:"inNonArrowFunction",get:function(){return(this.currentThisScopeFlags()&Rb)>0}},{key:"inBareCaseStatement",get:function(){return(this.currentScope().flags&Ab)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}}])}(),xv=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0||(n&yv)>0}return!1},r.checkLocalExport=function(t){this.scopeStack[0].declareFunctions.has(t.name)||e.prototype.checkLocalExport.call(this,t)},o(t)}(vv),jv=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),wv=xh(bb||(bb=h(["flow"])))({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:function(e){return"Cannot overwrite reserved type "+e.reservedType+"."},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:function(e){var t=e.memberName;return"Boolean enum members need to be initialized. Use either `"+t+" = true,` or `"+t+" = false,` in enum `"+e.enumName+"`."},EnumDuplicateMemberName:function(e){return"Enum member names need to be unique, but the name `"+e.memberName+"` has already been used before in enum `"+e.enumName+"`."},EnumInconsistentMemberValues:function(e){return"Enum `"+e.enumName+"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."},EnumInvalidExplicitType:function(e){return"Enum type `"+e.invalidEnumType+"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `"+e.enumName+"`."},EnumInvalidExplicitTypeUnknownSupplied:function(e){return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `"+e.enumName+"`."},EnumInvalidMemberInitializerPrimaryType:function(e){var t=e.enumName,r=e.memberName,a=e.explicitType;return"Enum `"+t+"` has type `"+a+"`, so the initializer of `"+r+"` needs to be a "+a+" literal."},EnumInvalidMemberInitializerSymbolType:function(e){var t=e.enumName;return"Symbol enum members cannot be initialized. Use `"+e.memberName+",` in enum `"+t+"`."},EnumInvalidMemberInitializerUnknownType:function(e){var t=e.enumName;return"The enum member initializer for `"+e.memberName+"` needs to be a literal (either a boolean, number, or string) in enum `"+t+"`."},EnumInvalidMemberName:function(e){var t=e.enumName;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `"+e.memberName+"`, consider using `"+e.suggestion+"`, in enum `"+t+"`."},EnumNumberMemberNotInitialized:function(e){var t=e.enumName;return"Number enum members need to be initialized, e.g. `"+e.memberName+" = 1` in enum `"+t+"`."},EnumStringMemberInconsistentlyInitialized:function(e){return"String enum members need to consistently either all use initializers, or use no initializers, in enum `"+e.enumName+"`."},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:function(e){return"Unexpected reserved type "+e.reservedType+"."},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:function(e){return"`declare export "+e.unsupportedExportKind+"` is not supported. Use `"+e.suggestion+"` instead."},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ev(e){return"type"===e.importKind||"typeof"===e.importKind}var Sv={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};var Tv=/\*?\s*@((?:no)?flow)\b/,Pv={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Av=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function kv(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Cv(e,t,r){for(var a=t;a."},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:function(e){var t=e.unexpected;return"Unexpected token `"+t+"`. Did you mean `"+e.HTMLEntity+"` or `{'"+t+"'}`?"},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function Bv(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Mv(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Mv(e.object)+"."+Mv(e.property);throw new Error("Node had unexpected type: "+e.type)}var Fv=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n1)for(var a=0;a0?!(a&Ub)||!!(a&qb)!==(4&n)>0:a&Lb&&(8&n)>0?!!(t.names.get(r)&yv)&&!!(a&Ob):!!(a&Nb&&(1&n)>0)||e.prototype.isRedeclaredInScope.call(this,t,r,a)},r.checkLocalExport=function(t){var r=t.name;if(!this.hasImport(r)){for(var a=this.scopeStack.length-1;a>=0;a--){var n=this.scopeStack[a].tsNames.get(r);if((1&n)>0||(16&n)>0)return}e.prototype.checkLocalExport.call(this,t)}},o(t)}(vv),Uv=0,qv=1,Gv=2,Wv=4,Vv=8,Hv=function(){function e(){this.stacks=[]}var t=e.prototype;return t.enter=function(e){this.stacks.push(e)},t.exit=function(){this.stacks.pop()},t.currentFlags=function(){return this.stacks[this.stacks.length-1]},o(e,[{key:"hasAwait",get:function(){return(this.currentFlags()&Gv)>0}},{key:"hasYield",get:function(){return(this.currentFlags()&qv)>0}},{key:"hasReturn",get:function(){return(this.currentFlags()&Wv)>0}},{key:"hasIn",get:function(){return(this.currentFlags()&Vv)>0}}])}();function zv(e,t){return(e?Gv:0)|(t?qv:0)}var Kv=function(){function e(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}var t=e.prototype;return t.sourceToOffsetPos=function(e){return e+this.startIndex},t.offsetToSourcePos=function(e){return e-this.startIndex},t.hasPlugin=function(e){if("string"==typeof e)return this.plugins.has(e);var t=e[0],r=e[1];if(!this.hasPlugin(t))return!1;for(var a=this.plugins.get(t),n=0,s=Object.keys(r);n0;)a=t[--n];null===a||a.start>r.start?Jv(e,r.comments):Xv(a,r.comments)}var $v=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var r=t.prototype;return r.addComment=function(e){this.filename&&(e.loc.filename=this.filename);var t=this.state.commentsLen;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++},r.processComment=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=r-1,n=t[a];n.start===e.end&&(n.leadingNode=e,a--);for(var s=e.start;a>=0;a--){var o=t[a],i=o.end;if(!(i>s)){i===s&&(o.trailingNode=e);break}o.containingNode=e,this.finalizeComment(o),t.splice(a,1)}}},r.finalizeComment=function(e){var t,r=e.comments;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Xv(e.leadingNode,r),null!==e.trailingNode&&function(e,t){var r;void 0===e.leadingComments?e.leadingComments=t:(r=e.leadingComments).unshift.apply(r,t)}(e.trailingNode,r);else{var a=e.containingNode,n=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(n)-1))switch(a.type){case"ObjectExpression":case"ObjectPattern":Yv(a,a.properties,e);break;case"CallExpression":case"OptionalCallExpression":Yv(a,a.arguments,e);break;case"ImportExpression":Yv(a,[a.source,null!=(t=a.options)?t:null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Yv(a,a.params,e);break;case"ArrayExpression":case"ArrayPattern":Yv(a,a.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Yv(a,a.specifiers,e);break;case"TSEnumDeclaration":case"TSEnumBody":Yv(a,a.members,e);break;default:if("RecordExpression"===a.type){Yv(a,a.properties,e);break}if("TupleExpression"===a.type){Yv(a,a.elements,e);break}Jv(a,r)}else Jv(a,r)}},r.finalizeRemainingComments=function(){for(var e=this.state.commentStack,t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]},r.resetPreviousNodeTrailingComments=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=t[r-1];a.leadingNode===e&&(a.leadingNode=null)}},r.takeSurroundingComments=function(e,t,r){var a=this.state.commentStack,n=a.length;if(0!==n)for(var s=n-1;s>=0;s--){var o=a[s],i=o.end;if(o.start===r)o.leadingNode=e;else if(i===t)o.trailingNode=e;else if(i0},set:function(e){e?this.flags|=1:this.flags&=-2}},{key:"maybeInArrowParameters",get:function(){return(2&this.flags)>0},set:function(e){e?this.flags|=2:this.flags&=-3}},{key:"inType",get:function(){return(4&this.flags)>0},set:function(e){e?this.flags|=4:this.flags&=-5}},{key:"noAnonFunctionType",get:function(){return(8&this.flags)>0},set:function(e){e?this.flags|=8:this.flags&=-9}},{key:"hasFlowComment",get:function(){return(16&this.flags)>0},set:function(e){e?this.flags|=16:this.flags&=-17}},{key:"isAmbientContext",get:function(){return(32&this.flags)>0},set:function(e){e?this.flags|=32:this.flags&=-33}},{key:"inAbstractClass",get:function(){return(64&this.flags)>0},set:function(e){e?this.flags|=64:this.flags&=-65}},{key:"inDisallowConditionalTypesContext",get:function(){return(128&this.flags)>0},set:function(e){e?this.flags|=128:this.flags&=-129}},{key:"soloAwait",get:function(){return(256&this.flags)>0},set:function(e){e?this.flags|=256:this.flags&=-257}},{key:"inFSharpPipelineDirectBody",get:function(){return(512&this.flags)>0},set:function(e){e?this.flags|=512:this.flags&=-513}},{key:"canStartJSXElement",get:function(){return(1024&this.flags)>0},set:function(e){e?this.flags|=1024:this.flags&=-1025}},{key:"containsEsc",get:function(){return(2048&this.flags)>0},set:function(e){e?this.flags|=2048:this.flags&=-2049}},{key:"hasTopLevelAwait",get:function(){return(4096&this.flags)>0},set:function(e){e?this.flags|=4096:this.flags&=-4097}}])}();function tx(e,t,r){return new oh(r,e-t,e)}var rx=new Set([103,109,115,105,121,117,100,118]),ax=o(function(e){var t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new ih(e.startLoc,e.endLoc)}),nx=function(e){function t(t,r){var a;return(a=e.call(this)||this).isLookahead=void 0,a.tokens=[],a.errorHandlers_readInt={invalidDigit:function(e,t,r,n){return!!(a.optionFlags&Dh)&&(a.raise(Rh.InvalidDigit,tx(e,t,r),{radix:n}),!0)},numericSeparatorInEscapeSequence:a.errorBuilder(Rh.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:a.errorBuilder(Rh.UnexpectedNumericSeparator)},a.errorHandlers_readCodePoint=Object.assign({},a.errorHandlers_readInt,{invalidEscapeSequence:a.errorBuilder(Rh.InvalidEscapeSequence),invalidCodePoint:a.errorBuilder(Rh.InvalidCodePoint)}),a.errorHandlers_readStringContents_string=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:function(e,t,r){a.recordStrictModeErrors(Rh.StrictNumericEscape,tx(e,t,r))},unterminated:function(e,t,r){throw a.raise(Rh.UnterminatedString,tx(e-1,t,r))}}),a.errorHandlers_readStringContents_template=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:a.errorBuilder(Rh.StrictNumericEscape),unterminated:function(e,t,r){throw a.raise(Rh.UnterminatedTemplate,tx(e,t,r))}}),a.state=new ex,a.state.init(t),a.input=r,a.length=r.length,a.comments=[],a.isLookahead=!1,a}c(t,e);var r=t.prototype;return r.pushToken=function(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength},r.next=function(){this.checkKeywordEscapes(),this.optionFlags&Ch&&this.pushToken(new ax(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},r.eat=function(e){return!!this.match(e)&&(this.next(),!0)},r.match=function(e){return this.state.type===e},r.createLookaheadState=function(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}},r.lookahead=function(){var e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var t=this.state;return this.state=e,t},r.nextTokenStart=function(){return this.nextTokenStartSince(this.state.pos)},r.nextTokenStartSince=function(e){return Iv.lastIndex=e,Iv.test(this.input)?Iv.lastIndex:e},r.lookaheadCharCode=function(){return this.lookaheadCharCodeSince(this.state.pos)},r.lookaheadCharCodeSince=function(e){return this.input.charCodeAt(this.nextTokenStartSince(e))},r.nextTokenInLineStart=function(){return this.nextTokenInLineStartSince(this.state.pos)},r.nextTokenInLineStartSince=function(e){return Dv.lastIndex=e,Dv.test(this.input)?Dv.lastIndex:e},r.lookaheadInLineCharCode=function(){return this.input.charCodeAt(this.nextTokenInLineStart())},r.codePointAtPos=function(e){var t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))},r.skipBlockComment=function(e){var t;this.isLookahead||(t=this.state.curPosition());var r=this.state.pos,a=this.input.indexOf(e,r+2);if(-1===a)throw this.raise(Rh.UnterminatedComment,this.state.curPosition());for(this.state.pos=a+e.length,Av.lastIndex=r+2;Av.test(this.input)&&Av.lastIndex<=a;)++this.state.curLine,this.state.lineStart=Av.lastIndex;if(!this.isLookahead){var n={type:"CommentBlock",value:this.input.slice(r+2,a),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(a+e.length),loc:new ih(t,this.state.curPosition())};return this.optionFlags&Ch&&this.pushToken(n),n}},r.skipLineComment=function(e){var t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());var a=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;var o=this.skipLineComment(3);void 0!==o&&(this.addComment(o),null==t||t.push(o))}else{if(60!==r||this.inModule||!(this.optionFlags&Nh))break e;var i=this.state.pos;if(33!==this.input.charCodeAt(i+1)||45!==this.input.charCodeAt(i+2)||45!==this.input.charCodeAt(i+3))break e;var d=this.skipLineComment(4);void 0!==d&&(this.addComment(d),null==t||t.push(d))}}}if((null==t?void 0:t.length)>0){var c=this.state.pos,l={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(c),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(l)}},r.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)},r.replaceToken=function(e){this.state.type=e,this.updateContext()},r.readToken_numberSign=function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(Rh.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?Rh.RecordExpressionHashIncorrectStartSyntaxType:Rh.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Mr(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}},r.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))},r.readToken_slash=function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)},r.readToken_interpreter=function(){if(0!==this.state.pos||this.length<2)return!1;var e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;var t=this.state.pos;for(this.state.pos+=1;!kv(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))},r.getTokenFromCode=function(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Rh.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Rh.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Mr(e))return void this.readWord(e)}throw this.raise(Rh.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})},r.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)},r.readRegexp=function(){for(var e,t,r=this.state.startLoc,a=this.state.start+1,n=this.state.pos;;++n){if(n>=this.length)throw this.raise(Rh.UnterminatedRegExp,dh(r,1));var s=this.input.charCodeAt(n);if(kv(s))throw this.raise(Rh.UnterminatedRegExp,dh(r,1));if(e)e=!1;else{if(91===s)t=!0;else if(93===s&&t)t=!1;else if(47===s&&!t)break;e=92===s}}var o=this.input.slice(a,n);++n;for(var i="",d=function(){return dh(r,n+2-a)};n=2&&48===this.input.charCodeAt(t);if(i){var d=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(Rh.StrictOctalLiteral,r),!this.state.strict){var c=d.indexOf("_");c>0&&this.raise(Rh.ZeroDigitNumericSeparator,dh(r,c))}o=i&&!/[89]/.test(d)}var l=this.input.charCodeAt(this.state.pos);if(46!==l||o||(++this.state.pos,this.readInt(10),a=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||o||(43!==(l=this.input.charCodeAt(++this.state.pos))&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(Rh.InvalidOrMissingExponent,r),a=!0,s=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((a||i)&&this.raise(Rh.InvalidBigIntLiteral,r),++this.state.pos,n=!0),109===l){this.expectPlugin("decimal",this.state.curPosition()),(s||i)&&this.raise(Rh.InvalidDecimal,r),++this.state.pos;var u=!0}if(Mr(this.codePointAtPos(this.state.pos)))throw this.raise(Rh.NumberIdentifier,this.state.curPosition());var p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)this.finishToken(136,p);else if(u)this.finishToken(137,p);else{var f=o?parseInt(p,8):parseFloat(p);this.finishToken(135,f)}},r.readCodePoint=function(e){var t=sa(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint),r=t.code,a=t.pos;return this.state.pos=a,r},r.readString=function(e){var t=ea(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string),r=t.str,a=t.pos,n=t.curLine,s=t.lineStart;this.state.pos=a+1,this.state.lineStart=s,this.state.curLine=n,this.finishToken(134,r)},r.readTemplateContinuation=function(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()},r.readTemplateToken=function(){var e=this.input[this.state.pos],t=ea("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template),r=t.str,a=t.firstInvalidLoc,n=t.pos,s=t.curLine,o=t.lineStart;this.state.pos=n+1,this.state.lineStart=o,this.state.curLine=s,a&&(this.state.firstInvalidTemplateEscapePos=new oh(a.curLine,a.pos-a.lineStart,this.sourceToOffsetPos(a.pos))),96===this.input.codePointAt(n)?this.finishToken(24,a?null:e+r+"`"):(this.state.pos++,this.finishToken(25,a?null:e+r+"${"))},r.recordStrictModeErrors=function(e,t){var r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,t):this.state.strictErrors.set(r,[e,t])},r.readWord1=function(e){this.state.containsEsc=!1;var t="",r=this.state.pos,a=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;o--){var i=s[o];if(i.loc.index===n)return s[o]=e(a,r);if(i.loc.indext.errors.length){var n=this.state;return this.state=t,this.state.tokensLength=n.tokensLength,{node:a,error:n.errors[t.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){var s=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:s};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw e}},r.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssignLoc,a=e.doubleProtoLoc,n=e.privateKeyLoc,s=e.optionalParametersLoc,o=e.voidPatternLoc;if(!t)return!!(r||a||s||n||o);null!=r&&this.raise(Rh.InvalidCoverInitializedName,r),null!=a&&this.raise(Rh.DuplicateProto,a),null!=n&&this.raise(Rh.UnexpectedPrivateField,n),null!=s&&this.unexpected(s),null!=o&&this.raise(Rh.InvalidCoverDiscardElement,o)},r.isLiteralPropertyName=function(){return db(this.state.type)},r.isPrivateName=function(e){return"PrivateName"===e.type},r.getPrivateNameSV=function(e){return e.id.name},r.hasPropertyAsPrivateName=function(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)},r.isObjectProperty=function(e){return"ObjectProperty"===e.type},r.isObjectMethod=function(e){return"ObjectMethod"===e.type},r.initializeScopes=function(e){var t=this;void 0===e&&(e="module"===this.options.sourceType);var r=this.state.labels;this.state.labels=[];var a=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var n=this.inModule;this.inModule=e;var s=this.scope,o=this.getScopeHandler();this.scope=new o(this,e);var i=this.prodParam;this.prodParam=new Hv;var d=this.classScope;this.classScope=new ox(this);var c=this.expressionScope;return this.expressionScope=new cx(this),function(){t.state.labels=r,t.exportedIdentifiers=a,t.inModule=n,t.scope=s,t.prodParam=i,t.classScope=d,t.expressionScope=c}},r.enterInitialScopes=function(){var e=Uv;(this.inModule||this.optionFlags&jh)&&(e|=Gv),this.optionFlags&Ph&&(e|=qv);var t=!this.inModule&&"commonjs"===this.options.sourceType;(t||this.optionFlags&wh)&&(e|=Wv),this.prodParam.enter(e);var r=t?_b:xb;this.optionFlags&Eh&&(r|=kb),this.scope.enter(r)},r.checkDestructuringPrivate=function(e){var t=e.privateKeyLoc;null!==t&&this.expectPlugin("destructuringPrivate",t)},o(t)}(nx),px=o(function(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}),fx=o(function(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new ih(r),(null==e?void 0:e.optionFlags)&kh&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}),gx=fx.prototype;gx.__clone=function(){for(var e=new fx(void 0,this.start,this.loc.start),t=Object.keys(this),r=0,a=t.length;r() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter "+t+" should have a trailing comma. Example usage: <"+t+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+e.type+"."},UsingDeclarationInAmbientContext:function(e){return"'"+e+"' declarations are not allowed in ambient contexts."}});function Sx(e){return"private"===e||"public"===e||"protected"===e}function Tx(e){return"in"===e||"out"===e}var Px,Ax=0,kx=1,Cx=2;function _x(e){if("MemberExpression"!==e.type)return!1;var t=e.computed,r=e.property;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&Ox(e.object)}function Ix(e,t){var r,a=e.type;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===a){var n=e.value;if("string"==typeof n||"boolean"==typeof n)return!0}}else if("StringLiteral"===a||"BooleanLiteral"===a)return!0;return!(!Dx(e,t)&&!function(e,t){if("UnaryExpression"===e.type){var r=e.operator,a=e.argument;if("-"===r&&Dx(a,t))return!0}return!1}(e,t))||("TemplateLiteral"===a&&0===e.expressions.length||!!_x(e))}function Dx(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function Ox(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Ox(e.object)}var Nx=xh(Px||(Px=h(["placeholders"])))({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Bx=["minimal","fsharp","hack","smart"],Mx=["^^","@@","^","%","#"];var Fx={estree:function(e){return function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var r=t.prototype;return r.parse=function(){var t=Fh(e.prototype.parse.call(this));return this.optionFlags&Ch&&(t.tokens=t.tokens.map(Fh)),t},r.parseRegExpLiteral=function(e){var t=e.pattern,r=e.flags,a=null;try{a=new RegExp(t,r)}catch(e){}var n=this.estreeParseLiteral(a);return n.regex={pattern:t,flags:r},n},r.parseBigIntLiteral=function(e){var t;try{t=BigInt(e)}catch(e){t=null}var r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r},r.parseDecimalLiteral=function(e){var t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t},r.estreeParseLiteral=function(e){return this.parseLiteral(e,"Literal")},r.parseStringLiteral=function(e){return this.estreeParseLiteral(e)},r.parseNumericLiteral=function(e){return this.estreeParseLiteral(e)},r.parseNullLiteral=function(){return this.estreeParseLiteral(null)},r.parseBooleanLiteral=function(e){return this.estreeParseLiteral(e)},r.estreeParseChainExpression=function(e,t){var r=this.startNodeAtNode(e);return r.expression=e,this.finishNodeAt(r,"ChainExpression",t)},r.directiveToStmt=function(e){var t=e.value;delete e.value,this.castNodeTo(t,"Literal"),t.raw=t.extra.raw,t.value=t.extra.expressionValue;var r=this.castNodeTo(e,"ExpressionStatement");return r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r},r.fillOptionalPropertiesForTSESLint=function(e){},r.cloneEstreeStringLiteral=function(e){var t=e.start,r=e.end,a=e.loc,n=e.range,s=e.raw,o=e.value,i=Object.create(e.constructor.prototype);return i.type="Literal",i.start=t,i.end=r,i.loc=a,i.range=n,i.raw=s,i.value=o,i},r.initFunction=function(t,r){e.prototype.initFunction.call(this,t,r),t.expression=!1},r.checkDeclaration=function(t){null!=t&&this.isObjectProperty(t)?this.checkDeclaration(t.value):e.prototype.checkDeclaration.call(this,t)},r.getObjectOrClassMethodParams=function(e){return e.value.params},r.isValidDirective=function(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)},r.parseBlockBody=function(t,r,a,n,s){var o=this;e.prototype.parseBlockBody.call(this,t,r,a,n,s);var i=t.directives.map(function(e){return o.directiveToStmt(e)});t.body=i.concat(t.body),delete t.directives},r.parsePrivateName=function(){var t=e.prototype.parsePrivateName.call(this);return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t},r.convertPrivateNameToPrivateIdentifier=function(t){var r=e.prototype.getPrivateNameSV.call(this,t);return delete t.id,t.name=r,this.castNodeTo(t,"PrivateIdentifier")},r.isPrivateName=function(t){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===t.type:e.prototype.isPrivateName.call(this,t)},r.getPrivateNameSV=function(t){return this.getPluginOption("estree","classFeatures")?t.name:e.prototype.getPrivateNameSV.call(this,t)},r.parseLiteral=function(t,r){var a=e.prototype.parseLiteral.call(this,t,r);return a.raw=a.extra.raw,delete a.extra,a},r.parseFunctionBody=function(t,r,a){void 0===a&&(a=!1),e.prototype.parseFunctionBody.call(this,t,r,a),t.expression="BlockStatement"!==t.body.type},r.parseMethod=function(t,r,a,n,s,o,i){void 0===i&&(i=!1);var d=this.startNode();d.kind=t.kind,delete(d=e.prototype.parseMethod.call(this,d,r,a,n,s,o,i)).kind;var c=t.typeParameters;c&&(delete t.typeParameters,d.typeParameters=c,this.resetStartLocationFromNode(d,c));var l=this.castNodeTo(d,"FunctionExpression");return t.value=l,"ClassPrivateMethod"===o&&(t.computed=!1),"ObjectMethod"===o?("method"===t.kind&&(t.kind="init"),t.shorthand=!1,this.finishNode(t,"Property")):this.finishNode(t,"MethodDefinition")},r.nameIsConstructor=function(t){return"Literal"===t.type?"constructor"===t.value:e.prototype.nameIsConstructor.call(this,t)},r.parseClassProperty=function(){for(var t,r=arguments.length,a=new Array(r),n=0;n0&&o.start===n.start&&this.resetStartLocation(n,a)}return n},r.stopParseSubscript=function(t,r){var a=e.prototype.stopParseSubscript.call(this,t,r);return r.optionalChainMember?this.estreeParseChainExpression(a,t.loc.end):a},r.parseMember=function(t,r,a,n,s){var o=e.prototype.parseMember.call(this,t,r,a,n,s);return"OptionalMemberExpression"===o.type?this.castNodeTo(o,"MemberExpression"):o.optional=!1,o},r.isOptionalMemberExpression=function(t){return"ChainExpression"===t.type?"MemberExpression"===t.expression.type:e.prototype.isOptionalMemberExpression.call(this,t)},r.hasPropertyAsPrivateName=function(t){return"ChainExpression"===t.type&&(t=t.expression),e.prototype.hasPropertyAsPrivateName.call(this,t)},r.isObjectProperty=function(e){return"Property"===e.type&&"init"===e.kind&&!e.method},r.isObjectMethod=function(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)},r.castNodeTo=function(t,r){var a=e.prototype.castNodeTo.call(this,t,r);return this.fillOptionalPropertiesForTSESLint(a),a},r.cloneIdentifier=function(t){var r=e.prototype.cloneIdentifier.call(this,t);return this.fillOptionalPropertiesForTSESLint(r),r},r.cloneStringLiteral=function(t){return"Literal"===t.type?this.cloneEstreeStringLiteral(t):e.prototype.cloneStringLiteral.call(this,t)},r.finishNodeAt=function(t,r,a){return Fh(e.prototype.finishNodeAt.call(this,t,r,a))},r.finishNode=function(t,r){var a=e.prototype.finishNode.call(this,t,r);return this.fillOptionalPropertiesForTSESLint(a),a},r.resetStartLocation=function(t,r){e.prototype.resetStartLocation.call(this,t,r),Fh(t)},r.resetEndLocation=function(t,r){void 0===r&&(r=this.state.lastTokEndLoc),e.prototype.resetEndLocation.call(this,t,r),Fh(t)},o(t)}(e)},jsx:function(e){return function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var r=t.prototype;return r.jsxReadToken=function(){for(var t="",r=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(Nv.UnterminatedJsxContent,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:return this.state.pos===this.state.start?void(60===a&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):e.prototype.getTokenFromCode.call(this,a)):(t+=this.input.slice(r,this.state.pos),void this.finishToken(142,t));case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;default:kv(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}},r.jsxReadNewLine=function(e){var t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t},r.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(Rh.UnterminatedString,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);if(a===e)break;38===a?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):kv(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(134,t)},r.jsxReadEntity=function(){var e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);var r=this.readInt(t,void 0,!1,"bail");if(null!==r&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(r)}else{for(var a=0,n=!1;a++<10&&this.state.posr.index+1&&this.raise(wv.UnexpectedSpaceBetweenModuloChecks,r),this.eat(10)?(t.value=e.prototype.parseExpression.call(this),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")},r.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(14);var t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]},r.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},r.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),a=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);var n=this.flowParseFunctionTypeParams();r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11);var s=this.flowParseTypeAndPredicateInitialiser();return r.returnType=s[0],e.predicate=s[1],a.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(a,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,iv,e.id.loc.start),this.finishNode(e,"DeclareFunction")},r.flowParseDeclare=function(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(wv.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()},r.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,Jb,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")},r.flowParseDeclareModule=function(t){var r=this;this.scope.enter(vb),this.match(134)?t.id=e.prototype.parseExprAtom.call(this):t.id=this.parseIdentifier();var a=t.body=this.startNode(),n=a.body=[];for(this.expect(5);!this.match(8);){var s=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(wv.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),n.push(e.prototype.parseImport.call(this,s))):(this.expectContextual(125,wv.UnsupportedStatementInDeclareModule),n.push(this.flowParseDeclare(s,!0)))}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");var o=null,i=!1;return n.forEach(function(e){!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&r.raise(wv.DuplicateDeclareModuleExports,e),"ES"===o&&r.raise(wv.AmbiguousDeclareModuleKind,e),o="CommonJS",i=!0):("CommonJS"===o&&r.raise(wv.AmbiguousDeclareModuleKind,e),o="ES")}),t.kind=o||"CommonJS",this.finishNode(t,"DeclareModule")},r.flowParseDeclareExportDeclaration=function(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){var r=this.state.value;throw this.raise(wv.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:Sv[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return"ExportNamedDeclaration"===(e=this.parseExport(e,null)).type?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration");throw this.unexpected()},r.flowParseDeclareModuleExports=function(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},r.flowParseDeclareTypeAlias=function(e){this.next();var t=this.flowParseTypeAlias(e);return this.castNodeTo(t,"DeclareTypeAlias"),t},r.flowParseDeclareOpaqueType=function(e){this.next();var t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,"DeclareOpaqueType"),t},r.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")},r.flowParseInterfaceish=function(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?Yb:Kb,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})},r.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},r.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},r.checkNotUnderscore=function(e){"_"===e&&this.raise(wv.UnexpectedReservedUnderscore,this.state.startLoc)},r.checkReservedType=function(e,t,r){jv.has(e)&&this.raise(r?wv.AssignReservedType:wv.UnexpectedReservedType,t,{reservedType:e})},r.flowParseRestrictedIdentifier=function(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)},r.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,Kb,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")},r.flowParseOpaqueType=function(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,Kb,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")},r.flowParseTypeParameter=function(e){void 0===e&&(e=!1);var t=this.state.startLoc,r=this.startNode(),a=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=a,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(wv.MissingTypeParamDefault,t),this.finishNode(r,"TypeParameter")},r.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();var r=!1;do{var a=this.flowParseTypeParameter(r);t.params.push(a),a.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},r.flowInTopLevelContext=function(e){if(this.curContext()===Uh.brace)return e();var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}},r.flowParseTypeParameterInstantiationInExpression=function(){if(47===this.reScan_lt())return this.flowParseTypeParameterInstantiation()},r.flowParseTypeParameterInstantiation=function(){var e=this,t=this.startNode(),r=this.state.inType;return this.state.inType=!0,t.params=[],this.flowInTopLevelContext(function(){e.expect(47);var r=e.state.noAnonFunctionType;for(e.state.noAnonFunctionType=!1;!e.match(48);)t.params.push(e.flowParseType()),e.match(48)||e.expect(12);e.state.noAnonFunctionType=r}),this.state.inType=r,this.state.inType||this.curContext()!==Uh.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TypeParameterInstantiation")},r.flowParseTypeParameterInstantiationCallOrNew=function(){if(47!==this.reScan_lt())return null;var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseInterfaceType=function(){var e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")},r.flowParseObjectPropertyKey=function(){return this.match(135)||this.match(134)?e.prototype.parseExprAtom.call(this):this.parseIdentifier(!0)},r.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")},r.flowParseObjectTypeInternalSlot=function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")},r.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},r.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")},r.flowParseObjectType=function(e){var t=e.allowStatic,r=e.allowExact,a=e.allowSpread,n=e.allowProto,s=e.allowInexact,o=this.state.inType;this.state.inType=!0;var i,d,c=this.startNode();c.callProperties=[],c.properties=[],c.indexers=[],c.internalSlots=[];var l=!1;for(r&&this.match(6)?(this.expect(6),i=9,d=!0):(this.expect(5),i=8,d=!1),c.exact=d;!this.match(i);){var u=!1,p=null,f=null,g=this.startNode();if(n&&this.isContextual(118)){var m=this.lookahead();14!==m.type&&17!==m.type&&(this.next(),p=this.state.startLoc,t=!1)}if(t&&this.isContextual(106)){var y=this.lookahead();14!==y.type&&17!==y.type&&(this.next(),u=!0)}var h=this.flowParseVariance();if(this.eat(0))null!=p&&this.unexpected(p),this.eat(0)?(h&&this.unexpected(h.loc.start),c.internalSlots.push(this.flowParseObjectTypeInternalSlot(g,u))):c.indexers.push(this.flowParseObjectTypeIndexer(g,u,h));else if(this.match(10)||this.match(47))null!=p&&this.unexpected(p),h&&this.unexpected(h.loc.start),c.callProperties.push(this.flowParseObjectTypeCallProperty(g,u));else{var b="init";if(this.isContextual(99)||this.isContextual(104))db(this.lookahead().type)&&(b=this.state.value,this.next());var v=this.flowParseObjectTypeProperty(g,u,p,h,b,a,null!=s?s:!d);null===v?(l=!0,f=this.state.lastTokStartLoc):c.properties.push(v)}this.flowObjectTypeSemicolon(),!f||this.match(8)||this.match(9)||this.raise(wv.UnexpectedExplicitInexactInObject,f)}this.expect(i),a&&(c.inexact=l);var x=this.finishNode(c,"ObjectTypeAnnotation");return this.state.inType=o,x},r.flowParseObjectTypeProperty=function(e,t,r,a,n,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(wv.InexactInsideExact,this.state.lastTokStartLoc):this.raise(wv.InexactInsideNonObject,this.state.lastTokStartLoc),a&&this.raise(wv.InexactVariance,a),null):(s||this.raise(wv.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=r&&this.unexpected(r),a&&this.raise(wv.SpreadVariance,a),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;var i=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),a&&this.unexpected(a.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(wv.ThisParamBannedInConstructor,e.value.this)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(i=!0),e.value=this.flowParseTypeInitialiser(),e.variance=a),e.optional=i,this.finishNode(e,"ObjectTypeProperty")},r.flowCheckGetterSetterParams=function(e){var t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?wv.GetterMayNotHaveThisParam:wv.SetterMayNotHaveThisParam,e.value.this),r!==t&&this.raise("get"===e.kind?Rh.BadGetterArity:Rh.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(Rh.BadSetterRestParameter,e)},r.flowObjectTypeSemicolon=function(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()},r.flowParseQualifiedTypeIdentifier=function(e,t){null!=e||(e=this.state.startLoc);for(var r=t||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var a=this.startNodeAt(e);a.qualification=r,a.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(a,"QualifiedTypeIdentifier")}return r},r.flowParseGenericType=function(e,t){var r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")},r.flowParseTypeofType=function(){var e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},r.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0){var g=[].concat(o);if(f.length>0){this.state=s,this.state.noArrowAt=g;for(var m=0;m1&&this.raise(wv.AmbiguousConditionalArrow,s.startLoc),l&&1===p.length){this.state=s,g.push(p[0].start),this.state.noArrowAt=g;var b=this.tryParseConditionalConsequent();c=b.consequent,l=b.failed}}return this.getArrowLikeExpressions(c,!0),this.state.noArrowAt=o,this.expect(14),i.test=e,i.consequent=c,i.alternate=this.forwardNoArrowParamsConversionAt(i,function(){return a.parseMaybeAssign(void 0,void 0)}),this.finishNode(i,"ConditionalExpression")},r.tryParseConditionalConsequent=function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}},r.getArrowLikeExpressions=function(e,t){for(var r=this,a=[e],n=[];0!==a.length;){var s=a.pop();"ArrowFunctionExpression"===s.type&&"BlockStatement"!==s.body.type?(s.typeParameters||!s.returnType?this.finishArrowValidation(s):n.push(s),a.push(s.body)):"ConditionalExpression"===s.type&&(a.push(s.consequent),a.push(s.alternate))}return t?(n.forEach(function(e){return r.finishArrowValidation(e)}),[n,[]]):function(e,t){for(var r=[],a=[],n=0;n1)&&t||this.raise(wv.TypeCastInPattern,n.typeAnnotation)}return e},r.parseArrayLike=function(t,r,a){var n=e.prototype.parseArrayLike.call(this,t,r,a);return null==a||this.state.maybeInArrowParameters||this.toReferencedList(n.elements),n},r.isValidLVal=function(t,r,a,n){return"TypeCastExpression"===t||e.prototype.isValidLVal.call(this,t,r,a,n)},r.parseClassProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassProperty.call(this,t)},r.parseClassPrivateProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassPrivateProperty.call(this,t)},r.isClassMethod=function(){return this.match(47)||e.prototype.isClassMethod.call(this)},r.isClassProperty=function(){return this.match(14)||e.prototype.isClassProperty.call(this)},r.isNonstaticConstructor=function(t){return!this.match(14)&&e.prototype.isNonstaticConstructor.call(this,t)},r.pushClassMethod=function(t,r,a,n,s,o){if(r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassMethod.call(this,t,r,a,n,s,o),r.params&&s){var i=r.params;i.length>0&&this.isThisParam(i[0])&&this.raise(wv.ThisParamBannedInConstructor,r)}else if("MethodDefinition"===r.type&&s&&r.value.params){var d=r.value.params;d.length>0&&this.isThisParam(d[0])&&this.raise(wv.ThisParamBannedInConstructor,r)}},r.pushClassPrivateMethod=function(t,r,a,n){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassPrivateMethod.call(this,t,r,a,n)},r.parseClassSuper=function(t){if(e.prototype.parseClassSuper.call(this,t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();var r=t.implements=[];do{var a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,r.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}},r.checkGetterSetterParams=function(t){e.prototype.checkGetterSetterParams.call(this,t);var r=this.getObjectOrClassMethodParams(t);if(r.length>0){var a=r[0];this.isThisParam(a)&&"get"===t.kind?this.raise(wv.GetterMayNotHaveThisParam,a):this.isThisParam(a)&&this.raise(wv.SetterMayNotHaveThisParam,a)}},r.parsePropertyNamePrefixOperator=function(e){e.variance=this.flowParseVariance()},r.parseObjPropValue=function(t,r,a,n,s,o,i){var d;t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&!o&&(d=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());var c=e.prototype.parseObjPropValue.call(this,t,r,a,n,s,o,i);return d&&((c.value||c).typeParameters=d),c},r.parseFunctionParamType=function(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(wv.PatternIsOptional,e),this.isThisParam(e)&&this.raise(wv.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(wv.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(wv.ThisParamNoDefault,e),this.resetEndLocation(e),e},r.parseMaybeDefault=function(t,r){var a=e.prototype.parseMaybeDefault.call(this,t,r);return"AssignmentPattern"===a.type&&a.typeAnnotation&&a.right.start0&&this.raise(wv.ThisParamMustBeFirst,t.params[s]);e.prototype.checkParams.call(this,t,r,a,n)}},r.parseParenAndDistinguishExpression=function(t){return e.prototype.parseParenAndDistinguishExpression.call(this,t&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))},r.parseSubscripts=function(t,r,a){var n=this;if("Identifier"===t.type&&"async"===t.name&&this.state.noArrowAt.includes(r.index)){this.next();var s=this.startNodeAt(r);s.callee=t,s.arguments=e.prototype.parseCallExpressionArguments.call(this),t=this.finishNode(s,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.match(47)){var o=this.state.clone(),i=this.tryParse(function(e){return n.parseAsyncArrowWithTypeParameters(r)||e()},o);if(!i.error&&!i.aborted)return i.node;var d=this.tryParse(function(){return e.prototype.parseSubscripts.call(n,t,r,a)},o);if(d.node&&!d.error)return d.node;if(i.node)return this.state=i.failState,i.node;if(d.node)return this.state=d.failState,d.node;throw i.error||d.error}return e.prototype.parseSubscripts.call(this,t,r,a)},r.parseSubscript=function(t,r,a,n){var s=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,a)return n.stop=!0,t;this.next();var o=this.startNodeAt(r);return o.callee=t,o.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),o.arguments=this.parseCallExpressionArguments(),o.optional=!0,this.finishCallExpression(o,!0)}if(!a&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){var i=this.startNodeAt(r);i.callee=t;var d=this.tryParse(function(){return i.typeArguments=s.flowParseTypeParameterInstantiationCallOrNew(),s.expect(10),i.arguments=e.prototype.parseCallExpressionArguments.call(s),n.optionalChainMember&&(i.optional=!1),s.finishCallExpression(i,n.optionalChainMember)});if(d.node)return d.error&&(this.state=d.failState),d.node}return e.prototype.parseSubscript.call(this,t,r,a,n)},r.parseNewCallee=function(t){var r=this;e.prototype.parseNewCallee.call(this,t);var a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse(function(){return r.flowParseTypeParameterInstantiationCallOrNew()}).node),t.typeArguments=a},r.parseAsyncArrowWithTypeParameters=function(t){var r=this.startNodeAt(t);if(this.parseFunctionParams(r,!1),this.parseArrow(r))return e.prototype.parseArrowExpression.call(this,r,void 0,!0)},r.readToken_mult_modulo=function(t){var r=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===r&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();e.prototype.readToken_mult_modulo.call(this,t)},r.readToken_pipe_amp=function(t){var r=this.input.charCodeAt(this.state.pos+1);124!==t||125!==r?e.prototype.readToken_pipe_amp.call(this,t):this.finishOp(9,2)},r.parseTopLevel=function(t,r){var a=e.prototype.parseTopLevel.call(this,t,r);return this.state.hasFlowComment&&this.raise(wv.UnterminatedFlowComment,this.state.curPosition()),a},r.skipBlockComment=function(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return e.prototype.skipBlockComment.call(this,this.state.hasFlowComment?"*-/":"*/");if(this.state.hasFlowComment)throw this.raise(wv.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();var t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0)},r.skipFlowComment=function(){for(var e=this.state.pos,t=2;[32,9].includes(this.input.charCodeAt(e+t));)t++;var r=this.input.charCodeAt(t+e),a=this.input.charCodeAt(t+e+1);return 58===r&&58===a?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==a&&t},r.hasFlowCommentCompletion=function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(Rh.UnterminatedComment,this.state.curPosition())},r.flowEnumErrorBooleanMemberNotInitialized=function(e,t){var r=t.enumName,a=t.memberName;this.raise(wv.EnumBooleanMemberNotInitialized,e,{memberName:a,enumName:r})},r.flowEnumErrorInvalidMemberInitializer=function(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?wv.EnumInvalidMemberInitializerSymbolType:wv.EnumInvalidMemberInitializerPrimaryType:wv.EnumInvalidMemberInitializerUnknownType,e,t)},r.flowEnumErrorNumberMemberNotInitialized=function(e,t){this.raise(wv.EnumNumberMemberNotInitialized,e,t)},r.flowEnumErrorStringMemberInconsistentlyInitialized=function(e,t){this.raise(wv.EnumStringMemberInconsistentlyInitialized,e,t)},r.flowEnumMemberInit=function(){var e=this,t=this.state.startLoc,r=function(){return e.match(12)||e.match(8)};switch(this.state.type){case 135:var a=this.parseNumericLiteral(this.state.value);return r()?{type:"number",loc:a.loc.start,value:a}:{type:"invalid",loc:t};case 134:var n=this.parseStringLiteral(this.state.value);return r()?{type:"string",loc:n.loc.start,value:n}:{type:"invalid",loc:t};case 85:case 86:var s=this.parseBooleanLiteral(this.match(85));return r()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:t};default:return{type:"invalid",loc:t}}},r.flowEnumMemberRaw=function(){var e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}},r.flowEnumCheckExplicitTypeMismatch=function(e,t,r){var a=t.explicitType;null!==a&&a!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)},r.flowEnumMembers=function(e){for(var t=e.enumName,r=e.explicitType,a=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;!this.match(8);){if(this.eat(21)){s=!0;break}var o=this.startNode(),i=this.flowEnumMemberRaw(),d=i.id,c=i.init,l=d.name;if(""!==l){/^[a-z]/.test(l)&&this.raise(wv.EnumInvalidMemberName,d,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:t}),a.has(l)&&this.raise(wv.EnumDuplicateMemberName,d,{memberName:l,enumName:t}),a.add(l);var u={enumName:t,explicitType:r,memberName:l};switch(o.id=d,c.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:n,hasUnknownMembers:s}},r.flowEnumStringMembers=function(e,t,r){var a=r.enumName;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(var n=0;n=f){for(var g=0,m=i.defaultedMembers;g=f){for(var h=0,b=i.defaultedMembers;h0&&(this.raise(Rh.BadGetterArity,this.state.curPosition()),this.isThisParam(r[a][0])&&this.raise(Ex.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===r.kind){if(1!==r[a].length)this.raise(Rh.BadSetterArity,this.state.curPosition());else{var s=r[a][0];this.isThisParam(s)&&this.raise(Ex.AccessorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===s.type&&s.optional&&this.raise(Ex.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===s.type&&this.raise(Ex.SetAccessorCannotHaveRestParameter,this.state.curPosition())}r[n]&&this.raise(Ex.SetAccessorCannotHaveReturnType,r[n])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}var o=e;t&&(o.readonly=!0);var i=this.tsTryParseTypeAnnotation();return i&&(o.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(o,"TSPropertySignature")},r.tsParseTypeMember=function(){var t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){var r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t);var a=this.tsTryParseIndexSignature(t);return a||(e.prototype.parsePropertyName.call(this,t),t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||!this.tsTokenCanFollowModifier()||(t.kind=t.key.name,e.prototype.parsePropertyName.call(this,t),this.match(10)||this.match(47)||this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))},r.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},r.tsParseObjectTypeMembers=function(){this.expect(5);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e},r.tsIsStartOfMappedType=function(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))},r.tsParseMappedType=function(){var e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);var t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")},r.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1;return t.elementTypes.forEach(function(t){var a=t.type;!r||"TSRestType"===a||"TSOptionalType"===a||"TSNamedTupleMember"===a&&t.optional||e.raise(Ex.OptionalTypeBeforeRequired,t),r||(r="TSNamedTupleMember"===a&&t.optional||"TSOptionalType"===a)}),this.finishNode(t,"TSTupleType")},r.tsParseTupleElementType=function(){var e,t,r,a,n,s=this.state.startLoc,o=this.eat(21),i=this.state.startLoc,d=ib(this.state.type)?this.lookaheadCharCode():null;if(58===d)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===d){r=!0;var c=this.state.value,l=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(i),c),this.expect(17),this.expect(14),a=this.tsParseType()):(e=!1,a=l,this.expect(17))}else a=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e)t?((n=this.startNodeAt(i)).optional=r,n.label=t,n.elementType=a,this.eat(17)&&(n.optional=!0,this.raise(Ex.TupleOptionalAfterType,this.state.lastTokStartLoc))):((n=this.startNodeAt(i)).optional=r,this.raise(Ex.InvalidTupleMemberLabel,a),n.label=a,n.elementType=this.tsParseType()),a=this.finishNode(n,"TSNamedTupleMember");else if(r){var u=this.startNodeAt(i);u.typeAnnotation=a,a=this.finishNode(u,"TSOptionalType")}if(o){var p=this.startNodeAt(s);p.typeAnnotation=a,a=this.finishNode(p,"TSRestType")}return a},r.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")},r.tsParseFunctionOrConstructorType=function(e,t){var r=this,a=this.startNode();return"TSConstructorType"===e&&(a.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(function(){return r.tsFillSignature(19,a)}),this.finishNode(a,e)},r.tsParseLiteralTypeNode=function(){var t=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:t.literal=e.prototype.parseExprAtom.call(this);break;default:this.unexpected()}return this.finishNode(t,"TSLiteralType")},r.tsParseTemplateLiteralType=function(){var t=this.startNode();return t.literal=e.prototype.parseTemplate.call(this,!1),this.finishNode(t,"TSLiteralType")},r.parseTemplateSubstitution=function(){return this.state.inType?this.tsParseType():e.prototype.parseTemplateSubstitution.call(this)},r.tsParseThisTypeOrThisTypePredicate=function(){var e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e},r.tsParseNonArrayType=function(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var e=this.startNode(),t=this.lookahead();return 135!==t.type&&136!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:var r=this.state.type;if(ob(r)||88===r||84===r){var a=88===r?"TSVoidKeyword":84===r?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==a&&46!==this.lookaheadCharCode()){var n=this.startNode();return this.next(),this.finishNode(n,a)}return this.tsParseTypeReference()}}throw this.unexpected()},r.tsParseArrayTypeOrHigher=function(){for(var e=this.state.startLoc,t=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var r=this.startNodeAt(e);r.elementType=t,this.expect(3),t=this.finishNode(r,"TSArrayType")}else{var a=this.startNodeAt(e);a.objectType=t,a.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(a,"TSIndexedAccessType")}return t},r.tsParseTypeOperator=function(){var e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")},r.tsCheckTypeAnnotationForReadOnly=function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ex.UnexpectedReadonly,e)}},r.tsParseInferType=function(){var e=this,t=this.startNode();this.expectContextual(115);var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse(function(){return e.tsParseConstraintForInferType()}),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")},r.tsParseConstraintForInferType=function(){var e=this;if(this.eat(81)){var t=this.tsInDisallowConditionalTypesContext(function(){return e.tsParseType()});if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}},r.tsParseTypeOperatorOrHigher=function(){var e,t=this;return(e=this.state.type)>=121&&e<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(function(){return t.tsParseArrayTypeOrHigher()})},r.tsParseUnionOrIntersectionType=function(e,t,r){var a=this.startNode(),n=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||n?(a.types=s,this.finishNode(a,e)):s[0]},r.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)},r.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)},r.tsIsStartOfFunctionType=function(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},r.tsSkipParameterStart=function(){if(ob(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var t=this.state.errors,r=t.length;try{return this.parseObjectLike(8,!0),t.length===r}catch(e){return!1}}if(this.match(0)){this.next();var a=this.state.errors,n=a.length;try{return e.prototype.parseBindingList.call(this,3,93,bx),a.length===n}catch(e){return!1}}return!1},r.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1},r.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType(function(){var r=t.startNode();t.expect(e);var a=t.startNode(),n=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(n&&t.match(78)){var s=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===s.type?(a.parameterName=s,a.asserts=!0,a.typeAnnotation=null,s=t.finishNode(a,"TSTypePredicate")):(t.resetStartLocationFromNode(s,a),s.asserts=!0),r.typeAnnotation=s,t.finishNode(r,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return n?(a.parameterName=t.parseIdentifier(),a.asserts=n,a.typeAnnotation=null,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var i=t.tsParseTypeAnnotation(!1);return a.parameterName=o,a.typeAnnotation=i,a.asserts=n,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")})},r.tsTryParseTypeOrTypePredicateAnnotation=function(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)},r.tsTryParseTypeAnnotation=function(){if(this.match(14))return this.tsParseTypeAnnotation()},r.tsTryParseType=function(){return this.tsEatThenParseType(14)},r.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e},r.tsParseTypePredicateAsserts=function(){if(109!==this.state.type)return!1;var e=this.state.containsEsc;return this.next(),!(!ob(this.state.type)&&!this.match(78))&&(e&&this.raise(Rh.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)},r.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType(function(){e&&r.expect(14),t.typeAnnotation=r.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")},r.tsParseType=function(){var e=this;wx(this.state.inType);var t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext(function(){return e.tsParseNonConditionalType()}),this.expect(17),r.trueType=this.tsInAllowConditionalTypesContext(function(){return e.tsParseType()}),this.expect(14),r.falseType=this.tsInAllowConditionalTypesContext(function(){return e.tsParseType()}),this.finishNode(r,"TSConditionalType")},r.isAbstractConstructorSignature=function(){return this.isContextual(124)&&this.isLookaheadContextual("new")},r.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},r.tsParseTypeAssertion=function(){var e=this;this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ex.ReservedTypeAssertion,this.state.startLoc);var t=this.startNode();return t.typeAnnotation=this.tsInType(function(){return e.next(),e.match(75)?e.tsParseTypeReference():e.tsParseType()}),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")},r.tsParseHeritageClause=function(e){var t=this,r=this.state.startLoc,a=this.tsParseDelimitedList("HeritageClauseElement",function(){var e=t.startNode();return e.expression=t.tsParseEntityName(kx|Cx),t.match(47)&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")});return a.length||this.raise(Ex.EmptyHeritageClauseType,r,{token:e}),a},r.tsParseInterfaceDeclaration=function(e,t){if(void 0===t&&(t={}),this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),ob(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,$b)):(e.id=null,this.raise(Ex.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},r.tsParseTypeAliasDeclaration=function(e){var t=this;return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Qb),e.typeAnnotation=this.tsInType(function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers),t.expect(29),t.isContextual(114)&&46!==t.lookaheadCharCode()){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},r.tsInTopLevelContext=function(e){if(this.curContext()===Uh.brace)return e();var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}},r.tsInType=function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}},r.tsInDisallowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsInAllowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsEatThenParseType=function(e){if(this.match(e))return this.tsNextThenParseType()},r.tsExpectThenParseType=function(e){var t=this;return this.tsInType(function(){return t.expect(e),t.tsParseType()})},r.tsNextThenParseType=function(){var e=this;return this.tsInType(function(){return e.next(),e.tsParseType()})},r.tsParseEnumMember=function(){var t=this.startNode();return t.id=this.match(134)?e.prototype.parseStringLiteral.call(this,this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=e.prototype.parseMaybeAssignAllowIn.call(this)),this.finishNode(t,"TSEnumMember")},r.tsParseEnumDeclaration=function(e,t){return void 0===t&&(t={}),t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?av:Zb),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")},r.tsParseEnumBody=function(){var e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")},r.tsParseModuleBlock=function(){var t=this.startNode();return this.scope.enter(vb),this.expect(5),e.prototype.parseBlockOrModuleBlockBody.call(this,t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")},r.tsParseModuleOrNamespaceDeclaration=function(e,t){if(void 0===t&&(t=!1),e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,nv),this.eat(16)){var r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(Cb),this.prodParam.enter(Uv),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")},r.tsParseAmbientExternalModuleDeclaration=function(t){return this.isContextual(112)?(t.kind="global",t.global=!0,t.id=this.parseIdentifier()):this.match(134)?(t.kind="module",t.id=e.prototype.parseStringLiteral.call(this,this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(Cb),this.prodParam.enter(Uv),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")},r.tsParseImportEqualsDeclaration=function(e,t,r){e.isExport=r||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,ov),this.expect(29);var a=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==a.type&&this.raise(Ex.ImportAliasHasImportType,a),e.moduleReference=a,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},r.tsIsExternalModuleReference=function(){return this.isContextual(119)&&40===this.lookaheadCharCode()},r.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(Ax)},r.tsParseExternalModuleReference=function(){var t=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),t.expression=e.prototype.parseExprAtom.call(this),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExternalModuleReference")},r.tsLookAhead=function(e){var t=this.state.clone(),r=e();return this.state=t,r},r.tsTryParseAndCatch=function(e){var t=this.tryParse(function(t){return e()||t()});if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node},r.tsTryParse=function(e){var t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t},r.tsTryParseDeclare=function(t){var r=this;if(!this.isLineTerminator()){var a=this.state.type;return this.tsInAmbientContext(function(){switch(a){case 68:return t.declare=!0,e.prototype.parseFunctionStatement.call(r,t,!1,!1);case 80:return t.declare=!0,r.parseClass(t,!0,!1);case 126:return r.tsParseEnumDeclaration(t,{declare:!0});case 112:return r.tsParseAmbientExternalModuleDeclaration(t);case 100:if(r.state.containsEsc)return;case 75:case 74:return r.match(75)&&r.isLookaheadContextual("enum")?(r.expect(75),r.tsParseEnumDeclaration(t,{const:!0,declare:!0})):(t.declare=!0,r.parseVarStatement(t,r.state.value,!0));case 107:if(r.isUsing())return r.raise(Ex.InvalidModifierOnUsingDeclaration,r.state.startLoc,"declare"),t.declare=!0,r.parseVarStatement(t,"using",!0);break;case 96:if(r.isAwaitUsing())return r.raise(Ex.InvalidModifierOnAwaitUsingDeclaration,r.state.startLoc,"declare"),t.declare=!0,r.next(),r.parseVarStatement(t,"await using",!0);break;case 129:var n=r.tsParseInterfaceDeclaration(t,{declare:!0});if(n)return n;default:if(ob(a))return r.tsParseDeclaration(t,r.state.type,!0,null)}})}},r.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)},r.tsParseDeclaration=function(e,t,r,a){switch(t){case 124:if(this.tsCheckLineTerminator(r)&&(this.match(80)||ob(this.state.type)))return this.tsParseAbstractDeclaration(e,a);break;case 127:if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(ob(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(r)&&ob(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(r)&&ob(this.state.type))return this.tsParseTypeAliasDeclaration(e)}},r.tsCheckLineTerminator=function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},r.tsTryParseGenericAsyncArrowFunction=function(t){var r=this;if(this.match(47)){var a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var n=this.tsTryParseAndCatch(function(){var a=r.startNodeAt(t);return a.typeParameters=r.tsParseTypeParameters(r.tsParseConstModifier),e.prototype.parseFunctionParams.call(r,a),a.returnType=r.tsTryParseTypeOrTypePredicateAnnotation(),r.expect(19),a});if(this.state.maybeInArrowParameters=a,n)return e.prototype.parseArrowExpression.call(this,n,null,!0)}},r.tsParseTypeArgumentsInExpression=function(){if(47===this.reScan_lt())return this.tsParseTypeArguments()},r.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType(function(){return e.tsInTopLevelContext(function(){return e.expect(47),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))})}),0===t.params.length?this.raise(Ex.EmptyTypeArguments,t):this.state.inType||this.curContext()!==Uh.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")},r.tsIsDeclarationStart=function(){return(e=this.state.type)>=124&&e<=130;var e},r.isExportDefaultSpecifier=function(){return!this.tsIsDeclarationStart()&&e.prototype.isExportDefaultSpecifier.call(this)},r.parseBindingElement=function(e,t){var r=t.length?t[0].loc.start:this.state.startLoc,a={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},a);var n=a.accessibility,s=a.override,o=a.readonly;e&xx||!(n||o||s)||this.raise(Ex.UnexpectedParameterModifier,r);var i=this.parseMaybeDefault();e&vx&&this.parseFunctionParamType(i);var d=this.parseMaybeDefault(i.loc.start,i);if(n||o||s){var c=this.startNodeAt(r);return t.length&&(c.decorators=t),n&&(c.accessibility=n),o&&(c.readonly=o),s&&(c.override=s),"Identifier"!==d.type&&"AssignmentPattern"!==d.type&&this.raise(Ex.UnsupportedParameterPropertyKind,c),c.parameter=d,this.finishNode(c,"TSParameterProperty")}return t.length&&(i.decorators=t),d},r.isSimpleParameter=function(t){return"TSParameterProperty"===t.type&&e.prototype.isSimpleParameter.call(this,t.parameter)||e.prototype.isSimpleParameter.call(this,t)},r.tsDisallowOptionalPattern=function(e){for(var t=0,r=e.params;ta&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){var o=this.startNodeAt(r);return o.expression=t,o.typeAnnotation=this.tsInType(function(){return s.next(),s.match(75)?(n&&s.raise(Rh.UnexpectedKeyword,s.state.startLoc,{keyword:"const"}),s.tsParseTypeReference()):s.tsParseType()}),this.finishNode(o,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,a)}return e.prototype.parseExprOp.call(this,t,r,a)},r.checkReservedWord=function(t,r,a,n){this.state.isAmbientContext||e.prototype.checkReservedWord.call(this,t,r,a,n)},r.checkImportReflection=function(t){e.prototype.checkImportReflection.call(this,t),t.module&&"value"!==t.importKind&&this.raise(Ex.ImportReflectionHasImportType,t.specifiers[0].loc.start)},r.checkDuplicateExports=function(){},r.isPotentialImportPhase=function(t){if(e.prototype.isPotentialImportPhase.call(this,t))return!0;if(this.isContextual(130)){var r=this.lookaheadCharCode();return t?123===r||42===r:61!==r}return!t&&this.isContextual(87)},r.applyImportPhase=function(t,r,a,n){e.prototype.applyImportPhase.call(this,t,r,a,n),r?t.exportKind="type"===a?"type":"value":t.importKind="type"===a||"typeof"===a?a:"value"},r.parseImport=function(t){if(this.match(134))return t.importKind="value",e.prototype.parseImport.call(this,t);var r;if(ob(this.state.type)&&61===this.lookaheadCharCode())return t.importKind="value",this.tsParseImportEqualsDeclaration(t);if(this.isContextual(130)){var a=this.parseMaybeImportPhase(t,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(t,a);r=e.prototype.parseImportSpecifiersAndAfter.call(this,t,a)}else r=e.prototype.parseImport.call(this,t);return"type"===r.importKind&&r.specifiers.length>1&&"ImportDefaultSpecifier"===r.specifiers[0].type&&this.raise(Ex.TypeImportCannotSpecifyDefaultAndNamed,r),r},r.parseExport=function(t,r){if(this.match(83)){var a=t;this.next();var n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(a,!1):a.importKind="value",this.tsParseImportEqualsDeclaration(a,n,!0)}if(this.eat(29)){var s=t;return s.expression=e.prototype.parseExpression.call(this),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}if(this.eatContextual(93)){var o=t;return this.expectContextual(128),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"TSNamespaceExportDeclaration")}return e.prototype.parseExport.call(this,t,r)},r.isAbstractClass=function(){return this.isContextual(124)&&this.isLookaheadContextual("class")},r.parseExportDefaultExpression=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(129)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return e.prototype.parseExportDefaultExpression.call(this)},r.parseVarStatement=function(t,r,a){void 0===a&&(a=!1);var n=this.state.isAmbientContext,s=e.prototype.parseVarStatement.call(this,t,r,a||n);if(!n)return s;if(!t.declare&&("using"===r||"await using"===r))return this.raiseOverwrite(Ex.UsingDeclarationInAmbientContext,t,r),s;for(var o=0,i=s.declarations;othis.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Nx.UnexpectedSpace,this.state.lastTokEndLoc)},o(t)}(e)}},Lx=Object.keys(Fx),Ux=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var r=t.prototype;return r.checkProto=function(e,t,r,a){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return r;var n=e.key;return"__proto__"===("Identifier"===n.type?n.name:n.value)?t?(this.raise(Rh.RecordNoProto,n),!0):(r&&(a?null===a.doubleProtoLoc&&(a.doubleProtoLoc=n.loc.start):this.raise(Rh.DuplicateProto,n)),!0):r},r.shouldExitDescending=function(e,t){return"ArrowFunctionExpression"===e.type&&this.offsetToSourcePos(e.start)===t},r.getExpression=function(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(Rh.ParseExpressionEmptyInput,this.state.startLoc);var e=this.parseExpression();if(!this.match(140))throw this.raise(Rh.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&Ch&&(e.tokens=this.tokens),e},r.parseExpression=function(e,t){var r=this;return e?this.disallowInAnd(function(){return r.parseExpressionBase(t)}):this.allowInAnd(function(){return r.parseExpressionBase(t)})},r.parseExpressionBase=function(e){var t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){var a=this.startNodeAt(t);for(a.expressions=[r];this.eat(12);)a.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return r},r.parseMaybeAssignDisallowIn=function(e,t){var r=this;return this.disallowInAnd(function(){return r.parseMaybeAssign(e,t)})},r.parseMaybeAssignAllowIn=function(e,t){var r=this;return this.allowInAnd(function(){return r.parseMaybeAssign(e,t)})},r.setOptionalParametersError=function(e){e.optionalParametersLoc=this.state.startLoc},r.parseMaybeAssign=function(e,t){var r,a=this.state.startLoc,n=this.isContextual(108);if(n&&this.prodParam.hasYield){this.next();var s=this.parseYield(a);return t&&(s=t.call(this,s,a)),s}e?r=!1:(e=new px,r=!0);var o=this.state.type;(10===o||ob(o))&&(this.state.potentialArrowAt=this.state.start);var i,d=this.parseMaybeConditional(e);if(t&&(d=t.call(this,d,a)),(i=this.state.type)>=29&&i<=33){var c=this.startNodeAt(a),l=this.state.value;if(c.operator=l,this.match(29)){this.toAssignable(d,!0),c.left=d;var u=a.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=u&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=u&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),null!=e.voidPatternLoc&&e.voidPatternLoc.index>=u&&(e.voidPatternLoc=null)}else c.left=d;return this.next(),c.right=this.parseMaybeAssign(),this.checkLVal(d,this.finishNode(c,"AssignmentExpression"),void 0,void 0,void 0,void 0,"||="===l||"&&="===l||"??="===l),c}if(r&&this.checkExpressionErrors(e,!0),n){var p=this.state.type;if((this.hasPlugin("v8intrinsic")?cb(p):cb(p)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(Rh.YieldNotInGeneratorFunction,a),this.parseYield(a)}return d},r.parseMaybeConditional=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprOps(e);return this.shouldExitDescending(a,r)?a:this.parseConditional(a,t,e)},r.parseConditional=function(e,t,r){if(this.eat(17)){var a=this.startNodeAt(t);return a.test=e,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return e},r.parseMaybeUnaryOrPrivate=function(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)},r.parseExprOps=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(a,r)?a:this.parseExprOp(a,t,-1)},r.parseExprOp=function(e,t,r){if(this.isPrivateName(e)){var a=this.getPrivateNameSV(e);(r>=gb(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Rh.PrivateInExpectedIn,e,{identifierName:a}),this.classScope.usePrivateName(a,e.loc.start)}var n,s=this.state.type;if((n=s)>=39&&n<=59&&(this.prodParam.hasIn||!this.match(58))){var o=gb(s);if(o>r){if(39===s){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}var i=this.startNodeAt(t);i.left=e,i.operator=this.state.value;var d=41===s||42===s,c=40===s;if(c&&(o=gb(42)),this.next(),39===s&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(Rh.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);i.right=this.parseExprOpRightExpr(s,o);var l=this.finishNode(i,d||c?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(c&&(41===u||42===u)||d&&40===u)throw this.raise(Rh.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(l,t,r)}}return e},r.parseExprOpRightExpr=function(e,t){var r=this,a=this.state.startLoc;if(39===e){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(function(){return r.parseHackPipeBody()});case"fsharp":return this.withSoloAwaitPermittingContext(function(){return r.parseFSharpPipelineBody(t)})}if("smart"===this.getPluginOption("pipelineOperator","proposal"))return this.withTopicBindingContext(function(){if(r.prodParam.hasYield&&r.isContextual(108))throw r.raise(Rh.PipeBodyIsTighter,r.state.startLoc);return r.parseSmartPipelineBodyInStyle(r.parseExprOpBaseRightExpr(e,t),a)})}return this.parseExprOpBaseRightExpr(e,t)},r.parseExprOpBaseRightExpr=function(e,t){var r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,57===e?t-1:t)},r.parseHackPipeBody=function(){var e,t=this.state.startLoc,r=this.parseMaybeAssign();return!yh.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(Rh.PipeUnparenthesizedBody,t,{type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Rh.PipeTopicUnused,t),r},r.checkExponentialAfterUnary=function(e){this.match(57)&&this.raise(Rh.UnexpectedTokenUnaryExponentiation,e.argument)},r.parseMaybeUnary=function(e,t){var r=this.state.startLoc,a=this.isContextual(96);if(a&&this.recordAwaitIfAllowed()){this.next();var n=this.parseAwait(r);return t||this.checkExponentialAfterUnary(n),n}var s,o=this.match(34),i=this.startNode();if(s=this.state.type,rb[s]){i.operator=this.state.value,i.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var d=this.match(89);if(this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&d){var c=i.argument;"Identifier"===c.type?this.raise(Rh.StrictDelete,i):this.hasPropertyAsPrivateName(c)&&this.raise(Rh.DeletePrivateField,i)}if(!o)return t||this.checkExponentialAfterUnary(i),this.finishNode(i,"UnaryExpression")}var l=this.parseUpdate(i,o,e);if(a){var u=this.state.type;if((this.hasPlugin("v8intrinsic")?cb(u):cb(u)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(Rh.AwaitNotInAsyncContext,r),this.parseAwait(r)}return l},r.parseUpdate=function(e,t,r){if(t){var a=e;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),e}var n=this.state.startLoc,s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;pb(this.state.type)&&!this.canInsertSemicolon();){var o=this.startNodeAt(n);o.operator=this.state.value,o.prefix=!1,o.argument=s,this.next(),this.checkLVal(s,s=this.finishNode(o,"UpdateExpression"))}return s},r.parseExprSubscripts=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprAtom(e);return this.shouldExitDescending(a,r)?a:this.parseSubscripts(a,t)},r.parseSubscripts=function(e,t,r){var a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,a),a.maybeAsyncArrow=!1}while(!a.stop);return e},r.parseSubscript=function(e,t,r,a){var n=this.state.type;if(!r&&15===n)return this.parseBind(e,t,r,a);if(mb(n))return this.parseTaggedTemplateExpression(e,t,a);var s=!1;if(18===n){if(r&&(this.raise(Rh.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return this.stopParseSubscript(e,a);a.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,a,s);var o=this.eat(0);return o||s||this.eat(16)?this.parseMember(e,t,a,o,s):this.stopParseSubscript(e,a)},r.stopParseSubscript=function(e,t){return t.stop=!0,e},r.parseMember=function(e,t,r,a,n){var s=this.startNodeAt(t);return s.object=e,s.computed=a,a?(s.property=this.parseExpression(),this.expect(3)):this.match(139)?("Super"===e.type&&this.raise(Rh.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=n,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")},r.parseBind=function(e,t,r,a){var n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)},r.parseCoverCallAndAsyncArrowHead=function(e,t,r,a){var n=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();var o=this.startNodeAt(t);o.callee=e;var i=r.maybeAsyncArrow,d=r.optionalChainMember;i&&(this.expressionScope.enter(new dx(2)),s=new px),d&&(o.optional=a),o.arguments=a?this.parseCallExpressionArguments():this.parseCallExpressionArguments("Super"!==e.type,o,s);var c=this.finishCallExpression(o,d);return i&&this.shouldParseAsyncArrow()&&!a?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)):(i&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=n,c},r.toReferencedArguments=function(e,t){this.toReferencedListDeep(e.arguments,t)},r.parseTaggedTemplateExpression=function(e,t,r){var a=this.startNodeAt(t);return a.tag=e,a.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(Rh.OptionalChainingNoTemplate,t),this.finishNode(a,"TaggedTemplateExpression")},r.atPossibleAsyncArrow=function(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt},r.finishCallExpression=function(e,t){if("Import"===e.callee.type)if(0===e.arguments.length||e.arguments.length>2)this.raise(Rh.ImportCallArity,e);else for(var r=0,a=e.arguments;r1?((t=this.startNodeAt(i)).expressions=d,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=d[0],this.wrapParenthesis(r,t))},r.wrapParenthesis=function(e,t){if(!(this.optionFlags&Ih))return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;var r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")},r.shouldParseArrow=function(e){return!this.canInsertSemicolon()},r.parseArrow=function(e){if(this.eat(19))return e},r.parseParenItem=function(e,t){return e},r.parseNewOrNewTarget=function(){var e=this.startNode();if(this.next(),this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();var r=this.parseMetaProperty(e,t,"target");return this.scope.allowNewTarget||this.raise(Rh.UnexpectedNewTarget,r),r}return this.parseNew(e)},r.parseNew=function(e){if(this.parseNewCallee(e),this.eat(10)){var t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")},r.parseNewCallee=function(e){var t=this.match(83),r=this.parseNoCallExpr();e.callee=r,!t||"Import"!==r.type&&"ImportExpression"!==r.type||this.raise(Rh.ImportCallNotNewExpression,r)},r.parseTemplateElement=function(e){var t=this.state,r=t.start,a=t.startLoc,n=t.end,s=t.value,o=r+1,i=this.startNodeAt(dh(a,1));null===s&&(e||this.raise(Rh.InvalidEscapeSequenceTemplate,dh(this.state.firstInvalidTemplateEscapePos,1)));var d=this.match(24),c=d?-1:-2,l=n+c;i.value={raw:this.input.slice(o,l).replace(/\r\n?/g,"\n"),cooked:null===s?null:s.slice(1,c)},i.tail=d,this.next();var u=this.finishNode(i,"TemplateElement");return this.resetEndLocation(u,dh(this.state.lastTokEndLoc,c)),u},r.parseTemplate=function(e){for(var t=this.startNode(),r=this.parseTemplateElement(e),a=[r],n=[];!r.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),a.push(r=this.parseTemplateElement(e));return t.expressions=n,t.quasis=a,this.finishNode(t,"TemplateLiteral")},r.parseTemplateSubstitution=function(){return this.parseExpression()},r.parseObjectLike=function(e,t,r,a){r&&this.expectPlugin("recordAndTuple");var n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var s=!1,o=!0,i=this.startNode();for(i.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(i);break}var d=void 0;t?d=this.parseBindingProperty():(d=this.parsePropertyDefinition(a),s=this.checkProto(d,r,s,a)),r&&!this.isObjectProperty(d)&&"SpreadElement"!==d.type&&this.raise(Rh.InvalidRecordProperty,d),d.shorthand&&this.addExtra(d,"shorthand",!0),i.properties.push(d)}this.next(),this.state.inFSharpPipelineDirectBody=n;var c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(i,c)},r.addTrailingCommaExtraToNode=function(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)},r.maybeAsyncOrAccessorProp=function(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))},r.parsePropertyDefinition=function(e){var t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Rh.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());var r,a=this.startNode(),n=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(a.decorators=t,t=[]),a.method=!1,e&&(r=this.state.startLoc);var o=this.eat(55);this.parsePropertyNamePrefixOperator(a);var i=this.state.containsEsc;if(this.parsePropertyName(a,e),!o&&!i&&this.maybeAsyncOrAccessorProp(a)){var d=a.key,c=d.name;"async"!==c||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(d),o=this.eat(55),this.parsePropertyName(a)),"get"!==c&&"set"!==c||(s=!0,this.resetPreviousNodeTrailingComments(d),a.kind=c,this.match(55)&&(o=!0,this.raise(Rh.AccessorIsGenerator,this.state.curPosition(),{kind:c}),this.next()),this.parsePropertyName(a))}return this.parseObjPropValue(a,r,o,n,!1,s,e)},r.getGetterSetterExpectedParamCount=function(e){return"get"===e.kind?0:1},r.getObjectOrClassMethodParams=function(e){return e.params},r.checkGetterSetterParams=function(e){var t,r=this.getGetterSetterExpectedParamCount(e),a=this.getObjectOrClassMethodParams(e);a.length!==r&&this.raise("get"===e.kind?Rh.BadGetterArity:Rh.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=a[a.length-1])?void 0:t.type)&&this.raise(Rh.BadSetterRestParameter,e)},r.parseObjectMethod=function(e,t,r,a,n){if(n){var s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(r||t||this.match(10))return a&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")},r.parseObjectProperty=function(e,t,r,a){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,a),this.finishObjectProperty(e);if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){var n=this.state.startLoc;null!=a?null===a.shorthandAssignLoc&&(a.shorthandAssignLoc=n):this.raise(Rh.InvalidCoverInitializedName,n),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}},r.finishObjectProperty=function(e){return this.finishNode(e,"ObjectProperty")},r.parseObjPropValue=function(e,t,r,a,n,s,o){var i=this.parseObjectMethod(e,r,a,n,s)||this.parseObjectProperty(e,t,n,o);return i||this.unexpected(),i},r.parsePropertyName=function(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var r,a=this.state,n=a.type,s=a.value;if(ib(n))r=this.parseIdentifier(!0);else switch(n){case 135:r=this.parseNumericLiteral(s);break;case 134:r=this.parseStringLiteral(s);break;case 136:r=this.parseBigIntLiteral(s);break;case 139:var o=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=o):this.raise(Rh.UnexpectedPrivateField,o),r=this.parsePrivateName();break;default:if(137===n){r=this.parseDecimalLiteral(s);break}this.unexpected()}e.key=r,139!==n&&(e.computed=!1)}},r.initFunction=function(e,t){e.id=null,e.generator=!1,e.async=t},r.parseMethod=function(e,t,r,a,n,s,o){void 0===o&&(o=!1),this.initFunction(e,r),e.generator=t,this.scope.enter(_b|Eb|(o?Ib:0)|(n?Sb:0)),this.prodParam.enter(zv(r,e.generator)),this.parseFunctionParams(e,a);var i=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),i},r.parseArrayLike=function(e,t,r){t&&this.expectPlugin("recordAndTuple");var a=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var n=this.startNode();return this.next(),n.elements=this.parseExprList(e,!t,r,n),this.state.inFSharpPipelineDirectBody=a,this.finishNode(n,t?"TupleExpression":"ArrayExpression")},r.parseArrowExpression=function(e,t,r,a){this.scope.enter(_b|jb);var n=zv(r,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=Vv),this.prodParam.enter(n),this.initFunction(e,r);var s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")},r.setArrowFunctionParameters=function(e,t,r){this.toAssignableList(t,r,!1),e.params=t},r.parseFunctionBodyAndFinish=function(e,t,r){return void 0===r&&(r=!1),this.parseFunctionBody(e,!1,r),this.finishNode(e,t)},r.parseFunctionBody=function(e,t,r){var a=this;void 0===r&&(r=!1);var n=t&&!this.match(5);if(this.expressionScope.enter(lx()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{var s=this.state.strict,o=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Wv),e.body=this.parseBlock(!0,!1,function(n){var o=!a.isSimpleParamList(e.params);n&&o&&a.raise(Rh.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);var i=!s&&a.state.strict;a.checkParams(e,!(a.state.strict||t||r||o),t,i),a.state.strict&&e.id&&a.checkIdentifier(e.id,rv,i)}),this.prodParam.exit(),this.state.labels=o}this.expressionScope.exit()},r.isSimpleParameter=function(e){return"Identifier"===e.type},r.isSimpleParamList=function(e){for(var t=0,r=e.length;t10)&&function(e){return hb.has(e)}(e))if(r&&Jr(e))this.raise(Rh.UnexpectedKeyword,t,{keyword:e});else if((this.state.strict?a?Xr:zr:Hr)(e,this.inModule))this.raise(Rh.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(Rh.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(Rh.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(Rh.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(Rh.ArgumentsInClass,t)},r.recordAwaitIfAllowed=function(){var e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e},r.parseAwait=function(e){var t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(Rh.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(Rh.ObsoleteAwaitStar,t),this.scope.inFunction||this.optionFlags&jh||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")},r.isAmbiguousPrefixOrIdentifier=function(){if(this.hasPrecedingLineBreak())return!0;var e=this.state.type;return 53===e||10===e||0===e||mb(e)||102===e&&!this.state.containsEsc||138===e||56===e||this.hasPlugin("v8intrinsic")&&54===e},r.parseYield=function(e){var t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(Rh.YieldInParameter,t);var r=!1,a=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:a=this.parseMaybeAssign()}return t.delegate=r,t.argument=a,this.finishNode(t,"YieldExpression")},r.parseImportCall=function(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12))if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do{this.parseMaybeAssignAllowIn()}while(this.eat(12)&&!this.match(11));this.raise(Rh.ImportCallArity,e)}return this.expect(11),this.finishNode(e,"ImportExpression")},r.checkPipelineAtInfixOperator=function(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(Rh.PipelineHeadSequenceExpression,t)},r.parseSmartPipelineBodyInStyle=function(e,t){if(this.isSimpleReference(e)){var r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}var a=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),a.expression=e,this.finishNode(a,"PipelineTopicExpression")},r.isSimpleReference=function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}},r.checkSmartPipeTopicBodyEarlyErrors=function(e){if(this.match(19))throw this.raise(Rh.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(Rh.PipelineTopicUnused,e)},r.withTopicBindingContext=function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSmartMixTopicForbiddingContext=function(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSoloAwaitPermittingContext=function(e){var t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}},r.allowInAnd=function(e){var t=this.prodParam.currentFlags();if(Vv&~t){this.prodParam.enter(t|Vv);try{return e()}finally{this.prodParam.exit()}}return e()},r.disallowInAnd=function(e){var t=this.prodParam.currentFlags();if(Vv&t){this.prodParam.enter(t&~Vv);try{return e()}finally{this.prodParam.exit()}}return e()},r.registerTopicReference=function(){this.state.topicContext.maxTopicIndex=0},r.topicReferenceIsAllowedInCurrentContext=function(){return this.state.topicContext.maxNumOfResolvableTopics>=1},r.topicReferenceWasUsedInCurrentContext=function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0},r.parseFSharpPipelineBody=function(e){var t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,a},r.parseModuleExpression=function(){this.expectPlugin("moduleBlocks");var e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);var t=this.startNodeAt(this.state.endLoc);this.next();var r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")},r.parseVoidPattern=function(e){this.expectPlugin("discardBinding");var t=this.startNode();return null!=e&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,"VoidPattern")},r.parseMaybeAssignAllowInOrVoidPattern=function(e,t,r){if(null!=t&&this.match(88)){var a=this.lookaheadCharCode();if(44===a||a===(3===e?93:8===e?125:41)||61===a)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,r)},r.parsePropertyNamePrefixOperator=function(e){},o(t)}(Rx),qx={kind:Qv},Gx={kind:Zv},Wx=0,Vx=1,Hx=2,zx=4,Kx=8,Xx=0,Jx=1,Yx=2,$x=4,Qx=8,Zx=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,eR=new RegExp("in(?:stanceof)?","y");var tR=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var r=t.prototype;return r.parseTopLevel=function(e,t){return e.program=this.parseProgram(t,140,"module"===this.options.sourceType?"module":"script"),e.comments=this.comments,this.optionFlags&Ch&&(e.tokens=function(e,t,r){for(var a=0;a0)for(var a=0,n=Array.from(this.scope.undefinedExports);a=90&&o<=92?Qv:this.match(71)?Zv:null,d=this.state.labels.length-1;d>=0;d--){var c=this.state.labels[d];if(c.statementStart!==e.start)break;c.statementStart=this.sourceToOffsetPos(this.state.start),c.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=a&Qx?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},r.parseExpressionStatement=function(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},r.parseBlock=function(e,t,r){void 0===e&&(e=!1),void 0===t&&(t=!0);var a=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(vb),this.parseBlockBody(a,e,!1,8,r),t&&this.scope.exit(),this.finishNode(a,"BlockStatement")},r.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},r.parseBlockBody=function(e,t,r,a,n){var s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,a,n)},r.parseBlockOrModuleBlockBody=function(e,t,r,a,n){for(var s=this.state.strict,o=!1,i=!1;!this.match(a);){var d=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!i){if(this.isValidDirective(d)){var c=this.stmtToDirective(d);t.push(c),o||"use strict"!==c.value.value||(o=!0,this.setStrict(!0));continue}i=!0,this.state.strictErrors.clear()}e.push(d)}null==n||n.call(this,o),s||this.setStrict(!1),this.next()},r.parseFor=function(e,t){var r=this;return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(function(){return r.parseStatement()}),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")},r.parseForIn=function(e,t,r){var a=this,n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||n&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(Rh.ForInOfLoopInitializer,t,{type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(Rh.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(function(){return a.parseStatement()}),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},r.parseVar=function(e,t,r,a){void 0===a&&(a=!1);var n=e.declarations=[];for(e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),s.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==s.init||a||("Identifier"===s.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==r&&"using"!==r&&"await using"!==r||this.match(58)||this.isContextual(102)||this.raise(Rh.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:r}):this.raise(Rh.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),n.push(this.finishNode(s,"VariableDeclarator")),!this.eat(12))break}return e},r.parseVarId=function(e,t){var r=this.parseBindingAtom();"using"===t||"await using"===t?"ArrayPattern"!==r.type&&"ObjectPattern"!==r.type||this.raise(Rh.UsingDeclarationHasBindingPattern,r.loc.start):"VoidPattern"===r.type&&this.raise(Rh.UnexpectedVoidPattern,r.loc.start),this.checkLVal(r,{type:"VariableDeclarator"},"var"===t?Jb:Kb),e.id=r},r.parseAsyncFunctionExpression=function(e){return this.parseFunction(e,Kx)},r.parseFunction=function(e,t){var r=this;void 0===t&&(t=Wx);var a=t&Hx,n=!!(t&Vx),s=n&&!(t&zx),o=!!(t&Kx);this.initFunction(e,o),this.match(55)&&(a&&this.raise(Rh.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(s));var i=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(_b),this.prodParam.enter(zv(o,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(function(){r.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),n&&!a&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=i,e},r.parseFunctionId=function(e){return e||ob(this.state.type)?this.parseIdentifier():null},r.parseFunctionParams=function(e,t){this.expect(10),this.expressionScope.enter(new ix(3)),e.params=this.parseBindingList(11,41,vx|(t?xx:0)),this.expressionScope.exit()},r.registerFunctionStatementId=function(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Jb:Kb:Yb,e.id.loc.start)},r.parseClass=function(e,t,r){this.next();var a=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,a),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},r.isClassProperty=function(){return this.match(29)||this.match(13)||this.match(8)},r.isClassMethod=function(){return this.match(10)},r.nameIsConstructor=function(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value},r.isNonstaticConstructor=function(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)},r.parseClassBody=function(e,t){var r=this;this.classScope.enter();var a={hadConstructor:!1,hadSuperClass:e},n=[],s=this.startNode();if(s.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(function(){for(;!r.match(8);)if(r.eat(13)){if(n.length>0)throw r.raise(Rh.DecoratorSemicolon,r.state.lastTokEndLoc)}else if(r.match(26))n.push(r.parseDecorator());else{var e=r.startNode();n.length&&(e.decorators=n,r.resetStartLocationFromNode(e,n[0]),n=[]),r.parseClassMember(s,e,a),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&r.raise(Rh.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),n.length)throw this.raise(Rh.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(s,"ClassBody")},r.parseClassMemberFromModifier=function(e,t){var r=this.parseIdentifier(!0);if(this.isClassMethod()){var a=t;return a.kind="method",a.computed=!1,a.key=r,a.static=!1,this.pushClassMethod(e,a,!1,!1,!1,!1),!0}if(this.isClassProperty()){var n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1},r.parseClassMember=function(e,t,r){var a=this.isContextual(106);if(a){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,a)},r.parseClassMemberWithIsStatic=function(e,t,r,a){var n=t,s=t,o=t,i=t,d=t,c=n,l=n;if(t.static=a,this.parsePropertyNamePrefixOperator(t),this.eat(55)){c.kind="method";var u=this.match(139);return this.parseClassElementName(c),this.parsePostMemberNameModifiers(c),u?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(Rh.ConstructorIsGenerator,n.key),void this.pushClassMethod(e,n,!0,!1,!1,!1))}var p=!this.state.containsEsc&&ob(this.state.type),f=this.parseClassElementName(t),g=p?f.name:null,m=this.isPrivateName(f),y=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",m)return void this.pushClassPrivateMethod(e,s,!1,!1);var h=this.isNonstaticConstructor(n),b=!1;h&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Rh.DuplicateConstructor,f),h&&this.hasPlugin("typescript")&&t.override&&this.raise(Rh.OverrideOnConstructor,f),r.hadConstructor=!0,b=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,h,b)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o);else if("async"!==g||this.isLineTerminator())if("get"!==g&&"set"!==g||this.match(55)&&this.isLineTerminator())if("accessor"!==g||this.isLineTerminator())this.isLineTerminator()?m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);var v=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,d,v)}else{this.resetPreviousNodeTrailingComments(f),c.kind=g;var x=this.match(139);this.parseClassElementName(n),x?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(Rh.ConstructorIsAccessor,n.key),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else{this.resetPreviousNodeTrailingComments(f);var R=this.eat(55);l.optional&&this.unexpected(y),c.kind="method";var j=this.match(139);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),j?this.pushClassPrivateMethod(e,s,R,!0):(this.isNonstaticConstructor(n)&&this.raise(Rh.ConstructorIsAsync,n.key),this.pushClassMethod(e,n,R,!0,!1,!1))}},r.parseClassElementName=function(e){var t=this.state,r=t.type,a=t.value;if(132!==r&&134!==r||!e.static||"prototype"!==a||this.raise(Rh.StaticPrototype,this.state.startLoc),139===r){"constructor"===a&&this.raise(Rh.ConstructorClassPrivateField,this.state.startLoc);var n=this.parsePrivateName();return e.key=n,n}return this.parsePropertyName(e),e.key},r.parseClassStaticBlock=function(e,t){var r;this.scope.enter(Ib|Pb|Eb);var a=this.state.labels;this.state.labels=[],this.prodParam.enter(Uv);var n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(Rh.DecoratorStaticBlock,t)},r.pushClassProperty=function(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(Rh.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))},r.pushClassPrivateProperty=function(e,t){var r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),dv,r.key.loc.start)},r.pushClassAccessorProperty=function(e,t,r){r||t.computed||!this.nameIsConstructor(t.key)||this.raise(Rh.ConstructorClassField,t.key);var a=this.parseClassAccessorProperty(t);e.body.push(a),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),dv,a.key.loc.start)},r.pushClassMethod=function(e,t,r,a,n,s){e.body.push(this.parseMethod(t,r,a,n,s,"ClassMethod",!0))},r.pushClassPrivateMethod=function(e,t,r,a){var n=this.parseMethod(t,r,a,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);var s="get"===n.kind?n.static?uv:fv:"set"===n.kind?n.static?pv:gv:dv;this.declareClassPrivateMethodInScope(n,s)},r.declareClassPrivateMethodInScope=function(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)},r.parsePostMemberNameModifiers=function(e){},r.parseClassPrivateProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")},r.parseClassProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")},r.parseClassAccessorProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")},r.parseInitializer=function(e){this.scope.enter(Ib|Eb),this.expressionScope.enter(lx()),this.prodParam.enter(Uv),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()},r.parseClassId=function(e,t,r,a){if(void 0===a&&(a=zb),ob(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,a);else{if(!r&&t)throw this.raise(Rh.MissingClassName,this.state.startLoc);e.id=null}},r.parseClassSuper=function(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null},r.parseExport=function(e,t){var r=this.parseMaybeImportPhase(e,!0),a=this.maybeParseExportDefaultSpecifier(e,r),n=!a||this.eat(12),s=n&&this.eatExportStar(e),o=s&&this.maybeParseExportNamespaceSpecifier(e),i=n&&(!o||this.eat(12)),d=a||s;if(s&&!o){if(a&&this.unexpected(),t)throw this.raise(Rh.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}var c,l=this.maybeParseExportNamedSpecifiers(e);if(a&&n&&!s&&!l&&this.unexpected(null,5),o&&i&&this.unexpected(null,98),d||l){if(c=!1,t)throw this.raise(Rh.UnsupportedDecoratorExport,e);this.parseExportFrom(e,d)}else c=this.maybeParseExportDeclaration(e);if(d||l||c){var u,p=e;if(this.checkExport(p,!0,!1,!!p.source),"ClassDeclaration"===(null==(u=p.declaration)?void 0:u.type))this.maybeTakeDecorators(t,p.declaration,p);else if(t)throw this.raise(Rh.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(p,"ExportNamedDeclaration")}if(this.eat(65)){var f=e,g=this.parseExportDefaultExpression();if(f.declaration=g,"ClassDeclaration"===g.type)this.maybeTakeDecorators(t,g,f);else if(t)throw this.raise(Rh.UnsupportedDecoratorExport,e);return this.checkExport(f,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(f,"ExportDefaultDeclaration")}throw this.unexpected(null,5)},r.eatExportStar=function(e){return this.eat(55)},r.maybeParseExportDefaultSpecifier=function(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);var r=t||this.parseIdentifier(!0),a=this.startNodeAtNode(r);return a.exported=r,e.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],!0}return!1},r.maybeParseExportNamespaceSpecifier=function(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);var r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1},r.maybeParseExportNamedSpecifiers=function(e){if(this.match(5)){var t,r=e;r.specifiers||(r.specifiers=[]);var a="type"===r.exportKind;return(t=r.specifiers).push.apply(t,this.parseExportSpecifiers(a)),r.source=null,this.hasPlugin("importAssertions")?r.assertions=[]:r.attributes=[],r.declaration=null,!0}return!1},r.maybeParseExportDeclaration=function(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0)},r.isAsyncFunction=function(){if(!this.isContextual(95))return!1;var e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")},r.parseExportDefaultExpression=function(){var e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,Vx|zx);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,Vx|zx|Kx);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Rh.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(Rh.UnsupportedDefaultExport,this.state.startLoc);var t=this.parseMaybeAssignAllowIn();return this.semicolon(),t},r.parseExportDeclaration=function(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()},r.isExportDefaultSpecifier=function(){var e=this.state.type;if(ob(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){var t=this.nextTokenStart(),r=this.input.charCodeAt(t);if(123===r||this.chStartsBindingIdentifier(r,t)&&!this.input.startsWith("from",t))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var a=this.nextTokenStart(),n=this.isUnparsedContextual(a,"from");if(44===this.input.charCodeAt(a)||ob(this.state.type)&&n)return!0;if(this.match(65)&&n){var s=this.input.charCodeAt(this.nextTokenStartSince(a+4));return 34===s||39===s}return!1},r.parseExportFrom=function(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()},r.shouldParseExportDeclaration=function(){var e=this.state.type;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Rh.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(Rh.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()},r.checkExport=function(e,t,r,a){var n;if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var s,o=e.declaration;"Identifier"!==o.type||"from"!==o.name||o.end-o.start!==4||null!=(s=o.extra)&&s.parenthesized||this.raise(Rh.ExportDefaultFromAsIdentifier,o)}}else if(null!=(n=e.specifiers)&&n.length)for(var i=0,d=e.specifiers;i0&&this.raise(Rh.ImportReflectionHasAssertion,t[0].loc.start)}},r.checkJSONModuleImport=function(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){var t=e.specifiers;if(null!=t){var r=t.find(function(e){var t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value});void 0!==r&&this.raise(Rh.ImportJSONBindingNotDefault,r.loc.start)}}},r.isPotentialImportPhase=function(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))},r.applyImportPhase=function(e,t,r,a){t||("module"===r?(this.expectPlugin("importReflection",a),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===r?(this.expectPlugin("sourcePhaseImports",a),e.phase="source"):"defer"===r?(this.expectPlugin("deferredImportEvaluation",a),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))},r.parseMaybeImportPhase=function(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;var r=this.startNode(),a=this.parseIdentifierName(!0),n=this.state.type;return(ib(n)?98!==n||102===this.lookaheadCharCode():12!==n)?(this.applyImportPhase(e,t,a,r.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(r,a))},r.isPrecedingIdImportPhase=function(e){var t=this.state.type;return ob(t)?98!==t||102===this.lookaheadCharCode():12!==t},r.parseImport=function(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))},r.parseImportSpecifiersAndAfter=function(e,t){e.specifiers=[];var r=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),a=r&&this.maybeParseStarImportSpecifier(e);return r&&!a&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)},r.parseImportSourceAndAttributes=function(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")},r.parseImportSource=function(){return this.match(134)||this.unexpected(),this.parseExprAtom()},r.parseImportSpecifierLocal=function(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))},r.finishImportSpecifier=function(e,t,r){return void 0===r&&(r=Kb),this.checkLVal(e.local,{type:t},r),this.finishNode(e,t)},r.parseImportAttributes=function(){this.expect(5);var e=[],t=new Set;do{if(this.match(8))break;var r=this.startNode(),a=this.state.value;if(t.has(a)&&this.raise(Rh.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:a}),t.add(a),this.match(134)?r.key=this.parseStringLiteral(a):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(Rh.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e},r.parseModuleAttributes=function(){var e=[],t=new Set;do{var r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(Rh.ModuleAttributeDifferentFromType,r.key),t.has(r.key.name)&&this.raise(Rh.ModuleAttributesWithDuplicateKeys,r.key,{key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(134))throw this.raise(Rh.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e},r.maybeParseImportAttributes=function(e){var t,r=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?(t=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):t=this.parseImportAttributes(),r=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(Rh.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),t=this.parseImportAttributes()):t=[];!r&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t},r.maybeParseDefaultImportSpecifier=function(e,t){if(t){var r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier")),!0}return!!ib(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)},r.maybeParseStarImportSpecifier=function(e){if(this.match(55)){var t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1},r.parseNamedImportSpecifiers=function(e){var t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(Rh.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}var r=this.startNode(),a=this.match(134),n=this.isContextual(130);r.imported=this.parseModuleExportName();var s=this.parseImportSpecifier(r,a,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(s)}},r.parseImportSpecifier=function(e,t,r,a,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{var s=e.imported;if(t)throw this.raise(Rh.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(s))}return this.finishImportSpecifier(e,"ImportSpecifier",n)},r.isThisParam=function(e){return"Identifier"===e.type&&"this"===e.name},o(t)}(Ux),rR=function(e){function t(t,r,a){var n,s=function(e){var t={sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};if(null==e)return t;if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(var r=0,a=Object.keys(t);r0?t.startIndex=t.startColumn:null==e.startColumn&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((null==e.startColumn||null==e.startIndex)&&null!=e.startIndex)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if("commonjs"===t.sourceType){if(null!=e.allowAwaitOutsideFunction)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(null!=e.allowReturnOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(null!=e.allowNewTargetOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}(t);(n=e.call(this,s,r)||this).options=s,n.initializeScopes(),n.plugins=a,n.filename=s.sourceFilename,n.startIndex=s.startIndex;var o=0;return s.allowAwaitOutsideFunction&&(o|=jh),s.allowReturnOutsideFunction&&(o|=wh),s.allowImportExportEverywhere&&(o|=Sh),s.allowSuperOutsideMethod&&(o|=Th),s.allowUndeclaredExports&&(o|=Ah),s.allowNewTargetOutsideFunction&&(o|=Eh),s.allowYieldOutsideFunction&&(o|=Ph),s.ranges&&(o|=kh),s.tokens&&(o|=Ch),s.createImportExpressions&&(o|=_h),s.createParenthesizedExpressions&&(o|=Ih),s.errorRecovery&&(o|=Dh),s.attachComment&&(o|=Oh),s.annexB&&(o|=Nh),n.optionFlags=o,n}c(t,e);var r=t.prototype;return r.getScopeHandler=function(){return vv},r.parse=function(){this.enterInitialScopes();var e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=null;var r=this.parseTopLevel(e,t);return r.errors=this.state.errors,r.comments.length=this.state.commentsLen,r},o(t)}(tR);function aR(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return sR(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";var a=sR(t,e),n=a.parse();if(a.sawUnambiguousESM)return n;if(a.ambiguousScriptDifferentAst)try{return t.sourceType="script",sR(t,e).parse()}catch(e){}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",sR(t,e).parse()}catch(e){}throw r}}var nR=function(e){for(var t={},r=0,a=Object.keys(e);r!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,RR.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}),RR}var wR,ER=(void z.env.BABEL_8_BREAKING,jR()),SR=new Set(["as","async","from","get","of","set"]),TR=/\r\n|[\n\r\u2028\u2029]/,PR=/^[()[\]{}]$/,AR=/^[a-z][\w-]*$/i,kR=function(e,t,r){if("name"===e.type){var a=e.value;if(Jr(a)||zr(a,!0)||SR.has(a))return"keyword";if(AR.test(a)&&("<"===r[t-1]||""),s.gutter(o),e.length>0?" "+e:"",u].join("")}return" "+s.gutter(o)+(e.length>0?" "+e:"")}).join("\n");return r.message&&!u&&(g=""+" ".repeat(p+1)+r.message+"\n"+g),a?s.reset(g):g}var IR=Z,DR=re,OR=nr,NR=ie,BR=Pt,MR=ye,FR=Dt,LR=er,UR=le,qR=Sy,GR=By,WR=/^[_$A-Z0-9]+$/;function VR(e,t,r){var a=r.placeholderWhitelist,n=r.placeholderPattern,s=r.preserveComments,o=r.syntacticPlaceholders,i=function(e,t,r){var a=(t.plugins||[]).slice();!1!==r&&a.push("placeholders");t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:a});try{return aR(e,t)}catch(t){var n=t.loc;throw n&&(t.message+="\n"+_R(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,r.parser,o);qR(i,{preserveComments:s}),e.validate(i);var d={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:a,placeholderPattern:n,syntacticPlaceholders:o};return GR(i,HR,d),Object.assign({ast:i},d.syntactic.placeholders.length?d.syntactic:d.legacy)}function HR(e,t,r){var a,n,s=r.syntactic.placeholders.length>0;if(FR(e)){if(!1===r.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");n=e.name.name,s=!0}else{if(s||r.syntacticPlaceholders)return;if(NR(e)||BR(e))n=e.name;else{if(!UR(e))return;n=e.value}}if(s&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(s||!1!==r.placeholderPattern&&(r.placeholderPattern||WR).test(n)||null!=(a=r.placeholderWhitelist)&&a.has(n)){var o,i=(t=t.slice())[t.length-1],d=i.node,c=i.key;UR(e)||FR(e,{expectedNode:"StringLiteral"})?o="string":MR(d)&&"arguments"===c||IR(d)&&"arguments"===c||OR(d)&&"params"===c?o="param":DR(d)&&!FR(e)?(o="statement",t=t.slice(0,-1)):o=LR(e)&&FR(e)?"statement":"other";var l=s?r.syntactic:r.legacy,u=l.placeholders,p=l.placeholderNames;u.push({name:n,type:o,resolve:function(e){return function(e,t){for(var r=e,a=0;a1?a-1:0),o=1;o1)throw new Error("Unexpected extra params.");return oj(rj(e,t,ah(n,nh(s[0]))))}if(Array.isArray(t)){var i=r.get(t);return i||(i=aj(e,t,n),r.set(t,i)),oj(i(s))}if("object"==typeof t&&t){if(s.length>0)throw new Error("Unexpected extra params.");return sj(e,ah(n,nh(t)))}throw new Error("Unexpected template param "+typeof t)},{ast:function(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),o=1;o1)throw new Error("Unexpected extra params.");return rj(e,t,ah(ah(n,nh(s[0])),nj))()}if(Array.isArray(t)){var i=a.get(t);return i||(i=aj(e,t,ah(n,nj)),a.set(t,i)),i(s)()}throw new Error("Unexpected template param "+typeof t)}})}function oj(e){var t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return function(r){try{return e(r)}catch(e){throw e.stack+="\n =============\n"+t,e}}}var ij=sj(Qy),dj=sj(eh),cj=sj(Zy),lj=sj(th),uj=sj({code:function(e){return e},validate:function(){},unwrap:function(e){return e.program}}),pj=Object.assign(ij.bind(void 0),{smart:ij,statement:dj,statements:cj,expression:lj,program:uj,ast:ij.ast}),fj=Object.freeze({__proto__:null,default:pj,expression:lj,program:uj,smart:ij,statement:dj,statements:cj});function gj(e,t,r){return Object.freeze({minVersion:e,ast:function(){return pj.program.ast(t,{preserveComments:!0})},metadata:r})}var mj={__proto__:null,OverloadYield:gj("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:!1}),applyDecoratedDescriptor:gj("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach(function(i){a[i]=n[i]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,n){return n(i,e,r)||r},a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:!1}),applyDecs2311:gj("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;ir.length)&&(a=r.length);for(var e=0,n=Array(a);e=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:!1}),createForOfIteratorHelperLoose:gj("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:!1}),createSuper:gj("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:!1}),decorate:gj("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s1){for(var t=Array(n),f=0;f3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&dn||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a \'"+o+"\' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,function(){return this}),define(u,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:i,m:f}})()}',{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:!1}),regeneratorAsync:gj("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then(function(n){return n.done?n.value:a.next()})}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),regeneratorAsyncGen:gj("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:!1}),regeneratorAsyncIterator:gj("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then(function(t){n("next",t,i,f)},function(t){n("throw",t,i,f)}):e.resolve(u).then(function(t){c.value=t,i(c)},function(t){return n("throw",t,i,f)})}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),define(this,"_invoke",function(t,o,i){function f(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(f,f):f()},!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:!0}),regeneratorDefine:gj("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){function o(r,n){regeneratorDefine(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:!0}),regeneratorKeys:gj("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:!1}),regeneratorValues:gj("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:!1}),set:gj("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:!1}),setFunctionName:gj("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:!1}),setPrototypeOf:gj("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:!1}),skipFirstGeneratorNext:gj("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:!1}),slicedToArray:gj("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),superPropBase:gj("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:!1}),superPropGet:gj("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:!1}),superPropSet:gj("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),taggedTemplateLiteral:gj("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:!1}),taggedTemplateLiteralLoose:gj("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:!1}),tdz:gj("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:!1}),temporalRef:gj("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:!1}),temporalUndefined:gj("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:!1}),toArray:gj("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toConsumableArray:gj("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toPrimitive:gj("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:!1}),toPropertyKey:gj("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),toSetter:gj("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:!1}),tsRewriteRelativeImportExtensions:gj("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t}):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:!1}),typeof:gj("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:!1}),unsupportedIterableToArray:gj("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:!1}),usingCtx:gj("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:!1}),wrapAsyncGenerator:gj("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value}settle(!!r.done,n)},function(e){resume("throw",e)})}catch(e){settle(2,e)}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r))})},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:!1}),wrapNativeSuper:gj("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:!1}),wrapRegExp:gj("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce(function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1]+)(>|$)/g,function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""}))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)})}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:!1}),writeOnlyError:gj("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:!1})};Object.assign(mj,{AwaitValue:gj("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{},internal:!1}),applyDecs:gj("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push(function(e){for(var a=0;a0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,function(){for(var e=0;e=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,function(){for(var e=0;e=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push(function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push(function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push(function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t}),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]},internal:!1}),classApplyDescriptorDestructureSet:gj("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{},internal:!1}),classApplyDescriptorGet:gj("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{},internal:!1}),classApplyDescriptorSet:gj("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{},internal:!1}),classCheckPrivateStaticAccess:gj("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]},internal:!1}),classCheckPrivateStaticFieldDescriptor:gj("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{},internal:!1}),classExtractFieldDescriptor:gj("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]},internal:!1}),classPrivateFieldDestructureSet:gj("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldGet:gj("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldSet:gj("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateMethodGet:gj("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),classPrivateMethodSet:gj("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{},internal:!1}),classStaticPrivateFieldDestructureSet:gj("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecGet:gj("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecSet:gj("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateMethodSet:gj("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{},internal:!1}),defineEnumerableProperties:gj("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{},internal:!1}),objectSpread:gj("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r0;)e=e[n],n=a.shift();if(!(arguments.length>2))return e[n];e[n]=r}catch(e){throw e.message+=" (when accessing "+t+")",e}}var vj=Object.create(null);function xj(e){if(!vj[e]){var t=mj[e];if(!t)throw Object.assign(new ReferenceError("Unknown helper "+e),{code:"BABEL_HELPER_UNKNOWN",helper:e});vj[e]={minVersion:t.minVersion,build:function(e,r,a,n){var s=t.ast();return function(e,t,r,a,n,s){var o=t.locals,d=t.dependencies,c=t.exportBindingAssignments,l=t.exportName,u=new Set(a||[]);r&&u.add(r);for(var p=0,f=(Object.entries||function(e){return Object.keys(e).map(function(t){return[t,e[t]]})})(o);p=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return Ej=function(i,d){d=d||{};var c=typeof i;if("string"===c&&i.length>0)return function(o){if((o=String(o)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!i)return;var d=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}(i);if("number"===c&&isFinite(i))return d.long?function(n){var s=Math.abs(n);if(s>=a)return o(n,s,a,"day");if(s>=r)return o(n,s,r,"hour");if(s>=t)return o(n,s,t,"minute");if(s>=e)return o(n,s,e,"second");return n+" ms"}(i):function(n){var s=Math.abs(n);if(s>=a)return Math.round(n/a)+"d";if(s>=r)return Math.round(n/r)+"h";if(s>=t)return Math.round(n/t)+"m";if(s>=e)return Math.round(n/e)+"s";return n+"ms"}(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))},Ej}var Cj=function(e){function t(e){var a,n,s,o=null;function i(){for(var e=arguments.length,r=new Array(e),n=0;n=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(r=!1,function(){r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=Cj(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Aj,Aj.exports);var _j=Aj.exports,Ij=Fy,Dj=qy,Oj=gr,Nj=$t,Bj=hr,Mj=ne,Fj=ar,Lj=ie,Uj=qe,qj=Ve,Gj=Pt,Wj=At,Vj=me,Hj=Re,zj=Gy,Kj=Wy,Xj=er,Jj=Ky,Yj=Ae,$j=Ue,Qj=Xy.isCompatTag;e.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},e.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")};var Zj=Object.freeze({__proto__:null,isBindingIdentifier:function(){var e=this.node,t=this.parent,r=this.parentPath.parent;return Lj(e)&&Ij(e,t,r)},isBlockScoped:function(){return Dj(this.node)},isExpression:function(){return this.isIdentifier()?this.isReferencedIdentifier():Nj(this.node)},isFlow:function(){var e=this.node;return!!Bj(e)||(Uj(e)?"type"===e.importKind||"typeof"===e.importKind:Oj(e)?"type"===e.exportKind:!!qj(e)&&("type"===e.importKind||"typeof"===e.importKind))},isForAwaitStatement:function(){return $j(this.node,{await:!0})},isGenerated:function(){return!this.isUser()},isPure:function(e){return this.scope.isPure(this.node,e)},isReferenced:function(){return zj(this.node,this.parent)},isReferencedIdentifier:function(e){var t=this.node,r=this.parent;return Lj(t,e)?zj(t,r,this.parentPath.parent):!!Gj(t,e)&&(!(!Wj(r)&&Qj(t.name))&&zj(t,r,this.parentPath.parent))},isReferencedMemberExpression:function(){var e=this.node,t=this.parent;return Vj(e)&&zj(e,t)},isRestProperty:function(){var e;return Hj(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},isScope:function(){return Kj(this.node,this.parent)},isSpreadProperty:function(){var e;return Hj(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},isStatement:function(){var e=this.node,t=this.parent;if(Xj(e)){if(Yj(e)){if(Fj(t,{left:e}))return!1;if(Mj(t,{init:e}))return!1}return!0}return!1},isUser:function(){var e;return!(null==(e=this.node)||!e.loc)},isVar:function(){return Jj(this.node)}}),ew=Pa,tw=Wn,rw=Ea,aw=Zn,nw=J;function sw(e){return e in Pj}function ow(e){return null==e?void 0:e._exploded}function iw(e){if(ow(e))return e;e._exploded=!0;for(var t=0,r=Object.keys(e);t=11?t+=r-1:r>=9?t+=r-9:r>=1&&(t+=r+1),r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));var a=this.getProgramParent();return a.references[t]=!0,a.uids[t]=!0,t},t.generateUidBasedOnNode=function(e,t){var r=[];wE(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return Nw(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(oE(e)||aE(e)||hE(e))return!0;if(zw(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),Dw(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&("local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t)))throw this.path.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new Rw(r,e,t).rename(arguments[2]))},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t));if(Uw(e)){for(var o,d=i(e.body);!(o=d()).done;){var c=o.value;if(!this.isPure(c,t))return!1}return!0}if(Mw(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(Bw(e)||"TupleExpression"===(null==e?void 0:e.type)){for(var l,u=i(e.elements);!(l=u()).done;){var p=l.value;if(null!==p&&!this.isPure(p,t))return!1}return!0}if(Zw(e)||"RecordExpression"===(null==e?void 0:e.type)){for(var f,g=i(e.properties);!(f=g()).done;){var m=f.value;if(!this.isPure(m,t))return!1}return!0}if(Yw(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(n=e.decorators)?void 0:n.length)>0);if(eE(e))return!(e.computed&&!this.isPure(e.key,t))&&(!((null==(s=e.decorators)?void 0:s.length)>0)&&!((yE(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t)));if(iE(e))return this.isPure(e.argument,t);if(sE(e)){for(var y,h=i(e.expressions);!(y=h()).done;){var b=y.value;if(!this.isPure(b,t))return!1}return!0}return nE(e)?lE(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):Jw(e)?!e.computed&&zw(e.object)&&"Symbol"===e.object.name&&zw(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):Fw(e)?lE(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&le(e.arguments[0]):tE(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;EE(this),this.data=Object.create(null);var t=this;do{if(t.crawling)return;if(t.path.isProgram())break}while(t=t.parent);var r=t,a={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,SE||(SE=OO.visitors.merge([{Scope:function(e){EE(e.scope)}},PE])),"Program"!==e.type){var n=SE[e.type];if(n)for(var s,o=i(n.enter);!(s=o()).done;){s.value.call(a,e,a)}}e.traverse(SE,a),this.crawling=!1;for(var d,c=i(a.assignments);!(d=c()).done;){for(var l=d.value,u=l.getAssignmentIdentifiers(),p=0,f=Object.keys(u);p1&&(r+=t),"_"+r},kE.prototype.toArray=function(e,t,r){if(zw(e)){var a=this.getBinding(e.name);if(null!=a&&a.constant&&a.path.isGenericType("Array"))return e}if(Bw(e))return e;if(zw(e,{name:"arguments"}))return Iw(uE(uE(uE(Nw("Array"),Nw("prototype")),Nw("slice")),Nw("call")),[e]);var n,s=[e];return!0===t?n="toConsumableArray":"number"==typeof t?(s.push(pE(t)),n="slicedToArray"):n="toArray",r&&(s.unshift(this.path.hub.addHelper(n)),n="maybeArrayLike"),Iw(this.path.hub.addHelper(n),s)},kE.prototype.getAllBindingsOfKind=function(){for(var e=Object.create(null),t=arguments.length,r=new Array(t),a=0;a>18&63]+CE[e>>12&63]+CE[e>>6&63]+CE[63&e]}function BE(e,t,r){for(var a,n=[],s=t;sd?d:i+o));return 1===a?(t=e[r-1],n+=CE[t>>2],n+=CE[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=CE[t>>10],n+=CE[t>>4&63],n+=CE[t<<2&63],n+="="),s.push(n),s.join("")}function FE(e,t,r,a,n){var s,o,i=8*n-a-1,d=(1<>1,l=-7,u=r?n-1:0,p=r?-1:1,f=e[t+u];for(u+=p,s=f&(1<<-l)-1,f>>=-l,l+=i;l>0;s=256*s+e[t+u],u+=p,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=a;l>0;o=256*o+e[t+u],u+=p,l-=8);if(0===s)s=1-c;else{if(s===d)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,a),s-=c}return(f?-1:1)*o*Math.pow(2,s-a)}function LE(e,t,r,a,n,s){var o,i,d,c=8*s-n-1,l=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,g=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-o))<1&&(o--,d*=2),(t+=o+u>=1?p/d:p*Math.pow(2,1-u))*d>=2&&(o++,d/=2),o+u>=l?(i=0,o=l):o+u>=1?(i=(t*d-1)*Math.pow(2,n),o+=u):(i=t*Math.pow(2,u-1)*Math.pow(2,n),o=0));n>=8;e[r+f]=255&i,f+=g,i/=256,n-=8);for(o=o<0;e[r+f]=255&o,f+=g,o/=256,c-=8);e[r+f-g]|=128*m}var UE={}.toString,qE=Array.isArray||function(e){return"[object Array]"==UE.call(e)};function GE(){return VE.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function WE(e,t){if(GE()=GE())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+GE().toString(16)+" bytes");return 0|e}function YE(e){return!(null==e||!e._isBuffer)}function $E(e,t){if(YE(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return ES(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return SS(e).length;default:if(a)return ES(e).length;t=(""+t).toLowerCase(),a=!0}}function QE(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return fS(this,t,r);case"utf8":case"utf-8":return cS(this,t,r);case"ascii":return uS(this,t,r);case"latin1":case"binary":return pS(this,t,r);case"base64":return dS(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gS(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function ZE(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function eS(e,t,r,a,n){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=VE.from(t,a)),YE(t))return 0===t.length?-1:tS(e,t,r,a,n);if("number"==typeof t)return t&=255,VE.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):tS(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function tS(e,t,r,a,n){var s,o=1,i=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,i/=2,d/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var l=-1;for(s=r;si&&(r=i-d),s=r;s>=0;s--){for(var u=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o>8,n=r%256,s.push(n),s.push(a);return s}(t,e.length-r),e,r,a)}function dS(e,t,r){return 0===t&&r===e.length?ME(e):ME(e.slice(t,r))}function cS(e,t,r){r=Math.min(e.length,r);for(var a=[],n=t;n239?4:c>223?3:c>191?2:1;if(n+u<=r)switch(u){case 1:c<128&&(l=c);break;case 2:128==(192&(s=e[n+1]))&&(d=(31&c)<<6|63&s)>127&&(l=d);break;case 3:s=e[n+1],o=e[n+2],128==(192&s)&&128==(192&o)&&(d=(15&c)<<12|(63&s)<<6|63&o)>2047&&(d<55296||d>57343)&&(l=d);break;case 4:s=e[n+1],o=e[n+2],i=e[n+3],128==(192&s)&&128==(192&o)&&128==(192&i)&&(d=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&i)>65535&&d<1114112&&(l=d)}null===l?(l=65533,u=1):l>65535&&(l-=65536,a.push(l>>>10&1023|55296),l=56320|1023&l),a.push(l),n+=u}return function(e){var t=e.length;if(t<=lS)return String.fromCharCode.apply(String,e);var r="",a=0;for(;a0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},VE.prototype.compare=function(e,t,r,a,n){if(!YE(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),o=(r>>>=0)-(t>>>=0),i=Math.min(s,o),d=this.slice(a,n),c=e.slice(t,r),l=0;ln)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return rS(this,e,t,r);case"utf8":case"utf-8":return aS(this,e,t,r);case"ascii":return nS(this,e,t,r);case"latin1":case"binary":return sS(this,e,t,r);case"base64":return oS(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return iS(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},VE.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var lS=4096;function uS(e,t,r){var a="";r=Math.min(e.length,r);for(var n=t;na)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function yS(e,t,r,a,n,s){if(!YE(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function hS(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function bS(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function vS(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function xS(e,t,r,a,n){return n||vS(e,0,r,4),LE(e,t,r,a,23,4),r+4}function RS(e,t,r,a,n){return n||vS(e,0,r,8),LE(e,t,r,a,52,8),r+8}VE.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},VE.prototype.readUInt8=function(e,t){return t||mS(e,1,this.length),this[e]},VE.prototype.readUInt16LE=function(e,t){return t||mS(e,2,this.length),this[e]|this[e+1]<<8},VE.prototype.readUInt16BE=function(e,t){return t||mS(e,2,this.length),this[e]<<8|this[e+1]},VE.prototype.readUInt32LE=function(e,t){return t||mS(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},VE.prototype.readUInt32BE=function(e,t){return t||mS(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},VE.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||mS(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},VE.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||mS(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},VE.prototype.readInt8=function(e,t){return t||mS(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},VE.prototype.readInt16LE=function(e,t){t||mS(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},VE.prototype.readInt16BE=function(e,t){t||mS(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},VE.prototype.readInt32LE=function(e,t){return t||mS(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},VE.prototype.readInt32BE=function(e,t){return t||mS(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},VE.prototype.readFloatLE=function(e,t){return t||mS(e,4,this.length),FE(this,e,!0,23,4)},VE.prototype.readFloatBE=function(e,t){return t||mS(e,4,this.length),FE(this,e,!1,23,4)},VE.prototype.readDoubleLE=function(e,t){return t||mS(e,8,this.length),FE(this,e,!0,52,8)},VE.prototype.readDoubleBE=function(e,t){return t||mS(e,8,this.length),FE(this,e,!1,52,8)},VE.prototype.writeUIntLE=function(e,t,r,a){(e=+e,t|=0,r|=0,a)||yS(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},VE.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,1,255,0),VE.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},VE.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,2,65535,0),VE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hS(this,e,t,!0),t+2},VE.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,2,65535,0),VE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hS(this,e,t,!1),t+2},VE.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,4,4294967295,0),VE.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):bS(this,e,t,!0),t+4},VE.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,4,4294967295,0),VE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):bS(this,e,t,!1),t+4},VE.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);yS(this,e,t,r,n-1,-n)}var s=0,o=1,i=0;for(this[t]=255&e;++s=0&&(o*=256);)e<0&&0===i&&0!==this[t+s+1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},VE.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,1,127,-128),VE.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},VE.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,2,32767,-32768),VE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):hS(this,e,t,!0),t+2},VE.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,2,32767,-32768),VE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):hS(this,e,t,!1),t+2},VE.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,4,2147483647,-2147483648),VE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):bS(this,e,t,!0),t+4},VE.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||yS(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),VE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):bS(this,e,t,!1),t+4},VE.prototype.writeFloatLE=function(e,t,r){return xS(this,e,t,!0,r)},VE.prototype.writeFloatBE=function(e,t,r){return xS(this,e,t,!1,r)},VE.prototype.writeDoubleLE=function(e,t,r){return RS(this,e,t,!0,r)},VE.prototype.writeDoubleBE=function(e,t,r){return RS(this,e,t,!1,r)},VE.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!VE.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function SS(e){return function(e){var t,r,a,n,s,o;DE||OE();var i=e.length;if(i%4>0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[i-2]?2:"="===e[i-1]?1:0,o=new IE(3*i/4-s),a=s>0?i-4:i;var d=0;for(t=0,r=0;t>16&255,o[d++]=n>>8&255,o[d++]=255&n;return 2===s?(n=_E[e.charCodeAt(t)]<<2|_E[e.charCodeAt(t+1)]>>4,o[d++]=255&n):1===s&&(n=_E[e.charCodeAt(t)]<<10|_E[e.charCodeAt(t+1)]<<4|_E[e.charCodeAt(t+2)]>>2,o[d++]=n>>8&255,o[d++]=255&n),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(jS,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function TS(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function PS(e){return null!=e&&(!!e._isBuffer||AS(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&AS(e.slice(0,0))}(e))}function AS(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}for(var kS=",".charCodeAt(0),CS=";".charCodeAt(0),_S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",IS=new Uint8Array(64),DS=new Uint8Array(128),OS=0;OS<64;OS++){var NS=_S.charCodeAt(OS);IS[OS]=NS,DS[NS]=OS}function BS(e,t){var r=0,a=0,n=0;do{var s=e.next();r|=(31&(n=DS[s]))<>>=1,o&&(r=-2147483648|-r),t+r}function MS(e,t,r){var a=t-r;a=a<0?-a<<1|1:a<<1;do{var n=31&a;(a>>>=5)>0&&(n|=32),e.write(IS[n])}while(a>0);return t}function FS(e,t){return!(e.pos>=t)&&e.peek()!==kS}var LS="undefined"!=typeof TextDecoder?new TextDecoder:void 0!==VE?{decode:function(e){return VE.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode:function(e){for(var t="",r=0;r0?t+LS.decode(e.subarray(0,r)):t},o(e)}(),qS=function(){function e(e){this.pos=0,this.buffer=e}var t=e.prototype;return t.next=function(){return this.buffer.charCodeAt(this.pos++)},t.peek=function(){return this.buffer.charCodeAt(this.pos)},t.indexOf=function(e){var t=this.buffer,r=this.pos,a=t.indexOf(e,r);return-1===a?t.length:a},o(e)}();function GS(e){e.sort(WS)}function WS(e,t){return e[0]-t[0]}function VS(e){for(var t=new US,r=0,a=0,n=0,s=0,o=0;o0&&t.write(CS),0!==i.length)for(var d=0,c=0;c0&&t.write(kS),d=MS(t,l[0],d),1!==l.length&&(r=MS(t,l[1],r),a=MS(t,l[2],a),n=MS(t,l[3],n),4!==l.length&&(s=MS(t,l[4],s)))}}return t.flush()}var HS=/^[\w+.-]+:\/\//,zS=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,KS=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function XS(e){return e.startsWith("/")}function JS(e){return/^[.?#]/.test(e)}function YS(e){var t=zS.exec(e);return $S(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function $S(e,t,r,a,n,s,o){return{scheme:e,user:t,host:r,port:a,path:n,query:s,hash:o,type:7}}function QS(e){if(function(e){return e.startsWith("//")}(e)){var t=YS("http:"+e);return t.scheme="",t.type=6,t}if(XS(e)){var r=YS("http://foo.com"+e);return r.scheme="",r.host="",r.type=5,r}if(function(e){return e.startsWith("file:")}(e))return function(e){var t=KS.exec(e),r=t[2];return $S("file:","",t[1]||"","",XS(r)?r:"/"+r,t[3]||"",t[4]||"")}(e);if(function(e){return HS.test(e)}(e))return YS(e);var a=YS("http://foo.com/"+e);return a.scheme="",a.host="",a.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,a}function ZS(e,t){for(var r=t<=4,a=e.path.split("/"),n=1,s=0,o=!1,i=1;ia&&(a=s)}ZS(r,a);var o=r.query+r.hash;switch(a){case 2:case 3:return o;case 4:var i=r.path.slice(1);return i?JS(t||e)&&!JS(i)?"./"+i+o:i+o:o||".";case 5:return r.path+o;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+o}}function tT(e,t){for(var r=t;r=0&&e[a][0]===t;r=a--);return r}function dT(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,o=r.lastIndex,i=0,d=e.length-1;if(a===n){if(t===s)return sT=-1!==o&&e[o][0]===t,o;t>=s?i=-1===o?0:o:d=o}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=function(e,t,r,a){for(;r<=a;){var n=r+(a-r>>1),s=e[n][0]-t;if(0===s)return sT=!0,n;s<0?r=n+1:a=n-1}return sT=!1,r-1}(e,t,i,d)}var cT=o(function(e,t){var r="string"==typeof e;if(!r&&e._decodedMemo)return e;var a=function(e){return"string"==typeof e?JSON.parse(e):e}(e),n=a.version,s=a.file,o=a.names,i=a.sourceRoot,d=a.sources,c=a.sourcesContent;this.version=n,this.file=s,this.names=o||[],this.sourceRoot=i,this.sources=d,this.sourcesContent=c,this.ignoreList=a.ignoreList||a.x_google_ignoreList||void 0;var l=function(e,t){var r=function(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}(e),a=t?t+"/":"";return function(e){return eT(a+(e||""),r)}}(t,i);this.resolvedSources=d.map(l);var u=a.mappings;if("string"==typeof u)this._encoded=u,this._decoded=void 0;else{if(!Array.isArray(u))throw a.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error("invalid source map: "+JSON.stringify(a));this._encoded=void 0,this._decoded=function(e,t){var r=tT(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a=s.length)return pT(null,null,null,null);var o=s[r],i=fT(o,e._decodedMemo,r,a,n||1);if(-1===i)return pT(null,null,null,null);var d=o[i];if(1===d.length)return pT(null,null,null,null);var c=e.names;return pT(e.resolvedSources[d[1]],d[2]+1,d[3],5===d.length?c[d[4]]:null)}function pT(e,t,r,a){return{source:e,line:t,column:r,name:a}}function fT(e,t,r,a,n){var s=dT(e,a,t,r);return sT?s=(-1===n?oT:iT)(e,a,s):-1===n&&s++,-1===s||s===e.length?-1:s}var gT=o(function(){this._indexes={__proto__:null},this.array=[]});function mT(e,t){var r=function(e,t){return e._indexes[t]}(e,t);if(void 0!==r)return r;var a=e,n=a.array,s=a._indexes,o=n.push(t);return s[t]=o-1}var yT=o(function(e){var t=void 0===e?{}:e,r=t.file,a=t.sourceRoot;this._names=new gT,this._sources=new gT,this._sourcesContent=[],this._mappings=[],this.file=r,this.sourceRoot=a,this._ignoreList=new gT});var hT=function(e,t,r,a,n,s,o,i){return wT(!0,e,t,r,a,n,s,o,i)},bT=function(e,t){return function(e,t,r){var a=r.generated,n=r.source,s=r.original,o=r.name,i=r.content;if(!n)return wT(e,t,a.line-1,a.column,null,null,null,null,null);return wT(e,t,a.line-1,a.column,n,s.line-1,s.column,o,i)}(!0,e,t)};function vT(e,t,r){var a=e,n=a._sources;a._sourcesContent[mT(n,t)]=r}function xT(e,t,r){var a=e,n=a._sources,s=a._sourcesContent,o=a._ignoreList,i=mT(n,t);i===s.length&&(s[i]=null),mT(o,i)}function RT(e){var t=e,r=t._mappings,a=t._sources,n=t._sourcesContent,s=t._names,o=t._ignoreList;return function(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r=0;r=a--){if(t>=e[a][0])break}return r}(g,a);if(!n){if(function(e,t){if(0===t)return!0;var r=e[t-1];return 1===r.length}(g,m))return;return ET(g,m,[a])}var y=mT(u,n),h=i?mT(f,i):-1;if(y===p.length&&(p[y]=null!=d?d:null),!function(e,t,r,a,n,s){if(0===t)return!1;var o=e[t-1];return 1!==o.length&&(r===o[1]&&a===o[2]&&n===o[3]&&s===(5===o.length?o[4]:-1))}(g,m,y,s,o,h))return ET(g,m,i?[a,y,s,o,h]:[a,y,s,o])}function ET(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}for(var ST=function(){function e(e,t){var r;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=null;var a=this._map=new yT({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(r=e.sourceFileName)?void 0:r.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new cT(e.inputSourceMap);var n=this._inputMap.resolvedSources;if(n.length)for(var s=0;s=64?this._indentChar.repeat(t):TT[t/2];this._str+=a}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);var n=32===e,s=this._position;if(10!==e){if(this._map){var o=this._sourcePosition;r&&o?(this._map.mark(s,o.line,o.column,n?void 0:o.identifierName,n?void 0:o.identifierNamePos,o.filename),!n&&this._canMarkIdName&&(o.identifierName=void 0,o.identifierNamePos=void 0)):this._map.mark(s)}s.column+=t}else s.line++,s.column=0},t._append=function(e,t){var r=e.length,a=this._position,n=this._sourcePosition;this._last=-1,++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e;var s=null!==this._map;if(t||s){var o=n.column,i=n.identifierName,d=n.identifierNamePos,c=n.filename,l=n.line;null==i&&null==d||!this._canMarkIdName||(n.identifierName=void 0,n.identifierNamePos=void 0);var u=e.indexOf("\n"),p=0;for(s&&0!==u&&this._map.mark(a,l,o,i,d,c);-1!==u;)a.line++,a.column=0,(p=u+1)",7],["<=",7],[">=",7],["in",7],["instanceof",7],[">>",8],["<<",8],[">>>",8],["+",9],["-",9],["*",10],["/",10],["%",10],["**",11]]);function OT(e){return 156===e||201===e||209===e}var NT=function(e,t,r){return(21===r||22===r)&&t.superClass===e},BT=function(e,t,r){switch(r){case 108:case 132:return t.object===e;case 17:case 130:case 112:return t.callee===e;case 222:return t.tag===e;case 191:return!0}return!1};function MT(e){return(e&(HA.expressionStatement|HA.arrowBody))>0}function FT(e,t,r,a){if(NT(e,t,r))return!0;if(BT(e,t,r)||238===r||145===r||8===r)return!0;var n;switch(r){case 10:case 107:n=DT.get(t.operator);break;case 156:case 201:n=7}if(void 0!==n){var s=2===a?7:DT.get(e.operator);if(n>s)return!0;if(n===s&&10===r&&(11===s?t.left===e:t.right===e))return!0;if(1===a&&107===r&&(1===s&&1!==n||1===n&&1!==s))return!0}return!1}function LT(e,t,r){switch(r){case 4:case 115:case 90:case 239:return!0}return!1}function UT(e,t,r){return(6===r||7===r)&&t.left===e||(10===r&&("|"===t.operator||"&"===t.operator)&&e===t.left||FT(e,t,r,2))}function qT(e,t,r){switch(r){case 181:case 211:case 155:case 195:return!0;case 175:return t.objectType===e}return!1}function GT(e,t,r){switch(r){case 155:case 195:return!0;case 175:if(t.objectType===e)return!0}return!1}function WT(e,t,r){return!!qT(e,t,r)||(219===r||161===r&&(t.checkType===e||t.extendsType===e))}function VT(e,t,r){return 10===r||107===r||238===r||145===r||BT(e,t,r)||8===r&&_T(e)||28===r&&e===t.test||NT(e,t,r)||OT(r)}function HT(e,t,r){return BT(e,t,r)||10===r&&"**"===t.operator&&t.left===e||NT(e,t,r)}function zT(e,t,r){switch(r){case 238:case 145:case 10:case 107:case 8:return!0;case 28:if(t.test===e)return!0}return!!OT(r)||HT(e,t,r)}function KT(e,t,r){switch(r){case 17:return t.callee===e;case 108:return t.object===e}return!1}var XT=Object.freeze({__proto__:null,ArrowFunctionExpression:zT,AssignmentExpression:function(e,t,r,a){return!(!MT(a)||"ObjectPattern"!==e.left.type)||zT(e,t,r)},AwaitExpression:VT,BinaryExpression:function(e,t,r,a){return!!FT(e,t,r,0)||(a&HA.forInOrInitHeadAccumulate)>0&&"in"===e.operator},ClassExpression:function(e,t,r,a){return(a&(HA.expressionStatement|HA.exportDefault))>0},ConditionalExpression:zT,DoExpression:function(e,t,r,a){return(a&HA.expressionStatement)>0&&!e.async},FunctionExpression:function(e,t,r,a){return(a&(HA.expressionStatement|HA.exportDefault))>0},FunctionTypeAnnotation:function(e,t,r,a){return 239===r||90===r||4===r||(a&HA.arrowFlowReturnType)>0},Identifier:function(e,t,r,a,n){var s;if(n&&n(e)!==e.name)return!1;if(6===r&&null!=(s=e.extra)&&s.parenthesized&&t.left===e){var o=t.right.type;if(("FunctionExpression"===o||"ClassExpression"===o)&&null==t.right.id)return!0}return(a&HA.forOfHead||(108===r||132===r)&&a&(HA.expressionStatement|HA.forInitHead|HA.forInHead))&&"let"===e.name?!!((kT(t,{object:e,computed:!0})||CT(t,{object:e,computed:!0,optional:!1}))&&a&(HA.expressionStatement|HA.forInitHead|HA.forInHead))||(a&HA.forOfHead)>0:68===r&&t.left===e&&"async"===e.name&&!t.await},IntersectionTypeAnnotation:LT,LogicalExpression:function(e,t,r){return FT(e,t,r,1)},NullableTypeAnnotation:function(e,t,r){return 4===r},ObjectExpression:function(e,t,r,a){return MT(a)},OptionalCallExpression:KT,OptionalIndexedAccessType:function(e,t,r){return 84===r&&t.objectType===e},OptionalMemberExpression:KT,SequenceExpression:function(e,t,r){return!(144===r||133===r||108===r&&t.property===e||132===r&&t.property===e||224===r)&&(21===r||(68===r?t.right===e:60===r||!IT(t)))},SpreadElement:HT,TSAsExpression:UT,TSConditionalType:function(e,t,r){switch(r){case 155:case 195:case 211:case 212:return!0;case 175:return t.objectType===e;case 181:case 219:return t.types[0]===e;case 161:return t.checkType===e||t.extendsType===e}return!1},TSConstructorType:WT,TSFunctionType:WT,TSInferType:function(e,t,r){return!!GT(e,t,r)||!(181!==r&&219!==r||!e.typeParameter.constraint||t.types[0]!==e)},TSInstantiationExpression:function(e,t,r){switch(r){case 17:case 130:case 112:case 177:return null!=t.typeParameters}return!1},TSIntersectionType:function(e,t,r){return 211===r||GT(e,t,r)},TSSatisfiesExpression:UT,TSTypeAssertion:HT,TSTypeOperator:GT,TSUnionType:qT,UnaryExpression:HT,UnionTypeAnnotation:LT,UpdateExpression:function(e,t,r){return BT(e,t,r)||NT(e,t,r)},YieldExpression:VT});function JT(e,t){for(var r=e.quasis,a="`",n=0;n");return null==(null==n?void 0:n.loc)||n.loc.start.line!==e.loc.start.line}return!!this.format.retainLines}function bP(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,o;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(o=r.loc)?void 0:o.identifierName)||r.name};else if("PrivateName"===r.type){var i;n={pos:null==(i=r.loc)?void 0:i.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}function vP(e,t){var r=this;this.tokenChar(60);var a="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(a&&(a=!!this.tokenMap.find(e,function(e){return r.tokenMap.matchesOriginal(e,",")})),a||(a=this.shouldPrintTrailingComma(">"))),this.printList(e.params,a),this.tokenChar(62)}function xP(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function RP(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)}function jP(e){var t=e.typeParameters,r=e.parameters;this.print(t),this.tokenChar(40),uP.call(this,r,41),this.space();var a=e.typeAnnotation;this.print(a)}function wP(e,t,r){var a,n=0;null!=(a=e.tokenMap)&&a.startMatches(t,r)&&(n=1,e.token(r)),e.printJoin(t.types,void 0,void 0,function(e){this.space(),this.token(r,void 0,e+n),this.space()})}function EP(e,t){!0!==t&&e.token(t)}function SP(e){this.print(e.expression),this.print(e.typeArguments)}function TP(e){var t=this;kP(this,e,function(){var r;return t.printList(e.members,null==(r=t.shouldPrintTrailingComma("}"))||r,!0,!0,void 0,!0)})}function PP(e){var t=e.typeParameters,r=e.parameters;this.print(t),this.tokenChar(40),uP.call(this,r,41);var a=e.typeAnnotation;this.print(a)}function AP(e){var t="ClassPrivateProperty"===e.type,r="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;CP(this,e,[r&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),CP(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(r||t)&&e.readonly&&"readonly"])}function kP(e,t,r){e.token("{");var a=e.enterDelimited();r(),e._noLineTerminatorAfterNode=a,e.rightBrace(t)}function CP(e,t,r){for(var a,n,s=new Set,o=i(r);!(n=o()).done;){var d=n.value;d&&s.add(d)}null==(a=e.tokenMap)||a.find(t,function(t){return!!s.has(t.value)&&(e.token(t.value),e.space(),s.delete(t.value),0===s.size)});for(var c,l=i(s);!(c=l()).done;){var u=c.value;e.word(u),e.space()}}var _P=Ne,IP=Nt,DP=rt,OP=Ge,NP=We,BP=er;var MP=!1;function FP(e,t){var r,a=e.attributes,n=e.assertions,s=this.format.importAttributesKeyword;a&&!s&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!MP&&(MP=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var o="assert"===s||!s&&n;if(this.word(o?"assert":"with"),this.space(),o||"with-legacy"!==s&&(s||null==(r=e.extra)||!r.deprecatedWithLegacySyntax)){var i=t?1:0;this.token("{",void 0,i),this.space(),this.printList(a||n,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",void 0,i)}else this.printList(a||n)}function LP(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),FP.call(this,e,!1)):this.print(e.source),this.semicolon()}function UP(e,t){_P(t.declaration)&&tP.call(e,t)&&e.printJoin(t.declaration.decorators)}var qP={},GP=qP.hasOwnProperty,WP=function(e,t){for(var r in e)GP.call(e,r)&&t(r,e[r])},VP=function(e){return"\\u"+("0000"+e).slice(-4)},HP=function(e,t){var r=e.toString(16);return t?r:r.toUpperCase()},zP=qP.toString,KP=Array.isArray,XP={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},JP=/[\\\b\f\n\r\t]/,YP=/[0-9]/,$P=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,QP=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,ZP=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,eA=function(e,t){var r,a,n=function(){p=u,++t.indentLevel,u=t.indent.repeat(t.indentLevel)},s={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},o=t&&t.json;o&&(s.quotes="double",s.wrap=!0),r=s,t=(a=t)?(WP(a,function(e,t){r[e]=t}),r):r,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");var i,d="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",c=t.compact,l=t.lowercaseHex,u=t.indent.repeat(t.indentLevel),p="",f=t.__inline1__,g=t.__inline2__,m=c?"":"\n",y=!0,h="binary"==t.numbers,b="octal"==t.numbers,v="decimal"==t.numbers,x="hexadecimal"==t.numbers;if(o&&e&&function(e){return"function"==typeof e}(e.toJSON)&&(e=e.toJSON()),!function(e){return"string"==typeof e||"[object String]"==zP.call(e)}(e)){if(function(e){return"[object Map]"==zP.call(e)}(e))return 0==e.size?"new Map()":(c||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+eA(Array.from(e),t)+")");if(function(e){return"[object Set]"==zP.call(e)}(e))return 0==e.size?"new Set()":"new Set("+eA(Array.from(e),t)+")";if(function(e){return VE.isBuffer(e)}(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+eA(Array.from(e),t)+")";if(KP(e))return i=[],t.wrap=!0,f&&(t.__inline1__=!1,t.__inline2__=!0),g||n(),function(e,t){for(var r=e.length,a=-1;++a2?VP(p):"\\x"+("00"+p).slice(-2)}),"`"==d&&(i=i.replace(/\$\{/g,"\\${")),t.isScriptContext&&(i=i.replace(/<\/(script|style)/gi,"<\\/$1").replace(/